/* Couleurs générées depuis client.config.js */
:root{--c-ink:#0F2A3D;--c-primary:#1F5E86;--c-accent:#B3501A;--c-bg:#F6F3EE;--c-muted:#5A6470;--c-flame:#F2A15B}
/* =====================================================================
   FEUILLE DE STYLE
   Les couleurs viennent de client.config.js (variables --c-… ci-dessus).
   ===================================================================== */

/* ---------- Police (hébergée sur le site : aucun appel à Google) ---------- */
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-v1.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Police de secours aux dimensions proches, pour éviter que la page "saute" */
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial");
  size-adjust: 104%;
  ascent-override: 102%;
  descent-override: 29%;
  line-gap-override: 0%;
}

/* ---------- Réglages de base ---------- */
:root {
  --font: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --white: #ffffff;
  --tint: color-mix(in srgb, var(--c-primary) 9%, white);
  --line: color-mix(in srgb, var(--c-ink) 10%, transparent);
  --field-border: color-mix(in srgb, var(--c-muted) 75%, white);
  --danger: #b42318;
  --success: #1e6b43;
  --on-dark: #d5dee5;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius: 16px;
  --shadow-sm: 0 1px 2px color-mix(in srgb, var(--c-ink) 6%, transparent), 0 6px 20px color-mix(in srgb, var(--c-ink) 6%, transparent);
  --shadow-lg: 0 30px 60px -24px color-mix(in srgb, var(--c-ink) 30%, transparent);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-btn: 0 1px 2px color-mix(in srgb, var(--c-ink) 14%, transparent), 0 6px 14px -6px color-mix(in srgb, var(--c-ink) 30%, transparent);
  --header-h: 72px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.5rem + 4vw, 4.6rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 3rem); letter-spacing: -0.028em; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.3; font-weight: 750; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
a { color: var(--c-primary); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--c-ink); }
strong { font-weight: 750; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: 12px; left: 12px; z-index: 100;
  padding: 12px 20px; border-radius: 12px;
  background: var(--c-ink); color: var(--white); font-weight: 700; text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: var(--white); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Mise en page ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.container--narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--c-bg); }
.section--flush-top { padding-top: 0; }
.small { font-size: .9375rem; color: var(--c-muted); }
.small .icon { display: inline; vertical-align: -.2em; color: var(--c-primary); margin-right: 4px; }
.lead { font-size: clamp(1.125rem, 1rem + .45vw, 1.35rem); line-height: 1.55; color: var(--c-muted); max-width: 40em; }
.lead-sm { font-size: 1.125rem; color: var(--c-muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px; font-size: .95rem; font-weight: 750; letter-spacing: .01em; color: var(--c-primary);
}
.section-head { margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.section-head h2 { margin-bottom: 18px; }
.section-head .lead { margin: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.split { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-size: 1rem; font-weight: 750; line-height: 1.2; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  /* Règles d'Emil : propriétés précises, ease-out marqué, retour immédiat à la pression */
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 20px; height: 20px; }
.btn .icon--arrow { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.0625rem; }
.btn--accent { background: var(--c-accent); color: var(--white); box-shadow: var(--shadow-btn); }
.btn--primary { background: var(--c-primary); color: var(--white); }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: color-mix(in srgb, var(--c-ink) 22%, transparent); }
.btn--light { background: var(--white); color: var(--c-ink); border-color: var(--line); }
/* Survol réservé à la souris (sur écran tactile, il resterait « coincé ») */
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: color-mix(in srgb, var(--c-accent) 86%, black); color: var(--white); }
  .btn--primary:hover { background: var(--c-ink); color: var(--white); }
  .btn--ghost:hover { border-color: var(--c-ink); color: var(--c-ink); }
  .btn--light:hover { background: var(--c-bg); color: var(--c-ink); }
  .btn:hover .icon--arrow, .link-arrow:hover .icon { transform: translateX(4px); }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.actions--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 750; text-decoration: none; }
.link-arrow .icon { transition: transform 200ms var(--ease-out); }

