/* =========================================================
   Goodnuit — style
   Direction : « prescription violet on porcelain »
   ========================================================= */
:root {
  --ink: #151581;
  --ink-80: rgba(21, 21, 129, .8);
  --ink-60: rgba(21, 21, 129, .7);
  --ink-10: rgba(21, 21, 129, .08);
  --lavender: #a1a1cd;
  --lilac: #9f73e6;
  --petal: #de62de;
  --green: #00bb76;
  --rose: #f25c75;
  --blue: #20a2e3;
  --porcelain: #f6f6fa;
  --white: #ffffff;
  --bone: #f6f5f4;
  --fog: #d6d6d6;
  --pebble: #bfbfbd;
  --graphite: #292824;
  --ash: #949392;
  --gradient: linear-gradient(270deg, rgba(102, 127, 255, .8) 19.6%, rgba(206, 162, 255, .8) 50%, rgba(255, 133, 177, .8) 86%);
  --shadow: rgba(36, 36, 41, .07) 0 8px 34px 0, rgba(37, 36, 41, .09) 0 1px 2px 0;
  --font-display: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 140px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.38;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  color: var(--ink);
  font-feature-settings: "ss02" on;
}
.display { font-size: clamp(44px, 7.4vw, 104px); line-height: .92; letter-spacing: -.045em; }
.h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: .94; letter-spacing: -.042em; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: .98; letter-spacing: -.038em; }
.h3 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.12; letter-spacing: -.03em; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.4; letter-spacing: -.018em; color: var(--ink-60); margin: 0; }
.muted { color: var(--ink-60); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: -.01em; color: var(--ink);
  background: var(--white); border-radius: 999px; padding: 6px 14px 6px 10px;
  box-shadow: var(--shadow);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0, 187, 118, .14); }
.center { text-align: center; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; display: grid; gap: 20px; justify-items: center; }

/* split-line reveal */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 48px;
  font-weight: 500; font-size: 15px; letter-spacing: -.015em; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s;
  overflow: hidden; isolation: isolate;
}
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 10px 30px -10px rgba(21, 21, 129, .55); }
.btn--ink::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .22), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.btn--ink:hover::before { opacity: 1; }
.btn--ghost { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arrow { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--lg { --h: 60px; padding: 0 32px; font-size: 16px; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn .price-chip { font-weight: 400; opacity: .7; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .25); }

/* ---------- Intro loader ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; background: var(--porcelain);
  display: grid; place-items: center; pointer-events: none;
}
.intro__inner { display: grid; justify-items: center; gap: 22px; }
.intro__ring { width: 84px; height: 84px; }
.intro__ring circle { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }
.intro__ring .bead { fill: var(--ink); stroke: none; }
.intro__word { font-family: var(--font-display); font-size: 30px; letter-spacing: -.04em; color: var(--ink); overflow: hidden; display: flex; }
.intro__word span { display: inline-block; transform: translateY(110%); }
.intro__bar { width: 140px; height: 2px; background: var(--ink-10); border-radius: 2px; overflow: hidden; }
.intro__bar i { display: block; height: 100%; width: 100%; background: var(--gradient); transform-origin: left; transform: scaleX(0); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background-color .5s, box-shadow .5s, transform .6s var(--ease);
}
.nav.is-scrolled { background: rgba(246, 246, 250, .78); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 1px 0 rgba(21, 21, 129, .06); }
.nav.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 24px; letter-spacing: -.05em; color: var(--ink); }
.logo svg { width: 26px; height: 26px; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link { font-size: 14px; font-weight: 500; padding: 10px 14px; border-radius: 40px; color: var(--ink); transition: background-color .3s; }
.nav__link:hover { background: rgba(21, 21, 129, .06); }
@media (max-width: 820px) { .nav__link--opt { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 680px; }
@media (max-width: 720px) { .hero { min-height: 780px; } .hero__content { gap: 18px; padding-top: 88px; } }
.hero__frame {
  position: absolute; inset: 0; overflow: hidden; background: #e9e8ee;
  will-change: clip-path;
}
.hero__media { position: absolute; inset: -6% 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 50% 46%, rgba(246, 246, 250, .86) 0%, rgba(246, 246, 250, .55) 55%, rgba(246, 246, 250, .15) 100%),
    linear-gradient(180deg, rgba(246, 246, 250, .35) 0%, rgba(246, 246, 250, 0) 30%, rgba(246, 246, 250, .0) 70%, rgba(246, 246, 250, .9) 100%);
}
.hero__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; justify-content: safe center; text-align: center;
  padding: 96px var(--gutter) 120px; gap: 22px;
}
.hero__title { max-width: 1000px; }
.hero__sub { max-width: 560px; color: var(--ink-80); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hero__proof { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--ink-80); margin-top: 6px; }
.hero__proof span { display: inline-flex; align-items: center; gap: 6px; }
.hero__proof svg { width: 16px; height: 16px; color: var(--green); }
.stars { display: inline-flex; gap: 2px; color: var(--green); }
.stars svg { width: 14px; height: 14px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; z-index: 3; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px; font-size: 12px; color: var(--ink-60); letter-spacing: .02em;
}
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--ink), transparent); transform-origin: top; animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.hero__ring {
  position: absolute; z-index: 3; right: clamp(-60px, 4vw, 80px); bottom: clamp(40px, 10vh, 120px);
  width: clamp(150px, 19vw, 290px); pointer-events: none;
  filter: drop-shadow(0 30px 40px rgba(21, 21, 129, .18));
}
@media (max-width: 720px) {
  .hero__ring { width: 104px; right: -10px; bottom: 16px; }
  .hero__scroll { display: none; }
  .hero__content { padding-bottom: 96px; }
}

/* ---------- Manifesto (scroll-reveal text) ---------- */
.manifesto { padding: var(--section) 0 calc(var(--section) * .7); position: relative; }
.manifesto__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.manifesto__text { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); line-height: 1.12; letter-spacing: -.035em; margin: 0; }
.manifesto__text .w { opacity: .5; transition: none; }
.manifesto__text .emoji { display: inline-block; font-size: .85em; transform: translateY(-.04em); }
.manifesto__visual { position: relative; aspect-ratio: 1; }
.manifesto__halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, #fff 0%, rgba(255, 255, 255, .6) 55%, rgba(255, 255, 255, 0) 100%); }
.manifesto__orbit { position: absolute; inset: 0; }
.manifesto__orbit circle { fill: none; stroke: rgba(21, 21, 129, .14); stroke-width: 1; stroke-dasharray: 2 6; }
.manifesto__ring { position: absolute; inset: 14%; display: grid; place-items: center; }
.manifesto__ring img { width: 100%; filter: drop-shadow(0 40px 50px rgba(21, 21, 129, .16)); }
.tag-float {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border-radius: 12px; padding: 10px 14px; font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow); white-space: nowrap;
}
.tag-float b { font-family: var(--font-display); font-weight: 400; font-size: 20px; letter-spacing: -.03em; }
.tag-float--a { top: 8%; left: -2%; }
.tag-float--b { top: 46%; right: -4%; }
.tag-float--c { bottom: 6%; left: 10%; }
@media (max-width: 900px) {
  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .tag-float--a { left: 0; } .tag-float--b { right: 0; }
}

