/* ============ AFRO BLOOM — thème futuriste ============ */
:root {
  --bg: #04100c;
  --bg2: #071a14;
  --ink: #eef6f1;
  --muted: #9db5aa;
  --emerald: #2ee59d;
  --emerald-deep: #0f8a5f;
  --gold: #e8c26a;
  --amber: #c9772b;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-line: rgba(232, 194, 106, 0.18);
  --danger: #ff7b7b;
  --radius: 22px;
  --font-display: 'Syne', system-ui, sans-serif;
  --font: 'Manrope', system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html { background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(46, 229, 157, 0.16), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(232, 194, 106, 0.10), transparent 60%),
    radial-gradient(800px 800px at 50% 120%, rgba(15, 138, 95, 0.18), transparent 60%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
body::before { /* grille holographique */
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(46,229,157,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(46,229,157,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
a { color: var(--gold); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.15rem; }
.grad { background: linear-gradient(100deg, var(--gold), #fff3c9 40%, var(--emerald)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { text-transform: uppercase; letter-spacing: .28em; font-size: .75rem; color: var(--emerald); margin: 0 0 1rem; font-weight: 700; }
.center { text-align: center; }
.muted { color: var(--muted); }
.tiny { font-size: .8rem; }
.error { color: var(--danger); background: rgba(255,123,123,.08); border: 1px solid rgba(255,123,123,.3); padding: .7rem 1rem; border-radius: 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  padding: .95rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 1rem var(--font); color: #062015; text-decoration: none;
  background: linear-gradient(120deg, var(--gold), #f6dd9a 45%, var(--emerald));
  box-shadow: 0 10px 30px -10px rgba(46,229,157,.6), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(46,229,157,.8); }
.btn:disabled { filter: grayscale(.8) brightness(.6); cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--glass-line); box-shadow: none; }
.btn-ghost:hover { background: rgba(232,194,106,.08); }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; margin-top: 1.2rem; font-size: 1.1rem; }
.badge { background: #062015; color: var(--gold); border-radius: 999px; min-width: 1.4em; padding: 0 .4em; font-size: .8rem; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  background: rgba(4, 16, 12, .6); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232,194,106,.1);
}
.brand { white-space: nowrap; font-family: var(--font-display); font-weight: 800; letter-spacing: .12em; color: var(--ink); text-decoration: none; }
.brand-mark { color: var(--gold); text-shadow: 0 0 14px var(--gold); }
.nav nav { display: flex; gap: clamp(.6rem, 2vw, 1.6rem); align-items: center; }
.nav nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 640px) { .nav nav a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center;
  min-height: calc(100vh - 70px); padding: 3rem clamp(1rem, 5vw, 5rem); overflow: clip;
  max-width: 1320px; margin: 0 auto;
}
.lead { font-size: 1.12rem; color: #cfe2d9; max-width: 38em; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); }
.hero-stats span { color: var(--muted); font-size: .85rem; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; display: grid; place-items: center; }
.halo { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(232,194,106,.35), rgba(46,229,157,.15) 45%, transparent 70%); filter: blur(30px); animation: breathe 6s ease-in-out infinite; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(232,194,106,.25); }
.orbit .dot { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 16px 4px var(--emerald); }
.o1 { inset: 2%; animation: spin 28s linear infinite; border-style: dashed; }
.o2 { inset: 10%; animation: spin 18s linear infinite reverse; border-color: rgba(46,229,157,.3); }
.o2 .dot { background: var(--gold); box-shadow: 0 0 16px 4px var(--gold); }
.o3 { inset: 18%; border: 1px solid rgba(255,255,255,.06); }
.product-frame {
  position: relative; width: 78%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 1px solid rgba(232,194,106,.4);
  box-shadow: 0 0 0 6px rgba(255,255,255,.03), 0 40px 80px -20px rgba(0,0,0,.8), 0 0 60px -10px rgba(232,194,106,.45);
  animation: float 7s ease-in-out infinite;
  transform-style: preserve-3d;
}
.product-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05); }
.product-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.18), transparent 30%, transparent 70%, rgba(4,16,12,.55)); }
.scan { position: absolute; left: 0; right: 0; height: 30%; background: linear-gradient(transparent, rgba(46,229,157,.18), transparent); animation: scan 5s ease-in-out infinite; z-index: 1; }
.chip {
  position: absolute; display: flex; gap: .4rem; align-items: center; padding: .5rem .9rem; border-radius: 999px;
  background: rgba(7, 26, 20, .75); border: 1px solid var(--glass-line); backdrop-filter: blur(10px);
  font-size: .85rem; font-weight: 700; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
  animation: float 6s ease-in-out infinite;
}
.chip i { font-style: normal; }
.c1 { top: 12%; left: 0; animation-delay: -1s; }
.c2 { top: 26%; right: 0; animation-delay: -3s; }
.c3 { bottom: 20%; left: 2%; animation-delay: -2s; }
.c4 { bottom: 9%; right: 6%; animation-delay: -4s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes breathe { 0%,100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes scan { 0% { top: -30%; } 100% { top: 110%; } }

/* ---------- Bandeau défilant ---------- */
.marquee { overflow: hidden; border-block: 1px solid rgba(232,194,106,.15); background: rgba(232,194,106,.04); padding: 1rem 0; }
.marquee > div { display: flex; gap: 2.5rem; width: max-content; animation: marquee 30s linear infinite; font-family: var(--font-display); font-weight: 700; letter-spacing: .25em; color: rgba(238,246,241,.55); }
.marquee span:nth-child(even) { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 6rem clamp(1rem, 5vw, 5rem); max-width: 1320px; margin: 0 auto; }
.section.narrow { max-width: 820px; }
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--glass-line); border-radius: var(--radius);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 60px -30px rgba(0,0,0,.7);
}
.grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; margin-top: 3rem; }
.ing { padding: 1.6rem; transition: transform .3s, border-color .3s; }
.ing:hover { transform: translateY(-6px); border-color: rgba(46,229,157,.5); }
.ing p { color: var(--muted); margin: 0; font-size: .95rem; }
.hex {
  width: 58px; height: 64px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(140deg, rgba(232,194,106,.35), rgba(46,229,157,.25)); color: var(--gold);
}
.steps { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.steps li { padding: 2rem; position: relative; overflow: hidden; }
.steps .num { font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(232,194,106,.6); display: block; margin-bottom: .5rem; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Packs ---------- */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; margin-top: 2.5rem; }
.pack { padding: 1.8rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; position: relative; transition: transform .3s, border-color .3s; }
.pack:hover { transform: translateY(-6px); }
.pack.featured { border-color: rgba(46,229,157,.6); box-shadow: 0 0 0 1px rgba(46,229,157,.25), 0 30px 70px -30px rgba(46,229,157,.5); }
.pack .tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #062015; background: var(--gold); padding: .25rem .7rem; border-radius: 999px; }
.pack.featured .tag { background: var(--emerald); }
.pack .price { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; white-space: nowrap; }
.pack .price small { font-size: .55em; color: var(--gold); margin-left: .2em; }
.pack .unit { color: var(--muted); font-size: .9rem; }
.pack .world { font-size: .8rem; color: var(--emerald); }
.qty { display: flex; align-items: center; gap: .6rem; margin-top: auto; padding-top: 1rem; }
.qty button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--glass-line); background: transparent; color: var(--ink); font-size: 1.2rem; cursor: pointer; }
.qty button:hover { background: rgba(232,194,106,.1); }
.qty output { min-width: 2ch; text-align: center; font-weight: 700; font-size: 1.1rem; }
.qty .btn { margin-left: auto; }