/* ---------- Bandeau démo ---------- */
.demo-banner { background: var(--c-ink); color: var(--white); font-size: .8125rem; line-height: 1.4; }
.demo-banner .container { display: flex; align-items: center; justify-content: center; gap: 8px; padding-block: 8px; text-align: center; }
.demo-banner .icon { width: 16px; height: 16px; }
.demo-banner strong { font-weight: 750; }
.demo-banner p { margin: 0; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--c-bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--c-ink); text-decoration: none; }
.brand:hover { color: var(--c-ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; }
.brand__tag { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.nav a:not(.btn) { color: var(--c-ink); text-decoration: none; font-weight: 650; font-size: .975rem; padding-block: 6px; }
.nav a:not(.btn):hover { color: var(--c-primary); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--c-accent); }
.menu-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  font: inherit; font-weight: 750; color: var(--c-ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer;
}
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

@media (max-width: 1099px) {
  html:not(.js) .header__inner { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .nav { width: 100%; flex-wrap: wrap; gap: 12px; }
  .js .menu-toggle { display: inline-flex; }
  .js .nav {
    display: none; position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 8px clamp(20px, 5vw, 40px) 28px;
    background: var(--c-bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .js .nav.is-open { display: flex; }
  .js .nav ul { flex-direction: column; gap: 0; }
  .js .nav a:not(.btn) { display: block; padding: 14px 2px; font-size: 1.25rem; font-weight: 750; border-bottom: 1px solid var(--line); }
  .js .nav a[aria-current="page"] { box-shadow: none; color: var(--c-primary); }
  .js .nav .btn { min-height: 54px; }
}

/* ---------- Photos ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--hero { aspect-ratio: 4 / 3; }
.photo--service { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
.photo--portrait { aspect-ratio: 4 / 5; }
@media (min-width: 1000px) { .photo--hero { aspect-ratio: 4 / 5; } }
.photo--vide {
  display: grid; place-content: center; justify-items: center; gap: 10px;
  color: var(--c-primary); font-weight: 750; font-size: .95rem;
  background:
    radial-gradient(circle at 20% 15%, color-mix(in srgb, var(--c-flame) 30%, transparent), transparent 55%),
    linear-gradient(160deg, color-mix(in srgb, var(--c-primary) 14%, white), color-mix(in srgb, var(--c-primary) 26%, white));
}
.photo--vide .icon { width: 40px; height: 40px; }

/* ---------- Accueil : grand bandeau ---------- */
.hero { background: var(--c-bg); padding-block: clamp(36px, 6vw, 88px) clamp(48px, 6vw, 80px); overflow: hidden; }
.hero__inner { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 1000px) { .hero__inner { grid-template-columns: 1.4fr .6fr; } }
.hero h1 { margin-bottom: 22px; font-size: clamp(2.2rem, 1.2rem + 2.4vw, 3.25rem); }
.hero .lead { margin-bottom: 0; }
.hero__media { position: relative; }
.hero__card {
  position: absolute; left: clamp(-8px, -2vw, -24px); bottom: 28px;
  display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px;
  background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg);
  font-size: .875rem; color: var(--c-muted); line-height: 1.3;
}
.hero__card strong { display: block; font-size: 1.25rem; color: var(--c-ink); font-weight: 800; }
.hero__card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--c-accent) 12%, white); color: var(--c-accent); }
@media (max-width: 999px) { .hero__card { left: 16px; bottom: 16px; } }
/* Bande d'arguments, sortie du premier écran (il reste centré sur le message et l'appel) */
.trust-band { padding-block: 28px; border-bottom: 1px solid var(--line); }
.trust {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px;
}
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust li { display: flex; align-items: center; gap: 12px; font-weight: 650; font-size: .975rem; line-height: 1.35; }
.trust .icon { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--white); color: var(--c-primary); box-shadow: var(--shadow-sm); }