/* ---------- Night story (pinned) ---------- */
.night { position: relative; }
.night__pin { height: 100svh; padding: 12px; display: grid; }
.night__frame { position: relative; border-radius: 40px; overflow: hidden; background: #1b1b2b; box-shadow: var(--shadow); }
.night__video { position: absolute; inset: 0; opacity: 0; }
.night__video:first-child { opacity: 1; }
.night__video video { width: 100%; height: 100%; object-fit: cover; }
.night__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 40, .35) 0%, rgba(10, 10, 40, 0) 35%, rgba(10, 10, 40, .1) 60%, rgba(10, 10, 40, .65) 100%); pointer-events: none; }
.night__top { position: absolute; top: clamp(20px, 4vw, 40px); left: clamp(20px, 4vw, 48px); right: clamp(20px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; color: #fff; z-index: 2; }
.night__label { font-size: 13px; font-weight: 500; letter-spacing: .02em; display: inline-flex; gap: 8px; align-items: center; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 8px 14px; border-radius: 999px; }
.night__label i { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); animation: rec 1.4s infinite; }
@keyframes rec { 50% { opacity: .2; } }
.night__progress { display: flex; gap: 6px; }
.night__progress span { width: 34px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.night__progress span i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.night__captions { position: absolute; left: clamp(20px, 4vw, 48px); bottom: clamp(24px, 4vw, 48px); right: clamp(20px, 4vw, 48px); z-index: 2; color: #fff; }
.night__cap { position: absolute; left: 0; bottom: 0; max-width: 640px; opacity: 0; }
.night__cap:first-child { opacity: 1; }
.night__time { font-family: var(--font-display); font-size: clamp(64px, 10vw, 150px); line-height: .85; letter-spacing: -.06em; display: block; font-variant-numeric: tabular-nums; }
.night__line { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.08; letter-spacing: -.03em; display: block; margin-top: 14px; }
.night__wave {
  position: absolute; right: clamp(20px, 4vw, 48px); top: clamp(70px, 8vw, 96px); z-index: 2;
  width: min(360px, 40vw); height: 52px; border-radius: 24px; background: var(--gradient);
  display: flex; align-items: center; gap: 10px; padding: 0 18px; color: #fff; font-size: 13px; font-weight: 500;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.night__wave .bars { flex: 1; display: flex; align-items: center; gap: 3px; height: 26px; }
.night__wave .bars i { flex: 1; background: #fff; border-radius: 2px; height: 20%; opacity: .95; }
.night__wave .db { font-variant-numeric: tabular-nums; min-width: 52px; text-align: right; }
@media (max-width: 720px) {
  .night__wave { left: 20px; right: 20px; width: auto; bottom: auto; top: 76px; height: 44px; }
  .night__pin { padding: 8px; }
  .night__frame { border-radius: 28px; }
}

/* ---------- Stat strip ---------- */
.statline { padding: var(--section) 0 0; }
.statline__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-card { background: var(--white); border-radius: 24px; padding: 28px; display: grid; gap: 10px; align-content: start; }
.stat-card__num { font-family: var(--font-display); font-size: clamp(48px, 5.4vw, 76px); line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat-card p { margin: 0; color: var(--ink-60); font-size: 15px; }
@media (max-width: 820px) { .statline__grid { grid-template-columns: 1fr; } }

/* ---------- Before / After ---------- */
.ba { padding: var(--section) 0; }
.ba__stage {
  position: relative; border-radius: 40px; overflow: hidden; aspect-ratio: 16 / 9; background: #ddd;
  box-shadow: var(--shadow); user-select: none; touch-action: pan-y; cursor: ew-resize;
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer video { width: 100%; height: 100%; object-fit: cover; }
.ba__layer--after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__tag {
  position: absolute; top: 22px; z-index: 3; padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; background: rgba(255, 255, 255, .92); color: var(--ink);
  display: inline-flex; gap: 8px; align-items: center; box-shadow: var(--shadow);
}
.ba__tag i { width: 8px; height: 8px; border-radius: 50%; }
.ba__tag--before { left: 22px; } .ba__tag--before i { background: var(--rose); }
.ba__tag--after { right: 22px; } .ba__tag--after i { background: var(--green); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; z-index: 4; transform: translateX(-1px); box-shadow: 0 0 18px rgba(0, 0, 0, .2); }
.ba__knob {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--ink);
}
.ba__knob svg { width: 26px; height: 26px; }
.ba__captions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.ba__cap { background: var(--white); border-radius: 24px; padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; }
.ba__cap .ico { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; background: var(--porcelain); }
.ba__cap h3 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 400; font-size: 20px; letter-spacing: -.03em; }
.ba__cap p { margin: 0; color: var(--ink-60); font-size: 14px; }
@media (max-width: 720px) { .ba__stage { aspect-ratio: 4 / 5; border-radius: 28px; } .ba__captions { grid-template-columns: 1fr; } }

/* ---------- Results ---------- */
.results { padding: var(--section) 0; }
.panel { background: var(--white); border-radius: 40px; box-shadow: var(--shadow); padding: clamp(28px, 5vw, 64px); }
.results__grid { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.phone {
  position: relative; width: 100%; max-width: 330px; margin: 0 auto; aspect-ratio: 9 / 19;
  border-radius: 44px; background: #0f0f1e; padding: 10px; box-shadow: var(--shadow), 0 40px 80px -30px rgba(21, 21, 129, .35);
}
.phone__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; display: flex; flex-direction: column; padding: 44px 18px 18px; gap: 14px; }
.phone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 20px; background: #0f0f1e; z-index: 2; }
.phone__head { display: flex; justify-content: space-between; align-items: baseline; }
.phone__head b { font-family: var(--font-display); font-weight: 400; font-size: 20px; letter-spacing: -.03em; }
.phone__head span { font-size: 11px; color: var(--lavender); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--porcelain); border-radius: 14px; padding: 4px; position: relative; }
.seg button { position: relative; z-index: 1; font-size: 12px; font-weight: 500; padding: 8px 6px; border-radius: 10px; color: var(--ink-60); transition: color .3s; }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px; background: #fff; box-shadow: var(--shadow); transition: transform .6s var(--ease); }
.seg[data-state="avec"] .seg__thumb { transform: translateX(100%); }
.wavechart { position: relative; height: 120px; border-radius: 16px; background: var(--porcelain); padding: 12px 10px 22px; }
.wavechart svg { width: 100%; height: 100%; overflow: visible; }
.wavechart .axis { position: absolute; left: 10px; right: 10px; bottom: 5px; display: flex; justify-content: space-between; font-size: 9px; color: var(--lavender); }
.donut-row { display: flex; align-items: center; gap: 14px; }
.donut { position: relative; width: 92px; height: 92px; flex: none; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 9; }
.donut .track { stroke: var(--porcelain); }
.donut .val { stroke: var(--ink); stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease); }
.donut__label { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-size: 22px; letter-spacing: -.04em; line-height: 1; }
.donut__label small { display: block; font-family: var(--font-body); font-size: 9px; color: var(--lavender); letter-spacing: 0; margin-top: 3px; }
.kv { display: grid; gap: 6px; font-size: 12px; flex: 1; }
.kv div { display: flex; justify-content: space-between; color: var(--ink-60); }
.kv b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.voicebar { margin-top: auto; height: 44px; border-radius: 24px; background: var(--gradient); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; color: #fff; font-size: 12px; font-weight: 500; }
.voicebar svg { width: 20px; height: 20px; }

.results__side { display: grid; gap: 28px; }
.compare { display: grid; gap: 18px; }
.compare__legend { display: flex; gap: 18px; font-size: 13px; color: var(--ink-60); }
.compare__legend span { display: inline-flex; align-items: center; gap: 8px; }
.compare__legend i { width: 12px; height: 12px; border-radius: 4px; }
.compare__row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; }
.compare__row > span { font-size: 14px; color: var(--ink); font-weight: 500; }
.compare__bars { display: grid; gap: 4px; }
.cbar { position: relative; height: 22px; display: flex; align-items: center; }
.cbar i { display: block; flex: none; height: 100%; border-radius: 0 4px 4px 0; width: calc(var(--w) * .82); transform-origin: left; }
.cbar b { white-space: nowrap; }
.cbar--sans i { background: var(--lavender); }
.cbar--avec i { background: var(--ink); }
.cbar b { font-size: 12px; font-weight: 600; margin-left: 8px; font-variant-numeric: tabular-nums; color: var(--ink); }
.cbar--sans b { color: var(--ink-60); font-weight: 500; }
.big-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.big-stat { background: var(--porcelain); border-radius: 24px; padding: 22px; display: grid; gap: 6px; }
.big-stat b { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 3.4vw, 46px); line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.big-stat > span { font-size: 13px; color: var(--ink-60); line-height: 1.3; }
.note { font-size: 12px; color: #6b6a67; line-height: 1.45; margin: 0; }
@media (max-width: 900px) {
  .results__grid { grid-template-columns: 1fr; }
  .compare__row { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 560px) { .big-stats { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.how { padding: var(--section) 0; }
.how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.how__visual { position: sticky; top: 90px; }
.how__photo { position: relative; border-radius: 40px; overflow: hidden; aspect-ratio: 1100 / 1484; background: #fff; box-shadow: var(--shadow); }
.how__zoom { position: absolute; inset: 0; transform-origin: 55% 55%; }
.how__photo img { width: 100%; height: 100%; object-fit: cover; }
.hotspot { position: absolute; width: 0; height: 0; z-index: 2; }
.hotspot__dot { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 2px var(--ink); }
.hotspot__dot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--ink); }
.hotspot__pulse { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--lilac); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.hotspot__card {
  position: absolute; white-space: nowrap; background: #fff; border-radius: 12px; padding: 8px 12px; box-shadow: var(--shadow);
  font-size: 12px; line-height: 1.3; color: var(--ink);
}
.hotspot__card b { display: block; font-weight: 600; }
.hotspot__card span { color: var(--lavender); }
.hotspot--a .hotspot__card { right: 24px; bottom: 16px; }
.hotspot--b .hotspot__card { left: 24px; top: 16px; }
@media (max-width: 560px) { .hotspot--a .hotspot__card { right: auto; left: 22px; bottom: 18px; } .hotspot--b .hotspot__card { left: auto; right: 22px; top: 18px; } .hotspot__card { font-size: 11px; } }
.how__steps { display: grid; gap: 16px; padding-top: 4px; }
.step { background: var(--white); border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; }
.step__n { font-family: var(--font-display); font-size: 15px; color: var(--lavender); letter-spacing: -.02em; }
.step h3 { margin: 0; }
.step p { margin: 0; color: var(--ink-60); }
.step ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.step li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-80); }
.step li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--lilac); margin-top: 8px; }
.how__intro { display: grid; gap: 18px; margin-bottom: 16px; }
@media (max-width: 900px) {
  .how__grid { grid-template-columns: 1fr; }
  .how__visual { position: relative; top: 0; max-width: 460px; margin: 0 auto; width: 100%; }
}

/* ---------- Benefits ---------- */
.benefits { padding: var(--section) 0; }
.benefits__layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.benefits__media { position: relative; border-radius: 40px; overflow: hidden; min-height: 560px; background: #e8e8ee; }
.benefits__media video { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; top: -7.5%; }
.benefits__media .caption {
  position: absolute; left: 20px; bottom: 20px; right: 20px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 24px; padding: 18px 20px; display: flex; gap: 14px; align-items: center;
}
.benefits__media .caption b { font-family: var(--font-display); font-weight: 400; font-size: 34px; letter-spacing: -.05em; line-height: 1; }
.benefits__media .caption span { font-size: 14px; color: var(--ink-60); line-height: 1.3; }
.benefits__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bcard { background: var(--white); border-radius: 24px; padding: 24px; display: grid; gap: 10px; align-content: start; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bcard__emoji { font-size: 26px; line-height: 1; }
.bcard h3 { margin: 6px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 21px; letter-spacing: -.035em; line-height: 1.1; }
.bcard p { margin: 0; font-size: 14px; color: var(--ink-60); line-height: 1.38; }
@media (max-width: 900px) { .benefits__layout { grid-template-columns: 1fr; } .benefits__media { min-height: 420px; } }
@media (max-width: 520px) { .benefits__cards { grid-template-columns: 1fr; } }

/* ---------- Product horizontal ---------- */
.product { position: relative; padding-top: var(--section); }
.product__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.product__head { padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto 32px; width: 100%; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.product__track { display: flex; gap: 16px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.pcard { position: relative; flex: none; width: clamp(280px, 34vw, 440px); background: var(--white); border-radius: 24px; padding: 16px; display: grid; gap: 16px; }
.pcard__img { border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: #fff; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.pcard__body { padding: 0 8px 8px; display: grid; gap: 6px; }
.pcard h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: -.035em; }
.pcard p { margin: 0; font-size: 14px; color: var(--ink-60); }
.pcard__n { position: absolute; top: 28px; left: 28px; z-index: 1; font-size: 12px; font-weight: 500; background: rgba(255, 255, 255, .9); padding: 6px 10px; border-radius: 12px; }
.product__bar { max-width: var(--max); margin: 32px auto 0; padding: 0 var(--gutter); width: 100%; }
.product__bar div { height: 2px; background: var(--ink-10); border-radius: 2px; overflow: hidden; }
.product__bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
@media (max-width: 720px) {
  .product__pin { height: auto; padding-bottom: 20px; }
  .product__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .product__track::-webkit-scrollbar { display: none; }
  .pcard { width: 80vw; scroll-snap-align: center; }
  .product__bar { display: none; }
}

/* ---------- Compare alternatives ---------- */
.alts { padding: var(--section) 0; }
.alts__hero { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--white); border-radius: 40px; overflow: hidden; box-shadow: var(--shadow); }
.alts__hero-img { background: #fff; position: relative; min-height: 360px; }
.alts__hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.alts__hero-body { padding: clamp(28px, 4vw, 56px); display: grid; gap: 20px; align-content: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: 1px; }
.price-tag { display: flex; align-items: baseline; gap: 12px; }
.price-tag b { font-family: var(--font-display); font-weight: 400; font-size: 48px; letter-spacing: -.05em; line-height: 1; }
.price-tag s { color: var(--ink-60); font-size: 18px; }
.alts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.alt { background: var(--bone); border-radius: 24px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.alt__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.alt h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 20px; letter-spacing: -.03em; color: var(--graphite); }
.alt__price { font-size: 13px; font-weight: 600; color: var(--graphite); white-space: nowrap; }
.alt p { margin: 0; font-size: 14px; color: var(--ash); }
.alt ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; font-size: 14px; color: var(--graphite); }
.alt li { display: flex; gap: 8px; }
.alt li::before { content: "—"; color: var(--rose); }
@media (max-width: 900px) { .alts__hero { grid-template-columns: 1fr; } .alts__grid { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews { padding: var(--section) 0; overflow: hidden; }
.reviews__score { display: flex; align-items: center; gap: 18px; justify-content: center; }
.reviews__score b { font-family: var(--font-display); font-weight: 400; font-size: clamp(64px, 8vw, 110px); letter-spacing: -.06em; line-height: .85; }
.reviews__score .stars svg { width: 22px; height: 22px; }
.marquee { display: flex; gap: 12px; width: max-content; margin: 8px 0 40px; }
.marquee__item { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border-radius: 999px; padding: 12px 20px; font-family: var(--font-display); font-size: 20px; letter-spacing: -.03em; white-space: nowrap; }
.marquee__item .stars svg { width: 12px; height: 12px; }
.reviews__grid { columns: 3 300px; column-gap: 16px; }
.review { break-inside: avoid; background: var(--white); border-radius: 24px; padding: 24px; margin-bottom: 16px; display: grid; gap: 12px; }
.review__top { display: flex; justify-content: space-between; align-items: center; }
.review__badge { font-size: 12px; font-weight: 500; color: var(--green); display: inline-flex; gap: 4px; align-items: center; }
.review__badge svg { width: 14px; height: 14px; }
.review h3 { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: -.02em; }
.review p { margin: 0; font-size: 14px; color: var(--graphite); line-height: 1.45; }
.review__who { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ash); }
.review__who i { width: 30px; height: 30px; border-radius: 50%; background: var(--porcelain); display: grid; place-items: center; font-style: normal; font-weight: 600; color: var(--ink); font-size: 12px; }
.review mark { background: linear-gradient(transparent 58%, rgba(159, 115, 230, .22) 58%); color: inherit; }

/* ---------- Buy ---------- */
.buy { padding: var(--section) 0; scroll-margin-top: 40px; }
.buy__panel { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); }
.gallery { display: grid; gap: 12px; align-content: start; }
.gallery__main { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 1; background: #fff; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform 1.2s var(--ease); }
.gallery__main:hover img.is-active { transform: scale(1.04); }
.gallery__main img:not(.is-active) { opacity: 0; }
.gallery__badge { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 12px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.gallery__thumbs button { border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: #fff; box-shadow: 0 0 0 1px var(--porcelain); transition: box-shadow .3s; }
.gallery__thumbs button[aria-current="true"] { box-shadow: 0 0 0 2px var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy__info { display: grid; gap: 22px; align-content: start; }
.buy__rating { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-60); }
.buy__stock { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--green); font-weight: 500; }
.buy__stock i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0, 187, 118, .15); }
.offers { display: grid; gap: 12px; border: 0; padding: 0; margin: 0; }
.offer { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: var(--porcelain); border-radius: 20px; padding: 18px 20px; cursor: pointer; transition: box-shadow .3s, background-color .3s; }
.offer input { position: absolute; opacity: 0; pointer-events: none; }
.offer__radio { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--lavender); display: grid; place-items: center; transition: box-shadow .3s; }
.offer__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .4s var(--ease); }
.offer:has(input:checked) { background: #fff; box-shadow: 0 0 0 2px var(--ink), var(--shadow); }
.offer:has(input:checked) .offer__radio { box-shadow: inset 0 0 0 1.5px var(--ink); }
.offer:has(input:checked) .offer__radio::after { transform: scale(1); }
.offer:has(input:focus-visible) { outline: 2px solid var(--lilac); outline-offset: 3px; }
.offer__title { font-weight: 600; font-size: 16px; letter-spacing: -.02em; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.offer__sub { display: block; font-size: 13px; color: var(--ink-60); margin-top: 2px; }
.offer__price { text-align: right; }
.offer__price b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 26px; letter-spacing: -.04em; line-height: 1; }
.offer__price s { font-size: 13px; color: var(--ink-60); }
.pill { font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 8px; letter-spacing: 0; }
.pill--green { background: rgba(0, 187, 118, .12); color: #008a57; }
.pill--ink { background: var(--ink); color: #fff; }
.buy__cta { display: grid; gap: 12px; }
.buy__cta .btn { width: 100%; }
.pay-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pay-row span { font-size: 11px; font-weight: 600; color: var(--ink-60); background: var(--porcelain); padding: 6px 10px; border-radius: 8px; letter-spacing: .01em; }
.assurances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.assurance { background: var(--porcelain); border-radius: 16px; padding: 14px; display: grid; gap: 6px; font-size: 13px; line-height: 1.3; }
.assurance svg { width: 22px; height: 22px; color: var(--ink); }
.assurance b { font-weight: 600; }
.assurance span { color: var(--ink-60); font-size: 12px; }
.buy__small { font-size: 12px; color: #6b6a67; margin: 0; }
@media (max-width: 900px) { .buy__panel { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .assurances { grid-template-columns: 1fr; } .offer { grid-template-columns: auto 1fr; } .offer__price { grid-column: 2; text-align: left; display: flex; gap: 10px; align-items: baseline; } }

/* ---------- FAQ ---------- */
.faq { padding: var(--section) 0; }
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.qa { background: var(--white); border-radius: 24px; overflow: hidden; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 26px; font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 21px); letter-spacing: -.03em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--porcelain); display: grid; place-items: center; transition: transform .5s var(--ease), background-color .3s; }
.qa summary .plus svg { width: 14px; height: 14px; }
.qa[open] summary .plus { transform: rotate(45deg); background: var(--ink); color: #fff; }
.qa__body { padding: 0 26px 24px; color: var(--ink-60); font-size: 15px; line-height: 1.5; }
.qa__body p { margin: 0 0 10px; }

/* ---------- Final CTA ---------- */
.final { padding: 0 12px 12px; }
.final__frame { position: relative; border-radius: 40px; overflow: hidden; min-height: 92svh; display: grid; place-items: center; text-align: center; }
.final__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final__veil { position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 50%, rgba(246, 246, 250, .88), rgba(246, 246, 250, .45)); }
.final__content { position: relative; z-index: 2; display: grid; gap: 22px; justify-items: center; padding: 80px var(--gutter); }
.final__content .lead { color: var(--ink-80); max-width: 520px; }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 120px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer h4, .footer__h { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--ink); font-family: var(--font-body); letter-spacing: -.01em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--ink-60); }
.footer a:hover { color: var(--ink); }
.footer__base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(21, 21, 129, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ink-60); }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Sticky buy bar ---------- */
.buybar {
  position: fixed; left: 50%; bottom: 16px; z-index: 60; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px);
  box-shadow: var(--shadow), 0 20px 50px -20px rgba(21, 21, 129, .35);
  transition: transform .8s var(--ease);
  max-width: calc(100vw - 24px);
}
.buybar.is-visible { transform: translate(-50%, 0); }
.buybar__img { width: 44px; height: 44px; border-radius: 50%; background: var(--porcelain); display: grid; place-items: center; overflow: hidden; flex: none; }
.buybar__img img { width: 80%; }
.buybar__txt { display: grid; line-height: 1.15; min-width: 0; }
.buybar__txt b { font-size: 14px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.buybar__txt span { font-size: 12px; color: var(--ink-60); white-space: nowrap; display: flex; gap: 6px; align-items: center; }
.buybar__txt s { color: var(--ink-60); }
@media (max-width: 420px) { .buybar { left: 12px; right: 12px; transform: translateY(140%); justify-content: space-between; } .buybar.is-visible { transform: translateY(0); } .buybar__txt span .hide-xs { display: none; } }

/* ---------- Seal ---------- */
.seal { position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 92px; height: 92px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); transition: opacity .5s, transform .5s var(--ease); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal text { font-size: 8.6px; letter-spacing: 1.6px; fill: #fff; font-family: var(--font-body); font-weight: 500; text-transform: uppercase; }
.seal__core { font-family: var(--font-display); font-size: 22px; letter-spacing: -.04em; line-height: 1; text-align: center; }
.seal__core small { display: block; font-family: var(--font-body); font-size: 8px; letter-spacing: .02em; opacity: .7; margin-top: 2px; }
@media (max-width: 900px) { .seal { display: none; } }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(21, 21, 129, .18); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s; }
.drawer__panel {
  position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100vw - 24px));
  background: #fff; border-radius: 32px; box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; gap: 20px;
  transform: translateX(110%); transition: transform .7s var(--ease); overflow-y: auto;
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; }
.drawer__close { width: 40px; height: 40px; border-radius: 50%; background: var(--porcelain); display: grid; place-items: center; }
.drawer__close svg { width: 16px; height: 16px; }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; background: var(--porcelain); border-radius: 20px; padding: 12px; }
.line-item img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; background: #fff; }
.line-item b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.line-item span { font-size: 13px; color: var(--ink-60); }
.qty { display: inline-flex; align-items: center; background: #fff; border-radius: 999px; padding: 4px; gap: 4px; margin-top: 8px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; }
.qty button:hover { background: var(--porcelain); }
.qty output { min-width: 22px; text-align: center; font-weight: 600; font-size: 14px; }
.totals { display: grid; gap: 10px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; color: var(--ink-60); }
.totals .grand { color: var(--ink); font-size: 18px; font-weight: 600; padding-top: 12px; border-top: 1px solid rgba(21, 21, 129, .08); }
.totals .vat { font-size: 12.5px; color: var(--ink-60); margin-top: -4px; }
.totals .free { color: var(--green); font-weight: 600; }
.upsell { background: rgba(159, 115, 230, .1); border-radius: 16px; padding: 12px 14px; font-size: 13px; color: var(--ink); display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.upsell button { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.drawer__foot { margin-top: auto; display: grid; gap: 12px; }
.drawer__msg { font-size: 13px; color: var(--ink-60); background: var(--porcelain); border-radius: 14px; padding: 12px 14px; display: none; }
.drawer__msg.is-shown { display: block; }

/* ---------- Contact page ---------- */
.contact-hero { padding: 150px 0 40px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; padding-bottom: var(--section); }
.contact-card { background: var(--white); border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }
.contact-card a.mail { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.035em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--porcelain); border: 0; border-radius: 14px; padding: 14px 16px; width: 100%;
  transition: box-shadow .3s, background-color .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--ink); }
.form__ok { display: none; background: rgba(0, 187, 118, .1); color: #00734a; padding: 14px 16px; border-radius: 14px; font-size: 14px; }
.form__ok.is-shown { display: block; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } .form__row { grid-template-columns: 1fr; } }

/* reveal helpers (JS adds animations; without JS everything is visible) */
.js [data-reveal] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; }
}

