/*!
 * ER Chauffage - Homepage
 * Styles encapsulés sous .erh-home (préfixe erh-) pour éviter les conflits avec Astra / WordPress.
 */

@font-face {
	font-family: "ERH Inter";
	src: url("../fonts/inter-latin-var.woff2") format("woff2-variations"),
		url("../fonts/inter-latin-var.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Page : compatibilité thème (uniquement sur la page du shortcode) ---------- */
body.erh-has-homepage { overflow-x: hidden; }
@supports (overflow-x: clip) { body.erh-has-homepage { overflow-x: clip; } }

body.erh-full-page .entry-header,
body.erh-full-page .ast-single-entry-banner,
body.erh-full-page .page-header { display: none; }
body.erh-full-page #primary,
body.erh-full-page .site-main,
body.erh-full-page .ast-article-single,
body.erh-full-page .ast-article-post { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
body.erh-full-page .site-content > .ast-container { padding-top: 0; padding-bottom: 0; }
body.erh-full-page .entry-content > .erh-home,
body.erh-full-page .entry-content > p:empty { margin: 0; }

/* ---------- Racine / tokens ---------- */
.erh-home {
	--erh-primary: #45B8AE;
	--erh-primary-light: #65C8BE;
	--erh-primary-dark: #278F87;
	--erh-primary-ink: #1E7770; /* turquoise lisible sur fond clair (contraste 5,3:1) */
	--erh-dark: #14232D;
	--erh-text: #162536;
	--erh-muted: #667085;
	--erh-bg-soft: #F6FBFA;
	--erh-white: #FFFFFF;
	--erh-star: #FFB000;
	--erh-border: #E4EEEC;
	--erh-radius: 14px;
	--erh-radius-sm: 10px;
	--erh-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 20px rgba(16, 24, 40, .06);
	--erh-shadow-hover: 0 2px 6px rgba(16, 24, 40, .06), 0 18px 40px rgba(16, 24, 40, .10);
	--erh-container: 1200px;
	--erh-gutter: 24px;
	--erh-section-y: 88px;

	position: relative;
	display: block;
	max-width: none;
	margin: 0;
	padding: 0;
	font-family: "ERH Inter", Inter, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--erh-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
.erh-home *,
.erh-home *::before,
.erh-home *::after { box-sizing: border-box; }
.erh-home img { display: block; max-width: 100%; height: auto; border: 0; }
.erh-home svg { display: inline-block; flex-shrink: 0; }
.erh-home h1, .erh-home h2, .erh-home h3, .erh-home p,
.erh-home ul, .erh-home figure, .erh-home blockquote { margin: 0; padding: 0; }
.erh-home ul { list-style: none; }
.erh-home h1, .erh-home h2, .erh-home h3 { font-family: inherit; text-transform: none; clear: none; }
.erh-home a { text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.erh-home :focus-visible { outline: 3px solid var(--erh-primary-dark); outline-offset: 3px; border-radius: 6px; }
.erh-home .erh-hero :focus-visible,
.erh-home .erh-cta :focus-visible { outline-color: #fff; }

.erh-home .erh-sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.erh-home .erh-section {
	position: relative;
	width: 100vw;
	left: 50%;
	margin-left: -50vw;
	padding: var(--erh-section-y) 0;
	background: var(--erh-white);
}
.erh-home .erh-bg-soft { background: var(--erh-bg-soft); }
.erh-home .erh-container {
	width: 100%;
	max-width: calc(var(--erh-container) + var(--erh-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--erh-gutter);
}

/* ---------- Typo commune ---------- */
.erh-home .erh-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--erh-primary-ink);
}
.erh-home .erh-eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}
.erh-home .erh-eyebrow--light { color: var(--erh-primary-light); }
.erh-home .erh-title {
	margin: 0 0 14px;
	font-size: clamp(27px, 2.9vw, 38px);
	font-weight: 800;
	line-height: 1.16;
	letter-spacing: -.02em;
	color: var(--erh-text);
}
.erh-home .erh-accent { color: var(--erh-primary-ink); }
.erh-home .erh-lead {
	max-width: 640px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--erh-muted);
}
.erh-home .erh-head { margin-bottom: 40px; }
.erh-home .erh-head--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

/* ---------- Boutons & liens ---------- */
.erh-home .erh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 24px;
	border: 1.5px solid transparent;
	border-radius: 10px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	white-space: nowrap;
}
.erh-home .erh-btn .erh-arrow { transition: transform .2s ease; }
.erh-home .erh-btn:hover .erh-arrow { transform: translateX(3px); }
.erh-home .erh-btn--primary { background: var(--erh-primary); color: var(--erh-dark); }
.erh-home .erh-btn--primary:hover { background: var(--erh-primary-light); color: var(--erh-dark); }
.erh-home .erh-btn--light { background: #fff; color: var(--erh-text); }
.erh-home .erh-btn--light:hover { background: #E9F6F4; color: var(--erh-text); }
.erh-home .erh-btn--outline {
	min-height: 44px;
	padding: 10px 20px;
	border-color: var(--erh-primary);
	border-radius: 999px;
	background: #fff;
	color: var(--erh-primary-ink);
	font-size: 14px;
}
.erh-home .erh-btn--outline:hover { background: var(--erh-primary-ink); border-color: var(--erh-primary-ink); color: #fff; }

.erh-home .erh-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--erh-primary-ink);
}
.erh-home .erh-link .erh-arrow { width: 16px; height: 16px; transition: transform .2s ease; }

/* Lien « étiré » : toute la carte est cliquable, une seule balise <a>. */
.erh-home .erh-stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

/* ---------- Icônes (recolorées turquoise via mask) ---------- */
.erh-home .erh-icon {
	display: inline-block;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	background-color: var(--erh-primary);
	-webkit-mask: var(--erh-icon) center / contain no-repeat;
	mask: var(--erh-icon) center / contain no-repeat;
}
.erh-home .erh-icon--lg { width: 40px; height: 40px; }
.erh-home .erh-icon--trust { width: 30px; height: 30px; background-color: var(--erh-primary-light); }

/* ---------- Cartes ---------- */
.erh-home .erh-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--erh-radius);
	background: #fff;
	box-shadow: var(--erh-shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}
.erh-home .erh-card:hover { transform: translateY(-4px); box-shadow: var(--erh-shadow-hover); }
.erh-home .erh-card:hover .erh-link .erh-arrow { transform: translateX(3px); }
.erh-home .erh-card:focus-within { box-shadow: var(--erh-shadow-hover), 0 0 0 3px var(--erh-primary-dark); }
.erh-home .erh-card .erh-stretched:focus-visible { outline: none; }

/* =====================================================================
 * 1. HERO
 * =================================================================== */
.erh-home .erh-hero {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 620px;
	padding: 0;
	overflow: hidden;
	isolation: isolate;
	background: var(--erh-dark);
	color: #fff;
}
.erh-home .erh-hero__inner { position: relative; z-index: 2; padding-top: 88px; padding-bottom: 56px; }
.erh-home .erh-hero__content { max-width: 600px; }
.erh-home .erh-hero__slogan {
	margin: 0 0 20px;
	font-size: clamp(40px, 5.2vw, 64px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.03em;
	color: #fff;
}
.erh-home .erh-hero__slogan span { color: var(--erh-primary-light); }
.erh-home .erh-hero__title {
	margin: 0 0 12px;
	font-size: clamp(17px, 1.6vw, 20px);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -.005em;
	color: #fff;
}
.erh-home .erh-hero__text {
	max-width: 530px;
	margin: 0 0 30px;
	font-size: 15px;
	line-height: 1.65;
	color: rgba(255, 255, 255, .82);
}
.erh-home .erh-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.erh-home .erh-hero__trust {
	display: grid;
	grid-template-columns: repeat(4, auto);
	justify-content: start;
	gap: 18px 30px;
}
.erh-home .erh-hero__trust-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	color: rgba(255, 255, 255, .92);
}
.erh-home .erh-hero__media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	width: 66%;
}
.erh-home .erh-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.erh-home .erh-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, var(--erh-dark) 0%, rgba(20, 35, 45, .86) 22%, rgba(20, 35, 45, .35) 55%, rgba(20, 35, 45, 0) 80%),
		linear-gradient(0deg, rgba(20, 35, 45, .55) 0%, rgba(20, 35, 45, 0) 35%);
}
.erh-home .erh-hero__card {
	position: absolute;
	z-index: 3;
	right: max(var(--erh-gutter), calc((100% - var(--erh-container)) / 2));
	bottom: 40px;
	display: flex;
	align-items: center;
	gap: 14px;
	width: 320px;
	padding: 12px 16px 12px 12px;
	border-radius: var(--erh-radius);
	background: #fff;
	color: var(--erh-text);
	box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
}
.erh-home .erh-hero__card:hover { transform: translateY(-3px); color: var(--erh-text); }
.erh-home .erh-hero__card-img { width: 84px; height: 84px; flex-shrink: 0; object-fit: cover; border-radius: var(--erh-radius-sm); }
.erh-home .erh-hero__card-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.erh-home .erh-hero__card-text strong { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--erh-text); }
.erh-home .erh-hero__card-text span { font-size: 13px; line-height: 1.4; color: var(--erh-muted); }
.erh-home .erh-hero__card-chevron { margin-left: auto; color: var(--erh-primary-ink); }

