/* Snack Sphère — site commercial. Charte 2026 : fond glacier, bleu signature #2563EB, ambre #FFB45B en accent rare,
   Inter pour tout le texte. Mobile d'abord, grille de 8 px, animations discrètes. */
:root {
  /* Tokens de marque Snack Sphère (charte 2026) : fond glacier, bleu signature, ambre en accent rare. */
  --brand-primary: #2563EB; --brand-primary-hover: #1D4ED8; --brand-primary-active: #1E40AF; --brand-primary-soft: #EAF1FE;
  --brand-accent: #FFB45B; --brand-accent-soft: #FFF4E6; --brand-accent-text: #9A5208;
  --background: #F7F9FC; --surface: #FFFFFF; --surface-2: #F1F5F9; --text: #0B1937; --muted: #526078; --subtle: #64748B;
  --border: #E2E8F0; --border-strong: #CBD5E1;
  --success: #15803D; --success-bg: #ECFDF3; --error: #B91C1C; --error-bg: #FEF2F2; --warning: #9A5208; --warning-bg: #FFF7ED;
  --shadow-s: 0 1px 2px rgba(15, 23, 42, .05); --shadow-m: 0 8px 24px -12px rgba(15, 23, 42, .18); --shadow-l: 0 24px 48px -24px rgba(15, 23, 42, .25);
  /* Anciens noms conservés (utilisés par les pages et les scripts), redirigés vers la nouvelle charte */
  --night: var(--background); --night-2: var(--surface); --night-3: #E8EEF6;
  --pink: var(--brand-primary); --pink-soft: var(--brand-primary-hover);
  --gold: var(--brand-accent); --gold-soft: var(--brand-accent-text);
  --cream: #FFFFFF; --ink: var(--text); --ink-2: var(--muted); --ink-3: var(--subtle);
  --line: var(--border); --line-2: var(--border-strong); --glass: var(--surface); --glass-2: var(--surface-2);
  --ok: var(--success); --warn: var(--warning); --danger: var(--error);
  --radius: 16px; --radius-s: 12px;
  --display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px; --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--night); color: var(--ink);
  font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6vw, 4rem); font-weight: 700; letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--cream); color: var(--night); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; color: var(--ink-3); }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--brand-primary); margin-bottom: 14px; }
