@import url("/fonts/fonts.css");

/* ==========================================================
   Bel Abri France — système visuel
   Charte tirée du logo : graphite, magenta, cyan, tricolore.
   ========================================================== */

:root {
  --graphite: #545352;
  --graphite-950: #1b1b1a;
  --graphite-900: #232322;
  --graphite-800: #2e2e2d;
  --graphite-700: #3c3b3a;
  --ink: #1f1f1e;
  --muted: #5d5c5a;
  --paper: #ffffff;
  --mist: #f2f3f4;
  --mist-2: #e8e9eb;
  --line: #dfe0e2;
  --magenta: #db3c8d;
  --magenta-deep: #c42e7d;
  --magenta-ink: #a8236a;
  --cyan: #26a2dc;
  --cyan-deep: #12719f;
  --navy: #243782;
  --red: #e30b13;

  --on-dark: #f4f3f1;
  --on-dark-muted: #b9b7b3;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1280px;
  --radius: 2px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: var(--graphite) var(--mist);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--magenta); color: #fff; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

:focus-visible {
  outline: 2px solid var(--magenta-deep);
  outline-offset: 3px;
  border-radius: 1px;
}
.on-dark :focus-visible, .hero :focus-visible, .site-header.is-over :focus-visible { outline-color: #fff; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typographie ---------- */

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; }

p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 58ch; }
.on-dark .lead { color: var(--on-dark-muted); }
.prose { max-width: 66ch; }
.prose p:last-child { margin-bottom: 0; }

.label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Boutons ---------- */

.btn {
  --bg: var(--magenta-deep);
  --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 54px; padding: 0 1.6em;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bg);
  border-radius: var(--radius);
  font: 500 1rem/1 var(--sans);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { --bg: var(--magenta-ink); box-shadow: 0 10px 24px -12px rgba(168, 35, 106, 0.6); }
.btn:active { transform: translateY(1px); }

