/* PanierODrive — site vitrine. Tokens alignés sur src/ui/styles.css (Apple Pro, sobre). */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/PlusJakartaSans[wght].ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
}

:root {
  --bg: #FBFBFD;
  --surface: #FFFFFF;
  --subtle: #F6F4F1;
  --ink: #1D1D1F;
  --body: #6E6E73;
  --muted: #646469;
  --accent: #0071E3;
  /* Palette Orange Pro — Harmonie parfaite sur le ton profond et élégant (#D34500) */
  --brand-orange: #D34500;
  --brand-orange-hover: #BF3E00;
  --brand-orange-active: #A83600;
  --brand: #D34500;
  --brand-hover: #BF3E00;
  --brand-active: #A83600;
  --brand-text: #D34500;
  --brand-soft: rgba(211, 69, 0, 0.08);
  --brand-border: rgba(211, 69, 0, 0.20);
  --pro: #15803D;
  --pro-bg: rgba(52, 199, 89, 0.12);
  --amber-bg: #FFF4E5;
  --amber: #B25E00;
  --line: rgba(0, 0, 0, 0.08);
  --line-soft: rgba(0, 0, 0, 0.05);
  --r-card: 20px;
  --r-md: 12px;
  --r-pill: 980px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 20px 40px rgba(0, 0, 0, 0.05);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -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; font-variant-numeric: tabular-nums; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section--tint { background: var(--subtle); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 720; max-width: 22ch; }
.lead { color: var(--body); font-size: 19px; max-width: 56ch; margin-top: 18px; }
.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.section-head--center .h2, .section-head--center .lead { margin-inline: auto; }

/* Accents & highlights sémantiques */
.text-brand { color: var(--brand-text); }
strong.text-brand { font-weight: 750; }
.hero__highlight {
  color: var(--brand-text);
  white-space: nowrap;
}
.badge-brand {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: var(--r-pill);
  background: var(--brand-soft);
  color: var(--brand-text);
  border: 1px solid var(--brand-border);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
}

/* Boutons — Design Apple (élégant, proportionné, sans fioritures grossières) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 550;
  font-size: 15px;
  letter-spacing: -0.012em;
  cursor: pointer;
  transition: transform 0.16s var(--ease), background 0.16s var(--ease), box-shadow 0.16s var(--ease), opacity 0.16s var(--ease);
  white-space: nowrap;
  text-decoration: none !important;
  user-select: none;
  -webkit-user-select: none;
}
.btn:active {
  transform: scale(0.975);
}
.btn--dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.btn--dark:hover {
  background: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}
.btn--brand {
  background: var(--brand);
  color: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 3px 10px rgba(211, 69, 0, 0.20);
}
.btn--brand:hover {
  background: var(--brand-hover);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 6px 16px rgba(211, 69, 0, 0.28);
}
.btn--brand:active {
  background: var(--brand-active);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.14);
}
.btn--sm {
  min-height: 34px;
  padding: 0 14px;
  font-size: 13.5px;
  font-weight: 500;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: progress;
}

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(20px) saturate(190%); -webkit-backdrop-filter: blur(20px) saturate(190%); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; letter-spacing: -0.02em; text-decoration: none !important; user-select: none; }
.brand svg { width: 28px; height: 28px; flex-shrink: 0; }
.brand__text { display: inline-flex; align-items: center; }
.brand-word { letter-spacing: -0.02em; white-space: nowrap; }
.brand__main { font-weight: 800; color: #1D1D1F; }
.brand__accent { font-weight: 600; color: #D34500; }
.btn--brand .brand__main,
.btn--brand .brand__accent { color: #FFFFFF; }
.btn--dark .brand__main { color: #FFFFFF; }
.btn--dark .brand__accent { color: #FF7A2E; }
.nav { display: flex; gap: 32px; }
.nav a { color: var(--body); font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.header__cta { display: flex; align-items: center; gap: 14px; }
.header__key { font-size: 14px; color: var(--body); font-weight: 500; }

/* Hero */
.hero { padding: 88px 0 112px; }
.hero__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.hero__intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--amber-bg); color: var(--amber); border: 1px solid rgba(178, 94, 0, 0.18); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.14; letter-spacing: -0.03em; font-weight: 750; margin: 0 0 24px; }
.hero__sub { color: var(--body); font-size: 20px; line-height: 1.55; max-width: 56ch; margin: 0 auto; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 24px; color: var(--muted); font-size: 14px; list-style: none; padding: 0; }
.reassure li { display: inline-flex; align-items: center; gap: 6px; }
.tick { width: 15px; height: 15px; stroke: var(--pro); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Compatibilité rapide sous le hero */
.hero__drives {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__drives-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.hero__drives-bubbles {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-drive-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s var(--ease), filter 0.2s var(--ease);
  flex-shrink: 0;
}
.hero-drive-bubble:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}
.hero-drive-bubble.is-soon {
  opacity: 0.40;
  filter: grayscale(100%);
}
.hero-drive-bubble.is-soon:hover {
  opacity: 1;
  filter: grayscale(0%);
}
.hero-drive-bubble__check {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pro);
  color: #FFFFFF;
  font-size: 8.5px;
  font-weight: bold;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 0 0 2px #FFFFFF, 0 1px 3px rgba(0, 0, 0, 0.18);
}
.hero__drives-status {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--body);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-align: center;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pro);
  display: inline-block;
  box-shadow: 0 0 0 3px var(--pro-bg);
}

