/* =========================================================
   Tech Recup — feuille de style
   Jetons, base, composants, puis sections dans l'ordre de la page
   Partition des fonds : blanc / mist / blanc / forest / blanc / mist / blanc / mist / blanc / forest
   ========================================================= */

/* Archivo (SIL Open Font License), hébergée sur le site : aucune requête vers Google */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 100% 120%; font-display: swap;
  src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 100% 120%; font-display: swap;
  src: url("assets/fonts/archivo-latin.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 */
  --white: #ffffff;
  --mist: #f1f5f0;
  --mist-2: #e6eee4;
  --green-50: #eaf5e6;
  --line: #d6e1d4;          /* filets décoratifs */
  --control: #7a8f7f;       /* bordures de champs : ≥ 3:1 sur blanc */
  --ink: #12261a;
  --ink-2: #3e5446;
  --muted: #5f7266;         /* placeholder, aides : ≥ 4,5:1 sur blanc */
  --green: #187a35;         /* 5,4:1 avec le blanc */
  --green-d: #13612b;
  --lime: #7dc242;          /* jamais en texte sur fond clair */
  --forest: #0c3a21;
  --forest-2: #134a2c;
  --on-dark: #e4efe6;
  --on-dark-2: #c8dacb;
  --danger: #9e3521;

  /* typographie : deux largeurs, trois graisses */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wdth-display: 115;
  --wdth-label: 108;
  --h2: clamp(2rem, 3.6vw, 3rem);
  --h2-sm: clamp(1.6rem, 2.4vw, 2rem);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green-d); text-underline-offset: .18em; }
a:hover { color: var(--green); }
h1, h2, h3 { margin: 0; line-height: 1.08; font-variation-settings: "wdth" var(--wdth-display); letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: var(--h2); font-weight: 800; }
.h2-sm { font-size: var(--h2-sm); }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; font-variation-settings: "wdth" var(--wdth-label); }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.num { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; color: var(--white); }