/* ---------- Bloc "fuite en ce moment" ---------- */
.section--urgence { padding-block: clamp(40px, 6vw, 72px) 0; }
.urgence {
  display: grid; gap: 24px; align-items: center;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-xl);
  background: var(--c-ink); color: var(--white);
}
@media (min-width: 900px) { .urgence { grid-template-columns: auto 1fr auto; gap: 36px; } }
.urgence__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: color-mix(in srgb, var(--c-primary) 60%, var(--c-ink)); }
.urgence__icon .icon { width: 32px; height: 32px; }
.urgence h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 12px; }
.urgence__steps { counter-reset: u; list-style: none; display: grid; gap: 6px; color: var(--on-dark); }
.urgence__steps li { counter-increment: u; display: flex; gap: 10px; }
.urgence__steps li::before { content: counter(u); flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: color-mix(in srgb, var(--white) 14%, transparent); color: var(--white); font-size: .8rem; font-weight: 800; }
.urgence :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .contact-card--call :focus-visible { outline-color: var(--white); }

/* ---------- Cartes ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.section--tint .card { border-color: transparent; box-shadow: var(--shadow-sm); }
.card p { color: var(--c-muted); margin: 0; }
.card__title { margin: 18px 0 10px; }
.card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--tint); color: var(--c-primary); }
.card__icon .icon { width: 28px; height: 28px; }
.card--urgent .card__icon { background: color-mix(in srgb, var(--c-accent) 12%, white); color: var(--c-accent); }
.card__check { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--c-primary); }
.card__check .icon { width: 20px; height: 20px; }
.card__link { color: var(--c-ink); text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 3px solid var(--c-primary); outline-offset: 3px; }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 22px; font-weight: 750; color: var(--c-primary); }
.card__more .icon { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .card--service:hover { border-color: color-mix(in srgb, var(--c-primary) 30%, transparent); box-shadow: var(--shadow-lg); }
  .card--service:hover .card__more .icon { transform: translateX(4px); }
}
.card--service:active { transform: scale(0.99); transition: transform 160ms var(--ease-out); }
.cards--prestations .card__title { margin-top: 16px; }

/* ---------- Engagements ---------- */
.features { display: grid; gap: 26px; margin-bottom: 20px; }
.features li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.features .icon { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--white); color: var(--c-primary); box-shadow: var(--shadow-sm); }
.features h3 { margin-bottom: 4px; }
.features p { margin: 0; color: var(--c-muted); }

/* ---------- Chiffres ---------- */
.stats { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); text-align: center; }
.stats li { display: flex; flex-direction: column; gap: 6px; padding-inline: 12px; }
.stats strong { font-size: clamp(2.6rem, 1.8rem + 3vw, 4.25rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--c-primary); white-space: nowrap; }
.stats span { color: var(--c-muted); max-width: 16em; margin-inline: auto; }
.stats--compact { margin-top: 32px; text-align: left; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stats--compact li { padding: 0; }
.stats--compact strong { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); }
.stats--compact span { margin: 0; font-size: .9375rem; }

/* ---------- Étapes ---------- */
/* Étapes : une ligne en 3 temps, sans cartes (évite de répéter la même grille de cartes) */
.steps { list-style: none; display: grid; gap: 36px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.step { padding-top: 24px; border-top: 2px solid var(--c-ink); }
.step__num { display: block; margin-bottom: 14px; font-size: 2.75rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--c-accent); }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--c-muted); max-width: 30em; }
.section-head--center + .steps .step { text-align: left; }

/* ---------- Avis ---------- */
.card--review figure { margin: 0; display: flex; flex-direction: column; height: 100%; }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 2px; color: #a86f00; }
.stars .icon { width: 20px; height: 20px; }
.stars .on .icon { fill: currentColor; }
.card--review blockquote { margin: 18px 0 22px; }
.card--review blockquote p { margin: 0; font-size: 1.125rem; line-height: 1.55; color: var(--c-ink); }
.card--review figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .9375rem; }
.card--review figcaption span { color: var(--c-muted); }
.card--review .review__dates { margin-top: 6px; font-size: .8125rem; }
.reviews__info { margin: 28px 0 0; max-width: 60em; }
.badge-demo {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 750; letter-spacing: .01em; line-height: 1.4; white-space: nowrap;
  color: var(--c-ink); background: color-mix(in srgb, var(--c-accent) 14%, white);
  border: 1px solid color-mix(in srgb, var(--c-accent) 40%, white);
}