/* Vidéo Démo Hero Grand Format */
.video-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}
.video-frame__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.94);
}
.video-frame__dots {
  display: flex;
  gap: 6px;
}
.video-frame__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E5E5EA;
}
.video-frame__dots span:nth-child(1) { background: #FF5F56; }
.video-frame__dots span:nth-child(2) { background: #FFBD2E; }
.video-frame__dots span:nth-child(3) { background: #27C93F; }
.video-frame__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.video-frame__expand {
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.video-frame__expand:hover {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.video-frame__body {
  position: relative;
  background: #000;
  display: flex;
  flex-direction: column;
  line-height: 0;
}
.video-frame__body video {
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 1124;
  display: block;
  cursor: pointer;
}

/* Contrôles sous la vidéo */
.video-controls {
  margin: 0;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.video-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  border: 0;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.video-btn:hover {
  transform: scale(1.02);
  background: #000;
}
.video-btn__ico {
  width: 14px;
  height: 14px;
}
.video-link {
  font-size: 13.5px;
  color: var(--brand-text);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s var(--ease);
}
.video-link:hover {
  color: var(--brand-hover);
  text-decoration: underline;
}


/* Cartes génériques */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02); }
.card h3 { font-size: 19px; letter-spacing: -0.015em; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.card p { color: var(--body); font-size: 16px; }
.num { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); border: 1.5px solid var(--brand-border); font-weight: 750; font-size: 14px; display: grid; place-items: center; margin-bottom: 20px; }
.quote { font-style: italic; color: var(--ink); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento .card:nth-child(1) { grid-column: span 7; }
.bento .card:nth-child(2) { grid-column: span 5; }
.bento .card:nth-child(n+3) { grid-column: span 4; }
.ico { width: 26px; height: 26px; stroke: var(--ink); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
kbd { font: 600 11px var(--font); background: rgba(0, 0, 0, 0.05); border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 4px; padding: 1px 6px; }

/* Comparatif */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.compare th, .compare td { text-align: left; padding: 18px 24px; border-bottom: 1px solid var(--line-soft); font-size: 15px; vertical-align: top; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); background: var(--subtle); }
.compare thead th:last-child { color: var(--brand-text); font-weight: 700; }
.compare tbody th { font-weight: 600; width: 28%; }
.compare td:nth-child(2) { color: var(--body); }
.compare td:last-child { font-weight: 560; }

/* Enseignes */
.stores { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.store { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 16px; text-align: center; color: var(--ink); transition: transform 0.2s var(--ease), box-shadow 0.2s; text-decoration: none !important; display: flex; flex-direction: column; align-items: center; justify-content: space-between; min-height: 165px; }
.store:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store strong { display: block; font-size: 15px; margin-bottom: 8px; line-height: 1.25; }
.store h3 { margin: 0 0 10px; font-size: 15px; }

/* Bulle ronde officielle du Drive (reprise du dock de l'application) */
.store__bubble {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s var(--ease), filter 0.2s var(--ease);
}
.store:hover .store__bubble {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.store__bubble.is-soon {
  opacity: 0.45;
  filter: grayscale(100%);
}
.store:hover .store__bubble.is-soon {
  opacity: 1;
  filter: grayscale(0%);
}

.store__logo {
  display: block;
}
.store__logo--leclerc {
  width: 38px;
  height: 38px;
}
.hero-drive-bubble .store__logo--leclerc {
  width: 26px;
  height: 26px;
}
.store__logo--carrefour {
  width: 26px;
  height: 26px;
}
.hero-drive-bubble .store__logo--carrefour {
  width: 19px;
  height: 19px;
}
.store__logo--auchan {
  width: 25px;
  height: 25px;
}
.hero-drive-bubble .store__logo--auchan {
  width: 18px;
  height: 18px;
}
.store__logo--chronodrive {
  width: 34px;
  height: 34px;
}
.hero-drive-bubble .store__logo--chronodrive {
  width: 24px;
  height: 24px;
}
.store__logo--intermarche {
  width: 34px;
  height: 34px;
}
.hero-drive-bubble .store__logo--intermarche {
  width: 24px;
  height: 24px;
}

/* En-tête des pages dédiées aux enseignes */
.store-page-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.store-page-header__eyebrow {
  margin-bottom: 0;
}
.store-page-header .store__bubble {
  width: 60px;
  height: 60px;
  margin-bottom: 0;
}
.store-page-header .store__logo--leclerc { width: 42px; height: 42px; }
.store-page-header .store__logo--carrefour { width: 30px; height: 30px; }
.store-page-header .store__logo--auchan { width: 28px; height: 28px; }
.store-page-header .store__logo--chronodrive { width: 38px; height: 38px; }
.store-page-header .store__logo--intermarche { width: 38px; height: 38px; }

.tag { display: inline-flex; height: 22px; align-items: center; padding: 0 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 650; }
.tag--on { background: var(--pro-bg); color: var(--pro); }
.tag--soon { background: var(--subtle); color: var(--muted); }

/* Sécurité */
.sec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Tarifs */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; transition: box-shadow 0.4s var(--ease), border-color 0.4s; }
.plan--pro {
  border-color: rgba(211, 69, 0, 0.30);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 20px 40px -15px rgba(211, 69, 0, 0.08);
  position: relative;
}
.plan--pro.is-hl {
  box-shadow: 0 0 0 4px rgba(211, 69, 0, 0.18), var(--shadow);
}
.plan__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: #FDF2EB;
  color: #B83A00;
  border: 1px solid rgba(184, 58, 0, 0.28);
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.plan h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.price { font-size: 56px; font-weight: 760; letter-spacing: -0.04em; margin: 18px 0 4px; line-height: 1; }
.price s { font-size: 24px; color: var(--muted); font-weight: 500; margin-right: 8px; letter-spacing: 0; }
.price-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--body); align-items: flex-start; }
.plan li .tick { margin-top: 5px; flex-shrink: 0; }
.plan .btn { width: 100%; }
.pro-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.form-msg { margin-top: 12px; font-size: 14px; min-height: 20px; }
.form-msg.is-err { color: #DC2626; }
.form-msg.is-ok { color: var(--pro); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 0; display: flex; justify-content: space-between; gap: 24px; font-size: 18px; font-weight: 620; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--muted); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--body); padding: 0 0 24px; max-width: 64ch; }
.faq h3 { font: inherit; letter-spacing: inherit; }

/* CTA final + footer */
.final { text-align: center; padding: 120px 0; }
.final .h2 { margin-inline: auto; }
.final__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.btn--mobile-only { display: none !important; }
.footer { border-top: 1px solid var(--line); padding: 48px 0; color: var(--muted); font-size: 13px; }
.footer__in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer a { color: var(--body); }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.disclaimer { max-width: 560px; }

/* Mobile : envoi du lien vers l'ordinateur */
.mobile-send { display: none; }
.mobile-send form { display: grid; gap: 10px; margin-top: 16px; }
.field { height: 52px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); padding: 0 16px; font-size: 16px; width: 100%; }
.field:focus-visible { border-color: var(--accent); }

/* Pages secondaires */
.page { padding: 80px 0 120px; }
.page h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 750; margin-bottom: 20px; max-width: 20ch; }
.page h2 { font-size: 22px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.page p, .page li { color: var(--body); max-width: 68ch; margin-bottom: 14px; }
.keybox { background: var(--subtle); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; font-family: ui-monospace, Menlo, monospace; font-size: 14px; word-break: break-all; margin: 24px 0; max-width: 640px; }
.steps { padding-left: 20px; }
.waitlist { display: grid; gap: 10px; max-width: 420px; margin-top: 28px; }
.consent { font-size: 13px; color: var(--muted); }

/* ───────── Animations (landing) ───────── */
.header { transition: height 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.header__in { transition: height 0.3s var(--ease); }
.header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(0, 0, 0, 0.18); }
.header.is-scrolled .header__in { height: 56px; }

/* Hero : halos animés */
.hero { position: relative; overflow: hidden; }
.hero__wrap { position: relative; z-index: 1; }
.aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; transform: translate3d(0, var(--py, 0px), 0); animation: float 14s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 460px; height: 460px; left: -120px; top: -140px; background: rgba(255, 122, 46, 0.30); }
.aurora i:nth-child(2) { width: 420px; height: 420px; right: -100px; top: 40px; background: rgba(211, 69, 0, 0.18); animation-duration: 18s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 360px; height: 360px; left: 38%; top: 380px; background: rgba(255, 190, 120, 0.28); animation-duration: 22s; animation-delay: -11s; }
@keyframes float { to { margin: 40px 0 0 60px; } }

/* Titre : mots qui montent */
.hero h1.is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero h1.is-split .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + 120ms); }
.hero h1.is-in .w > span { transform: none; }
.hero__highlight { background: linear-gradient(100deg, var(--brand) 20%, #FF8A3D 50%, var(--brand) 80%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 5s linear infinite; }
@keyframes shine { to { background-position: -220% 0; } }
.js-motion .hero__sub, .js-motion .hero__cta, .js-motion .reassure, .js-motion .video-frame { animation: rise 0.9s var(--ease) both; }
.js-motion .hero__sub { animation-delay: 0.55s; }
.js-motion .hero__cta { animation-delay: 0.7s; }
.js-motion .reassure { animation-delay: 0.8s; }
.js-motion .video-frame { animation-delay: 0.95s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }

/* Boutons : magnétisme + reflet */
.btn { transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0); }
.btn:active { transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(0.975); }
.btn--cws, .btn--brand { position: relative; overflow: hidden; }
.btn--brand::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%); transform: translateX(-120%); }
.btn--brand:hover::after { transform: translateX(120%); transition: transform 0.7s var(--ease); }
.hero .btn--brand { animation: pulse 3.2s ease-in-out 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 3px 10px rgba(211,69,0,.20), 0 0 0 0 rgba(211,69,0,.35); } 60% { box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 3px 10px rgba(211,69,0,.20), 0 0 0 14px rgba(211,69,0,0); } }

