/* ============================================================
   PE-EDITION — style.css — VERSION PROPRE ET DEFINITIVE
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=DM+Sans:wght@300;400;500;600;700&display=swap');
@import 'design-tokens.css';

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-foreground);
  background: var(--color-background);
  line-height: var(--leading-normal);
  overflow-x: hidden; width: 100%; position: relative;
}
a   { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul  { list-style: none; }

/* ── UTILITAIRES ───────────────────────────────────────────── */
.container {
  width: 100%; max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section         { padding: var(--spacing-section) 0; overflow: hidden; }
.section-sm      { padding: var(--spacing-section-sm) 0; overflow: hidden; }
.section-surface { background: var(--color-surface); }
.section-orange  { background: var(--pe-orange-50); }
.section-rose    { background: var(--pe-rose-50); }
.section-dark    { background: var(--gradient-dark); overflow: hidden; }
.section-center  { text-align: center; margin-bottom: var(--space-10); }

/* ── INTRO GRID ─────────────────────────────────────────────── */
.intro-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-12); align-items: center;
}
.intro-stat-box {
  background: var(--pe-orange-50);
  border-radius: var(--radius-2xl);
  padding: var(--space-10); text-align: center;
}
@media (max-width: 768px) {
  .intro-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .intro-stat-box { padding: var(--space-6); }
  .intro-stat-box > div:first-child { font-size: 56px !important; }
  [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:1fr 1fr"]  { grid-template-columns: 1fr !important; }
}

/* ── BADGES ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: var(--space-1);
  padding: 4px var(--space-3); border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest); text-transform: uppercase;
  max-width: fit-content;
}
.badge-orange { background: var(--color-primary-subtle);  color: var(--color-primary); }
.badge-rose   { background: var(--color-secondary-subtle); color: var(--color-secondary); }
.badge-white  { background: rgba(255,255,255,.22); color: #fff; }
.badge-dark   { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: var(--pe-orange-400); }

/* ── TITRES SECTIONS ─────────────────────────────────────────── */
.section-eyebrow { display: block; margin-bottom: var(--space-3); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, var(--text-4xl));
  font-weight: var(--weight-bold);
  color: var(--color-foreground);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
}
.section-title-light { color: var(--color-dark-fg); }
.section-title em {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; font-style: italic;
}
.section-desc {
  font-size: var(--text-base); color: var(--color-muted);
  line-height: var(--leading-loose); max-width: 620px;
  margin-inline: auto; font-weight: var(--weight-light);
}
.section-desc-light { color: rgba(249,248,247,.5); }

/* ── BOUTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  height: 44px; padding: 0 var(--space-6);
  font-family: var(--font-body); font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-full);
  border: none; cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap; text-decoration: none; max-width: 100%;
}
.btn-primary {
  background: var(--gradient-brand); color: var(--color-primary-fg);
  box-shadow: 0 4px 15px rgba(232,98,10,.35);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(232,98,10,.45); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: rgba(255,255,255,.88);
  border: 1.5px solid rgba(255,255,255,.28);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }

/* ── FIX btn-ghost-dark ──────────────────────────────────────
   Problème : fond blanc transparent + texte blanc = invisible
   sur fonds clairs. Nouvelle version : texte foncé, bord foncé,
   fond transparent → lisible sur TOUT fond (clair ou foncé).
   ─────────────────────────────────────────────────────────── */
.btn-ghost-dark {
  background: transparent;
  color: var(--color-foreground);
  border: 1.5px solid var(--color-foreground);
}
.btn-ghost-dark:hover {
  background: var(--color-foreground);
  color: var(--color-background);
}

/* Variante spécifique pour fond sombre (section-dark, hero) */
.section-dark .btn-ghost-dark,
.hero .btn-ghost-dark,
.hero-v2 .btn-ghost-dark,
.page-hero .btn-ghost-dark,
.cta-section .btn-ghost-dark {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.4);
}
.section-dark .btn-ghost-dark:hover,
.hero .btn-ghost-dark:hover,
.hero-v2 .btn-ghost-dark:hover,
.page-hero .btn-ghost-dark:hover,
.cta-section .btn-ghost-dark:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

