:root {
  --pink: #e91e7a;
  --pink-2: #ff5ca8;
  --pink-soft: #ffe4f0;
  --pink-bg: #fff5f9;
  --ink: #2a0f1f;
  --ink-2: #6b4a5c;
  --green: #12a150;
  --line: #f5d3e3;
  --grad: linear-gradient(135deg, #ff5ca8 0%, #e91e7a 60%, #c2185b 100%);
  --shadow: 0 18px 40px -20px rgba(194, 24, 91, 0.45);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* place pour le bouton collé en bas */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 18px; }
h2 { font-size: 1.55rem; line-height: 1.3; font-weight: 900; margin: 0 0 18px; text-align: center; }

/* Bandeau + navigation */
.topbar {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 10px;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 560px; margin: 0 auto; padding: 10px 18px;
}
.brand { font-weight: 800; font-size: 1.15rem; display: flex; align-items: center; gap: 6px; direction: ltr; }
.brand b { color: var(--pink); }
.brand-dot {
  width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 0.8rem;
}
.lang {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
  padding: 5px 14px; font-weight: 800; color: var(--pink); font-size: 0.85rem;
}

/* Boutons */
.btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; border: 0; border-radius: 16px; text-align: center;
}
.btn-main {
  background: var(--grad); color: #fff; padding: 14px 20px;
  font-size: 1.25rem; font-weight: 900; box-shadow: var(--shadow);
  animation: pulse 2.4s ease-in-out infinite;
}
.btn-main:active { transform: scale(0.98); }
.btn-sub { font-size: 0.8rem; font-weight: 700; opacity: 0.9; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 18px 40px -20px rgba(194, 24, 91, 0.45); }
  50% { box-shadow: 0 18px 50px -12px rgba(194, 24, 91, 0.65); }
}
.micro { text-align: center; color: var(--ink-2); font-size: 0.82rem; margin: 10px 0 0; }
.center { text-align: center; }

/* 1. Accroche */
.hero {
  background: radial-gradient(120% 80% at 50% 0%, #ffe4f0 0%, #fff5f9 55%, #fff 100%);
  padding: 8px 0 30px;
  text-align: center;
}
.eyebrow {
  display: inline-block; margin: 6px 0 10px; padding: 4px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--pink); font-weight: 800; font-size: 0.85rem;
}
.title { font-size: clamp(1.9rem, 8vw, 2.5rem); line-height: 1.2; font-weight: 900; margin: 0 0 10px; }
.title span { color: var(--pink); }
.lead { color: var(--ink-2); font-size: 1.02rem; margin: 0 auto 6px; max-width: 460px; }

