/* ==========================================================================
   GA Construction — feuille de style (mobile first)
   ========================================================================== */

/* ---------- Polices hébergées sur le site (aucun appel à Google Fonts) ----------
   Fichiers variables : Archivo (largeur 75–125 %, graisse 300–900), JetBrains Mono (400–500).
   Découpage latin / latin étendu : le navigateur ne télécharge que ce dont la page a besoin. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 300 900; font-stretch: 75% 125%; 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;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 300 900; font-stretch: 75% 125%; 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: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-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;
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-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;
}

:root {
  --bg: #0e0f11;
  --bg-2: #15171a;
  --bg-3: #1d2024;
  --paper: #eeebe5;
  --paper-2: #e3dfd7;
  --ink: #121315;
  --ink-soft: #55575b;
  --text: #ece9e4;
  --muted: #9b9994;
  --line: rgba(255, 255, 255, .1);
  --line-ink: rgba(18, 19, 21, .14);
  --accent: #ff5a1f;
  --accent-2: #ffb03a;
  --accent-ink: #1a0b03;
  --accent-dark: #b8390a; /* orange lisible sur fond clair (AA) */
  --steel: #8b95a0;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: 16px;
  --maxw: 1320px;
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
}

@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 76px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
html:not(.has-smooth) { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* « clip » coupe sans créer de zone défilable : un focus ou un élément incliné ne peut plus décaler la page */
main { overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a, button, label { -webkit-tap-highlight-color: transparent; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  padding: 10px 16px; background: var(--accent); color: var(--accent-ink);
  border-radius: var(--radius-sm); font-weight: 700;
  transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typo ---------- */
.h2 {
  font-size: clamp(2rem, 1.2rem + 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.03em;
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  text-wrap: balance;
}
.h2 em, .hero__title em, .final__title em {
  font-style: normal;
  font-weight: 300;
  font-variation-settings: "wdth" 80;
  color: var(--accent);
}
.h3 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 800;
  font-variation-settings: "wdth" 110;
}
.kicker, .eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 90, 31, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); } }

.section-head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head__lead { margin-top: 20px; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-soft); max-width: 60ch; }

/* ---------- Boutons ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .98rem; letter-spacing: .005em; white-space: nowrap;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-out), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent-2); transform: translateY(101%); border-radius: inherit;
  transition: transform .45s var(--ease-out);
}
.btn:hover::after { transform: none; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(255, 90, 31, .6); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost::after { background: currentColor; opacity: .08; }
.btn--light { background: var(--text); color: var(--ink); }
.btn--sm { --bh: 42px; padding: 0 18px; font-size: .9rem; }
.btn--lg { --bh: 60px; padding: 0 32px; font-size: 1.05rem; }
.btn:active { transform: scale(.97); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px;
}
.link-arrow span { transition: transform .3s var(--ease-out); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Médias / placeholders ---------- */
.media {
  position: relative; overflow: hidden; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #2a2e33, #15171a 70%);
}
.media::after {
  content: attr(data-ph);
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.media::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 70% 30%, rgba(255, 90, 31, .18), transparent 70%);
}
.media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .4s, backdrop-filter .4s, transform .5s var(--ease-out), border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(14, 15, 17, .72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
/* backdrop-filter crée un bloc conteneur : on le retire quand le menu plein écran est ouvert */
.header.menu-open { transform: none; -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; border-color: transparent; }
.header__inner {
  height: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.logo__mark { width: 34px; height: 34px; color: var(--accent); }
.logo__text { font-weight: 900; font-size: 1.15rem; letter-spacing: -.02em; font-variation-settings: "wdth" 120; line-height: 1; }
.logo__text b { font-weight: 300; font-variation-settings: "wdth" 85; margin-left: 4px; }

.header__cta { display: none; }
.burger {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.04); display: grid; place-content: center; gap: 6px; cursor: pointer;
}
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.nav {
  position: fixed; inset: 0; z-index: -1; padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  background: var(--bg); display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 40px) 32px);
  transition: clip-path .7s var(--ease-out); visibility: hidden;
}
.nav.is-open { clip-path: circle(150% at calc(100% - 40px) 32px); visibility: visible; }
.nav ul { display: grid; gap: 4px; }
.nav li a {
  display: block; font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 800; letter-spacing: -.03em;
  font-variation-settings: "wdth" 115; line-height: 1.15; padding: 4px 0;
}
.nav li a:hover { color: var(--accent); }
.nav__foot { display: grid; gap: 18px; }
.nav__cta { width: 100%; }
.nav__phone { font-family: var(--mono); font-size: 1.1rem; color: var(--accent); padding: 8px 0; }

