/* Polices hébergées sur le site (SIL OFL, voir assets/fonts) */
/* DM Sans, latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/dmsans-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;
}
/* DM Sans, latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/dmsans-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;
}
/* Unbounded, latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/unbounded-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;
}
/* Unbounded, latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/unbounded-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #FFF7EC;
  --cream-2: #FDEBD6;
  --white: #FFFFFF;
  --orange: #F76B1C;
  --orange-600: #DC550A;
  --orange-300: #FFA864;
  --orange-100: #FFE4CC;
  --ink: #2B1B12;
  --ink-2: #6E5444;
  --line: #F0DAC2;
  --night: #1D130E;
  --night-2: #2C1D15;
  --on-night: #FBEBDD;

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 22px;
  --shadow: 0 12px 30px -12px rgba(140, 60, 15, .3);
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 32px, 1160px); margin-inline: auto; }
@media (min-width: 700px) { .container { width: min(100% - 64px, 1160px); } }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  padding: .6em 1em; border-radius: 8px;
  background: var(--ink); color: var(--cream);
}
.skip:focus { left: 16px; }

.i {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.6em;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none;
  cursor: pointer;
  transition: transform .2s, background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 22px -10px rgba(247, 107, 28, .8); }
.btn-primary:hover { background: var(--orange-600); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-small { padding: .55em 1.2em; font-size: .95rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  margin-bottom: 1.1em;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-600);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 4px var(--orange-100);
}

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background-color .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(255, 247, 236, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }

.logo { height: 1.18rem; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { position: relative; font-weight: 500; text-decoration: none; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    padding: 10px; margin-right: -10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 1.25rem;
    padding: 24px 16px 32px;
    background: var(--cream);
    box-shadow: 0 24px 30px -20px rgba(43, 27, 18, .25);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { font-size: 1.15rem; }
}

/* Étoiles */
.stars { position: absolute; inset: 0; pointer-events: none; }
.star {
  position: absolute; width: var(--s); height: var(--s); border-radius: 50%;
  background: var(--orange-300);
  animation: twinkle var(--t) ease-in-out var(--dl) infinite;
}
.night .star { background: var(--on-night); }

.sparkle {
  position: absolute; width: 22px; height: 22px;
  background: var(--orange);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  animation: twinkle 4s ease-in-out infinite;
}
.sparkle-sm { width: 14px; height: 14px; background: var(--orange-300); animation-delay: -2s; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(32px, 6vw, 72px) 0 clamp(72px, 9vw, 120px);
  background: radial-gradient(55% 60% at 78% 45%, #FFE0C2 0%, rgba(255, 224, 194, 0) 70%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px;
}
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 700; }
.accent { color: var(--orange); }
.lead { max-width: 34em; font-size: 1.15rem; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 36px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.hero-tags li {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .45em 1em .45em .75em;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  font-size: .92rem; font-weight: 500;
}
.hero-tags .i { width: 18px; height: 18px; color: var(--orange); }

.hero-visual { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-left: auto; }
.moon {
  position: absolute; inset: 29%;
  filter: drop-shadow(0 18px 50px rgba(247, 107, 28, .5));
  animation: float 8s ease-in-out infinite;
}
.moon svg { width: 100%; height: 100%; }

.orbit {
  --d: 30s; --delay: 0s;
  position: absolute; border-radius: 50%;
  border: 1.5px dashed rgba(220, 85, 10, .35);
  animation: spin var(--d) linear var(--delay) infinite;
}
.orbit-1 { inset: 18%; }
.orbit-2 { inset: 9%; --d: 44s; --delay: -15s; }
.orbit-3 { inset: 0; --d: 60s; --delay: -40s; border-color: rgba(220, 85, 10, .2); }

.sat { position: absolute; top: 0; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.sat-inner {
  display: grid; place-items: center; width: 100%; height: 100%;
  border-radius: 50%; background: var(--white); color: var(--orange);
  box-shadow: var(--shadow), 0 0 0 6px rgba(255, 228, 204, .7);
  animation: spin var(--d) linear var(--delay) infinite reverse;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 340px; margin: 0 auto; }
  .sat { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .sat .i { width: 20px; height: 20px; }
}

/* Bandeau défilant */
.ticker { overflow: hidden; padding: 16px 0; background: var(--ink); color: var(--cream); }
.ticker-track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker ul { display: flex; gap: 2.5rem; padding: 0 2.5rem 0 0; margin: 0; list-style: none; }
.ticker li {
  display: flex; align-items: center; gap: 2.5rem; white-space: nowrap;
  font-family: var(--font-display); font-size: .9rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.ticker li::before { content: "✦"; color: var(--orange); }

/* Sections */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:last-child { font-size: 1.125rem; color: var(--ink-2); }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 36px 32px 32px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white);
  transition: transform .3s, box-shadow .3s;
}
.card::after {
  content: ""; position: absolute; right: -70px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--orange-100), rgba(255, 228, 204, 0) 70%);
  transition: transform .5s;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(150, 70, 20, .35); }
