/* ==========================================================================
   AF Assainissement — design system
   Concept : « surface / sous-sol ». La page passe de la rue (clair) au réseau
   enterré (encre). Typo unique Archivo, l'axe de largeur porte la hiérarchie.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-wdth.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;
}

:root {
  /* Couleurs */
  --ink: #10303a;        /* encre / sous-sol */
  --ink-2: #1b4450;      /* encre claire */
  --ink-3: #2a5a67;
  --water: #23716b;      /* liens, eau claire (AA sur blanc) */
  --water-soft: #9cc9c3; /* tracés sur fond encre */
  --sky: #1aa9e0;        /* bleu ciel des véhicules AF (adhésifs) : décor uniquement, jamais pour du texte */
  --sky-logo: #6badd7;   /* bleu du logo */
  --sky-deep: #0b7fb0;   /* variante foncée : icônes */
  --sky-soft: #e4f4fb;
  --signal: #f3c318;     /* jaune signalisation : uniquement l'appel */
  --signal-hover: #ffd23d;
  --paper: #ffffff;
  --mist: #edf3f2;       /* surface claire alternée */
  --line: #cfdcda;
  --text: #15262b;
  --muted: #536569;
  --error: #b3261e;
  --ok: #1d6b45;

  /* Typo */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 116%;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.375rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.9vw, 1.85rem);
  --step-3: clamp(1.8rem, 1.45rem + 1.6vw, 2.6rem);
  --step-4: clamp(2.15rem, 1.6rem + 2.7vw, 3.6rem);

  /* Espace */
  --gutter: 20px;
  --max: 1200px;
  --measure: 68ch;
  --radius-s: 4px;
  --radius-m: 10px;
  --section: clamp(56px, 5vw + 32px, 112px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@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.6;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--water); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
.on-ink :focus-visible, .on-ink:focus-visible { outline-color: var(--signal); }
p, ul, ol, dl { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li + li { margin-top: 0.35em; }
strong { font-weight: 650; }

h1, h2, h3, h4 {
  font-stretch: var(--wide);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 0.55em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; letter-spacing: 0; }
h4 { font-size: var(--step-0); letter-spacing: 0; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--text); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--signal); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--step-2); margin-top: 1.6em; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.7em 1.25em;
  font: inherit; font-weight: 680; font-stretch: 108%; font-size: 1rem; line-height: 1.15;
  border-radius: var(--radius-s); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-call { background: var(--signal); color: var(--ink); }
