/* Vitrine LudiWay (ludiway.com). Charte LudiWay v1.0 : bleu électrique, bleu nuit, corail, or, givre ; police Plus Jakarta Sans
   hébergée sur le site (site/fonts), aucune ressource externe. Animations en CSS, coupées pour qui demande moins de mouvement. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --blue: #0D56F2; --blue-dark: #0A45C4; --ink: #0E2A47; --coral: #FF5A36; --gold: #F5B942; --frost: #D8F0FA; --paper: #EEF5F7;
    --sky: #5BC0FF; --ink-soft: #4A6078; --on-ink: #C9DAEC; --line: #DCE7EE;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wrap: 1200px; --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-weight: 800; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 20; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.hero :focus-visible, .dark-band :focus-visible { outline-color: var(--gold); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 14px; border: 2px solid var(--blue);
    background: transparent; color: var(--blue); font: inherit; font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s, background-color 0.2s, border-color 0.2s; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(14, 42, 71, 0.22); }
.btn.small { min-height: 46px; padding: 0 20px; font-size: 15px; border-radius: 999px; }
.btn.coral { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.btn.coral:hover { background: #ff6e4e; color: var(--ink); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.gold:hover { background: #f8c862; color: var(--ink); }
.btn.ghost { border-color: rgba(216, 240, 250, 0.45); color: #fff; }
.btn.ghost:hover { background: rgba(216, 240, 250, 0.1); color: #fff; }
.btn.ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.ink:hover { background: #163a60; color: #fff; }
.btn.blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.blue:hover { background: var(--blue-dark); color: #fff; }

/* ---------- Repères ---------- */
.kicker { font-weight: 800; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: #D2401F; }
.kicker.gold { color: var(--gold); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); flex: none; }
.sec { padding: 104px 0; }
.sec.tint { background: var(--paper); }
.sec-head { max-width: 720px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 52px; }
.sec h2, .dark-band h2, .contact h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.03em; }
.sec-head p { font-size: 19px; color: var(--ink-soft); }

