/*
Theme Name: CEH Valorisation CEE
Theme URI: https://valorisation-cee.conseil-habitat-cee.com
Author: Conseil Énergie Habitat
Description: Thème sur mesure, léger et rapide, pour le site Valorisation CEE de Conseil Énergie Habitat (collectivités). Design « Flux d'air ». Sans constructeur ni jQuery, un seul CSS, un seul JS, police Inter hébergée localement. Modèle de page « Accueil », formulaire Forminator, images remplaçables depuis l'édition de la page.
Version: 1.5.1
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ceh-valorisation
*/

/* ==========================================================================
   1. Police locale (Inter variable, sous-ensemble latin, OFL)
   ========================================================================== */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/inter-latin-var.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   2. Jetons de design « Flux d'air »
   ========================================================================== */
:root {
	--ink: #0d2436;          /* titres, fond sombre */
	--text: #2c4152;         /* texte courant (≈ 10:1 sur blanc) */
	--muted: #4a6072;        /* texte secondaire (≥ 5,5:1 sur blanc et ciel) */
	--flux: #0a6680;         /* couleur d'action (≈ 6,3:1 sur blanc) */
	--flux-dark: #084c60;
	--breeze: #7fd3e6;       /* accent sur fond sombre */
	--mint: #2bb3a3;         /* décoratif uniquement */
	--sky: #eaf5f9;          /* fond aéré */
	--sky-2: #d7edf4;
	--white: #fff;
	--line: #c9dde6;
	--radius: 1.25rem;
	--radius-sm: .75rem;
	--shadow: 0 1px 2px rgba(13, 36, 54, .06), 0 12px 32px -12px rgba(13, 36, 54, .18);
	--wrap: 72rem;
	--gutter: clamp(1rem, 4vw, 2rem);
	--space: clamp(3.5rem, 9vw, 6.5rem);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--step--1: clamp(.875rem, .85rem + .1vw, .9375rem);
	--step-0: clamp(1rem, .97rem + .15vw, 1.0625rem);
	--step-1: clamp(1.125rem, 1.06rem + .3vw, 1.3125rem);
	--step-2: clamp(1.375rem, 1.24rem + .65vw, 1.75rem);
	--step-3: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
	--step-4: clamp(2.05rem, 1.6rem + 2.2vw, 3.4rem);
}

/* ==========================================================================
   3. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--step-0);
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	font-feature-settings: "cv11", "ss01";
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; font-weight: 750; text-wrap: balance; }
h1 { font-size: var(--step-4); letter-spacing: -.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
h1, h2, h3, p, li, a { overflow-wrap: break-word; }
.hero__grid > *, .split > *, .cee__grid > *, .contact__grid > *, .site-footer__grid > * { min-width: 0; }
a { color: var(--flux); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--flux-dark); text-decoration-thickness: 2px; }
ul { padding: 0; }
strong { font-weight: 650; color: var(--ink); }
:focus-visible { outline: 3px solid var(--flux); outline-offset: 3px; border-radius: 4px; }
.is-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--breeze); }
::selection { background: var(--sky-2); color: var(--ink); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 1rem; top: 1rem; z-index: 1000; padding: .75rem 1.25rem;
	background: var(--ink); color: var(--white); border-radius: var(--radius-sm); text-decoration: none;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space); position: relative; }
.section--sky { background: var(--sky); }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }
.note { font-size: var(--step--1); color: var(--muted); }
.note--rule { border-left: 3px solid var(--mint); padding: .25rem 0 .25rem 1rem; margin-top: 2rem; }

.eyebrow {
	display: inline-flex; align-items: center; gap: .6rem;
	font-size: .8125rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
	color: var(--flux); margin: 0 0 1rem;
}
.eyebrow::before {
	content: ""; width: 1.75rem; height: 2px; border-radius: 2px;
	background: linear-gradient(90deg, var(--mint), var(--flux));
}

/* ==========================================================================
   4. Boutons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	min-height: 3rem; padding: .8rem 1.35rem;
	font: inherit; font-size: var(--step--1); font-weight: 650; line-height: 1.25; text-align: left;
	color: var(--white); background: var(--flux);
	border: 2px solid var(--flux); border-radius: 999px;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--flux-dark); border-color: var(--flux-dark); color: var(--white); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--ghost { background: var(--white); color: var(--flux); border-color: var(--line); }
.btn--ghost:hover { background: var(--sky); color: var(--flux-dark); border-color: var(--flux); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--sky); border-color: var(--sky); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
	.btn:hover svg.icon-arrow { transform: translateX(3px); }
	.btn svg.icon-arrow { transition: transform .2s; }
}

.link-arrow {
	display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem;
	font-weight: 650; font-size: var(--step--1); color: var(--flux); text-decoration: none;
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .2s; }
.link-arrow:hover { color: var(--flux-dark); text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) { .link-arrow:hover svg { transform: translateX(3px); } }

/* ==========================================================================
   5. Barre de contact + en-tête
   ========================================================================== */