.btn-white {
  background: var(--color-background); color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn-lg { height: 52px; padding: 0 var(--space-10); font-size: var(--text-base); }

.btn-ghost-light {
  background: transparent;
  color: var(--color-foreground);
  border: 1.5px solid var(--color-border-strong, rgba(0,0,0,.25));
}
.btn-ghost-light:hover {
  background: var(--color-surface);
  border-color: var(--color-foreground);
}

/* ── TOPBAR ──────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 200; height: 44px;
  background: linear-gradient(90deg, #1B2D6B 0%, #C8237A 60%, #E8620A 100%);
  display: flex; align-items: center; justify-content: flex-end;
  gap: 0; padding-inline: clamp(1rem, 4vw, 2rem);
  box-shadow: 0 2px 12px rgba(0,0,0,.25); width: 100%;
}
.topbar a {
  color: rgba(255,255,255,.9); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  padding: 0 14px; height: 44px;
  display: inline-flex; align-items: center;
  border-right: 1px solid rgba(255,255,255,.18);
  transition: background .15s;
}
.topbar a:first-child { border-left: 1px solid rgba(255,255,255,.18); }
.topbar a:hover { background: rgba(255,255,255,.15); }

/* ── HEADER ──────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 44px; z-index: 199;
  background: var(--color-background);
  padding-inline: clamp(1rem, 4vw, 2rem);
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2.5px solid var(--color-primary);
  box-shadow: var(--shadow-sm); transition: box-shadow .25s ease; width: 100%;
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.12); }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 56px; width: auto; display: block; object-fit: contain; max-width: 240px; }
.logo-name {
  font-family: var(--font-display); font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  background: var(--gradient-brand); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: var(--tracking-tight); line-height: var(--leading-tight);
}
.logo-tagline { font-size: var(--text-xs); color: var(--color-muted); letter-spacing: var(--tracking-widest); text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-size: var(--text-sm); font-weight: var(--weight-medium);
  color: var(--color-foreground); padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md); white-space: nowrap;
  transition: all var(--duration-fast);
}
.nav-link:hover, .nav-link.active { color: var(--color-primary); background: var(--color-primary-subtle); }
.nav-cta { margin-left: var(--space-2); font-size: var(--text-xs) !important; }

/* ── HERO (pages secondaires) ────────────────────────────────── */
.hero {
  background: var(--gradient-dark);
  padding: var(--space-20) clamp(1rem,4vw,2rem) var(--space-16);
  display: flex; align-items: center; gap: var(--space-12);
  min-height: 560px; position: relative; overflow: hidden; width: 100%;
}
.hero-glow-1 {
  position: absolute; top: -150px; right: -100px;
  width: 550px; height: 550px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,98,10,.16) 0%, transparent 65%);
  pointer-events: none; overflow: hidden;
}
.hero-glow-2 {
  position: absolute; bottom: -100px; left: 20%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(214,61,110,.12) 0%, transparent 65%);
  pointer-events: none; overflow: hidden;
}
.hero-ring {
  position: absolute; right: 10%; top: 50%; transform: translateY(-50%);
  width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid rgba(232,98,10,.08); pointer-events: none;
}
.hero-content { flex: 1; position: relative; z-index: 1; max-width: 580px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, var(--text-6xl));
  line-height: var(--leading-tight); color: var(--color-dark-fg);
  font-weight: var(--weight-bold); letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-5);
}
.hero-sub {
  font-size: var(--text-lg); color: rgba(249,248,247,.62);
  line-height: var(--leading-loose); margin-bottom: var(--space-8);
  font-weight: var(--weight-light); max-width: 500px;
}
.hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.hero-aside   { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--space-4); }
.stat-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl); padding: var(--space-5) var(--space-6);
  text-align: center; min-width: 140px;
}
.stat-num {
  font-family: var(--font-display); font-size: var(--text-5xl);
  font-weight: var(--weight-bold); line-height: 1;
  background: var(--gradient-brand); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-lbl { font-size: var(--text-xs); color: rgba(249,248,247,.45); margin-top: var(--space-1); letter-spacing: var(--tracking-wider); }

/* ── HERO V2 (accueil) ───────────────────────────────────────── */
.hero-v2 {
  background: linear-gradient(135deg, #0f0608 0%, #1a0d05 40%, #1a0510 100%);
  position: relative; overflow: hidden; min-height: 600px;
  display: grid; grid-template-columns: 1fr 440px; width: 100%;
}
.hero-v2-left {
  padding: 5rem clamp(1rem,4vw,2rem) 5rem clamp(1rem,4vw,2rem);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}
.hero-v2-right { position: relative; overflow: hidden; align-self: stretch; }
.hero-v2-right::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 160px; height: 100%;
  background: linear-gradient(to right, #1a0d05 0%, transparent 100%);
  z-index: 2; pointer-events: none;
}
.hero-v2-right::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to top, #0f0608 0%, transparent 100%);
  z-index: 2; pointer-events: none;
}
.hero-img-glow {
  position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,98,10,.22) 0%, rgba(214,61,110,.08) 45%, transparent 68%);
  z-index: 0; pointer-events: none;
}
.hero-v2-img {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  height: 102%; width: auto; max-width: none;
  object-fit: contain; object-position: bottom center; z-index: 1;
}
.hero-badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(232,98,10,.15); border: 1px solid rgba(232,98,10,.3);
  color: #f4894a; font-size: 11px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 1.2rem; width: fit-content;
}
.hero-badge-pill::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #e8620a; animation: heroPulse 2s ease-in-out infinite;
}
@keyframes heroPulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(.7); }
}
.hero-btn-primary {
  background: linear-gradient(135deg, #e8620a, #d63d6e); color: #fff;
  padding: 14px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 24px rgba(232,98,10,.35); transition: transform .2s, box-shadow .2s; max-width: 100%;
}
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(232,98,10,.45); }
.hero-btn-secondary {
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.85);
  padding: 14px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.15); transition: background .2s, border-color .2s; max-width: 100%;
}
.hero-btn-secondary:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.hero-v2-stats {
  display: flex; gap: 0; border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; overflow: hidden; width: fit-content; max-width: 100%;
  background: rgba(255,255,255,.04); margin-top: 2rem; flex-wrap: wrap;
}
.hero-v2-stat {
  padding: 12px 18px; border-right: 1px solid rgba(255,255,255,.1); text-align: center;
}
.hero-v2-stat:last-child { border-right: none; }
.hero-v2-stat-num {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  background: linear-gradient(135deg, #e8620a, #d63d6e);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1; margin-bottom: 3px;
}
.hero-v2-stat-lbl { font-size: 9px; color: rgba(255,255,255,.4); letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.hero-v2 .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 0; }

/* ── PAGE HERO (pages secondaires) ───────────────────────────── */
.page-hero {
  background: var(--gradient-dark);
  padding: var(--space-16) clamp(1rem,4vw,2rem) var(--space-12);
  text-align: center; position: relative; overflow: hidden; width: 100%;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, var(--text-5xl));
  color: #fff; font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight); margin-bottom: var(--space-4); line-height: var(--leading-tight);
}
.page-hero-desc {
  font-size: var(--text-lg); color: rgba(249,248,247,.6);
  max-width: 580px; margin: 0 auto var(--space-6);
  font-weight: var(--weight-light); line-height: var(--leading-loose);
}