.hero-visual { position: relative; width: min(330px, 82vw); margin: 4px auto 6px; }
.hero-visual img { position: relative; width: 100%; z-index: 1; filter: drop-shadow(0 22px 24px rgba(194, 24, 91, 0.22)); }
.blob {
  position: absolute; inset: 12% 4% 4% 4%; border-radius: 50%;
  background: radial-gradient(circle, #ffc4de 0%, rgba(255, 196, 222, 0.4) 50%, transparent 72%);
}
.price-badge {
  position: absolute; z-index: 2; bottom: 14%; inset-inline-start: -4px;
  background: #fff; border-radius: 16px; padding: 8px 14px; box-shadow: var(--shadow);
  border: 2px solid var(--pink-soft); line-height: 1.1;
}
.price-badge small { display: block; color: var(--ink-2); font-size: 0.72rem; font-weight: 700; }
.price-badge strong { color: var(--pink); font-size: 1.35rem; font-weight: 900; }

.checks { list-style: none; padding: 0; margin: 8px auto 18px; display: inline-flex; flex-direction: column; gap: 6px; text-align: start; }
.checks li { position: relative; padding-inline-start: 30px; font-weight: 700; }
.checks li::before {
  content: '✓'; position: absolute; inset-inline-start: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; font-size: 0.8rem; font-weight: 900;
}

/* Sections */
.section { padding: 34px 0; }

/* 2. Problème */
.pain { background: #fff; }
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pain-item {
  display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 14px;
  background: var(--pink-bg); border: 1px solid var(--line); font-size: 0.95rem;
}
.pain-item span { font-size: 1.4rem; }
.pain-answer {
  margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; background: #fff;
  border: 2px dashed var(--pink-2); text-align: center; font-weight: 600;
}
.pain-answer b { color: var(--pink); }

/* 3. Étapes */
.how { background: var(--pink-bg); }
.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.steps li {
  display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 16px;
  padding: 12px 14px; box-shadow: 0 8px 24px -18px rgba(194, 24, 91, 0.5);
}
.steps b { display: block; }
.steps small { color: var(--ink-2); }
.num {
  flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 900; font-size: 1.1rem;
}

/* 4. Avantages */
.ben-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ben { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; text-align: center; }
.ben .ico { font-size: 1.7rem; margin-bottom: 4px; }
.ben b { display: block; }
.ben small { color: var(--ink-2); font-size: 0.82rem; }
.compare { margin-top: 16px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.cmp-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; font-weight: 700; }
.cmp-row s { color: #9b7d8c; white-space: nowrap; }
.cmp-row.win { background: var(--pink-bg); }
.cmp-row.win b { color: var(--pink); font-size: 1.15rem; white-space: nowrap; }

/* 5. Résultat */
.results { background: var(--pink-bg); }
.ba { display: flex; align-items: center; justify-content: center; gap: 10px; }
.ba figure { position: relative; margin: 0; width: min(170px, 40vw); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 24px -16px rgba(0,0,0,.35); }
.ba figcaption {
  position: absolute; bottom: 8px; inset-inline-start: 8px; padding: 2px 10px; border-radius: 999px;
  background: rgba(42, 15, 31, 0.7); color: #fff; font-size: 0.75rem; font-weight: 800;
}
.ba .after figcaption { background: var(--pink); }
.ba-arrow { color: var(--pink); font-size: 1.5rem; font-weight: 900; }
html[dir='rtl'] .ba-arrow { transform: scaleX(-1); }
.note { text-align: center; color: var(--ink-2); font-size: 0.85rem; margin: 14px 0 0; }

/* 6. Commande */
.order { background: linear-gradient(180deg, #fff 0%, #fff5f9 100%); }
.offers { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.offer {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 16px 14px; border-radius: 18px; border: 2px solid var(--line); background: #fff;
  text-align: start; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.offer.is-active { border-color: var(--pink); box-shadow: var(--shadow); background: #fffafd; }
.o-radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #e3b6cb; }
.offer.is-active .o-radio { border-color: var(--pink); background: radial-gradient(circle, var(--pink) 45%, transparent 50%); }
.o-body { flex: 1; display: flex; flex-direction: column; }
.o-body b { font-size: 1.1rem; }
.o-body small { color: var(--ink-2); font-size: 0.8rem; }
.o-price { text-align: end; white-space: nowrap; }
.o-price s { display: block; color: #a58a97; font-size: 0.85rem; }
.o-price b { color: var(--pink); font-size: 1.6rem; font-weight: 900; }
.o-tag {
  position: absolute; top: -11px; inset-inline-end: 14px; background: var(--grad); color: #fff;
  padding: 2px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 800;
}

.form { background: #fff; border-radius: 20px; padding: 18px; border: 1px solid var(--line); box-shadow: 0 16px 40px -28px rgba(194,24,91,.5); position: relative; }
.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 800; font-size: 0.92rem; margin-bottom: 4px; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.6px solid #f0c9da;
  background: #fffafc; font: inherit; font-size: 1rem; color: var(--ink); resize: none;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink); background: #fff; box-shadow: 0 0 0 4px rgba(233, 30, 122, .12); }
.field.has-error input, .field.has-error textarea { border-color: #e5484d; background: #fff5f5; }
.err { color: #d93036; font-size: 0.82rem; font-weight: 700; }
.err:empty { display: none; }
.hp { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; border: 0; padding: 0; }
.total {
  display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; margin: 6px 0 8px;
  border-radius: 12px; background: var(--pink-bg); border: 1px dashed var(--pink-2); font-weight: 800;
}
.total b { color: var(--pink); font-size: 1.35rem; }
.free-ship { text-align: center; font-weight: 700; font-size: 0.88rem; color: var(--green); margin-bottom: 12px; }

/* Bandeau livraison gratuite (haut du formulaire) */
.ship-banner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 12px;
  margin: -4px -4px 16px; padding: 12px 14px; border-radius: 16px;
  background: linear-gradient(135deg, #0f9d58 0%, #12a150 55%, #34c47c 100%);
  color: #fff; box-shadow: 0 12px 26px -16px rgba(18, 161, 80, 0.8);
}
.ship-banner::after { /* reflet qui passe */
  content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.ship-ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.2); font-size: 1.5rem; animation: drive 2.4s ease-in-out infinite;
}
html[dir='rtl'] .ship-ico { transform: scaleX(-1); }
@keyframes drive { 0%, 100% { translate: 0 0; } 50% { translate: 3px 0; } }
.ship-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.ship-txt b { font-size: 1.12rem; font-weight: 900; letter-spacing: 0.2px; }
.ship-txt small { font-size: 0.8rem; opacity: 0.95; font-weight: 600; }
.ship-free {
  flex: none; background: #fff; color: #0f9d58; font-weight: 900; font-size: 0.95rem;
  padding: 5px 10px; border-radius: 999px; white-space: nowrap;
}
.btn-submit { flex-direction: row; gap: 6px; font-size: 1.15rem; padding: 16px; }
.btn-submit[disabled] { opacity: .7; animation: none; }

.success { text-align: center; background: #fff; border-radius: 20px; padding: 26px 18px; border: 2px solid #bdebd0; }
.success .ok { width: 60px; height: 60px; margin: 0 auto 8px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 2rem; font-weight: 900; }
.success h3 { margin: 0 0 6px; font-size: 1.3rem; }
.success p { margin: 0; color: var(--ink-2); }

/* 7. Garanties */
.guarantees { padding: 22px 0; }
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.g { text-align: center; font-size: 0.85rem; }
.g-ico { width: 48px; height: 48px; margin: 0 auto 6px; border-radius: 50%; background: var(--pink-bg); display: grid; place-items: center; font-size: 1.4rem; border: 1px solid var(--line); }

/* 8. FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; padding: 0 14px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 13px 0; list-style: none; position: relative; padding-inline-end: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; inset-inline-end: 0; top: 10px; color: var(--pink); font-size: 1.3rem; font-weight: 900; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 13px; color: var(--ink-2); }

/* 9. Dernier appel */
.final { background: var(--pink-bg); text-align: center; }

.footer { text-align: center; padding: 22px 0 10px; color: var(--ink-2); }
.footer .brand { justify-content: center; margin-bottom: 4px; }

/* Bouton collé en bas */
.sticky {
  position: fixed; z-index: 50; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  max-width: 540px; margin: 0 auto; padding: 13px 20px; border-radius: 16px;
  background: var(--grad); color: #fff; font-weight: 900; font-size: 1.1rem; box-shadow: var(--shadow);
  transition: transform .3s, opacity .3s;
}
.sticky.is-hidden { transform: translateY(150%); opacity: 0; pointer-events: none; }

/* Français (gauche à droite) */
html[lang='fr'] body { font-family: 'Cairo', system-ui, sans-serif; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}
