/* ==========================================================================
   Agence IntExt – système de design (v3, 11/10/2026)
   Style inspiré d'un site de référence du secteur (blanc, vert énergie, bleu, titres géométriques),
   sans reprise de ses textes, logos ni images. Mobile-first, accessible (AA), sans police téléchargée
   par défaut (Jost / Manrope utilisées uniquement si auto-hébergées ou installées).
   ========================================================================== */

:root {
	--c-blanc: #FFFFFF;
	--c-gris: #F4F5F2;
	--c-gris-2: #EBEEE7;
	--c-ligne: #E1E5DC;
	--c-noir: #1F2220;
	--c-texte: #3A3D3A;
	--c-muted: #5F645E;       /* 5,5:1 sur gris */
	--c-vert: #9BCB0C;        /* fond des actions, texte foncé obligatoire */
	--c-vert-hover: #8AB80A;
	--c-vert-encre: #1A2B05;  /* texte sur vert : 7,9:1 */
	--c-vert-fonce: #4A7000;  /* vert utilisable en texte : 5,8:1 */
	--c-bleu: #1E6FB8;        /* liens et accents : 5,2:1 */
	--c-bleu-fonce: #155A97;
	--c-bleu-clair: #EAF3FB;
	--c-erreur: #B42318;
	--c-erreur-fond: #FCE8E6;
	--c-alerte: #6B4A00;
	--c-alerte-fond: #FFF3D1;
	--c-ok: #2F6B1F;
	--c-ok-fond: #EAF5DC;
	--c-focus: #1E6FB8;

	--radius-s: 5px;
	--radius: 10px;
	--radius-l: 16px;
	--shadow: 0 1px 2px rgb(31 34 32 / 6%), 0 10px 30px rgb(31 34 32 / 8%);

	--titres: Jost, "Century Gothic", "Avenir Next", "Segoe UI", system-ui, sans-serif;
	--sans: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--header-h: 72px;
	--gutter: 16px;
	--wide: 1240px;
	--content: 780px;

	--fs-small: 0.9375rem;
	--fs-body: 1.0625rem;
	--fs-h1: clamp(2rem, 1.35rem + 2.8vw, 3.4rem);
	--fs-h2: clamp(1.65rem, 1.25rem + 1.6vw, 2.5rem);
	--fs-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1240px) { :root { --header-h: 84px; } }

/* --------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: var(--fs-body); line-height: 1.65; color: var(--c-texte); background: var(--c-blanc); padding-bottom: 72px; }
@media (min-width: 960px) { body { padding-bottom: 0; } }
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--titres); font-weight: 500; color: var(--c-noir); line-height: 1.2; letter-spacing: -0.005em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
a { color: var(--c-bleu); text-underline-offset: 0.15em; }
a:hover { color: var(--c-bleu-fonce); }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; border-radius: 3px; }
.crh-footer :focus-visible, .crh-band--sombre :focus-visible, .crh-cta-box :focus-visible { outline-color: var(--c-vert); }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: 0.25em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) {
	a, .crh-btn, .wp-block-button__link, .crh-tile, .crh-card, .crh-service-card { transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s; }
}
.crh-skip { position: absolute; left: 8px; top: -100px; z-index: 1000; padding: 10px 16px; background: var(--c-noir); color: #fff; border-radius: var(--radius-s); }
.crh-skip:focus { top: 8px; color: #fff; }
.crh-container { max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.crh-section { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }

mark.crh-todo { background: #FFE58F; color: #5C3D00; padding: 0 4px; border-radius: 4px; font-size: 0.85em; font-weight: 600; font-family: var(--sans); }
.crh-demo-badge { display: inline-block; background: #FFE58F; color: #5C3D00; font-size: 0.75rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .03em; }
.crh-env-banner { margin: 0; background: #FFE58F; color: #5C3D00; font-size: 0.8125rem; text-align: center; padding: 4px var(--gutter); }

/* --------------------------------------------------------------- boutons (capitales, vert énergie) */
.crh-btn,
.wp-block-button .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 24px; font-family: var(--titres); font-weight: 600; font-size: 0.875rem; line-height: 1.2;
	letter-spacing: .08em; text-transform: uppercase; text-align: center; text-decoration: none;
	border-radius: var(--radius-s); border: 2px solid transparent; cursor: pointer; background: var(--c-noir); color: #fff;
}
.crh-btn:hover, .wp-block-button .wp-block-button__link:hover { background: #000; color: #fff; }
.crh-btn--primary,
.wp-block-button.is-style-crh-primary .wp-block-button__link { background: var(--c-vert); color: var(--c-vert-encre); }
.crh-btn--primary:hover,
.wp-block-button.is-style-crh-primary .wp-block-button__link:hover { background: var(--c-vert-hover); color: var(--c-vert-encre); }
.crh-btn--outline, .crh-btn--secondary,
.wp-block-button.is-style-crh-secondary .wp-block-button__link { background: #fff; color: var(--c-bleu); border-color: var(--c-bleu); }
.crh-btn--outline:hover, .crh-btn--secondary:hover,
.wp-block-button.is-style-crh-secondary .wp-block-button__link:hover { background: var(--c-bleu); color: #fff; }
.crh-btn--ghost { background: transparent; color: var(--c-noir); }
.crh-btn--ghost:hover { background: var(--c-gris); color: var(--c-noir); }
.crh-btn--sm { min-height: 42px; padding: 8px 16px; font-size: 0.8125rem; }
.crh-btn:disabled { opacity: .6; cursor: progress; }
.crh-band--sombre .wp-block-button.is-style-crh-secondary .wp-block-button__link { background: transparent; color: #fff; border-color: #fff; }
.crh-band--sombre .wp-block-button.is-style-crh-secondary .wp-block-button__link:hover { background: #fff; color: var(--c-noir); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599px) { .wp-block-buttons > .wp-block-button, .wp-block-buttons .wp-block-button__link { width: 100%; } }
.crh-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.crh-link, .crh-linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--c-bleu); text-decoration: underline; cursor: pointer; }
.crh-footer .crh-linklike { color: #fff; font-size: var(--fs-small); }

/* --------------------------------------------------------------- en-tête */
.crh-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 3px solid var(--c-bleu); box-shadow: 0 2px 12px rgb(31 34 32 / 6%); }
.crh-header__inner { max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); min-height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.crh-logo, .custom-logo-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.crh-logo__mark { flex: none; }
.crh-logo__text { display: grid; line-height: 1.05; }
.crh-logo__name { font-family: var(--titres); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; color: var(--c-bleu); }
.crh-logo__tagline { font-size: 0.625rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-vert-fonce); margin-top: 3px; }
.custom-logo { max-height: 48px; width: auto; }
.crh-nav { display: none; margin-inline: auto; }
.crh-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.crh-header__phone { display: none; align-items: center; gap: 8px; font-family: var(--titres); font-weight: 600; color: var(--c-noir); text-decoration: none; white-space: nowrap; padding: 6px 8px; }
.crh-header__phone svg { color: var(--c-vert-fonce); }
.crh-header__phone-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius-s); color: var(--c-vert-fonce); }
.crh-burger { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: var(--radius-s); color: var(--c-vert-fonce); cursor: pointer; }
.crh-hide-mobile { display: none; }
@media (min-width: 1280px) {
	.crh-nav { display: block; }
	.crh-header__actions { margin-left: 0; }
	.crh-hide-mobile { display: inline-flex; }
	.crh-burger, .crh-header__phone-icon { display: none; }
}
/* Petits écrans : logo compact (slogan masqué) pour éviter tout débordement horizontal. */
@media (max-width: 479px) {
	.crh-header__inner { gap: 8px; }
	.crh-logo { gap: 8px; }
	.crh-logo__mark { width: 34px; height: 34px; }
	.crh-logo__name { font-size: 1rem; letter-spacing: .03em; }
	.crh-header .crh-logo__tagline { display: none; }
	.crh-header__actions { gap: 2px; }
}.crh-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.crh-nav__list > li { margin: 0; position: relative; }
.crh-nav__list a, .crh-nav__list summary { display: block; white-space: nowrap; padding: 10px 8px; color: var(--c-noir); text-decoration: none; font-family: var(--titres); font-weight: 500; font-size: 0.95rem; border-radius: var(--radius-s); cursor: pointer; }
.crh-nav__list a:hover, .crh-nav__list summary:hover { color: var(--c-bleu); }
.crh-nav__list [aria-current] { color: var(--c-bleu); box-shadow: inset 0 -2px 0 var(--c-vert); border-radius: 0; }
.crh-dropdown summary { list-style: none; }
.crh-dropdown summary::-webkit-details-marker { display: none; }
.crh-dropdown summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.crh-dropdown[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.crh-nav .crh-dropdown ul { position: absolute; top: calc(100% + 14px); left: 0; min-width: 300px; list-style: none; margin: 0; padding: 10px; background: #fff; border-top: 3px solid var(--c-vert); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
.crh-nav .crh-dropdown li { margin: 0; }
.crh-nav .crh-dropdown a { font-family: var(--sans); font-weight: 500; font-size: 0.9375rem; padding: 9px 12px; }
.crh-nav .crh-dropdown a:hover { background: var(--c-gris); }
.crh-nav .crh-dropdown li.is-separated { border-top: 1px solid var(--c-ligne); margin-top: 6px; padding-top: 6px; }

/* Menu mobile */
.crh-menu { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0 var(--gutter) 24px; border: 0; background: #fff; }
.crh-menu::backdrop { background: rgb(31 34 32 / 45%); }
.crh-menu__head { display: flex; align-items: center; justify-content: space-between; min-height: 72px; border-bottom: 3px solid var(--c-bleu); margin-bottom: 12px; }
.crh-menu__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--c-gris); border: 0; border-radius: var(--radius-s); cursor: pointer; color: var(--c-noir); }
.crh-menu__list { list-style: none; margin: 12px 0 0; padding: 0; }
.crh-menu__list li { margin: 0; border-bottom: 1px solid var(--c-ligne); }
.crh-menu__list a, .crh-menu__list summary { display: block; padding: 14px 4px; font-family: var(--titres); font-size: 1.15rem; font-weight: 500; color: var(--c-noir); text-decoration: none; cursor: pointer; }
.crh-menu__list .crh-dropdown ul { list-style: none; padding: 0 0 8px 12px; margin: 0; }
.crh-menu__list .crh-dropdown li { border: 0; }
.crh-menu__list .crh-dropdown a { padding: 9px 4px; font-family: var(--sans); font-size: 1rem; color: var(--c-texte); }
.crh-menu__actions { display: grid; gap: 10px; }

/* Barre d'action mobile */
.crh-stickybar { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; gap: 8px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--c-ligne); box-shadow: 0 -6px 18px rgb(31 34 32 / 8%); }
.crh-stickybar .crh-btn { flex: 1; min-height: 48px; padding-inline: 10px; }
.crh-stickybar.is-hidden, .is-form-page .crh-stickybar { display: none; }
@media (min-width: 960px) { .crh-stickybar { display: none; } }