/* ---------- Commande ---------- */
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; margin-top: 2.5rem; align-items: start; }
.form { padding: 2rem; }
.form h3 { margin-top: 1.6rem; color: var(--gold); font-size: 1rem; letter-spacing: .05em; }
.form h3:first-child { margin-top: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: .88rem; font-weight: 600; color: #cfe2d9; margin-bottom: .9rem; }
input, select {
  width: 100%; margin-top: .35rem; padding: .85rem 1rem; border-radius: 14px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.1); color: var(--ink); font: 500 1rem var(--font);
}
input:focus, select:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(46,229,157,.2); }
select option { background: var(--bg2); }
.options { display: grid; gap: .7rem; margin-bottom: 1rem; }
.opt { display: flex; align-items: center; gap: .9rem; padding: 1rem; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.25); cursor: pointer; margin: 0; transition: border-color .2s, background .2s; }
.opt:has(input:checked) { border-color: var(--emerald); background: rgba(46,229,157,.08); }
.opt.disabled { opacity: .4; cursor: not-allowed; }
.opt input { width: auto; margin: 0; accent-color: var(--emerald); }
.opt span { flex: 1; display: flex; flex-direction: column; }
.opt small { color: var(--muted); font-weight: 500; }
.opt em { font-style: normal; font-weight: 800; color: var(--gold); white-space: nowrap; }
.opt .logos { font-size: .75rem; letter-spacing: .08em; }
.summary { padding: 1.8rem; position: sticky; top: 90px; }
.lines { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.lines li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .6rem; border-bottom: 1px dashed rgba(255,255,255,.08); }
.lines li button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .8rem; text-decoration: underline; padding: 0; }
.totals { margin: 0; }
.totals div { display: flex; justify-content: space-between; padding: .3rem 0; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 700; }
.totals .grand { border-top: 1px solid var(--glass-line); margin-top: .5rem; padding-top: .8rem; font-size: 1.3rem; }
.totals .grand dd { color: var(--gold); font-family: var(--font-display); }