/* =====================================================================
 * 2. SERVICES
 * =================================================================== */
.erh-home .erh-services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.erh-home .erh-service__media { aspect-ratio: 4 / 3; overflow: hidden; background: #E9F1F0; }
.erh-home .erh-service__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.erh-home .erh-service:hover .erh-service__img { transform: scale(1.04); }
.erh-home .erh-service__body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 38px 22px 24px; }
.erh-home .erh-service__badge {
	position: absolute;
	top: -28px;
	left: 20px;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 6px 18px rgba(16, 24, 40, .12);
}
.erh-home .erh-service__badge .erh-icon { width: 28px; height: 28px; }
.erh-home .erh-service__title { margin: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--erh-text); }
.erh-home .erh-service__text { flex: 1; margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: var(--erh-muted); }
.erh-home .erh-zones {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 36px;
	font-size: 15px;
	line-height: 1.5;
	text-align: center;
	color: var(--erh-text);
}
.erh-home .erh-zones svg { color: var(--erh-primary-ink); }

/* =====================================================================
 * 3. POURQUOI NOUS CHOISIR
 * =================================================================== */
.erh-home .erh-why {
	min-height: 520px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: linear-gradient(180deg, #EEF7F6 0%, var(--erh-bg-soft) 100%);
}
.erh-home .erh-why__content { position: relative; z-index: 2; max-width: 560px; }
.erh-home .erh-why__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.erh-home .erh-why__item { display: flex; flex-direction: column; gap: 4px; }
.erh-home .erh-why__item .erh-icon { margin-bottom: 10px; }
.erh-home .erh-why__item strong { font-size: 15px; font-weight: 700; color: var(--erh-text); }
.erh-home .erh-why__item span { font-size: 13px; line-height: 1.45; color: var(--erh-muted); }
.erh-home .erh-why__media { position: absolute; top: 0; right: 0; bottom: 0; width: 48%; }
.erh-home .erh-why__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}

