/* ============================================================
   NotiEvent — Landing Page (web/index.html)
   ============================================================ */

/* ── Token override ── */
:root { --ne-radius: 16px; }

/* ── Body ── */
body { overflow-x: hidden; }

/* ── Navbar ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; padding: 0 2rem; height: 68px; display: flex; align-items: center; gap: 1.5rem; transition: border-color .3s, box-shadow .3s; }
.nav.scrolled { border-color: var(--ne-border); box-shadow: 0 2px 20px rgba(0,0,0,.06); }
.nav-logo { font-size: 1.4rem; font-weight: 800; color: var(--ne-primary); letter-spacing: -.04em; text-decoration: none; display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.nav-logo .logo-name { color: var(--ne-primary); }
.nav-logo .logo-name span { color: var(--ne-accent); }
.nav-logo img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ne-muted); font-weight: 500; font-size: .9rem; transition: color .2s; }
.nav-links a:hover { color: var(--ne-primary); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.lang-toggle { display: flex; border: 1.5px solid var(--ne-border); border-radius: 8px; overflow: hidden; }
.lang-btn { padding: .28rem .6rem; border: none; background: none; font-size: .8rem; font-weight: 700; cursor: pointer; color: var(--ne-muted); transition: all .2s; font-family: inherit; }
.lang-btn.active { background: var(--ne-primary); color: #fff; }

/* ── Layout ── */
section { padding: 6rem 2rem; }
.container { max-width: 1160px; margin: 0 auto; }
.section-label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ne-accent); display: inline-block; margin-bottom: .6rem; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -.04em; margin-bottom: 1rem; }
.section-sub { font-size: 1.05rem; color: var(--ne-muted); line-height: 1.75; max-width: 560px; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ── Hero ── */
#hero { min-height: 100vh; display: flex; align-items: center; padding-top: calc(68px + 3rem); padding-bottom: 3rem; background: linear-gradient(150deg, #EFF6FF 0%, #DBEAFE 50%, #EFF6FF 100%); position: relative; overflow: hidden; }
#hero::after { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(41,182,246,.15) 0%, transparent 70%); top: -200px; right: -200px; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1.5px solid var(--ne-border); border-radius: 99px; padding: .3rem .9rem .3rem .5rem; font-size: .8rem; font-weight: 600; color: var(--ne-muted); margin-bottom: 1.5rem; box-shadow: var(--ne-shadow); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ne-success); animation: pulse 2s ease-in-out infinite; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.08; letter-spacing: -.05em; margin-bottom: 1.5rem; }
.hero-title .grad { background: linear-gradient(135deg, var(--ne-primary), var(--ne-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.1rem; color: var(--ne-muted); line-height: 1.75; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(14,159,110,.12); flex-wrap: wrap; }
.stat-val { font-size: 1.8rem; font-weight: 900; color: var(--ne-primary); line-height: 1; }
.stat-lbl { font-size: .78rem; color: var(--ne-muted); margin-top: .2rem; }

/* ── Features (explorateur 3 colonnes + détail) ── */
#features { background: var(--ne-surface); }
.feat-explorer {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(230px, 1.15fr) 1.5fr;
  grid-template-areas: "themes items preview" "detail detail detail";
  gap: 0;
  background: var(--ne-bg);
  border: 1.5px solid var(--ne-border);
  border-radius: var(--ne-radius);
  box-shadow: 0 12px 40px rgba(14,159,110,.08);
  overflow: hidden;
}
.fx-col { padding: 1rem; }
.fx-themes  { grid-area: themes;  background: var(--ne-surface); border-right: 1px solid var(--ne-border); display: flex; flex-direction: column; gap: .5rem; }
.fx-items   { grid-area: items;   border-right: 1px solid var(--ne-border); display: flex; flex-direction: column; gap: .5rem; }
.fx-preview { grid-area: preview; padding: 1.6rem; }
.fx-detail  { grid-area: detail;  border-top: 1px solid var(--ne-border); background: linear-gradient(135deg, rgba(14,159,110,.05), rgba(132,225,188,.03)); padding: 1.5rem 1.75rem; }

/* Pastille d'icône */
.fx-ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--ne-primary), var(--ne-primary-light)); box-shadow: 0 4px 12px rgba(14,159,110,.28); }
.fx-ico svg { width: 20px; height: 20px; }
.fx-ico.sm { width: 34px; height: 34px; border-radius: 10px; }
.fx-ico.sm svg { width: 18px; height: 18px; }
.fx-ico.lg { width: 52px; height: 52px; border-radius: 15px; }
.fx-ico.lg svg { width: 26px; height: 26px; }

