/* ═══════════════════════════════════════════════════════════════
   Fresh Roulette — site vitrine
   Charte reprise de l'appli (lib/theme.dart)
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #F3F1EA;          /* fond crème */
  --bg-soft: #EDEAE0;
  --green-dark: #1B4332;  /* titres, boutons */
  --green-nav: #2D6A4F;   /* vert secondaire */
  --green-light: #E3EFE7; /* carte sélectionnée */
  --leaf: #4E7D51;
  --leaf-arrow: #B85C3F;  /* terracotta */
  --text: #24312A;
  --text-grey: #6B7280;
  --anti-gaspi: #FFDC8A;
  --anti-gaspi-bg: #FFF4D9;
  --anti-gaspi-text: #8A6A16;
  --white: #ffffff;
  --card: #ffffff;
  --border: #E3E1D8;
  --shadow: 0 18px 50px -20px rgba(27, 67, 50, 0.28);
  --shadow-sm: 0 8px 24px -12px rgba(27, 67, 50, 0.25);
  --radius: 22px;
  --maxw: 1120px;
  --head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { height: auto; }
body {
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--green-dark); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
section { position: relative; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Boutons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 800; font-size: 16px;
  padding: 14px 26px; border-radius: 16px; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green-dark); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(27,67,50,.55); }
.btn-ghost { background: #fff; color: var(--green-dark); border: 1.5px solid var(--border); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--green-nav); }
.btn-yellow { background: var(--anti-gaspi); color: var(--anti-gaspi-text); }
.btn-yellow:hover { transform: translateY(-2px); }

/* ── En-tête / nav ───────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,241,234,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 800; font-size: 19px; color: var(--green-dark); }
.brand svg { width: 40px; height: 24px; flex: none; }
.brand-logo { height: 30px; width: auto; flex: none; }
footer .brand .brand-logo { height: 34px; filter: brightness(1.18); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; color: var(--text); font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: var(--green-nav); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--green-dark); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { padding: 60px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-light); color: var(--green-nav);
  font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 30px; margin-bottom: 22px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-nav); }
.hero h1 { font-size: clamp(38px, 6vw, 60px); margin-bottom: 20px; }
.hero h1 .accent { color: var(--green-nav); }
.hero-sub { font-size: 19px; color: var(--text-grey); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: flex; align-items: center; gap: 11px; background: var(--green-dark); color: #fff;
  padding: 11px 18px; border-radius: 14px; transition: transform .15s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge.disabled { background: #9aa39c; cursor: default; box-shadow: none; opacity: .85; }
.store-badge.disabled:hover { transform: none; }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font-size: 10px; opacity: .8; line-height: 1.1; }
.store-badge b { font-family: var(--head); font-weight: 800; font-size: 16px; line-height: 1.1; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--text-grey); display: flex; align-items: center; gap: 8px; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .blob {
  position: absolute; width: 115%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(45,106,79,.16), rgba(45,106,79,0) 62%);
  top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 0;
}

/* ── Cadre téléphone ─────────────────────────────────────── */
.phone {
  position: relative; z-index: 1;
  width: 300px; background: #0d1a13; border-radius: 44px; padding: 11px;
  box-shadow: var(--shadow); flex: none;
}
.phone-screen {
  background: var(--bg); border-radius: 34px; overflow: hidden;
  height: 620px; position: relative; display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 128px; height: 26px; background: #0d1a13; border-radius: 0 0 16px 16px; z-index: 20;
}
.phone-scroll { flex: 1; overflow: hidden; padding: 34px 16px 0; }

/* Cadre téléphone avec vraie capture d'écran */
.phone-shot {
  position: relative; z-index: 1;
  width: 300px; background: #0d1a13; border-radius: 44px; padding: 10px;
  box-shadow: var(--shadow); flex: none;
}
.phone-shot img { width: 100%; height: auto; border-radius: 34px; display: block; }

/* Drapeau français tricolore */
.fr-flag { width: 22px; height: 15px; border-radius: 2px; vertical-align: -3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); display: inline-block; }