/* ── PARTNERS BAR ─────────────────────────────────────────────── */
.partners-bar { background: var(--color-background); border-bottom: 1px solid var(--color-border); padding: var(--space-5) clamp(1rem,4vw,2rem); overflow: hidden; }
.partners-inner { display: flex; align-items: center; justify-content: center; gap: var(--space-8); flex-wrap: wrap; }
.partners-label { font-size: var(--text-xs); font-weight: var(--weight-bold); color: var(--color-muted); letter-spacing: var(--tracking-widest); text-transform: uppercase; white-space: nowrap; }
.partner-logo { height: 32px; opacity: .5; filter: grayscale(100%); transition: all var(--duration-normal); display: flex; align-items: center; flex-shrink: 0; }
.partner-logo:hover { opacity: 1; filter: none; }

/* ── SERVICES STRIP ───────────────────────────────────────────── */
.services-strip { background: var(--gradient-brand); display: flex; justify-content: center; width: 100%; overflow: hidden; }
.strip-item { flex: 1; padding: var(--space-5) var(--space-4); text-align: center; border-right: 1px solid rgba(255,255,255,.18); transition: background var(--duration-fast); min-width: 0; }
.strip-item:last-child { border-right: none; }
.strip-item:hover { background: rgba(0,0,0,.1); }
.strip-ico  { font-size: 20px; margin-bottom: var(--space-1); }
.strip-name { font-size: var(--text-sm); font-weight: var(--weight-bold); color: #fff; }
.strip-sub  { font-size: var(--text-xs); color: rgba(255,255,255,.65); margin-top: 2px; }

/* ── SERVICE CARDS ────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-8); }
.svc-card { border-radius: var(--radius-2xl); overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); transition: all var(--duration-normal) var(--ease-out); }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.svc-card-header { padding: var(--space-8) var(--space-6); position: relative; overflow: hidden; }
.svc-card-header.orange { background: linear-gradient(135deg, var(--pe-orange-500), var(--pe-orange-400)); }
.svc-card-header.rose   { background: linear-gradient(135deg, var(--pe-rose-500), var(--pe-rose-300)); }
.svc-card-header.mix    { background: var(--gradient-brand); }
.svc-card-num   { font-size: 80px; font-family: var(--font-display); font-weight: var(--weight-bold); color: rgba(255,255,255,.12); position: absolute; top: -12px; right: 8px; line-height: 1; }
.svc-card-title { font-family: var(--font-display); font-size: var(--text-2xl); color: #fff; position: relative; z-index: 1; }
.svc-card-body  { padding: var(--space-6); background: var(--color-background); }
.svc-card-desc  { font-size: var(--text-sm); color: var(--color-muted); line-height: var(--leading-loose); font-weight: var(--weight-light); }
.svc-card-link  { display: inline-flex; align-items: center; gap: var(--space-1); margin-top: var(--space-4); font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--color-primary); transition: gap var(--duration-fast); }
.svc-card-link:hover { gap: var(--space-2); }
.svc-card-link.rose  { color: var(--color-secondary); }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); margin-top: var(--space-8); max-width: 880px; margin-inline: auto; }
.faq-item { background: var(--color-background); border-radius: var(--radius-lg); padding: var(--space-6); border-left: 4px solid var(--color-primary); box-shadow: var(--shadow-sm); }
.faq-item.rose { border-left-color: var(--color-secondary); }
.faq-q { font-size: var(--text-base); font-weight: var(--weight-semibold); color: var(--color-foreground); margin-bottom: var(--space-2); }
.faq-a { font-size: var(--text-sm); color: var(--color-muted); line-height: var(--leading-loose); font-weight: var(--weight-light); }

/* ── PRICING ──────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin: var(--space-8) auto 0; }
.pricing-card { border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.pricing-header { padding: var(--space-10) var(--space-8); text-align: center; min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pricing-card:first-child  .pricing-header { background: linear-gradient(135deg, #1a2e1a, #0d1f0d); }
.pricing-card:nth-child(2) .pricing-header { background: var(--gradient-brand); }
.pricing-card:last-child   .pricing-header { background: var(--gradient-brand-r); }
.pricing-zone  { font-size: var(--text-xs); color: rgba(255,255,255,.75); letter-spacing: var(--tracking-widest); text-transform: uppercase; margin-bottom: var(--space-2); }
.pricing-price { font-family: var(--font-display); font-size: clamp(40px,5vw,64px); color: #fff; line-height: 1; font-weight: var(--weight-bold); }
.pricing-fcfa  { font-size: var(--text-sm); color: rgba(255,255,255,.6); margin-top: var(--space-1); }
.pricing-body  { padding: var(--space-6) var(--space-8); background: var(--color-background); border: 1px solid var(--color-border); border-top: none; border-radius: 0 0 var(--radius-2xl) var(--radius-2xl); }
.pricing-feat  { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) 0; font-size: var(--text-sm); color: var(--color-foreground); border-bottom: 1px solid var(--color-border); }
.pricing-feat:last-child { border-bottom: none; }
.check-icon { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; background: var(--color-primary-subtle); color: var(--color-primary); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: var(--weight-bold); }
.check-icon.rose { background: var(--color-secondary-subtle); color: var(--color-secondary); }

/* ── ROYALTIES ────────────────────────────────────────────────── */
.royalties-inner { display: flex; gap: var(--space-16); align-items: center; max-width: 940px; margin: 0 auto; flex-wrap: wrap; }
.royalties-text, .royalties-visual { flex: 1; min-width: 240px; }
.royalties-big { font-family: var(--font-display); font-size: clamp(60px,10vw,96px); line-height: 1; font-weight: var(--weight-bold); background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.royalties-sublabel { font-size: var(--text-xs); color: var(--color-dark-muted); letter-spacing: var(--tracking-widest); text-transform: uppercase; margin-top: var(--space-2); margin-bottom: var(--space-6); }
.royalties-table { border-top: 1px solid rgba(255,255,255,.1); }
.royalties-row { display: flex; justify-content: space-between; padding: var(--space-3) 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: var(--text-sm); }
.royalties-row .lbl { color: var(--color-dark-muted); }
.royalties-row .val { color: var(--color-dark-fg); font-weight: var(--weight-semibold); }
.royalties-row.highlight .lbl,
.royalties-row.highlight .val { color: var(--pe-orange-400); font-weight: var(--weight-bold); font-size: var(--text-base); }

/* ── TYPES D'OUVRAGES ─────────────────────────────────────────── */
.types-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-top: var(--space-8); }
.type-card { background: var(--color-background); border-radius: var(--radius-xl); padding: var(--space-6) var(--space-4); border-bottom: 3px solid var(--color-primary); text-align: center; box-shadow: var(--shadow-sm); transition: all var(--duration-normal) var(--ease-out); }
.type-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.type-card:nth-child(even) { border-bottom-color: var(--color-secondary); }
.type-icon { font-size: 28px; margin-bottom: var(--space-2); }
.type-name { font-family: var(--font-display); font-size: var(--text-base); font-weight: var(--weight-bold); color: var(--color-foreground); margin-bottom: var(--space-2); }
.type-desc { font-size: var(--text-xs); color: var(--color-muted); line-height: var(--leading-relaxed); font-weight: var(--weight-light); }

/* ── CARTE AFRIQUE ────────────────────────────────────────────── */
.map-section-inner { display: flex; gap: var(--space-12); align-items: flex-start; flex-wrap: wrap; margin-top: var(--space-8); }
.map-svg-wrap { flex: 1; min-width: 260px; max-width: 480px; }
.map-list     { flex: 1; min-width: 240px; }
.map-list-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--weight-bold); color: var(--color-foreground); margin-bottom: var(--space-5); }
.map-pays-grid { display: flex; flex-direction: column; gap: var(--space-2); }
.map-pays-row { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-4); border-radius: var(--radius-lg); background: var(--color-surface); border-left: 3px solid var(--color-primary); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.map-pays-row:nth-child(even) { border-left-color: var(--color-secondary); }
.map-dot   { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-brand); flex-shrink: 0; }
.map-email { font-size: var(--text-xs); color: var(--color-muted); font-weight: var(--weight-normal); margin-left: auto; }