/* Apparition au scroll */
.js-motion .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.js-motion .reveal.is-visible { opacity: 1; transform: none; }

/* Cartes : halo + inclinaison */
.glow { position: relative; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s; }
.glow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(211, 69, 0, 0.09), transparent 60%); }
.glow:hover::before { opacity: 1; }
.glow:hover { border-color: var(--brand-border); }
.js-motion .card.glow.is-visible { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.glow:hover { box-shadow: var(--shadow); }
.ico { transition: transform 0.5s var(--ease), stroke 0.3s; }
.card:hover .ico { transform: scale(1.15) rotate(-6deg); stroke: var(--brand); }


.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 980px; margin: 56px auto 0; text-align: center; }
.stat__n { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 780; letter-spacing: -0.05em; line-height: 1; color: var(--brand-text); }
.stat__n small { font-size: 0.45em; letter-spacing: 0; font-weight: 650; color: var(--ink); }
.stat__l { color: var(--body); font-size: 15px; margin-top: 8px; }

/* Étapes : ligne qui se dessine */
#fonctionnement .grid-3 { position: relative; }
#fonctionnement .grid-3::before { content: ""; position: absolute; left: 12%; right: 12%; top: 48px; height: 2px; background: linear-gradient(90deg, var(--brand), #FF8A3D); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease) 0.3s; z-index: 0; opacity: 0.35; }
#fonctionnement .grid-3.is-drawn::before { transform: scaleX(1); }
#fonctionnement .card { position: relative; z-index: 1; }
.num { transition: transform 0.5s var(--ease), background 0.3s, color 0.3s; }
.card:hover .num { background: var(--brand); color: #fff; transform: scale(1.12); }

/* Comparatif : lignes qui glissent */
.compare tbody tr { transition: background 0.3s; }
.compare tbody tr:hover { background: var(--brand-soft); }
.compare td:nth-child(2) { position: relative; }
.compare td:last-child::before { content: "✓ "; color: var(--pro); font-weight: 800; }

/* Plan Pro : bordure animée */
.plan--pro::before { content: ""; position: absolute; inset: -1px; border-radius: 25px; padding: 2px; background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--brand) 80%, #FF8A3D 90%, transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; pointer-events: none; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
.plan--pro.glow::before { opacity: 1; background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--brand) 80%, #FF8A3D 90%, transparent); }

/* Logos enseignes */
.store:hover .store__bubble:not(.is-soon) { animation: wiggle 0.6s var(--ease); }
@keyframes wiggle { 30% { transform: scale(1.12) rotate(-8deg); } 60% { transform: scale(1.1) rotate(5deg); } }

@media (max-width: 960px) {
    .stats { grid-template-columns: 1fr; gap: 28px; }
  #fonctionnement .grid-3::before { display: none; }
}


/* ───────── Avant / Après ───────── */
.ba { --pos: 50%; position: relative; max-width: 760px; margin: 0 auto 56px; }
.ba__stage { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); min-height: 430px; }
.ba__layer { position: absolute; inset: 0; padding: 28px 32px; }
.ba__layer ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.ba__layer--raw { background: #F3F1EE; color: var(--body); font-size: 15px; }
.ba__layer--raw li { padding: 11px 14px; border-radius: 10px; background: rgba(255,255,255,0.6); border: 1px dashed rgba(0,0,0,0.12); }
.ba__layer--clean { background: var(--surface); clip-path: inset(0 0 0 var(--pos)); }
.ba__layer--clean li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 15px; }
.ba__layer--clean li span { font-size: 12px; font-weight: 700; color: var(--muted); align-self: center; }
.ba__layer--clean .is-skip { opacity: 0.5; }
.ba__layer--clean .is-skip b { text-decoration: line-through; font-weight: 500; }
.ba__layer--clean .is-skip span { color: var(--amber); }
.ba__tag { display: inline-flex; height: 26px; align-items: center; padding: 0 12px; border-radius: var(--r-pill); background: rgba(0,0,0,0.06); font-size: 12px; font-weight: 700; color: var(--ink); margin: 0; }
.ba__tag--brand { background: var(--brand-soft); color: var(--brand-text); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--brand); transform: translateX(-1px); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--brand); box-shadow: 0 6px 20px rgba(211,69,0,0.4); display: grid; place-items: center; }
.ba__handle svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba:focus-within .ba__handle span { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--accent); }
@media (max-width: 720px) { .ba__layer { padding: 20px; } .ba__layer ul { gap: 8px; } .ba__layer--raw, .ba__layer--clean li { font-size: 13.5px; } .ba__stage { min-height: 480px; } }

