/* Conteneur principal */
:root {
	--max-width: 1200px;
	--section-spacing: 80px;
}

.module-container {
	width: 100%;
	margin: 0 auto;
	padding: 0;
}
.indication {
    font-style: italic;
    color: grey;
    position: absolute;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.7);
	margin: 10px;
    padding: 10px;
    border-radius: 10px;
    top: 0;
	left: 0px;
}

/* Blocs généraux */
.bloc {
	display: block;
	width: 100%;
	max-width: var(--max-width);
	margin: 0 auto;
	/*padding: var(--section-spacing) 0;*/
	position: relative;
}
.fullwidth {
	max-width: 100%;
	width: 100%;
	margin: 0; /* enlever le centrage */
}
.backgrey {
	background-color: var(--lightgrey);
}
.bloc-content {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 50px; /* utile sur mobile */
}
/*.bloc:nth-child(odd) {
	background-color: var(--gold);
	}
	.bloc:nth-child(even){
	background-color: lightgrey;
}*/

/* BLOC 1 : Hero */
.bloc-hero {
	
	color: white;
	text-align: center;
	padding: 120px 20px;
	position: relative;
}

.bloc-hero .hero-content {
	background: rgba(0, 0, 0, 0.4);
	padding: 40px;
	border-radius: 8px;
	display: inline-block;
}


.bloc-hero h1 {
	font-size: 2.5rem;
	margin-bottom: 20px;
}

.bloc-hero .btn {
	margin-top: 20px;
	padding: 12px 24px;
	background-color: #6f8fc2;
	color: white;
	border-radius: 6px;
	text-decoration: none;
	display: inline-block;
}
/* BLOC 1.1 : Hero-2 */
.bloc-hero2 {
	color: white;
	text-align: center;
	padding: 120px 0px;
	position: relative;
	height: 400px;
}

.hero2-content {
	position: absolute;
	bottom: 0px;
	text-align: left;
	
}

.hero2-content h3 {
	color: var(--grey);
}
.bloc-hero2 h1 {
	margin-bottom: 0px;
	color: black;
	
}

.bloc-hero2 .btn {
	margin-top: 20px;
	padding: 12px 24px;
	background-color: #6f8fc2;
	color: white;
	border-radius: 6px;
	text-decoration: none;
	display: inline-block;
}
/* BLOC 2 : 2 colonnes */
.bloc-cols2 {
	display: flex;
	gap: 30px;
	text-align: center;
    padding: 80px 0px;
}

.bloc-cols2 .col {
	flex: 1;
}

.bloc-cols2 h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
}
/* BLOC 2.1 : 3 colonnes */
.bloc-cols3 {
	display: flex;
	gap: 30px;
	text-align: center;
    padding: 80px 0px;
}

.bloc-cols3 .col {
	flex: 1;
}

.bloc-cols3 img {
	width: 60px;
	margin-bottom: 15px;
}

.bloc-cols3 h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
}
/* BLOC 2.5 : 2 left intro */
.bloc-cols-intro {
	display: flex;
	gap: 80px;
	text-align: left;
    padding: 80px 50px;
}

.bloc-cols-intro .col {
	flex: 1;
}

.bloc-cols-intro img {
	width: 60px;
	margin-bottom: 15px;
}

.bloc-cols-intro h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
}
.bloc-cols-intro a {
	text-decoration: none;
    font-weight: 600;
}
/* BLOC 2.2 : 3 left */
.bloc-cols3-left {
	display: flex;
	gap: 30px;
	text-align: left;
    padding: 80px 0px;
}

.bloc-cols3-left .col {
	flex: 1;
}

.bloc-cols3-left img {
	width: 60px;
	margin-bottom: 15px;
}

.bloc-cols3-left h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
}
.bloc-cols3-left a {
	text-decoration: none;
    font-weight: 600;
}
/* BLOC 2.3 : 3 left list */
.bloc-cols3-list {
	display: flex;
	gap: 30px;
	text-align: left;
    padding: 80px 0px;
}

.bloc-cols3-list .col {
	flex: 1;
}

.bloc-cols3-list img {
	width: 60px;
	margin-bottom: 15px;
}

.bloc-cols3-list h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
}

