@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&family=Rubik:wght@500;600;700;800;900&display=swap');

:root {
  --color-bg: #050B18;
  --color-bg-2: #0A1730;
  --color-surface: #0F1E3D;
  --color-fg: #F4F7FC;
  --color-fg-muted: #A7B3C9;
  --color-border: rgba(255,255,255,0.09);
  --color-cyan: #22D3EE;
  --color-teal: #2DD4BF;
  --color-gold: #F5B942;
  --color-gold-dark: #D99A1F;
  --color-on-gold: #1A1200;
  --color-whatsapp: #25D366;
  --color-card: #0F1E3D;

  --font-heading: 'Rubik', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;

  --radius: 14px;
  --max-width: 1140px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 5rem;

  --ease: cubic-bezier(.22,1,.36,1);
}

/* Cette page assume un thème sombre premium par défaut (identité de marque Dropstartafrique),
   quel que soit le thème système — on redéfinit seulement le strict nécessaire pour
   rester lisible si l'utilisateur force explicitement le mode clair du navigateur. */
@media (prefers-color-scheme: light) {
  :root:not([data-force-dark]) {
    --color-bg: #050B18;
    --color-bg-2: #0A1730;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 var(--space-2);
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 var(--space-2); color: var(--color-fg-muted); }
a { color: inherit; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-3); position: relative; }
.section { padding: var(--space-5) 0; position: relative; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto var(--space-4); }

.text-gradient {
  background: linear-gradient(90deg, var(--color-cyan), var(--color-teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--color-gold); color: var(--color-on-gold);
  padding: 0.75rem 1rem; border-radius: 0 0 var(--radius) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--color-cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Decorative background: grid + glowing orbs (like the ebook cover) ---------- */
.bg-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(34,211,238,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.glow-orb {
  position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; pointer-events: none;
  animation: float 9s ease-in-out infinite;
}
.glow-orb.cyan { background: radial-gradient(circle, rgba(34,211,238,0.55), transparent 70%); }
.glow-orb.gold { background: radial-gradient(circle, rgba(245,185,66,0.45), transparent 70%); animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(0, -22px); }
}

/* Rotating diamond accent, echoes the gold shapes on the ebook cover */
.diamond {
  position: absolute; width: 26px; height: 26px; z-index: 1; pointer-events: none;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  transform: rotate(45deg);
  animation: spin-slow 14s linear infinite;
  opacity: 0.85;
}
@keyframes spin-slow { to { transform: rotate(405deg); } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: 90ms; }
.reveal-delay-2.is-visible { transition-delay: 180ms; }
.reveal-delay-3.is-visible { transition-delay: 270ms; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.85rem 1.75rem;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease);
  position: relative;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-gold {
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-on-gold);
  box-shadow: 0 8px 24px rgba(245,185,66,0.25);
}
.btn-gold:hover { box-shadow: 0 12px 32px rgba(245,185,66,0.4); }

.btn-whatsapp { background: var(--color-whatsapp); color: #05210F; box-shadow: 0 8px 24px rgba(37,211,102,0.25); }
.btn-whatsapp:hover { box-shadow: 0 12px 32px rgba(37,211,102,0.4); }

.btn-outline { background: transparent; border-color: var(--color-border); color: var(--color-fg); }
.btn-outline:hover { border-color: var(--color-cyan); color: var(--color-cyan); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(5,11,24,0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-teal));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 900; color: #04121A; font-size: 1rem;
}
.brand-name { font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-tagline { display: block; font-size: 0.7rem; color: var(--color-fg-muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.nav { display: none; gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--color-fg-muted); transition: color 150ms; }
.nav a:hover { color: var(--color-cyan); }
@media (min-width: 800px) { .nav { display: flex; } }

/* Menu burger (mobile uniquement) */
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--color-border);
  background: transparent; color: var(--color-fg); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 800px) { .menu-toggle { display: none; } }

@media (max-width: 799.98px) {
  .nav.is-open {
    display: flex; flex-direction: column; gap: 0.25rem;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--color-bg-2); border-bottom: 1px solid var(--color-border);
    margin: 0; padding: var(--space-2) var(--space-3);
    box-shadow: 0 16px 32px -16px rgba(0,0,0,0.5);
  }
  .nav.is-open a { display: block; padding: 0.7rem 0.25rem; font-size: 1rem; }
}

/* ---------- Bandeau promo (bonus mis en avant en haut de page) ---------- */
.promo-bar {
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-on-gold);
}
.promo-bar .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.5rem 0.75rem; padding: 0.65rem var(--space-3); text-align: center;
  font-weight: 700; font-size: 0.88rem;
}
.promo-bar .container > span { min-width: 0; }
.promo-bar svg { width: 18px; height: 18px; flex: none; }
.promo-bar a { text-decoration: underline; text-underline-offset: 2px; }
.promo-bar a:hover { opacity: 0.85; }

/* Étiquette "BONUS" sur une couverture / carte produit */
.ribbon {
  position: absolute; top: 12px; left: -8px; z-index: 2;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-on-gold); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.03em;
  padding: 0.3rem 0.8rem 0.3rem 1rem; border-radius: 0 999px 999px 0;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* ---------- Hero ---------- */