/* ── TÉMOIGNAGES ──────────────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); margin-top: var(--space-8); max-width: 860px; margin-inline: auto; }
.testi-card { background: var(--color-surface); border-radius: var(--radius-xl); padding: var(--space-8); position: relative; box-shadow: var(--shadow-sm); }
.testi-quote-mark { font-family: var(--font-display); font-size: 80px; color: var(--color-primary); opacity: .15; position: absolute; top: -4px; left: var(--space-4); line-height: 1; }
.testi-text   { font-size: var(--text-base); color: var(--color-foreground); line-height: var(--leading-loose); font-style: italic; font-weight: var(--weight-light); position: relative; z-index: 1; margin-bottom: var(--space-4); }
.testi-author { font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--color-primary); }
.testi-card:last-child .testi-author { color: var(--color-secondary); }

/* ── VALEURS ──────────────────────────────────────────────────── */
.valeurs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-top: var(--space-8); }
.valeur-card { background: var(--color-background); border-radius: var(--radius-xl); padding: var(--space-6) var(--space-4); text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: box-shadow var(--duration-normal); }
.valeur-card:hover { box-shadow: var(--shadow-md); }
.valeur-ico  { font-size: 30px; margin-bottom: var(--space-3); }
.valeur-name { font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--color-foreground); margin-bottom: var(--space-2); }
.valeur-desc { font-size: var(--text-xs); color: var(--color-muted); line-height: var(--leading-relaxed); font-weight: var(--weight-light); }