/* =====================================================================
 * Slider générique (CSS scroll-snap + JS vanilla)
 * =================================================================== */
.erh-home .erh-slider { position: relative; }
.erh-home .erh-slider__track {
	position: relative;
	display: flex;
	gap: 24px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 4px 2px 8px;
	margin: -4px -2px 0;
}
.erh-home .erh-slider__track::-webkit-scrollbar { display: none; }
.erh-home .erh-slider__track:focus-visible { outline-offset: 2px; }
.erh-home .erh-slider__track > * { scroll-snap-align: start; flex-shrink: 0; }
.erh-home .erh-slider__btn {
	position: absolute;
	top: calc(50% - 30px);
	z-index: 3;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--erh-border);
	border-radius: 50%;
	background: #fff;
	color: var(--erh-text);
	box-shadow: var(--erh-shadow);
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.erh-home .erh-slider__btn:hover { background: var(--erh-primary); color: var(--erh-dark); border-color: var(--erh-primary); }
.erh-home .erh-slider__btn[disabled] { opacity: .35; cursor: default; pointer-events: none; }
.erh-home .erh-slider__btn--prev { left: -22px; }
.erh-home .erh-slider__btn--next { right: -22px; }
.erh-home .erh-slider__dots { display: flex; justify-content: center; gap: 4px; margin-top: 20px; }
.erh-home .erh-slider__dot {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.erh-home .erh-slider__dot::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #C9D6D9;
	transition: width .25s ease, background-color .25s ease;
}
.erh-home .erh-slider__dot[aria-current="true"]::before { width: 22px; background: var(--erh-primary-ink); }
/* Neutralise les styles de boutons du thème (Astra, Twenty*…). */
.erh-home button.erh-slider__dot,
.erh-home button.erh-slider__btn {
	-webkit-appearance: none !important;
	appearance: none !important;
	min-height: 0 !important;
	line-height: 1 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-size: 0 !important;
}
.erh-home button.erh-slider__dot { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; width: 24px !important; height: 24px !important; }
.erh-home button.erh-slider__btn { padding: 0 !important; width: 44px !important; height: 44px !important; border-radius: 50% !important; }
.erh-home button.erh-slider__btn:not(:hover) { background: #fff !important; color: var(--erh-text) !important; border: 1px solid var(--erh-border) !important; }
.erh-home button.erh-slider__btn:hover { background: var(--erh-primary) !important; color: var(--erh-dark) !important; border: 1px solid var(--erh-primary) !important; }

/* Slider sans défilement possible (tout est visible) : navigation masquée. */
.erh-home .erh-slider.is-static .erh-slider__btn,
.erh-home .erh-slider.is-static .erh-slider__dots { display: none; }

/* =====================================================================
 * 4. RÉALISATIONS
 * =================================================================== */
.erh-home .erh-project { flex-basis: calc((100% - 24px) / 2); min-width: 0; }
.erh-home .erh-project__pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	overflow: hidden;
	border-radius: var(--erh-radius);
	box-shadow: var(--erh-shadow);
}
.erh-home .erh-project__img { position: relative; aspect-ratio: 10 / 11; overflow: hidden; background: #E9F1F0; }
.erh-home .erh-project__img img { width: 100%; height: 100%; object-fit: cover; }
.erh-home .erh-badge {
	position: absolute;
	left: 12px;
	bottom: 12px;
	padding: 5px 11px;
	border-radius: 6px;
	background: #fff;
	color: var(--erh-text);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.erh-home .erh-badge--after { background: var(--erh-primary-ink); color: #fff; }
.erh-home .erh-project__caption { margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--erh-text); }

/* =====================================================================
 * 5. AVIS CLIENTS
 * =================================================================== */
.erh-home .erh-slider--reviews .erh-slider__track { gap: 16px; }
.erh-home .erh-review {
	display: flex;
	flex-direction: column;
	flex-basis: calc((100% - 64px) / 5);
	min-width: 0;
	padding: 22px 20px;
	border: 1px solid var(--erh-border);
	border-radius: var(--erh-radius);
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.erh-home .erh-review__g {
	display: inline-block;
	width: max-content;
	font-family: Arial, sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	background: conic-gradient(from -40deg, #EA4335 0 25%, #4285F4 0 45%, #34A853 0 70%, #FBBC05 0 85%, #EA4335 0);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.erh-home .erh-review__name { margin: 14px 0 6px; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--erh-text); }
.erh-home .erh-review__stars { display: flex; gap: 2px; margin: 0 0 12px; color: var(--erh-star); }
.erh-home .erh-review__text { margin: 0; border: 0; padding: 0; background: none; font-style: normal; quotes: none; }
.erh-home .erh-review__text::before, .erh-home .erh-review__text::after { content: none; }
.erh-home .erh-review__text p { margin: 0; font-family: inherit; font-weight: 400; font-style: normal; letter-spacing: 0; font-size: 13.5px; line-height: 1.6; color: var(--erh-muted); }

/* =====================================================================
 * 6. BLOG
 * =================================================================== */
.erh-home .erh-blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.erh-home .erh-post__media { aspect-ratio: 2 / 1; overflow: hidden; background: #E9F1F0; }
.erh-home .erh-post__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.erh-home .erh-post:hover .erh-post__img { transform: scale(1.04); }
.erh-home .erh-post__body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 24px; }
.erh-home .erh-post__date { font-size: 13px; color: var(--erh-muted); }
.erh-home .erh-post__title { flex: 1; margin: 6px 0 16px; font-size: 17px; font-weight: 700; line-height: 1.4; }
.erh-home .erh-post__title a { color: var(--erh-text); }
.erh-home .erh-post__title a:hover { color: var(--erh-primary-ink); }

/* =====================================================================
 * 7. FAQ
 * =================================================================== */
.erh-home .erh-faq__inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	grid-template-rows: auto 1fr;
	grid-template-areas: "head list" "card list";
	gap: 32px 56px;
	align-items: start;
}
.erh-home .erh-faq .erh-head { grid-area: head; margin-bottom: 0; }
.erh-home .erh-faq__list { grid-area: list; }
.erh-home .erh-faq__card {
	grid-area: card;
	overflow: hidden;
	border-radius: var(--erh-radius);
	background: #fff;
	box-shadow: var(--erh-shadow);
}
.erh-home .erh-faq__card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #E9F1F0; }
.erh-home .erh-faq__card-media img { width: 100%; height: 100%; object-fit: cover; }
.erh-home .erh-faq__card-badge {
	position: absolute;
	left: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px 6px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .95);
	color: var(--erh-text);
	font-size: 13px;
	font-weight: 600;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}
.erh-home .erh-faq__card-badge svg { width: 16px; height: 16px; color: var(--erh-primary-ink); }
.erh-home .erh-faq__card-body { padding: 22px 24px 24px; }
.erh-home .erh-faq__card-title { margin: 0 0 6px; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--erh-text); }
.erh-home .erh-faq__card-text { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--erh-muted); }
.erh-home .erh-faq__card-list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 20px; }
.erh-home .erh-faq__card-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--erh-text); }
.erh-home .erh-faq__card-list svg { width: 18px; height: 18px; color: var(--erh-primary-ink); }
.erh-home .erh-faq__card-list a { color: var(--erh-text); font-weight: 600; }
.erh-home .erh-faq__card-list a:hover { color: var(--erh-primary-ink); text-decoration: underline; text-underline-offset: 2px; }
.erh-home .erh-faq__card-btn { width: 100%; }
.erh-home .erh-faq__list { display: flex; flex-direction: column; gap: 12px; }
.erh-home .erh-faq__item {
	border: 1px solid var(--erh-border);
	border-radius: 12px;
	background: #fff;
	transition: box-shadow .2s ease, border-color .2s ease;
}
.erh-home .erh-faq__item[open] { border-color: rgba(69, 184, 174, .55); box-shadow: var(--erh-shadow); }
.erh-home .erh-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	list-style: none;
	cursor: pointer;
	border-radius: 12px;
}
.erh-home .erh-faq__q::-webkit-details-marker { display: none; }
.erh-home .erh-faq__q::marker { content: ""; }
.erh-home .erh-faq__q h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--erh-text); }
.erh-home .erh-faq__icon { position: relative; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: #E8F5F3; }
.erh-home .erh-faq__icon::before,
.erh-home .erh-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	margin: -1px 0 0 -6px;
	border-radius: 2px;
	background: var(--erh-primary-ink);
	transition: transform .25s ease;
}
.erh-home .erh-faq__icon::after { transform: rotate(90deg); }
.erh-home .erh-faq__item[open] .erh-faq__icon::after { transform: rotate(0deg); }
.erh-home .erh-faq__a { padding: 0 20px 20px; }
.erh-home .erh-faq__a p { font-size: 15px; line-height: 1.65; color: var(--erh-muted); }
.erh-home .erh-faq__a a { color: var(--erh-primary-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* =====================================================================
 * 8. CTA
 * =================================================================== */
.erh-home .erh-cta-section { padding-top: var(--erh-section-y); }
.erh-home .erh-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 52px 56px;
	overflow: hidden;
	isolation: isolate;
	border-radius: 18px;
	background: var(--erh-primary-ink);
	color: #fff;
}
.erh-home .erh-cta__bg { position: absolute; inset: 0; z-index: -2; }
.erh-home .erh-cta__img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.erh-home .erh-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(30, 119, 112, .98) 0%, rgba(30, 119, 112, .93) 45%, rgba(20, 35, 45, .72) 100%);
}
.erh-home .erh-cta__content { max-width: 620px; }
.erh-home .erh-cta .erh-eyebrow { color: #CFF0EC; }
.erh-home .erh-cta__title { margin: 0 0 10px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.2; letter-spacing: -.015em; color: #fff; }
.erh-home .erh-cta__text { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.erh-home .erh-cta__hours { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.erh-home .erh-cta__actions { display: flex; flex-direction: column; align-items: center; gap: 14px; flex-shrink: 0; }
.erh-home .erh-cta__phone,
.erh-home .erh-cta__mail { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.erh-home .erh-cta__phone { font-size: 21px; font-weight: 700; letter-spacing: .01em; }
.erh-home .erh-cta__mail { font-size: 14px; opacity: .92; }
.erh-home .erh-cta__phone:hover,
.erh-home .erh-cta__mail:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
 * Apparition au scroll (progressive : visible sans JS)
 * =================================================================== */
.erh-home.erh-js .erh-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.erh-home.erh-js .erh-reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
 * RESPONSIVE
 * =================================================================== */
@media (max-width: 1240px) {
	.erh-home .erh-slider__btn--prev { left: -8px; }
	.erh-home .erh-slider__btn--next { right: -8px; }
}

@media (max-width: 1100px) {
	.erh-home .erh-review { flex-basis: 260px; }
}

/* Tablette */
@media (max-width: 1024px) {
	.erh-home { --erh-section-y: 72px; }
	.erh-home .erh-hero { min-height: 0; }
	.erh-home .erh-hero__inner { padding-bottom: 150px; }
	.erh-home .erh-hero__media { width: 100%; }
	.erh-home .erh-hero__media::after {
		background: linear-gradient(90deg, rgba(20, 35, 45, .96) 0%, rgba(20, 35, 45, .82) 50%, rgba(20, 35, 45, .45) 100%);
	}
	.erh-home .erh-hero__trust { grid-template-columns: repeat(2, auto); }
	.erh-home .erh-hero__card { width: 300px; bottom: 32px; }
	.erh-home .erh-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.erh-home .erh-why { display: block; min-height: 0; }
	.erh-home .erh-why__content { max-width: none; }
	.erh-home .erh-why__media { position: relative; width: auto; height: auto; margin: 40px var(--erh-gutter) 0; }
	.erh-home .erh-why__img { aspect-ratio: 16 / 9; height: auto; border-radius: var(--erh-radius); -webkit-mask-image: none; mask-image: none; }
	.erh-home .erh-project { flex-basis: 82%; }
	.erh-home .erh-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.erh-home .erh-faq__inner { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "head" "list" "card"; gap: 32px; }
	.erh-home .erh-faq__card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
	.erh-home .erh-faq__card-media { aspect-ratio: auto; min-height: 100%; }
	.erh-home .erh-cta { padding: 44px 40px; }
}

/* Mobile */
@media (max-width: 767px) {
	.erh-home { --erh-gutter: 16px; --erh-section-y: 56px; }
	.erh-home .erh-head { margin-bottom: 28px; }
	.erh-home .erh-head--split { flex-direction: column; align-items: flex-start; }
	.erh-home .erh-btn { white-space: normal; }

	/* Hero : texte puis image */
	.erh-home .erh-hero { display: flex; }
	.erh-home .erh-hero__inner { order: 1; padding-top: 48px; padding-bottom: 32px; }
	.erh-home .erh-hero__slogan { font-size: 38px; }
	.erh-home .erh-hero__actions { flex-direction: column; align-items: stretch; margin-bottom: 32px; }
	.erh-home .erh-hero__actions .erh-btn { width: 100%; }
	.erh-home .erh-hero__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
	.erh-home .erh-hero__media { position: relative; order: 2; z-index: 0; width: 100%; aspect-ratio: 4 / 3; }
	.erh-home .erh-hero__media::after { background: linear-gradient(180deg, var(--erh-dark) 0%, rgba(20, 35, 45, 0) 30%); }
	.erh-home .erh-hero__card {
		position: relative;
		order: 3;
		right: auto;
		bottom: auto;
		width: auto;
		margin: -44px var(--erh-gutter) 28px;
	}

	.erh-home .erh-services__grid { grid-template-columns: 1fr; gap: 20px; }
	.erh-home .erh-zones { align-items: flex-start; justify-content: flex-start; text-align: left; font-size: 14px; }
	.erh-home .erh-why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
	.erh-home .erh-why__media { margin-top: 32px; }
	.erh-home .erh-why__img { aspect-ratio: 4 / 3; }

	.erh-home .erh-slider__btn { display: none; }
	.erh-home .erh-project { flex-basis: 92%; }
	.erh-home .erh-review { flex-basis: 82%; }

	.erh-home .erh-blog__grid { grid-template-columns: 1fr; gap: 20px; }

	.erh-home .erh-faq__card { display: block; }
	.erh-home .erh-faq__card-media { aspect-ratio: 16 / 10; min-height: 0; }
	.erh-home .erh-faq__q { padding: 16px; }
	.erh-home .erh-faq__q h3 { font-size: 15px; }
	.erh-home .erh-faq__a { padding: 0 16px 16px; }

	.erh-home .erh-cta-section { padding-top: 56px; }
	.erh-home .erh-cta { flex-direction: column; align-items: stretch; gap: 24px; padding: 32px 22px; }
	.erh-home .erh-cta::before { background: linear-gradient(180deg, rgba(30, 119, 112, .97) 0%, rgba(30, 119, 112, .92) 60%, rgba(20, 35, 45, .85) 100%); }
	.erh-home .erh-cta__actions { align-items: stretch; }
	.erh-home .erh-cta__actions .erh-btn { width: 100%; }
	.erh-home .erh-cta__phone,
	.erh-home .erh-cta__mail { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.erh-home *, .erh-home *::before, .erh-home *::after { transition: none !important; animation: none !important; }
	.erh-home .erh-slider__track { scroll-behavior: auto; }
	.erh-home.erh-js .erh-reveal { opacity: 1; transform: none; }
}

/* =====================================================================
 * HERO COMPACT — pages internes (À propos, Nos services, Contact, futures pages).
 * Classe absente de l'accueil : le hero de la page d'accueil n'est pas concerné.
 * =================================================================== */
.erh-home .erh-hero.erh-hero--compact { min-height: 0; justify-content: center; }
.erh-home .erh-hero--compact .erh-hero__inner { padding-top: 56px; padding-bottom: 48px; }
.erh-home .erh-hero--compact .erh-hero__content { max-width: 780px; }
.erh-home .erh-hero--compact .erh-hero__slogan {
	margin: 0 0 16px;
	font-size: clamp(32px, 3.1vw, 44px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.025em;
	color: #fff;
}
.erh-home .erh-hero--compact .erh-hero__slogan span { color: var(--erh-primary-light); }
.erh-home .erh-hero--compact .erh-hero__text { max-width: 600px; margin-bottom: 26px; }
.erh-home .erh-hero--compact .erh-hero__trust { gap: 14px 28px; }
.erh-home .erh-hero--compact .erh-hero__media { width: 62%; }

@media (max-width: 1024px) {
	.erh-home .erh-hero--compact .erh-hero__inner { padding-top: 56px; padding-bottom: 48px; }
	.erh-home .erh-hero--compact .erh-hero__media { width: 100%; }
}

@media (max-width: 767px) {
	.erh-home .erh-hero--compact .erh-hero__inner { padding-top: 32px; padding-bottom: 22px; }
	.erh-home .erh-hero--compact .erh-hero__slogan { margin-bottom: 10px; font-size: 28px; }
	.erh-home .erh-hero--compact .erh-hero__slogan br { display: none; }
	.erh-home .erh-hero--compact .erh-hero__text { margin-bottom: 16px; font-size: 14px; line-height: 1.5; }
	.erh-home .erh-hero--compact .erh-hero__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.erh-home .erh-hero--compact .erh-hero__trust-item { gap: 8px; font-size: 12.5px; }
	.erh-home .erh-hero--compact .erh-icon--trust { width: 24px; height: 24px; }
	.erh-home .erh-hero--compact .erh-hero__media { aspect-ratio: 5 / 2; }
	/* Version compacte : les points forts sont repris plus bas dans la page */
	.erh-home .erh-hero--compact .erh-hero__trust--hide-mobile { display: none; }
}