/* --------------------------------------------------------------- en-tête de page */
.crh-page-header { background: linear-gradient(120deg, var(--c-bleu-clair) 0%, #fff 70%); padding-block: 18px clamp(1.75rem, 1rem + 3vw, 3.25rem); margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-bottom: 1px solid var(--c-ligne); }
.crh-page-header h1 { max-width: 22ch; margin-bottom: 0.35em; }
.crh-page-header__grid { display: grid; gap: 24px; align-items: center; }
.crh-page-header__img { width: 100%; max-width: 480px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); box-shadow: var(--shadow); justify-self: center; }
@media (max-width: 719px) { .crh-page-header__img { max-width: 100%; aspect-ratio: 16 / 9; order: -1; } }
@media (min-width: 720px) { .crh-page-header--media .crh-page-header__grid { grid-template-columns: 1.3fr 1fr; } .crh-page-header__img { justify-self: end; } }
.crh-lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.2rem); color: var(--c-texte); max-width: 62ch; margin: 0; }
.crh-meta { color: var(--c-muted); font-size: var(--fs-small); display: flex; flex-wrap: wrap; gap: 12px; }
.crh-breadcrumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; font-size: 0.875rem; color: var(--c-muted); }
.crh-breadcrumbs li { margin: 0; }
.crh-breadcrumbs li + li::before { content: "›"; margin: 0 8px; color: var(--c-vert-fonce); }
.crh-breadcrumbs a { color: var(--c-muted); }

/* --------------------------------------------------------------- contenu */
.entry-content { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.entry-content > * + * { margin-block-start: 1.25rem; }
.entry-content h2 { margin-top: 2.5rem; }
.entry-content h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--c-vert); margin-top: 12px; border-radius: 2px; }
.crh-band > h2::after, .crh-hero h1::after, .crh-cta-box h2::after { display: none; }
.entry-content h3 { margin-top: 1.5rem; }
.entry-content p:empty { display: none; }
.entry-content .alignfull + .alignfull { margin-top: 0; }
.entry-content > .alignfull:last-child { margin-bottom: calc(-1 * clamp(2rem, 1.5rem + 2vw, 3.5rem)); }

/* Bandes */
.crh-band { padding-block: clamp(2.75rem, 2rem + 3.5vw, 5rem); }
.crh-band > * + * { margin-block-start: 1.25rem; }
.crh-band > :not(.alignfull) { margin-inline: auto !important; }
.crh-band > :is(h2, h3, p, ul, ol, .wp-block-details, .crh-note, .wp-block-buttons) { max-width: 780px; }
.crh-band > h2 { margin-top: 0; text-align: center; max-width: 26ch; }
.crh-band > h2::before { content: ""; display: block; width: 56px; height: 3px; background: var(--c-vert); margin: 0 auto 16px; border-radius: 2px; }
.crh-band > .crh-intro, .crh-band > .crh-small { text-align: center; }
.crh-band > .wp-block-buttons { justify-content: center; }
.crh-band > .alignwide, .crh-band > .crh-realisations, .crh-band > .crh-avis, .crh-band > .crh-steps, .crh-band > .crh-brands { max-width: var(--wide); }
.crh-band > .crh-sim, .crh-band > .crh-zone-checker { max-width: 780px; }
.crh-band--gris, .crh-band--clair, .crh-band--sable { background: var(--c-gris); }
.crh-band--bleu { background: var(--c-bleu-clair); }
.crh-band--sombre, .crh-band--nuit { background: var(--c-noir); color: #E6E9E3; }
.crh-band--sombre h2, .crh-band--sombre h3, .crh-band--nuit h2 { color: #fff; }
.crh-band--sombre a:not(.wp-block-button__link):not(.crh-btn) { color: #C9EC6A; }
.crh-band--image { position: relative; isolation: isolate; background: var(--c-noir) var(--crh-hero-img, url("../img/hero.svg")) center / cover no-repeat; color: #F1F3EE; }
.crh-band--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(21 90 151 / 92%), rgb(31 34 32 / 80%)); }
.crh-band--image h2 { color: #fff; }

.crh-label { display: table; margin-inline: auto; padding: 4px 12px; border-radius: 99px; font-family: var(--titres); font-size: 0.75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-vert-fonce); background: var(--c-ok-fond); }
.crh-band > .crh-label { margin-bottom: -0.5rem; }
.crh-intro { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.2rem); max-width: 62ch; }
.crh-eyebrow { font-family: var(--titres); font-size: 0.8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-vert-fonce); margin: 0; }

/* Hero clair en deux colonnes */
.crh-hero { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(2rem, 1.5rem + 3vw, 4.5rem) !important; padding-inline: var(--gutter) !important; background: linear-gradient(115deg, var(--c-bleu-clair) 0%, #fff 55%, #F3F9E6 100%); border-bottom: 1px solid var(--c-ligne); }
.crh-hero > * { margin: 0 !important; max-width: none !important; }
.crh-hero__text { display: grid; gap: 16px; max-width: 640px !important; }
.crh-hero__text > * { margin: 0 !important; }
.crh-hero h1 { color: var(--c-noir); }
.crh-hero h1 strong { color: var(--c-bleu); font-weight: 500; }
.crh-hero .wp-block-buttons { margin-top: 8px !important; }
.crh-hero__media { position: relative; }
.crh-hero__media .wp-block-image { margin: 0; }
.crh-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); box-shadow: var(--shadow); display: block; }
.crh-hero__badge { position: absolute; left: -12px; bottom: 18px; margin: 0 !important; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 16px; font-family: var(--titres); font-weight: 600; font-size: 0.9375rem; color: var(--c-noir); border-left: 4px solid var(--c-vert); max-width: 260px; }
@media (min-width: 900px) {
	.crh-hero { grid-template-columns: 1.05fr 1fr; padding-inline: max(var(--gutter), calc((100% - var(--wide)) / 2)) !important; }
}
.crh-reassurance { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: 0.9375rem; font-weight: 500; color: var(--c-noir); }
.crh-reassurance li { margin: 0; padding-left: 26px; position: relative; }
.crh-reassurance li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; border-radius: 50%; background: var(--c-vert); }
.crh-reassurance li::after { content: ""; position: absolute; left: 5px; top: calc(0.2em + 5px); width: 8px; height: 5px; border-left: 2px solid var(--c-vert-encre); border-bottom: 2px solid var(--c-vert-encre); transform: rotate(-45deg); }

