/* Noria — landing page. Jetons de la planche de marque (docs/noria-brand-guidelines.png). */

@font-face { font-family: Nunito; font-weight: 400; font-display: swap; src: url(../fonts/nunito-400Regular.woff2) format('woff2'); }
@font-face { font-family: Nunito; font-weight: 600; font-display: swap; src: url(../fonts/nunito-600SemiBold.woff2) format('woff2'); }
@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url(../fonts/nunito-700Bold.woff2) format('woff2'); }
@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url(../fonts/nunito-800ExtraBold.woff2) format('woff2'); }

:root {
  --night: #223954;
  --night-deep: #1b2e45;
  --night-ink: #142338;
  --surface: #34496a;
  --surface-soft: #2c4061;
  --line: #3d5478;
  --green: #52a188;
  --green-deep: #3f8a72;
  --cream: #f4ede0;
  --mist: #a9b6cc;
  --orange: #ea936e;
  --yellow: #f2c27a;
  --blue: #7fa7e0;
  --violet: #9d8fe0;
  --pink: #e48ca0;

  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-xl: 40px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.45, 0, .25, 1);
  --slow: 600ms;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: Nunito, ui-rounded, system-ui, sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.55;
  color: var(--cream);
  background: var(--night-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 800; line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cream); color: var(--night); padding: 10px 16px; border-radius: 999px; font-weight: 800; }
.skip:focus { top: 12px; }

.eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--c, var(--green)); margin-bottom: 14px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--mist); max-width: 34em; }
.lead--center { margin-inline: auto; text-align: center; }
.note { margin-top: 18px; font-weight: 800; color: var(--cream); display: inline-flex; gap: 10px; align-items: center; }
.note::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 30px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--green); color: #fff; font-weight: 800; font-size: 19px; text-decoration: none;
  box-shadow: 0 10px 30px -8px rgba(82, 161, 136, .55), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform 300ms var(--ease), background 300ms var(--ease), box-shadow 300ms var(--ease);
}
.btn:hover { background: #5cae94; transform: translateY(-1px); box-shadow: 0 14px 34px -8px rgba(82, 161, 136, .65), inset 0 1px 0 rgba(255,255,255,.2); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { background: rgba(244, 237, 224, .06); box-shadow: inset 0 0 0 2px var(--mist); }

/* ---------- En-tête ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background var(--slow) var(--ease), box-shadow var(--slow) var(--ease); }
.topbar.is-scrolled { background: rgba(27, 46, 69, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(169, 182, 204, .12); }
.topbar__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 24px; letter-spacing: -.01em; }
.brand img { border-radius: 10px; }
.topnav { margin-left: auto; display: flex; gap: 6px; }
.topnav a { text-decoration: none; color: var(--mist); font-weight: 700; font-size: 15px; padding: 10px 14px; border-radius: 999px; transition: color 300ms, background 300ms; }
.topnav a:hover { color: var(--cream); background: rgba(244, 237, 224, .06); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 940px); display: grid; align-items: center; padding: 120px 0 140px; overflow: hidden;
  background: radial-gradient(1200px 700px at 72% 30%, #31507a 0%, transparent 60%), linear-gradient(180deg, #1b2e45 0%, #223954 70%, #1b2e45 100%); }
.sky { position: absolute; inset: 0; pointer-events: none; }
.stars { position: absolute; inset: 0; }
.stars i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #f4ede0; opacity: var(--o); animation: twinkle var(--d) ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: calc(var(--o) * .3); } }
.moon { position: absolute; width: 86px; top: 15%; left: 46%; filter: drop-shadow(0 0 30px rgba(242, 194, 122, .45)); }
.hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; }
.fireflies { position: absolute; inset: 0; }
.fireflies i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 10px 3px rgba(242, 194, 122, .55); opacity: 0; animation: drift var(--d) ease-in-out var(--delay) infinite; }
@keyframes drift {
  0% { opacity: 0; transform: translate(0, 0); }
  20% { opacity: .9; }
  50% { transform: translate(var(--dx), var(--dy)); opacity: .5; }
  80% { opacity: .85; }
  100% { opacity: 0; transform: translate(calc(var(--dx) * -.4), calc(var(--dy) * 1.6)); }
}

.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(54px, 7.4vw, 104px); line-height: .98; margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }

.get { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.get--center { justify-content: center; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 16px; border-radius: 14px; background: #000; color: #fff; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.store:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 12px 24px -10px rgba(0, 0, 0, .6); }
.store svg { width: 28px; height: 28px; flex: none; }
.store span { display: flex; flex-direction: column; font-family: -apple-system, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif; font-weight: 600; font-size: 21px; line-height: 1.05; letter-spacing: -.01em; }
.store small { font-size: 11px; font-weight: 500; letter-spacing: .01em; }
.qr { display: flex; align-items: center; gap: 12px; padding-left: 22px; border-left: 1px solid var(--line); }
.qr__code { width: 76px; height: 76px; background: var(--cream); border-radius: 12px; padding: 6px; }
.qr__code svg { width: 100%; height: 100%; }
.qr__code:empty { display: none; }
.qr figcaption { font-weight: 700; font-size: 13px; line-height: 1.3; color: var(--mist); }
.reassure { list-style: none; padding: 0; margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; font-size: 15px; color: var(--mist); }
.reassure li { display: inline-flex; align-items: center; gap: 8px; }
.reassure li::before { content: ''; width: 16px; height: 16px; flex: none; background: var(--green); -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 8.5l3 3 7-7" stroke="black" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 8.5l3 3 7-7" stroke="black" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat; }

.hero__visual { position: relative; display: grid; place-items: center; }
.halo { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(82, 161, 136, .28) 0%, rgba(82, 161, 136, 0) 65%); filter: blur(8px); }
.hero__fly { position: absolute; width: 170px; top: -2%; right: -2%; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 0 28px rgba(242, 194, 122, .35)); }
@keyframes float { 50% { transform: translate(-10px, 14px) rotate(-4deg); } }

/* ---------- Téléphone ---------- */
.phone { position: relative; width: 300px; aspect-ratio: 9 / 19.2; border-radius: 52px; padding: 11px;
  background: linear-gradient(145deg, #4a5d7c, #1a2638 40%, #0f1828); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 2px rgba(255, 255, 255, .05); }
.phone--hero { width: 320px; transform: rotate(-2deg); }
.phone__screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: var(--night); display: flex; flex-direction: column; align-items: center; padding: 0 22px 26px; text-align: center; }
.statusbar { width: 100%; display: flex; align-items: center; justify-content: space-between; height: 50px; font-size: 14px; font-weight: 800; padding: 0 8px; }
.island { width: 92px; height: 26px; border-radius: 999px; background: #000; }
.sig { width: 36px; height: 11px; border-radius: 3px; background: linear-gradient(90deg, var(--cream) 70%, transparent 70%); box-shadow: inset 0 0 0 1.5px var(--cream); opacity: .9; }

.ball-stage { flex: 1; width: 100%; display: grid; place-items: center; }
.ball { border-radius: 50%; display: grid; place-items: center; color: var(--night-ink); font-weight: 800;
  background: radial-gradient(circle at 38% 32%, #8fd5bd 0%, var(--green) 55%, var(--green-deep) 100%);
  box-shadow: 0 0 0 14px rgba(82, 161, 136, .12), 0 0 0 30px rgba(82, 161, 136, .06), 0 0 60px 10px rgba(82, 161, 136, .35); }
.ball--demo { width: 190px; height: 190px; font-size: 40px; transform: scale(.55); will-change: transform; }
.ball--demo span { color: var(--cream); text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }

.screen-session__top { width: 100%; display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.screen-session__top b { font-size: 17px; }
.screen-session__top .x { width: 20px; color: var(--mist); font-size: 15px; }
.screen-session__phase { margin-top: 28px; font-size: 34px; font-weight: 800; color: var(--green); line-height: 1; transition: opacity 400ms var(--ease); }
.screen-session__hint { color: var(--mist); font-size: 14px; margin-top: 6px; }
.screen-session__bar { width: 100%; height: 6px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.screen-session__bar span { display: block; width: var(--w); height: 100%; background: var(--green); border-radius: inherit; }
.screen-session__time { margin-top: 10px; font-size: 13px; color: var(--mist); font-weight: 700; }

.screen-sos { background: radial-gradient(400px 400px at 50% 45%, rgba(234, 147, 110, .2), transparent 70%), var(--night); }
.screen-sos__kicker { margin-top: 18px; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.ball--sos { width: 170px; height: 170px; background: radial-gradient(circle at 38% 32%, #f7c3ab 0%, var(--orange) 55%, #c9714f 100%);
  box-shadow: 0 0 0 14px rgba(234, 147, 110, .12), 0 0 0 30px rgba(234, 147, 110, .06), 0 0 60px 10px rgba(234, 147, 110, .35); animation: sigh 6s var(--ease) infinite; }
@keyframes sigh { 0% { transform: scale(.55); } 30% { transform: scale(.85); } 42% { transform: scale(1); } 52% { transform: scale(1); } 100% { transform: scale(.55); } }
.screen-sos__phase { font-size: 26px; font-weight: 800; }
.screen-sos__hint { color: var(--mist); font-size: 14px; margin-top: 4px; }

.screen-end { justify-content: flex-start; gap: 4px; }
.screen-end img { width: 170px; margin-top: 20px; }
.screen-end__title { font-size: 34px; font-weight: 800; margin-top: 8px; }
.screen-end__text { color: var(--mist); font-size: 15px; }
.screen-end__gain { margin: 16px 0 18px; padding: 8px 18px; border-radius: 999px; background: rgba(242, 194, 122, .16); color: var(--yellow); font-weight: 800; font-size: 18px; }
.screen-end__level { width: 100%; text-align: left; font-size: 13px; font-weight: 800; color: var(--mist); }
.screen-end__level div { height: 8px; border-radius: 999px; background: var(--surface); margin-top: 6px; overflow: hidden; }
.screen-end__level i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--yellow)); }
.screen-end__streak { margin-top: auto; width: 100%; padding: 12px; border-radius: 16px; background: var(--surface); font-size: 14px; font-weight: 800; }

/* ---------- Atouts ---------- */
.pillars { position: relative; margin-top: -64px; z-index: 2; }
.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(52, 73, 106, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(169, 182, 204, .14); border-radius: var(--r-lg); }
.pillar { padding: 28px 28px 30px; }
.pillar + .pillar { border-left: 1px solid rgba(169, 182, 204, .12); }
.pillar__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--c) 18%, transparent); margin-bottom: 14px; }
.pillar__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 20px; margin-bottom: 4px; }
.pillar p { color: var(--mist); font-size: 15px; line-height: 1.45; }

/* ---------- Essai ---------- */
.try { padding: clamp(96px, 12vw, 160px) 0 clamp(80px, 10vw, 130px); text-align: center; }
.try h2, .section h2, .final h2 { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 18px; }
.try__stage { position: relative; width: min(340px, 80vw); aspect-ratio: 1; margin: 46px auto 34px; display: grid; place-items: center; }
.try__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.try__ring circle { fill: none; stroke-width: 2.5; }
.try__ring .track { stroke: rgba(169, 182, 204, .16); }
.try__ring .prog { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 603.2; stroke-dashoffset: 603.2; transition: stroke-dashoffset 1s linear; }
.ball--try { position: absolute; width: 72%; height: 72%; transform: scale(.5); will-change: transform; }
.try__phase { position: relative; font-size: 26px; font-weight: 800; color: var(--cream); text-shadow: 0 2px 12px rgba(0, 0, 0, .35); min-height: 1.2em; }
.try__actions { display: flex; justify-content: center; gap: 12px; }
.try__done { margin-top: 26px; display: grid; justify-items: center; gap: 18px; }
.try__done p { font-size: 20px; }
.try__done[hidden], [hidden] { display: none !important; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section__head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section__head--center { margin-inline: auto; text-align: center; }

.how { background: linear-gradient(180deg, transparent, rgba(34, 57, 84, .65) 30%, rgba(34, 57, 84, .65) 70%, transparent); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); counter-reset: s; }
.step { position: relative; }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cream); color: var(--night); font-weight: 800; margin-bottom: 22px; }
.step__art { height: 150px; display: flex; align-items: center; margin-bottom: 18px; }
.step__art > img { width: 150px; height: 150px; object-fit: contain; }
.moods { flex-wrap: wrap; gap: 8px; align-content: center; max-width: 230px; }
.moods img { width: 56px; height: 56px; transition: transform 400ms var(--ease); }
.moods img:hover { transform: translateY(-4px) scale(1.06); }
.ball--mini { width: 110px; height: 110px; margin-left: 20px; animation: breathe 10s var(--ease) infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.62); } 50% { transform: scale(1); } }
.step h3 { font-size: 23px; margin-bottom: 8px; }
.step p { color: var(--mist); }

