  @font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-opsz-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
  @font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-wght-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
  @font-face { font-family: "Manrope"; src: url(/assets/fonts/manrope-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
  :root {
    --ink: #10232f;
    --lake-deep: #0b3a56;
    --lake: #1f87ad;
    --turquoise: #3cc4c2;
    --sunset: #ff7a59;
    --peach: #ffb48a;
    --sun: #ffd166;
    --cream: #fff6ec;
    --white: #ffffff;
    --radius: 22px;
    --display: "Fraunces", Georgia, serif;
    --body: "Manrope", system-ui, sans-serif;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  /* Aucun élément décoratif (vagues, cercle qui tourne) ne doit élargir la page sur mobile */
  html, body { overflow-x: hidden; overflow-x: clip; }
  body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
  img { max-width: 100%; display: block; }
  a { color: inherit; }
  .wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
  h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
  h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
  .eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sunset); margin-bottom: .8rem; display: block; }
  section { padding: clamp(64px, 10vw, 120px) 0; }

  /* Navigation */
  header.nav { position: fixed; inset: 0 0 auto; z-index: 10; transition: background .3s, box-shadow .3s; }
  header.nav.scrolled { background: rgba(255,246,236,.92); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(16,35,47,.08); }
  .nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
  .nav .brand { width: 74px; color: var(--ink); }
  .nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-weight: 500; font-size: .95rem; }
  .nav ul a { text-decoration: none; }
  .nav ul a:hover { color: var(--sunset); }
  .nav .right { display: flex; align-items: center; gap: 14px; }
  .lang { display: flex; border: 1.5px solid var(--ink); border-radius: 99px; overflow: hidden; font-size: .8rem; font-weight: 700; }
  .lang a { padding: 5px 11px; text-decoration: none; color: var(--ink); }
  .lang a[aria-current="page"] { background: var(--ink); color: var(--cream); }
  .lang a:not([aria-current]):hover { background: rgba(16,35,47,.08); }
  .btn { display: inline-flex; align-items: center; gap: .5em; background: var(--ink); color: var(--cream); padding: 14px 26px; border-radius: 99px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font: 700 1rem var(--body); transition: transform .2s, background .2s; }
  .btn:hover { transform: translateY(-2px); background: var(--lake-deep); }
  .btn.small { padding: 9px 18px; font-size: .9rem; }
  .btn.sunset { background: var(--sunset); color: var(--white); }
  .btn.sunset:hover { background: #f0603d; }

  /* Hero */
  .hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 110px 0 0; overflow: hidden;
    background: linear-gradient(180deg, #ffd9b8 0%, var(--peach) 30%, #ff9e8a 52%, var(--turquoise) 52.2%, var(--lake) 78%, var(--lake-deep) 100%); }
  .hero .sun { position: absolute; width: clamp(160px, 22vw, 280px); aspect-ratio: 1; border-radius: 50%; background: var(--sun); top: 32%; left: 74%; transform: translate(-50%, -50%); box-shadow: 0 0 120px 40px rgba(255,209,102,.5); }
  .hero .mountains { position: absolute; left: 0; right: 0; top: calc(52% - 12.4vw); width: 100%; height: 12.5vw; }
  .hero .waves { position: absolute; left: 0; right: 0; width: 200%; height: 40px; animation: drift 18s linear infinite; opacity: .35; }
  @keyframes drift { to { transform: translateX(-50%); } }
  .hero-inner { position: relative; text-align: center; z-index: 1; padding-bottom: 12vh; }
  .hero-logo { width: min(640px, 84vw); margin: 0 auto 1.6rem; color: var(--white); filter: drop-shadow(0 4px 18px rgba(11,58,86,.35)); }
  .hero-logo svg { width: 100%; height: auto; animation: reveal 2.6s cubic-bezier(.6,.05,.3,1) .3s both; }
  @keyframes reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
  .hero h1 { font-size: clamp(1.5rem, 3.4vw, 2.4rem); font-weight: 600; color: var(--white); max-width: 22ch; margin: 0 auto 1.6rem; text-shadow: 0 2px 16px rgba(11,58,86,.4); }
  .hero .hero-sub { color: var(--white); max-width: 46ch; margin: -.6rem auto 1.8rem; font-size: 1.05rem; text-shadow: 0 1px 10px rgba(11,58,86,.45); }
  .hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .hero .ghost { background: rgba(255,255,255,.18); color: var(--white); border: 1.5px solid rgba(255,255,255,.7); }
  .hero .ghost:hover { background: rgba(255,255,255,.3); }

  /* Histoire */
  .story { background: var(--cream); overflow: hidden; overflow: clip; }
  .story .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
  .story p { font-size: 1.1rem; max-width: 52ch; }
  .story .latin { font-family: var(--display); font-style: italic; color: var(--lake); }
  .story .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 2rem; }
  .fact { background: var(--white); border-radius: 16px; padding: 16px; text-align: center; }
  .fact strong { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--lake-deep); }
  .fact span { font-size: .8rem; color: #4a5d68; }
  .story-art { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--turquoise), var(--lake) 60%, var(--lake-deep)); display: grid; place-items: center; padding: 14%; color: var(--white); position: relative; }
  .story-art::after { content: ""; position: absolute; inset: -14px; border: 2px dashed var(--sunset); border-radius: 50%; animation: spin 60s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }

  /* Stickers */
  .stickers { background: var(--sun); position: relative; overflow: hidden; }
  .stickers .head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
  .stickers .head .eyebrow { color: var(--lake-deep); }
  .sticker-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .card { background: var(--cream); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
  .card .stage { border-radius: 16px; aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; overflow: hidden; }
  .card.white .stage { background: var(--lake); }
  .card.black .stage { background: var(--sunset); }
  .sticker { position: relative; width: 82%; aspect-ratio: 742 / 519; transform: rotate(-6deg); transition: transform .4s cubic-bezier(.3,1.6,.5,1); filter: drop-shadow(0 10px 14px rgba(0,0,0,.25)); }
  .card:hover .sticker { transform: rotate(-2deg) scale(1.04); }
  .sticker .base, .sticker .line { position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
  .sticker .base { -webkit-mask-image: url(/assets/sticker-shape.png); mask-image: url(/assets/sticker-shape.png); }
  .sticker .line { -webkit-mask-image: url(/assets/lemanus-logo-padded.svg); mask-image: url(/assets/lemanus-logo-padded.svg); }
  .white .sticker .base { background: var(--white); }
  .white .sticker .line { background: var(--ink); }
  .black .sticker .base { background: var(--ink); }
  .black .sticker .line { background: var(--white); }
  .card h3 { font-size: 1.6rem; margin: 0; }
  .card p { margin: 0; color: #3d505c; }
  .specs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; list-style: none; padding: 0; }
  .specs li { background: var(--ink); color: var(--cream); padding: 8px 16px; border-radius: 99px; font-size: .9rem; font-weight: 500; }

  /* Étapes */
  .steps { background: var(--cream); }
  .steps ol { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
  .steps li { counter-increment: s; position: relative; padding-top: 72px; }
  .steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 800 1.5rem var(--display); color: var(--white); background: var(--lake); }
  .steps li:nth-child(2)::before { background: var(--turquoise); }
  .steps li:nth-child(3)::before { background: var(--sunset); }
  .steps h3 { font-size: 1.35rem; }
  .steps p { margin: 0; color: #3d505c; }

  /* Liste d'attente */
  .waitlist { background: linear-gradient(160deg, var(--lake-deep), var(--lake) 70%, var(--turquoise)); color: var(--white); }
  .waitlist .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
  .waitlist .eyebrow { color: var(--sun); }
  .waitlist p.lead { font-size: 1.1rem; opacity: .9; max-width: 44ch; }
  form { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.2); }
  .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  label { display: grid; gap: 6px; font-weight: 700; font-size: .88rem; }
  input[type=text], input[type=email], select { font: 500 1rem var(--body); padding: 12px 14px; border-radius: 12px; border: 1.5px solid #d9cfc4; background: var(--white); color: var(--ink); width: 100%; }
  input:focus, select:focus { outline: 3px solid var(--turquoise); outline-offset: 1px; border-color: var(--lake); }
  fieldset { border: 0; padding: 0; margin: 0; }
  legend { font-weight: 700; font-size: .88rem; margin-bottom: 8px; }
  .choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .choices label { cursor: pointer; }
  .choices input { position: absolute; opacity: 0; }
  .choices span { display: block; text-align: center; padding: 10px; border: 1.5px solid #d9cfc4; border-radius: 12px; font-weight: 500; background: var(--white); }
  .choices input:checked + span { border-color: var(--lake); background: #e3f5f6; font-weight: 700; }
  .choices input:focus-visible + span { outline: 3px solid var(--turquoise); }
  .qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .qty label { font-weight: 700; font-size: .88rem; }
  .stepper { display: flex; align-items: center; border: 1.5px solid #d9cfc4; border-radius: 12px; background: var(--white); overflow: hidden; }
  .stepper button { border: 0; background: none; width: 42px; height: 44px; font: 700 1.2rem var(--body); color: var(--lake-deep); cursor: pointer; }
  .stepper button:hover { background: #e3f5f6; }
  .stepper input { width: 52px; text-align: center; border: 0; font: 700 1.05rem var(--body); color: var(--ink); background: none; -moz-appearance: textfield; appearance: textfield; }
  .stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
  .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .85rem; color: #3d505c; }
  .consent input { margin-top: 4px; accent-color: var(--lake); }
  .form-note { font-size: .78rem; color: #6b7b85; margin: 0; }
  .form-error { margin: 0; color: #b3261e; font-weight: 500; font-size: .9rem; }
  .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
  .success { display: none; text-align: center; padding: 30px 10px; }
  form.done > :not(.success) { display: none; }
  form.done .success { display: block; }
  .success .big { font-size: 3rem; }

  /* FAQ */
  .faq { background: var(--cream); }
  .faq .wrap { max-width: 760px; }
  details { border-bottom: 1.5px solid #e6dbcf; padding: 18px 0; }
  summary { cursor: pointer; font: 600 1.2rem var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
  summary::after { content: "+"; color: var(--sunset); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
  details[open] summary::after { transform: rotate(45deg); }
  details p { margin: 10px 0 0; color: #3d505c; }

  /* Footer */
  footer { background: var(--ink); color: var(--cream); padding: 56px 0 32px; }
  footer .top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
  footer .logo { width: 140px; color: var(--cream); }
  footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
  footer nav a { text-decoration: none; opacity: .8; }
  footer nav a:hover { opacity: 1; color: var(--sun); }
  footer .bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,246,236,.15); font-size: .8rem; opacity: .6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

  /* Mobile */
  @media (max-width: 820px) {
    .nav ul { display: none; }
    .hero { min-height: 78svh; }
    .hero-inner { padding-bottom: 8vh; }
    .hero .mountains { height: 24vw; top: calc(52% - 23.8vw); }
    .story .grid, .waitlist .grid, .sticker-row, .steps ol { grid-template-columns: 1fr; }
    .story-art { max-width: 360px; margin: 0 auto; order: -1; }
    .row { grid-template-columns: 1fr; }
  }
  @media (max-width: 480px) {
    .nav .right .btn { display: none; }
    .choices { grid-template-columns: 1fr; }
    .story .facts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
    .fact { padding: 12px 6px; }
    .fact strong { font-size: 1.3rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }

  /* Anciens styles en ligne (déplacés ici pour une CSP sans 'unsafe-inline') */
  .hero .waves.w1 { top: 58%; }
  .hero .waves.w2 { top: 70%; animation-duration: 26s; }
  .story-art img { filter: invert(1); }
  footer .logo { filter: invert(1) sepia(.2); }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .notfound { text-align: center; }
  .notfound img { margin: 0 auto 2rem; }
  .notfound .actions { margin-top: 2rem; }

  /* Pages légales */
  .legal-page header.nav { background: var(--cream); box-shadow: 0 1px 0 rgba(16,35,47,.08); }
  .legal { padding: 120px 0 80px; }
  .legal .wrap { max-width: 760px; }
  .legal h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
  .legal h2 { font-size: 1.4rem; font-weight: 700; margin-top: 2.2rem; }
  .legal p, .legal li { color: #2f424e; }
  .legal .updated { font-size: .85rem; color: #6b7b85; }
  .legal .todo { background: #fff1c2; padding: 0 4px; border-radius: 4px; }
  .skip { position: absolute; left: -9999px; }
  .skip:focus { left: 16px; top: 12px; z-index: 20; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px; }