.bloc-cols3-list ul {
	list-style: none;      /* on enlève les puces par défaut */
	padding-left: 0;
}


.bloc-cols3-list ul li {
	position: relative;
	padding-left: 1.5em;   /* espace pour la puce custom */
	margin-bottom: 8px;
}


.bloc-cols3-list ul li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: #000000;       /* vert check */
	font-weight: bold;
}
/* BLOC 3 : Texte + image */
.bloc-texte-image {
	display: flex;
	gap: 40px;
	align-items: center;
	padding: 80px 0px;
}

.bloc-texte-image .texte {
	flex: 1;
}

.bloc-texte-image .image {
	flex: 1;
}

.bloc-texte-image img {
	width: 100%;
	border-radius: 8px;
}

/* BLOC 4 : Cartes */
.bloc-cartes {
	padding: 80px 0px;
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
	justify-content: center;
}

.bloc-cartes .carte {
	width: 300px;
	background-color: #f5f5f5;
	border-radius: 8px;
	overflow: hidden;
	text-align: center;
	padding: 20px;
}

.bloc-cartes .carte img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	margin-bottom: 15px;
}

.bloc-cartes h4 {
	margin-bottom: 10px;
}

.btn-sm {
	display: inline-block;
	margin-top: 10px;
	background-color: #6f8fc2;
	color: white;
	padding: 8px 16px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.9rem;
}
/* BLOC 5 : FAQ */
.bloc-faq {
	padding: 80px 0px;
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 15px;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid #ddd;
}

.faq-question {
	width: 100%;
	background: #f0f0f0;
	border: none;
	text-align: left;
	padding: 15px 40px 15px 15px; /* espace pour la flèche */
	font-weight: bold;
	cursor: pointer;
	position: relative;
	border-radius: 5px 5px 0 0;
}

.faq-question::after {
	content: "▼";
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%) rotate(0deg);
	transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
	transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	padding: 0 15px;
	background: #ffffff;
	border-top: 1px solid #ddd;
	transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}


.faq-item.active .faq-answer {
	max-height: 500px; 
	padding: 15px; 
}
/* BLOC 6 : Formulaire */
.bloc-formulaire {
	padding: 80px 0px;
	max-width: 600px;
	margin: 0 auto;
}

.bloc-formulaire form {
	display: flex;
	flex-direction: column;
}

.bloc-formulaire label {
	margin-top: 15px;
	font-weight: bold;
}

.bloc-formulaire input,
.bloc-formulaire textarea {
	padding: 10px;
	margin-top: 5px;
	border-radius: 6px;
	border: 1px solid #ccc;
	background: #f9f9f9;
	font-size: 1em;
}

.bloc-formulaire button {
	margin-top: 20px;
	padding: 12px;
	background-color: #6f8fc2;
	color: white;
	border: none;
	border-radius: 6px;
	font-size: 1em;
	cursor: pointer;
}

/* BLOC 7 : CTA */
.bloc-cta {
	padding: 80px 0px;
	text-align: center;
}
.cta-buttons {
	margin-top: 20px;
}
.cta-buttons a {
	margin: 0 10px;
}

/* BLOC 8 : Tarification */
.bloc-pricing {
	padding: 80px 0px;
	display: flex;
	gap: 20px;
	justify-content: center;
}
.pricing-card {
	background: #f0f0f0;
	padding: 20px;
	border-radius: 8px;
	width: 250px;
	text-align: center;
}
.pricing-card.featured {
	background: #dbe6f7;
	border: 2px solid #6f8fc2;
}
.price {
	font-size: 1.8rem;
	color: #333;
	margin: 10px 0;
}

/* BLOC 9 : Avis */
.bloc-avis .avis-list {
	padding: 80px 0px;
	display: flex;
	gap: 20px;
	justify-content: center;
}
.bloc-avis .avis {
	background: #f9f9f9;
	padding: 20px;
	border-radius: 6px;
	width: 300px;
}