.needs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.need { position: relative; overflow: hidden; background: var(--surface-soft); border-radius: var(--r-lg); padding: 26px 26px 28px; border: 1px solid rgba(169, 182, 204, .08); transition: transform 500ms var(--ease), border-color 500ms var(--ease), background 500ms var(--ease); }
.need::before { content: ''; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); opacity: .5; transition: opacity 500ms; }
.need:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 45%, transparent); background: var(--surface); }
.need:hover::before { opacity: .9; }
.need img { position: relative; height: 132px; width: 100%; object-fit: contain; object-position: left center; margin-bottom: 20px; }
.need h3 { position: relative; font-size: 22px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.need h3::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.need p { position: relative; color: var(--mist); font-size: 15px; }

.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature--flip .feature__copy { order: 2; }
.feature__visual { position: relative; display: grid; place-items: center; }
.feature__visual::before { content: ''; position: absolute; width: 440px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(52, 73, 106, .9), transparent 68%); }
.feature__art { position: absolute; width: 170px; left: 4%; bottom: 4%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .3)); }
.companions { display: flex; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.companions img { width: 84px; height: 84px; object-fit: contain; transition: transform 500ms var(--ease); }
.companions img:hover { transform: translateY(-6px) rotate(-3deg); }

.tools { background: linear-gradient(180deg, transparent, rgba(34, 57, 84, .7) 25%, rgba(34, 57, 84, .7) 75%, transparent); }
.tools__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool { background: var(--surface-soft); border-radius: var(--r-lg); padding: 28px; border: 1px solid rgba(169, 182, 204, .08); }
.tool img { width: 104px; height: 104px; object-fit: contain; margin-bottom: 18px; }
.tool h3 { font-size: 21px; margin-bottom: 6px; }
.tool p { color: var(--mist); font-size: 15.5px; }
.sounds { list-style: none; padding: 0; margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sounds li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; background: rgba(52, 73, 106, .6); border: 1px solid rgba(169, 182, 204, .12); font-weight: 700; font-size: 15px; }

.plans__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin-inline: auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface-soft); border-radius: var(--r-xl); padding: 38px; border: 1px solid rgba(169, 182, 204, .1); }
.plan--plus { background: linear-gradient(160deg, #3a5578 0%, var(--surface) 45%, #2e4566 100%); border-color: rgba(82, 161, 136, .55); box-shadow: 0 30px 60px -30px rgba(82, 161, 136, .45); }
.plan__badge { position: absolute; top: -14px; left: 38px; background: var(--yellow); color: var(--night-ink); font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.plan h3 { font-size: 30px; }
.plan__sub { color: var(--mist); margin: 4px 0 24px; }
.plan ul { list-style: none; padding: 0; display: grid; gap: 12px; margin-bottom: 30px; flex: 1; }
.plan li { display: flex; gap: 12px; align-items: flex-start; }
.plan li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: rgba(82, 161, 136, .22) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><path d="M6.5 11.5l3 3 6-6.5" stroke="%2352a188" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/100% no-repeat; }
.plan--plus li::before { background-color: var(--green); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><path d="M6.5 11.5l3 3 6-6.5" stroke="white" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>'); }
.plan .btn { width: 100%; }
.plan__note { margin-top: 14px; font-size: 13px; color: var(--mist); text-align: center; }

.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section__head { position: sticky; top: 110px; }
.faq__art { width: 140px; margin-top: 30px; animation: float 8s ease-in-out infinite; }
.faq__list { display: grid; gap: 12px; }
details { background: var(--surface-soft); border-radius: var(--r-md); border: 1px solid rgba(169, 182, 204, .08); transition: background 400ms var(--ease); }
details[open] { background: var(--surface); }
summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; position: relative; font-weight: 800; font-size: 18px; border-radius: inherit; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2.5px solid var(--mist); border-bottom: 2.5px solid var(--mist); transform: rotate(45deg); transition: transform 400ms var(--ease); }
details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
details p { padding: 0 26px 24px; color: var(--mist); }

.final { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 180px) 0; text-align: center;
  background: radial-gradient(800px 420px at 50% 100%, rgba(82, 161, 136, .22), transparent 70%), linear-gradient(180deg, var(--night-deep), #17283d); }
.final__sky { position: absolute; inset: 0; pointer-events: none; }
.final__in { position: relative; }
.final__fly { width: 140px; margin: 0 auto 18px; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 0 30px rgba(242, 194, 122, .4)); }
.final .lead { margin-bottom: 36px; }

.footer { background: #17283d; border-top: 1px solid rgba(169, 182, 204, .1); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer__in { display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.footer .brand { font-size: 20px; }
.footer__care { color: var(--mist); font-size: 14px; flex: 1; min-width: 240px; }
.footer__links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__links a { color: var(--mist); text-decoration: none; font-size: 14px; font-weight: 700; }
.footer__links a:hover { color: var(--cream); text-decoration: underline; }
.footer__copy { color: var(--mist); font-size: 14px; }

/* Barre fixe (mobile) */
.dockbar { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 12px;
  background: rgba(27, 46, 69, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(169, 182, 204, .16); border-radius: 22px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6);
  transform: translateY(140%); transition: transform 500ms var(--ease); }
.dockbar.is-visible { transform: none; }
.dockbar img { border-radius: 11px; }
.dockbar div { flex: 1; display: grid; line-height: 1.2; }
.dockbar b { font-weight: 800; }
.dockbar span { font-size: 13px; color: var(--mist); }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Selon l'appareil : sur téléphone, le bon store d'abord, pas de QR code */
[data-os='ios'] .qr, [data-os='android'] .qr { display: none; }
[data-os='android'] .stores { flex-direction: row-reverse; justify-content: flex-end; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .topnav { display: none; }
  .topbar .btn { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .get, .reassure { justify-content: center; }
  .hero__visual { margin-top: 30px; }
  .moon { left: auto; right: 10%; top: 12%; }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar:nth-child(n + 3) { border-top: 1px solid rgba(169, 182, 204, .12); }
  .needs, .tools__grid { grid-template-columns: repeat(2, 1fr); }
  .faq__grid { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }
  .faq__art { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar__in { height: 64px; }
  .hero { padding: 96px 0 110px; min-height: auto; }
  .hero h1 { font-size: clamp(46px, 13vw, 64px); }
  .phone--hero { width: 270px; }
  .hero__fly { width: 120px; right: 4%; }
  .halo { width: 360px; height: 360px; }
  .qr { display: none; }
  .store { height: 54px; padding: 0 16px 0 12px; }
  .store span { font-size: 19px; }
  .pillars { margin-top: -40px; }
  .pillars__grid { grid-template-columns: 1fr 1fr; }
  .pillar { padding: 20px 18px; }
  .pillar h3 { font-size: 17px; }
  .pillar p { font-size: 14px; }
  .steps, .needs, .tools__grid, .feature__grid, .plans__grid { grid-template-columns: 1fr; }
  .feature--flip .feature__copy { order: 0; }
  .feature__visual { margin-top: 10px; }
  .feature__visual::before { width: 320px; }
  .phone { width: 260px; }
  .feature__art { width: 120px; left: 0; }
  .plan { padding: 30px 24px; }
  .try__actions { flex-direction: column; align-items: stretch; }
  .dockbar { display: flex; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

/* Réduire les animations : tout devient fixe, la démo reste utilisable */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .fireflies { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

.nowrap { white-space: nowrap; }
.hero h1 .nowrap { display: block; }

.sounds li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
@media (max-width: 760px) {
  .moon { width: 52px; top: auto; bottom: 26%; left: 7%; right: auto; }
}
@media (max-width: 760px) {
  .topbar .btn { transition: opacity 400ms var(--ease); }
  .topbar.has-dock .btn { opacity: 0; pointer-events: none; }
}

/* ---------- Pages légales (conditions, confidentialité) ---------- */
.legal-page .topbar { position: sticky; top: 0; }
.legal__back { margin-left: auto; }
.legal { padding: clamp(48px, 8vw, 96px) 0 clamp(80px, 10vw, 120px); }
.legal__in { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 18px; }
.legal__date { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--mist); }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 8px; }
.legal__toc a { padding: 8px 14px; border-radius: 999px; background: var(--surface-soft); border: 1px solid rgba(169, 182, 204, .12); text-decoration: none; font-weight: 700; font-size: 14px; color: var(--cream); }
.legal__toc a:hover { background: var(--surface); }
.legal section { padding-top: 40px; scroll-margin-top: 90px; }
.legal h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 14px; }
.legal h3 { font-size: 19px; margin: 24px 0 8px; }
.legal p { color: var(--mist); margin-bottom: 14px; }
.legal p b, .legal li b { color: var(--cream); }
.legal a:not(.btn) { color: var(--green); font-weight: 700; text-underline-offset: 3px; }
.legal__list { padding-left: 0; list-style: none; display: grid; gap: 10px; margin-bottom: 16px; color: var(--mist); }
.legal__list li { position: relative; padding-left: 22px; }
.legal__list li::before { content: ''; position: absolute; left: 4px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.legal__care { margin-top: 40px; padding: 4px 28px 14px; border-radius: var(--r-lg); background: rgba(234, 147, 110, .08); border: 1px solid rgba(234, 147, 110, .35); }
.legal__care h2 { color: var(--orange); }
.legal__small { font-size: 14px; }
.footer__links a[aria-current='page'] { color: var(--cream); }