/* ── PROCESSUS ────────────────────────────────────────────────── */
.process-track { display: flex; gap: 0; margin-top: var(--space-12); position: relative; }
.process-track::before { content: ''; position: absolute; top: 31px; left: 8%; width: 84%; height: 2px; background: var(--gradient-brand); }
.process-step  { flex: 1; text-align: center; padding: 0 var(--space-2); position: relative; }
.process-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--gradient-brand); color: #fff; font-size: var(--text-xl); font-weight: var(--weight-bold); font-family: var(--font-display); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-4); position: relative; z-index: 1; box-shadow: 0 4px 16px rgba(232,98,10,.35); }
.process-name { font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--color-foreground); margin-bottom: var(--space-1); }
.process-desc { font-size: var(--text-xs); color: var(--color-muted); line-height: var(--leading-relaxed); font-weight: var(--weight-light); }

/* ── VIDÉOS ───────────────────────────────────────────────────── */
.videos-grid { display: flex; gap: var(--space-4); margin-top: var(--space-8); flex-wrap: wrap; }
.video-card { flex: 1; min-width: 200px; border-radius: var(--radius-xl); background: var(--color-dark-bg); min-height: 180px; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 2px solid transparent; position: relative; overflow: hidden; transition: border-color var(--duration-normal); }
.video-card:hover { border-color: var(--color-primary); }
.video-play { width: 56px; height: 56px; border-radius: 50%; background: var(--gradient-brand); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(232,98,10,.4); }
.video-play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.video-tag { position: absolute; bottom: var(--space-3); left: var(--space-3); background: rgba(0,0,0,.55); color: rgba(255,255,255,.8); font-size: var(--text-xs); padding: 3px var(--space-3); border-radius: var(--radius-full); }