@media (min-width: 1024px) {
  .burger { display: none; }
  .header__cta { display: inline-flex; }
  .nav {
    position: static; z-index: auto; padding: 0; background: none; flex-direction: row; align-items: center; gap: 28px;
    clip-path: none; visibility: visible; transition: none;
  }
  .nav ul { display: flex; gap: 4px; }
  .nav li a {
    font-size: .92rem; font-weight: 600; letter-spacing: 0; font-variation-settings: "wdth" 100;
    padding: 8px 14px; border-radius: 999px; transition: background-color .25s, color .25s;
  }
  .nav li a:hover, .nav li a.is-current { background: rgba(255,255,255,.07); color: var(--text); }
  .nav__foot { display: block; }
  .nav__cta { display: none; }
  .nav__phone { font-size: .9rem; color: var(--text); opacity: .8; }
  .nav__phone:hover { opacity: 1; color: var(--accent); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(40px, 8vh, 90px); overflow: hidden; overflow: clip; isolation: isolate;
}
.hero__media { position: absolute; inset: -6% 0 0; z-index: -1; will-change: transform; }
.media--hero::after { bottom: auto; top: 16%; text-align: right; }
/* Cadrage : le soudeur et les étincelles restent visibles en format portrait (mobile) */
.media--hero img { object-position: 72% 50%; }
.hero__sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; z-index: 2; }
.hero__veil {
  position: absolute; inset: 0; z-index: 3;
  background:
    linear-gradient(180deg, rgba(14,15,17,.55) 0%, rgba(14,15,17,.1) 30%, rgba(14,15,17,.65) 65%, var(--bg) 100%),
    linear-gradient(90deg, rgba(14,15,17,.7), transparent 70%);
}
.hero__title {
  font-size: clamp(3rem, 1.4rem + 8.5vw, 9rem);
  line-height: .9; letter-spacing: -.045em; font-weight: 900;
  font-variation-settings: "wdth" 118;
  margin: 8px 0 22px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--small {
  font-size: clamp(1.15rem, .9rem + 1.3vw, 2rem); font-weight: 400; letter-spacing: -.01em;
  font-variation-settings: "wdth" 100; color: var(--muted); margin-top: 18px; line-height: 1.2;
}
.hero__lead { max-width: 52ch; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: rgba(236,233,228,.82); }

.quick {
  margin-top: 30px; padding: 18px; max-width: 640px;
  background: rgba(21, 23, 26, .6); border: 1px solid var(--line); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.quick__label { font-weight: 700; margin-bottom: 12px; }
.quick__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.quick__btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 14px 6px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.03);
  font-weight: 700; font-size: .9rem; transition: border-color .3s, background-color .3s, transform .3s var(--ease-out);
}
.quick__btn:hover { border-color: var(--accent); background: rgba(255, 90, 31, .1); transform: translateY(-3px); }
.quick__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
.quick__meta { margin-top: 12px; font-size: .82rem; color: var(--muted); }
.tick { color: var(--accent); font-weight: 900; }
.quick__or a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

