/* =======================================================================
   HOMEPAGE.CSS — sections ajoutées/restylées sur le template Accueil.
   Charte reprise de style.css : brand #891d23 / #561b1b, Raleway (titres),
   Roboto / Roboto Condensed (texte courant), grille .grid / .col-X existante.
   Chargé uniquement sur accueil.php (voir functions.php).
   ======================================================================= */

:root {
	--brand: #891d23;
	--brand-dark: #561b1b;
	--brand-light: #a83540;
	--gris-texte: #333;
	--gris-clair: #cdcdcd;
	--gris-fond: #f7f5f4;
}

.intro-section {
	max-width: 640px;
	margin: 14px auto 0 !important;
	font-family: "Roboto", arial;
	font-size: 15px;
	color: #666;
	line-height: 1.6;
}

/* =======================================================================
   HERO — refonte complète (remplace l'ancien centrage par line-height,
   qui ne supportait qu'un seul bloc de texte et débordait sur mobile).
   ======================================================================= */
#slider-home {
	height: auto;
	min-height: 620px;
	display: flex;
	align-items: stretch;
}
#slider-home .inside-slider,
#slider-home .inside-slider .slide {
	height: auto;
	min-height: 620px;
	line-height: normal;
	display: flex;
	align-items: center;
	width: 100%;
}
#slider-home .filtre {
	background: linear-gradient(115deg, rgba(30, 8, 10, 0.82) 0%, rgba(86, 27, 27, 0.55) 55%, rgba(86, 27, 27, 0.35) 100%);
}
.hero-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 90px 0 130px;
	position: relative;
	z-index: 20;
	width: 100%;
}
@media screen and (max-width: 550px) {
	#slider-home,
	#slider-home .inside-slider,
	#slider-home .inside-slider .slide {
		min-height: auto;
	}
	.hero-grid {
		padding: 60px 0 90px;
	}
}

.hero-texte-principal {
	flex: 1 1 480px;
	max-width: 560px;
	padding-left: 80px;
}
@media screen and (max-width: 875px) {
	.hero-texte-principal { padding-left: 30px; }
}
@media screen and (max-width: 550px) {
	.hero-texte-principal { padding-left: 15px; }
}

.hero-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	font-family: "Raleway", arial;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 7px 16px;
	border-radius: 30px;
	margin-bottom: 22px;
}

.hero-texte-principal .titreh1 {
	display: block;
	max-width: none;
	padding-left: 0;
	margin: 0 0 20px !important;
	line-height: 1.15;
}

.hero-soustitre {
	color: rgba(255, 255, 255, 0.92);
	font-size: 17px;
	line-height: 1.65;
	font-family: "Roboto", arial;
	margin: 0 0 32px;
	max-width: 480px;
}
@media screen and (max-width: 550px) {
	.hero-soustitre { font-size: 15px; }
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 26px;
}
.bouton-tel svg { color: #fff; }
.bouton.bouton-blanc {
	background: transparent;
	border-color: #fff;
	color: #fff;
}
.bouton.bouton-blanc:hover {
	background: #fff;
	color: var(--brand);
}

.hero-points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 18px 26px;
}
.hero-points li {
	color: #fff;
	font-family: "Raleway", arial;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.3px;
	position: relative;
	padding-left: 22px;
	opacity: 0.95;
}
.hero-points li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: -1px;
	font-weight: 800;
}

/* Carte avis flottante à droite du hero */
.hero-avis-carte {
	flex: 0 1 340px;
	background: #fff;
	border-radius: 10px;
	padding: 32px 30px 26px;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
	position: relative;
	margin-right: 40px;
}
@media screen and (max-width: 1100px) {
	.hero-avis-carte { margin-right: 15px; }
}
@media screen and (max-width: 950px) {
	.hero-avis-carte { flex-basis: 100%; margin-right: 0; max-width: 480px; }
}
.hero-avis-icone {
	position: absolute;
	top: -18px;
	left: 26px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--brand);
	color: #fff;
	font-family: Georgia, serif;
	font-size: 28px;
	line-height: 40px;
	text-align: center;
	box-shadow: 0 6px 14px rgba(137, 29, 35, 0.4);
}
.hero-avis-label {
	color: var(--brand);
	font-family: "Raleway", arial;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	margin-top: 6px !important;
}
.hero-avis-texte {
	font-family: "Roboto", arial;
	font-style: italic;
	color: var(--gris-texte);
	font-size: 15px;
	line-height: 1.6;
	margin: 12px 0 0;
}

/* ---------- QUI SOMMES-NOUS ---------- */
#presentation-home {
	padding: 70px 0;
}
.presentation-texte .titreh2 {
	margin-bottom: 20px !important;
}
.presentation-texte .contenu {
	font-family: "Roboto", arial;
	font-size: 16px;
	line-height: 1.75;
	color: #555;
}
.presentation-chiffres {
	display: flex;
	flex-direction: column;
	gap: 20px;
	justify-content: center;
}
@media screen and (max-width: 875px) {
	.presentation-chiffres { margin-top: 30px; }
}
.mini-stat {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--gris-fond);
	border-radius: 8px;
	padding: 16px 18px;
}
.mini-stat-icone {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(137, 29, 35, 0.1);
	color: var(--brand);
	display: flex;
	align-items: center;
	justify-content: center;
}
.mini-stat-icone svg { width: 20px; height: 20px; }
.mini-stat-texte {
	font-family: "Raleway", arial;
	font-weight: 600;
	font-size: 14px;
	color: var(--gris-texte);
}