/* ── CTA FINAL ────────────────────────────────────────────────── */
.cta-section { background: var(--gradient-brand); padding: var(--space-20) clamp(1rem,4vw,2rem); text-align: center; overflow: hidden; }
.cta-title { font-family: var(--font-display); font-size: clamp(1.75rem, 5vw, var(--text-5xl)); color: #fff; font-weight: var(--weight-bold); letter-spacing: var(--tracking-tight); margin-bottom: var(--space-4); line-height: var(--leading-tight); }
.cta-desc  { font-size: var(--text-lg); color: rgba(255,255,255,.78); margin-bottom: var(--space-8); font-weight: var(--weight-light); }

/* ── FOOTER ───────────────────────────────────────────────────── */
.site-footer { background: var(--pe-neutral-950); padding: var(--space-12) clamp(1rem,4vw,2rem) var(--space-6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-8); margin-bottom: var(--space-8); }
.footer-brand-name { font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--weight-bold); background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; margin-bottom: var(--space-3); }
.footer-about { font-size: var(--text-sm); color: rgba(255,255,255,.32); line-height: var(--leading-loose); font-weight: var(--weight-light); }
.footer-col-title { font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--color-primary); margin-bottom: var(--space-4); }
.footer-col-title.rose { color: var(--pe-rose-300); }
.site-footer a { display: block; color: rgba(255,255,255,.38); font-size: var(--text-sm); margin-bottom: var(--space-2); font-weight: var(--weight-light); transition: color var(--duration-fast); }
.site-footer a:hover { color: rgba(255,255,255,.75); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.06); margin-bottom: var(--space-4); }
.footer-bottom  { display: flex; justify-content: space-between; font-size: var(--text-xs); color: rgba(255,255,255,.2); }