/* BLOC 10 : Timeline */
.bloc-timeline .timeline {
	padding: 80px 0px;
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
}
.timeline .step {
	text-align: center;
	flex: 1;
	margin: 0 5px;
}
.timeline .circle {
	background: #6f8fc2;
	color: white;
	width: 40px;
	height: 40px;
	margin: 0 auto 10px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* BLOC 11 : Certifications */
.bloc-certifications .logos {
	padding: 80px 0px;
	display: flex;
	justify-content: center;
	gap: 30px;
	margin-top: 20px;
}
.bloc-certifications img {
	height: 60px;
}

/* BLOC 12 : Statistiques */
.bloc-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* ✅ 3 colonnes égales */
	gap: 40px; /* ou ce que vous voulez entre les blocs */
	padding: 80px 0px;
	text-align: center;
	max-width: 1000px;
	margin: 0 auto;
}
.bloc-stats .stat strong {
	font-size: 2rem;
	display: block;
}

/* BLOC 13 : Tableau */
.bloc-table table {
	padding: 80px 0px;
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}
.bloc-table th, .bloc-table td {
	padding: 12px;
	border: 1px solid #ddd;
	text-align: center;
}

/* BLOC 14 : Galerie */
.bloc-galerie .galerie {
	padding: 80px 0px;
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
}
.bloc-galerie img {
	width: 300px;
	height: 200px;
	object-fit: cover;
	border-radius: 6px;
}

/* BLOC 15 : Vidéo */
.bloc-video .video-container {
	padding: 80px 0px;
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
}
.bloc-video iframe {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	border-radius: 8px;
}

/* BLOC 16 : Awards*/
.bloc-awards {
	padding: 80px 0px;
	background: #f7f7f7; 
}


.award-item {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 30px 0;
	border-bottom: 1px solid #e0e0e0;
}


.award-item:last-child {
	border-bottom: none;
}


.award-logo {
	flex: 0 0 200px; 
	text-align: center;
	padding-right: 30px;
	border-right: 1px solid #ccc;
}

.award-logo img {
	max-width: 150px;
	height: auto;
	display: inline-block;
}

.award-text {
	flex: 1;
	padding-left: 30px;
	max-width: 40%;
	color: #555;
	line-height: 1.6;
}

/*BLOC 17 : Cartes */
/* === Grille des cartes === */
.cards-grid {
	padding: 80px 0px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.card-wrapper {
	display: flex;
	flex-direction: column;
}

.card {
	background: #fff;
	border: 1px solid #ddd;
	padding: 20px;
	display: flex;
	flex-direction: column;
}
.prest-img {
	max-width; 100%;
	height: 200px;
	margin-bottom: 15px;
	position: relative;
	border-radius: 0px 0px 40px 0px;
}

.card img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.card-actions {
	display: flex;
	justify-content: space-between;
	margin-top: 15px;
}

.card-actions button, .card-actions a {
	font-size: 0.9rem;
	text-decoration: none;
	border: none;
	background: none;
	color: #2a5db0;
	cursor: pointer;
}

.card-detail {
	display: none; /* ✅ cachés par défaut */
}

.card-wrapper.active .card {
	background: #E3E3E3;
}
/* Bloc détail */
.card-detail-panel {
	grid-column: 1 / -1; /* s'étend sur toute la rangée */
	width: calc(100% - 40px);
	margin-top: -31px;
	background: #E3E3E3;
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.4s ease-in-out, padding 0.3s ease-in-out;
	padding: 0;
}

.card-detail-panel.expanded {
	max-height: 600px;
	padding: 20px;
}

.card-detail-panel .detail-content {
	display: flex;
	align-items: center;
	gap: 30px;
	max-width: 1200px; /* comme vos autres blocs */
	margin: 0 auto;
}

.card-detail-panel .detail-text {
	flex: 0 0 60%;
}

.card-detail-panel .detail-image {
	flex: 0 0 40%;
}
.card-detail-panel img {
	max-width: calc(100% - 30px);
	height: auto;
}

.prest-icon {
	position: absolute;
	bottom: -14px;   
	right: -14px;
	height: 80px;   
	width: 80px;
	border-radius: 50%;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	background-color: rgba(255,255,255,0.7); 
	display: flex;
	align-items: center;
	justify-content: center;
}

.prest-icon img{
	max-width: 100%;
	text-align: middle;
	margin: 0 auto;
}

