/* =========================================================
   Veyra — Démo landing "annonce modèle + levée de fonds"
   ========================================================= */
:root {
  --bg: #09090b;
  --bg-2: #0f0f12;
  --surface: rgba(255,255,255,.03);
  --surface-2: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.08);
  --border-2: rgba(255,255,255,.14);
  --text: #fafafa;
  --muted: #a1a1aa;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --amber: #f5b14c;
  --grad: linear-gradient(110deg, var(--violet) 0%, var(--cyan) 55%, var(--amber) 100%);
  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2,.7,.1,1);
  --font: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
p { margin: 0; }
em { font-style: normal; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.fine { font-size: 12px; color: var(--muted); opacity: .8; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  font: 500 15px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary {
  background: #fff; color: #07070c;
  box-shadow: 0 0 0 0 rgba(139,92,246,0);
}
.btn--primary:hover { background: #e4e4e7; }
.btn--ghost { background: var(--surface); border-color: var(--border-2); color: var(--text); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--outline { background: transparent; border-color: var(--border-2); color: var(--text); }
.btn--outline:hover { border-color: #fff; background: var(--surface); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 17px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.play { font-size: 10px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; }

.icon-btn {
  position: relative; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer;
  transition: background .2s;
}
.icon-btn:hover { background: var(--surface-2); }

/* ---------- Barre d'annonce ---------- */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 16px; font-size: 13.5px; text-align: center;
  background: var(--bg-2); color: #d4d4d8;
  border-bottom: 1px solid var(--border);
}
.announce a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent, #3ecf8e); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(5,5,10,.72); backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.nav__links { display: flex; gap: 32px; font-size: 14.5px; color: var(--muted); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--violet); color: #fff; font: 600 11px/18px var(--font); text-align: center;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.burger { display: none; }
.burger span { position: absolute; width: 16px; height: 1.6px; background: currentColor; transition: transform .3s; }
.burger span:first-child { transform: translateY(-3px); }
.burger span:last-child { transform: translateY(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100vh - 110px); display: flex; flex-direction: column; justify-content: space-between; padding: 56px 0 40px; margin-top: -72px; padding-top: 140px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 40%;
  transform: scale(1.08); will-change: transform; animation: heroIn 2.4s var(--ease) forwards;
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.18); } to { opacity: 1; transform: scale(1.08); } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 45% 30% at 50% 42%, rgba(5,5,10,.35) 0%, transparent 100%),
    radial-gradient(ellipse 60% 55% at 50% 45%, transparent 0%, rgba(5,5,10,.45) 60%, var(--bg) 100%),
    linear-gradient(180deg, rgba(5,5,10,.55) 0%, transparent 30%, transparent 60%, var(--bg) 100%);
}
.hero__content { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border-radius: 8px;
  background: rgba(9,9,11,.6); border: 1px solid var(--border-2); backdrop-filter: blur(10px); font-size: 13px; color: #d4d4d8;
}
.pill__tag { padding: 3px 8px; border-radius: 5px; background: #fafafa; color: #09090b; font-weight: 600; font-size: 11px; letter-spacing: .04em; }
.hero__title { margin-top: 28px; font-size: clamp(44px, 8vw, 104px); font-weight: 600; letter-spacing: -.045em; line-height: .98; text-shadow: 0 10px 60px rgba(0,0,0,.6); }
.hero__title em {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em;
}
.hero__lead { margin-top: 26px; max-width: 620px; font-size: clamp(16px, 1.6vw, 19px); color: #c9c7d6; }
.hero__ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Widget levée */
.glass { background: rgba(14,14,24,.55); border: 1px solid var(--border-2); backdrop-filter: blur(22px) saturate(1.3); }
.raise {
  position: relative; margin-top: 64px; border-radius: var(--radius); padding: 22px 28px;
  display: grid; grid-template-columns: auto 1fr auto auto; gap: 36px; align-items: center;
}
.raise__stat { display: flex; flex-direction: column; gap: 4px; }
.raise .label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.raise .value { font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.raise .value.mono { font-size: 20px; }
.raise__row { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 10px; color: #d8d6e4; }
.bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar__fill { height: 100%; width: 0; border-radius: inherit; background: var(--text); transition: width 1.6s var(--ease); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marquee 38s linear infinite; font-size: 18px; color: #c9c7d6; align-items: center; }
.marquee__track i { font-style: normal; color: var(--violet); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 112px 0; position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.section__head { max-width: 640px; margin-bottom: 64px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2, .why h2, .cta h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.03em; line-height: 1.1; }
.section__head p { margin-top: 20px; color: var(--muted); font-size: 17px; }
.section__head .fine { margin-top: 10px; font-size: 12px; }
.eyebrow { display: inline-block; margin-bottom: 16px; font: 600 12px/1 var(--font); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
h1 em, h2 em { color: var(--muted); }

/* Bento */
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.card {
  position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  padding: 32px; overflow: hidden; transition: border-color .3s, transform .4s var(--ease);
}
.card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(139,92,246,.14), transparent 60%);
}
.card:hover::after { opacity: 0; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; margin-bottom: 64px; background: var(--surface-2); border: 1px solid var(--border-2); }
.card--tall { grid-row: span 2; }
.card--wide { grid-column: span 2; }
.card--img { padding: 0; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; }
.card--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card--img:hover img { transform: scale(1.05); }
.card--img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(5,5,10,.92) 100%); z-index: 1; }
.card__body { position: relative; z-index: 2; padding: 32px; }
.card--img p { color: #c9c7d6; max-width: 460px; }
.chip { display: inline-block; margin-bottom: 14px; padding: 5px 11px; border-radius: 99px; font-size: 12px; background: rgba(255,255,255,.1); border: 1px solid var(--border-2); backdrop-filter: blur(8px); }

/* Benchmarks */
.bench { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.bench__list { display: flex; flex-direction: column; gap: 30px; }
.bench__label { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 12px; }
.bench__label .mono { color: var(--text); }
.bench__bars { display: flex; flex-direction: column; gap: 6px; }
.bbar { height: 10px; border-radius: 99px; width: 0; transition: width 1.6s var(--ease); }
.bbar--us { background: var(--text); }
.bbar--them { background: rgba(255,255,255,.16); height: 6px; }
.bench__legend { display: flex; gap: 24px; font-size: 13px; color: var(--muted); }
.sw { display: inline-block; width: 18px; height: 6px; border-radius: 9px; margin-right: 8px; vertical-align: middle; }
.sw--us { background: var(--text); }
.sw--them { background: rgba(255,255,255,.25); }

.stats { margin-top: 100px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); }
.stat { padding: 36px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--border); }
.stat__v { font-size: clamp(40px, 5vw, 64px); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__l { color: var(--muted); font-size: 14.5px; }

/* Pourquoi */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why .lead { margin: 24px 0 36px; color: var(--muted); font-size: 17px; max-width: 520px; }
.why__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.why__list li { display: flex; gap: 22px; padding: 26px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.why__list .num { font: 500 13px/1.6 var(--mono); color: var(--violet); }
.why__list h4 { font-size: 19px; margin-bottom: 6px; }
.why__list p { color: var(--muted); font-size: 15px; }

/* Paliers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); transition: transform .4s var(--ease), border-color .3s;
}
.tier:hover { transform: translateY(-6px); border-color: var(--border-2); }
.tier--featured { border-color: transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: 0 30px 80px -30px rgba(139,92,246,.55); }
.tier__badge { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 12px; border-radius: 99px; background: var(--grad); color: #07070c; font-weight: 700; font-size: 12px; }
.tier__media { aspect-ratio: 16/10; overflow: hidden; background: #000; }
.tier__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tier:hover .tier__media img { transform: scale(1.08) rotate(-1deg); }
.tier__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.tier__top { display: flex; justify-content: space-between; align-items: center; }
.tier__top h3 { font-size: 24px; }
.tier__left { font-size: 12px; color: var(--muted); padding: 4px 10px; border-radius: 99px; border: 1px solid var(--border); }
.tier__left--hot { color: var(--amber); border-color: rgba(245,177,76,.35); }
.tier__price { margin: 18px 0 22px; font-size: 40px; font-weight: 600; letter-spacing: -.03em; }
.tier__price span { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.tier ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tier li { position: relative; padding-left: 26px; font-size: 15px; color: #d4d2e0; }
.tier li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--cyan); font-weight: 700; }
.risk { margin: 40px auto 0; max-width: 760px; text-align: center; font-size: 13px; color: var(--muted); padding: 16px 20px; border-radius: var(--radius-sm); border: 1px solid rgba(245,177,76,.2); background: rgba(245,177,76,.05); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: var(--border-2); }
.timeline li { position: relative; padding-top: 40px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border-2); }
.timeline li.is-done::before { background: var(--muted); border-color: var(--muted); }
.timeline li.is-now::before { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 0 6px rgba(34,211,238,.18), 0 0 24px var(--cyan); }
.tl__date { font: 500 12.5px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.is-now .tl__date { color: var(--cyan); }
.timeline h4 { margin: 14px 0 8px; font-size: 20px; }
.timeline p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.faq__list { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 0; font-size: 18px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--muted); max-width: 620px; }

/* CTA */
.cta { position: relative; padding: 160px 0; background-size: cover; background-position: center; text-align: center; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%); }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 36px; }

/* Footer */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer__grid p { margin-top: 14px; font-size: 14px; }
.footer h5 { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .08em; }
.footer__grid div > a:not(.logo) { display: block; padding: 5px 0; font-size: 14.5px; color: #c9c7d6; }
.footer__grid div > a:hover { color: #fff; }
.footer__legal { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 24px; font-size: 12.5px; color: var(--muted); }
.footer__legal p:first-child { max-width: 760px; }

/* ---------- Panier drawer ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 90; }
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 100;
  background: #0d0d17; border-left: 1px solid var(--border-2);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--border); }
.drawer__head h3 { font-size: 20px; }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__empty { text-align: center; color: var(--muted); padding: 60px 0; }
.citem { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border); }
.citem img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.citem h4 { font-size: 15px; font-weight: 500; }
.citem .muted { font-size: 13px; }
.qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid var(--border-2); border-radius: 99px; }
.qty button { width: 28px; height: 28px; background: none; border: 0; color: var(--text); cursor: pointer; font-size: 15px; }
.qty span { min-width: 22px; text-align: center; font-size: 13px; }
.citem__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.drawer__foot { padding: 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.drawer__total { display: flex; justify-content: space-between; font-size: 18px; }
.drawer__foot .fine { text-align: center; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 30px); opacity: 0;
  padding: 12px 20px; border-radius: 99px; background: #fff; color: #07070c; font-weight: 500; font-size: 14px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.6); transition: all .4s var(--ease); pointer-events: none;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Animations reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .burger { display: grid; }
  .nav__links.is-open {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: 72px; left: 16px; right: 16px;
    padding: 16px; border-radius: var(--radius); background: rgba(13,13,23,.96); border: 1px solid var(--border-2); backdrop-filter: blur(20px);
  }
  .nav__links.is-open a { padding: 12px; font-size: 16px; color: var(--text); }
  .raise { grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
  .raise__progress { grid-column: 1 / -1; order: -1; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--tall { grid-row: auto; grid-column: span 2; min-height: 380px; }
  .bench, .why__grid, .faq { grid-template-columns: 1fr; gap: 48px; }
  .tiers { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .timeline::before { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .nav__actions .btn { display: none; }
  .section { padding: 90px 0; }
  .hero { padding-top: 120px; }
  .raise { grid-template-columns: 1fr 1fr; padding: 20px; }
  .raise__stat:last-child { grid-column: 1 / -1; }
  .raise .value { font-size: 22px; }
  .hero__ctas .btn { width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .card--tall, .card--wide { grid-column: auto; }
  .timeline { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .footer__legal { flex-direction: column; }
  .tier__price { font-size: 34px; }
}