.hero { padding: var(--space-5) 0 var(--space-4); position: relative; overflow: hidden; }
.hero .container { display: grid; gap: var(--space-4); align-items: center; z-index: 1; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1.05fr 0.95fr; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--color-cyan);
  background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.25);
  padding: 0.4rem 0.85rem; border-radius: 999px; margin-bottom: var(--space-2);
}
.eyebrow svg { width: 14px; height: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.hero-stats { display: flex; gap: var(--space-4); margin-top: var(--space-4); flex-wrap: wrap; }
.hero-stat-num { font-family: var(--font-heading); font-size: 2rem; font-weight: 900; color: var(--color-cyan); }
.hero-stat-label { font-size: 0.85rem; color: var(--color-fg-muted); font-weight: 600; }

.cover-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(34,211,238,0.08);
  transform: perspective(1000px) rotateY(-4deg) rotateX(1deg);
  transition: transform 500ms var(--ease);
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--color-surface), var(--color-bg-2));
}
.cover-frame:hover { transform: perspective(1000px) rotateY(0) rotateX(0); }
.cover-frame img { width: 100%; height: 100%; object-fit: cover; }
.cover-frame.placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: var(--space-3); color: var(--color-fg-muted); font-weight: 600;
}

/* Commercial photo frames (drop your own images at the paths noted in the README) */
.photo-frame {
  border-radius: var(--radius); border: 1px solid var(--color-border);
  aspect-ratio: 4/5; background-size: cover; background-position: center;
  background-color: var(--color-surface);
  background-image: linear-gradient(160deg, rgba(34,211,238,0.18), rgba(245,185,66,0.12));
  position: relative; overflow: hidden;
}
.photo-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,11,24,0.55), transparent 45%);
}
/* Déposez vos photos dans assets/images/ sous ces noms exacts pour qu'elles
   apparaissent automatiquement (voir README-DEPLOIEMENT.txt). Tant qu'un
   fichier est absent, le dégradé ci-dessus s'affiche seul — jamais d'icône
   d'image cassée. */
.photo-1 { background-image: linear-gradient(160deg, rgba(34,211,238,0.18), rgba(245,185,66,0.12)), url('images/entrepreneur-1.jpg'); }
.photo-2 { background-image: linear-gradient(160deg, rgba(34,211,238,0.18), rgba(245,185,66,0.12)), url('images/entrepreneur-2.jpg'); }
.photo-3 { background-image: linear-gradient(160deg, rgba(34,211,238,0.18), rgba(245,185,66,0.12)), url('images/entrepreneur-3.jpg'); }
.avatar.avatar-1 { background-image: url('images/avatar-1.jpg'); }
.avatar.avatar-2 { background-image: url('images/avatar-2.jpg'); }
.avatar.avatar-3 { background-image: url('images/avatar-3.jpg'); }

/* ---------- Trust bar ---------- */
.trust-bar { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-4); justify-content: center; font-size: 0.9rem; font-weight: 700; color: var(--color-fg-muted); }
.trust-bar span { display: flex; align-items: center; gap: 0.5rem; }
.trust-bar svg { width: 18px; height: 18px; color: var(--color-cyan); flex: none; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: var(--space-3); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: linear-gradient(160deg, var(--color-surface), var(--color-bg-2));
  border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-3);
  transition: transform 250ms var(--ease), border-color 250ms var(--ease), box-shadow 250ms var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(34,211,238,0.35); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5); }

.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card .cover-frame { aspect-ratio: 3/4; margin-bottom: var(--space-3); transform: none; }
.product-card .cover-frame:hover { transform: none; }
.product-price { margin-top: auto; padding-top: var(--space-2); display: flex; align-items: baseline; gap: 0.5rem; }

.icon-badge {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(34,211,238,0.12); color: var(--color-cyan);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-2);
}
.icon-badge svg { width: 22px; height: 22px; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--color-fg); }
.check-list svg { flex: none; width: 20px; height: 20px; color: var(--color-teal); margin-top: 2px; }

/* ---------- Testimonials ---------- */
.stars { display: flex; gap: 2px; margin-bottom: var(--space-1); color: var(--color-gold); }
.stars svg { width: 16px; height: 16px; }
.quote { font-style: italic; color: var(--color-fg); }
.testi-head { display: flex; align-items: center; gap: 0.75rem; margin-top: var(--space-2); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background-color: var(--color-cyan);
  background-image: linear-gradient(135deg, var(--color-cyan), var(--color-teal));
  background-size: cover; background-position: center;
}
.author { font-weight: 700; color: var(--color-fg); font-size: 0.9rem; }
.role { font-size: 0.82rem; color: var(--color-fg-muted); }

/* ---------- Pricing ---------- */
.price-card { max-width: 480px; margin: 0 auto; text-align: center; position: relative; overflow: hidden; }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 0.6rem; margin: var(--space-2) 0; }
.price-old { text-decoration: line-through; color: var(--color-fg-muted); font-size: 1.1rem; }
.price-new { font-family: var(--font-heading); font-size: 2.9rem; font-weight: 900; color: var(--color-fg); }
.badge-save {
  display: inline-block; background: linear-gradient(90deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-on-gold); font-size: 0.75rem; font-weight: 800; padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: var(--space-2);
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item summary {
  cursor: pointer; list-style: none; font-weight: 700; padding: var(--space-2) 0;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { transition: transform 250ms var(--ease); flex: none; width: 20px; height: 20px; color: var(--color-fg-muted); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item p { padding-bottom: var(--space-2); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--color-border); padding: var(--space-4) 0; }
.footer .container { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--color-fg-muted); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--color-cyan); }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50;
  width: 60px; height: 60px; border-radius: 999px;
  background: var(--color-whatsapp); color: #05210F;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
  text-decoration: none;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  border: 2px solid var(--color-whatsapp); animation: pulse-ring 2.2s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Cross-sell strip between the two dedicated product pages */
.cross-sell { border: 1px dashed var(--color-border); border-radius: var(--radius); padding: var(--space-3); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); }