/* Colonne 1 — thèmes */
.fx-theme { display: flex; align-items: center; gap: .75rem; width: 100%; text-align: left; padding: .7rem .8rem; border: 1.5px solid transparent; border-radius: 12px; background: none; cursor: pointer; font-family: inherit; color: var(--ne-text); transition: all .2s; }
.fx-theme:hover { background: var(--ne-bg); }
.fx-theme.active { background: var(--ne-bg); border-color: var(--ne-accent); box-shadow: 0 4px 14px rgba(14,159,110,.12); }
.fx-theme .fx-label { flex: 1; font-weight: 700; font-size: .9rem; }
.fx-theme .fx-chev { color: var(--ne-muted); font-size: 1.1rem; opacity: 0; transition: opacity .2s, transform .2s; }
.fx-theme.active .fx-chev { opacity: 1; color: var(--ne-primary); transform: translateX(2px); }

/* Colonne 2 — fonctionnalités */
.fx-item { display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; padding: .65rem .75rem; border: 1.5px solid transparent; border-radius: 12px; background: none; cursor: pointer; font-family: inherit; color: var(--ne-text); transition: all .2s; }
.fx-item:hover { background: var(--ne-surface); }
.fx-item.active { background: rgba(14,159,110,.07); border-color: var(--ne-accent); }
.fx-item-txt { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.fx-item-t { font-weight: 700; font-size: .88rem; line-height: 1.25; }
.fx-item-tag { align-self: flex-start; display: inline-block; background: rgba(14,159,110,.12); color: var(--ne-primary-dark); border-radius: 99px; padding: .1rem .5rem; font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* Colonne 3 — aperçu */
.fx-prev-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.fx-prev-head h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .35rem; }
.fx-check { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.fx-check li { position: relative; padding-left: 1.9rem; font-size: .92rem; color: var(--ne-text); line-height: 1.4; }
.fx-check li::before { content: ''; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; border-radius: 50%; background: rgba(14,159,110,.14); }
.fx-check li::after { content: ''; position: absolute; left: 6px; top: 4px; width: 5px; height: 9px; border: solid var(--ne-primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Ligne détail */
.fx-detail-lbl { display: flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ne-primary-dark); margin-bottom: .6rem; }
.fx-detail-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--ne-primary); position: relative; flex-shrink: 0; }
.fx-detail-dot::after { content: 'i'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .62rem; font-weight: 800; font-style: italic; }
.fx-detail-txt { font-size: .95rem; color: var(--ne-muted); line-height: 1.75; margin: 0; max-width: 900px; }

/* ── How it works ── */
#how { background: linear-gradient(180deg, #EFF6FF 0%, var(--ne-surface) 100%); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; position: relative; }
.steps::before { content: ''; position: absolute; top: 35px; left: calc(16.7% + 36px); right: calc(16.7% + 36px); height: 2px; background: linear-gradient(90deg, var(--ne-primary), var(--ne-accent)); border-radius: 2px; }
.step { text-align: center; }
.step-num { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, var(--ne-primary), var(--ne-accent)); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; z-index: 1; position: relative; box-shadow: 0 8px 28px rgba(14,159,110,.3); color: #fff; }
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.step p { font-size: .85rem; color: var(--ne-muted); line-height: 1.65; }

/* ── Made in France ── */
#france { background: var(--ne-primary-dark); color: #fff; }
#france .section-label { color: var(--ne-accent-light); }
#france .section-title { color: #fff; }
#france .section-sub { color: rgba(255,255,255,.72); }
.france-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.france-items { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
.france-item { display: flex; align-items: flex-start; gap: 1rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 1.2rem; }
.france-ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(41,182,246,.18); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.france-item h4 { font-size: .9rem; font-weight: 700; margin-bottom: .2rem; }
.france-item p { font-size: .82rem; color: rgba(255,255,255,.6); line-height: 1.55; }

/* ── Pricing (le nombre de workflows est le héros de chaque carte) ── */
#pricing { background: var(--ne-surface); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; margin-top: 3.5rem; }
.price-loading { font-size: .9rem; color: var(--ne-muted); }
.price-card { display: flex; flex-direction: column; text-align: center; border: 2px solid var(--ne-border); border-radius: var(--ne-radius); padding: 2.25rem 1.75rem 2rem; background: #fff; transition: all .3s; position: relative; overflow: hidden; }
.price-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--ne-primary), var(--ne-accent)); opacity: 0; transition: opacity .3s; }
.price-card:hover { box-shadow: var(--ne-shadow-lg); transform: translateY(-6px); border-color: var(--ne-accent); }
.price-card:hover::before { opacity: 1; }
.price-card.featured { border-color: var(--ne-primary); box-shadow: 0 20px 50px rgba(14,159,110,.20); transform: scale(1.05); background: linear-gradient(180deg, rgba(14,159,110,.05), #fff 55%); }
.price-card.featured::before { opacity: 1; }
.price-card.featured:hover { transform: scale(1.05) translateY(-6px); }
.price-badge { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--ne-primary), var(--ne-accent)); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .03em; padding: .3rem 1.1rem; border-radius: 0 0 12px 12px; white-space: nowrap; box-shadow: 0 6px 16px rgba(14,159,110,.3); }