.card:hover::after { transform: scale(1.3); }
.card > * { position: relative; z-index: 1; }
.card-num { position: absolute; top: 28px; right: 30px; font-family: var(--font-display); font-size: .85rem; color: var(--orange-300); }
.card-icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 24px;
  border-radius: 18px; background: var(--orange-100); color: var(--orange-600);
}
.card-icon .i { width: 28px; height: 28px; }
.card p { color: var(--ink-2); }
.checklist { display: grid; gap: 10px; padding: 0; margin: 8px 0 28px; list-style: none; }
.checklist li { display: flex; gap: 12px; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.card-link {
  display: inline-flex; gap: .4em; margin-top: auto;
  font-weight: 700; color: var(--orange-600); text-decoration: none;
}
.card-link span { transition: transform .2s; }
.card-link:hover span { transform: translateX(4px); }

@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* Méthode */
.night {
  overflow: hidden;
  overflow: clip; /* clip, contrairement à hidden, laisse fonctionner position: sticky */
  background:
    radial-gradient(40% 50% at 10% 0%, rgba(247, 107, 28, .18), transparent 70%),
    var(--night);
  color: var(--on-night);
}
.night .container { position: relative; z-index: 1; }
.night h2, .night h3 { color: #fff; }
.night .eyebrow { color: var(--orange-300); }
.night .eyebrow::before { box-shadow: 0 0 0 4px rgba(247, 107, 28, .25); }
.night .section-head p:last-child { color: rgba(251, 235, 221, .72); }

/* Cycle lunaire : les phases du logo. Sans JS ou en mouvement réduit, une simple grille. */
.cycle-dark { fill: var(--on-night); }
.cycle-lit { fill: var(--orange); }
.cycle-moon, .cycle-progress { display: none; }
.cycle-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 0; margin: 0; list-style: none; }
.cycle-step { display: grid; gap: 6px; align-content: start; }
.cycle-icon { width: 56px; height: 56px; margin-bottom: 14px; }
.cycle-num { font-family: var(--font-display); font-size: .9rem; font-weight: 600; color: var(--orange-300); }
.cycle-phase { margin: 0; font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-300); }
.cycle-step h3 { margin: 6px 0 0; font-size: 1.15rem; }
.cycle-step p:last-child { margin: 0; color: rgba(251, 235, 221, .72); }
@media (max-width: 900px) { .cycle-steps { grid-template-columns: 1fr 1fr; gap: 36px 28px; } }
@media (max-width: 560px) { .cycle-steps { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: no-preference) {
  @supports (overflow: clip) {
    .js .cycle { height: 420vh; }
    .js .cycle-sticky {
      position: sticky; top: var(--header-h);
      height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h));
      display: grid; grid-template-rows: auto minmax(0, 1fr);
    }
    .js .cycle-progress { display: flex; justify-content: center; gap: clamp(14px, 3vw, 40px); margin: 0; padding: 16px 0 0; list-style: none; }
    .js .cycle-progress li { display: grid; justify-items: center; gap: 6px; font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(251, 235, 221, .72); opacity: .4; transition: opacity .3s; }
    .js .cycle-progress li.on { opacity: 1; }
    .js .cycle-progress svg { width: 24px; height: 24px; }
    .js .cycle-main { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 0; }
    .js .cycle-moon { position: relative; display: grid; place-items: center; min-height: 0; --moon: min(56vh, 40vw, 500px); }
    /* Halo en dégradé radial : un filtre drop-shadow sur le SVG était rogné net par le navigateur */
    .js .cycle-moon::before {
      content: ""; position: absolute; left: 50%; top: 50%;
      width: calc(var(--moon) * 2.2); aspect-ratio: 1; transform: translate(-50%, -50%);
      background: radial-gradient(closest-side, rgba(247, 107, 28, .55) 42%, rgba(247, 107, 28, .18) 65%, rgba(247, 107, 28, 0));
      opacity: var(--halo, 0); pointer-events: none;
    }
    .js .cycle-moon svg { position: relative; width: var(--moon); height: auto; overflow: visible; }
    .js .cycle-view {
      overflow: hidden; min-width: 0;
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
      mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    }
    .js .cycle-steps { display: flex; width: 400%; gap: 0; will-change: transform; }
    .js .cycle-step { width: 25%; gap: 12px; padding-inline: 4vw 2vw; align-content: center; opacity: .2; transition: opacity .4s; }
    .js .cycle-step.on { opacity: 1; }
    .js .cycle-icon { display: none; }
    .js .cycle-num {
      font-size: clamp(5rem, 11vw, 10rem); font-weight: 700; line-height: .85;
      color: transparent; -webkit-text-stroke: 1.5px rgba(251, 235, 221, .5);
      transition: color .4s, -webkit-text-stroke-color .4s;
    }
    .js .cycle-step.on .cycle-num { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
    .js .cycle-step h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
    .js .cycle-step p:last-child { max-width: 36ch; font-size: 1.1rem; }

    @media (max-width: 860px) {
      .js .cycle-main { grid-template-columns: 1fr; align-content: center; gap: 8px; }
      .js .cycle-moon { --moon: min(28vh, 52vw); }
      .js .cycle-step { padding-inline: 10%; gap: 8px; }
      .js .cycle-num { font-size: clamp(3.5rem, 16vw, 5rem); }
      .js .cycle-step h3 { font-size: 1.5rem; }
      .js .cycle-step p:last-child { font-size: 1rem; }
    }
    @media (max-width: 560px) {
      .js .cycle-progress span { display: none; }
    }
  }
}