@media (min-width: 768px) {
  .quick { padding: 22px; }
  .quick__btn { flex-direction: row; justify-content: center; padding: 16px; font-size: 1rem; }
}

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 32px; width: 26px; height: 44px;
  border: 1.5px solid rgba(255,255,255,.4); border-radius: 20px; display: none;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--accent); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@media (min-width: 1024px) { .hero__scroll { display: block; } }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  overflow: hidden; overflow: clip; border-block: 1px solid var(--line); padding: 18px 0;
  background: var(--accent); color: var(--accent-ink); transform: rotate(-1.2deg) scale(1.02); margin: 0 0 40px;
}
.marquee__track {
  display: flex; width: max-content; gap: 28px; align-items: center;
  font-weight: 900; font-size: clamp(1.4rem, 1rem + 2vw, 2.6rem); letter-spacing: -.02em;
  font-variation-settings: "wdth" 120; text-transform: uppercase; white-space: nowrap;
  animation: marquee 32s linear infinite;
}
.marquee__track i { font-style: normal; font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Preuves / chiffres
   ========================================================================== */
.proof { padding-block: 40px 90px; }
.proof__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.proof__grid li { background: var(--bg); padding: 22px 18px; display: flex; flex-direction: column; gap: 6px; }
.proof__grid strong {
  font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem); line-height: 1; font-weight: 900; letter-spacing: -.04em;
  font-variation-settings: "wdth" 120; color: var(--text);
}
.proof__grid li > span { color: var(--muted); font-size: .92rem; line-height: 1.35; }
@media (min-width: 900px) { .proof__grid { grid-template-columns: repeat(4, 1fr); } .proof__grid li { padding: 32px 28px; } }

/* ==========================================================================
   Services (section claire)
   ========================================================================== */
