/* ==========================================================================
   Legloobe – feuille de style principale
   Palette : bleu nuit + or du logo. Une seule famille : Bricolage Grotesque.
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #0a1830;
  --navy: #12294f;
  --navy-soft: #1d3a6b;
  --gold: #fdc70c;
  --gold-soft: #ffe28a;
  --paper: #f4f7fb;
  --white: #ffffff;
  --ink: #12233f;
  --slate: #3f5070;
  --line: #d5ddeb;
  --line-dark: rgba(255, 255, 255, 0.18);
  --header-h: 76px;
  --radius: 8px;
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --space-section: clamp(4rem, 9vw, 7.5rem);
  --focus: #1a5fd0;
}

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

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

body {
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}
.on-dark :focus-visible,
.site-header :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--gold);
  color: var(--night);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.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;
}

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

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

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.1rem + 4.2vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3rem); font-weight: 650; }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; font-weight: 650; }

.lead {
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.55;
  max-width: 38rem;
}
.prose { max-width: 62ch; }
.muted { color: var(--slate); }
.on-dark .muted { color: rgba(255, 255, 255, 0.78); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.7rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--gold { background: var(--gold); color: var(--night); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-soft); }
.btn--wa { background: #1faa59; color: #fff; }
.btn--wa:hover { background: #178a47; }
.btn svg { width: 1.25rem; height: 1.25rem; flex: none; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--night);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}
.brand { display: block; line-height: 0; }
.brand img { height: calc(var(--header-h) - 14px); width: auto; display: block; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav__list { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.8rem); }
.nav__link {
  font-size: 0.97rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--white); border-bottom-color: var(--gold); }
.nav .btn { min-height: 2.6rem; padding: 0.45rem 1.1rem; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--night);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    display: block;
    padding: 0.95rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav .btn { margin-top: 1.2rem; min-height: 3rem; }
}

/* ---------- Héros : une journée solaire ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--night);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__stage { order: 2; position: relative; height: min(86vw, 440px); }
.hero__stage svg { display: block; width: 100%; height: 100%; }
.hero__grid { display: contents; }
.hero__copy { order: 1; padding: 2.75rem var(--gutter) 2rem; }
.hero__control { order: 3; padding: 1.25rem var(--gutter) 2rem; }

.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 1.4rem; color: rgba(255, 255, 255, 0.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__proof {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.85);
}
.hero__proof::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

@media (min-width: 861px) {
  .hero { display: block; min-height: clamp(620px, calc(100svh - var(--header-h)), 820px); }
  .hero__stage { position: absolute; inset: 0; height: auto; z-index: 0; }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(10, 24, 48, 0.68) 0%, rgba(10, 24, 48, 0.35) 38%, rgba(10, 24, 48, 0) 58%);
    pointer-events: none;
  }
  .hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: inherit;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
  }
  .hero__copy { padding: clamp(2rem, 5vh, 3.5rem) 0 1.5rem; max-width: 36rem; }
  .hero__control { padding: 0 0 1.6rem; }
}

/* Curseur de l'heure */
.timeline {
  max-width: 40rem;
  padding: 0.9rem 1.3rem 0.8rem;
  background: rgba(10, 24, 48, 0.78);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}
.timeline__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.timeline label { font-weight: 600; font-size: 0.98rem; }
.timeline output {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.timeline__info { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.3rem 1.5rem; margin-top: 0.5rem; }
.timeline__status { flex: 1 1 18rem; color: rgba(255, 255, 255, 0.95); font-size: 1rem; line-height: 1.4; }
.timeline__meters { display: flex; gap: 0.3rem 1.2rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
.timeline__meters strong { color: var(--white); font-variant-numeric: tabular-nums; }
.timeline__ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}
.timeline__note { margin-top: 0.45rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2.2rem;
  margin: 0.55rem 0 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #2b4a80 0%, var(--gold) 50%, #2b4a80 100%);
}
input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #2b4a80 0%, var(--gold) 50%, #2b4a80 100%);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.7rem;
  height: 1.7rem;
  margin-top: -0.65rem;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(10, 24, 48, 0.6);
}
input[type="range"]::-moz-range-thumb {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(10, 24, 48, 0.6);
}