/* ---------- Legal pages ---------- */
.legal { padding: 140px 0 var(--section); }
.legal__wrap { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.legal__head { display: grid; gap: 16px; margin-bottom: 40px; }
.legal__body { background: var(--white); border-radius: 40px; box-shadow: var(--shadow); padding: clamp(24px, 5vw, 56px); color: var(--graphite); font-size: 15px; line-height: 1.6; }
.legal__body h2 { font-family: var(--font-display); font-weight: 400; color: var(--ink); font-size: 24px; letter-spacing: -.03em; line-height: 1.15; margin: 36px 0 12px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 20px 0 8px; }
.legal__body p, .legal__body ul, .legal__body ol { margin: 0 0 12px; }
.legal__body ul, .legal__body ol { padding-left: 20px; }
.legal__body li { margin-bottom: 6px; }
.legal__body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal__box { background: var(--porcelain); border-radius: 24px; padding: 20px 24px; margin: 16px 0; }
.todo { background: rgba(242, 92, 117, .14); color: #b8263f; border-radius: 6px; padding: 1px 6px; font-weight: 500; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; }
.legal__toc a { font-size: 13px; font-weight: 500; background: var(--white); border-radius: 999px; padding: 8px 14px; box-shadow: var(--shadow); }
.footer__legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--ink); }
.drawer__legal { font-size: 12px; color: var(--ink-60); text-align: center; margin: 0; }
.drawer__legal a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Hero kicker (H1) ---------- */
.hero__kicker { margin: 0; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }

/* ---------- Skip link ---------- */
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 500; transition: top .3s; }
.skip:focus { top: 12px; }

/* ---------- Consent banner ---------- */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 90; max-width: 380px; background: #fff; border-radius: 24px; box-shadow: var(--shadow), 0 20px 50px -20px rgba(21,21,129,.3); padding: 18px 20px; font-size: 13px; color: var(--ink-80); display: grid; gap: 12px; }
.consent[hidden] { display: none; }
.consent p { margin: 0; line-height: 1.45; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.consent__btns { display: flex; gap: 8px; justify-content: flex-end; }
.consent__btns button { height: 38px; padding: 0 16px; border-radius: 40px; font-size: 13px; font-weight: 500; }
.consent__no { background: var(--porcelain); color: var(--ink); }
.consent__yes { background: var(--ink); color: #fff; }
@media (max-width: 520px) { .consent { left: 12px; right: 12px; bottom: 84px; max-width: none; } }

/* ---------- Articles (guides) ---------- */
.article { padding: 130px 0 var(--section); }
.article__wrap { max-width: 780px; margin: 0 auto; padding: 0 var(--gutter); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-60); margin: 0 0 18px; padding: 0; list-style: none; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--lavender); }
.crumbs a:hover { color: var(--ink); }
.article__head { display: grid; gap: 18px; margin-bottom: 32px; }
.article__meta { font-size: 13px; color: var(--ink-60); display: flex; gap: 14px; flex-wrap: wrap; }
.article__cover { border-radius: 32px; overflow: hidden; margin: 0 0 32px; background: #fff; box-shadow: var(--shadow); }
.article__cover img, .article__cover video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { font-size: 17px; line-height: 1.65; color: var(--graphite); }
.prose h2 { font-family: var(--font-display); font-weight: 400; color: var(--ink); font-size: clamp(26px, 3vw, 34px); letter-spacing: -.035em; line-height: 1.08; margin: 48px 0 14px; }
.prose h3 { font-family: var(--font-display); font-weight: 400; color: var(--ink); font-size: 22px; letter-spacing: -.03em; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .tldr { background: #fff; border-radius: 24px; padding: 22px 26px; box-shadow: var(--shadow); font-size: 16px; }
.prose .tldr b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--ink); margin-bottom: 6px; }
.prose .warn { background: rgba(242, 92, 117, .08); border-radius: 20px; padding: 18px 22px; font-size: 15px; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 20px; overflow: hidden; font-size: 14px; margin: 0 0 20px; box-shadow: var(--shadow); }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(21, 21, 129, .07); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; background: var(--porcelain); }
.prose tr:last-child td { border-bottom: 0; }
.prose tr.is-best td { background: rgba(0, 187, 118, .07); }
.cta-card { margin: 40px 0; background: #fff; border-radius: 32px; box-shadow: var(--shadow); padding: 24px; display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: center; }
.cta-card img { width: 140px; height: 140px; object-fit: cover; border-radius: 20px; }
.cta-card h2, .cta-card h3 { margin: 0 0 6px !important; font-size: 24px !important; }
.cta-card p { margin: 0 0 14px !important; font-size: 15px; color: var(--ink-60); }
@media (max-width: 560px) { .cta-card { grid-template-columns: 1fr; } .cta-card img { width: 100%; height: 180px; } }
.guide-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.guide-card { background: #fff; border-radius: 24px; overflow: hidden; display: grid; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.guide-card div { padding: 22px 24px 26px; display: grid; gap: 8px; }
.guide-card h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 24px; letter-spacing: -.03em; line-height: 1.1; }
.guide-card p { margin: 0; font-size: 14px; color: var(--ink-60); }
@media (max-width: 760px) { .guide-list { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.notfound > div { display: grid; gap: 20px; justify-items: center; max-width: 560px; }

/* Sélecteur de langue (injecté par tools/i18n.py) */
.nav { gap: 8px; }
.nav__links { margin-inline-start: auto; }
.langs { position: relative; flex: none; }
.langs summary { list-style: none; cursor: pointer; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink); padding: 9px 12px; border-radius: 40px; box-shadow: inset 0 0 0 1px rgba(21, 21, 129, .14); transition: background-color .3s; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { background: rgba(21, 21, 129, .06); }
.langs ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 18px; box-shadow: var(--shadow); min-width: 150px; display: grid; gap: 2px; z-index: 60; }
.langs a { display: block; padding: 9px 12px; border-radius: 12px; font-size: 14px; color: var(--ink); }
.langs a:hover { background: var(--porcelain); }
.langs a[aria-current="true"] { font-weight: 600; background: var(--porcelain); }

/* Arabe : police adaptée, pas d'espacement négatif (il casse les liaisons), interlignes plus hauts */
html[lang="ar"] {
  --font-display: 'IBM Plex Sans Arabic', 'Inter Tight', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Inter', ui-sans-serif, system-ui, sans-serif;
}
html[lang="ar"] body, html[lang="ar"] body * { letter-spacing: 0 !important; }
html[lang="ar"] .display, html[lang="ar"] .h1, html[lang="ar"] .h2, html[lang="ar"] .h3 { line-height: 1.25; }
html[lang="ar"] .lead, html[lang="ar"] p { line-height: 1.7; }
/* Sens de lecture de droite à gauche (arabe) : barres et jauges partent de la droite */
html[dir="rtl"] .intro__bar i, html[dir="rtl"] .night__progress span i, html[dir="rtl"] .product__bar i, html[dir="rtl"] .cbar i { transform-origin: right; }
html[dir="rtl"] .cbar i { border-radius: 4px 0 0 4px; }
html[dir="rtl"] .arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }
.nav__link { white-space: nowrap; }

/* Suggestion de langue (assets/js/lang.js) */
.langhint {
  position: fixed; z-index: 70; top: 78px; left: 50%; transform: translate(-50%, -12px); opacity: 0;
  display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 24px);
  background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 8px 8px 20px;
  box-shadow: 0 18px 50px rgba(21, 21, 129, .16), 0 0 0 1px rgba(21, 21, 129, .06);
  font-family: var(--font-body); font-size: 14px; letter-spacing: 0;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.langhint[dir="rtl"] { padding: 8px 20px 8px 8px; }
.langhint.is-in { opacity: 1; transform: translate(-50%, 0); }
.langhint p { margin: 0; white-space: nowrap; }
.langhint__go { background: var(--ink); color: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 500; white-space: nowrap; }
.langhint__go:hover { background: #2a2aa0; }
.langhint__x { width: 32px; height: 32px; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--ink-60); flex: none; }
.langhint__x:hover { background: var(--porcelain); }
@media (max-width: 640px) {
  .langhint { top: 70px; border-radius: 20px; flex-wrap: wrap; width: calc(100vw - 24px); padding: 12px 12px 12px 16px; gap: 10px; }
  .langhint p { white-space: normal; flex: 1 1 70%; }
  .langhint__go { order: 3; flex: 1 1 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .langhint { transition: none; } }
.langs ul, .langs li { list-style: none; }
.langs li::marker, .langs summary::marker { content: ''; }
.langs summary { display: block; }

/* Offres saisonnières (gérées dans l'administration, onglet « Offres ») :
   couleurs de l'offre dans --promo-accent (titre, bordure) et --promo-bg (fond) */
.promo, .buybar__tag, .gallery__badge.is-promo { --promo-accent: #c8283d; --promo-bg: #ffffff; }
.promo[hidden], .buybar__tag[hidden] { display: none !important; }
.promo__img { width: 44px; height: 44px; flex: none; display: grid; place-items: center; color: var(--promo-accent); transform-origin: 50% 85%; animation: promo-breathe 4.5s ease-in-out infinite; }
.promo__img svg, .promo__img img { width: 100%; height: 100%; object-fit: contain; }
@keyframes promo-breathe { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.05) rotate(-3deg); } }
.promo--hero { display: inline-flex; align-items: center; gap: 10px; background: var(--promo-bg); color: var(--ink); border-radius: 999px; padding: 5px 18px 5px 6px; font-size: 14px; line-height: 1.35; text-align: start; max-width: 100%;
  box-shadow: 0 12px 32px rgba(21, 21, 129, .12), 0 0 0 1px color-mix(in srgb, var(--promo-accent) 30%, transparent); }
.promo b { color: var(--promo-accent); font-weight: 600; margin-inline-end: 4px; }
.promo s { color: var(--ink-60); }
.promo--buy { display: flex; align-items: center; gap: 10px; border-radius: 22px; padding: 12px 16px 12px 10px; margin: 4px 0 2px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--promo-accent) 9%, var(--promo-bg)) 0%, var(--promo-bg) 70%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--promo-accent) 28%, transparent); }
.promo--buy .promo__img { width: 64px; height: 64px; }
.promo--buy .promo__body { display: grid; gap: 3px; font-size: 14px; color: var(--ink-60); }
.promo--buy b { font-size: 16px; }
.gallery__badge.is-promo { background: var(--promo-accent); color: #fff; }
@media (max-width: 720px) { .promo--hero { font-size: 13px; padding-inline-end: 14px; } .promo--hero .promo__img { width: 38px; height: 38px; } }
@media (prefers-reduced-motion: reduce) { .promo__img { animation: none; } }
/* Étiquette qui chevauche le haut de la barre d'achat */
.buybar__tag {
  position: absolute; left: 30px; top: -19px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 13px 4px 5px;
  background: var(--promo-bg); color: var(--promo-accent); border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--promo-accent) 20%, transparent), 0 0 0 1.5px color-mix(in srgb, var(--promo-accent) 38%, transparent);
  transform: rotate(-3deg); transition: opacity .4s var(--ease) .25s;
}
.buybar__tag .promo__img { width: 28px; height: 28px; margin: -6px 0 -4px; }
.buybar:not(.is-visible) .buybar__tag { opacity: 0; transition-delay: 0s; }
html[dir="rtl"] .buybar__tag { left: auto; right: 30px; transform: rotate(3deg); }
@media (max-width: 420px) { .buybar__tag { left: 18px; font-size: 12px; } html[dir="rtl"] .buybar__tag { right: 18px; } }