.section-head { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { margin-top: 18px; font-size: 1.1875rem; color: var(--ink-2); max-width: 38rem; }
.section-head.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.section-head.split p { margin-top: 0; }

.text-link { font-weight: 600; color: var(--green-d); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 999px;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-d); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--control); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-d); }
.btn-light { background: var(--white); color: var(--forest); }
.btn-light:hover { background: var(--lime); color: var(--forest); }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: 15px 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; min-height: 44px; }
.brand img { width: 44px; height: auto; }
.brand-name { font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; font-variation-settings: "wdth" var(--wdth-display); line-height: 1; }
.brand-a { color: var(--forest-2); }
.brand-b { color: var(--green); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a:not(.btn) {
  display: block; padding: 10px 12px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9375rem; white-space: nowrap;
  transition: background-color .15s ease;
}
.main-nav a:not(.btn):hover { background: var(--mist); color: var(--ink); }
.nav-ctas { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 700; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; padding-block: 10px; }
.header-phone:hover { color: var(--green-d); }
.header-cta { white-space: nowrap; }
.header-call { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white); place-items: center; }
.header-call .ico { width: 20px; height: 20px; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--control); border-radius: 999px; background: var(--white); cursor: pointer; padding: 0; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: var(--ink); margin-inline: auto; position: relative; transition: transform .2s var(--ease-out), background-color .2s ease; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
html.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(40px, 4vw, 56px); position: relative; overflow: hidden; }
.hero::before {
  /* trame très légère, rappel du papier quadrillé d'inventaire */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(24, 122, 53, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(24, 122, 53, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 70% at 80% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 80% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-title {
  font-size: clamp(2.5rem, 4.9vw, 4.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
  isolation: isolate;
}
.hero-kicker {
  display: block; margin-bottom: 22px;
  font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.4;
  font-variation-settings: "wdth" 100; color: var(--green-d);
}
.hero-line { display: block; }
.hero-title .amp { font-weight: 400; color: var(--ink-2); }
.verb { position: relative; display: inline-block; white-space: nowrap; }
.verb::after {
  /* soulignement tracé quand l'étape correspondante du certificat est validée */
  content: ""; position: absolute; left: 0; right: .12em; bottom: .04em; height: .14em;
  background: var(--lime); border-radius: 2px;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .6s var(--ease-out);
  z-index: -1;
}
.verb.is-done::after { transform: scaleX(1); }
.hero-lede { margin-top: 26px; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); color: var(--ink-2); max-width: 36rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: .9375rem; color: var(--ink-2); }

/* Certificat */
.cert {
  margin: 0; position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 24px 20px;
  box-shadow:
    0 1px 0 rgba(18, 38, 26, .04),
    0 18px 40px -18px rgba(12, 58, 33, .28),
    12px 12px 0 -1px var(--mist-2),
    12px 12px 0 0 var(--line);
  max-width: 460px; justify-self: end; width: calc(100% - 12px);
}
.cert-head { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.cert-head img { width: 34px; height: auto; }
.cert-title { font-weight: 800; font-size: 1.125rem; font-variation-settings: "wdth" var(--wdth-display); letter-spacing: -.01em; line-height: 1.2; }
.cert-sub { font-size: .8125rem; color: var(--ink-2); }
.cert-meta { margin: 16px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 18px; }
.cert-meta dt { font-size: .75rem; color: var(--ink-2); }
.cert-meta dd { margin: 2px 0 0; font-weight: 600; font-size: .9375rem; }

.wipe { margin-top: 18px; background: var(--mist); border-radius: var(--r-md); padding: 12px 14px 14px; }
.wipe-label { display: flex; justify-content: space-between; gap: 12px; font-size: .8125rem; font-weight: 600; margin-bottom: 10px; }
.wipe-pct { color: var(--green-d); }
.wipe-track { height: 8px; border-radius: 99px; background: var(--white); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.wipe-bar {
  height: 100%; width: 100%; border-radius: inherit;
  background: repeating-linear-gradient(-45deg, var(--green) 0 8px, #239a45 8px 16px);
  transform: scaleX(var(--p, 0)); transform-origin: left center;
}

.cert-steps { margin-top: 16px; display: grid; gap: 10px; }
.cert-steps li { display: grid; grid-template-columns: 20px auto minmax(0, 1fr); align-items: center; gap: 10px; font-size: .9375rem; }
.cert-steps .dot {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--control); background: var(--white);
  position: relative;
  transition: background-color .3s ease, border-color .3s ease;
}
.cert-steps .dot::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px;
  border: solid var(--white); border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0); transition: transform .3s var(--ease-out) .05s;
}
.cert-steps .s-name { font-weight: 600; }
.cert-steps .s-val { color: var(--ink-2); font-size: .8125rem; text-align: right; }
.cert-steps li.is-done .dot { background: var(--green); border-color: var(--green); }
.cert-steps li.is-done .dot::after { transform: rotate(45deg) scale(1); }

.cert-foot { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.barcode { width: 140px; max-width: 55%; height: 30px; color: var(--ink); opacity: .85; }
.stamp {
  display: inline-block; padding: 6px 12px;
  border: 2px solid var(--green-d); border-radius: var(--r-sm);
  color: var(--green-d); font-weight: 800; font-size: .8125rem; line-height: 1.15; text-align: center;
  font-variation-settings: "wdth" var(--wdth-display); letter-spacing: .02em;
  rotate: -8deg;
  opacity: 0; scale: 1.5;
  transition: opacity .25s ease, scale .35s cubic-bezier(.34, 1.56, .64, 1);
}
.cert.is-complete .stamp { opacity: 1; scale: 1; }

/* Bandeau d'engagements */
.proof {
  position: relative; margin-top: clamp(40px, 4vw, 56px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.proof li { padding: 22px 20px 0 0; display: grid; gap: 4px; align-content: start; }
.proof li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.proof strong { font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 800; font-variation-settings: "wdth" var(--wdth-display); letter-spacing: -.02em; line-height: 1.1; color: var(--forest-2); }
.proof span { color: var(--ink-2); font-size: .9375rem; }

/* ---------- Deux publics (fond mist) ---------- */
.paths { background: var(--mist); padding-block: var(--section); }
.paths-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.path {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 20px;
}
.path h2 { font-size: var(--h2-sm); }
.path-lede { font-size: 1.125rem; color: var(--ink-2); }
.path > .btn, .path-actions { margin-top: auto; }
.path > .btn { align-self: flex-start; }
.path-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.path-actions .text-link { padding-block: 12px; }
.checks { display: grid; gap: 12px; margin-bottom: 8px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ---------- Processus : bon de suivi ---------- */
.process { padding-block: var(--section); }
.process-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.process-head { position: sticky; top: calc(var(--header-h) + 40px); }
.process-head p { margin-top: 18px; font-size: 1.1875rem; color: var(--ink-2); max-width: 30rem; }
.process-head .btn { margin-top: 32px; }

.ticket { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 24px 60px -36px rgba(12, 58, 33, .35); overflow: hidden; }
.ticket-head {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 28px; background: var(--forest-2); color: var(--on-dark);
  font-weight: 600; font-size: .9375rem; font-variation-settings: "wdth" var(--wdth-label);
}
.track { padding: 8px 28px; }
.track li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 18px; align-items: start;
  padding: 24px 0; border-bottom: 1px dashed var(--line); position: relative;
}
.track li:last-child { border-bottom: 0; }
.track li::before {
  /* fil qui relie les cases */
  content: ""; position: absolute; left: 13px; top: 56px; bottom: -22px; width: 2px; background: var(--line);
}
.track li:last-child::before { display: none; }
.track li.is-on::before { background: var(--green); transition: background-color .4s ease .2s; }
.t-check {
  position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--control); background: var(--white); margin-top: 2px;
  transition: background-color .35s ease, border-color .35s ease;
}
.t-check::after {
  content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 13px;
  border: solid var(--white); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0); transition: transform .35s var(--ease-out) .1s;
}
.track li.is-on .t-check { background: var(--green); border-color: var(--green); }
.track li.is-on .t-check::after { transform: rotate(45deg) scale(1); }
.track h3 { margin-bottom: 8px; }
.track p { color: var(--ink-2); font-size: 1rem; }
.t-when {
  font-size: .8125rem; font-weight: 600; color: var(--green-d); white-space: nowrap;
  padding: 4px 10px; border-radius: 999px; background: var(--green-50); margin-top: 2px;
}

/* ---------- Loi 25 (fond forest) ---------- */
.law { background: var(--forest); color: var(--on-dark); padding-block: var(--section); position: relative; overflow: hidden; }
.law::after {
  /* filigrane : rangées de secteurs effacés */
  content: ""; position: absolute; inset: 0 0 0 50%;
  background-image: radial-gradient(circle, rgba(125, 194, 66, .16) 1.5px, transparent 1.6px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to left, #000 10%, transparent 90%);
  -webkit-mask-image: linear-gradient(to left, #000 10%, transparent 90%);
  pointer-events: none;
}
.law-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.law h2 { color: var(--white); }
.law-copy p { margin-top: 22px; font-size: 1.125rem; max-width: 36rem; }
.law-copy .btn { margin-top: 36px; }
.law-figures { border-top: 1px solid rgba(255, 255, 255, .16); }
.fig { padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); display: grid; gap: 6px; }
.fig-n { font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; color: var(--lime); font-variation-settings: "wdth" var(--wdth-display); letter-spacing: -.02em; line-height: 1; }
.fig-t { color: var(--on-dark-2); max-width: 30rem; }

/* ---------- Estimateur de valeur ---------- */
.value { padding-block: var(--section); }
.value-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  grid-template-areas: "head head" "form tag";
  gap: 40px clamp(32px, 5vw, 72px); align-items: start;
}
.value-head { grid-area: head; max-width: 44rem; }
.value-head p { margin-top: 18px; font-size: 1.1875rem; color: var(--ink-2); }
.estimator { grid-area: form; display: grid; gap: 28px; }
.est-group legend { font-weight: 600; font-size: 1.0625rem; margin-bottom: 12px; padding: 0; }
.est-options { display: flex; flex-wrap: wrap; gap: 8px; }
.est-options label { position: relative; cursor: pointer; }
.est-options input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.est-options span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px;
  border: 1.5px solid var(--control); border-radius: 999px; font-weight: 500; background: var(--white);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.est-options label:hover span { border-color: var(--green); }
.est-options input:checked + span { background: var(--forest-2); border-color: var(--forest-2); color: var(--white); font-weight: 600; }
.est-options input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }

/* L'étiquette de résultat reprend le langage du certificat */
.tag {
  grid-area: tag; position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 40px 28px 24px;
  box-shadow: 0 24px 60px -36px rgba(12, 58, 33, .4), 10px 10px 0 -1px var(--mist-2), 10px 10px 0 0 var(--line);
  margin-right: 10px;
}
.tag-hole { position: absolute; top: 14px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 2px solid var(--line); background: var(--mist); }
.tag-label { font-size: .875rem; color: var(--ink-2); font-weight: 600; }
.tag-value {
  margin-top: 6px; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1.05;
  font-variation-settings: "wdth" var(--wdth-display); letter-spacing: -.03em; color: var(--forest-2);
}
.tag-verdict { display: inline-block; margin-top: 12px; padding: 4px 12px; border-radius: 999px; background: var(--green-50); color: var(--green-d); font-weight: 600; font-size: .9375rem; }
.tag-verdict.is-free { background: var(--mist-2); color: var(--ink); }
.tag-note { margin-top: 16px; color: var(--ink-2); font-size: 1rem; min-height: 4.8em; }
.tag .btn { margin-top: 20px; }
.tag-disclaimer { margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.tag-value.is-updating { animation: tick .35s var(--ease-out); }
@keyframes tick { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Matériel (fond mist) ---------- */
.gear { background: var(--mist); padding-block: var(--section); }
.gear-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.gear-grid li {
  display: grid; grid-template-rows: auto 1fr auto; gap: 14px;
  padding: 22px 20px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  position: relative;
}
.gear-grid li::after {
  /* perforation d'étiquette */
  content: ""; position: absolute; top: 14px; right: 14px; width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--mist);
}
.gear-grid svg { width: 40px; height: 40px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.g-name { font-weight: 600; line-height: 1.3; }
.g-tag { justify-self: start; font-size: .8125rem; font-weight: 600; color: var(--ink-2); padding: 3px 10px; border-radius: 999px; background: var(--mist); }
.g-tag.g-hi { background: var(--green-50); color: var(--green-d); }
.gear-note { margin-top: 28px; color: var(--ink-2); max-width: 46rem; }

.now { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.now-item { padding-top: 22px; border-top: 3px solid var(--green); }
.now-item h3 { margin-bottom: 12px; }
.now-item p { color: var(--ink-2); }

/* ---------- Comparatif ---------- */
.compare { padding-block: var(--section); }
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; font-size: .9875rem; table-layout: fixed; }
.cmp th, .cmp td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-weight: 600; font-size: .9375rem; background: var(--mist); }
.cmp thead th:first-child { color: var(--ink-2); font-weight: 500; }
.cmp thead th:first-child, .cmp tbody th { width: 24%; }
.cmp tbody th { font-weight: 600; }
.cmp td { color: var(--ink-2); }
.cmp .us { background: var(--green-50); color: var(--ink); }
.cmp thead .us { background: var(--green-d); color: var(--white); font-variation-settings: "wdth" var(--wdth-display); font-weight: 800; font-size: 1.0625rem; }
.yes { font-weight: 700; color: var(--green-d); }
.no { font-weight: 600; color: var(--danger); }

/* ---------- Zones + partenaires (fond mist) ---------- */
.zones { background: var(--mist); padding-block: var(--section); }
.zones-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.zones-copy > p { margin-top: 18px; color: var(--ink-2); font-size: 1.125rem; max-width: 34rem; }
.zone-list { margin-top: 32px; border-top: 1px solid var(--line); }
.zone-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 12px; margin-inline: -12px; border-bottom: 1px solid var(--line); border-radius: var(--r-sm);
  transition: background-color .2s ease;
}
.zone-list li.is-hot { background: var(--white); }
.z-name { font-weight: 600; font-size: 1.125rem; font-variation-settings: "wdth" var(--wdth-label); }
.z-det { color: var(--ink-2); font-size: .9375rem; text-align: right; }

.map { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 24px 60px -36px rgba(12, 58, 33, .35); }
.map-canvas { position: relative; aspect-ratio: 1311 / 1051; background: var(--mist-2); }
.map-canvas img { width: 100%; height: 100%; object-fit: cover; }
.map-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.map-route path { fill: none; stroke: var(--green); stroke-width: .6; stroke-dasharray: 1.4 1.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-width: 2.5px; }
.pin { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; }
.pin-lg { width: 22px; height: 22px; background: var(--green); border: 4px solid var(--white); box-shadow: 0 4px 14px rgba(12, 58, 33, .35); }
.pin-sm { width: 12px; height: 12px; background: var(--forest-2); border: 2px solid var(--white); }
.pin-ring { width: 120px; height: 120px; border: 2px dashed rgba(24, 122, 53, .45); background: rgba(125, 194, 66, .08); }
.pin-lg::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%; background: var(--lime); opacity: 0;
}
.pin.is-hot.pin-lg::before { animation: pulse 1.6s var(--ease-out) infinite; }
.pin-ring.is-hot { background: rgba(125, 194, 66, .22); border-color: var(--green); }
.pin-label {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-20%);
  white-space: nowrap; padding: 6px 12px; border-radius: 999px;
  background: var(--forest-2); color: var(--white); font-size: .875rem; font-weight: 600;
  box-shadow: 0 6px 16px rgba(12, 58, 33, .25);
}
.pin-label-l { bottom: auto; top: calc(100% + 10px); transform: translateX(-85%); }
.map-chip {
  position: absolute; right: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line); font-size: .8125rem; font-weight: 600; color: var(--ink);
}
.map-live { aspect-ratio: 1311 / 1051; }
.map-live iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.map-attr a { color: var(--ink-2); }
.map-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.map-btn {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px;
  border: 1.5px solid var(--control); background: var(--white); color: var(--ink);
  font: inherit; font-size: .875rem; font-weight: 600; text-decoration: none; cursor: pointer;
}
.map-btn:hover { border-color: var(--green); color: var(--green-d); }
.map-consent { padding: 12px 14px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--ink-2); background: var(--mist); }
.text-btn { font: inherit; font-weight: 600; color: var(--green-d); background: none; border: 0; padding: 8px 0; text-decoration: underline; cursor: pointer; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .6; } 100% { transform: scale(1.3); opacity: 0; } }