.services { background: var(--paper); color: var(--ink); padding-block: clamp(80px, 12vw, 160px); border-radius: 28px 28px 0 0; position: relative; z-index: 1; }
.services .kicker { color: var(--accent-dark); }
.services .h2 em { color: var(--accent-dark); }
.services__list { display: grid; gap: clamp(56px, 8vw, 120px); }
.service { display: grid; gap: 24px; align-items: center; }
.service__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.service__media .media img { transform: scale(1.12); }
.service__num {
  position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--mono); font-size: .8rem;
  background: var(--paper); color: var(--ink); padding: 6px 10px; border-radius: 999px;
}
.service__body p { margin: 14px 0 20px; color: var(--ink-soft); font-size: 1.05rem; max-width: 46ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tags li { border: 1px solid var(--line-ink); border-radius: 999px; padding: 6px 12px; font-size: .86rem; font-weight: 500; background: rgba(255,255,255,.4); }
@media (min-width: 900px) {
  .service { grid-template-columns: 1fr 1fr; gap: 72px; }
  .service:nth-child(even) .service__media { order: 2; }
}

/* ==========================================================================
   Réalisations — scroll horizontal
   ========================================================================== */
.works { background: var(--paper); color: var(--ink); }
.works__pin { background: var(--bg); color: var(--text); border-radius: 28px 28px 0 0; padding-block: clamp(80px, 10vw, 120px) 60px; overflow: hidden; overflow: clip; }
.works__head { display: grid; gap: 4px; margin-bottom: 40px; }
.works__hint { font-family: var(--mono); font-size: .8rem; color: var(--muted); margin-top: 16px; }
.hint-desktop { display: none; }
.works__track {
  display: flex; gap: 14px; padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; /* pas de retour arrière accidentel en bout de galerie */
}
.works__track::-webkit-scrollbar { display: none; }
.work { flex: 0 0 82vw; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; gap: 12px; }
.work .media { aspect-ratio: 4 / 3; height: auto; border-radius: var(--radius); }
.work--tall .media { aspect-ratio: 3 / 4; }
.work figcaption { display: flex; flex-direction: column; }
.work figcaption span { font-weight: 700; font-size: 1.05rem; }
.work figcaption small { font-family: var(--mono); font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.work--cta {
  justify-content: center; align-items: flex-start; gap: 6px; padding: 32px;
  border-radius: var(--radius); background: linear-gradient(140deg, var(--accent), #c7350a); color: var(--accent-ink);
  min-height: 300px;
}
.work__cta-k { font-family: var(--mono); text-transform: uppercase; font-size: .8rem; }
.work__cta-t { font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); font-weight: 900; line-height: .95; letter-spacing: -.03em; font-variation-settings: "wdth" 115; margin-bottom: 22px; }
.work--cta .btn { background: var(--ink); color: var(--text); box-shadow: none; }
.works__progress { margin: 28px var(--gutter) 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.works__progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

@media (min-width: 900px) {
  .works__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 120px 60px; }
  .hint-desktop { display: inline; } .hint-mobile { display: none; }
  .works__head { grid-template-columns: 1fr auto; align-items: end; }
  .works__head .kicker { grid-column: 1 / -1; }
  .work { flex: 0 0 auto; width: clamp(420px, 38vw, 620px); }
  .work--tall { width: clamp(300px, 26vw, 440px); }
  .work--cta { width: clamp(340px, 30vw, 480px); align-self: stretch; }
  html.has-gsap .works__track { overflow: visible; scroll-snap-type: none; width: max-content; }
}

/* ==========================================================================
   Avant / après
   ========================================================================== */
.ba { padding-block: clamp(80px, 12vw, 160px); display: grid; gap: 36px; align-items: center; }
.ba__text p:not(.kicker) { margin: 18px 0 26px; color: var(--muted); max-width: 46ch; }
.ba__compare { --pos: 50%; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; touch-action: pan-y; user-select: none; }
.ba__img { position: absolute; inset: 0; z-index: 0; }
/* z-index explicite : clip-path crée une couche, sans quoi la photo « avant » (img en z-index 1) passerait devant */
.ba__img--after { clip-path: inset(0 0 0 var(--pos)); z-index: 1; }
.ba__img--after.media { background: repeating-linear-gradient(135deg, rgba(255,90,31,.06) 0 2px, transparent 2px 14px), linear-gradient(160deg, #3a3029, #1b1714 70%); }
.ba__img--after.media::after { text-align: right; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--text); z-index: 3; pointer-events: none;
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-weight: 900; box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.ba__tag { position: absolute; top: 14px; z-index: 3; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(14,15,17,.7); }
.ba__tag--l { left: 14px; } .ba__tag--r { right: 14px; background: var(--accent); color: var(--accent-ink); }
.ba__compare { cursor: ew-resize; -webkit-user-select: none; user-select: none; }
.ba__compare img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.ba__compare.is-dragging { cursor: grabbing; }
.ba__compare.is-dragging .ba__handle span { transform: translate(-50%, -50%) scale(1.12); }
.ba__handle span { transition: transform .2s var(--ease-out); }
.ba__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.ba__range:focus-visible + * , .ba__compare:has(.ba__range:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (min-width: 900px) { .ba { grid-template-columns: 5fr 7fr; gap: 72px; } }

/* ==========================================================================
   Méthode
   ========================================================================== */
.method { background: var(--paper); color: var(--ink); padding-block: clamp(80px, 12vw, 160px); border-radius: 28px; margin-inline: 8px; }
.method .kicker, .method .h2 em { color: var(--accent-dark); }
.method__grid { display: grid; gap: 48px; }
.method__head p:not(.kicker) { margin: 18px 0 28px; color: var(--ink-soft); max-width: 46ch; }
.steps { position: relative; display: grid; gap: 14px; }
.steps__line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line-ink); }
.steps__line span { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.step {
  position: relative; padding: 22px 22px 22px 80px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line-ink); box-shadow: 0 1px 0 rgba(0,0,0,.03);
}
.step__n {
  position: absolute; left: 12px; top: 18px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: .72rem; z-index: 1;
}
.step h3 { font-size: 1.25rem; font-weight: 800; font-variation-settings: "wdth" 110; letter-spacing: -.01em; }
.step p { color: var(--ink-soft); margin-top: 6px; font-size: .97rem; }
.steps__line { left: 27px; }
@media (min-width: 900px) {
  .method { margin-inline: 16px; }
  .method__grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .method__head { position: sticky; top: calc(var(--header-h) + 40px); }
  .step { padding: 30px 30px 30px 96px; }
  .step__n { left: 20px; top: 28px; width: 40px; height: 40px; font-size: .8rem; }
  .steps__line { left: 39px; }
}

/* ==========================================================================
   Zone
   ========================================================================== */
.zone { padding-block: clamp(80px, 12vw, 160px); }
.zone__grid { display: grid; gap: 48px; align-items: center; }
.zone__text p:not(.kicker) { margin: 18px 0 28px; color: var(--muted); max-width: 50ch; }
.towns { display: flex; flex-wrap: wrap; gap: 6px; }
.towns li { font-size: .85rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: rgba(236,233,228,.85); }
.towns li.is-home { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.zone__map { max-width: 520px; width: 100%; margin-inline: auto; }
.radar__ring { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; }
.radar__pulse { transform-origin: 200px 200px; animation: pulse 4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.radar__sweep { transform-origin: 200px 200px; animation: sweep 6s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar .pt { fill: var(--text); }
.radar .pt--home { fill: var(--accent); }
.radar text { fill: var(--muted); font-family: var(--mono); font-size: 11px; }
@media (min-width: 900px) { .zone__grid { grid-template-columns: 6fr 5fr; gap: 80px; } }

/* ==========================================================================
   Devis
   ========================================================================== */
.quote { padding-block: clamp(80px, 12vw, 140px); background: var(--bg-2); border-block: 1px solid var(--line); position: relative; overflow: hidden; overflow: clip; }
.quote::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,90,31,.18), transparent); pointer-events: none;
}
.quote__grid { display: grid; gap: 40px; position: relative; }
.quote__aside p:not(.kicker) { margin: 18px 0 24px; color: var(--muted); max-width: 44ch; }
.checks { display: grid; gap: 10px; margin-bottom: 30px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231a0b03' stroke-width='3'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.quote__call { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); max-width: 360px; }
.quote__call span { color: var(--muted); font-size: .9rem; }
.quote__phone { font-size: 1.7rem; font-weight: 900; letter-spacing: -.02em; font-variation-settings: "wdth" 115; color: var(--accent); }
.quote__call small { color: var(--muted); }
@media (min-width: 1000px) {
  .quote__grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .quote__aside { position: sticky; top: calc(var(--header-h) + 40px); }
}

.qform {
  background: var(--paper); color: var(--ink); border-radius: 20px; padding: 22px 18px 24px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); position: relative; scroll-margin-top: calc(var(--header-h) + 16px);
}
@media (min-width: 768px) { .qform { padding: 36px; } }
.qform__top { margin-bottom: 26px; }
.qform__progress { height: 4px; background: var(--paper-2); border-radius: 4px; overflow: hidden; }
.qform__progress span { display: block; height: 100%; width: 33.33%; background: var(--accent); border-radius: 4px; transition: width .6s var(--ease-out); }
.qform__labels { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; color: var(--ink-soft); }
.qform__labels li.is-active, .qform__labels li.is-done { color: var(--ink); font-weight: 500; }
.qform__labels li.is-done::before { content: "✓ "; color: var(--accent-dark); }

.qstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.qstep.is-entering { animation: stepIn .55s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.qstep__title { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; font-variation-settings: "wdth" 110; padding: 0; margin-bottom: 4px; }
.qstep__hint { color: var(--ink-soft); font-size: .9rem; margin-bottom: 18px; }
.qstep__sub { font-weight: 700; margin: 22px 0 10px; }

.choices { display: grid; gap: 10px; }
@media (min-width: 340px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box {
  display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 12px; height: 100%;
  border: 1.5px solid var(--line-ink); background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease-out);
}
.choice__box b { font-size: 1.05rem; }
.choice__box small { color: var(--ink-soft); font-size: .82rem; line-height: 1.35; }
.choice:hover .choice__box { transform: translateY(-2px); }
.choice input:checked + .choice__box { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,90,31,.2); }
.choice input:checked + .choice__box b::after { content: " ✓"; color: var(--accent-dark); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--accent); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line-ink); background: #fff; font-size: .9rem; font-weight: 500; transition: all .2s;
}
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips--anim .chip { animation: chipIn .4s var(--ease-out) backwards; }
@keyframes chipIn { from { opacity: 0; transform: translateY(8px) scale(.96); } }

.row { margin-bottom: 18px; }
.row--2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.row > .field__label, .field__label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: 8px; }
.field .field__label { margin-bottom: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line-ink);
  background: #fff; color: var(--ink); font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,90,31,.18); }