/* Scène SVG */
#scene { --sky-top: #245fa8; --sky-hor: #7fb2e5; --hill-far: #17386b; --hill-near: #0d2347; --stars: 0; --win: 0.5; }
#scene .sky-stop-a { stop-color: var(--sky-top); }
#scene .sky-stop-b { stop-color: var(--sky-hor); }
#scene .panel { fill: var(--panel, #10264a); }
#scene .hill-far { fill: var(--hill-far); }
#scene .hill-near { fill: var(--hill-near); }
#scene .stars { opacity: var(--stars); }
#scene .window { opacity: var(--win); }
#scene .flow {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 2 10;
  opacity: 0;
  transition: opacity 0.3s;
}
#scene .flow.is-on { opacity: 1; animation: flow 1s linear infinite; }
#scene .flow.is-rev { animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -12; } }

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

.section { padding-block: var(--space-section); }
.section--paper { background: var(--paper); }
.section--night { background: var(--night); color: var(--white); }
.section__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__head .lead { margin-top: 1.1rem; }

/* Publics : trois lignes, chacune avec son pictogramme */
.audiences { border-top: 1px solid var(--line-dark); }
.audience {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1rem 1.5rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line-dark);
}
.audience__icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
}
.audience__icon svg { width: 2.4rem; height: 2.4rem; }
.audience__body { display: grid; gap: 0.8rem; }
.audience h3 { font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); font-weight: 650; }
.audience__tag { color: var(--gold-soft); font-size: 1.1rem; font-weight: 500; }
.audience ul { display: grid; gap: 0.5rem; margin-top: 0.4rem; color: rgba(255, 255, 255, 0.86); }
.audience li { position: relative; padding-left: 1.4rem; }
.audience li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}
@media (min-width: 900px) {
  .audience { grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; padding-block: 2.6rem; }
  .audience__body { display: contents; }
  .audience__title { grid-column: 2; }
  .audience ul { grid-column: 3; grid-row: 1; margin-top: 0.3rem; }
}

/* Étapes : une vraie séquence */
.steps { display: grid; gap: 0; counter-reset: step; position: relative; }
.step { position: relative; display: grid; align-content: start; grid-template-columns: 3.2rem 1fr; gap: 0 1.2rem; padding-bottom: 2rem; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: 1.55rem;
  top: 3.2rem;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.step:last-child::before { display: none; }
.step__n {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--night);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: 0.55rem; }
.step p { margin-top: 0.4rem; color: var(--slate); max-width: 34ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 1.5rem; }
  .step { grid-template-columns: 1fr; padding-bottom: 0; }
  .step::before { left: 3.2rem; right: -1.5rem; top: 1.55rem; bottom: auto; width: auto; height: 2px; }
  .step h3 { margin-top: 1.2rem; }
}
.steps-note {
  margin-top: 2.5rem;
  padding: 1.1rem 1.3rem;
  border-left: 4px solid var(--gold);
  background: var(--paper);
  max-width: 46rem;
}

/* Financement : tableau comparatif */
.compare { width: 100%; border-collapse: collapse; }
.compare caption { text-align: left; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1.1rem 1.2rem; }
.compare thead th {
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 0.9rem;
}
.compare tbody th {
  width: 14rem;
  font-weight: 600;
  color: var(--slate);
  border-top: 1px solid var(--line);
}
.compare tbody td { border-top: 1px solid var(--line); }
@media (max-width: 899px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody tr { padding: 0; }
  .compare tbody th { width: 100%; border-top: 0; background: var(--navy); color: var(--white); border-radius: var(--radius) var(--radius) 0 0; margin-top: 1.5rem; padding: 0.7rem 1rem; }
  .compare td { border: 1px solid var(--line); border-top: 0; padding: 0.8rem 1rem; }
  .compare td:last-child { border-radius: 0 0 var(--radius) var(--radius); }
  .compare td::before { content: attr(data-label); display: block; font-weight: 650; margin-bottom: 0.15rem; }
}
.finance-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.finance-cta p { max-width: 40rem; color: var(--slate); }