.partners {
  margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 44px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.partners > div { max-width: 46rem; }
.partners p { margin-top: 12px; color: var(--ink-2); font-size: 1.0625rem; }
.partners .btn { flex: none; }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--section); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head p { margin-top: 18px; color: var(--ink-2); font-size: 1.125rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-weight: 600; font-size: 1.125rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 14h10M14 9v10' stroke='%2313612b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  transition: transform .25s var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--green-d); }
.faq-list details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 44rem; }

/* ---------- Soumission (fond forest) ---------- */
.quote { background: var(--forest); color: var(--on-dark); padding-block: var(--section); }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.quote-side { min-width: 0; }
.quote h2 { color: var(--white); }
.quote-side > p { margin-top: 18px; font-size: 1.125rem; color: var(--on-dark-2); }
.contact-cards { display: grid; gap: 12px; margin-top: 32px; }
.contact-card {
  display: grid; gap: 2px; padding: 18px 22px;
  background: var(--forest-2); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-md);
  text-decoration: none; color: var(--white);
  transition: border-color .18s ease, background-color .18s ease;
}
.contact-card:hover { border-color: var(--lime); color: var(--white); }
.cc-label { font-size: .875rem; color: var(--on-dark-2); }
.cc-value { font-weight: 600; font-size: 1.25rem; font-variation-settings: "wdth" var(--wdth-label); overflow-wrap: anywhere; }