/* ───────── Barre d'installation collante (mobile) ───────── */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55; height: 52px; align-items: center; justify-content: center; border-radius: var(--r-pill); background: var(--brand); color: #fff; font-weight: 650; font-size: 15px; text-decoration: none !important; box-shadow: 0 10px 30px rgba(211,69,0,0.4); transform: translateY(140%); transition: transform 0.5s var(--ease); }
  .sticky-cta.is-on { transform: none; }
}

/* ───────── Pages satellites ───────── */
.page--store, .page--legal { position: relative; overflow: hidden; }
.page--store .container, .page--legal .container { position: relative; z-index: 1; }
.page--store .aurora i:nth-child(1) { width: 380px; height: 380px; left: -100px; top: -80px; }
.page--store .aurora i:nth-child(2) { width: 340px; height: 340px; right: -80px; top: 120px; }
.page--store .aurora i:nth-child(3) { display: none; }
.page h1.is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.page h1.is-split .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + 100ms); }
.page h1.is-in .w > span { transform: none; }
.page--store h1 { max-width: 22ch; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: -0.04em; }
.page--store .lead { font-size: 19px; }

/* Logo de l'enseigne : pastille avec anneau qui pulse */
.store__bubble--hero { position: relative; width: 76px; height: 76px; }
.store-page-header .store__bubble--hero { width: 76px; height: 76px; }
.store-page-header .store__bubble--hero .store__logo--leclerc { width: 52px; height: 52px; }