/* ---------- Zone d'intervention ---------- */
.zone { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 1000px) { .zone { grid-template-columns: 1.05fr .95fr; } }
.zone .section-head { margin-bottom: 28px; }
.communes { display: grid; gap: 0; margin-bottom: 24px; }
.communes li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.communes .icon { width: 18px; height: 18px; color: var(--c-primary); }
.communes__nom { font-weight: 650; }
.communes__delai { margin-left: auto; font-size: .875rem; color: var(--c-muted); white-space: nowrap; }
.communes .is-base .communes__nom { font-weight: 800; }
.communes .is-base .icon { color: var(--c-accent); }
.zone__map { padding: clamp(16px, 3vw, 32px); border-radius: var(--radius-xl); background: var(--white); box-shadow: var(--shadow-sm); }
.carte { width: 100%; height: auto; max-height: 620px; margin-inline: auto; font-family: var(--font); }
.carte__zone { fill: color-mix(in srgb, var(--c-primary) 7%, white); }
.carte__anneau { fill: none; stroke: color-mix(in srgb, var(--c-primary) 40%, white); stroke-width: 1.5; stroke-dasharray: 4 6; }
.carte__distance { font-size: 13px; font-weight: 700; fill: var(--c-muted); }
.carte__lac { fill: color-mix(in srgb, var(--c-primary) 20%, white); stroke: color-mix(in srgb, var(--c-primary) 40%, white); stroke-width: 1.5; stroke-linejoin: round; }
.carte__lac-nom { font-size: 13px; font-weight: 700; font-style: italic; letter-spacing: .1em; fill: var(--c-primary); }
.carte__point { fill: var(--c-primary); stroke: var(--white); stroke-width: 2; }
.carte__base { fill: var(--c-accent); stroke: var(--white); stroke-width: 2.5; }
.carte__halo { fill: var(--c-accent); opacity: .2; }
.carte__nom { font-size: 15px; font-weight: 650; fill: var(--c-ink); paint-order: stroke; stroke: var(--white); stroke-width: 5px; stroke-linejoin: round; }
.carte__nom--base { font-size: 19px; font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-size: 1.125rem; font-weight: 750; line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--c-primary); }
.faq__chevron { width: 22px; height: 22px; color: var(--c-primary); transition: transform 200ms var(--ease-out); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__answer { padding: 0 4px 22px; }
.faq__answer p { margin: 0; color: var(--c-muted); max-width: 44em; }

/* ---------- Appel à l'action final ---------- */
.cta-band {
  display: grid; gap: 28px; align-items: center;
  padding: clamp(32px, 6vw, 72px); border-radius: var(--radius-xl); color: var(--white);
  background:
    radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--c-primary) 75%, transparent), transparent 60%),
    var(--c-ink);
}
@media (min-width: 1000px) { .cta-band { grid-template-columns: 1fr auto; gap: 56px; } }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { margin: 0; color: var(--on-dark); font-size: 1.125rem; max-width: 36em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1000px) { .cta-band__actions { flex-direction: column; } }

/* ---------- En-têtes des pages intérieures ---------- */
.page-hero { padding-block: clamp(28px, 5vw, 64px) clamp(40px, 5vw, 64px); }
.page-hero h1 { max-width: 17em; margin-bottom: 20px; }
.page-hero--center { padding-block: clamp(64px, 10vw, 128px) clamp(40px, 6vw, 72px); }
.page-hero--center h1 { margin-inline: auto; }
.page-hero--center .lead { margin-inline: auto; }
.breadcrumb { margin-bottom: clamp(24px, 4vw, 40px); font-size: .875rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb li + li::before { content: "/"; margin-inline: 10px; color: var(--c-muted); }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-primary); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--c-ink); font-weight: 650; }
.service-hero { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .service-hero { grid-template-columns: 1.1fr .9fr; } }
.service-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.9rem); }
.service-hero .actions { margin-top: 28px; }