.form {
  position: relative; min-width: 0; color: var(--ink);
  background: var(--white); border-radius: var(--r-lg);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .45);
}
.form-fields { display: grid; gap: 20px; }
.form-fields[inert] { opacity: .15; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field label, .form legend { font-weight: 600; font-size: .9375rem; }
.req, .opt { font-weight: 400; color: var(--muted); }
.hint { font-size: .8125rem; color: var(--muted); }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--control); border-radius: var(--r-md);
  padding: 12px 14px; min-height: 48px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form textarea { resize: vertical; min-height: 110px; }
.form select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2312261a' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; padding-right: 40px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(24, 122, 53, .18); }
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form [aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: .875rem; font-weight: 500; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 10px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { width: 100%; }
.seg label, .chips label { position: relative; cursor: pointer; }
.seg input, .chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px;
  border: 1.5px solid var(--control); border-radius: 999px; font-weight: 600;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.seg input:checked + span { background: var(--forest-2); border-color: var(--forest-2); color: var(--white); }
.seg input:focus-visible + span, .chips input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.seg-sm span { min-height: 44px; padding: 8px 18px; }

.more { border: 1.5px dashed var(--line); border-radius: var(--r-md); }
.more > summary { cursor: pointer; padding: 14px 16px; font-weight: 600; font-size: .9375rem; list-style: none; display: flex; align-items: center; gap: 10px; min-height: 48px; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mist); color: var(--green-d); font-weight: 700; transition: transform .2s var(--ease-out); }
.more[open] > summary::before { transform: rotate(45deg); }
.more-body { display: grid; gap: 18px; padding: 4px 16px 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chips span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  border: 1.5px solid var(--control); border-radius: 999px; font-size: .9375rem; font-weight: 500;
  transition: background-color .15s ease, border-color .15s ease;
}
.chips input:checked + span { background: var(--green-50); border-color: var(--green); color: var(--green-d); font-weight: 600; }
.chips input:checked + span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-wrap { white-space: normal; }
.form-legal { font-size: .8125rem; color: var(--muted); text-align: center; margin-top: -6px; }

