:root {
  --bg: #fdf6f2;
  --paper: #fffaf7;
  --white: #fffdfb;
  --ink: #1d1214;
  --ink-soft: #6b5a5d;
  --line: rgb(29 18 20 / .1);
  --yolk: #ffb703;
  --on-yolk: #1d1214;
  --berry: #e2456a;
  --panel: #1d1214;
  --on-panel: #fdf6f2;
  --bezel: #1d1214;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --logo: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151313;
    --paper: #1f1b1b;
    --white: #fffaf7;
    --ink: #fdf6f2;
    --ink-soft: #b3a6a8;
    --line: rgb(253 246 242 / .1);
    --panel: #2a2222;
    --on-panel: #fdf6f2;
    --bezel: #2c2626;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yolk); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; z-index: 10; }
.skip:focus { top: 12px; }

/* Barre du haut */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
.wordmark { font-family: var(--logo); font-size: 22px; line-height: 1; letter-spacing: .01em; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 999px; color: var(--ink-soft); transition: background .2s, color .2s; }
.nav a:hover { background: var(--line); color: var(--ink); }
@media (max-width: 480px) {
  .nav a { padding: 8px 10px; font-size: 14px; }
  .nav a:first-child { display: none; }
}

main > section { padding: 0 16px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--berry); margin-bottom: 12px; }
h2 { font-size: clamp(32px, 6.4vw, 54px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; max-width: 17ch; margin-inline: auto; }
.sub { color: var(--ink-soft); max-width: 34rem; margin: 18px auto 0; font-size: 18px; }

/* Hero */
.hero { text-align: center; padding-top: 40px !important; }
.hero-icon { width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 24px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgb(29 18 20 / .45); }
.hero h1 { font-size: clamp(42px, 10.5vw, 92px); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.lede { color: var(--ink-soft); font-size: clamp(17px, 2.2vw, 20px); max-width: 33rem; margin: 22px auto 0; }

.cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; border-radius: 999px;
  padding: 11px 26px 11px 20px; box-shadow: 0 0 0 1px rgb(255 255 255 / .14);
  cursor: default; user-select: none;
}
.store svg { width: 22px; height: 27px; }
.store span { display: grid; text-align: left; line-height: 1.05; }
.store small { font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.store b { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.soon { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yolk); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yolk) 25%, transparent); }

/* Téléphones */
.phone { margin: 0; background: var(--bezel); padding: 7px; border-radius: 44px; box-shadow: 0 30px 60px -30px rgb(29 18 20 / .55), 0 0 0 1px var(--line); }
.phone img { border-radius: 37px; width: 100%; aspect-ratio: 603 / 1311; object-fit: cover; object-position: top; background: var(--paper); }
.fan { position: relative; display: flex; justify-content: center; align-items: flex-start; margin: 52px auto 0; max-width: 820px; height: clamp(470px, 118vw, 640px); }
.fan .main { width: min(68vw, 280px); position: relative; z-index: 2; }
.fan .side { width: min(56vw, 240px); position: absolute; top: 56px; z-index: 1; opacity: .96; }
.fan .l { right: calc(50% + min(18vw, 110px)); transform: rotate(-7deg); }
.fan .r { left: calc(50% + min(18vw, 110px)); transform: rotate(7deg); }
@media (max-width: 560px) {
  .fan { height: auto; }
  .fan .side { top: 44px; }
  .fan .l { right: calc(50% + 16vw); }
  .fan .r { left: calc(50% + 16vw); }
  .phone { border-radius: 36px; padding: 6px; }
  .phone img { border-radius: 30px; }
}

/* Ce que c'est */
.what { text-align: center; padding-top: 110px !important; }
.cats { list-style: none; padding: 0; margin: 30px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 32rem; }
.cats li { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: 15px; }
.score { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; color: var(--ink); }
.score svg { width: 34px; height: 34px; }
.score svg.off { opacity: .35; }
.score span { margin-left: 10px; font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }

/* Fonctionnalités */
.features { text-align: center; padding-top: 120px !important; }
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 1040px; margin: 44px auto 0; text-align: left; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(4, 1fr); } .card { grid-column: span 2; } .card.wide { grid-column: span 2; grid-row: span 2; } .card.full { grid-column: 1 / -1; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 30px; padding: 28px; display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
.card h3 { font-size: 22px; line-height: 1.15; letter-spacing: -.02em; font-weight: 750; }
.card p { color: var(--ink-soft); margin-top: 10px; }
.card .center { text-align: center; }
.card .center p { margin-inline: auto; max-width: 30rem; }
.c-yolk { background: var(--yolk); border-color: transparent; color: var(--on-yolk); }
.c-yolk p { color: rgb(29 18 20 / .72); }
.c-ink { background: var(--panel); border-color: transparent; color: var(--on-panel); }
@media (prefers-color-scheme: dark) { .c-ink, .panel { box-shadow: inset 0 0 0 1px rgb(253 246 242 / .1); } }
.c-ink p { color: rgb(253 246 242 / .7); }
.card.wide .phone.mini { width: min(72%, 250px); margin: auto auto -96px; }

.seal { display: grid; gap: 8px; margin-top: auto; }
.seal span { display: flex; align-items: center; gap: 12px; background: rgb(255 253 251 / .55); border-radius: 999px; padding: 6px 16px 6px 6px; font-size: 15px; }
.seal i { font-style: normal; font-weight: 800; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--on-yolk); color: var(--yolk); }
.seal b::before { content: "✓ "; }
.seal .wait { background: transparent; border: 1.5px dashed rgb(29 18 20 / .35); }
.seal .wait b { font-weight: 600; color: rgb(29 18 20 / .65); }
.seal .wait b::before { content: ""; }
.who { display: flex; gap: 8px; margin-top: auto; }
.who span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; border: 1.5px dashed var(--line); color: var(--ink-soft); }
.who .on { border: 0; background: var(--ink); color: var(--bg); }
.who span:last-child { border-style: solid; }
.ladder { list-style: none; padding: 4px 2px 10px; margin: 0 -28px; padding-inline: 28px; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ladder::-webkit-scrollbar { display: none; }
.ladder li { flex: none; scroll-snap-align: center; display: grid; justify-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; background: var(--bg); }
.ladder b { font-size: 15px; white-space: nowrap; }
.ladder small { font-size: 12px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.ladder small::after { content: " spots"; }
.ladder .gold { background: var(--yolk); border-color: transparent; color: var(--on-yolk); }
.ladder .gold small { color: rgb(29 18 20 / .7); }
@media (min-width: 1000px) { .ladder { display: grid; grid-template-columns: repeat(9, 1fr); overflow: visible; margin: 0; padding: 4px 0 0; } .ladder li { padding: 10px 6px; border-radius: 20px; } .ladder b { font-size: 14px; white-space: normal; text-align: center; line-height: 1.2; } }

/* Confidentialité */
.privacy { padding-top: 120px !important; }
.panel { max-width: 1040px; margin: 0 auto; background: var(--panel); color: var(--on-panel); border-radius: 36px; padding: 64px 24px; text-align: center; }
.panel .kicker { color: var(--yolk); }
.panel h2 { max-width: 19ch; }
.points { list-style: none; padding: 0; margin: 40px auto 0; display: grid; gap: 12px; max-width: 900px; text-align: left; }
@media (min-width: 760px) { .points { grid-template-columns: repeat(3, 1fr); } }
.points li { border: 1px solid rgb(253 246 242 / .12); border-radius: 24px; padding: 20px 22px; display: grid; gap: 4px; }
.points b { font-size: 18px; }
.points span { color: rgb(253 246 242 / .68); font-size: 16px; }

/* FAQ */
.faq { text-align: center; padding-top: 120px !important; }
.qs { max-width: 720px; margin: 40px auto 0; text-align: left; display: grid; gap: 10px; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 0 22px; transition: background .2s; }
summary { list-style: none; cursor: pointer; padding: 20px 34px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { color: var(--ink-soft); padding-bottom: 20px; }
details a { text-underline-offset: 3px; }

/* Dernier appel */
.last { text-align: center; padding: 130px 16px 110px !important; }
.last img { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }

/* Pied de page */
.foot { border-top: 1px solid var(--line); padding: 32px 16px calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; font-size: 15px; color: var(--ink-soft); }
.foot .brand { color: var(--ink); }
.foot .wordmark { font-size: 19px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.foot nav a { text-decoration: none; font-weight: 600; color: var(--ink); }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 760px) { .foot { flex-direction: row; justify-content: space-between; max-width: 1072px; margin: 0 auto; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