/* écran d'appli reproduit */
.app-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.app-title { font-family: var(--head); font-weight: 800; font-size: 21px; color: var(--green-dark); line-height: 1.15; }
.app-sub { font-size: 14px; color: var(--text-grey); margin-top: 2px; }
.app-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green-nav); display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }

.ag-toggle {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--border);
  border-radius: 15px; padding: 11px 14px; margin-bottom: 13px;
}
.ag-toggle.on { background: var(--anti-gaspi-bg); border-color: var(--anti-gaspi); }
.ag-toggle .em { font-size: 20px; filter: grayscale(1); opacity:.6; }
.ag-toggle.on .em { filter: none; opacity: 1; }
.ag-toggle .lbl { flex: 1; }
.ag-toggle .lbl b { font-family: var(--head); font-size: 14px; color: var(--green-dark); display: block; }
.ag-toggle.on .lbl b { color: var(--anti-gaspi-text); }
.ag-toggle .lbl span { font-size: 12px; color: var(--text-grey); }
.switch { width: 42px; height: 25px; border-radius: 20px; background: #cfccc2; position: relative; flex: none; transition: background .2s; }
.switch::after { content:''; position:absolute; top:3px; left:3px; width:19px; height:19px; border-radius:50%; background:#fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.ag-toggle.on .switch { background: var(--anti-gaspi); }
.ag-toggle.on .switch::after { left: 20px; }

.mode-row { display: flex; gap: 10px; overflow: hidden; margin-bottom: 12px; }
.mode-card {
  flex: none; width: 118px; background: #fff; border-radius: 16px; border: 2px solid transparent;
  padding: 12px; text-align: center;
}
.mode-card.sel { background: var(--green-light); border-color: var(--green-dark); }
.mode-ic { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; font-size: 20px; position: relative; }
.mode-card b { font-family: var(--head); font-size: 13px; color: var(--green-dark); display: block; }
.mode-card span { font-size: 11px; color: var(--text-grey); }
.mode-lock { position: absolute; top: -4px; right: -6px; background: #fff; border-radius: 50%; width: 18px; height: 18px; display:flex; align-items:center; justify-content:center; font-size: 10px; }
.badge-new { display: inline-block; background: #8B5CF6; color: #fff; font-family: var(--head); font-weight: 800; font-size: 9px; padding: 2px 7px; border-radius: 20px; margin-top: 6px; }

.slot {
  background: #fff; border-radius: 20px; padding: 16px; display: flex; gap: 10px; justify-content: center;
  margin: 10px 0 14px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.03);
}
.slot .reel { width: 62px; height: 74px; background: var(--bg); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 34px; overflow: hidden; }

.dots { display: flex; gap: 6px; justify-content: center; margin-bottom: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #CBD2CC; }
.dots i.on { width: 9px; height: 9px; background: var(--green-nav); }

.app-cta { background: var(--green-dark); color: #fff; text-align: center; font-family: var(--head); font-weight: 800; font-size: 18px; padding: 16px; border-radius: 18px; }

/* ── Bandeau logos / stats ───────────────────────────────── */
.stats { padding: 10px 0 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat b { font-family: var(--head); font-weight: 800; font-size: clamp(26px,4vw,38px); color: var(--green-dark); display: block; }
.stat span { font-size: 14px; color: var(--text-grey); }

/* ── Sections génériques ─────────────────────────────────── */
.sec { padding: 78px 0; }
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 50px; }
.sec-head .pill { margin-bottom: 16px; }
.sec-head h2 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 14px; }
.sec-head p { font-size: 18px; color: var(--text-grey); }
.kicker { font-family: var(--head); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--green-nav); margin-bottom: 14px; }

/* ── Grille de features ──────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid rgba(0,0,0,.04);
  transition: transform .2s, box-shadow .25s; position: relative; overflow: hidden;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature .ic { width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; }
.feature h3 { font-size: 20px; margin-bottom: 9px; }
.feature p { color: var(--text-grey); font-size: 15px; }
.feature .tag { position: absolute; top: 18px; right: 18px; font-family: var(--head); font-weight: 800; font-size: 10px; padding: 4px 9px; border-radius: 20px; }
.tag-new { background: #8B5CF6; color: #fff; }
.tag-prem { background: var(--anti-gaspi); color: var(--anti-gaspi-text); }

/* ── Section alternée (texte + visuel) ───────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.rev .split-text { order: 2; }
.split-text h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 18px; }
.split-text p { font-size: 17px; color: var(--text-grey); margin-bottom: 20px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.check-list .ck { width: 24px; height: 24px; border-radius: 50%; background: var(--green-light); color: var(--green-nav); display: flex; align-items: center; justify-content: center; flex: none; font-weight: 800; font-size: 13px; margin-top: 2px; }
.split-visual { display: flex; justify-content: center; }

/* ── Démo live ───────────────────────────────────────────── */
.demo { background: var(--green-dark); color: #fff; border-radius: 40px; padding: 60px 30px; margin: 0 24px; }
.demo .sec-head h2 { color: #fff; }
.demo .sec-head p { color: rgba(255,255,255,.75); }
.demo .pill { background: rgba(255,255,255,.12); color: #fff; }
.demo .pill .dot { background: #7CE0A9; }
.demo-stage { max-width: 440px; margin: 0 auto; }
.demo-modes {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 16px;
  cursor: grab; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.45) rgba(255,255,255,.1);
}
.demo-modes.dragging { cursor: grabbing; scroll-snap-type: none; }
.demo-modes::-webkit-scrollbar { height: 7px; }
.demo-modes::-webkit-scrollbar-track { background: rgba(255,255,255,.1); border-radius: 4px; }
.demo-modes::-webkit-scrollbar-thumb { background: rgba(255,255,255,.4); border-radius: 4px; }
.demo-modes-hint { text-align: center; font-size: 12px; color: rgba(255,255,255,.6); margin: -4px 0 16px; }
.dmode {
  flex: none; background: rgba(255,255,255,.08); border: 2px solid transparent; border-radius: 16px;
  padding: 12px 16px; cursor: pointer; text-align: center; min-width: 96px; transition: .15s; color: #fff;
  scroll-snap-align: start; user-select: none;
}
.dmode:hover { background: rgba(255,255,255,.14); }
.dmode.sel { background: #fff; border-color: #fff; color: var(--green-dark); }
.dmode .di { font-size: 22px; margin-bottom: 6px; }
.dmode b { font-family: var(--head); font-size: 13px; display: block; }
.dmode small { font-size: 10px; opacity: .7; }

.demo-machine { background: #fff; border-radius: 26px; padding: 20px; color: var(--text); box-shadow: 0 30px 60px -25px rgba(0,0,0,.5); }

/* Machine à sous — réplique fidèle de l'appli (widgets/slot_machine.dart) */
.slotm {
  position: relative; background: #fff; border-radius: 22px;
  padding: 18px 12px; margin-bottom: 20px;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.14), 0 2px 6px rgba(0,0,0,.05);
  display: flex; align-items: center; gap: 6px;
}
.slotm .sarrow { width: 18px; height: 18px; flex: none; }
.slotm .sreels { position: relative; flex: 1; display: flex; height: 174px; overflow: hidden; }
.slotm .sreel { flex: 1; height: 100%; overflow: hidden; }
.slotm .sstrip { display: flex; flex-direction: column; will-change: transform; }
.slotm .sstrip span { height: 58px; display: flex; align-items: center; justify-content: center; font-size: 34px; }
.slotm .sdiv { width: 1px; height: 100%; background: #EDEBE4; flex: none; }
.slotm .spayline {
  position: absolute; left: 0; right: 0; height: 2.5px; background: #2FB865;
  box-shadow: 0 0 3px rgba(47,184,101,.5); opacity: 0; transition: opacity .2s; z-index: 3; pointer-events: none;
}
.slotm .spayline.top { top: 57px; }
.slotm .spayline.bottom { top: 115px; }
.slotm.stopped .spayline { opacity: 1; }

.demo-result { display: none; }
.demo-result.show { display: block; animation: pop .4s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97);} to { opacity:1; transform: none; } }
.dr-card { display: flex; gap: 16px; align-items: center; background: var(--bg); border-radius: 20px; padding: 14px; margin-bottom: 16px; }
.dr-photo { width: 92px; height: 92px; border-radius: 16px; object-fit: cover; flex: none; background: var(--green-light); }
.dr-info h4 { font-size: 19px; margin-bottom: 6px; color: var(--green-dark); }
.dr-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dr-tag { background: var(--green-light); color: var(--green-nav); font-weight: 700; font-size: 11px; padding: 3px 9px; border-radius: 20px; }
.dr-macros { display: flex; gap: 8px; }
.macro { flex: 1; text-align: center; background: var(--bg); border-radius: 14px; padding: 12px 6px; }
.macro b { font-family: var(--head); font-size: 16px; color: var(--green-dark); display: block; }
.macro span { font-size: 11px; color: var(--text-grey); }
.macro .mi { font-size: 16px; }

.demo-btn { width: 100%; justify-content: center; margin-top: 4px; }
.demo-hint { text-align: center; font-size: 13px; color: rgba(255,255,255,.6); margin-top: 16px; }
.demo-hint b { color: #7CE0A9; }

/* ── Premium / pricing ───────────────────────────────────── */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 820px; margin: 0 auto; }
.plan { background: #fff; border-radius: 26px; padding: 34px; border: 1.5px solid var(--border); position: relative; }
.plan.pro { background: var(--green-dark); color: #fff; border-color: var(--green-dark); box-shadow: var(--shadow); }
.plan h3 { font-size: 22px; margin-bottom: 6px; }
.plan.pro h3 { color: #fff; }
.plan .price { font-family: var(--head); font-weight: 800; font-size: 44px; color: var(--green-dark); margin: 8px 0 4px; }
.plan.pro .price { color: #fff; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--text-grey); }
.plan.pro .price small { color: rgba(255,255,255,.7); }
.plan .plan-sub { color: var(--text-grey); font-size: 14px; margin-bottom: 22px; }
.plan.pro .plan-sub { color: rgba(255,255,255,.75); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 26px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; }
.plan li .ck { color: var(--green-nav); font-weight: 800; flex: none; }
.plan.pro li .ck { color: var(--anti-gaspi); }
.plan .best { position: absolute; top: -13px; right: 26px; background: var(--anti-gaspi); color: var(--anti-gaspi-text); font-family: var(--head); font-weight: 800; font-size: 12px; padding: 5px 14px; border-radius: 20px; }
.plan .btn { width: 100%; justify-content: center; }

/* ── Galerie captures ────────────────────────────────────── */
.gallery { display: flex; gap: 26px; overflow-x: auto; padding: 10px 24px 30px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery .phone { scroll-snap-align: center; }

/* ── Parrainage ──────────────────────────────────────────── */
.referral { background: linear-gradient(135deg, var(--green-nav), var(--green-dark)); border-radius: 40px; padding: 56px 40px; color: #fff; text-align: center; margin: 0 24px; overflow: hidden; position: relative; }
.referral h2 { color: #fff; font-size: clamp(28px,4vw,40px); margin-bottom: 14px; }
.referral p { color: rgba(255,255,255,.8); font-size: 18px; max-width: 560px; margin: 0 auto 26px; }
.code-chip { display: inline-flex; align-items: center; gap: 14px; background: rgba(255,255,255,.12); border: 1.5px dashed rgba(255,255,255,.4); border-radius: 16px; padding: 14px 22px; font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: .15em; }
.code-chip .gift { font-size: 24px; }

/* ── CTA final ───────────────────────────────────────────── */
.final-cta { text-align: center; padding: 90px 0; }
.final-cta h2 { font-size: clamp(32px,5vw,52px); margin-bottom: 18px; }
.final-cta p { font-size: 19px; color: var(--text-grey); margin-bottom: 30px; }
.final-cta .store-badges { justify-content: center; }

/* ── Footer ──────────────────────────────────────────────── */
footer { background: var(--green-dark); color: rgba(255,255,255,.7); padding: 56px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer .brand { color: #fff; margin-bottom: 14px; }
footer .brand svg .leaf { fill: #7CB98A; }
.foot-about { max-width: 300px; font-size: 15px; }
.foot-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .08em; }
.foot-col a { display: block; margin-bottom: 11px; font-size: 15px; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }

/* ── Pages légales ───────────────────────────────────────── */
.legal { padding: 60px 0 80px; }
.legal-wrap { max-width: 780px; margin: 0 auto; background: #fff; border-radius: 26px; padding: 48px; box-shadow: var(--shadow-sm); }
.legal h1 { font-size: clamp(28px,4vw,38px); margin-bottom: 8px; }
.legal .updated { color: var(--text-grey); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 20px; margin: 32px 0 12px; }
.legal p { color: var(--text); margin-bottom: 14px; white-space: pre-line; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green-nav); font-weight: 700; margin-bottom: 28px; }

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 900px; margin: 0 auto; }
.contact-card { background: #fff; border-radius: 22px; padding: 32px; box-shadow: var(--shadow-sm); }
.contact-card .ic { width: 52px; height: 52px; border-radius: 15px; background: var(--green-light); color: var(--green-nav); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.contact-card h3 { font-size: 20px; margin-bottom: 8px; }
.contact-card p { color: var(--text-grey); margin-bottom: 12px; }
.contact-card a.mail { font-family: var(--head); font-weight: 800; color: var(--green-nav); font-size: 18px; }

/* ── Spinner ─────────────────────────────────────────────── */
.spinner { width: 16px; height: 16px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Planning (maquette) ─────────────────────────────────── */
.pl-days { display: flex; gap: 5px; margin-bottom: 16px; }
.pl-day { flex: 1; background: #fff; border-radius: 13px; padding: 9px 0; text-align: center; }
.pl-day.sel { background: var(--green-nav); }
.pl-day small { display: block; font-size: 10px; color: var(--text-grey); }
.pl-day.sel small { color: rgba(255,255,255,.7); }
.pl-day b { font-family: var(--head); font-size: 15px; color: var(--green-dark); }
.pl-day.sel b { color: #fff; }
.pl-slot { display: flex; align-items: center; gap: 11px; background: #fff; border-radius: 15px; padding: 9px; margin-bottom: 10px; }
.pl-slot .pv { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex: none; background: var(--green-light); }
.pl-slot .pl-lbl small { font-size: 11px; color: var(--green-nav); font-weight: 700; display: block; }
.pl-slot .pl-lbl b { font-family: var(--head); font-size: 14px; color: var(--green-dark); }
.pl-tot { background: #fff; border-radius: 16px; padding: 12px 8px; }
.pl-tot .tt { display: flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 800; font-size: 13px; color: var(--green-nav); margin-bottom: 12px; padding-left: 6px; }
.pl-tot .row { display: flex; justify-content: space-around; }
.pl-tot .row .cell { text-align: center; }
.pl-tot .row .cell .ci { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 6px; font-size: 15px; }
.pl-tot .row .cell b { font-family: var(--head); font-size: 14px; color: var(--green-dark); display: block; }
.pl-tot .row .cell span { font-size: 10px; color: var(--text-grey); }

/* ── Carnet (maquette) ───────────────────────────────────── */
.cn-item { display: flex; gap: 12px; background: #fff; border-radius: 16px; padding: 10px; margin-bottom: 11px; align-items: center; }
.cn-item img, .cn-item .ph { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; background: var(--green-light); }
.cn-item .cn-t b { font-family: var(--head); font-size: 14px; color: var(--green-dark); display: block; line-height: 1.2; }
.cn-item .cn-t .cn-tags { display: flex; gap: 5px; margin-top: 5px; }
.cn-item .cn-t .cn-tags span { background: var(--green-light); color: var(--green-nav); font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 10px; }

/* ── Reveal au scroll ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero-cta, .store-badges { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-note { justify-content: center; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.rev .split-text { order: 0; }
  .split-text { text-align: center; }
  .check-list { text-align: left; max-width: 400px; margin: 0 auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 28px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    background: var(--bg); padding: 20px 24px; gap: 18px; border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .nav-toggle { display: block; }
  .nav .btn-ghost { display: none; }
  .features { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .legal-wrap { padding: 28px; }
  .demo { padding: 44px 18px; margin: 0 12px; border-radius: 30px; }
  .referral, .demo { margin: 0 12px; }
  .sec { padding: 56px 0; }
}