.kicker::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.grad { color: var(--brand-primary); }
.underline { text-decoration: underline; text-decoration-color: var(--brand-accent); text-decoration-thickness: .14em; text-underline-offset: .12em; text-decoration-skip-ink: none; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 12px; border: 1px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand-primary); color: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 6px 16px -8px rgba(37, 99, 235, .55); }
.btn-primary:hover { background: var(--brand-primary-hover); }
.btn-primary:active { background: var(--brand-primary-active); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--glass-2); border-color: rgba(15, 23, 42, 0.18); }
.btn-gold { background: var(--brand-accent); color: var(--text); }
.btn-gold:hover { background: #FFA53A; }
.btn-s { min-height: 38px; padding: 0 16px; font-size: .9rem; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.center .actions { justify-content: center; }
.link { color: var(--pink-soft); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ---------- en-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.site-header.scrolled, .site-header.open { background: rgba(247, 249, 252, .88); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-color: var(--line); }
.nav { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand { flex: none; }
.brand img { height: 36px; width: auto; max-width: none; flex: none; }
.nav-links { display: none; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: none; border: 0;
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .93rem; cursor: pointer; white-space: nowrap;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-cta { display: none; gap: 8px; align-items: center; }
.burger { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, top .25s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.open .burger span { background: transparent; }
.open .burger span::before { top: 0; transform: rotate(45deg); }
.open .burger span::after { top: 0; transform: rotate(-45deg); }
.chev { width: 10px; height: 10px; transition: transform .2s; }
[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* menu mobile */
.mobile-menu { padding: 8px var(--gutter) 24px; max-height: calc(100dvh - 68px); overflow-y: auto; border-top: 1px solid var(--line); }
.mobile-menu a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-menu .sub a { padding-left: 16px; font-weight: 400; color: var(--ink-2); font-size: .95rem; }
.mobile-menu .actions { margin-top: 20px; }
.mobile-menu .actions .btn { flex: 1 1 100%; }

/* mega-menu */
.mega { position: absolute; left: 0; right: 0; top: 68px; padding: 0 var(--gutter); }
.mega-panel {
  max-width: var(--wrap); margin: 0 auto; background: var(--surface); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-2); border-radius: 22px; padding: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  box-shadow: 0 30px 80px -20px rgba(15, 23, 42, .18); animation: pop .22s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } }
.mega a { display: flex; gap: 12px; padding: 12px; border-radius: 14px; text-decoration: none; transition: background .15s; }
.mega a:hover { background: var(--glass-2); }
.mega strong { display: block; font-size: .95rem; }
.mega span.d { display: block; font-size: .82rem; color: var(--ink-3); line-height: 1.4; }
.mega .sphere { width: 34px; height: 34px; flex: none; }

@media (min-width: 1040px) {
  .nav-links, .nav-cta { display: flex; }
  .burger, .mobile-menu { display: none !important; }
}

/* ---------- sphères (signature visuelle, CSS pur) ---------- */
.sphere {
  --a: #93C5FD; --b: #2563EB; --c: #1E3A8A;
  border-radius: 50%; position: relative; flex: none;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.85) 0 3%, transparent 14%),
              radial-gradient(circle at 35% 32%, var(--a), var(--b) 48%, var(--c) 100%);
  box-shadow: inset -6px -8px 18px rgba(15, 23, 42, .22), inset 4px 6px 14px rgba(255,255,255,.18), 0 12px 28px -14px rgba(15, 23, 42, .35);
}
.sphere.ring::after {
  content: ''; position: absolute; inset: -18% -38%; border-radius: 50%; border: 2px solid var(--gold);
  transform: rotate(-18deg) scaleY(.32); opacity: .85;
}
.s-vitrine { --a: #FFFFFF; --b: #DCE4EE; --c: #64748B; }
.s-commande { --a: #93C5FD; --b: #2563EB; --c: #1E3A8A; }
.s-pro { --a: #FFE3BF; --b: #FFB45B; --c: #9A5208; }
.s-table { --a: #BFDBFE; --b: #3B82F6; --c: #1E40AF; }
.s-snackspin { --a: #FFE3BF; --b: #FFB45B; --c: #1E40AF; }
.s-nfc { --a: #FFFFFF; --b: #CBD5E1; --c: #475569; }
.s-kiosk { --a: #94A3B8; --b: #475569; --c: #1E293B; }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section-head { max-width: 760px; margin-bottom: 40px; }
.center.section-head, .section-head.center { margin-left: auto; margin-right: auto; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(90px); opacity: .10; z-index: -1; display: none; }

/* révélation au défilement (désactivée si « réduire les animations ») */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- hero ---------- */
.hero { padding: 40px 0 64px; overflow: hidden; isolation: isolate; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; color: var(--ink-3); font-size: .88rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@media (min-width: 960px) {
  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 24px; }
}

/* orbite du hero */
.orbit-stage { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin: 0 auto; }
.orbit-stage .core { position: absolute; inset: 31%; }
.orbit-stage .core .sphere { width: 100%; height: 100%; }
.orbit-stage .core .core-logo { width: 100%; height: 100%; object-fit: contain; }
.orbit-ring { position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed rgba(255, 180, 91, 0.35); }
.orbit-ring.r2 { inset: 0; border-style: solid; border-color: var(--line); }
.orbit-item { position: absolute; transform: translate(-50%, -50%); animation: floaty 7s ease-in-out infinite; }
.orbit-item:nth-child(2n) { animation-delay: -2.5s; }
.orbit-item:nth-child(3n) { animation-delay: -4.5s; }
@keyframes floaty { 50% { transform: translate(-50%, calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .orbit-item { animation: none; } }
.orbit-label { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 8px; font-size: .72rem; color: var(--ink-3); white-space: nowrap; }

/* ---------- maquettes d'appareils ---------- */
.device { background: #0d0910; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 60px -18px rgba(15, 23, 42, .18), inset 0 0 0 1px rgba(255,255,255,.04); position: relative; }
.device .screen { background: #F7F9FC; color: var(--text); overflow: hidden; position: relative; height: 100%; }
.phone { width: 100%; max-width: 280px; aspect-ratio: 9/19; border-radius: 34px; padding: 9px; }
.phone .screen { border-radius: 26px; }
.phone.shot .screen { background: linear-gradient(90deg, #6E0A40, #1C0716 45%, #12040E); padding-top: 11%; }
.phone.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone::before { content: ''; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; background: #0d0910; border-radius: 12px; z-index: 3; }
.tablet { width: 100%; aspect-ratio: 4/3; border-radius: 24px; padding: 12px; }
.tablet .screen { border-radius: 14px; background: #F8FAFC; color: var(--text); }
.mini-phone { width: 72px; aspect-ratio: 9/18; border-radius: 14px; padding: 4px; }
.mini-phone .screen { border-radius: 10px; }
.mini-tablet { width: 128px; aspect-ratio: 4/3; border-radius: 12px; padding: 5px; }
.mini-tablet .screen { border-radius: 7px; background: #F8FAFC; }

/* écran de commande (réplique de l'interface client réelle) */
.m-top { background: var(--text); color: #fff; padding: 34px 14px 12px; }
.m-top .r { font-family: var(--display); font-weight: 800; font-size: 1.05rem; }
.m-top .t { font-size: .72rem; opacity: .75; }
.m-cats { display: flex; gap: 6px; padding: 8px 10px; overflow: hidden; background: #fff; border-bottom: 1px solid var(--border); }
.m-cats span { font-size: .68rem; padding: 4px 9px; border-radius: 999px; background: #F6F3EF; white-space: nowrap; }
.m-cats span.on { background: var(--pink); color: #fff; }
.m-item { display: flex; gap: 8px; align-items: center; background: #fff; margin: 8px 10px 0; border-radius: 12px; padding: 8px; font-size: .74rem; border: 1px solid var(--border); }
.m-item .ph { width: 40px; height: 40px; border-radius: 9px; flex: none; background: #F2C48D; }
.m-item .ph.b { background: #E8A07A; }
.m-item .ph.c { background: #EAD7A6; }
.m-item .ph.d { background: #BFD3F5; }
.m-item b { display: block; font-size: .78rem; }
.m-item .p { margin-left: auto; font-weight: 700; }
.m-cart { position: absolute; left: 10px; right: 10px; bottom: 12px; background: var(--pink); color: #fff; border-radius: 14px; padding: 10px 12px; font-size: .76rem; font-weight: 700; display: flex; justify-content: space-between; box-shadow: 0 10px 20px -8px rgba(37, 99, 235, 0.7); }

/* écran tablette de gérance (réplique de l'écran cuisine réel) */
.k-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: .74rem; }
.k-bar b { font-family: var(--display); font-size: .9rem; }
.k-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ok); }
.k-bar .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.k-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; font-size: .68rem; }
.k-col h5 { margin: 0 0 6px; font: 600 .66rem var(--body); color: var(--ink-3); text-transform: none; }
.k-card { background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: 7px; margin-bottom: 6px; }
.k-card.new { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink) inset; }
.k-card b { display: flex; justify-content: space-between; font-size: .72rem; }
.k-card .tag { display: inline-block; margin-top: 4px; font-size: .6rem; padding: 2px 6px; border-radius: 6px; background: rgba(255, 180, 91, 0.18); color: var(--gold-soft); }

/* pastille de table : disque blanc brillant (résine), symbole, QR, numéro. Tailles en cqw : la même pastille
   reste proportionnée de 60 px (orbite) à 220 px (pages produit). */
.pastille {
  container-type: inline-size; position: relative; width: 100%; max-width: 220px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 24%, #FFFFFF 0%, #FBFCFE 42%, #EEF2F7 78%, #E3E8EF 100%);
  box-shadow: 0 0 0 1px #DCE3EC, inset 0 -0.6rem 1.2rem -0.4rem rgba(15, 23, 42, .12), inset 0 .3rem .6rem rgba(255, 255, 255, .9), 0 18px 40px -16px rgba(15, 23, 42, .28), 0 4px 10px -4px rgba(15, 23, 42, .12);
}
/* reflet du dôme : liseré clair près du bord et halo en haut à gauche, sous le contenu pour ne pas gêner le scan */
.pastille::before { content: ''; position: absolute; inset: 3.5%; border-radius: 50%; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .95), inset 0 2px 3px rgba(15, 23, 42, .06);
  background: radial-gradient(ellipse 60% 38% at 34% 18%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%); }
.pastille-face { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.2cqw; padding: 4cqw 0 2cqw; text-align: center; }
.pastille .logo { width: 27cqw; height: auto; margin: -3cqw 0 -3.5cqw; mix-blend-mode: multiply; }
.pastille .qr { width: 52cqw; line-height: 0; }
.pastille .qr svg { width: 100%; height: auto; display: block; }
.pastille .num { font: 800 10cqw/1 var(--display); letter-spacing: -.02em; color: var(--text); margin-top: 1.6cqw; white-space: nowrap; }
.pastille .num b { color: var(--brand-primary); font-weight: 800; }
.pastille.mini { width: 76px; max-width: none; }
.orbit-item .pastille.mini { width: 104px; }
.orbit-phone { display: block; width: 120px; max-width: none; height: auto; filter: drop-shadow(0 18px 24px rgba(15, 23, 42, .18)); }
.orbit-pastille { display: block; width: 150px; max-width: none; height: auto; filter: drop-shadow(0 14px 20px rgba(15, 23, 42, .16)); }
.orbit-laptop { display: block; width: 190px; max-width: none; height: auto; filter: drop-shadow(0 16px 22px rgba(15, 23, 42, .16)); }
.orbit-wheel { display: block; width: 104px; max-width: none; height: auto; filter: drop-shadow(0 12px 18px rgba(37, 99, 235, .18)); }
.orbit-tablet-img { display: block; width: 200px; max-width: none; height: auto; filter: drop-shadow(0 16px 22px rgba(15, 23, 42, .18)); }

/* imprimante thermique */
.printer { width: 120px; }
.printer .body { height: 46px; border-radius: 12px 12px 8px 8px; background: linear-gradient(#3a3043, #241c2b); border: 1px solid rgba(255,255,255,.12); position: relative; }
.printer .body::after { content: ''; position: absolute; left: 14px; right: 14px; top: 10px; height: 4px; border-radius: 2px; background: #0d0910; }
.printer .paper { margin: -6px auto 0; width: 76%; background: #fff; color: #111; font: 600 7px/1.35 ui-monospace, Menlo, monospace; padding: 10px 7px 12px; clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 84% 92%, 76% 100%, 68% 92%, 60% 100%, 52% 92%, 44% 100%, 36% 92%, 28% 100%, 20% 92%, 12% 100%, 4% 92%, 0 100%); }

/* roue (aperçu statique) */
.wheel-mini { width: 92px; aspect-ratio: 1; border-radius: 50%; border: 4px solid var(--gold);
  background: conic-gradient(var(--pink) 0 45deg, var(--cream) 45deg 90deg, var(--night-3) 90deg 135deg, var(--gold) 135deg 180deg, var(--pink) 180deg 225deg, var(--cream) 225deg 270deg, var(--night-3) 270deg 315deg, var(--gold) 315deg 360deg);
  box-shadow: 0 14px 30px -10px rgba(37, 99, 235, 0.6); position: relative; }
.wheel-mini::after { content: ''; position: absolute; inset: 38%; border-radius: 50%; background: var(--surface); border: 3px solid var(--gold); }

/* ---------- cartes, bento ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-s);
  border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.grid { display: grid; gap: 16px; }
@media (min-width: 680px) { .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }

.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento > .b-4 { grid-column: span 4; } .bento > .b-3 { grid-column: span 3; } .bento > .b-2 { grid-column: span 2; } .bento > .b-6 { grid-column: span 6; }
}
.problem .num { font-family: var(--display); font-weight: 800; color: var(--pink-soft); font-size: .9rem; margin-bottom: 10px; display: block; }
.problem .sol { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.problem .sol b { color: var(--gold-soft); font-weight: 600; }

/* ---------- écosystème interactif ---------- */
.eco { display: grid; gap: 20px; }
.eco-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.eco-tabs::-webkit-scrollbar { display: none; }
.eco-tab {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--glass); cursor: pointer; text-align: left; transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.eco-tab .sphere { width: 30px; height: 30px; }
.eco-tab b { display: block; font-size: .92rem; font-weight: 600; }
.eco-tab small { display: block; font-size: .74rem; color: var(--ink-3); }
.eco-tab[aria-selected="true"] { border-color: var(--brand-primary); background: var(--brand-primary-soft); }
.eco-tab:hover { transform: translateY(-1px); }
.eco-panel { display: grid; gap: 24px; align-items: center; }
.eco-panel .sphere-xl { width: min(200px, 48vw); height: min(200px, 48vw); margin: 0 auto; }
.eco-panel .price { font-family: var(--display); font-size: 1.6rem; font-weight: 800; }
.eco-panel ul { margin: 0 0 18px; }
@media (min-width: 980px) {
  .eco { grid-template-columns: 300px 1fr; align-items: start; }
  .eco-tabs { flex-direction: column; overflow: visible; padding: 0; }
  .eco-tab { width: 100%; }
  .eco-panel { grid-template-columns: 1fr 240px; }
}

/* listes */
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 9px; }
.checks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.checks li::before { content: ''; position: absolute; left: 2px; top: .38em; width: 16px; height: 16px; border-radius: 50%; background: rgba(21, 128, 61, 0.16); }
.checks li::after { content: ''; position: absolute; left: 7px; top: calc(.38em + 4px); width: 5px; height: 8px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks li.dev::before { background: rgba(255, 180, 91, 0.16); }
.checks li.dev::after { border: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); transform: none; left: 7px; top: calc(.38em + 5px); }
.checks li.no::before { background: rgba(15, 23, 42, 0.048); }
.checks li.no::after { border: 0; width: 8px; height: 2px; background: var(--ink-3); transform: none; left: 6px; top: calc(.38em + 7px); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; vertical-align: middle; }
.badge.gold { border-color: rgba(255, 180, 91, 0.5); color: var(--gold-soft); background: rgba(255, 180, 91, 0.08); }
.badge.pink { border-color: rgba(37, 99, 235, 0.5); color: var(--pink-soft); background: rgba(37, 99, 235, 0.08); }
.badge.dev { border-color: rgba(255, 180, 91, 0.4); color: var(--warn); }

/* ---------- tarifs ---------- */
.prices { display: grid; gap: 16px; }
@media (min-width: 760px) { .prices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .prices.p3 { grid-template-columns: repeat(3, 1fr); } }
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--brand-primary); background: var(--surface); box-shadow: var(--shadow-m); }
.price-card .head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.price-card .head .sphere { width: 42px; height: 42px; }
.price-card .amount { font-family: var(--display); font-weight: 800; font-size: 2.3rem; letter-spacing: -.03em; line-height: 1; }
.price-card .amount small { font-size: .95rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.price-card .per { color: var(--ink-3); font-size: .85rem; margin: 6px 0 18px; min-height: 1.3em; }
.price-card .checks { flex: 1; }
/* bloc « Ce qui est inclus » : carte grise, actions, lignes blanches cochées */
.incl { background: #F0F2F5; border-radius: 24px; padding: clamp(24px, 4vw, 44px); }
.incl h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); letter-spacing: -.03em; margin: 0 0 12px; }
.incl-lead { color: var(--text); font-size: 1.05rem; max-width: 62ch; margin: 0 0 24px; }
.incl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-bottom: 24px; }
.btn-dark { background: var(--text); color: #fff; border-radius: 999px; }
.btn-dark:hover { background: #1B2A4A; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: .2em; }
.incl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 920px; }
.incl-list li { position: relative; background: #fff; border-radius: 14px; padding: 18px 20px 18px 62px; font-weight: 600; color: var(--text); line-height: 1.35; }
.incl-list li::before { content: ''; position: absolute; left: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--ok); }
.incl-list li::after { content: ''; position: absolute; left: 30px; top: 50%; width: 6px; height: 11px; margin-top: -8px; border: solid #fff; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.incl-list li.dev::before { background: var(--brand-accent); }
.incl-list li.dev::after { border: 0; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: none; left: 29px; margin-top: -4px; }
.incl-list .badge { margin-left: 6px; vertical-align: middle; }
@media (max-width: 520px) { .incl-actions .btn { width: 100%; } .incl-list li { padding: 15px 16px 15px 54px; } .incl-list li::before { left: 16px; } .incl-list li::after { left: 26px; } .incl-list li.dev::after { left: 25px; } }

.price-card .btn { width: 100%; margin-top: 8px; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); }
.toggle button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.toggle button[aria-pressed="true"] { background: var(--brand-primary); color: #fff; }
table.compare { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
table.compare th, table.compare td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.compare th { font-family: var(--display); font-weight: 700; }
table.compare td:not(:first-child), table.compare th:not(:first-child) { text-align: center; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); }
.yes { color: var(--ok); font-weight: 700; } .no { color: var(--ink-3); }

/* ---------- formulaires ---------- */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field .lbl { font-weight: 600; font-size: .9rem; }
.field .hint { font-size: .8rem; color: var(--ink-3); }
.input, select.input, textarea.input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink); transition: border-color .15s, box-shadow .15s; font-size: 16px;
}
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.input[aria-invalid="true"] { border-color: var(--error); }
.input:disabled { background: var(--surface-2); color: var(--subtle); }
select.input option { background: var(--night-2); }
.row2 { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); font-size: .9rem; transition: all .15s; cursor: pointer; }
.chip input:checked + span { border-color: var(--brand-primary); background: var(--brand-primary-soft); color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); margin-bottom: 12px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pink); flex: none; }
.form-error { color: var(--danger); font-size: .9rem; min-height: 1.2em; margin: 6px 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* étapes de l'audit */
.steps { display: flex; gap: 6px; margin-bottom: 26px; }
.steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--line-2); transition: background .3s; }
.steps span.on { background: var(--brand-primary); }
.step-title { font-size: .85rem; color: var(--ink-3); margin-bottom: 4px; }
.audit-shell { max-width: 760px; margin: 0 auto; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.slot { padding: 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--glass); cursor: pointer; text-align: left; }
.slot[aria-pressed="true"] { border-color: var(--pink); background: rgba(37, 99, 235, 0.14); }
.slot b { display: block; }
.reco-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.reco-item .sphere { width: 34px; height: 34px; }
.total-box { display: flex; flex-wrap: wrap; gap: 18px; padding: 16px; border-radius: 14px; background: rgba(255, 180, 91, 0.08); border: 1px solid rgba(255, 180, 91, 0.3); margin: 16px 0; }
.total-box div { flex: 1 1 140px; }
.total-box b { display: block; font-family: var(--display); font-size: 1.5rem; }

/* simulateur */
.sim { display: grid; gap: 24px; }
@media (min-width: 960px) { .sim { grid-template-columns: 1.1fr 1fr; align-items: start; } .sim .results { position: sticky; top: 90px; } }
.range-row { display: grid; grid-template-columns: 1fr 110px; gap: 12px; align-items: center; }
.range-row input[type=range] { width: 100%; accent-color: var(--pink); }
.kpi { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.kpi div { padding: 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.kpi b { display: block; font-family: var(--display); font-size: 1.35rem; line-height: 1.2; }
.kpi .big { grid-column: span 2; background: var(--brand-primary-soft); border-color: rgba(37, 99, 235, .3); }
.kpi .big b { font-size: 2rem; }
.kpi .neg b { color: var(--danger); }

/* démonstrations */
.demo-stage { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1000px) { .demo-stage { grid-template-columns: 300px 1fr; } }
.demo-banner { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: rgba(255, 180, 91, 0.1); border: 1px solid rgba(255, 180, 91, 0.35); color: var(--gold-soft); font-size: .88rem; margin-bottom: 20px; }
.demo-phone { margin: 0 auto; max-width: 300px; width: 100%; }
.demo-phone .screen { display: flex; flex-direction: column; }
.demo-scroll { flex: 1; overflow-y: auto; padding-bottom: 70px; }
.demo-btn { border: 0; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 700; padding: 6px 12px; font-size: .72rem; cursor: pointer; }
.demo-btn.alt { background: var(--surface-2); color: var(--text); }
.demo-tablet .screen { min-height: 320px; }
.k-actions { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.k-actions button { border: 0; border-radius: 6px; padding: 4px 8px; font-size: .62rem; font-weight: 700; cursor: pointer; background: var(--pink); color: #fff; }
.k-actions button.alt { background: var(--surface-2); color: var(--text); }
.ticket { background: #fff; color: #111; font: 500 12px/1.45 ui-monospace, Menlo, monospace; width: 100%; max-width: 280px; padding: 16px 14px 22px; margin: 0 auto; border-radius: 4px; box-shadow: 0 18px 40px -16px rgba(15, 23, 42, .18); }
.ticket .c { text-align: center; } .ticket hr { border: 0; border-top: 1px dashed #999; margin: 8px 0; }
.ticket .big { font-size: 15px; font-weight: 800; }
.courier { background: #F7F9FC; color: var(--text); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.timeline li { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--ink-3); }
.timeline li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.timeline li.done { color: var(--ink); } .timeline li.done::before { background: var(--ok); border-color: var(--ok); }
.timeline li.now { color: var(--ink); } .timeline li.now::before { border-color: var(--pink); background: var(--pink); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2); }
.demo-wheel { width: min(320px, 82vw); margin: 0 auto; position: relative; }
.demo-wheel svg { width: 100%; height: auto; transition: transform 5s cubic-bezier(.12,.75,.1,1); }
.demo-wheel .pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 26px solid var(--gold); z-index: 2; filter: drop-shadow(0 4px 6px rgba(0,0,0,.4)); }
.ttt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 220px; margin: 0 auto; }
.ttt button { aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line-2); background: var(--glass); font: 800 1.8rem var(--display); cursor: pointer; }
.ttt button.win { background: var(--brand-primary-soft); border-color: var(--pink); }

/* parcours (étapes numérotées) */
.flow { display: grid; gap: 12px; counter-reset: f; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .flow { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .flow.f5 { grid-template-columns: repeat(5, 1fr); } }
.flow li { counter-increment: f; padding: 18px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); }
.flow li::before { content: counter(f, decimal-leading-zero); display: block; font: 800 .85rem var(--display); color: var(--pink-soft); margin-bottom: 8px; }
.flow b { display: block; margin-bottom: 4px; }
.flow span { color: var(--ink-2); font-size: .9rem; }

/* parcours client : étapes encadrées d'orange, reliées par un rail qui s'allume au défilement.
   Un seul axe (--rail) pour le rail, les points et la lumière ; --a et --len (posés par site.js) bornent le rail du 1er au dernier point. */
.journey-wrap { --p: 0px; --a: 34px; --len: 0px; --rail: 14px; --pad: 40px; --dot: 34px; position: relative; }
.journey { position: relative; list-style: none; margin: 0; padding: 0 0 0 var(--pad); display: grid; gap: 22px; }
.journey-wrap::before, .journey-wrap::after { content: ''; position: absolute; left: calc(var(--rail) - 1px); top: var(--a); width: 2px; border-radius: 2px; pointer-events: none; }
.journey-wrap::before { height: var(--len); background: rgba(255, 180, 91, .3); }
.journey-wrap::after { height: min(var(--p), var(--len)); background: linear-gradient(rgba(255, 180, 91, .5), #FF9A1F); box-shadow: 0 0 10px rgba(255, 154, 31, .5); }
.j-light { position: absolute; left: var(--rail); top: calc(var(--a) + min(var(--p), var(--len))); width: 12px; height: 12px; transform: translate(-50%, -50%); border-radius: 50%; z-index: 3; pointer-events: none;
  background: #fff; box-shadow: 0 0 0 3px #FFB45B, 0 0 16px 6px rgba(255, 170, 60, .55), 0 0 36px 12px rgba(255, 180, 91, .22); opacity: 0; transition: opacity .3s; }
.journey-wrap.moving .j-light { opacity: 1; }
.j-step { position: relative; display: grid; gap: 16px; align-items: center; padding: 20px; border-radius: 20px; background: var(--surface);
  border: 1.5px solid rgba(255, 180, 91, .5); transition: border-color .4s, box-shadow .4s; }
.j-step::before { content: ''; position: absolute; box-sizing: border-box; left: calc(var(--rail) - var(--pad) - 7px - 1.5px); top: calc(var(--dot) - 7px); width: 14px; height: 14px; border-radius: 50%;
  background: var(--background); border: 2px solid rgba(255, 180, 91, .7); transition: background .35s, border-color .35s, box-shadow .35s; }
.j-step.lit { border-color: var(--brand-accent); box-shadow: 0 0 0 4px rgba(255, 180, 91, .14), 0 14px 34px -16px rgba(255, 150, 40, .45); }
.j-step.lit::before { background: var(--brand-accent); border-color: #FF9A1F; box-shadow: 0 0 0 4px rgba(255, 180, 91, .2); }
.j-num { display: block; font: 800 .85rem/1 var(--display); color: #E8871A; margin: 0 0 8px; }
.j-text h3 { font-size: 1.2rem; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.j-text p { margin: 0; color: var(--muted); }
.j-media { display: flex; justify-content: center; align-items: center; height: 300px; }
.j-media img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
@media (min-width: 760px) { .journey-wrap { --rail: 16px; --pad: 48px; --dot: 38px; } .j-step { grid-template-columns: 1.1fr 1fr; padding: 26px 30px; } .j-media { height: 320px; } }
@media (prefers-reduced-motion: reduce) { .j-step, .j-step::before, .j-light { transition: none; } }

/* scène 3D Sphère Table (CSS 3D léger) */
.scene { perspective: 1200px; padding: 20px 0; }
.table-3d { position: relative; width: min(520px, 100%); aspect-ratio: 16/10; margin: 0 auto; transform-style: preserve-3d; transform: rotateX(52deg) rotateZ(-24deg); transition: transform 1.2s var(--ease); }
.reveal.in .table-3d { transform: rotateX(48deg) rotateZ(-18deg); }
.table-photo { display: block; width: min(600px, 100%); height: auto; margin: 0 auto;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 6%); mask-image: linear-gradient(to left, transparent 0, #000 6%); }

.table-top { position: absolute; inset: 0; border-radius: 28px; background: linear-gradient(135deg, #5a3d2b, #3a2619); box-shadow: 0 60px 80px -30px rgba(15, 23, 42, .18), inset 0 0 0 6px rgba(255,255,255,.04); }
.table-top::after { content: ''; position: absolute; inset: 0; border-radius: 28px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px); }
.on-table { position: absolute; transform-style: preserve-3d; }
.on-table.p { left: 14%; top: 22%; width: 26%; transform: translateZ(4px); }
.on-table.ph { left: 56%; top: 26%; width: 18%; transform: translateZ(22px) rotateX(-8deg); }
.on-table.ph .phone { border-radius: 16px; padding: 4px; }
.on-table.ph .phone::before { display: none; }
.on-table.ph .phone .screen { border-radius: 12px; }
.beam { position: absolute; left: 50%; top: 42%; width: 2px; height: 0; background: linear-gradient(var(--pink), transparent); }
.split-3d { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .split-3d { grid-template-columns: 1.2fr 1fr; } }
.transmit { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: .85rem; justify-content: center; margin: 12px 0; }
.transmit .dots { display: flex; gap: 5px; }
.transmit .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); animation: blink 1.4s infinite; }
.transmit .dots i:nth-child(2) { animation-delay: .2s; } .transmit .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .transmit .dots i { animation: none; opacity: .8; } }

/* NFC */
.nfc-visual { display: flex; align-items: center; justify-content: center; gap: 18px; }
.nfc-visual .phone { max-width: 170px; }
.waves { width: 60px; height: 60px; position: relative; }
.waves i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--pink); opacity: 0; animation: wave 2.4s infinite; }
.waves i:nth-child(2) { animation-delay: .8s; } .waves i:nth-child(3) { animation-delay: 1.6s; }
@keyframes wave { from { transform: scale(.3); opacity: .9; } to { transform: scale(1.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .waves i { animation: none; opacity: .4; } .waves i:nth-child(2) { transform: scale(.7); } }

/* bloc CTA final */
.cta-band { border-radius: 28px; padding: 40px 24px; text-align: center; position: relative; overflow: hidden; isolation: isolate;
  background: var(--brand-primary-soft); border: 1px solid rgba(37, 99, 235, .18); }
.cta-band .sphere { width: 64px; height: 64px; margin: 0 auto 18px; }
@media (min-width: 760px) { .cta-band { padding: 64px 40px; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--pink-soft); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* pages légales et texte long */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose .todo { background: rgba(255, 180, 91, 0.1); border: 1px dashed rgba(255, 180, 91, 0.5); color: var(--warn); padding: 2px 6px; border-radius: 6px; }

/* pied de page */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: 40px; background: var(--surface); }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
.foot-grid .about { grid-column: span 2; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } .foot-grid .about { grid-column: auto; } }
.foot-grid h4 { font: 600 .85rem var(--body); color: var(--ink-3); margin-bottom: 12px; letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; color: var(--ink-2); font-size: .92rem; }
.foot-grid a:hover { color: var(--ink); }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--ink-3); font-size: .82rem; }

/* toast et états */
.notice { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--glass); }
.notice.ok { border-color: rgba(21, 128, 61, 0.4); background: rgba(21, 128, 61, 0.08); }
.notice.warn { border-color: rgba(255, 180, 91, 0.4); background: rgba(255, 180, 91, 0.08); }
.empty-state { text-align: center; padding: 48px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* roue de démonstration : même rendu que la roue SnackSpin réelle (public/js/wheel.js) */
.demo-wheel { --seg-alt: #FFF9FC; --seg-alt-text: #140C18; --seg-lose: #2A2131; --seg-lose-text: rgba(15, 23, 42, 0.42); }
.demo-wheel svg { transition: none; }
.demo-wheel .wheel-rim { fill: #0B0812; stroke: var(--gold); stroke-width: 3; }
.demo-wheel .wheel-peg { fill: var(--gold); }
.demo-wheel .wheel-label { font: 700 8.4px/1 var(--body); }
.demo-wheel .wheel-label.is-lose { font-weight: 500; font-size: 7.4px; }
.demo-wheel .wheel-rotor { transform-origin: 0 0; transition: transform 5.2s cubic-bezier(.12, .75, .1, 1); }
@media (prefers-reduced-motion: reduce) { .demo-wheel .wheel-rotor { transition-duration: 1.2s; } }
.demo-pane[hidden] { display: none; }
.js .eco-panel:not(.active) { display: none; }
@media (max-width: 640px) {
  .orbit-stage { width: 92%; }
  .orbit-item { scale: .7; }
  .orbit-label { font-size: .9rem; }
}

/* ---------- accueil court et visuel (2026) ---------- */
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.row-head h2 { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.prods { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.prod { display: grid; grid-template-rows: 162px auto 1fr; gap: 10px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-s); text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s var(--ease); }
.prod:hover { border-color: var(--brand-primary); box-shadow: var(--shadow-m); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .prod:hover { transform: none; } }
.prod-vis { display: flex; align-items: center; justify-content: center; gap: 14px; border-radius: 12px; background: var(--surface-2); overflow: hidden; }
.prod-vis .mini-phone { width: 66px; } .prod-vis .mini-tablet { width: 120px; } .prod-vis .printer { width: 84px; }
.prod-vis .pastille.mini { width: 78px; } .prod-vis .wheel-mini { width: 84px; } .prod-vis .waves { width: 44px; height: 44px; }
.prod-vis .prod-pastille { display: block; width: 104px; max-width: none; height: auto; filter: drop-shadow(0 10px 14px rgba(15, 23, 42, .15)); }
.prod-vis .prod-pastille.nfc { width: 124px; }
.prod-txt b { display: block; font-size: 1.05rem; font-weight: 600; }
.prod-txt span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.45; margin-top: 2px; }
.prod-price { align-self: end; font-weight: 700; color: var(--brand-primary); font-size: .95rem; }
.mini-browser { width: 132px; height: 92px; border-radius: 8px; background: #fff; border: 1px solid var(--border-strong); position: relative; overflow: hidden; box-shadow: var(--shadow-s); }
.mini-browser i { position: absolute; inset: 0 0 auto; height: 12px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.mini-browser b { position: absolute; left: 8px; right: 8px; top: 20px; height: 30px; border-radius: 5px; background: #F2C48D; }
.mini-browser span { position: absolute; left: 8px; height: 5px; border-radius: 3px; background: var(--border-strong); top: 58px; width: 70%; }
.mini-browser span + span { top: 68px; width: 50%; }
.mini-browser span.s { top: 78px; width: 34px; height: 8px; background: var(--brand-primary); }
.audit-strip { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--brand-primary-soft); border: 1px solid rgba(37, 99, 235, .18); font-weight: 600; }
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how li { display: grid; grid-template-rows: 220px auto auto; gap: 6px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-s); }
.how-vis { display: flex; align-items: flex-start; justify-content: center; overflow: hidden; border-radius: 12px; background: var(--surface-2); padding-top: 16px; }
.how-vis .phone { max-width: 170px; } .how-vis .tablet { max-width: 92%; } .how-vis .printer { width: 150px; margin-top: 24px; }
.how b { font-size: 1.05rem; font-weight: 600; margin-top: 6px; }
.how span { color: var(--muted); font-size: .92rem; }
.pros { display: grid; gap: 12px; }
@media (min-width: 760px) { .pros { grid-template-columns: 1fr 1fr; } }
.pros .checks { margin: 0; }
.pros .checks li { color: var(--text); }
.pc-title { font-size: 1.05rem; margin-bottom: 14px; }
.pc-title.ok { color: var(--success); }
/* bouton d'audit toujours à portée de pouce sur téléphone */
.m-audit { position: fixed; z-index: 40; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 14px; background: var(--brand-primary); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 12px 28px -10px rgba(37, 99, 235, .6); }
.m-audit:hover { background: var(--brand-primary-hover); }
@media (max-width: 1039px) { body { padding-bottom: 84px; } }
@media (min-width: 1040px) { .m-audit { display: none; } }
.row-head .link, .link { display: inline-flex; align-items: center; gap: 6px; }
.foot-grid a.btn-primary { color: #fff; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
@media (max-width: 759px) {
  .prods { grid-template-columns: 1fr 1fr; gap: 10px; }
  .prod { grid-template-rows: 124px auto 1fr; padding: 12px; gap: 8px; }
  .prod-vis { gap: 8px; }
  .prod-vis .mini-tablet { width: 92px; } .prod-vis .printer { display: none; } .prod-vis .mini-phone { width: 50px; }
  .prod-vis .pastille.mini { width: 60px; } .prod-vis .wheel-mini { width: 64px; } .prod-vis .waves { display: none; }
  .prod-vis .prod-pastille { width: 84px; }
  .prod-vis .prod-pastille.nfc { width: 100px; }
  .prod-vis .mini-browser { transform: scale(.78); }
  .prod-txt b { font-size: .95rem; } .prod-txt span { font-size: .82rem; }
  .prod-price { font-size: .85rem; }
  .how li { grid-template-columns: 112px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 2px; padding: 12px; }
  .how-vis { grid-row: span 2; height: 128px; padding-top: 10px; }
  .how-vis .phone { max-width: 84px; } .how-vis .tablet { max-width: 104px; } .how-vis .printer { width: 92px; margin-top: 8px; }
  .how b { margin-top: 4px; align-self: end; }
}

/* Destinations des pastilles NFC : logo ou emoji devant chaque destination. */
.dest-card { display: flex; align-items: center; gap: 16px; }
.dest-card h3 { margin: 0; }
.dest-ico { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2, #F1F5F9); font-size: 28px; line-height: 1; overflow: hidden; }
.dest-ico svg { width: 30px; height: 30px; display: block; }
.dest-ico svg.tile { width: 100%; height: 100%; }

/* Carte Sphère Vitrine : vraie capture du site dans une fenêtre de navigateur façon Safari. */
.safari-win { width: 214px; border-radius: 9px; overflow: hidden; background: #fff; border: 1px solid var(--border-strong, #CBD5E1); box-shadow: 0 14px 30px -14px rgba(15, 23, 42, .35); }
.safari-win .sw-bar { display: flex; align-items: center; gap: 8px; height: 20px; padding: 0 7px; background: #ECEEF2; border-bottom: 1px solid #DADDE3; }
.safari-win .sw-dots { display: flex; gap: 4px; flex: none; }
.safari-win .sw-dots i { width: 7px; height: 7px; border-radius: 50%; background: #FF5F57; }
.safari-win .sw-dots i:nth-child(2) { background: #FEBC2E; }
.safari-win .sw-dots i:nth-child(3) { background: #28C840; }
.safari-win .sw-url { flex: 1; min-width: 0; height: 12px; border-radius: 4px; background: #fff; font: 600 6.5px/12px var(--body, system-ui), sans-serif; color: #475569; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.safari-win img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .prod-vis .safari-win { width: 158px; border-radius: 7px; } .prod-vis .safari-win .sw-bar { height: 15px; padding: 0 5px; gap: 5px; } .prod-vis .safari-win .sw-dots i { width: 5px; height: 5px; } .prod-vis .safari-win .sw-url { height: 10px; font-size: 5.5px; line-height: 10px; } }

/* Carte Sphère Pro : tablette affichant la page de gérance du site Ice Burger. */
.prod-vis .prod-tab { display: block; width: 200px; max-width: none; height: auto; flex: none; filter: drop-shadow(0 12px 16px rgba(15, 23, 42, .18)); }
@media (max-width: 760px) { .prod-vis .prod-tab { width: 170px; } }

/* Carte Sphère Commande : téléphone Ice Burger. */
.prod-vis .prod-phone { display: block; height: 150px; width: auto; max-width: none; filter: drop-shadow(0 10px 14px rgba(15, 23, 42, .18)); }
@media (max-width: 760px) { .prod-vis .prod-phone { height: 116px; } }

/* Comment ça marche, étape 1 : téléphone Ice Burger. */
.how-vis .how-phone { display: block; height: 196px; width: auto; max-width: none; filter: drop-shadow(0 12px 16px rgba(15, 23, 42, .18)); }
@media (max-width: 760px) { .how-vis .how-phone { height: 112px; } }

/* Comment ça marche, étape 2 : tablette de gérance Ice Burger. */
.how-vis .how-tablet { display: block; width: 92%; max-width: 300px; height: auto; align-self: center; margin-top: -16px; filter: drop-shadow(0 12px 16px rgba(15, 23, 42, .18)); }
@media (max-width: 760px) { .how-vis .how-tablet { width: 104px; margin-top: -10px; } }

/* Comment ça marche, étape 3 : imprimante et ticket. */
.how-vis .how-ticket { display: block; height: 196px; width: auto; max-width: none; filter: drop-shadow(0 12px 16px rgba(15, 23, 42, .16)); }
@media (max-width: 760px) { .how-vis .how-ticket { height: 112px; } }

/* Orbite : rayons en pointillés du centre vers l'extérieur, les tirets avancent vers le bord. */
.orbit-rays { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.orbit-rays line { stroke: rgba(255, 170, 70, .55); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1.5 7; vector-effect: non-scaling-stroke; animation: rays-out 2.4s linear infinite; }
.orbit-rays line.b { stroke: rgba(37, 99, 235, .4); }
.orbit-rays { -webkit-mask-image: radial-gradient(circle, transparent 36%, #000 44%, #000 82%, transparent 100%); mask-image: radial-gradient(circle, transparent 36%, #000 44%, #000 82%, transparent 100%); }
@keyframes rays-out { to { stroke-dashoffset: -8.5; } }
@media (prefers-reduced-motion: reduce) { .orbit-rays line { animation: none; } }