.topbar { display: none; position: relative; z-index: 51; background: var(--ink); color: rgba(255, 255, 255, .85); font-size: .9375rem; line-height: 1.3; }
.topbar__inner { display: flex; align-items: center; min-height: 3rem; }
.topbar__info { list-style: none; margin: 0; display: flex; flex-wrap: wrap; align-items: center; }
.topbar__info li { display: flex; align-items: center; }
.topbar__info li + li { margin-left: 1.25rem; padding-left: 1.25rem; border-left: 1px solid rgba(255, 255, 255, .18); }
.topbar__info a, .topbar__info .contact__line { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; }
.topbar a { color: rgba(255, 255, 255, .92); text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar .is-phone a { font-weight: 750; font-size: 1.02rem; color: var(--white); }
.topbar .icon { width: 1.0625rem; height: 1.0625rem; color: var(--breeze); }
.topbar :focus-visible { outline-color: var(--breeze); }
@media (min-width: 64em) { .topbar { display: block; } }

/* Coordonnées dans le menu mobile (masquées sur grand écran, la barre prend le relais) */
.site-nav__contact { list-style: none; margin: 0 var(--gutter) 1.25rem !important; padding: 1rem !important; display: grid !important; gap: .75rem; border-radius: var(--radius-sm); background: var(--sky); font-size: var(--step--1); }
.site-nav__contact li { display: flex; align-items: center; color: var(--muted); }
.site-nav .site-nav__contact a, .site-nav__contact .contact__line { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: 0; border: 0; color: var(--ink); font-weight: 550; overflow-wrap: anywhere; }
.site-nav .site-nav__contact .is-phone a { font-weight: 750; font-size: var(--step-0); }
.site-nav__contact .icon { width: 1.25rem; height: 1.25rem; color: var(--flux); }
@media (min-width: 64em) { .site-nav__contact { display: none !important; } }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13, 36, 54, .35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; font-weight: 750; letter-spacing: -.01em; line-height: 1.15; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand img { max-height: 2.75rem; width: auto; }
.custom-logo-link { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.custom-logo-link img, img.custom-logo {
	display: block; width: auto !important; height: auto !important;
	max-height: calc(var(--logo-h, 44px) * .85) !important; max-width: min(55vw, 14rem) !important; object-fit: contain;
}
@media (min-width: 64em) { .custom-logo-link img, img.custom-logo { max-height: var(--logo-h, 44px) !important; max-width: 18rem !important; } }
.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.brand__mark { width: 2.25rem; height: 2.25rem; flex: none; }
.brand__text small { display: block; font-size: .75rem; font-weight: 550; color: var(--muted); letter-spacing: 0; }

.nav-toggle {
	display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .5rem .9rem;
	font: inherit; font-size: var(--step--1); font-weight: 650; color: var(--ink);
	background: var(--sky); border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
}
.nav-toggle svg { width: 1.25rem; height: 1.25rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

.site-nav { display: none; position: absolute; inset: 100% 0 auto; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.site-nav.is-open { display: block; }
.no-js .site-nav { display: block; position: static; box-shadow: none; border: 0; }
.no-js .nav-toggle { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: .75rem var(--gutter) 1.25rem; }
.site-nav a { display: block; padding: .8rem 0; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--sky-2); }
.site-nav a:hover { color: var(--flux); }
.site-nav .menu-cta a { margin-top: 1rem; border: 0; text-align: center; color: var(--white); background: var(--flux); border-radius: 999px; }
.site-nav .menu-cta a:hover { background: var(--flux-dark); color: var(--white); }

@media (min-width: 64em) {
	.nav-toggle { display: none; }
	.site-nav, .no-js .site-nav { display: block; position: static; background: none; border: 0; box-shadow: none; }
	.site-nav ul { display: flex; align-items: center; gap: .25rem; padding: 0; }
	.site-nav a { padding: .55rem .8rem; border: 0; border-radius: 999px; font-size: var(--step--1); }
	.site-nav a:hover { background: var(--sky); color: var(--flux-dark); }
	.site-nav .menu-cta a { margin: 0 0 0 .5rem; padding-inline: 1.15rem; }
}

/* ==========================================================================
   6. Décor « flux d'air »
   ========================================================================== */
/* ==========================================================================
   7. Bannière principale
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5rem); background: linear-gradient(180deg, var(--white) 0%, var(--sky) 100%); }
.hero__media--empty { display: none; }
@media (min-width: 64em) { .hero__media--empty { display: block; } }
.hero__grid { position: relative; display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero h1 { max-width: 18ch; }
.hero__text p { max-width: 38rem; }
.hero__text .lead { color: var(--text); }
.hero__ctas { list-style: none; margin: 2rem 0 1rem; display: grid; gap: .75rem; }
.hero__ctas .btn { width: 100%; justify-content: space-between; }
.hero__reassure { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--step--1); font-weight: 600; color: var(--ink); margin: 0; }
.hero__reassure svg { width: 1.25rem; height: 1.25rem; color: var(--mint); flex: none; }
.hero__media { position: relative; }
.hero__media img, .hero__placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2rem 2rem 2rem .5rem; box-shadow: var(--shadow); }
.hero__placeholder { display: grid; place-items: center; background: radial-gradient(120% 90% at 20% 10%, var(--white) 0%, var(--sky-2) 55%, #bfe3ee 100%); }
.hero__placeholder svg { width: 70%; color: var(--flux); }
.hero__media::after {
	content: ""; position: absolute; z-index: -1; inset: auto -1rem -1rem auto; width: 60%; height: 60%;
	border-radius: 2rem; background: linear-gradient(135deg, var(--mint), var(--flux)); opacity: .18;
}
@media (min-width: 40em) {
	.hero__ctas { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 64em) {
	.hero__grid { grid-template-columns: 1.15fr .85fr; }
	.hero__grid--full { grid-template-columns: 1fr; }
	.hero__media img, .hero__placeholder { aspect-ratio: 4 / 5; }
}

/* ==========================================================================
   8. Présentation (texte + image)
   ========================================================================== */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split__media, .cee__media { position: relative; min-width: 0; }
.split__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow); }

/* Carte posée sur l'image */
.media-badge {
	display: flex; align-items: center; gap: .85rem; max-width: calc(100% - 2rem);
	margin: -2.25rem 1rem 0; position: relative; z-index: 1;
	padding: .9rem 1.1rem; background: var(--white); border-radius: var(--radius-sm);
	box-shadow: 0 12px 32px -14px rgba(13, 36, 54, .35); border: 1px solid var(--sky-2);
}
.media-badge .icon { width: 2.5rem; height: 2.5rem; padding: .6rem; border-radius: .8rem .8rem .8rem .25rem; color: var(--white); background: linear-gradient(135deg, var(--flux), var(--flux-dark)); }
.media-badge p { margin: 0; display: flex; flex-direction: column; line-height: 1.35; font-size: var(--step--1); }
.media-badge strong, .is-dark .media-badge strong { color: var(--ink); font-weight: 700; }
.media-badge span { color: var(--muted); }

@media (min-width: 56em) {
	/* Deux colonnes de même hauteur : l'image remplit toute la hauteur du texte. */
	.split { grid-template-columns: 1fr 1fr; align-items: stretch; }
	.split__text { display: flex; flex-direction: column; justify-content: center; }
	.split__text > :last-child { margin-bottom: 0; }
	.split__media { display: flex; min-height: 22rem; }
	.split__media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
	.split--reverse .split__media { order: -1; }
	.split--single { grid-template-columns: minmax(0, 46rem); justify-content: center; }
	.media-badge { position: absolute; left: 1.25rem; bottom: 1.25rem; margin: 0; width: max-content; max-width: min(24rem, calc(100% - 2.5rem)); }
}
.presentation h2 { max-width: 20ch; }
.presentation .split__text p:first-of-type { font-size: var(--step-1); color: var(--ink); line-height: 1.5; }

/* ==========================================================================
   9. Priorités (cartes)
   ========================================================================== */
.cards { list-style: none; margin: 0; display: grid; gap: 1rem; }
.card {
	position: relative; display: flex; flex-direction: column; gap: .25rem;
	padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover, .card:focus-within { border-color: var(--flux); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: no-preference) { .card:hover { transform: translateY(-3px); } }
.card__icon {
	display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem;
	border-radius: 1rem 1rem 1rem .35rem; color: var(--flux);
	background: linear-gradient(135deg, var(--sky) 0%, var(--sky-2) 100%);
}
.card__icon svg { width: 1.5rem; height: 1.5rem; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: var(--step--1); flex: 1; }
.card .link-arrow { margin-top: .25rem; align-self: flex-start; }
@media (min-width: 40em) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72em) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   10. Domaines d'intervention
   ========================================================================== */
.domains { list-style: none; margin: 0; display: grid; gap: .75rem; }
.domain {
	display: flex; align-items: center; gap: .9rem; min-height: 4.25rem;
	padding: .85rem 1.1rem; background: var(--white); border-radius: var(--radius-sm);
	border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: var(--step--1); line-height: 1.35;
}
.domain svg { width: 1.6rem; height: 1.6rem; flex: none; color: var(--flux); }
.domain--key { background: var(--ink); border-color: var(--ink); color: var(--white); }
.domain--key svg { color: var(--breeze); }
@media (min-width: 36em) { .domains { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 56em) { .domains { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 72em) { .domains { grid-template-columns: repeat(5, 1fr); } .domain { flex-direction: column; align-items: flex-start; min-height: 8.5rem; padding: 1.25rem; } }

/* ==========================================================================
   11. Pôle Valorisation CEE (fond sombre)
   ========================================================================== */
.is-dark { background: var(--ink); color: #d5e3eb; }
.is-dark h2, .is-dark h3, .is-dark strong { color: var(--white); }
.is-dark .eyebrow { color: var(--breeze); }
.is-dark .lead, .is-dark .note { color: #c3d4de; }
.is-dark .note--rule { border-color: var(--breeze); }
.is-dark a:not(.btn) { color: var(--breeze); }
.cee { overflow: hidden; }
.cee__grid { position: relative; display: grid; gap: clamp(2rem, 5vw, 4rem); }
.cee__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.cee .media-badge { border-color: transparent; }
.steps { list-style: none; margin: 0; display: grid; gap: 1rem; counter-reset: none; }
.step {
	position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem 1.1rem;
	padding: 1.35rem; border-radius: var(--radius); background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(127, 211, 230, .25);
}
.step__num {
	grid-row: span 2; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
	font-weight: 750; font-size: var(--step-0); color: var(--ink);
	background: linear-gradient(135deg, var(--breeze), #b9ecf5); font-variant-numeric: tabular-nums;
}
.step h3 { margin: .35rem 0 .2rem; }
.step p { margin: 0; color: #c3d4de; font-size: var(--step--1); }
@media (min-width: 56em) {
	.cee__grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
	.cee__media { min-height: 22rem; }
	.cee__media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
	.cee__grid--single { grid-template-columns: 1fr; }
	.cee__grid--single .steps { grid-template-columns: repeat(3, 1fr); }
	.cee__grid--single .step { grid-template-columns: 1fr; }
	.cee__grid--single .step__num { grid-row: auto; margin-bottom: .5rem; }
}

/* ==========================================================================
   12. Pôle Étanchéité
   ========================================================================== */
.checklist { list-style: none; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); font-weight: 550; }
.checklist svg { width: 1.35rem; height: 1.35rem; flex: none; margin-top: .15rem; padding: .2rem; border-radius: 50%; color: var(--white); background: var(--flux); }
@media (min-width: 40em) { .checklist { grid-template-columns: 1fr 1fr; gap: .75rem 1.5rem; } }
.etancheite h3 { margin-top: 1.5rem; }
.etancheite .note--rule { margin-bottom: 2rem; }

/* ==========================================================================
   13. Ils nous font confiance (habillage CEH Carrousel Confiance)
   ========================================================================== */
.confiance { padding-block: clamp(2.5rem, 6vw, 4rem); border-block: 1px solid var(--sky-2); }
.confiance h2 { font-size: var(--step-2); text-align: center; margin-bottom: 1.75rem; }
.confiance__track { overflow: hidden; }
.confiance__track ul { list-style: none; margin: 0; padding: 0; }
.confiance__track img { max-height: 4rem; width: auto; margin-inline: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.confiance__track a:hover img, .confiance__track a:focus-visible img, .confiance__track img:hover { filter: none; opacity: 1; }
.confiance__track button { font: inherit; min-width: 2.75rem; min-height: 2.75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.confiance__track button:hover { border-color: var(--flux); color: var(--flux); }
.confiance__track [aria-current="true"], .confiance__track .is-active { border-color: var(--flux); background: var(--flux); color: var(--white); }

/* ==========================================================================
   14. Orientation vers le bon interlocuteur
   ========================================================================== */
.services { list-style: none; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.services li {
	display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1rem .6rem .75rem;
	background: var(--white); border: 1px solid var(--line); border-radius: 999px;
	font-size: var(--step--1); font-weight: 600; color: var(--ink);
}
.services svg { width: 1.15rem; height: 1.15rem; color: var(--flux); flex: none; }
.orientation .split__text { max-width: 44rem; }

/* ==========================================================================
   15. Contact / Forminator
   ========================================================================== */
.contact { background: linear-gradient(180deg, var(--sky) 0%, var(--white) 70%); }
.contact__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.contact__intro { max-width: 34rem; }
#contact select, #contact input, #contact textarea { max-width: 100%; }
.contact__list { list-style: none; margin: 1.75rem 0 0; display: grid; gap: 1rem; }
.contact__list li { display: flex; gap: .9rem; align-items: center; }
.contact__list .icon { width: 2.75rem; height: 2.75rem; padding: .7rem; border-radius: .9rem .9rem .9rem .3rem; background: var(--white); color: var(--flux); box-shadow: 0 1px 2px rgba(13, 36, 54, .08); }
.contact__item { display: flex; flex-direction: column; min-width: 0; }
.contact__label { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.contact__list a, .contact__item > span:last-child { font-size: var(--step-0); font-weight: 700; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--flux); text-decoration: underline; }
.contact__panel { min-width: 0; padding: clamp(1.25rem, 4vw, 2.5rem); background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact__notice { padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: #fff6e0; border: 1px solid #e9c46a; color: #4a3a0c; font-size: var(--step--1); }
.contact__notice code { font-size: .9em; }
.contact .note { margin: 1.25rem 0 0; }
.contact__live { min-height: 1.5em; margin: 0 0 1rem; font-size: var(--step--1); font-weight: 600; color: var(--flux-dark); }
.contact__live:empty { display: none; }
@media (min-width: 64em) {
	.contact__grid { grid-template-columns: .75fr 1.25fr; align-items: start; }
	.contact__intro { position: sticky; top: 6rem; }
}

/* Habillage Forminator (léger, sans dépendre d'un style précis) */
#contact .forminator-ui.forminator-custom-form { margin: 0 !important; font-family: var(--font) !important; }
#contact .forminator-ui .forminator-label,
#contact .forminator-ui .forminator-label * { font-family: var(--font) !important; font-size: var(--step--1) !important; font-weight: 650 !important; color: var(--ink) !important; }
#contact .forminator-ui .forminator-required { color: #b3261e !important; }
#contact .forminator-ui .forminator-description { font-size: .8125rem !important; color: var(--muted) !important; }
#contact .forminator-ui input.forminator-input,
#contact .forminator-ui textarea.forminator-textarea,
#contact .forminator-ui select,
#contact .forminator-ui .select2-selection {
	font-family: var(--font) !important; font-size: var(--step-0) !important; color: var(--ink) !important;
	border: 1px solid #8fa7b5 !important; border-radius: var(--radius-sm) !important; background-color: var(--white) !important;
}
/* Hauteur minimale pour les champs d'une ligne uniquement : la zone de texte garde la hauteur par défaut de Forminator. */
#contact .forminator-ui input.forminator-input,
#contact .forminator-ui select,
#contact .forminator-ui .select2-selection { min-height: 3rem; }
#contact .forminator-ui input.forminator-input:focus,
#contact .forminator-ui textarea.forminator-textarea:focus,
#contact .forminator-ui select:focus { border-color: var(--flux) !important; box-shadow: 0 0 0 3px rgba(10, 102, 128, .25) !important; outline: none; }
#contact .forminator-ui .forminator-checkbox__label, #contact .forminator-ui .forminator-checkbox span { color: var(--text) !important; font-size: var(--step--1) !important; }
#contact .forminator-ui .forminator-button-submit {
	font-family: var(--font) !important; font-weight: 650 !important; font-size: var(--step-0) !important;
	min-height: 3.25rem; padding: .85rem 1.75rem !important; border-radius: 999px !important;
	background: var(--flux) !important; color: var(--white) !important; border: 0 !important; box-shadow: none !important;
}
#contact .forminator-ui .forminator-button-submit:hover { background: var(--flux-dark) !important; }
#contact .forminator-ui .forminator-error-message { color: #b3261e !important; background: #fdecea !important; }
#contact .forminator-ui .forminator-response-message.forminator-success { background: #e6f5f1 !important; color: #0d4d40 !important; border-radius: var(--radius-sm); }
#contact .forminator-ui .forminator-field.is-preselected select,
#contact .forminator-ui .forminator-field.is-preselected .select2-selection { border-color: var(--flux) !important; box-shadow: 0 0 0 3px rgba(10, 102, 128, .2) !important; }

/* ==========================================================================
   16. Pied de page
   ========================================================================== */
.site-footer { background: var(--ink); color: #b7c9d4; padding: clamp(3rem, 7vw, 4.5rem) 0 1.5rem; font-size: .9375rem; }
.site-footer__grid { display: grid; gap: 2.25rem; }
.site-footer__logo { height: 54px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1.25rem; }
.site-footer__company { margin: 0 0 1rem; color: #e3edf2; line-height: 1.5; }
.site-footer__company strong { color: var(--white); letter-spacing: .02em; }
.site-footer__disclaimer { margin: 0; max-width: 46ch; font-size: .875rem; color: #a9bfcc; }
.site-footer__title { margin: 0 0 1rem; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.site-footer address { font-style: normal; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.site-footer__list li { display: flex; gap: .6rem; align-items: flex-start; }
.site-footer__list .icon { width: 1.125rem; height: 1.125rem; margin-top: .2em; color: var(--breeze); }
.site-footer__list a { display: inline-flex; gap: .6rem; align-items: flex-start; }
.site-footer a { color: #e3edf2; text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__social { display: flex; gap: .6rem; margin: 1.25rem 0 0; }
.site-footer__social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .75rem; border: 1px solid rgba(255, 255, 255, .15); }
.site-footer__social a:hover { border-color: var(--breeze); }
.site-footer__social .icon { width: 1.25rem; height: 1.25rem; }
.site-footer__bar { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; align-items: center; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; }
.site-footer__bar p { margin: 0; }
.site-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; }
.site-footer__links a, .site-footer .link-btn { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-footer .link-btn { padding: 0; font: inherit; color: #e3edf2; background: none; border: 0; cursor: pointer; }
.site-footer .link-btn:hover { color: var(--white); text-decoration: underline; }
@media (min-width: 50em) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }

/* ==========================================================================
   17. Pages simples (mentions légales, confidentialité…)
   ========================================================================== */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem); background: var(--sky); }
.page-hero h1 { font-size: var(--step-3); margin: 0; }
.prose { max-width: 46rem; margin-inline: auto; padding-block: clamp(2rem, 5vw, 3.5rem) var(--space); }
.prose h2 { font-size: var(--step-2); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--line); padding: .5rem .75rem; text-align: left; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: var(--step--1); color: var(--muted); }

/* ==========================================================================
   18. Mouvement réduit et impression
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
	.topbar, .site-header, .hero__ctas, .contact__panel { display: none !important; }
	body { color: #000; }
}