/* ---------- Héros : l'île au trésor de nuit, en plein fond ; le titre sur le ciel libre à gauche ---------- */
.hero { --night: #132E4B; position: relative; overflow: hidden; background: var(--night); color: #fff; display: flex; flex-direction: column; min-height: clamp(660px, 92vh, 900px); }
.hero-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(216, 240, 250, 0.1) 1.2px, transparent 1.2px); background-size: 26px 26px; pointer-events: none; }
.hero-bg { position: absolute; inset: 0; display: block; }
/* L'image garde ses proportions : l'île entière, calée à droite et centrée en hauteur ; son ciel se confond avec le fond */
.hero-bg img { position: absolute; top: 0; bottom: 0; right: -3vw; margin: auto 0; width: clamp(1000px, 72vw, 1500px); max-width: none; height: auto; }
/* Le ciel de l'image se fond dans le fond de la page ; voile à gauche pour la lisibilité quand l'île se rapproche du texte */
.hero-fade { position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, var(--night) 0%, rgba(19, 46, 75, 0.94) 30%, rgba(19, 46, 75, 0.55) 46%, rgba(19, 46, 75, 0) 62%),
                linear-gradient(0deg, rgba(19, 46, 75, 0.85) 0%, rgba(19, 46, 75, 0) 22%); }
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.hero-sky i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(245, 185, 66, 0.6); opacity: 0.2; }
.hero-sky i:nth-child(1) { left: 6%; top: 18%; } .hero-sky i:nth-child(2) { left: 22%; top: 9%; } .hero-sky i:nth-child(3) { left: 41%; top: 16%; }
.hero-sky i:nth-child(4) { left: 33%; top: 30%; } .hero-sky i:nth-child(5) { left: 12%; top: 74%; } .hero-sky i:nth-child(6) { left: 47%; top: 62%; }
.hero-sky i:nth-child(7) { left: 28%; top: 88%; } .hero-sky i:nth-child(8) { left: 52%; top: 8%; }
.hnav { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-block: 22px; }
.brand { display: flex; text-decoration: none; }
.logo { height: 50px; width: auto; overflow: visible; }
.hnav-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 24px; font-weight: 600; font-size: 15px; }
.hnav-links a { color: var(--frost); text-decoration: none; padding: 10px 0; position: relative; }
.hnav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.25s var(--ease); }
.hnav-links a:hover { color: #fff; }
.hnav-links a:hover::after { transform: scaleX(1); }
.hero-grid { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-block: 24px 96px; }
.hero-txt { max-width: 640px; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 8px 16px; border-radius: 999px; background: rgba(216, 240, 250, 0.1);
    border: 1px solid rgba(216, 240, 250, 0.22); font-size: 14px; font-weight: 600; color: var(--frost); backdrop-filter: blur(6px); }
.hero h1 { font-size: clamp(42px, 4.6vw, 72px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: initial; }
.gold-word { position: relative; display: inline-block; color: var(--gold); }
.underline { position: absolute; left: 2px; right: 6px; bottom: -2px; height: 7px; border-radius: 4px; background: var(--coral); transform-origin: 0 50%; }
.hero-sub { margin-top: 28px; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; font-weight: 700; }
.rot { display: inline-block; height: 1.25em; overflow: hidden; vertical-align: bottom; color: var(--sky); }
.rot-track { display: flex; flex-direction: column; }
.rot-track span { height: 1.25em; line-height: 1.25em; }
.lead { margin-top: 18px; max-width: 540px; font-size: 18px; color: var(--on-ink); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.ticks { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; font-weight: 600; color: var(--frost); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { width: 18px; height: 18px; }

/* ---------- Chiffres et bandeau ---------- */
.stats { background: #fff; }
.stats .wrap { padding-block: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 28px; }
.stats div { display: flex; flex-direction: column; gap: 4px; }
.stats b { font-size: 46px; line-height: 1.1; font-weight: 800; color: var(--blue); letter-spacing: -0.03em; }
.stats span { font-size: 15px; font-weight: 600; color: var(--ink-soft); line-height: 1.4; }
.marquee { background: var(--blue); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; }
.marquee-run { display: flex; gap: 28px; padding-right: 28px; align-items: center; font-size: 20px; font-weight: 700; white-space: nowrap; }
.marquee .sep { color: var(--gold); }

/* ---------- Sections claires et de nuit : les illustrations ont exactement la couleur de fond de leur section ---------- */
.sec.paper { background: var(--paper); }
.sec.night { position: relative; overflow: hidden; background: #132E4B; color: #fff; }
.sec.night .wrap { position: relative; }
.sec-head.center { margin-inline: auto; text-align: center; align-items: center; }
.art { position: relative; }
.art img { width: 100%; height: auto; transition: transform 0.6s var(--ease); }

/* ---------- Concept : trois dioramas posés sur le fond ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 40px 36px; counter-reset: none; }
.step { display: flex; flex-direction: column; align-items: flex-start; }
.step .art { width: 100%; margin-bottom: 6px; }
.step:hover .art img { transform: translateY(-8px); }
.step .n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: var(--gold); font-size: 20px; font-weight: 800; }
.step h3 { margin-top: 16px; font-size: 23px; }
.step p { margin-top: 10px; font-size: 16.5px; color: var(--ink-soft); }

/* ---------- Univers : six îles de nuit ---------- */
.univers-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.univers-head > div { max-width: 680px; display: flex; flex-direction: column; gap: 14px; }
.univers-head p { font-size: 19px; color: var(--on-ink); }
.univers { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px 32px; }
.uni { display: flex; flex-direction: column; gap: 10px; }
.uni .art { margin: 0 -12px; }
.uni:hover .art img { transform: translateY(-8px) scale(1.02); }
.uni h3 { font-size: 24px; }
.uni p { font-size: 16px; line-height: 1.55; color: var(--on-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips span { padding: 6px 12px; border-radius: 999px; background: rgba(216, 240, 250, 0.12); border: 1px solid rgba(216, 240, 250, 0.18); font-size: 13.5px; font-weight: 700; color: #fff; }
.uni .more { margin-top: 4px; display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 800; text-decoration: none; }
.uni .more svg { width: 18px; height: 18px; }
.uni .more:hover { color: #fff; }
.badge { position: absolute; top: 14px; left: 26px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
    background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 800; }
.badge .dot { width: 8px; height: 8px; }
.badge.dark { position: static; align-self: flex-start; background: rgba(216, 240, 250, 0.14); border: 1px solid rgba(216, 240, 250, 0.25); color: #fff; }

/* ---------- Côté joueur ---------- */
.jeu { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.jeu-art { flex: 1 1 440px; min-width: 0; }
.jeu-art img { width: 100%; height: auto; }
.jeu-txt { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.perks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.perks li { display: flex; gap: 16px; align-items: flex-start; }
.perks strong { display: block; font-size: 18px; }
.perks li > span:last-child > span { display: block; font-size: 16.5px; color: var(--ink-soft); }
.ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; }
.ico svg { width: 24px; height: 24px; }
.i-blue { background: var(--frost); color: var(--blue); }
.i-coral { background: #FFE4DC; color: #C7431E; }
.i-gold { background: #FDF0D2; color: #8A5A00; }
.i-sky { background: #E3ECFF; color: var(--blue); }

/* ---------- Inclus (bande bleu nuit) ---------- */
.dark-band { position: relative; overflow: hidden; background: #132E4B; color: #fff; padding: 110px 0; }
.dark-band .wrap { position: relative; }
.dark-band .sec-head p { color: var(--on-ink); }
.inclus { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.atouts { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.atout { padding: 24px; border-radius: 22px; background: rgba(216, 240, 250, 0.07); border: 1px solid rgba(216, 240, 250, 0.16); transition: background-color 0.3s, transform 0.3s var(--ease); }
.atout:hover { background: rgba(216, 240, 250, 0.12); transform: translateY(-4px); }
.atout svg { width: 28px; height: 28px; }
.atout h3 { margin-top: 14px; font-size: 19px; }
.atout p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--on-ink); }
.board { flex: 1 1 340px; min-width: 0; border-radius: 26px; background: #fff; color: var(--ink); padding: 26px; box-shadow: 0 30px 60px rgba(3, 14, 28, 0.4); display: flex; flex-direction: column; gap: 14px; }
.board-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; }
.board-top .k { color: var(--blue); }
.board-top .live { display: inline-flex; align-items: center; gap: 8px; color: #C7431E; }
.board-title { font-size: 22px; }
.board .row { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 14.5px; font-weight: 700; }
.board .track { grid-column: 1 / -1; height: 12px; border-radius: 6px; background: var(--paper); overflow: hidden; }
.bar { display: block; height: 100%; width: var(--b); border-radius: 6px; }
.bar.g { background: var(--gold); } .bar.b { background: var(--blue); } .bar.c { background: var(--coral); } .bar.s { background: var(--sky); }
.board-join { margin-top: auto; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--paper); font-size: 14.5px; font-weight: 700; }
.mini-qr { flex: none; width: 52px; height: 52px; border-radius: 8px; background-color: #fff;
    background-image: linear-gradient(90deg, var(--ink) 50%, transparent 50%), linear-gradient(var(--ink) 50%, transparent 50%); background-size: 10px 10px; }

/* ---------- Croisières : le paquebot de nuit, le texte sur le ciel libre ---------- */
.case { position: relative; overflow: hidden; border-radius: 30px; background: #132E4B; color: #fff; min-height: 500px; display: flex; align-items: center; }
.case-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; transition: transform 1.2s var(--ease); }
.case:hover .case-bg { transform: scale(1.03); }
.case-fade { position: absolute; inset: 0; background: linear-gradient(90deg, #132E4B 0%, rgba(19, 46, 75, 0.9) 34%, rgba(19, 46, 75, 0) 58%); pointer-events: none; }
.case .txt { position: relative; max-width: 520px; padding: 56px; display: flex; flex-direction: column; gap: 18px; }
.case h2 { font-size: clamp(30px, 3.4vw, 44px); }
.case p { font-size: 18px; color: var(--on-ink); }
.case .btn { align-self: flex-start; }

/* ---------- Contact ---------- */
.pb { padding-bottom: 110px; }
.contact { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-intro { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-intro > p { font-size: 19px; color: var(--ink-soft); }
.contact .mail { font-size: 17px; font-weight: 700; color: var(--ink); }
.contact-intro img { margin-top: 6px; width: 100%; height: auto; }
.form, .form-done { flex: 1 1 460px; min-width: 0; padding: 36px; border-radius: 28px; background: #fff; border: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(14, 42, 71, 0.1); display: flex; flex-direction: column; gap: 18px; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 15px; }
.form input[type=text], .form input[type=email], .form select, .form textarea { font: inherit; font-weight: 500; font-size: 16px; color: var(--ink); background: var(--paper);
    border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 50px; width: 100%; }
.form textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(13, 86, 242, 0.15); }
.form [aria-invalid=true] { border-color: var(--coral); }
.form .lbl { display: block; }
.form .req { color: #D2401F; }
.form .opt { font-weight: 500; color: var(--ink-soft); font-size: 13px; }
.form .check { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--ink-soft); }
.form .check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.form .check a { font-weight: 700; }
.form .btn { align-self: flex-start; }
.form .note { font-size: 13.5px; color: var(--ink-soft); }
.field-err { color: #c2361a; font-weight: 600; font-size: 14px; }
.form-alert { padding: 12px 16px; border-radius: 12px; background: #ffe7e1; color: #8f2410; font-weight: 600; }
.form-done { align-items: flex-start; }
.form-done svg { width: 52px; height: 52px; }
.form-done h3 { font-size: 26px; color: var(--blue); }
.form-done p { color: var(--ink-soft); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pied de page ---------- */
.foot { border-top: 1px solid var(--line); background: var(--paper); }
.foot .wrap { padding-block: 30px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; font-size: 14.5px; color: var(--ink-soft); }
.foot .logo { height: 40px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { color: var(--ink); font-weight: 700; text-decoration: none; }
.foot-links a:hover { color: var(--blue); }

/* ---------- Animations ---------- */
@keyframes lw-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes lw-float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-12px) rotate(var(--r, 0deg)); } }
@keyframes lw-words { 0%, 13% { transform: translateY(0); } 16.6%, 29.6% { transform: translateY(-1.25em); } 33.3%, 46.3% { transform: translateY(-2.5em); }
    50%, 63% { transform: translateY(-3.75em); } 66.6%, 79.6% { transform: translateY(-5em); } 83.3%, 96.3% { transform: translateY(-6.25em); } 100% { transform: translateY(-7.5em); } }
@keyframes lw-marquee { to { transform: translateX(-50%); } }
@keyframes lw-bar { 0%, 100% { width: var(--a); } 50% { width: var(--b); } }
@keyframes lw-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 54, 0.6); } 100% { box-shadow: 0 0 0 12px rgba(255, 90, 54, 0); } }
@keyframes lw-twinkle { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.3) rotate(25deg); } }
@keyframes lw-needle { 0%, 100% { transform: rotate(15deg); } 50% { transform: rotate(55deg); } }
@keyframes lw-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lw-dawn { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes lw-star { 0%, 100% { opacity: 0.15; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.4); } }

.in { animation: lw-rise 0.9s var(--ease) both; }
.d1 { animation-delay: 0.08s; } .d2 { animation-delay: 0.2s; } .d3 { animation-delay: 0.32s; } .d4 { animation-delay: 0.44s; } .d5 { animation-delay: 0.56s; } .d6 { animation-delay: 0.68s; }
.underline { animation: lw-draw 1.1s 0.7s var(--ease) both; }
.hero-bg img { animation: lw-dawn 2.2s var(--ease) both; transform-origin: 75% 50%; }
.hero-sky i { animation: lw-star 3.6s ease-in-out infinite; }
.hero-sky i:nth-child(2n) { animation-duration: 4.8s; animation-delay: 1.1s; } .hero-sky i:nth-child(3n) { animation-duration: 5.6s; animation-delay: 2.3s; }
.float { animation: lw-float 6s ease-in-out infinite; }
.float.slow { animation-duration: 8s; }
.rot-track { animation: lw-words 13s cubic-bezier(0.7, 0, 0.3, 1) infinite; }
.marquee-track { animation: lw-marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.bar { animation: lw-bar 5s ease-in-out infinite; }
.pulse { animation: lw-pulse 1.6s ease-out infinite; }
.twinkle { animation: lw-twinkle 3.2s ease-in-out infinite; }
.needle { animation: lw-needle 4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 50%; }
/* Apparition au défilement : seulement quand le script est là (sinon tout reste visible) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.seen { opacity: 1; transform: none; }

/* ---------- Page intérieure (mentions légales) : en-tête clair ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(238, 245, 247, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.nav { margin-left: auto; display: flex; gap: 6px; font-weight: 600; font-size: 15px; }
.top .btn { white-space: nowrap; }
.legal { padding: 48px 0 72px; background: var(--paper); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); color: var(--blue); margin: 10px 0 8px; }
.legal section { padding: 28px 0 0; }
.legal h2 { font-size: 24px; color: var(--ink); margin-bottom: 10px; }
.legal p { margin: 0 0 12px; color: var(--ink-soft); }
.legal a { font-weight: 700; }
.legal dl { display: grid; grid-template-columns: minmax(160px, auto) 1fr; gap: 8px 20px; margin: 12px 0 0; padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; color: var(--ink-soft); }
.legal .muted { margin-top: 32px; font-size: 15px; }
.todo { background: #ffe9a8; color: var(--ink); padding: 1px 6px; border-radius: 6px; font-weight: 700; }

/* ---------- Écrans moyens et téléphones ---------- */
@media (max-width: 1179px) {
    .hero { min-height: 0; }
    .hero-bg { position: relative; order: 3; margin-top: 12px; }
    .hero-bg img { position: static; margin: 0; width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 600px; object-fit: cover; object-position: 72% 50%; }
    .hero-fade { inset: auto 0 0 0; height: 100%; background: linear-gradient(180deg, var(--night) 0%, rgba(19, 46, 75, 0) 34%); }
    .hero-grid { padding-block: 16px 0; }
    .hero-sky i:nth-child(n+5) { display: none; }
}
@media (max-width: 900px) {
    .hnav-links { display: none; }
    .hnav .btn { margin-left: auto; }
    .sec { padding: 76px 0; }
    .dark-band { padding: 80px 0; }
    .pb { padding-bottom: 80px; }
    .case { flex-direction: column; align-items: stretch; min-height: 0; }
    .case-bg { position: static; order: 2; height: auto; aspect-ratio: 16 / 10; object-position: 82% 50%; }
    .case-fade { inset: 0 0 auto 0; height: 50%; background: linear-gradient(180deg, #132E4B 40%, rgba(19, 46, 75, 0)); }
    .case .txt { max-width: none; padding: 36px 26px 0; }
    .form, .form-done { padding: 24px; }
}
@media (max-width: 560px) {
    .wrap { width: min(100% - 32px, var(--wrap)); }
    .logo { height: 40px; }
    .hnav .btn, .top .btn { min-height: 44px; padding: 0 14px; font-size: 13px; }
    .cta .btn, .form .btn { width: 100%; }
    .univers { grid-template-columns: 1fr; }
    .legal dl { grid-template-columns: 1fr; gap: 2px; }
    .legal dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