/* Bouton son des vidéos de nuit */
.night__right { display: flex; align-items: center; gap: 14px; }
.night__sound {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px;
  color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: background-color .3s, color .3s;
}
.night__sound:hover { background: rgba(255, 255, 255, .26); }
.night__sound svg { width: 20px; height: 20px; flex: none; }
.night__sound .ico-on, .night__sound[aria-pressed="true"] .ico-off { display: none; }
.night__sound[aria-pressed="true"] .ico-on { display: block; }
.night__sound[aria-pressed="true"] { background: #fff; color: var(--ink); }
.night__sound[aria-pressed="false"] .ico-off { animation: sound-hint 2.4s ease-in-out infinite; }
@keyframes sound-hint { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
html[dir="rtl"] .night__sound svg { transform: scaleX(-1); }
@media (max-width: 720px) { .night__sound { padding: 8px; } .night__sound-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .night__sound .ico-off { animation: none !important; } }
/* Formulaire de contact : champ piège invisible (anti-robots) et message d'erreur */
.form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__err { display: none; background: rgba(242, 92, 117, .1); color: #a3203a; padding: 14px 16px; border-radius: 14px; font-size: 14px; margin: 0; }
.form__err.is-shown { display: block; }
.form { position: relative; }

/* Pop-up de preuve sociale (assets/js/social.js) : chiffres réels uniquement, format compact */
.sproof {
  position: fixed; z-index: 58; left: 16px; bottom: calc(16px + var(--sproof-lift, 0px));
  display: flex; align-items: center; gap: 9px; width: max-content; max-width: min(300px, calc(100vw - 24px));
  padding: 6px 8px 6px 6px; border-radius: 16px; background: #fff; color: var(--ink);
  box-shadow: 0 12px 34px rgba(21, 21, 129, .15), 0 0 0 1px rgba(21, 21, 129, .06);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease), bottom .3s;
}
.sproof.is-in { opacity: 1; transform: none; pointer-events: auto; }
.sproof__ico { width: 34px; height: 34px; border-radius: 11px; background: var(--porcelain); display: grid; place-items: center; flex: none; color: var(--ink); }
.sproof__ico svg { width: 19px; height: 19px; }
.sproof__ico img { width: 28px; height: auto; }
.sproof__ico svg[viewBox="0 0 96 96"] { width: 26px; height: 26px; color: #c8283d; }
a.sproof__txt { color: inherit; text-decoration: none; }
a.sproof__txt[href] b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.sproof__txt { display: grid; gap: 1px; line-height: 1.2; min-width: 0; }
.sproof__txt b, .sproof__txt small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sproof__txt b { font-size: 13px; font-weight: 600; }
.sproof__txt small { font-size: 11.5px; color: var(--ink-60); }
.sproof__x { align-self: center; width: 22px; height: 22px; border-radius: 50%; font-size: 15px; line-height: 1; color: var(--ash); flex: none; }
.sproof__x:hover { background: var(--porcelain); }
html[dir="rtl"] .sproof { left: auto; right: 16px; }
@media (max-width: 640px) { .sproof { left: 12px; bottom: calc(88px + var(--sproof-lift, 0px)); } html[dir="rtl"] .sproof { left: auto; right: 12px; } }
@media (prefers-reduced-motion: reduce) { .sproof { transition: opacity .2s; transform: none; } }