.btn-call:hover { background: var(--signal-hover); color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.on-ink .btn-line { border-color: #fff; color: #fff; }
.on-ink .btn-line:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 560px) { .btn-row .btn { flex: 1 1 100%; } }
.tel-num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.9); backdrop-filter: blur(8px); } }
.header-in { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo-txt { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.logo-txt b { font-stretch: 125%; font-weight: 820; font-size: 1.12rem; letter-spacing: 0.01em; }
.logo-txt span { font-size: 0.74rem; color: var(--muted); font-stretch: 100%; margin-top: 3px; }
.logo:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav li { margin: 0; position: relative; }
.nav a, .nav .sub-toggle {
  display: block; padding: 10px 12px; color: var(--text); text-decoration: none;
  font: inherit; font-size: 0.96rem; font-weight: 560; background: none; border: 0; cursor: pointer; border-radius: var(--radius-s); white-space: nowrap;
}
.nav a:hover, .nav .sub-toggle:hover { color: var(--water); }
.nav a[aria-current="page"], .nav .is-current > .sub-toggle { color: var(--ink); box-shadow: inset 0 -2px 0 var(--signal); }
.sub-toggle::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: 0 16px 40px -18px rgba(16,48,58,.35); display: none; }
.sub li + li { margin-top: 0; }
.sub a { padding: 9px 12px; }
.sub a:hover { background: var(--mist); color: var(--ink); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: block; }
.header-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; text-decoration: none; color: var(--ink); }
.header-tel small { font-size: 0.74rem; color: var(--muted); }
.header-tel b { font-stretch: 112%; font-size: 1.08rem; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.menu-btn { display: none; }

@media (max-width: 1060px) {
  .js .menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; background: none; border: 1px solid var(--line); border-radius: var(--radius-s); font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
  .menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
  .menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
  .header-tel, .header-cta .btn { display: none; }
  .js .nav { display: none; }
  .js .nav.open { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; padding: 12px var(--gutter) 120px; border-top: 1px solid var(--line); }
  .nav > ul { flex-direction: column; }
  .nav a, .nav .sub-toggle { font-size: 1.1rem; padding: 14px 4px; width: 100%; text-align: left; border-bottom: 1px solid var(--mist); }
  .sub { position: static; display: none; border: 0; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.open > .sub, .has-sub:focus-within > .sub { display: block; }
  .nav .sub a { font-size: 1rem; border: 0; padding: 10px 4px; }
  .no-js .nav { width: 100%; }
}
@media (max-width: 1060px) { .no-js .header-in { flex-wrap: wrap; } .no-js .nav > ul { flex-direction: row; flex-wrap: wrap; } }
/* Correctif menu mobile : backdrop-filter sur l'en-tête crée un bloc conteneur pour les
   éléments fixed -> le panneau .nav.open se calait sur l'en-tête au lieu de l'écran. */
@media (max-width: 1060px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .js .nav.open { top: calc(var(--header-h) + 5px); right: 0; bottom: 0; left: 0; z-index: 70; padding-bottom: calc(120px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
  .js .nav.open .sub-toggle { display: flex; justify-content: space-between; align-items: center; }
  .js .nav.open .has-sub.open > .sub-toggle::after { transform: translateY(2px) rotate(-135deg); }
}

/* ---------- Barre d'appel mobile ---------- */
.callbar { display: none; }
@media (max-width: 900px) {
  .callbar {
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.98); border-top: 1px solid var(--line);
  }
  .callbar .btn { min-height: 50px; padding-inline: 10px; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

/* ---------- Fil d'Ariane ---------- */
.crumbs { font-size: var(--step--1); color: var(--muted); padding-top: 22px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* ---------- Hero accueil : surface / sous-sol ---------- */
.hero { background: var(--paper); padding-top: clamp(28px, 4vw, 64px); }
.hero-grid { display: grid; gap: 32px; }
.hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.9vw, 3.75rem); font-stretch: 120%; max-width: 17ch; margin-bottom: 0.4em; }
.nowrap { white-space: nowrap; }
.hero .lead { margin-bottom: 1.4em; }
.hero-facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: var(--step--1); }
.hero-facts li { margin: 0; display: flex; gap: 8px; align-items: center; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--water); flex: none; }
.hero-aside { align-self: end; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.35fr 1fr; align-items: end; gap: 56px; } }

.zone-check { background: var(--mist); border-radius: var(--radius-m); padding: 22px; }
.zone-check h2 { font-size: var(--step-1); margin-bottom: 0.3em; }
.zone-check p { font-size: var(--step--1); color: var(--muted); }
.zc-row { display: flex; gap: 8px; }
.zc-row input { flex: 1; min-width: 0; }
.zc-out { margin: 12px 0 0; font-size: 0.98rem; min-height: 1.5em; }
.zc-out.ok { color: var(--ok); }
.zc-out.no { color: var(--text); }

.underground { position: relative; color: #dce9e7; margin-top: clamp(24px, 3vw, 40px); }
.coupe-box { position: relative; border-radius: 0 0 var(--radius-m) var(--radius-m); overflow: hidden; }
.underground .coupe { width: 100%; height: auto; }
.hotspots { list-style: none; margin: 0; padding: 0; }
.hotspots li { margin: 0; }
.hotspots a { color: #fff; text-decoration: none; font-weight: 620; font-stretch: 110%; }
.hotspots a:hover { color: var(--signal); }
.hotspots a span { display: block; font-weight: 400; font-stretch: 100%; font-size: 0.86rem; color: var(--water-soft); }
@media (min-width: 900px) {
  .underground .wrap { position: relative; }
  .hotspots a { position: absolute; padding: 6px 0 6px 18px; max-width: 220px; line-height: 1.25; }
  .hotspots a::before { content: ""; position: absolute; left: 0; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(243,195,24,.22); }
}
@media (max-width: 899px) {
  .underground { padding-bottom: 8px; }
  .hotspots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding: 8px 16px 22px; background: var(--ink); }
  .hotspots a { position: static !important; display: block; padding-left: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: #dce9e7; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink a { color: #fff; }
.section-ink a:hover { color: var(--signal); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 3vw, 48px); }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.section-ink .section-head p { color: var(--water-soft); }

/* Liste des prestations : rangées, pas de cartes */
.svc-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.svc-list li { margin: 0; border-bottom: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: 56px 1fr; gap: 6px 20px; align-items: start; padding: 22px 0; text-decoration: none; color: var(--text); }
.svc-list svg { width: 56px; height: 56px; grid-row: span 2; color: var(--ink); }
.svc-list h3 { margin: 0; font-size: var(--step-2); font-stretch: 118%; }
.svc-list p { margin: 0; color: var(--muted); max-width: 62ch; }
.svc-list .price { color: var(--ink); font-weight: 650; white-space: nowrap; }
.svc-list a:hover h3 { color: var(--water); }
@media (min-width: 900px) {
  .svc-list a { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.25fr) 150px; align-items: center; gap: 28px; }
  .svc-list svg { grid-row: auto; width: 64px; height: 64px; }
  .svc-list .price { text-align: right; }
}

/* Deux colonnes éditoriales */
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split-wide { grid-template-columns: 1.3fr 1fr; } }

/* Déroulé (séquence réelle) */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li { counter-increment: step; margin: 0; padding: 22px 0 22px 64px; position: relative; border-top: 1px solid rgba(255,255,255,.14); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 18px; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--signal); color: var(--signal); display: grid; place-items: center; font-weight: 760; font-stretch: 120%; }
.steps h3 { margin-bottom: 0.25em; }
.steps p { margin: 0; color: var(--water-soft); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; } .steps li { padding: 70px 0 0; border-top: 0; } .steps li::before { top: 0; } }
.section-mist .steps li, .paper .steps li { border-color: var(--line); }
.section-mist .steps p, .paper .steps p { color: var(--muted); }
.section-mist .steps li::before, .paper .steps li::before { border-color: var(--water); color: var(--water); }