.form-done {
  position: absolute; inset: 0; z-index: 2;
  background: var(--white); border-radius: inherit;
  display: grid; place-content: center; text-align: center; gap: 12px; padding: 32px;
}
.done-title { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; font-variation-settings: "wdth" var(--wdth-display); color: var(--green-d); outline: none; }
.done-text { color: var(--ink-2); max-width: 28rem; margin-inline: auto; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--white); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.f-brand img { width: 230px; height: auto; }
.f-h { font-size: 1rem; font-weight: 600; margin-bottom: 8px; letter-spacing: 0; font-variation-settings: "wdth" 100; }
.f-list { display: grid; color: var(--ink-2); }
.f-list a, .f-list span { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink-2); text-decoration: none; }
.f-list a:hover { color: var(--green-d); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 20px; margin-top: 40px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--ink-2); }
.fb-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a { color: var(--ink-2); display: inline-flex; align-items: center; min-height: 44px; }

.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1260px) {
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-block; }
  .main-nav.is-open {
    display: block; position: absolute; top: var(--header-h); left: 0; right: 0;
    height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--white); border-top: 1px solid var(--line);
    padding: 12px var(--gutter) 28px;
  }
  .main-nav.is-open ul { flex-direction: column; gap: 2px; }
  .main-nav.is-open a:not(.btn) { padding: 14px 12px; min-height: 52px; font-size: 1.125rem; border-radius: var(--r-md); border-bottom: 1px solid var(--line); }
  .main-nav.is-open .nav-ctas { display: grid; gap: 10px; margin-top: 24px; }
}