/* Étapes : timeline numérotée */
.page--store .steps { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: step; position: relative; display: grid; gap: 14px; max-width: 760px; }
.page--store .steps::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--brand), rgba(211,69,0,0.1)); transform-origin: 0 0; animation: grow 1.6s var(--ease) 0.4s both; }
@keyframes grow { from { transform: scaleY(0); } }
.page--store .steps li { counter-increment: step; position: relative; margin: 0; max-width: none; padding: 18px 20px 18px 68px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; color: var(--body); font-size: 15.5px; }
.page--store .steps li::before { content: counter(step); position: absolute; left: 10px; top: 14px; width: 24px; height: 24px; margin-left: 0; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 750; font-size: 13px; display: grid; place-items: center; box-shadow: 0 0 0 5px var(--bg); }
.page--store .steps li strong { color: var(--ink); }
.page--store h2 { margin-top: 64px; }
.page--store .grid-3 { margin-top: 24px; }

/* Bandeau d'appel à l'action */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 64px; padding: 32px 36px; border-radius: 24px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,46,0.55), transparent 70%); animation: float 10s ease-in-out infinite alternate; pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin: 0 0 6px; color: #fff; font-size: 24px; }
.cta-band p { margin: 0; color: rgba(255,255,255,0.7); }
.cta-band .btn--brand { box-shadow: 0 6px 20px rgba(211,69,0,0.5); }
.cta-band.glow::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.10), transparent 60%); }

