/* ==========================================================================
   Pages publiques : accueil, connexion, inscription.
   S'appuie sur les variables et composants de style.css (chargé avant).
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;700&display=swap");

:root {
  --grad: linear-gradient(120deg, #FF7A52 0%, #FF4A2A 45%, #E8361A 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 122, 82, .16), rgba(255, 74, 42, .06));
  --ink-hero: #17131B;
  --lp-max: 1200px;
}

.lp { background: var(--bg); overflow-x: hidden; }
.lp-wrap { max-width: var(--lp-max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .lp-wrap { padding: 0 18px; } }

/* Mot mis en valeur dans les titres : italique élégant + dégradé */
.accent {
  font-family: var(--font-display); font-style: italic; font-weight: 600; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-text);
}
.kicker::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.sec-title { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; margin: 14px 0 16px; }
.sec-lead { font-size: 17.5px; line-height: 1.65; color: var(--text-2); max-width: 620px; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.sec-head .sec-lead { margin: 0 auto; }
.lp-section { padding: 110px 0; position: relative; }
@media (max-width: 760px) { .lp-section { padding: 72px 0; } .sec-head { margin-bottom: 38px; } }

/* --------------------------------------------------------------------------
   Boutons marketing
   -------------------------------------------------------------------------- */
.btn-grad {
  background: var(--grad); color: #fff; border: none;
  box-shadow: 0 14px 30px -12px rgba(255, 74, 42, .75), inset 0 1px 0 rgba(255,255,255,.25);
  position: relative; overflow: hidden;
}
.btn-grad::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transition: transform .7s ease;
}
.btn-grad:hover::after { transform: translateX(120%); }
.btn-grad:hover { filter: saturate(1.08); }
.btn-xl { padding: 16px 28px; min-height: 58px; font-size: 16px; border-radius: 16px; }
.btn-glass { background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--border-strong); color: var(--text); backdrop-filter: blur(10px); }
.btn-glass:hover { background: var(--surface); }

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */
.lp-header {
  position: sticky; top: 0; z-index: 100; transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.lp-header.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom-color: var(--border); box-shadow: 0 10px 30px -20px rgba(0,0,0,.25);
}
.lp-header .lp-wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.lp-logo { width: 36px; height: 36px; border-radius: 11px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; box-shadow: 0 8px 18px -8px rgba(255,74,42,.8); }
.lp-nav { display: flex; gap: 2px; margin-left: 18px; }
.lp-nav a { white-space: nowrap; padding: 9px 13px; border-radius: 10px; color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: color .15s ease, background-color .15s ease; }
.lp-nav a:hover { color: var(--text); background: var(--surface-2); }
.lp-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lp-burger { display: none; }
/* Connexion toujours visible ; sur petit écran, libellés raccourcis pour que tout tienne. */
.lp-actions .short { display: none; }
@media (max-width: 480px) {
  .lp-header .lp-wrap { gap: 10px; }
  .lp-brand { font-size: 17px; }
  .lp-actions { gap: 6px; }
  .lp-actions .btn-sm { padding: 7px 10px; font-size: 12.5px; }
  .lp-actions .long { display: none; }
  .lp-actions .short { display: inline; }
  .lp-actions .theme-btn { display: none; }
}
@media (max-width: 420px) { .lp-header .brand-txt { display: none; } }
@media (max-width: 360px) { .lp-login .icon { display: none; } }
.lp-nav .nav-theme { display: none; align-items: center; gap: 8px; border: none; background: none; cursor: pointer; padding: 13px 14px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 16px; text-align: left; }
.lp-nav .nav-theme:hover { background: var(--surface-2); color: var(--text); }
@media (max-width: 480px) { .lp-nav .nav-theme { display: flex; } }
.login-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 18px; font-size: 15px; color: var(--text-2); }
.login-line .link { display: inline-flex; align-items: center; gap: 4px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: inline-block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: inline-block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
}
@media (max-width: 1180px) {
  .lp-nav { display: none; position: absolute; top: 72px; left: 12px; right: 12px; flex-direction: column; margin: 0; padding: 10px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); }
  .lp-nav a { padding: 13px 14px; font-size: 16px; }
  body.nav-open .lp-nav { display: flex; animation: pop-in .15s ease; }
  .lp-burger { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero2 { position: relative; padding: 46px 0 90px; }
.hero2::before {
  content: ''; position: absolute; inset: -120px 0 auto 0; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 380px at 82% 30%, rgba(255, 106, 66, .22), transparent 70%),
    radial-gradient(500px 300px at 10% 0%, rgba(255, 176, 32, .14), transparent 70%);
}
.hero2-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: center; }
.hero2 h1 { font-size: clamp(42px, 6.6vw, 82px); line-height: .98; letter-spacing: -0.045em; font-weight: 800; margin: 22px 0 24px; color: var(--text); }
.hero2 h1 .line { display: block; }
.hero2 .lead { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 540px; margin-bottom: 32px; }
.hero2 .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; font-size: 13.5px; color: var(--text-2); font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust .icon { color: var(--success); }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 600; color: var(--text-2);
}
.hero-pill .tag { background: var(--grad); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
@media (max-width: 980px) {
  .hero2-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero2 { padding-top: 26px; }
}

/* Scène animée du hero : téléphone + cartes flottantes */
.scene { position: relative; height: 620px; display: flex; align-items: center; justify-content: center; }
.scene-disc {
  position: absolute; width: 470px; height: 470px; border-radius: 50%;
  background: var(--grad-soft); border: 1px solid rgba(255, 90, 54, .18);
}
.scene-disc::after { content: ''; position: absolute; inset: 46px; border-radius: 50%; border: 1px dashed rgba(255, 90, 54, .28); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 520px) { .scene { height: 560px; transform: scale(.88); margin: -30px 0; } .scene-disc { width: 360px; height: 360px; } }

.phone {
  position: relative; width: 290px; height: 590px; border-radius: 46px; padding: 11px;
  background: #121015; box-shadow: 0 50px 90px -30px rgba(23, 19, 27, .55), 0 0 0 2px #2a2630 inset, 0 0 0 1px rgba(255,255,255,.04);
  animation: phone-float 7s ease-in-out infinite; z-index: 2;
}
@keyframes phone-float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-12px) rotate(-1.5deg); } }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #121015; z-index: 3; }
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #F7F4F1; color: #1E1B22; display: flex; flex-direction: column; }
.ph-top { background: radial-gradient(260px 120px at 100% 0, rgba(255,90,54,.55), transparent 70%), #1C1720; color: #fff; padding: 52px 16px 16px; }
.ph-top .tag { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.14); border-radius: 99px; padding: 4px 9px; font-size: 10px; font-weight: 700; }
.ph-top .name { font-family: var(--font-display); font-style: italic; font-size: 22px; margin-top: 8px; }
.ph-chips { display: flex; gap: 5px; padding: 10px 12px; }
.ph-chips span { font-size: 10px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: #fff; border: 1px solid rgba(0,0,0,.08); color: rgba(30,27,34,.6); }
.ph-chips span.on { background: #1E1B22; color: #fff; border-color: #1E1B22; }
.ph-list { padding: 0 10px; display: flex; flex-direction: column; gap: 8px; }
.ph-item { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.05); border: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease; }
.ph-item img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.ph-item .t { font-size: 11.5px; font-weight: 700; line-height: 1.25; }
.ph-item .p { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; color: #1F9D63; margin-top: 3px; }
.ph-add { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: #FF5A36; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; transition: transform .2s ease; }
.ph-add .icon { width: 14px; height: 14px; }
.ph-add .q { position: absolute; top: -7px; right: -7px; min-width: 17px; height: 17px; border-radius: 99px; background: #1E1B22; color: #fff; font-size: 9.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.4); transition: all .25s cubic-bezier(.3,1.6,.5,1); }
.ph-cart {
  position: absolute; left: 10px; right: 10px; bottom: 12px; border-radius: 14px; padding: 12px 14px;
  background: #FF5A36; color: #fff; font-size: 11.5px; font-weight: 800; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 14px 28px -10px rgba(255,90,54,.8);
  transform: translateY(140%); transition: transform .45s cubic-bezier(.2,1.2,.4,1), background-color .3s ease;
}
.ph-cart .n { background: rgba(255,255,255,.25); border-radius: 99px; padding: 2px 8px; font-family: var(--font-mono); }
.ph-cart .total { margin-left: auto; font-family: var(--font-mono); }
.ph-cart .sent { display: none; }
.tap { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.55); border: 2px solid rgba(30,27,34,.25); pointer-events: none; opacity: 0; z-index: 5; transform: scale(.5); }

/* Étapes de l'animation du téléphone (classes ajoutées par landing.js) */
.scene.s1 .ph-item:nth-child(1) { border-color: #FF5A36; box-shadow: 0 0 0 3px rgba(255,90,54,.15); }
.scene.s1 .ph-item:nth-child(1) .q { opacity: 1; transform: scale(1); }
.scene.s2 .ph-item:nth-child(3) { border-color: #FF5A36; box-shadow: 0 0 0 3px rgba(255,90,54,.15); }
.scene.s2 .ph-item:nth-child(3) .q { opacity: 1; transform: scale(1); }
.scene.s2 .ph-cart { transform: translateY(0); }
.scene.s3 .ph-cart { background: #1F9D63; box-shadow: 0 14px 28px -10px rgba(31,157,99,.8); }
.scene.s3 .ph-cart .wait { display: none; }
.scene.s3 .ph-cart .sent { display: inline; }

.fcard {
  position: absolute; z-index: 3; background: var(--surface); color: var(--text); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow-lg); padding: 13px 15px; font-size: 13px;
}
.fc-qr { left: 0; top: 70px; width: 150px; text-align: center; animation: bob 6s ease-in-out infinite; }
.fc-qr .qr-box { position: relative; width: 92px; height: 92px; margin: 2px auto 8px; padding: 6px; background: #fff; border-radius: 10px; overflow: hidden; }
.fc-qr .qr-box svg { width: 100%; height: 100%; display: block; }
.fc-qr .scanline { position: absolute; left: 0; right: 0; height: 3px; background: #FF5A36; box-shadow: 0 0 12px 3px rgba(255,90,54,.6); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 6%; } 50% { top: 90%; } }
.fc-qr strong { display: block; font-size: 12.5px; }
.fc-qr span { font-size: 11px; color: var(--text-3); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.fc-ticket { right: -6px; top: 120px; width: 220px; opacity: 0; transform: translateX(30px) scale(.94); transition: all .5s cubic-bezier(.2,1.2,.4,1); }
.scene.s4 .fc-ticket { opacity: 1; transform: none; }
.fc-ticket .hd { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; margin-bottom: 8px; }
.fc-ticket .bell { width: 28px; height: 28px; border-radius: 9px; background: var(--primary-soft); color: var(--primary-text); display: flex; align-items: center; justify-content: center; }
.scene.s4 .fc-ticket .bell { animation: ring .9s ease 2; }
@keyframes ring { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-16deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }
.fc-ticket ul { list-style: none; margin: 0; padding: 8px 0 0; border-top: 1px dashed var(--border-strong); font-size: 12px; }
.fc-ticket li { display: flex; justify-content: space-between; padding: 2px 0; }
.fc-ticket .st { display: flex; gap: 4px; margin-top: 10px; }
.fc-ticket .st i { flex: 1; height: 5px; border-radius: 9px; background: var(--surface-3); transition: background-color .4s ease; }
.fc-ticket .st i:first-child { background: var(--info); }
.scene.s5 .fc-ticket .st i:nth-child(2) { background: var(--warning); }
.scene.s6 .fc-ticket .st i:nth-child(3) { background: var(--success); }

.fc-paid { left: 10px; bottom: 70px; display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(20px) scale(.9); transition: all .5s cubic-bezier(.2,1.4,.4,1); }
.scene.s6 .fc-paid { opacity: 1; transform: none; }
.fc-paid .ic { width: 36px; height: 36px; border-radius: 11px; background: var(--success-soft); color: var(--success-text); display: flex; align-items: center; justify-content: center; }
.fc-paid strong { display: block; font-size: 14px; font-family: var(--font-mono); }
.fc-paid span { font-size: 11.5px; color: var(--text-3); }

.fc-stock { right: 20px; bottom: 40px; display: flex; align-items: center; gap: 10px; animation: bob 7s ease-in-out infinite reverse; }
.fc-stock .ic { width: 34px; height: 34px; border-radius: 11px; background: var(--warning-soft); color: var(--warning-text); display: flex; align-items: center; justify-content: center; }
@media (max-width: 520px) { .fc-qr { left: -10px; } .fc-ticket { right: -16px; } .fc-stock { display: none; } }

/* --------------------------------------------------------------------------
   Bandeau de chiffres
   -------------------------------------------------------------------------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 26px; box-shadow: var(--shadow-md); overflow: hidden; }
.fact { padding: 28px 26px; border-left: 1px solid var(--border); }
.fact:first-child { border-left: none; }
.fact .v { font-family: var(--font-head); font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.fact .l { color: var(--text-2); font-size: 14px; margin-top: 8px; line-height: 1.45; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { border-left: none; } .fact:nth-child(n+3) { border-top: 1px solid var(--border); } }

/* --------------------------------------------------------------------------
   Démo « vidéo » : le service en direct
   -------------------------------------------------------------------------- */
.demo-shell { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: stretch; }
@media (max-width: 1000px) { .demo-shell { grid-template-columns: 1fr; } }
.chapters { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 1000px) { .chapters { flex-direction: row; overflow-x: auto; scrollbar-width: none; } .chapter { min-width: 230px; } }
.chapter {
  text-align: left; border: 1px solid var(--border); background: var(--surface); border-radius: 18px; padding: 16px 18px; cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; position: relative; overflow: hidden; color: var(--text);
}
.chapter:hover { border-color: var(--border-strong); }
.chapter .n { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--text-3); }
.chapter .t { font-weight: 800; font-size: 15.5px; margin: 4px 0 4px; font-family: var(--font-head); }
.chapter .d { font-size: 13px; color: var(--text-2); line-height: 1.45; }
.chapter .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--grad); }
.chapter.active { border-color: rgba(255, 90, 54, .45); box-shadow: 0 12px 30px -18px rgba(255, 74, 42, .7); }
.chapter.active .n { color: var(--primary-text); }
.chapter.done .bar { width: 100%; }

.browser { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.browser-bar .dots i:nth-child(2) { background: #FEBC2E; }
.browser-bar .dots i:nth-child(3) { background: #28C840; }
.browser-bar .url { flex: 1; max-width: 360px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 5px 12px; font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.browser-bar .url .icon { width: 12px; height: 12px; }
.play-btn { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.play-btn .icon { width: 14px; height: 14px; }
.browser-body { padding: 18px; position: relative; flex: 1; min-height: 420px; background: var(--bg); }
.demo-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.demo-kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 11px 13px; }
.demo-kpi .l { font-size: 11px; color: var(--text-3); font-weight: 700; }
.demo-kpi .v { font-family: var(--font-head); font-weight: 800; font-size: 18px; margin-top: 2px; transition: color .3s ease; }
.demo-kpi .v.bump { color: var(--success-text); }
@media (max-width: 600px) {
  .browser-body { padding: 12px; }
  .demo-kpis { gap: 6px; }
  .demo-kpi { padding: 9px 10px; }
  .demo-kpi .l { font-size: 10px; }
  .demo-kpi .v { font-size: 13.5px; white-space: nowrap; }
  .demo-toast { left: 12px; right: 12px; top: 10px; }
}
/* Démo : un onglet par étape (comme la page Commandes), cartes de l'onglet actif */
.demo-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.demo-tabs span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); font-size: 11.5px; font-weight: 700; color: var(--text-2); transition: all .25s ease; }
.demo-tabs span i { width: 7px; height: 7px; border-radius: 50%; }
.demo-tabs span b { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3); }
.demo-tabs span.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.demo-tabs span.on b { color: var(--bg); opacity: .7; }
.demo-board { display: block; }
.demo-col { display: none; background: var(--surface-2); border-radius: 14px; padding: 10px; min-height: 230px; }
.demo-col.on { display: block; animation: pop-in .25s ease; }
.demo-col .stack { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; align-items: start; }
.demo-col h4 { font-size: 12px; display: flex; align-items: center; gap: 6px; padding: 4px 4px 10px; font-family: var(--font-ui); }
.demo-col h4 i { width: 8px; height: 8px; border-radius: 50%; }
.demo-col .stack { display: flex; flex-direction: column; gap: 8px; }
.dcard { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px; font-size: 11.5px; box-shadow: var(--shadow-xs); }
.dcard .h { display: flex; justify-content: space-between; font-weight: 800; font-size: 12.5px; margin-bottom: 6px; }
.dcard .h small { font-family: var(--font-mono); font-weight: 600; color: var(--text-3); font-size: 10.5px; }
.dcard .it { color: var(--text-2); line-height: 1.5; }
.dcard .ft { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 7px; border-top: 1px dashed var(--border-strong); font-family: var(--font-mono); font-weight: 700; }
.dcard.hero-card { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,90,54,.14), var(--shadow-md); animation: pop-in .35s ease; }
.dcard.hero-card.arrive { animation: arrive .6s cubic-bezier(.2,1.3,.4,1); }
@keyframes arrive { from { opacity: 0; transform: translateY(-14px) scale(.92); } to { opacity: 1; transform: none; } }
.demo-toast {
  position: absolute; top: 14px; right: 14px; z-index: 4; display: flex; align-items: center; gap: 9px;
  background: var(--text); color: var(--bg); border-radius: 12px; padding: 10px 14px; font-size: 12.5px; font-weight: 700;
  box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-10px); transition: all .35s ease; pointer-events: none;
}
.demo-toast.show { opacity: 1; transform: none; }
.demo-toast .icon { color: var(--primary); }
.demo-progress { height: 4px; background: var(--surface-3); }
.demo-progress i { display: block; height: 100%; width: 0; background: var(--grad); }

/* --------------------------------------------------------------------------
   Grille de fonctionnalités
   -------------------------------------------------------------------------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden;
}
.feat::before { content: ''; position: absolute; inset: 0; background: var(--grad-soft); opacity: 0; transition: opacity .25s ease; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(255,90,54,.3); }
.feat:hover::before { opacity: 1; }
.feat > * { position: relative; }
.feat .ic { width: 50px; height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: var(--primary-soft); color: var(--primary-text); }
.feat .ic .icon { width: 23px; height: 23px; }
.feat h3 { font-size: 18.5px; margin-bottom: 8px; letter-spacing: -0.02em; }
.feat p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Rangées « vitrine » (visuel + texte)
   -------------------------------------------------------------------------- */
.show-row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.show-row + .show-row { margin-top: 120px; }
.show-row.flip .show-visual { order: 2; }
@media (max-width: 960px) { .show-row { grid-template-columns: 1fr; gap: 40px; } .show-row.flip .show-visual { order: 0; } .show-row + .show-row { margin-top: 80px; } }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; }
.checks li .icon { flex-shrink: 0; width: 24px; height: 24px; padding: 4px; border-radius: 8px; background: var(--success-soft); color: var(--success-text); margin-top: 1px; }
.checks li strong { color: var(--text); }
.checks li span { color: var(--text-2); }
.show-visual { position: relative; }
.visual-bg { position: absolute; inset: 6% 2%; border-radius: 40px; background: var(--grad-soft); z-index: 0; transform: rotate(-3deg); }

/* Galerie du menu client */
.menu-mock { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 480px; margin: 0 auto; }
.dish { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); transition: transform .3s ease; }
.dish:nth-child(2) { transform: translateY(34px); }
.dish:nth-child(4) { transform: translateY(34px); }
.dish:hover { transform: translateY(-4px); }
.dish:nth-child(2):hover, .dish:nth-child(4):hover { transform: translateY(28px); }
.dish .ph { aspect-ratio: 1 / 1; overflow: hidden; position: relative; background: var(--surface-2); }
.dish .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dish:hover .ph img { transform: scale(1.06); }
.dish .ph .sold { position: absolute; inset: 0; background: rgba(18,16,21,.55); display: flex; align-items: center; justify-content: center; }
.dish .ph .sold span { background: #fff; color: #B42318; font-weight: 800; font-size: 12px; padding: 6px 12px; border-radius: 99px; }
.dish .b { padding: 12px 14px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dish .b strong { font-size: 13.5px; line-height: 1.25; }
.dish .b .pr { font-family: var(--font-mono); font-weight: 700; font-size: 12.5px; color: var(--success-text); white-space: nowrap; }
.dish .b .add { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dish .b .add .icon { width: 15px; height: 15px; }

/* Maquette de la caisse */
.pos-mock { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.pos-mock .browser-bar { padding: 10px 14px; }
.pos-mock-body { display: grid; grid-template-columns: 1fr 190px; min-height: 340px; }
.pm-grid { padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; align-content: start; background: var(--bg); }
.pm-tile { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; font-size: 10.5px; font-weight: 700; position: relative; transition: border-color .3s ease, box-shadow .3s ease; }
.pm-tile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.pm-tile div { padding: 6px 7px; line-height: 1.25; }
.pm-tile small { display: block; color: var(--primary-text); font-family: var(--font-mono); margin-top: 2px; }
.pm-tile .badge-n { position: absolute; top: 5px; right: 5px; background: var(--primary); color: #fff; border-radius: 99px; min-width: 18px; height: 18px; font-size: 10px; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.4); transition: all .25s cubic-bezier(.3,1.6,.5,1); }
.pm-ticket { border-left: 1px solid var(--border); padding: 14px; display: flex; flex-direction: column; font-size: 11.5px; }
.pm-ticket h5 { font-size: 13px; margin: 0 0 10px; font-family: var(--font-head); }
.pm-line { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--border-strong); opacity: 0; transform: translateX(10px); transition: all .3s ease; }
.pm-total { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; font-weight: 800; }
.pm-total b { font-family: var(--font-head); font-size: 20px; }
.pm-pay { background: var(--primary); color: #fff; border-radius: 10px; text-align: center; padding: 9px; font-weight: 800; font-size: 12px; }
.pm-modal {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; background: rgba(18,16,21,.38);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.pm-dialog { width: 250px; background: var(--surface); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-lg); text-align: center; transform: scale(.9); transition: transform .35s cubic-bezier(.2,1.3,.4,1); }
.pm-dialog .tt { font-size: 11.5px; color: var(--text-2); font-weight: 700; }
.pm-dialog .big { font-family: var(--font-head); font-weight: 800; font-size: 26px; margin: 2px 0 12px; }
.pm-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 12px; }
.pm-methods span { border: 1.5px solid var(--border-strong); border-radius: 9px; padding: 6px 2px; font-size: 9.5px; font-weight: 700; color: var(--text-2); }
.pm-methods span.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-text); }
.pm-received { border: 1px solid var(--border-strong); border-radius: 9px; padding: 8px; font-family: var(--font-mono); font-weight: 700; font-size: 15px; min-height: 38px; }
.pm-received .caret { display: inline-block; width: 2px; height: 15px; background: var(--primary); vertical-align: -2px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pm-change { margin-top: 10px; background: var(--success-soft); color: var(--success-text); border-radius: 9px; padding: 9px 10px; display: flex; justify-content: space-between; font-weight: 800; font-size: 12px; opacity: 0; transform: translateY(6px); transition: all .3s ease; }
.pos-mock.p1 .pm-tile:nth-child(1) { border-color: var(--primary); }
.pos-mock.p1 .pm-tile:nth-child(1) .badge-n, .pos-mock.p2 .pm-tile:nth-child(5) .badge-n, .pos-mock.p3 .pm-tile:nth-child(3) .badge-n { opacity: 1; transform: scale(1); }
.pos-mock.p2 .pm-tile:nth-child(5) { border-color: var(--primary); }
.pos-mock.p3 .pm-tile:nth-child(3) { border-color: var(--primary); }
.pos-mock.p1 .pm-line:nth-of-type(1), .pos-mock.p2 .pm-line:nth-of-type(2), .pos-mock.p3 .pm-line:nth-of-type(3) { opacity: 1; transform: none; }
.pos-mock.p4 .pm-modal { opacity: 1; }
.pos-mock.p4 .pm-dialog { transform: none; }
.pos-mock.p5 .pm-change { opacity: 1; transform: none; }
@media (max-width: 520px) { .pos-mock-body { grid-template-columns: 1fr; } .pm-ticket { border-left: none; border-top: 1px solid var(--border); } }

/* Maquette des rapports */
.report-mock { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 20px; }
.rm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.rm-kpis div { background: var(--surface-2); border-radius: 14px; padding: 12px; }
.rm-kpis small { font-size: 11px; color: var(--text-3); font-weight: 700; display: block; }
.rm-kpis b { font-family: var(--font-head); font-size: 18px; }
.rm-chart { display: flex; align-items: flex-end; gap: 8px; height: 150px; padding: 0 4px 0; border-bottom: 1px solid var(--border); }
.rm-chart i { flex: 1; border-radius: 8px 8px 3px 3px; background: var(--grad); transform-origin: bottom; transform: scaleY(.05); transition: transform 1s cubic-bezier(.2,1,.3,1); opacity: .9; }
.rm-chart i:nth-child(even) { opacity: .65; }
.in .rm-chart i { transform: scaleY(1); }
.rm-days { display: flex; gap: 8px; padding: 6px 4px 0; font-size: 10.5px; color: var(--text-3); font-weight: 700; }
.rm-days span { flex: 1; text-align: center; }
.rm-rows { margin-top: 14px; }
.rm-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--border-strong); font-size: 13px; }
.rm-row img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.rm-row .grow { font-weight: 700; }
.rm-row .track { width: 90px; height: 6px; border-radius: 9px; background: var(--surface-3); overflow: hidden; }
.rm-row .track i { display: block; height: 100%; width: 0; background: var(--primary); border-radius: 9px; transition: width 1.2s ease .3s; }
.in .rm-row .track i { width: var(--w); }
.rm-row b { font-family: var(--font-mono); font-size: 12px; min-width: 76px; text-align: right; }
.rm-alert { position: absolute; z-index: 2; right: -14px; top: -20px; display: flex; gap: 10px; align-items: center; animation: bob 6s ease-in-out infinite; }
.rm-alert .ic { width: 34px; height: 34px; border-radius: 11px; background: var(--danger-soft); color: var(--danger-text); display: flex; align-items: center; justify-content: center; }

/* --------------------------------------------------------------------------
   Avant / après (curseur)
   -------------------------------------------------------------------------- */
.ba { position: relative; max-width: 940px; margin: 0 auto; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); user-select: none; height: 460px; background: var(--surface); }
.ba-pane { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 30px; }
.ba-before { background: #EFE6D3; background-image: radial-gradient(rgba(120, 90, 40, .12) 1px, transparent 1px); background-size: 6px 6px; color: #3B3127; }
.ba-after { background: var(--bg); clip-path: inset(0 0 0 var(--pos, 50%)); }
.paper { width: 340px; max-width: 90%; background: #FBF5E8; padding: 26px 28px; border-radius: 6px; box-shadow: 0 18px 40px -16px rgba(60, 40, 10, .45); transform: rotate(-2.5deg); font-family: 'Caveat', cursive; position: relative; }
.paper h4 { font-family: 'Caveat', cursive; font-size: 34px; text-align: center; margin: 0 0 10px; color: #3B3127; }
.paper .row-p { display: flex; justify-content: space-between; font-size: 23px; border-bottom: 1px dotted rgba(59,49,39,.35); padding: 3px 0; }
.paper .row-p s { opacity: .55; margin-right: 6px; }
.paper .row-p em { color: #B42318; font-style: normal; }
.paper .stain { position: absolute; width: 90px; height: 90px; border-radius: 50%; right: 18px; bottom: 26px; border: 7px solid rgba(140, 90, 30, .18); }
.paper .note { font-size: 20px; color: #B42318; margin-top: 10px; transform: rotate(-3deg); }
.digi { width: 420px; max-width: 92%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.digi .dish:nth-child(2), .digi .dish:nth-child(4) { transform: none; }
.digi .dish .ph { aspect-ratio: 16 / 10; }
.digi .dish .b { padding: 9px 12px 10px; }
.ba-label { position: absolute; top: 18px; z-index: 3; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 7px 13px; border-radius: 99px; }
.ba-label.l { left: 18px; background: rgba(59,49,39,.85); color: #FBF5E8; }
.ba-label.r { right: 18px; background: var(--grad); color: #fff; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: #fff; z-index: 4; box-shadow: 0 0 20px rgba(0,0,0,.25); pointer-events: none; }
.ba-handle::after {
  content: '⟷'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; background: #fff; color: #1E1B22; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; box-shadow: var(--shadow-lg);
}
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; margin: 0; }
@media (max-width: 640px) { .ba { height: 520px; } .paper { width: 260px; padding: 18px; } .paper .row-p { font-size: 19px; } .digi { grid-template-columns: 1fr 1fr; width: 300px; } .digi .dish .b strong { font-size: 11.5px; } }
.ba-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 940px; margin: 26px auto 0; }
.ba-points > div { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px 22px; }
.ba-points h4 { font-size: 15px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.ba-points ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 14px; line-height: 1.75; }
@media (max-width: 640px) { .ba-points { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Étapes
   -------------------------------------------------------------------------- */
.steps2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps2::before { content: ''; position: absolute; top: 32px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px); z-index: 0; }
@media (max-width: 900px) { .steps2 { grid-template-columns: 1fr 1fr; } .steps2::before { display: none; } }
@media (max-width: 520px) { .steps2 { grid-template-columns: 1fr; } }
/* ---------- Paliers (Essentiel, Pro, Premium) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan.is-featured { border: 2px solid var(--primary); box-shadow: 0 24px 50px -22px rgba(255, 74, 42, .45); }
.plan-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.plan-name { font-size: 26px; letter-spacing: -0.03em; }
.plan.is-featured .plan-name { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-pitch { color: var(--text-2); font-size: 14.5px; line-height: 1.55; margin: 8px 0 18px; min-height: 45px; }
.plan-amount { margin: 0 0 20px; }
.plan-amount .pp-main { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-head); }
.plan-amount .pp-main strong { font-size: 36px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.plan-amount .pp-main span { font-size: 14px; font-weight: 700; color: var(--text-2); }
.plan-amount .pp-ask { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.plan-amount .pp-sub { margin: 4px 0 0; font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.plan-amount .pp-sub strong { color: var(--text); }
.plan.is-featured .pp-main strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-includes { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--success-text); margin: 0 0 12px; padding-top: 16px; border-top: 1px dashed var(--border-strong); }
.plan-list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan:not(:has(.plan-includes)) .plan-list { padding-top: 16px; border-top: 1px dashed var(--border-strong); }
.plan-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--text); }
.plan-list li .icon { flex-shrink: 0; width: 28px; height: 28px; padding: 5px; border-radius: 9px; background: var(--primary-soft); color: var(--primary-text); margin-top: -3px; }
.plan-cta { margin-top: auto; border-radius: 16px; }
.plans-note { text-align: center; color: var(--text-3); font-size: 14px; margin: 28px auto 0; max-width: 560px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 26px; } .plan-pitch { min-height: 0; } }

.step2 { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step2 .num { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 22px; }
.step2 .num span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step2 h3 { font-size: 17px; margin-bottom: 8px; }
.step2 p { color: var(--text-2); font-size: 14px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Pour qui
   -------------------------------------------------------------------------- */
.who { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.who span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: 15px; box-shadow: var(--shadow-xs); transition: transform .2s ease, border-color .2s ease; }
.who span:hover { transform: translateY(-3px); border-color: rgba(255,90,54,.35); }
.who .e { font-size: 20px; }

/* Bande défilante de plats */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); margin-top: 46px; }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq-item { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 8px 18px 8px 8px; box-shadow: var(--shadow-xs); white-space: nowrap; }
.mq-item img { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; }
.mq-item strong { font-size: 14px; display: block; }
.mq-item small { font-family: var(--font-mono); color: var(--success-text); font-weight: 700; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 0 22px; transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: rgba(255,90,54,.35); box-shadow: var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; transition: transform .25s ease, background-color .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--primary-soft); color: var(--primary-text); }
.faq details p { color: var(--text-2); line-height: 1.7; margin: -4px 0 20px; font-size: 15px; }

/* --------------------------------------------------------------------------
   Appel final et pied de page
   -------------------------------------------------------------------------- */
.final {
  position: relative; overflow: hidden; border-radius: 34px; padding: 80px 40px; text-align: center; color: #fff;
  background: radial-gradient(700px 360px at 85% 0%, rgba(255,90,54,.55), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(255,176,32,.25), transparent 70%), #17131B;
}
.final h2 { color: #fff; font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -0.04em; line-height: 1.05; max-width: 760px; margin: 0 auto 18px; }
.final p { color: rgba(255,255,255,.7); font-size: 18px; max-width: 560px; margin: 0 auto 32px; }
.final .cta-row { justify-content: center; }
.final .btn-glass { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.final .fd { position: absolute; width: 120px; height: 120px; border-radius: 26px; object-fit: cover; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); opacity: .9; }
.final .fd.a { left: 5%; top: 16%; transform: rotate(-10deg); animation: bob 7s ease-in-out infinite; }
.final .fd.b { right: 6%; bottom: 12%; transform: rotate(9deg); animation: bob 8s ease-in-out infinite reverse; }
.final .fd.c { left: 12%; bottom: 8%; width: 84px; height: 84px; transform: rotate(6deg); animation: bob 6s ease-in-out infinite; }
@media (max-width: 860px) { .final .fd { display: none; } .final { padding: 60px 24px; border-radius: 26px; } }
.lp-footer { padding: 50px 0 40px; color: var(--text-3); font-size: 14px; }
.lp-footer .lp-wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.lp-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.lp-footer a { color: var(--text-2); text-decoration: none; }
.lp-footer a:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   Apparition au défilement
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Connexion / inscription
   ========================================================================== */
.auth2 { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: var(--bg); }
.auth2-form { display: flex; flex-direction: column; padding: 28px 48px; position: relative; }
.auth2-form .top { display: flex; align-items: center; justify-content: space-between; }
.auth2-form .center { flex: 1; display: flex; align-items: center; justify-content: center; padding: 30px 0; }
.auth2-box { width: 100%; max-width: 430px; animation: rise .6s cubic-bezier(.2,.8,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.auth2-box h1 { font-size: clamp(30px, 3.6vw, 40px); letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 10px; }
.auth2-box .lead { color: var(--text-2); font-size: 15.5px; line-height: 1.6; margin-bottom: 30px; }
.auth2-box .field > span { font-size: 13px; color: var(--text); font-weight: 700; margin-bottom: 7px; }
.input-wrap { position: relative; }
.input-wrap > .icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; transition: color .15s ease; }
.input-wrap input { padding-left: 44px !important; min-height: 52px !important; border-radius: 14px !important; font-size: 15px !important; background: var(--surface) !important; }
.input-wrap:focus-within > .icon { color: var(--primary); }
.input-wrap .eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: none; background: transparent; color: var(--text-3); border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.input-wrap .eye:hover { background: var(--surface-2); color: var(--text); }
.input-wrap .eye .i-hide { display: none; }
.input-wrap .eye.on .i-show { display: none; }
.input-wrap .eye.on .i-hide { display: inline-block; }
.auth2-box .btn-xl { width: 100%; margin-top: 8px; }
.auth2-box .alt { text-align: center; color: var(--text-2); margin-top: 22px; font-size: 14.5px; }
.auth2-foot { font-size: 12.5px; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.pw-meter { display: flex; gap: 4px; margin-top: 8px; }
.pw-meter i { flex: 1; height: 4px; border-radius: 9px; background: var(--surface-3); transition: background-color .25s ease; }
.pw-meter.l1 i:nth-child(1) { background: var(--danger); }
.pw-meter.l2 i:nth-child(-n+2) { background: var(--warning); }
.pw-meter.l3 i:nth-child(-n+3) { background: var(--success); }
.pw-meter.l4 i { background: var(--success); }

.auth2-visual {
  position: relative; overflow: hidden; margin: 14px; border-radius: 30px; color: #fff; padding: 46px;
  background: radial-gradient(600px 420px at 90% 10%, rgba(255,90,54,.6), transparent 70%), radial-gradient(500px 360px at 0% 100%, rgba(255,176,32,.25), transparent 70%), #17131B;
  display: flex; flex-direction: column; justify-content: space-between;
}
.auth2-visual h2 { color: #fff; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -0.035em; max-width: 480px; position: relative; z-index: 2; }
.auth2-visual .accent { background: linear-gradient(120deg, #FFB199, #FF7A52); -webkit-background-clip: text; background-clip: text; }
.auth2-visual .bul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 2; }
.auth2-visual .bul li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.82); font-size: 15px; }
.auth2-visual .bul .icon { width: 30px; height: 30px; padding: 7px; border-radius: 10px; background: rgba(255,255,255,.1); color: #FF8C6E; flex-shrink: 0; }
.av-stage { position: relative; height: 380px; margin: 10px 0; }
.av-stage .phone { position: absolute; left: 50%; top: 10px; transform: translateX(-50%) scale(.62); transform-origin: top center; animation: none; box-shadow: 0 40px 80px -20px rgba(0,0,0,.7); }
.av-photo { position: absolute; border-radius: 22px; object-fit: cover; box-shadow: 0 24px 50px -16px rgba(0,0,0,.65); border: 3px solid rgba(255,255,255,.12); }
.av-photo.a { width: 140px; height: 140px; left: 4%; top: 20px; transform: rotate(-9deg); animation: bob 7s ease-in-out infinite; }
.av-photo.b { width: 120px; height: 160px; right: 4%; top: 120px; transform: rotate(8deg); animation: bob 8s ease-in-out infinite reverse; }
.av-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.96); color: #1E1B22; border-radius: 16px; padding: 10px 14px; font-size: 12.5px; font-weight: 700; box-shadow: 0 18px 40px -12px rgba(0,0,0,.6); }
.av-chip .ic { width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.av-chip.c1 { left: 2%; bottom: 40px; animation: bob 6s ease-in-out infinite; }
.av-chip.c1 .ic { background: #E2F5EB; color: #15784A; }
.av-chip.c2 { right: 2%; top: 26px; animation: bob 7s ease-in-out infinite reverse; }
.av-chip.c2 .ic { background: #FFEBE4; color: #C93A16; }
.av-chip small { display: block; font-weight: 600; color: rgba(30,27,34,.55); font-size: 11px; }
.auth2-visual .foot { position: relative; z-index: 2; font-size: 13px; color: rgba(255,255,255,.45); }
@media (max-width: 980px) {
  .auth2 { grid-template-columns: 1fr; }
  .auth2-visual { display: none; }
  .auth2-form { padding: 22px 20px; }
}

/* ================= Section livraison ================= */
.delivery-mock { position: relative; z-index: 1; max-width: 380px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 26px; box-shadow: var(--shadow-lg); padding: 20px; }
.dm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding-bottom: 14px; border-bottom: 1px dashed var(--border-strong); margin-bottom: 14px; }
.dm-head small { display: block; font-size: 11px; color: var(--text-3); font-weight: 700; }
.dm-head strong { font-family: var(--font-head); font-size: 17px; }
.dm-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.dm-steps li { display: flex; align-items: center; gap: 12px; padding: 7px 0; position: relative; }
.dm-steps li:not(:last-child)::after { content: ''; position: absolute; left: 15px; top: 38px; height: 14px; width: 2px; background: var(--border); }
.dm-steps .dot { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--text-3); }
.dm-steps .dot .icon { width: 14px; height: 14px; }
.dm-steps b { display: block; font-size: 14px; }
.dm-steps small { font-size: 12px; color: var(--text-3); }
.dm-total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border-strong); font-size: 13.5px; color: var(--text-2); }
.dm-total b { font-family: var(--font-mono); font-size: 16px; color: var(--text); }
.dm-link { position: absolute; z-index: 2; right: -14px; bottom: -58px; display: flex; align-items: center; gap: 10px; animation: bob 6s ease-in-out infinite; }
.dm-link .qr-box { width: 46px; height: 46px; padding: 4px; background: #fff; border-radius: 9px; flex-shrink: 0; }
.dm-link strong { display: block; font-size: 13px; }
.dm-link span { font-size: 11.5px; color: var(--text-3); font-family: var(--font-mono); }
@media (prefers-reduced-motion: reduce) { .dm-steps li, .dm-steps .dot { animation: none !important; opacity: 1; } }

/* ================= Section marges ================= */
.margin-mock { position: relative; z-index: 1; max-width: 400px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.mm-dish { display: flex; align-items: center; gap: 12px; }
.mm-dish img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.mm-dish strong { display: block; font-size: 15px; }
.mm-dish small { font-size: 12px; color: var(--text-3); }
.mm-dish b { font-family: var(--font-mono); font-size: 16px; }
.mm-recipe { background: var(--surface-2); border-radius: 14px; padding: 10px 12px; font-size: 13px; }
.mm-recipe > div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--text-2); }
.mm-recipe .tot { border-top: 1px dashed var(--border-strong); margin-top: 4px; padding-top: 8px; color: var(--text); font-weight: 700; }
.mm-margin { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.mm-margin small { display: block; font-size: 12px; color: var(--text-3); font-weight: 700; }
.mm-margin strong { font-family: var(--font-head); font-size: 28px; color: var(--success-text); letter-spacing: -0.02em; }
.mm-ring { --p: 0; width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: radial-gradient(closest-side, var(--surface) 72%, transparent 73% 100%), conic-gradient(var(--success) calc(var(--fill, 0) * 1%), var(--surface-3) 0); transition: --fill 1.2s ease; }
.mm-ring span { font-family: var(--font-head); font-weight: 800; font-size: 17px; }
.in .mm-ring { --fill: var(--p); }
@property --fill { syntax: '<number>'; inherits: false; initial-value: 0; }
.mm-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mm-kpis div { background: var(--surface-2); border-radius: 14px; padding: 10px 12px; }
.mm-kpis small { display: block; font-size: 11px; color: var(--text-3); font-weight: 700; }
.mm-kpis b { font-family: var(--font-head); font-size: 17px; }
.mm-buy { position: absolute; z-index: 2; right: -12px; bottom: -22px; display: flex; gap: 10px; align-items: center; animation: bob 6s ease-in-out infinite; }
.mm-buy .ic { width: 34px; height: 34px; border-radius: 11px; background: var(--success-soft); color: var(--success-text); display: flex; align-items: center; justify-content: center; }
@media (max-width: 960px) { .mm-buy { right: 0; bottom: -84px; } .show-row:has(.mm-buy) .show-visual, .show-row:has(.dm-link) .show-visual { margin-bottom: 96px; } }
@media (max-width: 520px) { .dm-link { right: 0; bottom: -96px; } }
@keyframes dm-step-0 { 0%, 3% { opacity: .38; } 4%, 92% { opacity: 1; } 100% { opacity: .38; } }
@keyframes dm-dot-0 { 0%, 3% { background: var(--surface-2); color: var(--text-3); box-shadow: none; } 4%, 92% { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(255,90,54,.16); } 100% { background: var(--surface-2); color: var(--text-3); box-shadow: none; } }
.dm-steps li:nth-child(1) { animation: dm-step-0 10s ease infinite; }
.dm-steps li:nth-child(1) .dot { animation: dm-dot-0 10s ease infinite; }
@keyframes dm-step-1 { 0%, 19% { opacity: .38; } 20%, 92% { opacity: 1; } 100% { opacity: .38; } }
@keyframes dm-dot-1 { 0%, 19% { background: var(--surface-2); color: var(--text-3); box-shadow: none; } 20%, 92% { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(255,90,54,.16); } 100% { background: var(--surface-2); color: var(--text-3); box-shadow: none; } }
.dm-steps li:nth-child(2) { animation: dm-step-1 10s ease infinite; }
.dm-steps li:nth-child(2) .dot { animation: dm-dot-1 10s ease infinite; }
@keyframes dm-step-2 { 0%, 35% { opacity: .38; } 36%, 92% { opacity: 1; } 100% { opacity: .38; } }
@keyframes dm-dot-2 { 0%, 35% { background: var(--surface-2); color: var(--text-3); box-shadow: none; } 36%, 92% { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(255,90,54,.16); } 100% { background: var(--surface-2); color: var(--text-3); box-shadow: none; } }
.dm-steps li:nth-child(3) { animation: dm-step-2 10s ease infinite; }
.dm-steps li:nth-child(3) .dot { animation: dm-dot-2 10s ease infinite; }
@keyframes dm-step-3 { 0%, 51% { opacity: .38; } 52%, 92% { opacity: 1; } 100% { opacity: .38; } }
@keyframes dm-dot-3 { 0%, 51% { background: var(--surface-2); color: var(--text-3); box-shadow: none; } 52%, 92% { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(255,90,54,.16); } 100% { background: var(--surface-2); color: var(--text-3); box-shadow: none; } }
.dm-steps li:nth-child(4) { animation: dm-step-3 10s ease infinite; }
.dm-steps li:nth-child(4) .dot { animation: dm-dot-3 10s ease infinite; }
@keyframes dm-step-4 { 0%, 67% { opacity: .38; } 68%, 92% { opacity: 1; } 100% { opacity: .38; } }
@keyframes dm-dot-4 { 0%, 67% { background: var(--surface-2); color: var(--text-3); box-shadow: none; } 68%, 92% { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(255,90,54,.16); } 100% { background: var(--surface-2); color: var(--text-3); box-shadow: none; } }
.dm-steps li:nth-child(5) { animation: dm-step-4 10s ease infinite; }
.dm-steps li:nth-child(5) .dot { animation: dm-dot-4 10s ease infinite; }