/* À propos */
.about { background: var(--white); }
.about-inner { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 64px; }
.about-text p:not(.eyebrow) { color: var(--ink-2); font-size: 1.1rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value { padding: 26px 24px; border-radius: 18px; background: var(--cream); }
.value .i { width: 28px; height: 28px; margin-bottom: 14px; color: var(--orange); }
.value h3 { font-size: 1rem; }
.value p { margin: 0; font-size: .95rem; color: var(--ink-2); }

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  .values { grid-template-columns: 1fr; }
}

/* Contact */
.contact-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 32px;
  background: linear-gradient(135deg, var(--orange) 0%, #FF9A4D 100%);
  color: #fff;
}
.contact-panel::before, .contact-panel::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  border: 1.5px solid rgba(255, 255, 255, .25);
}
.contact-panel::before { width: 420px; height: 420px; left: -160px; bottom: -220px; }
.contact-panel::after { width: 260px; height: 260px; left: -80px; bottom: -140px; background: rgba(255, 255, 255, .08); }
.contact-panel > * { position: relative; z-index: 1; }
.contact-text h2 { color: #fff; }
.contact-text p:not(.eyebrow) { font-size: 1.1rem; opacity: .92; }
.eyebrow-light { color: #fff; }
.eyebrow-light::before { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .3); }
.contact-mail {
  display: inline-flex; align-items: center; gap: .6em; margin-top: .5em;
  font-weight: 700; font-size: 1.1rem; text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, .5);
  overflow-wrap: anywhere;
}
.contact-mail:hover { border-color: #fff; }

.contact-form {
  display: grid; gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 22px;
  background: var(--white); color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(90, 30, 0, .5);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75em 1em;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--cream); color: var(--ink);
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-100);
}
.contact-form .btn { justify-self: start; }
.contact-form .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.form-note { margin: 0; font-size: .85rem; color: var(--ink-2); }
/* Champ-piège pour les robots : hors écran, jamais vu ni atteint au clavier */
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: .75em 1em; border-radius: 12px; font-weight: 500; background: var(--orange-100); color: var(--ink); }
.form-status.is-ok { background: #DDF1E6; color: #14532D; }

@media (max-width: 900px) {
  .contact-panel { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; }
}

/* Pied de page */
.site-footer { padding: 0 0 36px; }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  padding-top: 32px; border-top: 1px solid var(--line);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { font-size: .95rem; color: var(--ink-2); text-decoration: none; }
.footer-nav a:hover { color: var(--orange-600); }
.copyright { margin: 0; font-size: .9rem; color: var(--ink-2); }

/* Mentions légales */
.legal { padding: clamp(40px, 7vw, 88px) 0 clamp(72px, 9vw, 112px); }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.legal h2 { margin-top: 1.8em; font-size: 1.3rem; }
.legal p, .legal li { color: var(--ink-2); }
.todo { padding: 0 .3em; border-radius: 4px; background: var(--orange-100); color: var(--orange-600); font-weight: 700; }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--rd, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