.price-name { font-size: .78rem; font-weight: 800; color: var(--ne-muted); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.25rem; }

/* Héros : le nombre de workflows inclus */
.price-hero { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: 1rem 0 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px dashed var(--ne-border); }
.price-hero-num { font-size: 4.5rem; font-weight: 900; line-height: 1; padding: 0 .15em; background: linear-gradient(135deg, var(--ne-primary), var(--ne-primary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.price-card.featured .price-hero-num { background: linear-gradient(135deg, var(--ne-primary-dark), var(--ne-primary)); -webkit-background-clip: text; background-clip: text; }
.price-hero-unit { font-size: .95rem; font-weight: 700; color: var(--ne-text); letter-spacing: .01em; }

/* Prix, en information secondaire */
.price-cost { display: flex; align-items: baseline; justify-content: center; gap: .25rem; margin-bottom: 1.6rem; }
.price-amount { font-size: 2rem; font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--ne-text); }
.price-period { font-size: .88rem; color: var(--ne-muted); font-weight: 600; }

.price-cta { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: auto; }

/* Socle commun affiché une seule fois sous les 3 cartes */
.price-common { margin-top: 2rem; border: 1.5px solid var(--ne-border); border-radius: var(--ne-radius); background: var(--ne-bg); padding: 1.75rem 2rem; }
.price-common-head { text-align: center; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ne-primary-dark); margin-bottom: 1.4rem; }
.price-common-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem 2rem; max-width: 940px; margin: 0 auto; }
.price-common-list li { position: relative; padding-left: 2rem; font-size: .9rem; color: var(--ne-text); line-height: 1.4; }
.price-common-list li::before { content: ''; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border-radius: 50%; background: rgba(14,159,110,.14); }
.price-common-list li::after { content: ''; position: absolute; left: 7px; top: 4px; width: 6px; height: 10px; border: solid var(--ne-primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
#badgePriceNote { margin-top: 1.5rem; color: var(--ne-muted); font-size: .9rem; }

/* ── Contact ── */
#contact { background: linear-gradient(135deg, var(--ne-primary) 0%, var(--ne-primary-dark) 100%); color: #fff; text-align: center; }
#contact .section-label { color: var(--ne-accent-light); }
#contact .section-title { color: #fff; }
#contact .section-sub { color: rgba(255,255,255,.78); margin: 0 auto; }
.contact-actions { display: flex; justify-content: center; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }

/* ── Footer ── */
footer { background: #080F1E; color: rgba(255,255,255,.55); padding: 3.5rem 2rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; max-width: 1160px; margin: 0 auto 3rem; }
.footer-brand { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -.04em; margin-bottom: .6rem; }
.footer-brand span { color: var(--ne-accent); }
.footer-desc { font-size: .84rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-flag { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; }
.flag-icon { width: 22px; height: 15px; border-radius: 3px; overflow: hidden; display: inline-flex; flex-shrink: 0; }
.flag-icon .b { flex: 1; background: #002395; }
.flag-icon .w { flex: 1; background: #fff; }
.flag-icon .r { flex: 1; background: #ED2939; }
.footer-col h4 { font-size: .75rem; font-weight: 700; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a, .footer-col span { color: rgba(255,255,255,.55); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1160px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.07); display: flex; justify-content: space-between; align-items: center; font-size: .78rem; flex-wrap: wrap; gap: 1rem; }

/* ── Animations ── */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.4)} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeLeft { from{opacity:0;transform:translateX(-36px)} to{opacity:1;transform:translateX(0)} }
@keyframes fadeRight { from{opacity:0;transform:translateX(36px)} to{opacity:1;transform:translateX(0)} }
@keyframes scaleIn { from{opacity:0;transform:scale(.88)} to{opacity:1;transform:scale(1)} }
.anim { opacity: 0; }
.anim.visible { animation: fadeUp .65s ease forwards; }
.anim-l.visible { animation: fadeLeft .65s ease forwards; }
.anim-r.visible { animation: fadeRight .65s ease forwards; }
.anim-s.visible { animation: scaleIn .55s ease forwards; }
.d1 { animation-delay: .1s !important; }
.d2 { animation-delay: .2s !important; }
.d3 { animation-delay: .3s !important; }
.d4 { animation-delay: .4s !important; }
.d5 { animation-delay: .5s !important; }
.hero-content { animation: fadeLeft .8s ease both; }
.hero-visual { animation: fadeRight .8s ease both; display: flex; justify-content: center; align-items: center; }

/* ══════════════════════════════════════════════════════════════
   Animated explainer (#demo) — scan → auth → forms → notifications
   Piloté par [data-step] sur #demoStage (JS). Palette --ne-*.
   ══════════════════════════════════════════════════════════════ */
#demo { background: linear-gradient(180deg, #F0FBF6 0%, #FFFFFF 100%); }
.demo-stage { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 940px; margin: 3rem auto 0; }

/* ── Phone frame ── */
.demo-phone { position: relative; width: 100%; max-width: 300px; aspect-ratio: 300 / 600; margin: 0 auto; background: #0B1220; border-radius: 40px; padding: 14px; box-shadow: 0 30px 70px rgba(14,159,110,.22), 0 2px 8px rgba(0,0,0,.25); }
.demo-phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 120px; height: 22px; background: #0B1220; border-radius: 0 0 14px 14px; z-index: 3; }
.demo-screens { position: relative; width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #F0FBF6 0%, #FFFFFF 55%); }

/* Un écran par étape : opacité + léger slide, piloté par data-step */
.demo-screen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; padding: 2.2rem 1.4rem; opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.demo-stage[data-step="1"] .demo-screen[data-screen="1"],
.demo-stage[data-step="2"] .demo-screen[data-screen="2"],
.demo-stage[data-step="3"] .demo-screen[data-screen="3"],
.demo-stage[data-step="4"] .demo-screen[data-screen="4"] { opacity: 1; transform: translateY(0) scale(1); }

.ds-caption { font-size: .82rem; font-weight: 600; color: var(--ne-primary-dark); text-align: center; margin: 0; }

/* Screen 1 — QR scan */
.ds-scan { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.ds-qr { position: relative; width: 132px; height: 132px; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(14,159,110,.16); display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1.5px solid var(--ne-accent); }
.ds-qr > .fa-qrcode { font-size: 84px; color: var(--ne-primary-dark); }
.ds-scanline { position: absolute; left: 8%; right: 8%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--ne-primary-light), transparent); box-shadow: 0 0 12px 2px rgba(49,196,141,.7); top: 8%; }
.demo-stage[data-step="1"] .ds-scanline { animation: dsScan 1.8s ease-in-out infinite; }

/* Screen 2 — auth */
.ds-auth { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.ds-lockcircle { width: 82px; height: 82px; border-radius: 50%; background: linear-gradient(135deg, var(--ne-primary), var(--ne-primary-light)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 34px; box-shadow: 0 12px 30px rgba(14,159,110,.35); }
.demo-stage[data-step="2"] .ds-lockcircle { animation: dsPop .5s ease both; }
.ds-otp { display: flex; gap: .5rem; }
.ds-otp-cell { width: 34px; height: 44px; border-radius: 10px; background: #fff; border: 1.5px solid var(--ne-border); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; color: var(--ne-primary-dark); opacity: 0; }
.demo-stage[data-step="2"] .ds-otp-cell { animation: dsPop .4s ease forwards; }
.demo-stage[data-step="2"] .ds-otp-cell:nth-child(1) { animation-delay: .25s; }
.demo-stage[data-step="2"] .ds-otp-cell:nth-child(2) { animation-delay: .45s; }
.demo-stage[data-step="2"] .ds-otp-cell:nth-child(3) { animation-delay: .65s; }
.demo-stage[data-step="2"] .ds-otp-cell:nth-child(4) { animation-delay: .85s; border-color: var(--ne-primary-light); box-shadow: 0 0 0 3px rgba(132,225,188,.4); }

/* Screen 3 — form */
.ds-form { width: 100%; display: flex; flex-direction: column; gap: .85rem; }
.ds-field { display: flex; flex-direction: column; gap: .4rem; }
.ds-field-lbl { width: 46%; height: 8px; border-radius: 4px; background: var(--ne-accent); }
.ds-field-lbl.short { width: 32%; }
.ds-field-box { width: 100%; height: 30px; border-radius: 9px; background: #fff; border: 1.5px solid var(--ne-border); }
.ds-field-box.ds-typing { position: relative; overflow: hidden; }
.demo-stage[data-step="3"] .ds-typing::after { content: ''; position: absolute; top: 8px; bottom: 8px; left: 10px; width: 0; background: linear-gradient(90deg, var(--ne-accent), var(--ne-primary-light)); border-radius: 4px; animation: dsType 1.3s .3s ease forwards; }
.ds-field-switch { flex-direction: row; align-items: center; justify-content: space-between; }
.ds-switch { width: 42px; height: 24px; border-radius: 99px; background: var(--ne-border); position: relative; transition: background .35s ease; }
.ds-switch-dot { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .35s ease; }
.demo-stage[data-step="3"] .ds-switch { background: var(--ne-primary); transition-delay: 1.5s; }
.demo-stage[data-step="3"] .ds-switch .ds-switch-dot { left: 21px; transition-delay: 1.5s; }
.ds-submit { margin-top: .35rem; width: 100%; border: none; border-radius: 12px; padding: .7rem; background: linear-gradient(135deg, var(--ne-primary), var(--ne-primary-light)); color: #fff; font-weight: 700; font-size: .85rem; font-family: inherit; display: flex; align-items: center; justify-content: center; gap: .45rem; cursor: pointer; box-shadow: 0 8px 20px rgba(14,159,110,.3); }
.demo-stage[data-step="3"] .ds-submit { animation: dsBtn 1s 2s ease both; }

/* Screen 4 — notifications */
.ds-notif { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.ds-notif-check { width: 74px; height: 74px; border-radius: 50%; background: #ECFDF5; color: var(--ne-primary); display: flex; align-items: center; justify-content: center; font-size: 32px; border: 2px solid var(--ne-accent); }
.demo-stage[data-step="4"] .ds-notif-check { animation: dsPop .5s ease both, dsPulse 1.6s .5s ease-in-out infinite; }
.ds-chan { display: flex; gap: .8rem; }
.ds-chan-chip { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--ne-primary-dark); box-shadow: 0 8px 20px rgba(14,159,110,.16); border: 1.5px solid var(--ne-accent); opacity: 0; }
.demo-stage[data-step="4"] .ds-chan-chip { animation: dsChan .55s var(--d, 0s) cubic-bezier(.34,1.56,.64,1) forwards; }

/* ── Stepper (right column) ── */
.demo-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.demo-step { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 16px; border: 1.5px solid transparent; cursor: pointer; transition: background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.demo-step-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; background: #fff; color: var(--ne-muted); border: 1.5px solid var(--ne-border); transition: all .3s ease; }
.demo-step-txt { display: flex; flex-direction: column; gap: .2rem; }
.demo-step-t { font-weight: 700; font-size: 1.02rem; color: var(--ne-text); letter-spacing: -.01em; }
.demo-step-d { font-size: .88rem; color: var(--ne-muted); line-height: 1.55; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .35s ease; }
/* Étape active : mise en avant + révélation de la description */
.demo-stage[data-step="1"] .demo-step[data-step="1"],
.demo-stage[data-step="2"] .demo-step[data-step="2"],
.demo-stage[data-step="3"] .demo-step[data-step="3"],
.demo-stage[data-step="4"] .demo-step[data-step="4"] { background: #fff; border-color: var(--ne-accent); box-shadow: 0 12px 30px rgba(14,159,110,.12); }
.demo-stage[data-step="1"] .demo-step[data-step="1"] .demo-step-ico,
.demo-stage[data-step="2"] .demo-step[data-step="2"] .demo-step-ico,
.demo-stage[data-step="3"] .demo-step[data-step="3"] .demo-step-ico,
.demo-stage[data-step="4"] .demo-step[data-step="4"] .demo-step-ico { background: linear-gradient(135deg, var(--ne-primary), var(--ne-primary-light)); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(14,159,110,.32); }
.demo-stage[data-step="1"] .demo-step[data-step="1"] .demo-step-d,
.demo-stage[data-step="2"] .demo-step[data-step="2"] .demo-step-d,
.demo-stage[data-step="3"] .demo-step[data-step="3"] .demo-step-d,
.demo-stage[data-step="4"] .demo-step[data-step="4"] .demo-step-d { max-height: 6rem; opacity: 1; }

/* ── Keyframes ── */
@keyframes dsScan { 0%,100% { top: 8%; } 50% { top: 84%; } }
@keyframes dsPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes dsType { to { width: calc(100% - 20px); } }
@keyframes dsBtn { 0% { transform: scale(1); } 45% { transform: scale(.95); box-shadow: 0 4px 12px rgba(14,159,110,.4); } 100% { transform: scale(1); } }
@keyframes dsChan { from { opacity: 0; transform: translateY(14px) scale(.7); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes dsPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(49,196,141,.45); } 50% { box-shadow: 0 0 0 10px rgba(49,196,141,0); } }

@media (prefers-reduced-motion: reduce) {
  .demo-screen, .ds-scanline, .ds-otp-cell, .ds-typing::after, .ds-switch, .ds-switch-dot,
  .ds-submit, .ds-notif-check, .ds-chan-chip, .ds-lockcircle { animation: none !important; transition: none !important; }
  .ds-otp-cell, .ds-chan-chip { opacity: 1 !important; }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-grid, .france-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .feat-explorer { grid-template-columns: 1fr 1fr; grid-template-areas: "themes items" "preview preview" "detail detail"; }
  .fx-themes { border-right: 1px solid var(--ne-border); }
  .fx-items { border-right: none; }
  .fx-preview { border-top: 1px solid var(--ne-border); }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .demo-stage { grid-template-columns: 1fr; gap: 2.5rem; max-width: 440px; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-6px); }
  .price-common-list { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 4rem 1.25rem; }
  .nav { height: auto; flex-wrap: wrap; padding: .6rem 1.25rem 0; gap: 0; }
  .nav-actions { display: contents; }
  .lang-toggle { margin-left: auto; }
  .nav-cta { width: 100%; justify-content: center; gap: .6rem; padding: .55rem 0 .65rem; border-top: 1px solid var(--ne-border); margin-top: .5rem; }
  .nav-cta .btn { flex: 1; max-width: 210px; justify-content: center; font-size: .85rem; padding: .55rem .9rem; }
}
@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-common-list { grid-template-columns: 1fr; max-width: 340px; }
  .feat-explorer { grid-template-columns: 1fr; grid-template-areas: "themes" "items" "preview" "detail"; }
  .fx-themes { border-right: none; border-bottom: 1px solid var(--ne-border); flex-direction: row; flex-wrap: wrap; }
  .fx-theme { width: auto; flex: 1 1 45%; }
  .fx-items { border-right: none; border-bottom: 1px solid var(--ne-border); }
  .fx-theme .fx-chev { display: none; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