.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: currentColor; }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; border-color: var(--ink); box-shadow: none; }
.on-dark .btn--ghost, .hero .btn--ghost, .band .btn--ghost { --fg: #fff; }
.on-dark .btn--ghost:hover, .hero .btn--ghost:hover, .band .btn--ghost:hover { --bg: #fff; --fg: var(--ink); border-color: #fff; }

.btn--call .btn__num { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Plaque constructeur (signature « fabriqué en France ») ---------- */

.plate {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 16px;
  padding: 14px 26px 14px 20px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #e9eaec 0%, #c9cbcf 48%, #dcdee1 100%);
  color: #2a2a29;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -1px 0 rgba(0,0,0,0.18), 0 10px 28px -14px rgba(0,0,0,0.55);
}
.plate::before, .plate::after {
  content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #8d9095 70%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.25);
  top: 8px; right: 8px;
}
.plate::after { top: auto; bottom: 8px; }
.plate__flag { grid-row: span 2; display: flex; width: 26px; height: 18px; border-radius: 1px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); }
.plate__flag i { flex: 1; }
.plate__flag i:nth-child(1) { background: var(--navy); }
.plate__flag i:nth-child(2) { background: #fff; }
.plate__flag i:nth-child(3) { background: var(--red); }
.plate__top { font: 600 0.72rem/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.plate__bottom { font: 400 0.8rem/1.3 var(--sans); letter-spacing: 0.06em; color: #45454a; }

.tricolore { display: flex; height: 3px; width: 72px; }
.tricolore i { flex: 1; }
.tricolore i:nth-child(1) { background: var(--navy); }
.tricolore i:nth-child(2) { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tricolore i:nth-child(3) { background: var(--red); }

/* ---------- En-tête ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--ink);
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}
.site-header.is-over { background: transparent; color: #fff; border-color: transparent; }
.site-header.is-over .brand__tag { color: #fff; }
.site-header.is-over .brand__mark .wave-m { fill: #ef6aac; }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__mark { width: 56px; height: auto; }
.brand__words { display: grid; line-height: 1; }
.brand__name { font: 600 1.18rem/1 var(--sans); letter-spacing: 0.01em; }
.brand__tag { font: 500 0.64rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--magenta-deep); margin-top: 6px; }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.nav a {
  position: relative; text-decoration: none; font-size: 0.98rem; font-weight: 450; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0.03em; white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; }
.header-cta .btn { min-height: 46px; padding: 0 1.25em; font-size: 0.95rem; }

.burger {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; color: inherit; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 24px; height: 1.5px; background: currentColor; position: relative; transition: background 0.3s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease-out);
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .header-phone__num { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav, .header-cta { display: none; }
  .burger { display: inline-flex; }
  .brand__mark { width: 48px; }
  .menu-open .site-header { background: var(--graphite-950); color: #fff; border-color: transparent; }
  .menu-open .site-header .brand__tag { color: #fff; }
  .menu-open .nav {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; background: var(--graphite-950); color: #fff;
    padding: 32px var(--gutter) 140px; overflow-y: auto;
  }
  .menu-open .nav ul { flex-direction: column; gap: 0; }
  .menu-open .nav a { display: block; font-family: var(--serif); font-size: 2.1rem; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .menu-open .nav a::after { display: none; }
  .menu-open { overflow: hidden; }
}

/* ---------- Barre d'appel mobile ---------- */

.callbar { display: none; }
@media (max-width: 900px) {
  .callbar {
    display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px;
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(27,27,26,0.96);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .callbar .btn { min-height: 52px; padding: 0 0.8em; font-size: 0.98rem; }
  .callbar .btn--ghost { --fg: #fff; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ---------- Héros ---------- */

.hero {
  position: relative; min-height: min(100svh, 980px); color: #fff;
  display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  background: var(--graphite-950);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,20,19,0.55) 0%, rgba(20,20,19,0) 22%),
    linear-gradient(0deg, rgba(20,20,19,0.92) 0%, rgba(20,20,19,0.55) 38%, rgba(20,20,19,0) 68%),
    linear-gradient(90deg, rgba(20,20,19,0.5) 0%, rgba(20,20,19,0) 60%);
}
.hero__inner { width: 100%; padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(40px, 7vh, 80px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.hero h1 { max-width: 13ch; }
.hero h1 em { color: #fff; }
.hero__sub { margin-top: 24px; font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: #e2e0dc; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__aside { display: grid; gap: 18px; justify-items: end; }
.hero__note { font-size: 0.9rem; color: #d3d1cd; text-align: right; max-width: 30ch; }

.hero--page { min-height: clamp(460px, 68vh, 720px); }
.hero--page h1 { max-width: 16ch; }

@media (max-width: 900px) {
  .hero { min-height: calc(100svh - 76px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__aside { justify-items: start; }
  .hero__note { text-align: left; }
  .hero__actions .btn { flex: 1 1 260px; }
  .hero--page { min-height: 520px; }
}

/* Moment d'ouverture : la photo se pose, le titre se lève, la vague se dessine */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__media img { animation: settle 2.4s var(--ease-out) both; }
  .js .hero .rise { animation: rise 1.2s var(--ease-out) both; }
  .js .hero .rise:nth-child(2) { animation-delay: 0.12s; }
  .js .hero .rise:nth-child(3) { animation-delay: 0.24s; }
  .js .hero .hero__aside { animation: rise 1.2s 0.4s var(--ease-out) both; }
  .js .hero .wave-line path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s 0.5s var(--ease-out) forwards; }
}
@keyframes settle { from { transform: scale(1.07); filter: brightness(0.7); } to { transform: none; filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.wave-line { width: 180px; height: 26px; margin-bottom: 26px; overflow: visible; }
.wave-line path { fill: none; stroke-width: 2.4; stroke-linecap: round; }

/* ---------- Sections ---------- */

.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--tight { padding: clamp(64px, 8vw, 104px) 0; }
.section--mist { background: var(--mist); }
.on-dark { background: var(--graphite-900); color: var(--on-dark); }
.on-dark .muted, .on-dark p { color: var(--on-dark-muted); }
.on-dark h2, .on-dark h3 { color: #fff; }

.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.head p { margin: 0; color: var(--muted); max-width: 52ch; }
.on-dark .head p { color: var(--on-dark-muted); }
@media (max-width: 900px) { .head { grid-template-columns: 1fr; } }

/* ---------- Bandeau atelier (made in France) ---------- */

.made { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.made__media { position: relative; }
.made__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.made__media .plate { position: absolute; left: clamp(-24px, -2vw, -12px); bottom: 28px; }
.made h2 { margin-bottom: 28px; }
.steps { list-style: none; margin: 44px 0 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps strong { font: 500 0.82rem/1.6 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--magenta-deep); }
.steps span { color: var(--muted); }
@media (max-width: 900px) {
  .made { grid-template-columns: 1fr; }
  .made__media img { aspect-ratio: 4 / 3; }
  .made__media .plate { left: 12px; bottom: 12px; }
  .steps li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Sélecteur de hauteur (signature) ---------- */

.heights { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.heights__tabs { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.14); }
.heights__tab {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  width: 100%; padding: 22px 4px; text-align: left; cursor: pointer;
  background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,0.14); color: var(--on-dark-muted);
  font: inherit; transition: color 0.35s var(--ease-out);
}
.heights__tab .t-name { font: 600 clamp(1.7rem, 2.8vw, 2.4rem)/1.05 var(--serif); color: inherit; }
.heights__tab .t-hint { font-size: 0.92rem; color: #8f8d89; transition: color 0.35s; }
.heights__tab:hover { color: #fff; }
.heights__tab[aria-selected="true"] { color: #fff; }
.heights__tab .t-name { transition: transform 0.5s var(--ease-out); }
.heights__tab[aria-selected="true"] .t-name { transform: translateX(18px); }
.heights__tab[aria-selected="true"] .t-hint { color: var(--cyan); }


.profile { margin-top: 36px; }
.profile svg { width: 100%; height: auto; overflow: visible; }
.profile .arch {
  transform-origin: 50% 100%; transform-box: fill-box;
  transition: transform 0.9s var(--ease-out);
}
.profile .dim { transition: transform 0.9s var(--ease-out); transform-box: view-box; }
.profile figcaption { margin-top: 10px; font-size: 0.86rem; color: #8f8d89; }

.heights__panel { position: relative; display: grid; }
.heights__view { grid-area: 1 / 1; display: grid; grid-template-rows: auto 1fr; gap: 28px; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease-out), visibility 0s 0.6s; }
.heights__view.is-active { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease-out), visibility 0s; }
.heights__view img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.heights__view h3 { margin-bottom: 12px; }
.heights__view .models { margin-top: 18px; font-size: 0.95rem; color: var(--on-dark-muted); }
.heights__view .models b { color: #fff; font-weight: 500; }
.heights__foot { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; margin-top: 26px; }
.heights__foot .link-arrow { color: #fff; }

@media (max-width: 900px) {
  .heights { grid-template-columns: 1fr; }
  .heights__tabs { flex-direction: row; overflow-x: auto; border: 0; gap: 8px; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .heights__tab { flex: none; width: auto; grid-template-columns: 1fr; border: 1px solid rgba(255,255,255,0.2); padding: 12px 18px; border-radius: 40px; }
  .heights__tab .t-name { font: 500 1rem/1 var(--sans); }
  .heights__tab .t-hint { display: none; }
  .heights__tab[aria-selected="true"] .t-name { transform: none; }
  .heights__tab[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
  .profile { margin-top: 24px; }
}

/* ---------- Gamme (rangées éditoriales) ---------- */

.range { display: grid; gap: clamp(72px, 9vw, 130px); }
.range__row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.range__row:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.range__row:nth-child(even) .range__media { order: 2; }
.range__media { position: relative; overflow: hidden; }
.range__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.range__row:hover .range__media img { transform: scale(1.025); }
.range__body h3 { font-size: clamp(1.9rem, 3vw, 2.7rem); margin-bottom: 18px; }
.range__body p { color: var(--muted); }
.range__body .link-arrow { margin-top: 12px; }
.range__meta { margin: 22px 0 26px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.range__meta li { font-size: 0.86rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 40px; color: var(--ink); }
@media (max-width: 900px) {
  .range__row, .range__row:nth-child(even) { grid-template-columns: 1fr; }
  .range__row:nth-child(even) .range__media { order: 0; }
}

/* ---------- Bénéfices (registre) ---------- */

.ledger { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); }
.ledger__media { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.ledger__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ledger dl { margin: 0; border-top: 1px solid rgba(255,255,255,0.14); }
.ledger dl > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 40px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.ledger dt { font: 600 clamp(1.6rem, 2.6vw, 2.2rem)/1.1 var(--serif); color: #fff; }
.ledger dd { margin: 0; color: var(--on-dark-muted); }
.ledger dd b { color: #fff; font-weight: 500; }
@media (max-width: 900px) {
  .ledger { grid-template-columns: 1fr; }
  .ledger__media { position: static; }
  .ledger__media img { aspect-ratio: 16 / 10; }
  .ledger dl > div { grid-template-columns: 1fr; }
}

/* ---------- Bande appel (réparation / fin de page) ---------- */

.band { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--graphite-950); }
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,20,19,0.94) 0%, rgba(20,20,19,0.78) 48%, rgba(20,20,19,0.35) 100%); }
.band__inner { padding: clamp(80px, 10vw, 140px) 0; max-width: 720px; }
.band h2 { margin-bottom: 22px; }
.band p { color: #d6d4d0; max-width: 54ch; }
.band .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- Témoignages ---------- */

.voices { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 40px; }
.voice { margin: 0; }
.voice blockquote { margin: 0; font: 500 clamp(1.4rem, 2.2vw, 1.85rem)/1.32 var(--serif); }
.voice blockquote::before { content: "«\00a0"; color: var(--magenta-deep); }
.voice blockquote::after { content: "\00a0»"; color: var(--magenta-deep); }
.voice figcaption { margin-top: 16px; font-size: 0.92rem; color: var(--muted); }
.voice:nth-child(1) { grid-column: 1 / span 7; }
.voice:nth-child(1) blockquote { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.18; }
.voice:nth-child(2) { grid-column: 9 / span 4; align-self: end; }
.voice:nth-child(3) { grid-column: 2 / span 5; }
.voice:nth-child(4) { grid-column: 8 / span 5; }
.voices__foot { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) {
  .voices { grid-template-columns: 1fr; gap: 40px; }
  .voice:nth-child(n) { grid-column: auto; }
}

/* ---------- Fondatrice / portrait ---------- */

.founder { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.founder__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
/* Cadre en arc : reprend le profil de l'abri dessiné dans le logo */
.arch-frame { border-radius: 50% 50% 0 0 / 14% 14% 0 0; overflow: hidden; }
.founder h2 { margin-bottom: 26px; }
.facts { margin: 36px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts li { padding: 22px 20px 0 0; }
.facts b { display: block; font: 600 clamp(1.6rem, 2.4vw, 2.1rem)/1.1 var(--serif); font-variant-numeric: lining-nums; }
.facts span { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; }
  .founder__media { max-width: 420px; }
  .facts { grid-template-columns: 1fr; }
  .facts li { padding: 16px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- FAQ ---------- */

.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 26px 0; font: 400 clamp(1.2rem, 1.7vw, 1.45rem)/1.3 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 22px; height: 22px; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--magenta-deep); transition: transform 0.45s var(--ease-out); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq summary:hover { color: var(--magenta-ink); }
.faq .answer { padding: 0 0 28px; color: var(--muted); max-width: 64ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Appel final ---------- */

.closing { text-align: center; }
.closing h2 { max-width: 18ch; margin: 0 auto 22px; }
.closing p { margin: 0 auto; max-width: 52ch; color: var(--on-dark-muted); }
.closing__phone {
  display: inline-block; margin: 42px 0 10px; text-decoration: none; color: #fff;
  font: 400 clamp(2.6rem, 8vw, 6rem)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0.01em;
  background-image: linear-gradient(90deg, var(--magenta), var(--cyan)); background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%;
  padding-bottom: 10px; transition: background-size 0.8s var(--ease-out);
}
.closing__phone:hover { background-size: 100% 2px; }
.closing .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.closing .small { margin-top: 26px; font-size: 0.92rem; }

/* ---------- Pied de page ---------- */

.site-footer { background: var(--graphite-950); color: var(--on-dark-muted); padding: 80px 0 40px; font-size: 0.95rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.footer__title { font: 500 0.78rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__brand .brand { color: #fff; margin-bottom: 22px; }
.footer__brand .brand__tag { color: #ef6aac; }
.footer__brand p { max-width: 38ch; }
.footer__legal { margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 0.85rem; }
.footer__legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 22px; margin: 0; padding: 0; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; transition: border-color 0.3s, background 0.3s; }
.social a:hover { background: #fff; color: var(--ink); text-decoration: none; }
.social svg { width: 17px; height: 17px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Pages intérieures ---------- */

.subnav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; padding: 18px 0; white-space: nowrap; text-decoration: none; font-size: 0.95rem; color: var(--muted); border-bottom: 1px solid transparent; }
.subnav a:hover, .subnav a.is-current { color: var(--ink); border-color: var(--magenta-deep); }

.model { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.model--flip .model__media { order: 2; }
.model__media { display: grid; gap: 14px; }
.model__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.model__media .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.model__media .duo img { aspect-ratio: 4 / 3; }
.model__body h2 { margin-bottom: 22px; }
.model__body > p { color: var(--muted); }
.specs { margin: 30px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.specs li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs svg { width: 18px; height: 18px; margin-top: 4px; color: var(--magenta-deep); }
.model__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.model .plate { margin-top: 6px; }
@media (max-width: 900px) {
  .model { grid-template-columns: 1fr; }
  .model--flip .model__media { order: 0; }
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.process {
  --track: rgba(255,255,255,0.18); --dot-bg: var(--graphite-900); --step-ink: #fff; --step-muted: var(--on-dark-muted);
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; counter-reset: step;
}
.section:not(.on-dark) .process { --track: var(--line); --dot-bg: var(--paper); --step-ink: var(--ink); --step-muted: var(--muted); }
/* Le rail : une ligne continue qui relie les étapes, remplie du magenta au cyan au défilement */
.process::before, .process::after {
  content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--track);
}
.process::after {
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  transform: scaleX(var(--fill, 1)); transform-origin: left; transition: transform 1.6s var(--ease-out);
}
.js .process:not(.is-in) { --fill: 0; }
.process li { position: relative; counter-increment: step; padding-top: 84px; }
.process li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; z-index: 1;
  background: var(--dot-bg); border: 2px solid var(--magenta);
  font: 600 1.05rem/1 var(--serif); color: var(--step-ink); font-variant-numeric: lining-nums;
}
.process li:last-child::before { border-color: var(--cyan); }
.process h3 { font-size: clamp(1.35rem, 1.9vw, 1.65rem); margin-bottom: 10px; color: var(--step-ink); }
.process p { margin: 0; color: var(--step-muted); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before, .process::after { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .process::after { background: linear-gradient(180deg, var(--magenta), var(--cyan)); transform: scaleY(var(--fill, 1)); transform-origin: top; }
  .process li { padding: 12px 0 40px 84px; min-height: 56px; }
  .process li:last-child { padding-bottom: 0; }
}

.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic > :nth-child(1) { grid-column: span 7; aspect-ratio: 7 / 5; }
.mosaic > :nth-child(2) { grid-column: span 5; aspect-ratio: auto; }
.mosaic > :nth-child(3) { grid-column: span 4; aspect-ratio: 4 / 3; }
.mosaic > :nth-child(4) { grid-column: span 4; aspect-ratio: 4 / 3; }
.mosaic > :nth-child(5) { grid-column: span 4; aspect-ratio: 4 / 3; }
@media (max-width: 700px) { .mosaic > :nth-child(n) { grid-column: span 12; aspect-ratio: 4 / 3; } }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact__direct { position: sticky; top: calc(var(--header-h) + 32px); }
.contact__phone { display: block; text-decoration: none; font: 600 clamp(2.2rem, 4.6vw, 3.6rem)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; margin: 18px 0 10px; color: var(--ink); }
.contact__phone:hover { color: var(--magenta-ink); }
.contact__list { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact__list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.contact__list .label { color: var(--muted); padding-top: 3px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__direct { position: static; } .contact__list li { grid-template-columns: 1fr; gap: 2px; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.92rem; font-weight: 500; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid #c9cacd; border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s;
  caret-color: var(--magenta-deep);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7a7976; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--graphite); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--magenta-deep); box-shadow: 0 0 0 3px rgba(196, 46, 125, 0.18); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field .error { font-size: 0.86rem; color: #b3261e; min-height: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { margin-bottom: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 10px 16px; border: 1px solid #c9cacd; border-radius: 40px; font-size: 0.95rem; transition: all 0.25s var(--ease-out); cursor: pointer; }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--magenta-deep); outline-offset: 2px; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 6px; }
.form__foot small { color: var(--muted); max-width: 46ch; }
.form__status { grid-column: 1 / -1; padding: 16px 18px; background: var(--mist); border-radius: var(--radius); }
.form__status[hidden] { display: none; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.legal { max-width: 74ch; }
.legal h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 48px 0 16px; }
.legal p, .legal li { color: var(--muted); }
.todo { background: #fff4d6; color: #5a4300; padding: 0 4px; }

/* ---------- Révélations au défilement (contenu visible par défaut) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* Guide de choix : intitulé au-dessus de sa description dans les demi-colonnes */
.split .steps li { grid-template-columns: 1fr; gap: 4px; }

/* ---------- Bandeau de consentement ---------- */

.consent {
  position: fixed; z-index: 70; left: 16px; bottom: 16px; width: min(420px, calc(100% - 32px));
  padding: 22px 24px 24px; background: var(--graphite-950); color: var(--on-dark-muted);
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.6);
}
.consent[hidden] { display: none; }
.consent__title { margin: 0 0 8px; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: #fff; }
.consent p { margin: 0; font-size: 0.95rem; line-height: 1.55; }
.consent a { color: #fff; text-underline-offset: 3px; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
/* Refuser et Accepter ont exactement le même poids visuel (recommandation CNIL) */
.consent .btn { --bg: transparent; --fg: #fff; min-height: 46px; padding: 0 1em; font-size: 0.95rem; border-color: rgba(255,255,255,0.6); box-shadow: none; }
.consent .btn:hover { --bg: #fff; --fg: var(--ink); border-color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .consent { animation: consent-in 0.6s var(--ease-out) both; }
  @keyframes consent-in { from { opacity: 0; transform: translateY(14px); } }
}
@media (max-width: 900px) {
  .consent { left: 12px; right: 12px; width: auto; bottom: calc(84px + env(safe-area-inset-bottom)); padding: 18px 18px 20px; }
}

.link-btn { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .link-btn { color: var(--on-dark); text-decoration: none; }
.site-footer .link-btn:hover { text-decoration: underline; }