/* ---------- FAQ ---------- */
details { padding: 1.1rem 1.4rem; margin-bottom: .8rem; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: .8rem 0 0; }

/* ---------- Pied de page ---------- */
.footer { text-align: center; padding: 4rem 1rem 6rem; border-top: 1px solid rgba(232,194,106,.12); color: var(--muted); }
.social { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: 0 10px 30px -6px rgba(37,211,102,.6); z-index: 60; }

/* ---------- Fenêtre Mobile Money ---------- */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 100; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-box { max-width: 420px; padding: 2.4rem 2rem; text-align: center; }
.pulse { width: 72px; height: 72px; margin: 0 auto 1.4rem; border-radius: 50%; background: radial-gradient(circle, var(--emerald), var(--emerald-deep)); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,229,157,.6); } 100% { box-shadow: 0 0 0 30px rgba(46,229,157,0); } }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s, transform .9s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 2rem; min-height: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .lead { margin-inline: auto; }
  .hero-visual { max-width: 420px; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
}
@media (max-width: 520px) {
  .hero-stats { gap: 1.2rem; }
  .hero-stats b { font-size: 1.3rem; }
  .brand { font-size: .9rem; letter-spacing: .08em; }
  .row { grid-template-columns: 1fr; }
  .form, .summary { padding: 1.3rem; }
  .chip { font-size: .72rem; padding: .35rem .7rem; }
  .section { padding: 4rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.btn-invoice { margin: .4rem .3rem 1rem; background: linear-gradient(135deg, #e8c26a, #2ee59d); color: #04140d; }

/* ---------- Vidéo ---------- */
.video-stage { display: flex; gap: 2.5rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 2.5rem; }
.video-card { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.video-card.wide-card { flex: 1 1 560px; }
.video-frame { position: relative; border-radius: 26px; padding: 8px; background: linear-gradient(140deg, rgba(232,194,106,.55), rgba(46,229,157,.25) 40%, rgba(255,255,255,.04) 60%, rgba(46,229,157,.5));
  box-shadow: 0 0 0 1px rgba(232,194,106,.25), 0 30px 80px -20px rgba(0,0,0,.85), 0 0 70px -15px rgba(46,229,157,.55); }
.video-frame video { display: block; border-radius: 20px; background: #020a07; width: 100%; height: 100%; object-fit: cover; }
.video-frame.tall { width: min(320px, 78vw); aspect-ratio: 9/16; }
.video-frame.wide { width: min(720px, 92vw); aspect-ratio: 16/9; }
.video-frame::before { content: ''; position: absolute; inset: -18px; border-radius: 40px; border: 1px dashed rgba(46,229,157,.25); pointer-events: none; }
.corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--gold); pointer-events: none; }
.corner.tl { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.corner.tr { top: -10px; right: -10px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: -10px; left: -10px; border-right: 0; border-top: 0; }
.corner.br { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }
.sound-btn { position: absolute; right: 18px; bottom: 18px; padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--glass-line); background: rgba(7,26,20,.75); color: var(--ink); font: 700 .8rem var(--font); cursor: pointer; backdrop-filter: blur(8px); }
.video-caption { color: var(--muted); font-size: .9rem; letter-spacing: .04em; }

/* ---------- Choix de la langue ---------- */
.lang-wrap { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .6rem; border-radius: 999px; border: 1px solid var(--glass-line); background: rgba(7,26,20,.6); font-size: .85rem; }
.nav .lang-select { appearance: none; -webkit-appearance: none; background: transparent; color: var(--ink); border: 0; box-shadow: none; padding: 0 .2rem; margin: 0; width: auto; height: auto; min-height: 0; font: 700 .85rem var(--font); cursor: pointer; outline: none; }
.lang-wrap:focus-within { border-color: var(--gold); }
.lang-select option { background: #06150f; color: #fff; }

@media (max-width: 640px) {
  .nav .lang-select { width: 1.7rem; overflow: hidden; }
  .lang-wrap { padding: .3rem .5rem; gap: .15rem; }
  .nav nav { gap: .5rem; }
}
@media (max-width: 400px) { .lang-wrap > span { display: none; } .nav .brand { font-size: .85rem; letter-spacing: .08em; } .nav .btn-sm { padding: .5rem .8rem; } }
@media (max-width: 420px) {
  .nav { flex-wrap: wrap; row-gap: .5rem; }
  .nav nav { margin-left: auto; }
}
main .modal-box { width: 100%; min-width: 0; box-sizing: border-box; }