/* ---------- BARRE DE RÉASSURANCE ---------- */
#reassurance-home {
	background: var(--brand-dark);
}
.inside-reassurance {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 22px 0;
}
.item-reassurance {
	flex: 1 1 220px;
	text-align: center;
	color: #fff;
	font-family: "Raleway", arial;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.5px;
	padding: 8px 15px;
	position: relative;
}
.item-reassurance::before {
	content: "✓";
	margin-right: 8px;
	color: #fff;
	font-weight: 800;
}

/* ---------- NOS ASSURANCES (grille produits) ---------- */
#produits-home {
	background: var(--gris-fond);
	padding: 70px 0;
}
.inside-produits {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 22px;
	margin-top: 40px;
}
@media screen and (max-width: 1000px) {
	.inside-produits { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (max-width: 650px) {
	.inside-produits { grid-template-columns: repeat(2, 1fr); }
}
.carte-produit {
	background: #fff;
	border: 1px solid #e6e0df;
	border-radius: 10px;
	padding: 30px 20px;
	text-align: center;
	text-decoration: none;
	color: var(--gris-texte);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	transition: all 0.25s ease-in-out;
	position: relative;
}
.carte-produit:hover {
	border-color: var(--brand);
	box-shadow: 0 14px 30px rgba(137, 29, 35, 0.15);
	transform: translateY(-4px);
}
.icone-produit {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(137, 29, 35, 0.08);
	color: var(--brand);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.25s ease-in-out, color 0.25s ease-in-out;
}
.carte-produit:hover .icone-produit {
	background: var(--brand);
	color: #fff;
}
.icone-produit svg {
	width: 28px;
	height: 28px;
}
.titre-produit {
	font-family: "Raleway", arial;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
}
.fleche-produit {
	color: var(--brand);
	font-weight: 700;
	font-size: 18px;
	opacity: 0;
	transform: translateX(-4px);
	transition: all 0.2s ease-in-out;
}
.carte-produit:hover .fleche-produit {
	opacity: 1;
	transform: translateX(0);
}

/* ---------- COMMENT ÇA MARCHE ---------- */
#etapes-home {
	padding: 70px 0;
}
.inside-etapes {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-top: 40px;
}
@media screen and (max-width: 875px) {
	.inside-etapes { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 550px) {
	.inside-etapes { grid-template-columns: 1fr; }
}
.etape {
	text-align: center;
	padding: 0 10px;
}
.numero-etape {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--brand);
	color: #fff;
	font-family: "Raleway", arial;
	font-weight: 800;
	font-size: 18px;
	margin-bottom: 16px;
	box-shadow: 0 8px 18px rgba(137, 29, 35, 0.3);
}
.etape .titreh3 {
	font-family: "Raleway", arial;
	font-weight: 700;
	font-size: 18px;
	margin-bottom: 10px !important;
}
.etape p {
	font-family: "Roboto", arial;
	font-size: 14px;
	color: #666;
	line-height: 1.5;
}

/* ---------- MICRO-RÉASSURANCE sous le bloc devis ---------- */
.micro-reassurance {
	margin-top: 25px !important;
	font-family: "Roboto", arial;
	font-size: 13px;
	color: #888;
	letter-spacing: 0.3px;
}

/* ---------- AVIS CLIENTS (carousel) ---------- */
#avis-home {
	background: var(--gris-fond);
	padding: 70px 0;
}
.carousel-avis {
	margin-top: 40px;
}
.slide-avis {
	padding: 0 12px;
}
.carte-avis {
	background: #fff;
	border-radius: 10px;
	border: 1px solid #e6e0df;
	padding: 30px 26px;
	min-height: 180px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.citation-avis {
	font-family: "Roboto", arial;
	font-style: italic;
	font-size: 15px;
	line-height: 1.6;
	color: var(--gris-texte);
}
.auteur-avis {
	font-family: "Raleway", arial;
	font-weight: 700;
	font-size: 13px;
	color: var(--brand);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 15px !important;
}
.carousel-avis .slick-dots {
	bottom: -40px;
}
.carousel-avis .slick-dots li button:before {
	font-size: 10px;
	color: var(--brand);
}
.carousel-avis .slick-prev:before,
.carousel-avis .slick-next:before {
	color: var(--brand);
}

/* ---------- ACTUS (restauré) ---------- */
#actus-home {
	background-color: var(--brand-dark);
	background-size: cover;
	background-position: center;
	padding: 70px 0;
	position: relative;
}
#actus-home::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}
#actus-home .grid { position: relative; z-index: 2; }
#actus-home .soustitre,
#actus-home .titreh2 { color: #fff; }
.inside-actus-home {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	margin-top: 40px;
	justify-content: center;
}
.bloc-actu {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	padding-bottom: 20px;
	flex: 0 1 340px;
}
.bloc-actu .image {
	height: 180px;
	background-size: cover;
	background-position: center;
}
.bloc-actu .infos {
	padding: 18px 15px 10px;
}
.bloc-actu .titreh3 {
	font-family: "Raleway", arial;
	font-weight: 700;
	font-size: 17px;
	margin-bottom: 8px !important;
}
.bloc-actu .metas {
	font-family: "Roboto", arial;
	font-size: 12px;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ---------- CTA FINALE ---------- */
#cta-finale {
	background: var(--brand);
	padding: 60px 0;
}
.inside-cta-finale {
	text-align: center;
	color: #fff;
}
.inside-cta-finale .titreh2 {
	color: #fff;
	margin-bottom: 12px !important;
}
.inside-cta-finale p {
	font-family: "Roboto", arial;
	font-size: 16px;
	opacity: 0.9;
	margin-bottom: 25px !important;
}
.cta-finale-boutons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
}
#cta-finale .bouton.all-rouge {
	background: #fff;
	color: var(--brand);
	border-color: #fff;
}
#cta-finale .bouton.all-rouge:hover {
	background: transparent;
	color: #fff;
}