@media (max-width: 1120px) {
  .gear-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* hero empilé tant que la colonne est trop étroite pour le certificat superposé */
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { margin: 8px 0 0; max-width: 760px; }
  .hero-visual::after { display: none; }
  .hero-photo { aspect-ratio: 16 / 9; max-height: none; }
  .hero-visual .cert { position: relative; left: auto; bottom: auto; width: min(460px, calc(100% - 12px)); margin-top: -64px; margin-left: 12px; }
}

@media (max-width: 900px) {
  .hero-grid, .paths-grid, .law-grid, .zones-grid, .faq-grid, .quote-grid, .process-grid { grid-template-columns: minmax(0, 1fr); }
  .value-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "form" "tag"; }
  .section-head.split { grid-template-columns: minmax(0, 1fr); }
  .cert { justify-self: start; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof li:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 22px; }
  .faq-head, .process-head { position: static; }
  .partners { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .now { grid-template-columns: minmax(0, 1fr); }

  /* comparatif en cartes : une carte par critère */
  .table-wrap { border: 0; border-radius: 0; overflow: visible; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto !important; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp tbody { display: grid; gap: 16px; }
  .cmp tr { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
  .cmp tbody th { font-size: 1.0625rem; padding: 16px 18px; background: var(--mist); border-bottom: 1px solid var(--line); }
  .cmp td { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 12px; padding: 12px 18px; }
  .cmp td::before { content: attr(data-label); font-weight: 600; color: var(--ink); }
  .cmp tbody tr td:last-child { border-bottom: 0; }
  .cmp td.us::before { color: var(--green-d); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  :root { --header-h: 64px; }
  html { scroll-padding-bottom: 84px; }
  .header-phone, .header-cta { display: none; }
  .header-call { display: grid; }
  .brand img { width: 38px; }
  .brand-name { font-size: 1.15rem; }
  .hero-title { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero-ctas .btn { width: 100%; }
  .btn { white-space: normal; }
  .cert { padding: 20px 16px 16px; box-shadow: 0 1px 0 rgba(18,38,26,.04), 0 18px 40px -18px rgba(12,58,33,.28), 8px 8px 0 -1px var(--mist-2), 8px 8px 0 0 var(--line); width: calc(100% - 8px); }
  .cert-meta { gap: 10px 14px; }
  .cert-meta dd { font-size: .875rem; }
  .cert-steps .s-val { font-size: .75rem; }
  .proof li { padding-right: 12px; }
  .proof li + li { padding-left: 12px; }
  .proof li:nth-child(3) { padding-left: 0; }
  .path > .btn, .path-actions .btn { align-self: stretch; width: 100%; }
  .track { padding: 4px 18px; }
  .ticket-head { padding: 14px 18px; }
  .track li { grid-template-columns: 28px minmax(0, 1fr); gap: 14px; }
  .t-when { grid-column: 2; grid-row: 1; justify-self: start; margin-bottom: 4px; }
  .track li > div { grid-column: 2; }
  .track li .t-check { grid-row: 1 / span 2; }
  .tag { margin-right: 8px; padding: 36px 20px 20px; }
  .gear-grid li { padding: 18px 14px 14px; }
  .g-name { font-size: .9375rem; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .zone-list li { flex-direction: column; gap: 2px; }
  .z-det { text-align: left; }
  .faq-list summary { font-size: 1.0625rem; }
  .faq-list details p { padding-right: 0; }
  .cmp td { display: block; }
  .cmp td::before { display: block; margin-bottom: 2px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .site-footer { padding-bottom: 76px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); visibility: hidden;
    transition: transform .3s var(--ease-out), visibility 0s linear .3s;
  }
  .mobile-bar.is-visible { transform: none; visibility: visible; transition: transform .3s var(--ease-out), visibility 0s; }
  .mobile-bar .btn { min-height: 50px; white-space: nowrap; }
}

/* =========================================================
   Photos d'illustration
   ========================================================= */
.hero-visual { position: relative; margin-left: 56px; margin-bottom: 24px; }
.hero-photo {
  width: 100%; aspect-ratio: 4 / 5; max-height: 640px; object-fit: cover; object-position: 55% 50%;
  border-radius: var(--r-lg); box-shadow: 0 30px 70px -40px rgba(12, 58, 33, .55);
}
.hero-visual::after {
  /* voile vert léger pour fondre la photo dans la palette */
  content: ""; position: absolute; inset: 0; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(12, 58, 33, 0) 40%, rgba(12, 58, 33, .35));
  pointer-events: none;
}
.hero-visual .cert {
  position: absolute; z-index: 1; left: -56px; bottom: -24px; width: min(340px, 80%);
  padding: 16px 18px 14px;
}
.hero-visual .cert-meta { gap: 8px 16px; margin-top: 12px; }
.hero-visual .cert-meta > div:nth-child(n+5) { display: none; }
.hero-visual .cert-sub { display: none; }
.hero-visual .cert-steps li { font-size: .875rem; }
.hero-visual .cert-head { padding-bottom: 12px; }
.hero-visual .wipe { margin-top: 12px; }
.hero-visual .cert-steps { margin-top: 12px; gap: 6px; }
.hero-visual .cert-foot { margin-top: 12px; padding-top: 10px; }

.path { overflow: hidden; }
.path-photo {
  margin: calc(-1 * clamp(28px, 4vw, 48px)) calc(-1 * clamp(28px, 4vw, 48px)) 4px;
  width: calc(100% + 2 * clamp(28px, 4vw, 48px)); max-width: none;
  aspect-ratio: 16 / 7; object-fit: cover;
}


.law-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); margin-bottom: 8px; background: var(--white); }

.gear-band {
  margin-top: 28px; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px;
}
.gear-band img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.gear-band h3 { margin-bottom: 10px; }
.gear-band .gear-note { margin-top: 0; }

.now-item img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r-md); margin-bottom: 20px; }
.now-item { border-top: 0; padding-top: 0; }
.now-item h3 { padding-top: 16px; border-top: 3px solid var(--green); }

.cmp-note { margin-top: 14px; font-size: .875rem; color: var(--muted); }

.fb-legal { display: grid; gap: 4px; max-width: 46rem; }
.fb-legal a { min-height: 0; display: inline; }

@media (max-width: 900px) {
  .hero-visual { margin: 8px 0 0; }
  .hero-visual::after { display: none; }
  .hero-photo { aspect-ratio: 16 / 9; max-height: none; }
  .hero-visual .cert { position: relative; left: auto; bottom: auto; width: calc(100% - 12px); margin-top: -64px; margin-left: 12px; }
  .gear-band { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hero-visual .cert { margin-left: 0; width: calc(100% - 8px); margin-top: -40px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* les attributs width/height servent au ratio initial ; le CSS fixe le cadrage */
.hero-photo, .path-photo, .law-photo, .gear-band img, .now-item img { height: auto; }

.mobile-bar.is-menu { visibility: hidden !important; }
.header-cta-legal { white-space: nowrap; }
@media (max-width: 640px) { .map-chip { display: none; } .pin-label { font-size: .75rem; padding: 4px 9px; } }