/* Cartes de services : photo + titre + liens */
.crh-services { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .crh-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .crh-services { grid-template-columns: repeat(3, 1fr); } }
.crh-services > * { margin: 0 !important; }
.crh-service-card { background: #fff; border: 1px solid var(--c-ligne); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgb(31 34 32 / 4%); }
.crh-service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.crh-service-card > * { margin: 0 !important; }
.crh-service-card .wp-block-image { margin: 0; }
.crh-service-card .wp-block-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.crh-service-card h3 { padding: 18px 20px 0; font-size: 1.25rem; }
.crh-service-card h3 a { color: var(--c-noir); text-decoration: none; }
.crh-service-card h3 a:hover { color: var(--c-bleu); }
.crh-service-card > p { padding: 8px 20px 0; font-size: 0.9375rem; color: var(--c-muted); }
.crh-service-card ul { list-style: none; padding: 10px 20px 20px !important; margin: 0; display: grid; gap: 2px; }
.crh-service-card li { margin: 0; }
.crh-service-card li a { display: block; padding: 6px 0 6px 18px; position: relative; color: var(--c-texte); text-decoration: none; font-size: 0.9375rem; border-bottom: 1px dashed var(--c-ligne); }
.crh-service-card li a::before { content: "›"; position: absolute; left: 2px; color: var(--c-vert-fonce); font-weight: 700; }
.crh-service-card li a:hover { color: var(--c-bleu); }

/* Marques installées */
.crh-brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; list-style: none; padding: 0 !important; }
.crh-brands li { margin: 0; min-width: 200px; text-align: center; padding: 22px 26px; background: #fff; border: 1px solid var(--c-ligne); border-radius: var(--radius); font-family: var(--titres); font-weight: 600; font-size: 1.25rem; color: var(--c-noir); letter-spacing: .02em; }
.crh-brands li small { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.8125rem; color: var(--c-muted); letter-spacing: 0; margin-top: 4px; }

/* Grilles et cartes */
.crh-grid, .crh-cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
.crh-grid > *, .crh-cards > * { margin: 0 !important; }
@media (min-width: 640px) { .crh-grid--2, .crh-grid--3, .crh-grid--4, .crh-cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .crh-grid--3, .crh-cards--3 { grid-template-columns: repeat(3, 1fr); } .crh-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.crh-card, .wp-block-group.is-style-crh-card { background: #fff; border: 1px solid var(--c-ligne); border-radius: var(--radius); padding: 24px; position: relative; }
.crh-band--gris .crh-card, .crh-band--gris .wp-block-group.is-style-crh-card { border-color: transparent; box-shadow: 0 1px 2px rgb(31 34 32 / 5%); }
.crh-card > * + *, .wp-block-group.is-style-crh-card > * + * { margin-top: 0.6rem; }
.crh-card h3, .wp-block-group.is-style-crh-card h3 { margin: 0; }
.crh-card p, .wp-block-group.is-style-crh-card p { margin: 0; }
.crh-cards .crh-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.crh-card--real img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.crh-card__body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.crh-card__body h3 a, .crh-card__title a { color: var(--c-noir); text-decoration: none; }
.crh-card__body h3 a::after, .crh-card__title a::after { content: ""; position: absolute; inset: 0; }
.crh-card__body h3 a:hover, .crh-card__title a:hover { color: var(--c-bleu); }
.crh-card__title { font-size: var(--fs-h3); margin: 0; }
.crh-card__meta { color: var(--c-muted); font-size: var(--fs-small); }
.crh-tag { display: inline-block; font-family: var(--titres); font-size: 0.75rem; font-weight: 600; color: var(--c-vert-fonce); text-transform: uppercase; letter-spacing: .08em; }

/* Atouts avec icônes */
.crh-feature { display: flex; flex-direction: column; gap: 10px; }
.crh-feature p { font-size: 0.9375rem; color: var(--c-muted); }
.crh-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--c-ok-fond); }
.crh-ico::before { content: ""; width: 28px; height: 28px; background: var(--c-vert-fonce); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.crh-ico--etude { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4h6M8 4H6a1 1 0 0 0-1 1v15a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-2'/%3E%3Cpath d='M9 2h6v4H9zM8 12l2.5 2.5L16 9'/%3E%3C/svg%3E"); }
.crh-ico--local { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.crh-ico--prix { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12V4a1 1 0 0 1 1-1h8l9 9-9 9z'/%3E%3Ccircle cx='8' cy='8' r='1.5'/%3E%3Cpath d='M4 20 20 4'/%3E%3C/svg%3E"); }
.crh-ico--aides { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.crh-ico--outil { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.2L3 17.8V21h3.2l6.3-6.3a4 4 0 0 0 5.2-5.4l-2.6 2.6-2.4-.6-.6-2.4z'/%3E%3C/svg%3E"); }
.crh-ico--soleil { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); }

/* Rangées texte + image (page Nos solutions) */
.crh-split { display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--c-ligne); border-radius: var(--radius); overflow: hidden; }
.crh-split + .crh-split { margin-top: 20px !important; }
.crh-split > * { margin: 0 !important; }
.crh-split__text { padding: clamp(22px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.crh-split__text > * { margin: 0 !important; }
.crh-split__text p { max-width: 50ch; color: var(--c-muted); }
.crh-split .wp-block-image { margin: 0; }
.crh-split .wp-block-image img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@media (min-width: 800px) { .crh-split { grid-template-columns: 1.2fr 1fr; } .crh-split .wp-block-image img { aspect-ratio: auto; min-height: 320px; } .crh-split:nth-of-type(even) > .crh-split__text { order: 2; } }

/* Étapes */
.crh-steps { list-style: none; counter-reset: step; padding: 0; margin: 1.5rem auto 0; display: grid; gap: 16px; }
@media (min-width: 1000px) { .crh-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.crh-steps li { counter-increment: step; margin: 0; background: #fff; border: 1px solid var(--c-ligne); border-radius: var(--radius); padding: 24px 24px 24px 80px; position: relative; }
.crh-steps li::before { content: counter(step); position: absolute; left: 22px; top: 22px; width: 42px; height: 42px; border-radius: 50%; background: var(--c-vert); color: var(--c-vert-encre); font-family: var(--titres); font-weight: 700; font-size: 1.15rem; display: grid; place-items: center; }
.crh-steps strong { display: block; font-family: var(--titres); font-weight: 600; color: var(--c-noir); font-size: 1.1rem; margin-bottom: 4px; }

/* Listes */
.crh-checklist { list-style: none; padding: 0; }
.crh-checklist li { padding-left: 30px; position: relative; margin-top: 10px; }
.crh-checklist li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%; background: var(--c-ok-fond); }
.crh-checklist li::after { content: ""; position: absolute; left: 5px; top: calc(0.3em + 5px); width: 8px; height: 5px; border-left: 2px solid var(--c-vert-fonce); border-bottom: 2px solid var(--c-vert-fonce); transform: rotate(-45deg); }
.crh-warnlist li::before { background: var(--c-alerte-fond); }
.crh-warnlist li::after { content: "!"; border: 0; transform: none; left: 7px; top: 0.3em; width: auto; height: auto; font-size: 0.75rem; font-weight: 700; color: var(--c-alerte); line-height: 18px; }

/* Encadrés */
.crh-note, .crh-notice { background: var(--c-alerte-fond); color: var(--c-alerte); border-radius: var(--radius); padding: 14px 16px; font-size: var(--fs-small); }
.crh-note p:last-child { margin: 0; }
.crh-info { background: var(--c-bleu-clair); border-left: 4px solid var(--c-bleu); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 18px; font-size: var(--fs-small); }
.crh-info > * { margin: 0; }
.crh-info > * + * { margin-top: 8px; }
.crh-cta-box { margin-top: 2.5rem; background: linear-gradient(110deg, var(--c-bleu) 0%, var(--c-bleu-fonce) 100%); color: #fff; border-radius: var(--radius-l); padding: clamp(22px, 4vw, 36px); }
.crh-cta-box__title { font-family: var(--titres); font-size: 1.5rem; font-weight: 500; color: #fff; margin: 0 0 8px; line-height: 1.2; }
.crh-cta-box .crh-btn--ghost { color: #fff; }
.crh-cta-box .crh-btn--ghost:hover { background: rgb(255 255 255 / 14%); color: #fff; }
.crh-related { font-weight: 600; }

/* FAQ */
.wp-block-details { border: 1px solid var(--c-ligne); border-radius: var(--radius); background: #fff; padding: 0; }
.wp-block-details + .wp-block-details { margin-top: 10px !important; }
.wp-block-details summary { cursor: pointer; padding: 18px 52px 18px 20px; font-family: var(--titres); font-weight: 500; font-size: 1.075rem; color: var(--c-noir); position: relative; list-style: none; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--c-vert); color: var(--c-vert-encre); display: grid; place-items: center; font-size: 1.1rem; font-weight: 700; line-height: 1; }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > :not(summary) { padding: 0 20px; margin-top: 0; }
.wp-block-details > :last-child { padding-bottom: 18px; }

/* Avis */
.crh-card--avis { padding: 24px !important; margin: 0; }
.crh-card--avis blockquote { margin: 0; font-size: 1rem; }
.crh-card--avis figcaption { display: grid; gap: 2px; font-size: var(--fs-small); color: var(--c-muted); margin-top: 14px; }
.crh-card--avis figcaption strong { color: var(--c-noir); }
.crh-more { margin-top: 1.25rem; font-weight: 600; text-align: center; }
.crh-realisations > h2, .crh-avis > h2 { text-align: center; }

/* Qualifications */
.crh-trust { background: #fff; border: 1px solid var(--c-ligne); border-radius: var(--radius); padding: 16px 20px; }
.crh-trust__list { margin: 0; }

/* Zones */
.crh-area-list { display: grid; gap: 24px; }
@media (min-width: 720px) { .crh-area-list { grid-template-columns: 1fr 1fr; } }
.crh-area-list ul { columns: 2; column-gap: 20px; padding-left: 1.1em; font-size: var(--fs-small); }
.crh-area-list li { break-inside: avoid; }
.crh-zone-checker { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); color: var(--c-texte); border-top: 4px solid var(--c-vert); }
.crh-links-grid { list-style: none; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.crh-links-grid a { display: block; padding: 14px 16px; border: 1px solid var(--c-ligne); border-radius: var(--radius); font-weight: 600; text-decoration: none; color: var(--c-noir); }
.crh-links-grid a:hover { border-color: var(--c-vert); color: var(--c-bleu); }

/* Filtres */
.crh-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.crh-chip { min-height: 40px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--c-ligne); background: #fff; font: inherit; font-size: var(--fs-small); font-weight: 600; color: var(--c-noir); cursor: pointer; }
.crh-chip[aria-pressed="true"] { background: var(--c-vert); border-color: var(--c-vert); color: var(--c-vert-encre); }
.crh-empty { padding: 24px; background: var(--c-gris); border-radius: var(--radius); }

/* --------------------------------------------------------------- formulaires */
.crh-form, .crh-sim__form { display: grid; gap: 18px; }
.crh-field { display: grid; gap: 6px; }
.crh-field label, .crh-group legend { font-weight: 700; color: var(--c-noir); }
.crh-field-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .crh-field-row { grid-template-columns: 1fr 1fr; } }
input[type="text"], input[type="email"], input[type="tel"], input:not([type]), input[inputmode], select, textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--c-noir);
	background: #fff; border: 1.5px solid #8C938A; border-radius: var(--radius-s);
}
textarea { min-height: 96px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 1px; border-color: var(--c-bleu); }
[aria-invalid="true"], .is-invalid input, .is-invalid select, .is-invalid textarea { border-color: var(--c-erreur); }
.crh-error { color: var(--c-erreur); font-size: var(--fs-small); font-weight: 600; margin: 0; display: flex; gap: 6px; }
.crh-error::before { content: "!"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--c-erreur); color: #fff; font-size: 0.75rem; display: grid; place-items: center; margin-top: 2px; }
.crh-hint { color: var(--c-muted); font-size: var(--fs-small); margin: 0; }
.crh-small { color: var(--c-muted); font-size: 0.875rem; margin: 0; }
.crh-req { color: var(--c-erreur); font-weight: 600; white-space: nowrap; }
.crh-opt { color: var(--c-muted); white-space: nowrap; }
.crh-check { display: grid; grid-template-columns: 24px 1fr; gap: 4px 12px; align-items: start; font-size: 0.975rem; }
.crh-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--c-bleu); }
.crh-check .crh-error { grid-column: 2; }
.crh-check label { cursor: pointer; }
.crh-group { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.crh-group legend { padding: 0; margin-bottom: 10px; }
.crh-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.crh-alert { border-radius: var(--radius); padding: 14px 16px; margin: 0; }
.crh-alert--error { background: var(--c-erreur-fond); color: var(--c-erreur); font-weight: 600; }
.crh-alert--ok { background: var(--c-ok-fond); color: var(--c-ok); }
.crh-form-error { color: var(--c-erreur); font-weight: 600; margin: 0; }
.crh-form-error:empty { display: none; }

/* Tuiles de choix */
.crh-tiles { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .crh-tiles { grid-template-columns: 1fr 1fr; } }
.crh-tiles--compact { grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .crh-tiles--compact { grid-template-columns: repeat(3, 1fr); } }
.crh-tiles li { margin: 0; }
.crh-tile { position: relative; display: flex; align-items: center; min-height: 56px; padding: 12px 16px; border: 1.5px solid var(--c-ligne); border-radius: var(--radius-s); background: #fff; color: var(--c-noir); font-weight: 600; cursor: pointer; text-decoration: none; line-height: 1.3; }
.crh-tiles--compact .crh-tile { min-height: 48px; font-size: 0.9375rem; padding: 10px 12px; }
.crh-tile:hover { border-color: var(--c-bleu); background: var(--c-bleu-clair); color: var(--c-noir); }
.crh-tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.crh-tile:has(input:checked) { border-color: var(--c-vert-fonce); background: var(--c-ok-fond); box-shadow: inset 0 0 0 1px var(--c-vert-fonce); }
.crh-tile:has(input:checked)::after { content: "✓"; margin-left: auto; padding-left: 8px; color: var(--c-vert-fonce); font-weight: 700; }
.crh-tile:has(input:focus-visible) { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.is-invalid .crh-tile { border-color: #E5A9A3; }

/* --------------------------------------------------------------- simulateur */
.crh-sim { background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow); border: 1px solid var(--c-ligne); border-top: 4px solid var(--c-vert); padding: clamp(18px, 4vw, 36px); max-width: 780px; margin-inline: auto; color: var(--c-texte); text-align: left; }
.crh-sim__head { display: grid; gap: 8px; margin-bottom: 16px; }
.crh-sim__progress-label { margin: 0; font-family: var(--titres); font-size: 0.8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-vert-fonce); }
.crh-progress { width: 100%; height: 8px; appearance: none; border: 0; border-radius: 99px; background: var(--c-gris-2); overflow: hidden; }
.crh-progress::-webkit-progress-bar { background: var(--c-gris-2); border-radius: 99px; }
.crh-progress::-webkit-progress-value { background: var(--c-vert); border-radius: 99px; }
.crh-progress::-moz-progress-bar { background: var(--c-vert); border-radius: 99px; }
.crh-sim__title { font-size: var(--fs-h3); margin: 0 0 18px; }
.crh-sim__title:focus { outline: none; }
.crh-sim__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--c-ligne); margin-top: 4px; padding-top: 18px; }
.crh-sim__nav .crh-btn--primary { margin-left: auto; }
.crh-zone-msg:empty { display: none; }
.crh-zone-msg { margin: 0; }
.crh-zone { display: block; border-radius: var(--radius-s); padding: 12px 14px; font-weight: 600; }
.crh-zone--ok { background: var(--c-ok-fond); color: var(--c-ok); }
.crh-zone--warn { background: var(--c-alerte-fond); color: var(--c-alerte); font-weight: 500; }
.crh-zone--out { background: var(--c-erreur-fond); color: #7A1A12; font-weight: 500; }
.crh-zone-msg .crh-btn { margin-top: 10px; }
.crh-out { display: grid; gap: 12px; }
.crh-out__form summary { list-style: none; width: fit-content; }
.crh-out__form summary::-webkit-details-marker { display: none; }
.crh-out__form > * + * { margin-top: 14px; }
.crh-recap { border: 1px solid var(--c-ligne); border-radius: var(--radius-s); padding: 12px 16px; background: var(--c-gris); }
.crh-recap summary { cursor: pointer; font-weight: 700; color: var(--c-noir); }
.crh-recap dl, .crh-recap-list { margin: 10px 0 0; display: grid; gap: 8px; }
.crh-recap dl div, .crh-recap-list div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; font-size: var(--fs-small); }
.crh-recap dt, .crh-recap-list dt { color: var(--c-muted); }
.crh-recap dd, .crh-recap-list dd { margin: 0; font-weight: 600; color: var(--c-noir); }
.crh-sim__done:focus { outline: none; }
.crh-done-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--c-vert); color: var(--c-vert-encre); font-size: 1.6rem; display: grid; place-items: center; margin: 0 0 14px; }
.crh-sim__done .crh-actions { margin-top: 20px; }
.crh-callback, .crh-withdraw { max-width: 640px; }

/* Mention d'information RGPD (article 13) au point de collecte */
.crh-rgpd { background: var(--c-gris); border-left: 4px solid var(--c-bleu); border-radius: 0 var(--radius-s) var(--radius-s) 0; padding: 12px 16px; font-size: 0.8125rem; line-height: 1.55; color: var(--c-muted); }
.crh-rgpd p { margin: 0; }
.crh-rgpd p + p { margin-top: 6px; }
.crh-rgpd__title { font-family: var(--titres); font-weight: 600; font-size: 0.875rem; color: var(--c-noir); margin-bottom: 6px !important; }
.crh-rgpd a { color: var(--c-bleu); }
.crh-company-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

/* --------------------------------------------------------------- pied de page */
.crh-footer { background: var(--c-noir); color: #B9C2B4; font-size: var(--fs-small); border-top: 4px solid var(--c-vert); }
.crh-footer a { color: #fff; }
.crh-footer__inner { max-width: var(--wide); margin-inline: auto; padding: 52px var(--gutter) 28px; display: grid; gap: 32px; }
@media (min-width: 720px) { .crh-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .crh-footer__inner { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; } }
.crh-footer .crh-logo__name { color: #fff; }
.crh-footer .crh-logo__tagline { color: var(--c-vert); }
.crh-footer__title { color: #fff; font-family: var(--titres); font-weight: 600; font-size: 0.9375rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.crh-footer__list, .crh-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.crh-footer__list li, .crh-footer__contact li { margin: 0; }
.crh-footer__list a { color: #E6E9E3; text-decoration: none; }
.crh-footer__list a:hover { color: var(--c-vert); }
.crh-footer__cities { margin-top: 10px; }
.crh-footer__bottom { max-width: var(--wide); margin-inline: auto; padding: 20px var(--gutter) 28px; border-top: 1px solid rgb(255 255 255 / 12%); display: grid; gap: 10px; }
.crh-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.crh-footer__legal { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.crh-footer__legal li { margin: 0; }
.crh-footer__disclaimer { max-width: none; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.crh-footer mark.crh-todo { font-size: 0.8rem; }

/* --------------------------------------------------------------- bandeau cookies */
.crh-consent { position: fixed; inset: auto 0 0 0; z-index: 100; padding: 12px; }
.crh-consent__inner { max-width: 780px; margin-inline: auto; background: #fff; border-radius: var(--radius); box-shadow: 0 10px 40px rgb(31 34 32 / 28%); border-top: 4px solid var(--c-bleu); padding: 22px; font-size: var(--fs-small); max-height: 80vh; overflow: auto; }
.crh-consent__title { font-family: var(--titres); font-weight: 600; font-size: 1.15rem; color: var(--c-noir); margin-bottom: 6px; }
.crh-consent__details { display: grid; gap: 12px; margin: 12px 0; }
.crh-consent__actions { display: grid; gap: 8px; grid-template-columns: 1fr; margin-top: 12px; }
@media (min-width: 600px) { .crh-consent__actions { grid-template-columns: repeat(3, 1fr); } }
.crh-consent__actions .crh-btn { min-height: 44px; }

/* --------------------------------------------------------------- éditeur */
.editor-styles-wrapper .crh-band { outline: 1px dashed #c7cec3; }
.crh-editor-empty { padding: 12px; background: var(--c-gris); border: 1px dashed #b5bdb1; color: var(--c-muted); font-size: 0.875rem; }

@media print {
	.crh-header, .crh-stickybar, .crh-consent, .crh-footer__inner, .crh-cta-box { display: none !important; }
	body { padding: 0; }
}

/* Tableaux de caractéristiques techniques (section construction haute performance) */
.crh-table { margin-block: 1.5rem; overflow-x: auto; }
.crh-table table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--c-blanc); }
.crh-table th, .crh-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--c-ligne); vertical-align: top; }
.crh-table thead th { font-family: var(--titres); font-weight: 600; color: var(--c-noir); background: var(--c-bleu-clair); border-bottom: 2px solid var(--c-bleu); }
.crh-table tbody tr:nth-child(even) td { background: var(--c-gris); }
.crh-table figcaption { margin-top: 8px; font-size: 0.85rem; color: var(--c-muted); }

/* Tuiles à icône (autres usages, solutions complémentaires) : icône au-dessus, texte lisible dessous */
.crh-usages { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .crh-usages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .crh-usages { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }
.crh-usages li { margin: 0; }
.crh-usage { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; height: 100%; padding: 22px 20px 20px; background: #fff; border: 1px solid var(--c-ligne); border-radius: var(--radius); text-decoration: none; color: var(--c-noir); box-shadow: 0 1px 2px rgb(31 34 32 / 4%); position: relative; transition: box-shadow .15s, transform .15s, border-color .15s; }
.crh-usage:hover { border-color: var(--c-bleu); box-shadow: var(--shadow); transform: translateY(-2px); }
.crh-usage:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.crh-usage__icon { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--c-vert); color: var(--c-vert-encre); }
.crh-usage__body { display: grid; gap: 4px; line-height: 1.35; }
.crh-usage__body small { font-family: var(--titres); font-size: 0.75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-vert-fonce); }
.crh-usage__body strong { font-family: var(--titres); font-weight: 600; font-size: 1.15rem; color: var(--c-noir); }
.crh-usage__body span { font-size: 0.9375rem; color: var(--c-muted); }
.crh-usage::after { content: "›"; position: absolute; top: 18px; right: 18px; font-size: 1.5rem; line-height: 1; color: var(--c-vert-fonce); font-weight: 700; }

/* ==========================================================================
   Habillage « chantier » (accueil, espace professionnels) – 17/10/2026
   ========================================================================== */
/* ---- éléments « chantier » ---- */
:root { --c-beton: #2B2F2C; --c-plan: #14507F; --c-plan-2: #1B6BAE; --stripe: repeating-linear-gradient(-45deg, var(--c-vert) 0 14px, var(--c-noir) 14px 28px); }
.crh-stripe { height: 8px; background: var(--stripe); }
.crh-section-title { text-align: center; max-width: 780px; margin: 0 auto 2rem; }
.crh-section-title p { color: var(--c-muted); }
.crh-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--titres); font-weight: 600; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-vert-fonce); margin: 0 0 10px; }
.crh-kicker::before { content: ""; width: 28px; height: 3px; background: var(--c-vert); border-radius: 2px; }
.crh-kicker--light { color: #C9EC6A; }

/* ---- accueil : héros « plan d’architecte » ---- */
.hp-hero { position: relative; isolation: isolate; color: #E8EEF4; background: var(--c-plan); overflow: hidden; }
.hp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(rgb(255 255 255 / 9%) 1px, transparent 1px) 0 0 / 40px 40px,
		linear-gradient(90deg, rgb(255 255 255 / 9%) 1px, transparent 1px) 0 0 / 40px 40px,
		linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px) 0 0 / 8px 8px,
		linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px) 0 0 / 8px 8px,
		linear-gradient(115deg, #0F3D63 0%, #14507F 55%, #1B6BAE 100%); }
.hp-hero__grid { display: grid; gap: 28px; align-items: center; padding-block: clamp(2rem, 1.2rem + 4vw, 5rem); }
@media (min-width: 960px) { .hp-hero__grid { grid-template-columns: 1.02fr 1fr; gap: 48px; } }
.hp-hero h1 { color: #fff; max-width: 19ch; font-weight: 600; margin-bottom: .4em; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.3rem); }
.hp-hero h1 em { font-style: normal; color: #C9EC6A; }
.hp-hero__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: #D6E3EE; max-width: 52ch; margin: 0 0 22px; }
.hp-hero .crh-kicker { color: #C9EC6A; }
.hp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hp-hero .crh-btn--outline { color: #fff; border-color: rgb(255 255 255 / 70%); background: transparent; }
.hp-hero .crh-btn--outline:hover { background: #fff; color: var(--c-plan); }
.hp-hero__checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px 22px; font-size: .9375rem; font-weight: 500; }
@media (min-width: 560px) { .hp-hero__checks { grid-template-columns: 1fr 1fr; } }
.hp-hero__checks li { position: relative; padding-left: 28px; margin: 0; }
.hp-hero__checks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 19px; height: 19px; border-radius: 50%; background: var(--c-vert); }
.hp-hero__checks li::after { content: ""; position: absolute; left: 6px; top: calc(.15em + 5px); width: 8px; height: 5px; border-left: 2px solid var(--c-vert-encre); border-bottom: 2px solid var(--c-vert-encre); transform: rotate(-45deg); }
.hp-hero__art { margin: 0; }
.hp-hero__art img { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 30px rgb(0 0 0 / 25%)); }

/* ---- bandeau de confiance ---- */
.hp-trust { background: var(--c-noir); color: #E6E9E3; }
.hp-trust__list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr; width: min(100% - 2 * var(--gutter), var(--wide)); }
@media (min-width: 640px) { .hp-trust__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hp-trust__list { grid-template-columns: repeat(4, 1fr); } }
.hp-trust__list li { margin: 0; display: flex; gap: 14px; align-items: flex-start; padding: 20px 18px; border-bottom: 1px solid rgb(255 255 255 / 10%); }
@media (min-width: 1000px) { .hp-trust__list li { border-bottom: 0; border-left: 1px solid rgb(255 255 255 / 10%); } .hp-trust__list li:first-child { border-left: 0; } }
.hp-trust__ico { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--c-vert); color: var(--c-vert-encre); display: grid; place-items: center; }
.hp-trust__list strong { display: block; font-family: var(--titres); font-weight: 600; color: #fff; font-size: 1.05rem; line-height: 1.25; }
.hp-trust__list span.t { display: block; font-size: .875rem; color: #B9C1B6; margin-top: 2px; }

/* ---- sections ---- */
.hp-section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.hp-section--gris { background: var(--c-gris); }
.hp-section--plan { background: #F3F7FB; background-image: linear-gradient(rgb(20 80 127 / 6%) 1px, transparent 1px), linear-gradient(90deg, rgb(20 80 127 / 6%) 1px, transparent 1px); background-size: 32px 32px; }
.hp-wrap { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.hp-head { max-width: 760px; margin: 0 0 clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.hp-head--center { margin-inline: auto; text-align: center; }
.hp-head--center .crh-kicker { justify-content: center; }
.hp-head h2 { margin-bottom: .35em; }
.hp-head p { color: var(--c-muted); font-size: 1.0625rem; margin: 0; }

/* cartes de service : photo + bandeau */
.hp-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .hp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hp-cards { grid-template-columns: repeat(3, 1fr); } }
.hp-card { margin: 0; background: #fff; border: 1px solid var(--c-ligne); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; box-shadow: 0 1px 2px rgb(31 34 32 / 5%); transition: transform .2s, box-shadow .2s; }
.hp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hp-card__img { position: relative; aspect-ratio: 16 / 10; background: var(--c-gris-2); }
.hp-card__img { overflow: visible; }
.hp-card__img img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: center; display: block; border-radius: 0; }
.hp-card__ico { position: absolute; left: 16px; bottom: -22px; width: 52px; height: 52px; border-radius: 12px; background: var(--c-vert); color: var(--c-vert-encre); display: grid; place-items: center; box-shadow: 0 6px 14px rgb(0 0 0 / 18%); }
.hp-card__body { padding: 34px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hp-card h3 { margin: 0; font-size: 1.3rem; }
.hp-card h3 a { color: var(--c-noir); text-decoration: none; }
.hp-card h3 a::after { content: ""; position: absolute; inset: 0; }
.hp-card p { margin: 0; color: var(--c-muted); font-size: .9375rem; }
.hp-card__more { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: .9375rem; color: var(--c-bleu); display: inline-flex; gap: 6px; align-items: center; }
.hp-card:hover .hp-card__more { color: var(--c-bleu-fonce); }

/* construction haute performance */
.hp-build { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hp-build { grid-template-columns: 1fr 1fr; gap: 56px; } }
.hp-build__art img { width: 100%; height: auto; display: block; border-radius: var(--radius-l); box-shadow: var(--shadow); background: #fff; }
.hp-build ul.hp-list { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.hp-list li { position: relative; padding-left: 30px; margin: 0; }
.hp-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 4px; background: var(--c-vert); }
.hp-list li::after { content: ""; position: absolute; left: 5px; top: calc(.3em + 4px); width: 8px; height: 5px; border-left: 2px solid var(--c-vert-encre); border-bottom: 2px solid var(--c-vert-encre); transform: rotate(-45deg); }

/* bandeau professionnels (discret) */
.hp-pro { background: var(--c-noir); color: #E6E9E3; position: relative; }
.hp-pro::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: var(--stripe); }
.hp-pro .hp-head h2 { color: #fff; }
.hp-pro .hp-head p { color: #B9C1B6; }
.hp-protiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .hp-protiles { grid-template-columns: repeat(4, 1fr); } }
.hp-protile { margin: 0; }
.hp-protile a { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 22px 18px; border: 1px solid rgb(255 255 255 / 16%); border-radius: var(--radius); background: rgb(255 255 255 / 4%); color: #fff; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
.hp-protile a:hover { background: rgb(155 203 12 / 12%); border-color: var(--c-vert); transform: translateY(-2px); }
.hp-protile svg { color: var(--c-vert); }
.hp-protile strong { font-family: var(--titres); font-size: 1.15rem; font-weight: 600; }
.hp-protile span { font-size: .875rem; color: #B9C1B6; }
.hp-pro__cta { margin-top: 26px; }
.hp-pro .crh-btn--outline { color: #fff; border-color: rgb(255 255 255 / 70%); background: transparent; }
.hp-pro .crh-btn--outline:hover { background: #fff; color: var(--c-noir); }

/* méthode en 3 étapes : numéros « plan » */
.hp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 800px) { .hp-steps { grid-template-columns: repeat(3, 1fr); } }
.hp-steps li { counter-increment: s; margin: 0; background: #fff; border: 1px solid var(--c-ligne); border-radius: var(--radius); padding: 26px 22px 22px; position: relative; }
.hp-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; top: -18px; left: 18px; font-family: var(--titres); font-weight: 700; font-size: 1.1rem; background: var(--c-plan); color: #fff; padding: 5px 12px; border-radius: 6px; }
.hp-steps strong { display: block; font-family: var(--titres); font-weight: 600; font-size: 1.2rem; color: var(--c-noir); margin-bottom: 6px; }
.hp-steps p { margin: 0; color: var(--c-muted); font-size: .9375rem; }

/* certitude : vérifiez-nous */
.hp-verify { display: grid; gap: 28px; align-items: start; }
/* Présentation empilée : texte centré au-dessus, cartes sur 2 colonnes en dessous (25/10/2026) */
.hp-verify > div:first-child { max-width: 820px; margin: 0 auto; text-align: center; }
.hp-verify > div:first-child p:not(.crh-kicker) { text-align: center; }
@media (min-width: 760px) { .hp-verify .hp-verify__list { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
.hp-verify__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.hp-verify__list li { margin: 0; display: flex; gap: 14px; background: #fff; border: 1px solid var(--c-ligne); border-left: 4px solid var(--c-vert); border-radius: var(--radius); padding: 16px 18px; }
.hp-verify__list svg { flex: none; color: var(--c-vert-fonce); margin-top: 2px; }
.hp-verify__list strong { display: block; color: var(--c-noir); font-family: var(--titres); font-weight: 600; font-size: 1.08rem; }
.hp-verify__list span { font-size: .9375rem; color: var(--c-muted); }

/* appel final */
.hp-cta { background: var(--c-plan) linear-gradient(115deg, #0F3D63, #1B6BAE); color: #fff; text-align: center; padding-block: clamp(3rem, 2rem + 4vw, 5rem); position: relative; }
.hp-cta h2 { color: #fff; }
.hp-cta p { color: #D6E3EE; max-width: 56ch; margin-inline: auto; }
.hp-cta .hp-hero__actions { justify-content: center; margin-top: 22px; }
.hp-cta .crh-btn--outline { color: #fff; border-color: rgb(255 255 255 / 70%); background: transparent; }
.hp-cta .crh-btn--outline:hover { background: #fff; color: var(--c-plan); }

/* zone */
.hp-zone { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hp-zone { grid-template-columns: 1fr 1fr; gap: 56px; } }
.hp-zone img { width: 100%; height: auto; border-radius: var(--radius-l); box-shadow: var(--shadow); display: block; }

/* ---- page professionnels ---- */
.pro-hero { background: var(--c-noir); color: #E6E9E3; position: relative; isolation: isolate; overflow: hidden; }
.pro-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px) 0 0 / 36px 36px, linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px) 0 0 / 36px 36px; }
.pro-hero h1 { color: #fff; max-width: 20ch; }
.pro-hero .crh-breadcrumbs ol, .pro-hero .crh-breadcrumbs a { color: #B9C1B6; }
.pro-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pro-grid { grid-template-columns: repeat(2, 1fr); } }
.pro-card { margin: 0; background: #fff; border: 1px solid var(--c-ligne); border-top: 4px solid var(--c-vert); border-radius: var(--radius); padding: 24px; }
.pro-card svg { color: var(--c-vert-fonce); }
.pro-card h3 { margin: 12px 0 6px; }
.pro-card p { margin: 0 0 10px; color: var(--c-muted); font-size: .9375rem; }
.pro-card ul { margin: 0; padding-left: 18px; font-size: .9375rem; }

/* ---- bouton « vérifier » et bloc société ---- */
.hp-verify-note { font-size: .875rem; color: var(--c-muted); margin-top: 14px; }

@media (prefers-reduced-motion: reduce) { .hp-card, .hp-protile a { transition: none; } .hp-card:hover, .hp-protile a:hover { transform: none; } }


/* ---- adaptation WordPress (le contenu est dans .entry-content) ---- */
.entry-content .hp-hero h1::after, .entry-content .hp-section h2::after, .entry-content .hp-pro h2::after, .entry-content .hp-cta h2::after { display: none; }
.entry-content .hp-head h2, .entry-content .hp-cta h2, .entry-content .hp-build h2, .entry-content .hp-verify h2, .entry-content .hp-zone h2 { margin-top: 0; }
.entry-content .hp-card h3, .entry-content .hp-protile strong, .entry-content .pro-card h3 { margin-top: 0; }
.entry-content .hp-hero, .entry-content .hp-trust, .entry-content .hp-section, .entry-content .hp-pro, .entry-content .hp-cta { margin-block: 0; }
.entry-content .hp-cards, .entry-content .hp-protiles, .entry-content .hp-trust__list, .entry-content .pro-grid, .entry-content .hp-hero__checks, .entry-content .hp-list, .entry-content .hp-verify__list, .entry-content .hp-steps { padding-left: 0; }
.entry-content .hp-hero a:not(.crh-btn), .entry-content .hp-pro a:not(.crh-btn), .entry-content .hp-card h3 a { text-decoration: none; }
.entry-content .hp-protile a { color: #fff; }
.entry-content .hp-card h3 a { color: var(--c-noir); }
.entry-content .hp-zone .crh-zone { max-width: none; }

.entry-content .hp-trust a { color: #C9EC6A; }
.entry-content .hp-verify-note { font-size: .875rem; color: var(--c-muted); }
.hp-hero .hp-wrap, .hp-pro .hp-wrap, .hp-cta .hp-wrap { margin-inline: auto; }

/* ==========================================================================
   Texte justifié (écrans ≥ 700 px) : paragraphes et listes de contenu.
   Césure automatique en français pour éviter les grands blancs.
   Restent alignés à gauche ou centrés : titres, cartes, tuiles, boutons, bandeaux courts.
   ========================================================================== */
@media (min-width: 700px) {
	.entry-content > p,
	.entry-content > ul > li,
	.entry-content > ol > li,
	.entry-content .wp-block-details > p,
	.entry-content .crh-note p,
	.entry-content .crh-checklist li,
	.entry-content .crh-steps li,
	.entry-content .crh-split__text p,
	.crh-band > p:not(.crh-intro):not(.crh-small):not(.crh-label),
	.crh-page-header .crh-lead,
	.hp-build p, .hp-verify > div > p, .hp-zone > div > p, .pro-card > p,
	.hp-head:not(.hp-head--center) p,
	.crh-card > p {
		text-align: justify;
		text-justify: inter-word;
		hyphens: auto;
		-webkit-hyphens: auto;
		overflow-wrap: break-word;
	}
	.entry-content > .crh-intro { max-width: none; }
	/* Exceptions : textes courts ou centrés */
	.hp-hero p, .hp-cta p, .hp-head--center p, .hp-pro p, .hp-verify-note, .crh-small,
	.hp-card p, .hp-steps p, .hp-trust p, .hp-protile span, .crh-usage__body span {
		text-align: left;
	}
	.hp-head--center p, .hp-cta p, .hp-verify-note[style*="center"], .crh-band > .crh-intro, .crh-band > .crh-small { text-align: center; }
}

/* ==========================================================================
   Recherche interne (champ, fenêtre, résultats)
   ========================================================================== */
.crh-search-open { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius-s); color: var(--c-vert-fonce); text-decoration: none; }
.crh-search-open:hover { background: var(--c-gris); color: var(--c-noir); }

.crh-searchform { display: flex; gap: 8px; width: 100%; max-width: 640px; margin-top: 18px; }
.crh-searchform input[type="search"] { flex: 1; min-width: 0; min-height: 48px; padding: 10px 16px; border: 2px solid var(--c-ligne); border-radius: var(--radius); background: #fff; font: inherit; color: var(--c-noir); -webkit-appearance: none; appearance: none; }
.crh-searchform input[type="search"]:focus { outline: 3px solid var(--c-focus); outline-offset: 1px; border-color: var(--c-bleu); }
.crh-searchform .crh-btn { flex: none; min-height: 48px; }
@media (max-width: 480px) { .crh-searchform { flex-direction: column; } }

.crh-searchbox { width: min(640px, calc(100% - 2 * var(--gutter))); margin: 10vh auto auto; padding: 22px; border: 0; border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow); }
.crh-searchbox::backdrop { background: rgb(31 34 32 / 45%); }
.crh-searchbox__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.crh-searchbox__title { margin: 0; font-family: var(--titres); font-size: 1.375rem; font-weight: 600; color: var(--c-noir); }
.crh-searchbox__hint { margin: 20px 0 8px; font-size: var(--fs-small); font-weight: 700; color: var(--c-muted); text-transform: uppercase; letter-spacing: .06em; }

.crh-searchchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crh-searchchips a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--c-ligne); border-radius: 99px; background: #fff; font-size: var(--fs-small); font-weight: 600; color: var(--c-noir); text-decoration: none; }
.crh-searchchips a:hover { border-color: var(--c-vert); background: var(--c-gris); color: var(--c-noir); }

.crh-results { display: grid; gap: 14px; margin: 0 0 28px; padding: 0; list-style: none; }
.crh-result { padding: 18px 20px; border: 1px solid var(--c-ligne); border-radius: var(--radius); background: #fff; }
.crh-result:hover { border-color: var(--c-vert); box-shadow: var(--shadow); }
.crh-result__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; font-size: var(--fs-small); color: var(--c-muted); }
.crh-pill { display: inline-block; padding: 2px 10px; border-radius: 99px; background: var(--c-bleu-clair); font-family: var(--titres); font-size: .75rem; font-weight: 600; color: var(--c-bleu-fonce); text-transform: uppercase; letter-spacing: .06em; }
.crh-result__title { margin: 0 0 6px; font-size: 1.25rem; }
.crh-result__title a { color: var(--c-noir); text-decoration: none; }
.crh-result__title a:hover { color: var(--c-bleu); text-decoration: underline; }
.crh-result__snippet { margin: 0; color: var(--c-texte); text-align: left; }
.crh-results mark { padding: 0 2px; border-radius: 3px; background: #E4F2B5; color: var(--c-vert-encre); }
.crh-noresult { margin-bottom: 28px; }
.crh-noresult h2 { margin-top: 0; }

/* Recherche : la loupe doit rester visible à toutes les largeurs (aucun débordement de l'en-tête). */
.crh-search-open { flex: none; }
@media (min-width: 1280px) and (max-width: 1439px) {
	.crh-header .crh-logo__tagline { display: none; }
	.crh-header__inner { gap: 12px; }
	.crh-nav__list a, .crh-nav__list summary { padding-inline: 6px; }
}
@media (max-width: 359px) {
	.crh-header__phone-icon { display: none; }
	.crh-logo__name { font-size: .9rem; }
}

/* Sélecteur de langue FR | EN */
.crh-lang ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.crh-lang a, .crh-lang .is-current { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 44px; padding: 0 6px; font-size: .85rem; font-weight: 700; letter-spacing: .04em; border-radius: var(--radius-s); text-decoration: none; }
.crh-lang a { color: var(--c-vert-fonce); }
.crh-lang a:hover { background: var(--c-gris); color: var(--c-noir); }
.crh-lang .is-current { color: var(--c-noir); box-shadow: inset 0 -3px 0 var(--c-vert-fonce); }
.crh-lang--menu { padding: 4px 16px 8px; }
@media (min-width: 1280px) and (max-width: 1439px) { .crh-lang a, .crh-lang .is-current { min-width: 30px; padding: 0 3px; } }

/* ==========================================================================
   Formulaires dans les sections pleine largeur : centrés sous leur titre.
   ========================================================================== */
.hp-wrap > .crh-form, .hp-wrap > .crh-partner-result,
.crh-band > .crh-form, .crh-band > .crh-partner-result { margin-left: auto; margin-right: auto; }
.crh-partner, .crh-partner-result { max-width: 760px; }
.hp-actions-center { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 8px 0 0; }
.crh-status-line { font-size: .875rem; color: var(--c-muted); }

/* ==========================================================================
   Largeur de lecture alignée sur les grandes images (alignwide) :
   paragraphes, titres, listes, notes et chapeaux partagent les mêmes marges
   gauche et droite que les images larges. Les sections pleine largeur sont inchangées.
   ========================================================================== */
.entry-content.is-layout-constrained > :not(.alignfull):not(.alignleft):not(.alignright),
.crh-band.is-layout-constrained > :not(.alignfull):not(.alignleft):not(.alignright),
.entry-content > .crh-intro {
	max-width: var(--wp--style--global--wide-size, 1240px);
	margin-left: auto !important;
	margin-right: auto !important;
}
.entry-content > .crh-intro { width: 100%; }
.entry-content > mark.crh-todo { display: block; box-sizing: border-box; width: 100%; max-width: var(--wp--style--global--wide-size, 1240px); margin: 0 auto 1em; padding: 4px 8px; }

/* En-tête : avec le menu « Professionnels », le bouton « Être rappelé » (toujours présent dans le menu mobile,
   le pied de page et les pages) est masqué sur les écrans où il ferait déborder l'en-tête. */
@media (min-width: 1280px) and (max-width: 1599px) {
	.crh-header__actions .crh-btn--outline { display: none; }
}
@media (min-width: 1600px) {
	.crh-header__inner { max-width: 1520px; }
}

/* ==========================================================================
   Annonce « Recherche de partenaires » (bloc crh/partner-callout), dans le corps des pages.
   ========================================================================== */
.crh-partner-ad { display: grid; gap: 20px 32px; margin-block: 48px; padding: 24px; background: var(--c-bleu-clair); border: 1px solid #cfe2f3; border-left: 6px solid var(--c-bleu); border-radius: var(--radius); box-shadow: var(--shadow); }
.crh-partner-ad__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--titres); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-bleu); }
.crh-partner-ad__badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--c-bleu); color: #fff; letter-spacing: .08em; }
.crh-partner-ad__title { margin: 0 0 10px; font-family: var(--titres); font-weight: 600; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.25; color: var(--c-noir); text-align: left; }
.crh-partner-ad__text { margin: 0 0 12px; }
.crh-partner-ad__points { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.crh-partner-ad__points li { position: relative; padding-left: 26px; margin: 0; }
.crh-partner-ad__points li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--c-vert-fonce); border-bottom: 2.5px solid var(--c-vert-fonce); transform: rotate(-45deg); }
.crh-partner-ad__side { display: flex; flex-direction: column; gap: 10px; align-self: center; }
.crh-partner-ad__side .crh-btn { justify-content: center; text-align: center; }
.crh-partner-ad__note { margin: 4px 0 0; font-size: .875rem; color: var(--c-texte); text-align: left; }
@media (min-width: 900px) {
	.crh-partner-ad { grid-template-columns: minmax(0, 1fr) 280px; padding: 32px 36px; }
}
@media print { .crh-partner-ad { display: none; } }

/* ==========================================================================
   Actualités (liste par thème, filtres par type, article, communiqué de presse)
   ========================================================================== */
.crh-news-nav { margin: 0 0 20px; border-bottom: 1px solid var(--c-ligne); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.crh-news-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; min-width: max-content; }
.crh-news-nav li { margin: 0; }
.crh-news-nav a { display: block; padding: 10px 14px; font-family: var(--titres); font-weight: 500; font-size: .95rem; color: var(--c-noir); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.crh-news-nav a:hover { color: var(--c-bleu); }
.crh-news-nav a[aria-current] { color: var(--c-bleu); border-bottom-color: var(--c-vert); }
.crh-news-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; position: relative; z-index: 1; }
.crh-news-type { display: inline-block; padding: 2px 10px; border-radius: 999px; font-family: var(--titres); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--c-gris); color: var(--c-noir); }
.crh-news-type--nouveaute { background: #E8F4C8; color: var(--c-vert-fonce); }
.crh-news-type--information { background: var(--c-bleu-clair); color: #155A96; }
.crh-news-type--reglementation { background: #FFF1D6; color: #7A4A00; }
.crh-news-type--communique { background: var(--c-bleu); color: #fff; }
.crh-news-theme { font-size: .8125rem; font-weight: 600; color: var(--c-vert-fonce); text-decoration: none; }
.crh-news-theme:hover { text-decoration: underline; }
.crh-page-header .crh-news-badges { margin-bottom: 12px; }
.crh-news-date { font-size: var(--fs-small); color: var(--c-muted); }
.crh-news-more { margin-top: auto !important; font-weight: 600; }
.crh-news-more a { text-decoration: none; }
.crh-news-card .crh-card__body { height: 100%; }
.crh-news-card[hidden] { display: none; }
.crh-news-list { margin-bottom: 32px; }
.crh-news-empty .crh-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.crh-news-sources { margin-top: 32px; padding: 16px 20px; border-left: 4px solid var(--c-ligne); background: var(--c-gris); border-radius: 0 var(--radius) var(--radius) 0; font-size: var(--fs-small); }
.crh-news-sources__title, .crh-press-box__title { margin: 0 0 6px; font-family: var(--titres); font-weight: 600; color: var(--c-noir); }
.crh-news-sources ul, .crh-press-box ul { margin: 0; padding-left: 18px; }
.crh-press-box { margin-top: 32px; padding: 20px 24px; border: 1px solid var(--c-ligne); border-top: 4px solid var(--c-bleu); border-radius: var(--radius); background: #fff; }
.crh-press-box__title + p { margin-top: 0; }
.crh-press-box p + .crh-press-box__title { margin-top: 16px; }
.crh-news-after h2 { margin-top: 0; }
.crh-news-back { margin: 0 0 32px; font-weight: 600; }
@media print { .crh-news-nav, .crh-news-filters, .crh-news-after .crh-cards { display: none; } }
@media (min-width: 900px) {
	.crh-news-nav { overflow: visible; }
	.crh-news-nav ul { flex-wrap: wrap; min-width: 0; }
}
.crh-news-nav + .crh-news-filters, .crh-news-nav + .crh-cards, .crh-news-nav + .crh-news-empty { margin-top: 4px; }

/* Actualités : textes justifiés comme sur le reste du site (titres, badges, dates et liens restent alignés à gauche). */
@media (min-width: 700px) {
	.crh-news-single .crh-page-header .crh-lead,
	.crh-news-card .crh-card__body > p:not(.crh-news-badges):not(.crh-news-date):not(.crh-news-more),
	.crh-news-single .entry-content p:not(.crh-related):not(.crh-news-sources__title):not(.crh-press-box__title),
	.crh-news-single .entry-content li,
	.crh-press-box p:not(.crh-press-box__title),
	.crh-news-empty p:not(.crh-actions) {
		text-align: justify;
		text-justify: inter-word;
		hyphens: auto;
		-webkit-hyphens: auto;
		overflow-wrap: break-word;
	}
}

/* Logo Agence IntExt (symbole + nom) : « Agence » anthracite, « Int » bleu, « Ext » vert, comme le logo officiel. */
.crh-logo__mark { width: 44px; height: 44px; object-fit: contain; }
.crh-logo__name { color: var(--c-noir); font-weight: 600; }
.crh-logo__int { color: var(--c-bleu); }
.crh-logo__ext { color: #5E9A0F; }
.crh-logo__tagline { text-transform: none; letter-spacing: .02em; font-size: .6875rem; color: var(--c-texte); }
.crh-logo__tagline span { color: var(--c-vert); }
.crh-footer .crh-logo__name { color: #fff; }
.crh-footer .crh-logo__int { color: #7DB8EC; }
.crh-footer .crh-logo__ext { color: var(--c-vert); }
.crh-footer .crh-logo__tagline { color: #D7DBD4; }
@media (max-width: 479px) { .crh-logo__mark { width: 36px; height: 36px; } }

/* Page « Bien choisir son installateur » : situations rencontrées */
.wp-block-heading.crh-case-group { margin-top: 2.2rem; font-size: 1.2rem; color: var(--c-bleu-fonce); border-left: 4px solid var(--c-alerte); padding-left: 12px; }
.crh-case-card { border-top: 4px solid var(--c-alerte) !important; }
.crh-case-card h3 { font-size: 1.05rem; line-height: 1.35; }
.crh-case-card p { text-align: justify; hyphens: auto; }
.crh-case-card p strong { color: var(--c-bleu-fonce); }

/* Actualités du site codé à la main : image de l'article et des cartes, bandeau d'aperçu (gestion) */
.crh-news-card--media .crh-card__body { height: auto; flex: 1; }
.crh-news-card__media { display: block; margin: 0; }
.crh-news-card__media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.crh-news-figure { margin: 0 0 24px; }
.crh-news-figure img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
.crh-news-preview { margin: 0; padding: 10px 16px; background: var(--c-alerte-fond); color: var(--c-alerte); font-weight: 600; text-align: center; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--c-vert); color: var(--c-texte); font-style: italic; }

/* Questions fréquentes : sommaire des rubriques */
.entry-content ul.crh-faq-toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 auto 32px; }
.crh-faq-toc li { margin: 0; padding: 0; }
.crh-faq-toc li::before, .crh-faq-toc li::after { content: none !important; display: none !important; }
.crh-faq-toc a { display: inline-block; padding: 6px 14px; border: 1px solid var(--c-ligne); border-radius: 999px; background: #fff; font-family: var(--titres); font-weight: 500; font-size: .9rem; color: var(--c-noir); text-decoration: none; }
.crh-faq-toc a:hover { border-color: var(--c-bleu); color: var(--c-bleu); }
.entry-content h2[id] { scroll-margin-top: 110px; }

/* Accueil solaire : photo dans l'en-tête (au lieu de l'illustration) */
.hp-hero__art--photo img { filter: none; border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 18px 40px rgb(0 0 0 / 22%); }

/* Accueil solaire : exemple illustratif (étapes, profil, résultats) */
.hp-case__grid { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 960px) { .hp-case__grid { grid-template-columns: 340px 1fr; align-items: start; } }
.hp-case__profile { background: var(--c-gris); border-radius: var(--radius); padding: 22px 24px; }
/* Encadré « La situation de départ » : fixe pendant le défilement uniquement sur grand écran, à côté des étapes
   (sur mobile, il est au-dessus des étapes et ne doit pas les recouvrir). */
@media (min-width: 960px) { .hp-case__profile { position: sticky; top: 110px; } }
.hp-case__title { font-family: var(--titres); font-weight: 600; font-size: 1.1rem; color: var(--c-noir); margin: 0 0 12px; }
.hp-case__profile ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; text-align: left; }
.hp-case__steps { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 3px solid var(--c-vert); display: grid; gap: 22px; counter-reset: hpcase; }
.hp-case__steps > li { position: relative; counter-increment: hpcase; }
.hp-case__steps > li::before { content: counter(hpcase); position: absolute; left: -43px; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--c-bleu); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.hp-case__when { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-vert-fonce); margin-bottom: 2px; }
.hp-case__steps strong { display: block; font-family: var(--titres); font-size: 1.05rem; color: var(--c-noir); }
.hp-case__steps p { margin: 4px 0 0; text-align: justify; }
.hp-case__result { margin-top: 36px; background: var(--c-bleu-fonce); color: #fff; border-radius: var(--radius); padding: 28px; }
.hp-case__result .hp-case__title { color: #fff; }
.hp-case__figures { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.hp-case__figures li { background: rgb(255 255 255 / 8%); border-radius: 10px; padding: 14px 16px; }
.hp-case__figures strong { display: block; font-family: var(--titres); font-size: 1.6rem; color: #C9EC6A; line-height: 1.2; }
.hp-case__figures span { font-size: .9rem; }
.hp-case__choice p { margin: 0 0 8px; text-align: justify; }
.hp-case__note { font-size: var(--fs-small); color: var(--c-muted); text-align: justify; margin: 16px 0 0; }
.hp-case__cta { text-align: center; margin: 20px 0 0; }
.hp-case__sub { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.hp-case__sub li { text-align: justify; }
.hp-case__sub li::before { content: none !important; }

/* Accueil solaire : photos de la maison de l'exemple */
.hp-case__gallery { margin: 28px 0 0; display: grid; gap: 12px; }
@media (min-width: 960px) { .hp-case__gallery { grid-template-columns: 2fr 1fr; } }
.hp-case__gallery a { position: relative; display: block; border-radius: 12px; overflow: hidden; }
.hp-case__gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.hp-case__gallery a:hover img { transform: scale(1.03); }
.hp-case__gallery a span { position: absolute; left: 10px; bottom: 10px; background: rgb(0 0 0 / 60%); color: #fff; font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.hp-case__main img { aspect-ratio: 3 / 2; }
.hp-case__thumbs { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 960px) { .hp-case__thumbs { grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); } .hp-case__thumbs img { aspect-ratio: auto; } }
.hp-case__thumbs img { aspect-ratio: 3 / 2; }
.hp-case__gallery figcaption { grid-column: 1 / -1; font-size: var(--fs-small); color: var(--c-muted); text-align: center; }
@media (prefers-reduced-motion: reduce) { .hp-case__gallery img { transition: none; } }
.hp-case__after { margin: 28px auto 0; max-width: 1000px; }
.hp-case__after img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 14px 34px rgb(0 0 0 / 18%); }
.hp-case__after figcaption { font-size: var(--fs-small); color: var(--c-muted); text-align: center; margin-top: 8px; }


/* Accueil : pré-étude sur toute la largeur, comme les autres blocs (choix du projet sur 3 colonnes) */
.hp-section .hp-wrap > .crh-sim, .hp-section .hp-wrap .crh-sim { max-width: none; }
@media (min-width: 960px) { .hp-section .crh-sim .crh-tiles:not(.crh-tiles--compact) { grid-template-columns: repeat(3, 1fr); } }

/* Visionneuse d'images (fenêtre superposée) */
.crh-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgb(10 18 28 / 88%); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.crh-lightbox[hidden] { display: none; }
.crh-lightbox__fig { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.crh-lightbox__fig img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgb(0 0 0 / 45%); }
.crh-lightbox__fig figcaption { color: #fff; font-size: .95rem; margin-top: 12px; text-align: center; }
.crh-lightbox button { position: absolute; background: rgb(255 255 255 / 14%); color: #fff; border: 0; border-radius: 50%; width: 46px; height: 46px; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.crh-lightbox button:hover, .crh-lightbox button:focus-visible { background: rgb(255 255 255 / 28%); outline: 2px solid #C9EC6A; outline-offset: 2px; }
.crh-lightbox__close { top: 12px; right: 12px; }
.crh-lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.crh-lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
.crh-lightbox button[hidden] { display: none; }
html.crh-lightbox-open { overflow: hidden; }
.hp-case__after a { display: block; border-radius: 14px; overflow: hidden; }
a[data-crh-lightbox] { cursor: zoom-in; }
@media (max-width: 600px) { .crh-lightbox { padding: 56px 8px; } .crh-lightbox__nav { top: auto; bottom: 14px; transform: none; } }

/* Accueil solaire : boutons centrés, signaux d'alerte, bloc double zones / professionnels */
.hp-actions-center { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hp-alerts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: hpal; }
@media (min-width: 860px) { .hp-alerts { grid-template-columns: repeat(3, 1fr); } }
.hp-alerts li { counter-increment: hpal; position: relative; margin: 0; background: #fff; border: 1px solid var(--c-ligne); border-top: 4px solid var(--c-alerte); border-radius: var(--radius); padding: 22px 20px 20px; }
.hp-alerts li::before { content: counter(hpal); position: absolute; top: -16px; left: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--c-alerte); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.hp-alerts strong { display: block; font-family: var(--titres); font-size: 1.05rem; color: var(--c-noir); }
.hp-alerts p { margin: 6px 0 0; text-align: justify; color: var(--c-muted); }
.hp-duo { display: grid; gap: 22px; }
@media (min-width: 860px) { .hp-duo { grid-template-columns: 1fr 1fr; } }
.hp-duo__item { background: var(--c-gris); border-radius: var(--radius); padding: 26px; }
.hp-duo__item h2 { margin: 0 0 8px; font-size: 1.5rem; }
.hp-duo__item p { text-align: justify; }
.hp-duo__item .crh-btn { margin: 4px 6px 0 0; }

/* En-têtes de pages (guides, actualités, pages de service) : titre et chapeau sur toute la largeur du contenu (26/10/2026). */
.crh-page-header h1,
.crh-page-header .crh-lead { max-width: none; }
/* Lignes remplies sur toute la largeur (au lieu de lignes « équilibrées » plus courtes), sans mot isolé en fin de titre. */
.crh-page-header h1 { text-wrap: pretty; }

/* Titres des tuiles et libellés des cas : mis en forme sans balise <strong>, réservée aux idées importantes (26/10/2026). */
.crh-usage__body .crh-usage__title { font-family: var(--titres); font-weight: 600; font-size: 1.15rem; color: var(--c-noir); text-align: left; }
.crh-case-card__label { font-weight: 700; color: var(--c-bleu-fonce); }
/* Titres des étapes : alignés à gauche (le texte de l'étape reste justifié). */
.crh-steps strong { text-align: left; hyphens: manual; }

/* Compteur de visites (bas de page, construit par assets/js/site.js) : trois pastilles centrées. */
.crh-visits { display: grid; justify-items: center; gap: 8px; margin: 6px 0 10px; }
.crh-visits[hidden] { display: none; }
.crh-visits__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.crh-visits__item { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 999px; background: rgb(255 255 255 / 5%); }
.crh-visits__ico { flex: none; fill: none; stroke: var(--c-vert); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.crh-visits__txt { display: flex; align-items: baseline; gap: 6px; line-height: 1.2; }
.crh-visits__txt strong { font-family: var(--titres); font-size: 1.25rem; font-weight: 600; color: #fff; }
.crh-visits__txt span, .crh-visits__label { font-size: .8125rem; opacity: .8; }
.crh-visits__chartbox { gap: 12px; }
.crh-visits__chart rect { fill: rgb(155 203 12 / 55%); }
.crh-visits__chart rect.is-today { fill: var(--c-vert); }
.crh-visits__since { margin: 0; font-size: .75rem; opacity: .6; text-align: center; }
/* Compteur Histats (chargé après consentement) : centré sur toute la largeur. */
.crh-histats { display: flex; justify-content: center; width: 100%; min-height: 81px; margin: 6px 0 10px; }
.crh-histats[hidden] { display: none; }
.crh-histats canvas { display: block; max-width: 100%; height: auto; }