.field input.is-invalid { border-color: #c4271b; box-shadow: 0 0 0 3px rgba(196,39,27,.12); }
.qstep > .field { margin-bottom: 18px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; color: var(--ink-soft); margin: 6px 0 4px; cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--accent); }

.qerror { color: #c4271b; font-size: .88rem; font-weight: 600; min-height: 1.3em; margin-top: 10px; }
.qform__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.qform__nav .btn--ghost { color: var(--ink); }
.btn--submit { flex: 1 1 auto; }
@media (min-width: 560px) { .btn--submit { flex: 0 0 auto; } }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.qdone { text-align: center; padding: 30px 0 10px; outline: none; }
.qdone__icon svg { width: 72px; height: 72px; margin: 0 auto 18px; fill: none; stroke: var(--accent-dark); stroke-width: 2.5; stroke-linecap: round; }
.qdone__icon circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .8s var(--ease-out) forwards; }
.qdone__icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.qdone h3 { font-size: 1.8rem; font-weight: 900; letter-spacing: -.02em; font-variation-settings: "wdth" 115; }
.qdone p { color: var(--ink-soft); margin: 10px auto 24px; max-width: 40ch; }
.qdone .btn--ghost { color: var(--ink); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-block: clamp(80px, 12vw, 160px); }
.footer { content-visibility: auto; contain-intrinsic-size: auto 600px; }
.faq .section-head__lead { color: var(--muted); }
.faq__list { border-top: 1px solid var(--line); max-width: 980px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-size: clamp(1.05rem, 1rem + .5vw, 1.35rem); font-weight: 700; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-weight: 300; font-size: 1.4rem; transition: transform .4s var(--ease-out), background-color .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 50px 26px 0; color: var(--muted); max-width: 70ch; }
.faq details[open] p { animation: fadeDown .45s var(--ease-out); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* ==========================================================================
   CTA final
   ========================================================================== */
.final { position: relative; min-height: 80vh; display: grid; place-items: center; overflow: hidden; overflow: clip; isolation: isolate; text-align: center; }
.final__media { position: absolute; inset: -15% 0; z-index: -2; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg), rgba(14,15,17,.55) 40%, rgba(14,15,17,.75)); }
.final__title {
  font-size: clamp(3.4rem, 1.5rem + 11vw, 12rem); font-weight: 900; line-height: .85; letter-spacing: -.05em;
  font-variation-settings: "wdth" 125; margin-bottom: 36px;
}
.final__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding: 72px 0 calc(110px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.footer__grid { display: grid; gap: 36px; }
.footer__pitch { margin-top: 16px; color: var(--muted); max-width: 34ch; }
.footer__col h3 { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 500; margin-bottom: 14px; }
.footer__col p, .footer__col li { color: rgba(236,233,228,.8); margin-bottom: 10px; }
.footer__col li a, .footer__bottom a { display: inline-block; padding: 6px 0; }
.footer__col li { margin-bottom: 2px !important; }
.footer__col a:hover { color: var(--accent); }
.footer__legal-mini { font-size: .82rem; color: var(--muted) !important; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer__bottom a:hover { color: var(--text); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer { padding-bottom: 40px; } }

/* ==========================================================================
   Barre mobile
   ========================================================================== */
.mbar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90;
  display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(21,23,26,.82); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transform: translateY(140%); transition: transform .6s var(--ease-out);
}
.mbar.is-visible { transform: none; }
.mbar a { min-height: 50px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; }
.mbar__call { padding: 0 18px; border: 1px solid var(--line); }
.mbar__call svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.mbar__quote { background: var(--accent); color: var(--accent-ink); }
@media (min-width: 768px) { .mbar { display: none; } }

/* ==========================================================================
   Révélations au scroll (activées seulement si JS)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-card] .service__media { clip-path: inset(12% 8% 12% 8% round var(--radius)); transition: clip-path 1.2s var(--ease-out); }
.js [data-reveal-card].is-in .service__media { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-reveal-card] .service__body { opacity: 0; transform: translateY(30px); transition: opacity .9s .15s var(--ease-out), transform .9s .15s var(--ease-out); }
.js [data-reveal-card].is-in .service__body { opacity: 1; transform: none; }
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .hero__title.is-in .line > span { transform: none; }

/* ==========================================================================
   Accessibilité : mouvement réduit
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal-card] .service__body { opacity: 1; transform: none; }
  .js [data-reveal-card] .service__media { clip-path: none; }
  .js .hero__title .line > span { transform: none; }
  .marquee__track { animation: none; }
  .hero__sparks { display: none; }
}

/* ==========================================================================
   Formulaire : étapes cliquables, erreurs par champ, brouillon, sans JS
   ========================================================================== */
.qform__labels { gap: 6px; }
.qform__labels li { flex: 1; }
.qform__labels button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; background: none; border: 0;
  font: inherit; color: var(--ink-soft); text-transform: inherit; letter-spacing: inherit; cursor: pointer;
}
.qform__labels li:nth-child(2) { text-align: center; } .qform__labels li:nth-child(2) button { justify-content: center; }
.qform__labels li:last-child { text-align: right; }
.qform__labels button:disabled { cursor: default; }
.qform__labels button:not(:disabled):hover { color: var(--accent-dark); }
.qform__labels button.is-active, .qform__labels button.is-done { color: var(--ink); font-weight: 500; }
.qform__n {
  width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1.5px solid currentColor; font-size: .7rem;
}
.qform__labels button.is-active .qform__n { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.qform__labels button.is-done .qform__n { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-size: 0; }
.qform__labels button.is-done .qform__n::before { content: "✓"; font-size: .75rem; }
.qform__labels li.is-done::before { content: none; }

.qform__draft { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: #fff; border: 1px dashed var(--line-ink); font-size: .85rem; color: var(--ink-soft); }
.qform__draft button { background: none; border: 0; padding: 4px 0; color: var(--accent-dark); font-weight: 700; text-decoration: underline; cursor: pointer; }

.qstep__title small, .qstep__sub small { font-size: .55em; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.qstep__sub small { font-size: .85em; }
.field__label small { font-weight: 500; color: var(--ink-soft); }
.field__hint { font-size: .82rem; color: var(--ink-soft); }
.field__error { display: block; color: #b3261e; font-size: .84rem; font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.field input[aria-invalid] { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179,38,30,.12); }
.consent a { color: var(--ink); text-decoration: underline; }
.qform__reassure { font-size: .82rem; color: var(--ink-soft); font-weight: 600; }

/* Sans JavaScript : toutes les étapes visibles, envoi direct */
.qform:not(.is-enhanced) .qform__top,
.qform:not(.is-enhanced) [data-qnext],
.qform:not(.is-enhanced) [data-qprev] { display: none; }
.qform:not(.is-enhanced) .qstep + .qstep { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-ink); }

/* ==========================================================================
   Repères de défilement : progression et retour en haut
   ========================================================================== */
.header__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; opacity: 0; transition: opacity .3s; }
.header.is-scrolled .header__progress { opacity: 1; }
.header.menu-open .header__progress { opacity: 0; }
.header__progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); will-change: transform; }

.totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 52px; height: 52px; border-radius: 50%;
  display: none; place-items: center; cursor: pointer;
  background: rgba(21,23,26,.85); color: var(--text); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), background-color .25s, color .25s;
}
.totop svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
@media (min-width: 768px) { .totop { display: grid; } }

/* Ancres : les sections ne se cachent pas sous le header lors d'un saut natif */
section[id] { scroll-margin-top: var(--header-h); }

/* Masquage bref pendant le repositionnement (ancre partagée, rechargement) */
.is-restoring main, .is-restoring footer { visibility: hidden; animation: unhide 0s 2.5s forwards; } /* sécurité si le JS échoue */
@keyframes unhide { to { visibility: visible; } }

/* ==========================================================================
   Pages légales
   ========================================================================== */
.legal { padding: 120px 0 90px; max-width: 800px; }
.legal__back { margin-bottom: 28px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 900; letter-spacing: -.03em; line-height: 1; margin-bottom: 14px; font-variation-settings: "wdth" 115; }
.legal__updated { font-family: var(--mono); font-size: .78rem; color: var(--muted); margin-bottom: 36px; }
.legal h2 { font-size: 1.3rem; margin: 44px 0 12px; color: var(--accent); scroll-margin-top: 24px; }
.legal h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal p, .legal li { color: rgba(236,233,228,.82); margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 14px; }
.legal a:not(.link-arrow) { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal a:not(.link-arrow):hover { color: var(--accent); }
.legal__toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 8px; }
.legal__toc ul { margin: 0; }
.legal__card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 12px 0 16px; }
.legal__card p { margin-bottom: 4px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: .93rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: rgba(236,233,228,.82); }
.legal th { color: var(--text); font-weight: 700; }
.legal__table { overflow-x: auto; }
.legal__foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 6px 18px; }