/* ---------- Tarifs ---------- */
.price-card { padding: 12px clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.price-card__note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 4px; font-size: .875rem; color: var(--c-muted); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th { padding: 16px 0 10px; font-size: .8125rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; color: var(--c-muted); text-align: left; }
.price-table thead th:last-child { text-align: right; }
.price-table tbody th, .price-table td { padding: 18px 0; border-top: 1px solid var(--line); vertical-align: top; }
.price-table tbody th { text-align: left; font-weight: 550; padding-right: 20px; }
.price-table td { text-align: right; font-weight: 800; white-space: nowrap; }

/* ---------- À propos ---------- */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 24px; }
.pills li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; }
.pills .icon { color: var(--c-primary); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .contact { grid-template-columns: 1.45fr 1fr; gap: 40px; } }
.form { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 8px; }
.form__grid { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 6px; font-weight: 750; font-size: .975rem; }
.field__hint { margin: -2px 0 8px; font-size: .875rem; color: var(--c-muted); }
.req { color: var(--danger); }
.opt { font-weight: 500; color: var(--c-muted); font-size: .875rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px;
  font: inherit; font-size: 1rem; color: var(--c-ink); background: var(--white);
  border: 1.5px solid var(--field-border); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--c-ink) 50%), linear-gradient(135deg, var(--c-ink) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--c-ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 1px; border-color: var(--c-primary); border-radius: 14px; }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.field__error { display: flex; gap: 6px; margin: 8px 0 0; font-size: .9rem; font-weight: 650; color: var(--danger); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__demo, .form__urgent, .notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 18px; margin: 16px 0 22px; border-radius: 14px;
  background: var(--tint); font-size: .9375rem; line-height: 1.5;
}
.notice { display: block; }
.form__demo .icon, .form__urgent .icon { color: var(--c-primary); margin-top: 1px; }
.form__urgent { background: color-mix(in srgb, var(--c-accent) 9%, white); margin-top: 4px; }
.form__urgent a { font-weight: 800; color: var(--c-ink); white-space: nowrap; }
.form .btn[type="submit"] { width: 100%; }
@media (min-width: 640px) { .form .btn[type="submit"] { width: auto; } }
.form__status:not(:empty) { margin-top: 20px; padding: 16px 18px; border-radius: 14px; font-weight: 650; }
.form__status.is-success { background: #e7f4ec; color: var(--success); }
.form__status.is-error { background: #fdecea; color: #8a1c12; }
.form__rgpd { margin: 22px 0 0; font-size: .8125rem; line-height: 1.55; color: var(--c-muted); }
.contact__side { display: grid; gap: 16px; }
.contact-card { padding: 28px; border-radius: var(--radius-lg); background: var(--c-bg); }
.contact-card h2 { font-size: 1.05rem; margin-bottom: 12px; letter-spacing: 0; }
.contact-card h2:not(:first-child) { margin-top: 24px; }
.contact-card p { margin: 0; color: var(--c-muted); }
.contact-card--call { background: var(--c-ink); color: var(--white); }
.contact-card--call p { color: var(--on-dark); }
.contact-card__tel { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); font-weight: 800; letter-spacing: -0.02em; color: var(--white); text-decoration: none; }
.contact-card__tel:hover { color: var(--white); text-decoration: underline; }
.contact-card__tel .icon { width: 28px; height: 28px; color: var(--c-flame); }
.hours { margin: 0; display: grid; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.hours div:last-child { border-bottom: 0; }
.hours dt { font-weight: 650; }
.hours dd { margin: 0; color: var(--c-muted); text-align: right; }
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--c-primary); margin-top: 3px; }
.big-check { display: inline-grid; place-items: center; width: 80px; height: 80px; margin-bottom: 28px; border-radius: 50%; background: var(--tint); color: var(--c-primary); }
.big-check .icon { width: 40px; height: 40px; }