/* Équipements : des noms de marque en grand */
.brands { border-top: 1px solid var(--line); }
.brand-row {
  display: grid;
  gap: 0.6rem 2rem;
  padding-block: 1.8rem;
  border-bottom: 1px solid var(--line);
}
.brand-row__name { font-size: clamp(2rem, 1rem + 4vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.brand-row__role { font-weight: 600; margin-bottom: 0.2rem; }
.brand-row__text { color: var(--slate); max-width: 46ch; }
@media (min-width: 860px) {
  .brand-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding-block: 2.2rem; }
}
.warranty {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 48rem;
}
.warranty svg { width: 2.2rem; height: 2.2rem; flex: none; color: var(--navy); }

/* Réalisations */
.projects { display: grid; gap: 2.5rem; }
.project__visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night);
}
.project__visual svg, .project__visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.project h3 { margin-top: 1.2rem; font-size: 1.55rem; }
.project__where { margin-top: 0.25rem; color: var(--slate); }
.project ul { margin-top: 1rem; display: grid; gap: 0.45rem; }
.project li { position: relative; padding-left: 1.4rem; }
.project li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--navy);
}
.badge {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
}
@media (min-width: 900px) {
  .projects { grid-template-columns: 7fr 5fr; gap: 3.5rem; align-items: start; }
  .project:last-child { margin-top: 4rem; }
  .project:last-child .project__visual { aspect-ratio: 1 / 1; }
}

/* FAQ */
.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 500;
}
.faq details[open] summary::after { content: "\2212"; background: var(--gold); border-color: var(--gold); }
.faq details > div { padding: 0 3.5rem 1.5rem 0; color: var(--slate); max-width: 60ch; }

/* Contact */
.contact { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact { grid-template-columns: 5fr 6fr; gap: 4.5rem; align-items: start; } }
.contact__list { margin-top: 2rem; display: grid; gap: 1rem; }
.contact__list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact__list svg { width: 1.4rem; height: 1.4rem; flex: none; margin-top: 0.2rem; color: var(--gold); }
.contact__list a { text-decoration: underline; text-underline-offset: 3px; }
.contact .btn--wa { margin-top: 2rem; }

.form {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid;
  gap: 1.15rem;
}
.field { display: grid; gap: 0.4rem; }
.field label, .field legend { font-weight: 600; font-size: 0.98rem; }
.field .hint { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid #9aa9c2;
  border-radius: 6px;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
}
.field-row { display: grid; gap: 1.15rem; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; color: var(--slate); }
.consent input { width: 1.3rem; height: 1.3rem; margin-top: 0.2rem; flex: none; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: 0.9rem 1rem; border-radius: 6px; font-weight: 500; }
.form__status[hidden] { display: none; }
.form__status.is-ok { background: #dff3e6; color: #124a29; }
.form__status.is-error { background: #fde4e1; color: #7a1c12; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: 0.65; cursor: progress; }

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

.site-footer { background: var(--night); color: rgba(255, 255, 255, 0.8); padding-block: 3.5rem 2rem; font-size: 0.97rem; }
.site-footer__grid { display: grid; gap: 2.2rem; }
@media (min-width: 860px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.site-footer img { height: 84px; width: auto; display: block; }
.site-footer h2 { font-size: 1.05rem; font-weight: 650; letter-spacing: 0; color: var(--white); margin-bottom: 0.8rem; }
.site-footer ul { display: grid; gap: 0.5rem; }
.site-footer a { text-underline-offset: 3px; }
.site-footer a:hover { color: var(--gold); }
.site-footer__legal { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1.5rem; font-size: 0.88rem; }

/* ---------- Pages simples (mentions légales, 404) ---------- */

.page { padding-block: clamp(3rem, 7vw, 5.5rem); }
.page h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.2rem); margin-bottom: 1.5rem; }
.page h2 { font-size: 1.4rem; margin: 2.2rem 0 0.6rem; font-weight: 650; }
.page p, .page li { max-width: 68ch; }
.page p + p { margin-top: 0.8rem; }
.page ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: 0.3rem; }
.notfound { min-height: 60vh; display: grid; align-content: center; justify-items: start; gap: 1.2rem; }
.notfound .big { font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; line-height: 0.9; color: var(--gold); letter-spacing: -0.04em; }

/* ---------- Préférences utilisateur ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #scene .flow.is-on { animation: none; stroke-dasharray: none; }
  .btn { transition: none; }
}

@media print {
  .site-header, .hero__stage, .timeline, .form, .nav-toggle { display: none !important; }
  .section--night { background: #fff; color: #000; }
}