/* ── FORMULAIRES ──────────────────────────────────────────────── */
.form-group   { margin-bottom: var(--space-5); }
.form-label   { display: block; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-foreground); margin-bottom: var(--space-2); }
.form-control {
  width: 100%; height: 44px; padding: 0 var(--space-4);
  font-family: var(--font-body); font-size: var(--text-sm);
  color: var(--color-foreground); background: var(--color-background);
  border: 1.5px solid var(--color-border); border-radius: var(--radius-lg);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  outline: none; box-sizing: border-box;
}
.form-control:hover { border-color: var(--color-border-strong); }
.form-control:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(232,98,10,.12); }
textarea.form-control { height: auto; padding: var(--space-3) var(--space-4); resize: vertical; }
select.form-control   { cursor: pointer; }
.form-helper { font-size: var(--text-xs); color: var(--color-muted); margin-top: var(--space-1); }
.form-error  { font-size: var(--text-xs); color: #dc2626; margin-top: var(--space-1); }

/* ── ALERTES ──────────────────────────────────────────────────── */
.alert         { padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); margin-bottom: var(--space-5); font-size: var(--text-sm); }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ── BOUTIQUE — grille 5 colonnes + forme livre ───────────────── */
.books-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem; margin-top: var(--space-8);
}
.book-card {
  border-radius: 0 10px 10px 0; border: none; overflow: hidden;
  background: var(--color-background); position: relative;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  box-shadow: -5px 3px 10px rgba(0,0,0,.15), 2px 4px 16px rgba(0,0,0,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.book-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 9px;
  background: linear-gradient(to right, rgba(0,0,0,.2) 0%, rgba(0,0,0,.06) 60%, transparent 100%);
  z-index: 2; pointer-events: none;
}
.book-card::after {
  content: ''; position: absolute; right: -4px; top: 3px; bottom: 3px; width: 4px;
  background: repeating-linear-gradient(to bottom, #f0ebe5 0px, #f0ebe5 2px, #ddd7d0 2px, #ddd7d0 3px);
  border-radius: 0 2px 2px 0; z-index: 1;
}
.book-card:hover { transform: perspective(700px) rotateY(-5deg) translateX(4px); box-shadow: -10px 6px 24px rgba(0,0,0,.22), 4px 4px 16px rgba(0,0,0,.1); }
.book-cover { width: 100%; aspect-ratio: 2/3; object-fit: cover; object-position: top center; display: block; }
div.book-cover { display: flex; align-items: center; justify-content: center; background: var(--pe-orange-50); font-size: 3rem; }
.book-body   { padding: .75rem 1rem 1rem; border-top: 3px solid var(--color-primary); flex: 1; display: flex; flex-direction: column; }
.book-title  { font-family: var(--font-display); font-size: .82rem; font-weight: var(--weight-bold); color: var(--color-foreground); margin-bottom: .2rem; line-height: 1.3; }
.book-author { font-size: .72rem; color: var(--color-muted); margin-bottom: .5rem; }
.book-type   { display: inline-block; font-size: .65rem; font-weight: var(--weight-bold); letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--color-primary); background: var(--color-primary-subtle); padding: 2px var(--space-2); border-radius: var(--radius-full); margin-bottom: .5rem; }
.book-footer { display: flex; align-items: center; justify-content: space-between; padding-top: .5rem; border-top: 1px solid var(--color-border); margin-top: auto; }
.book-price  { font-family: var(--font-display); font-size: .9rem; font-weight: var(--weight-bold); color: var(--color-primary); }
.book-amazon { font-size: .62rem; font-weight: var(--weight-bold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: #FF9900; }

/* ── ADMIN ────────────────────────────────────────────────────── */
.admin-header  { background: var(--color-dark-bg); padding: var(--space-4) var(--space-8); display: flex; align-items: center; justify-content: space-between; }
.admin-nav a   { color: rgba(255,255,255,.6); font-size: var(--text-sm); padding: var(--space-2) var(--space-4); border-radius: var(--radius-md); transition: all var(--duration-fast); }
.admin-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-content { max-width: 1100px; margin: var(--space-8) auto; padding: 0 var(--space-8); }
.admin-title   { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: var(--weight-bold); color: var(--color-foreground); margin-bottom: var(--space-6); }

/* ── RESPONSIVE ───────────────────────────────────────────────── */

/* 1280px */
@media (max-width: 1280px) {
  .books-grid { grid-template-columns: repeat(4, 1fr); }
}

/* 1024px — tablette */
@media (max-width: 1024px) {
  .books-grid     { grid-template-columns: repeat(3, 1fr); }
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .types-grid     { grid-template-columns: repeat(2, 1fr); }
  .valeurs-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .pricing-grid   { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .map-section-inner { flex-direction: column; align-items: center; }
  .map-svg-wrap   { max-width: 360px; width: 100%; }
  .map-list       { width: 100%; }
  .map-pays-grid  { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .map-email      { display: none; }
}

/* 900px — hero v2 mobile */
@media (max-width: 900px) {
  .hero-v2 { display: flex !important; flex-direction: column; min-height: auto; }
  .hero-v2-right { order: 1; width: 100%; height: 260px; min-height: 260px; overflow: hidden; flex-shrink: 0; }
  .hero-v2-right::before { display: none; }
  .hero-v2-img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 100%; width: auto; }
  .hero-img-glow { display: none; }
  .hero-v2-left { order: 2; width: 100%; padding: 2rem 1.25rem !important; text-align: center; }
  .hero-v2-stats { flex-direction: row !important; flex-wrap: wrap; justify-content: center; gap: 8px; width: fit-content; margin-inline: auto; }
  .hero-v2-stat      { flex: 1; min-width: 80px; }
  .hero-v2-stat-num  { font-size: 1.3rem; }
  .hero-v2 .hero-actions { flex-direction: column; gap: .75rem; align-items: stretch; }
  .hero-btn-primary, .hero-btn-secondary { width: 100%; justify-content: center; }
  .hero { flex-direction: column; min-height: auto; padding: 2.5rem 1.25rem 2rem; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-aside   { flex-direction: row !important; justify-content: center; flex-wrap: wrap; gap: .75rem; }
  .stat-card    { flex: 1; min-width: 90px; max-width: 130px; padding: .75rem; }
  .stat-num     { font-size: 1.75rem; }
  .hero-ring, .hero-glow-1, .hero-glow-2 { display: none; }
  .hero-actions { justify-content: center; }
}

/* 768px — mobile */
@media (max-width: 768px) {
  .topbar      { height: 40px; }
  .site-header { top: 40px; height: 60px; padding-inline: 1.25rem; }
  .logo img    { height: 50px; }
  .logo-name   { font-size: 1.25rem; }
  .logo-tagline { display: none; }
  .section   { padding: 2.5rem 0; }
  .page-hero { padding: 2.5rem 1.25rem 2rem; }
  .page-hero-title { font-size: clamp(1.6rem, 6vw, 2.5rem); }
  .partners-inner { gap: 1rem; justify-content: center; }
  .partners-label { width: 100%; text-align: center; }
  .partner-logo   { height: 22px; }
  .services-strip { display: grid !important; grid-template-columns: repeat(3, 1fr); }
  .strip-item     { min-width: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .strip-item:nth-child(3) { border-right: none; }
  .strip-item:nth-child(4), .strip-item:nth-child(5) { border-bottom: none; }
  .strip-ico  { font-size: 15px; }
  .strip-name { font-size: 10px; }
  .strip-sub  { font-size: 9px; }
  .services-grid { grid-template-columns: 1fr; }
  .faq-grid      { grid-template-columns: 1fr; }
  .testi-grid    { grid-template-columns: 1fr; }
  .types-grid    { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .valeurs-grid  { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .books-grid    { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .process-track { flex-direction: column; align-items: center; gap: 1.5rem; }
  .process-track::before { display: none; }
  .process-step  { width: 100%; max-width: 280px; }
  .royalties-inner { flex-direction: column; gap: 2rem; }
  .map-section-inner { flex-direction: column; align-items: center; }
  .map-svg-wrap  { width: 100%; max-width: 320px; }
  .map-list      { width: 100%; }
  .map-pays-grid { grid-template-columns: 1fr; }
  .map-email     { display: none; }
  .footer-grid   { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .book-title  { font-size: .75rem !important; }
  .book-author { font-size: .65rem !important; }
  .book-price  { font-size: .8rem !important; }
  .book-body   { padding: .5rem .6rem .6rem !important; }
  .book-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
  .book-card::after { display: none; }
  input, select, textarea { font-size: 16px !important; }
  .admin-content { padding: 0 1.25rem; }
  .admin-header  { padding: .75rem 1.25rem; }
}

/* 600px — topbar disparaît */
@media (max-width: 600px) {
  .topbar      { display: none; }
  .site-header { top: 0; }
}

/* 480px — petit mobile */
@media (max-width: 480px) {
  .section-title   { font-size: 1.35rem; }
  .page-hero-title { font-size: 1.5rem; }
  .cta-title       { font-size: 1.35rem; }
  .types-grid   { grid-template-columns: 1fr; }
  .valeurs-grid { grid-template-columns: 1fr; }
  .books-grid   { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .services-strip { grid-template-columns: repeat(2, 1fr) !important; }
  .strip-item:nth-child(2n) { border-right: none; }
  .strip-item:nth-child(3)  { border-right: 1px solid rgba(255,255,255,.15); }
  .strip-item:last-child    { grid-column: span 2; border-right: none; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: .5rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .pricing-header { padding: 2rem 1.25rem; }
  .pricing-body   { padding: 1.25rem; }
}

/* 360px */
@media (max-width: 360px) {
  .site-header { height: 54px; }
  .logo img    { height: 34px; }
}