/* ---------- Pages légales ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.45rem; letter-spacing: -0.015em; margin: 2.2em 0 .7em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .45em; }
.prose p, .prose li { color: color-mix(in srgb, var(--c-ink) 88%, var(--c-muted)); }
.placeholder { padding: 0 .3em; border-radius: 5px; background: #fff1c2; color: var(--c-ink); font-weight: 650; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--c-ink); color: var(--on-dark); font-size: .9375rem; padding-top: clamp(56px, 7vw, 88px); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; } }
.site-footer h2 { font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col p { margin: 0 0 10px; }
.brand--footer, .brand--footer:hover { color: var(--white); text-decoration: none; margin-bottom: 18px; }
.brand--footer .brand__tag { color: var(--on-dark); }
.footer__brand p { max-width: 30em; }
.footer__demo { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--white) 7%, transparent); font-size: .8125rem; line-height: 1.5; }
.footer__demo .icon { width: 18px; height: 18px; margin-top: 1px; }
.footer__tel { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; }
.footer__tel .icon { color: var(--c-flame); }
.site-footer .hours div { border-color: color-mix(in srgb, var(--white) 14%, transparent); }
.site-footer .hours dt { color: var(--white); }
.site-footer .hours dd { color: var(--on-dark); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-block: 24px; border-top: 1px solid color-mix(in srgb, var(--white) 14%, transparent); font-size: .875rem; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
/* Lien placé dans une phrase (« Site réalisé par … ») : souligné pour le distinguer du texte */
.footer__bottom li a[href^="http"] { text-decoration: underline; text-underline-offset: .2em; }
/* Écrans ultra-étroits : les boutons peuvent passer sur deux lignes plutôt que déborder */
@media (max-width: 359px) {
  .btn, .callbar .btn.btn { white-space: normal; text-align: center; }
  .callbar .btn.btn { font-size: .875rem; line-height: 1.15; padding-inline: 8px; gap: 6px; }
}

/* ---------- Barre d'appel mobile ---------- */
.callbar { display: none; }
@media (max-width: 1099px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .callbar {
    position: fixed; inset: auto 0 0 0; z-index: 45;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px clamp(12px, 4vw, 40px) calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--white) 88%, transparent);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border-top: 1px solid var(--line);
  }
  .callbar .btn { min-height: 54px; padding-inline: 12px; white-space: nowrap; }
}

/* ---------- Écrans très bas (téléphone, ou pliable fermé, tenu à l'horizontale) ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  .site-header { position: relative; }
}
@media (max-height: 520px) and (orientation: landscape) and (max-width: 1099px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .callbar { padding-block: 6px calc(6px + env(safe-area-inset-bottom)); }
  .callbar .btn { min-height: 44px; }
  .js .nav { max-height: none; }
}
/* ---------- Écrans ultra-étroits (premiers pliables fermés) ---------- */
@media (max-width: 340px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 1.25rem; }
}

/* Transparence désactivée par l'utilisateur : fonds pleins */
@media (prefers-reduced-transparency: reduce) {
  .site-header, .callbar { background: var(--c-bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Apparition au défilement (blocs secondaires seulement) ----------
   Règles d'Emil : mouvement court (12 px), courbe ease-out marquée, léger décalage
   entre les éléments. Titres, services, tarifs et appels à l'action restent toujours
   visibles. Pas d'animation au chargement : le premier écran s'affiche instantanément.
   Désactivé si l'appareil demande de réduire les animations. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal var(--ease-out) both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
    .reveal:nth-child(2) { animation-range: entry 6% entry 36%; }
    .reveal:nth-child(3) { animation-range: entry 12% entry 42%; }
    .reveal:nth-child(4) { animation-range: entry 18% entry 48%; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Impression ---------- */
@media print {
  .site-header, .callbar, .demo-banner, .cta-band__actions, .skip-link { display: none !important; }
  body { padding: 0; }
  .section { padding-block: 24px; }
  .reveal { animation: none !important; }
}