/* Profils */
.profiles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.profiles a { display: block; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.profiles h3 { margin-bottom: 0.25em; }
.profiles p { margin: 0; color: var(--muted); }
.profiles a:hover h3 { color: var(--water); }
@media (min-width: 760px) { .profiles { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* Références (noms, pas de logos reproduits) */
.refs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.refs li { margin: 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-stretch: 110%; color: var(--ink); background: #fff; }

/* Zones */
.zone-cols { display: grid; gap: 28px; }
@media (min-width: 760px) { .zone-cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1060px) { .zone-cols { grid-template-columns: repeat(4, 1fr); } }
.zone-cols h3, .zone-cols h2 { font-size: var(--step-0); font-stretch: 115%; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.section-ink .zone-cols h3 { border-color: var(--signal); }
.zone-cols ul { list-style: none; padding: 0; }
.zone-cols li { margin: 0; padding: 4px 0; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; }
.chips a, .chips span { display: inline-block; padding: 7px 13px; border-radius: 999px; background: var(--mist); color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 560; }
.chips a:hover { background: var(--ink); color: #fff; }
.section-mist .chips a, .section-mist .chips span { background: #fff; }

/* Tarifs */
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table + .prose { margin-top: 40px; }
.price-table caption { text-align: left; color: var(--muted); font-size: var(--step--1); caption-side: bottom; padding-top: 12px; }
.price-table th, .price-table td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.price-table td.amount { text-align: right; white-space: nowrap; font-weight: 700; color: var(--ink); font-stretch: 112%; font-size: 1.1rem; }
.price-table th[scope="row"] { font-weight: 620; }
.price-table th[scope="row"] a { color: var(--text); }
.price-table th[scope="row"] small { display: block; font-weight: 400; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 650; font-stretch: 108%; font-size: var(--step-1); line-height: 1.3; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 12px; height: 12px; border-right: 2px solid var(--water); border-bottom: 2px solid var(--water); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.faq .answer { padding: 0 0 20px; max-width: var(--measure); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Page intérieure */
.page-hero { padding: 8px 0 clamp(36px, 4vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20ch; margin-top: 18px; }
.page-hero .lead { margin-bottom: 1.2em; }
.page-hero-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: end; } }
.page-hero .illu { color: var(--ink); max-width: 420px; }
.keyfacts { display: grid; gap: 0; border-top: 2px solid var(--ink); margin: 0; }
.keyfacts div { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.keyfacts dt { color: var(--muted); font-size: var(--step--1); }
.keyfacts dd { margin: 0; font-weight: 650; text-align: right; color: var(--ink); }

.layout { display: grid; gap: 48px; padding-block: clamp(40px, 4vw, 72px); }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; } .aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); } }
.aside-box { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; background: #fff; }
.aside-box + .aside-box { margin-top: 16px; }
.aside-box h2 { font-size: var(--step-1); margin-bottom: 0.4em; }
.aside-box .btn { width: 100%; margin-top: 8px; }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li { margin: 0; padding: 6px 0; border-bottom: 1px solid var(--mist); }
.aside-box li:last-child { border: 0; }
.aside-call { background: var(--ink); border-color: var(--ink); color: #dce9e7; }
.aside-call h2 { color: #fff; }
.aside-call .tel-big { display: block; font-size: 1.6rem; font-weight: 780; font-stretch: 118%; color: #fff; text-decoration: none; margin: 4px 0; }
.aside-call p { font-size: var(--step--1); color: var(--water-soft); margin-bottom: 8px; }
.aside-call p a { color: #fff; }

.signs { list-style: none; padding: 0; display: grid; gap: 10px; }
.signs li { margin: 0; padding: 14px 16px 14px 46px; position: relative; background: var(--mist); border-radius: var(--radius-s); }
.signs li::before { content: ""; position: absolute; left: 16px; top: 19px; width: 14px; height: 14px; border: 2px solid var(--water); border-radius: 50%; }
.note { border-left: 3px solid var(--signal); padding: 4px 0 4px 18px; margin: 1.5em 0; color: var(--text); }
.inline-cta { margin: 2.2em 0; padding: 24px; background: var(--ink); color: #dce9e7; border-radius: var(--radius-m); display: grid; gap: 14px; }
.inline-cta h2, .inline-cta h3 { color: #fff; margin: 0; font-size: var(--step-1); }
.inline-cta p { margin: 0; color: var(--water-soft); }
@media (min-width: 760px) { .inline-cta { grid-template-columns: 1fr auto; align-items: center; } }

.related { display: grid; gap: 12px; list-style: none; padding: 0; }
.related li { margin: 0; }
.related a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-s); text-decoration: none; color: var(--text); }
.related a b { display: block; color: var(--ink); font-stretch: 110%; }
.related a span { font-size: var(--step--1); color: var(--muted); }
.related a:hover { border-color: var(--ink); }
@media (min-width: 760px) { .related-3 { grid-template-columns: repeat(3, 1fr); } .related-2 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Formulaire ---------- */
.form { display: grid; gap: 22px; max-width: 720px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 620; color: var(--ink); }
.field .hint { font-size: var(--step--1); color: var(--muted); margin: 0; }
.req { color: var(--error); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  min-height: 50px; padding: 12px 14px; border: 1.5px solid #9fb2b0; border-radius: var(--radius-s); background: #fff;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(243,195,24,.55); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.err { color: var(--error); font-size: var(--step--1); font-weight: 560; margin: 0; }
.err:empty { display: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; align-items: center; min-height: 50px; padding: 10px 14px; border: 1.5px solid #9fb2b0; border-radius: var(--radius-s); cursor: pointer; font-weight: 560; background: #fff; }
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.two { display: grid; gap: 22px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--step--1); }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 16px 18px; border-radius: var(--radius-s); border: 1.5px solid var(--error); color: var(--error); background: #fff5f4; }
.form-alert:empty { display: none; }
.file-list { font-size: var(--step--1); color: var(--muted); margin: 4px 0 0; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #c7d9d6; padding: clamp(48px, 5vw, 80px) 0 28px; font-size: 0.96rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--signal); text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { color: #fff; font-size: 1rem; font-stretch: 115%; margin-bottom: 0.8em; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 0 0 6px; }
.site-footer address { font-style: normal; }
.footer-tel { font-size: 1.35rem; font-weight: 760; font-stretch: 115%; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: var(--step--1); color: var(--water-soft); }
.footer-legal a { color: var(--water-soft); }

/* Final CTA */
.final-cta { background: var(--mist); padding-block: clamp(48px, 5vw, 88px); }
.final-cta .wrap { display: grid; gap: 24px; }
@media (min-width: 900px) { .final-cta .wrap { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.final-cta h2 { margin-bottom: 0.3em; }
.final-cta p { color: var(--muted); margin: 0; }

/* Article */
.article-meta { color: var(--muted); font-size: var(--step--1); }
.toc { background: var(--mist); border-radius: var(--radius-m); padding: 18px 22px; margin: 0 0 2em; }
.toc h2 { font-size: 1rem; margin: 0 0 .5em; }
.toc ol { margin: 0; }

/* 404 */
.notfound { padding-block: clamp(56px, 8vw, 120px); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media (max-width: 420px) {
  .header-in { gap: 10px; }
  .logo { gap: 8px; }
  .logo svg { width: 32px; height: 32px; }
  .logo-txt b { font-size: 1rem; font-stretch: 115%; }
  .logo-txt span { font-size: 0.7rem; }
  .js .menu-btn { padding: 0 10px; }
}
@media (max-width: 560px) {
  .price-table td.amount { white-space: normal; font-size: 1rem; min-width: 7.5em; }
  .price-table th, .price-table td { padding-right: 8px; }
}
@media print { .site-header, .callbar, .site-footer, .final-cta { display: none; } }

/* ---------- Coupe animée (accueil) ---------- */
@keyframes af-flow { to { stroke-dashoffset: -12; } }
@keyframes af-flow-main { to { stroke-dashoffset: -14; } }
@keyframes af-ping { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes af-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes af-jet { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes af-cone { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes af-roots { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes af-sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(1.5deg); } }
.coupe .flow { animation: af-flow 1.1s linear infinite; }
.coupe .flow-slow { animation-duration: 4s; }
.coupe .flow-main { animation: af-flow-main 1.4s linear infinite; }
.coupe .ping { transform-box: fill-box; transform-origin: center; animation: af-ping 2.4s ease-out infinite; }
.coupe .k-travaux .ping { animation-delay: .8s; }
.coupe .k-pompage .ping { animation-delay: 1.6s; }
.coupe .bouchon { transform-box: fill-box; transform-origin: center; animation: af-pulse 1.8s ease-in-out infinite; }
.coupe .jet { animation: af-jet .9s ease-in-out infinite; }
.coupe .jet-2 { animation-delay: .45s; }
.coupe .cone { animation: af-cone 1.6s ease-in-out infinite; }
.coupe .roots { stroke-dasharray: 100; animation: af-roots 2.6s ease-out .3s both; }
.coupe .crown { transform-box: fill-box; transform-origin: 50% 100%; animation: af-sway 6s ease-in-out infinite; }
.coupe .k { transition: filter .2s ease; }
.coupe-box:has(a[data-k="debouchage"]:hover, a[data-k="debouchage"]:focus-visible) .k-debouchage,
.coupe-box:has(a[data-k="pompage"]:hover, a[data-k="pompage"]:focus-visible) .k-pompage,
.coupe-box:has(a[data-k="travaux"]:hover, a[data-k="travaux"]:focus-visible) .k-travaux,
.coupe-box:has(a[data-k="camera"]:hover, a[data-k="camera"]:focus-visible) .k-camera,
.coupe-box:has(a[data-k="curage"]:hover, a[data-k="curage"]:focus-visible) .k-curage { filter: drop-shadow(0 0 6px rgba(243,195,24,.9)) brightness(1.25); }
.coupe-box.paused .coupe *, .coupe-box.paused .coupe { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .coupe .roots { stroke-dasharray: none; } }

/* ---------- Photos de chantiers ---------- */
.ph { margin: 0; }
.ph picture, .ph img { display: block; width: 100%; }
.ph img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-s); background: var(--mist); height: auto; }
.ph-wide img { aspect-ratio: 3 / 2; }
.ph figcaption { font-size: var(--step--1); color: var(--muted); line-height: 1.4; padding-top: 8px; }
.ph-grid { display: grid; gap: 20px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ph-grid.ph-1 { grid-template-columns: minmax(0, 420px); }
@media (min-width: 760px) {
  .ph-grid.ph-3, .ph-grid.ph-home { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
}
@media (min-width: 1000px) {
  .ph-grid.ph-home { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; }
  .ph-grid.ph-home .ph:first-child { grid-row: span 2; display: flex; flex-direction: column; }
  .ph-grid.ph-home .ph:first-child picture { flex: 1; position: relative; min-height: 420px; }
  .ph-grid.ph-home .ph:first-child img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}
.photo-band { padding: clamp(28px, 3vw, 44px) 0 0; }
.photo-band .ph-more { margin: 14px 0 0; }
.prose .ph-grid, .prose .ph-wide { margin: 1.4em 0; }
.section .split > .ph-wide { align-self: center; }

/* Réalisations */
.reals { padding-block: clamp(40px, 4vw, 72px); display: grid; gap: clamp(48px, 5vw, 80px); }
.real { display: grid; gap: 16px; }
.real-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.real-head h2 { margin: 0; font-size: var(--step-2); }
.real-lieu { margin: 0; color: var(--water); font-weight: 620; }
.real-txt { max-width: var(--measure); margin: 0; }
@media (max-width: 999px) {
  .ph-grid.ph-home .ph:first-child { grid-column: 1 / -1; }
  .ph-grid.ph-home .ph:first-child img { aspect-ratio: 4 / 3; }
}
@media (min-width: 760px) and (max-width: 999px) {
  .ph-grid.ph-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Bouton au style de lien (cookies) */
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.footer-legal .linklike { color: var(--water-soft); }
.footer-legal .linklike:hover { color: var(--signal); }

/* ---------- Page Google Ads (landingpage-af.html) ---------- */
.lp-header .header-in { justify-content: space-between; }
.lp-head-call { min-height: 44px; padding: .5em 1em; }
@media (max-width: 420px) { .lp-head-call span { font-size: .92rem; } .lp-header .logo-txt span { display: none; } }
.lp-hero { background: var(--ink); color: #dce9e7; padding: clamp(32px, 5vw, 72px) 0; }
.lp-hero h1 { color: #fff; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); font-stretch: 122%; max-width: 14ch; }
.lp-hero .lead { color: #dce9e7; }
.lp-hero-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .lp-hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; } }
.lp-badge { display: inline-block; margin: 0 0 18px; padding: 6px 12px; border: 1px solid rgba(243,195,24,.6); color: var(--signal); border-radius: 999px; font-weight: 620; font-size: var(--step--1); }
.lp-call { font-size: 1.25rem; min-height: 60px; padding: .8em 1.4em; }
.lp-alt { margin: 14px 0 0; font-size: var(--step--1); color: var(--water-soft); }
.lp-alt a { color: #fff; }
.lp-form-card { background: #fff; color: var(--text); border-radius: var(--radius-m); padding: clamp(20px, 3vw, 32px); box-shadow: 0 24px 60px -30px rgba(0,0,0,.6); }
.lp-form-card h2 { color: var(--ink); font-size: var(--step-2); margin-bottom: .2em; }
.lp-form-card > p { color: var(--muted); font-size: var(--step--1); }
.lp-form-card .form { gap: 16px; }
.lp-form-card .btn { width: 100%; min-height: 54px; font-size: 1.05rem; }
.lp-form-card a { color: var(--water); }
.lp-eng { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.lp-eng li { margin: 0; padding: 18px 0 18px 34px; border-bottom: 1px solid var(--line); position: relative; }
.lp-eng li::before { content: ""; position: absolute; left: 4px; top: 24px; width: 14px; height: 8px; border-left: 3px solid var(--water); border-bottom: 3px solid var(--water); transform: rotate(-45deg); }
.lp-eng b { display: block; color: var(--ink); font-stretch: 112%; font-size: var(--step-1); }
.lp-eng span { color: var(--muted); }
@media (min-width: 760px) { .lp-eng { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
@media (min-width: 1060px) { .lp-eng { grid-template-columns: repeat(3, 1fr); } }
.lp-svc { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-svc li { margin: 0; }
.lp-svc a { display: block; text-decoration: none; color: var(--text); }
.lp-svc .ph img { aspect-ratio: 4 / 3; }
.lp-svc h3 { margin: 12px 0 4px; }
.lp-svc p { margin: 0; color: var(--muted); font-size: var(--step--1); }
.lp-svc a:hover h3 { color: var(--water); }
@media (min-width: 900px) { .lp-svc { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; } }
.lp-final { background: var(--ink); color: #dce9e7; padding: clamp(48px, 5vw, 88px) 0; text-align: left; }
.lp-final h2 { color: #fff; }
.lp-final p { color: var(--water-soft); max-width: 60ch; }
.lp-footer { padding: 32px 0 24px; }
.lp-footer .footer-legal { margin-top: 12px; }
@media (max-width: 480px) { .lp-header .logo-txt { display: none; } .lp-head-call { padding: .5em .8em; } }
.lp-svc h3 { hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 560px) { .lp-svc h3 { font-size: 1.02rem; font-stretch: 108%; } }
.lp-feng { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--step--1); color: var(--muted); }
.lp-feng li { margin: 0; }
.lp-feng li::before { content: "✓ "; color: var(--water); font-weight: 700; }
.lp-avis-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .lp-avis-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.lp-avis { margin: 0; background: #fff; border-radius: var(--radius-m); padding: 22px; border: 1px solid var(--line); }
.lp-avis blockquote { margin: 0 0 12px; font-size: var(--step-1); line-height: 1.4; color: var(--ink); }
.lp-avis figcaption { color: var(--muted); font-size: var(--step--1); }
.lp-avis figcaption b { color: var(--text); }
.lp-note { margin: 20px 0 0; font-weight: 650; color: var(--ink); }
.section-ink .lp-chips span { background: rgba(255,255,255,.08); color: #fff; }
.lp-prio { margin-top: 18px; color: var(--signal); font-weight: 620; }
.section-ink .lp-delais { border-top-color: var(--signal); }
.section-ink .lp-delais div { border-color: rgba(255,255,255,.14); }
.section-ink .lp-delais dt { color: var(--water-soft); }
.section-ink .lp-delais dd { color: #fff; }


/* Logo officiel (pied de page, page L'entreprise) */
.logo-officiel { display: block; margin: 0 0 18px; }
.logo-officiel img { display: block; height: 56px; width: auto; border-radius: 4px; }
.prose .logo-officiel-page img { height: 72px; }

/* Rappel du bleu ciel de l'ancien site (logo) : filets et repères, jamais pour du texte */
.site-header { border-top: 4px solid var(--sky); }
.page-hero { border-bottom: 3px solid var(--sky); }
.keyfacts { border-top-color: var(--sky); }
.signs li { background: var(--sky-soft); }
.signs li::before { border-color: var(--sky); background: #fff; }
.toc { border-left: 3px solid var(--sky); }
.final-cta { background: var(--sky-soft); border-top: 4px solid var(--sky); }
.site-footer { border-top: 4px solid var(--sky); }
.site-footer a:hover { color: var(--sky); }
.video-frame { box-shadow: 0 0 0 3px var(--sky); }

/* Vidéo (lecture au clic, YouTube sans cookie) */
.video { margin: 1.6em 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-m); overflow: hidden; background: var(--ink); }
.video-frame iframe, .video-play, .video-play picture, .video-play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { padding: 0; cursor: pointer; background: var(--ink); }
.video-play img { object-fit: cover; opacity: .85; transition: opacity .2s; }
.video-play:hover img, .video-play:focus-visible img { opacity: 1; }
.video-icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--signal); box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.video-icon::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.video figcaption { font-size: var(--step--1); color: var(--muted); padding-top: 8px; }
.ph-fleet { margin: 1.4em 0; }

/* Touches de bleu ciel (couleur des véhicules) */
::selection { background: var(--sky); color: #fff; }
.nav a[aria-current="page"], .nav .is-current > .sub-toggle { box-shadow: inset 0 -3px 0 var(--sky); }
.section-head h2::before, .prose h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--sky); margin-bottom: 14px; }
.toc h2::before, .inline-cta h2::before, .aside h2::before { content: none; }
.hero { border-bottom: 4px solid var(--sky); }
.svc-list svg { color: var(--sky-deep); }
.svc-list a:hover svg { color: var(--sky); }
.steps li::before { border-color: var(--sky); color: var(--sky); }
.related a { border-top: 3px solid var(--sky); }
.related a:hover { border-color: var(--sky); }
.chips a:hover { background: var(--sky-deep); }
.inline-cta { border-left: 6px solid var(--sky); }
.site-footer h2::after { content: ""; display: block; width: 28px; height: 3px; background: var(--sky); margin-top: 8px; }
.ph img { box-shadow: 0 3px 0 var(--sky-soft); }
.keyfacts dd { border-bottom: 0; }

/* ==========================================================================
   En-tête animé piloté par le défilement (accueil)
   - .scrolly : section haute (400vh) qui donne la "longueur" de l'animation
   - .scrolly-stage : scène collée sous l'en-tête pendant toute la section
   - sans JavaScript ou avec "réduire les animations" : affichage statique
   ========================================================================== */
.scrolly { position: relative; background: var(--ink); color: #fff; --hh: 72px; }
.scrolly-media { position: relative; overflow: hidden; background: var(--ink); }
.scrolly-poster, .scrolly-canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
.scrolly-canvas { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.scrolly.has-canvas .scrolly-canvas { opacity: 1; }
.scrolly-shade { position: absolute; inset: 0; pointer-events: none; }
.scrolly h1, .scrolly h2 { color: #fff; }
.scrolly h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); font-stretch: 120%; max-width: 15ch; margin-bottom: .35em; }
.scrolly h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); max-width: 16ch; margin-bottom: .4em; }
.scrolly h2::before { content: none; }
.scrolly p { color: #dce9e7; }
.scrolly .lead { color: #e9f3f1; }
.scrolly-kicker { font-size: var(--step--1); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sky) !important; margin-bottom: .6em; }
.scrolly-kicker::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--sky); margin-bottom: 12px; }
.scrolly-links a { color: #fff; margin-right: 18px; font-weight: 600; text-decoration-color: var(--sky); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.scrolly-links a:hover { color: var(--sky); }
.scrolly .btn-line { border-color: #fff; color: #fff; }
.scrolly .btn-line:hover { background: #fff; color: var(--ink); }
.scrolly .hero-facts { color: #c7d9d6; }
.scrolly .hero-facts li::before { background: var(--sky); }
.scrolly-step { padding: 28px 0; }
.scrolly-progress, .scrolly-hint { display: none; }
.scrolly-after { padding-block: clamp(32px, 4vw, 56px); }
.zone-check-wide { max-width: 720px; }

/* --- Mode animé (activé par scrolly.js) --- */
.scrolly.is-live { height: 400vh; }
.scrolly { --bb: 0px; }
.scrolly.is-live .scrolly-stage { position: sticky; top: var(--hh); height: calc(100vh - var(--hh) - var(--bb)); height: calc(100svh - var(--hh) - var(--bb)); overflow: hidden; }
.scrolly.is-live .scrolly-media { position: absolute; inset: 0; }
.scrolly.is-live .scrolly-shade { background: linear-gradient(90deg, rgba(16,48,58,.88) 0%, rgba(16,48,58,.62) 38%, rgba(16,48,58,0) 68%), linear-gradient(0deg, rgba(16,48,58,.55), rgba(16,48,58,0) 30%); }
.scrolly.is-live .scrolly-text { position: absolute; inset: 0; display: flex; align-items: center; }
.scrolly.is-live .scrolly-text .wrap { position: relative; height: 100%; }
.scrolly.is-live .scrolly-step { position: absolute; top: 50%; left: var(--gutter); max-width: 34rem; padding: 0;
  opacity: 0; visibility: hidden; transform: translateY(calc(-50% + 24px));
  transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
.scrolly.is-live .scrolly-step.is-on { opacity: 1; visibility: visible; transform: translateY(-50%); transition-delay: 0s; }
.scrolly.is-live .scrolly-progress { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.15); }
.scrolly.is-live .scrolly-progress span { display: block; height: 100%; width: 100%; background: var(--sky); transform-origin: 0 50%; transform: scaleX(0); }
.scrolly.is-live .scrolly-hint { display: block; position: absolute; left: 50%; bottom: 22px; margin: 0; transform: translateX(-50%); font-size: var(--step--1); color: #fff; opacity: .85; transition: opacity .3s; }
.scrolly.is-live .scrolly-hint::after { content: ""; display: block; width: 10px; height: 10px; margin: 8px auto 0; border-right: 2px solid var(--sky); border-bottom: 2px solid var(--sky); transform: rotate(45deg); animation: scrolly-bob 1.6s ease-in-out infinite; }
.scrolly.is-scrolled .scrolly-hint { opacity: 0; }
@keyframes scrolly-bob { 50% { transform: translateY(6px) rotate(45deg); } }

/* Mobile : image 16:9 en haut, texte dessous (pas de recadrage extrême du visuel) */
@media (max-width: 760px) {
  .scrolly.is-live { height: 300vh; }
  .scrolly.is-live .scrolly-stage { display: flex; flex-direction: column; }
  .scrolly.is-live .scrolly-media { position: relative; inset: auto; flex: none; aspect-ratio: 16 / 9; }
  .scrolly.is-live .scrolly-shade { background: linear-gradient(0deg, rgba(16,48,58,.6), rgba(16,48,58,0) 40%); }
  .scrolly.is-live .scrolly-text { position: relative; flex: 1; align-items: flex-start; }
  .scrolly.is-live .scrolly-step { top: 22px; transform: translateY(16px); max-width: none; right: var(--gutter); }
  .scrolly.is-live .scrolly-step.is-on { transform: none; }
  .scrolly.is-live .scrolly-intro .lead { font-size: 1rem; }
  .scrolly.is-live .scrolly-intro .hero-facts { display: none; }
  .scrolly.is-live .btn-row .btn { flex: 1 1 auto; }
  .scrolly.is-live .scrolly-hint { bottom: 14px; }
  .scrolly.is-live .scrolly-step:last-child .btn-line { display: none; } /* déjà dans la barre d'appel du bas */
  .scrolly h1 { font-size: clamp(1.7rem, 1.2rem + 3vw, 2.2rem); }
  .scrolly h2 { font-size: 1.5rem; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .scrolly.is-live .scrolly-intro .lead { display: none; }
}

/* Statique (sans JS, "réduire les animations", économiseur de données) */
.scrolly:not(.is-live) .scrolly-text .wrap { display: grid; gap: 8px; padding-block: 24px 40px; }
.scrolly:not(.is-live) .scrolly-step + .scrolly-step { border-top: 1px solid rgba(255,255,255,.14); }