/* Liste d'attente */
.waitlist.glow-card { max-width: 480px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.form-msg.is-ok { animation: pop 0.5s var(--ease); }
.page--store .keybox { transition: box-shadow 0.3s; }

/* Pages légales : sommaire flottant */
.toc { display: none; }
@media (min-width: 1180px) {
  .toc { display: grid; gap: 2px; position: fixed; top: 120px; left: calc(50% + 260px); width: 230px; max-height: calc(100vh - 160px); overflow: auto; padding-left: 16px; border-left: 2px solid var(--line); }
  .toc p { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  .toc a { color: var(--body); font-size: 13.5px; line-height: 1.35; padding: 5px 0; text-decoration: none; transition: color 0.2s, transform 0.3s var(--ease); }
  .toc a:hover { color: var(--ink); }
  .toc a.is-on { color: var(--brand-text); font-weight: 650; transform: translateX(4px); }
  .page--legal .container { max-width: 760px; margin-left: max(24px, calc(50% - 536px)); margin-right: auto; }
}
.page--legal h2 { scroll-margin-top: 96px; }
@media (max-width: 720px) { .cta-band { padding: 24px; } .cta-band .btn { width: 100%; } }

/* Mouvement réduit */
@media (prefers-reduced-motion: reduce) { :root:not(.force-motion) *, :root:not(.force-motion) *::before, :root:not(.force-motion) *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } .hero__highlight { -webkit-text-fill-color: var(--brand-text); background: none; } }

/* Tablette */
@media (max-width: 960px) {
  .hero__wrap { gap: 32px; }
  .grid-3, .sec { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento .card:nth-child(n) { grid-column: auto; }
  .stores { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; }
  .nav { display: none; }
}

/* Mobile */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .header__key { display: none; }
  .header__cta .btn--dark, .header__cta .btn--brand { display: none; }
  .hero__cta .btn--dark, .hero__cta .btn--brand { display: none; }
  .btn--cws { display: none !important; }
  .btn--mobile-only { display: inline-flex !important; }
  .mobile-send { display: block; width: 100%; box-sizing: border-box; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; margin-top: 32px; box-shadow: var(--shadow); }
  .mobile-send h2 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 8px; }
  .mobile-send p { color: var(--body); font-size: 15px; }
  .btn { min-height: 52px; }
  .card, .plan { padding: 24px; }
  .price { font-size: 48px; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
  .compare th, .compare td { border: 0; padding: 4px 20px; }
  .compare tbody th { width: 100%; font-size: 15px; }
  .compare td:nth-child(2)::before { content: "Sans PanierODrive : "; color: var(--muted); font-weight: 600; }
  .compare td:nth-child(3)::before { content: "Avec PanierODrive : "; color: var(--accent); font-weight: 600; }

  .stores .store:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 280px; margin-inline: auto; width: 100%; }
  .store { padding: 18px 12px; min-height: 145px; }
  .store strong { font-size: 13.5px; }
  .store__bubble { width: 44px; height: 44px; margin-bottom: 10px; }
  .store__logo--leclerc { width: 32px; height: 32px; }
  .store__logo--carrefour { width: 22px; height: 22px; }
  .store__logo--auchan { width: 21px; height: 21px; }
  .store__logo--chronodrive { width: 28px; height: 28px; }
  .store__logo--intermarche { width: 28px; height: 28px; }
  .hero__drives { gap: 10px; }
  .hero-drive-bubble { width: 44px; height: 44px; }
  .footer__in { flex-direction: column; }
}

.mt-14 { margin-top: 14px; }
.mx-auto { margin-inline: auto; }
