﻿/* ===================================================
   BOUYA PAPY — index.css
   Design system & sections principales
   =================================================== */

/* ---- Variables ---- */
:root {
  --blue:       #1A3C6E;
  --blue-mid:   #2563EB;
  --blue-light: #EEF4FF;
  --gold:       #C9A227;
  --gold-light: #FDF6E3;
  --red-soft:   #E74C3C;
  --white:      #FFFFFF;
  --gray-50:    #F5F7FA;
  --gray-100:   #E8ECF2;
  --gray-200:   #D1D8E6;
  --gray-400:   #8895AA;
  --gray-600:   #4B5675;
  --dark:       #0F1C35;
  --text:       #1C2340;
  --text-light: #5A6480;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --radius-xl:  36px;

  --shadow-sm:  0 2px 8px rgba(26,60,110,.07);
  --shadow-md:  0 6px 24px rgba(26,60,110,.12);
  --shadow-lg:  0 16px 48px rgba(26,60,110,.18);

  --transition: .25s cubic-bezier(.4,0,.2,1);
  --font:       'Inter', system-ui, -apple-system, sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section padding ---- */
.section-pad { padding: 96px 0; }
.bg-light     { background: var(--gray-50); }
.bg-dark      { background: var(--dark); }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  animation: fadeInUp .8s ease forwards;
}
.fade-in-delay {
  animation: fadeInUp .8s .25s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-mid);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
}
.btn-primary:hover {
  background: #1d51cc;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,.45);
}
.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201,162,39,.35);
}
.btn-gold:hover {
  background: #b8911f;
  transform: translateY(-2px);
}
.btn-store {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
  padding: 12px 24px;
  border-radius: var(--radius-md);
}
.btn-store:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-2px);
}
.btn-store i { font-size: 1.4rem; }
.btn-store span { display: flex; flex-direction: column; line-height: 1.2; }
.btn-store small { font-size: .7rem; font-weight: 400; opacity: .75; }
.btn-store strong { font-size: .95rem; }

/* ---- Section labels ---- */
.section-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-mid);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-tag.light {
  background: rgba(255,255,255,.15);
  color: var(--white);
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.accent       { color: var(--blue-mid); }
.accent-light { color: var(--gold); }

/* ======================================================
   NAVBAR
   ====================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  transition: color var(--transition);
}
.nav-logo-img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.navbar.scrolled .nav-logo { color: var(--dark); }
.logo-icon  { font-size: 1.3rem; color: var(--gold); }
.logo-accent { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  font-size: .9rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.navbar.scrolled .nav-links a { color: var(--gray-600); }
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,.15);
}
.navbar.scrolled .nav-links a:hover {
  color: var(--blue-mid);
  background: var(--blue-light);
}
.nav-btn-outline {
  border: 1.5px solid rgba(255,255,255,.4) !important;
  border-radius: var(--radius-sm) !important;
}
.navbar.scrolled .nav-btn-outline {
  border-color: var(--blue-mid) !important;
  color: var(--blue-mid) !important;
}
.nav-btn {
  background: var(--blue-mid) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 2px 10px rgba(37,99,235,.3);
}
.nav-btn:hover { background: #1d51cc !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--dark); }

/* ======================================================
   HERO
   ====================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, #1A3C6E 60%, #2563EB 100%);
  overflow: hidden;
  padding-top: 70px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 24px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  animation: blink 1.8s ease infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; } 50% { opacity: .3; }
}
.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero-accent { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  margin-bottom: 10px;
}
.hero-subtitle strong { color: var(--white); }
.hero-slogan {
  font-size: .95rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}
.stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.2);
}

/* ---- Phone Mockup ---- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-mockup {
  position: relative;
  width: 260px;
}
.phone-frame {
  position: relative;
  width: 260px;
  min-height: 520px;
  background: #0F1C35;
  border-radius: 40px;
  border: 6px solid #2A3F60;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05),
    var(--shadow-lg);
  overflow: hidden;
  z-index: 2;
}
.phone-notch {
  width: 100px; height: 22px;
  background: #0F1C35;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
}
.phone-screen {
  padding: 12px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: .85rem;
}
.app-logo-mini { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--gold); flex-shrink: 0; }
.app-status-bar {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}
.status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4ADE80;
  font-size: .78rem;
  font-weight: 600;
}
.pulse-dot {
  width: 7px; height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  animation: blink 1.8s ease infinite;
}
.app-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.app-card-mini {
  background: rgba(37,99,235,.2);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,.85);
  font-size: .7rem;
  text-align: center;
}
.app-card-mini i { color: var(--gold); font-size: .85rem; }
.app-signal-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, var(--red-soft), #c0392b);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
}
.app-feed { display: flex; flex-direction: column; gap: 5px; }
.feed-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  color: rgba(255,255,255,.65);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.feed-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.feed-dot.green { background: #4ADE80; }
.feed-dot.orange { background: #FB923C; }
.phone-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 280px; height: 400px;
  background: radial-gradient(ellipse, rgba(37,99,235,.35) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.phone-shadow {
  position: absolute;
  bottom: -30px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 30px;
  background: radial-gradient(ellipse, rgba(0,0,0,.35), transparent 70%);
  z-index: 0;
}

/* ---- Hero wave ---- */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; display: block; }

/* ======================================================
   ABOUT — EAB Technologie
   ====================================================== */
.about { background: var(--white); }

/* Bannière agence */
.eab-agency-banner {
  background: linear-gradient(135deg, #f0f5ff 0%, #fff 100%);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
}
.eab-logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.eab-logo-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(37,99,235,.25);
}
.eab-agency-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -.02em;
}
.eab-agency-sub {
  font-size: .85rem;
  color: var(--text-light);
  margin-top: 2px;
}
.eab-agency-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 20px;
}
.eab-agency-desc strong { color: var(--text); }
.eab-agency-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.eab-agency-tags span {
  display: flex; align-items: center; gap: 6px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}
.eab-agency-tags span i { font-size: .7rem; }

/* Photo équipe + membres */
.eab-team {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.eab-team-photo {
  width: 100%;
  max-width: 640px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 40px rgba(26,60,110,.15);
  border: 3px solid var(--gold);
}
.eab-team-members {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.eab-member {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  min-width: 170px;
}
.eab-member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-mid);
}
.eab-member-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--dark);
}
.eab-member-role {
  font-size: .8rem;
  color: var(--blue-mid);
  margin-top: 4px;
  font-weight: 500;
}
  border-radius: 50px;
  margin-bottom: 10px;
}
.eab-member-badge--gold {
  background: var(--gold-light);
  color: var(--gold);
}
.eab-member-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}
.eab-member-role {
  font-size: .85rem;
  color: var(--text-light);
}

/* compat anciennes classes about inutilisées — keep pour ne pas casser */
.about-grid, .papy-card, .papy-avatar, .papy-name, .papy-quote,
.papy-badge-verified, .section-desc, .about-values { display: revert; }
.section-desc {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.section-desc strong { color: var(--text); }

@media (max-width: 768px) {
  .eab-team-grid { grid-template-columns: 1fr; }
  .eab-agency-banner { padding: 28px 24px; }
}

/* ======================================================
   FEATURES
   ====================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* Carte héro IA — pleine largeur */
.feature-card--hero {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #0F1C35 0%, #1a2d52 100%);
  border-color: rgba(231,76,60,.35);
  box-shadow: 0 0 40px rgba(231,76,60,.1);
}
.feature-card--hero:hover {
  border-color: rgba(231,76,60,.7);
  box-shadow: 0 0 60px rgba(231,76,60,.18);
}
.feature-card-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}
.feature-card-hero-inner > div:last-child {
  flex: 1;
  min-width: 0;
}
.feature-card--hero h3 { color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.feature-card--hero p  { color: rgba(255,255,255,.65); font-size: .95rem; line-height: 1.65; }
.feature-card--hero p strong { color: #f4c842; }
.icon-red { background: rgba(231,76,60,.15); color: #e74c3c; }
.feature-card--hero .feature-icon {
  width: 64px; height: 64px;
  font-size: 1.5rem;
  flex-shrink: 0;
  animation: mic-pulse 2.2s ease-in-out infinite;
}
@keyframes mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(231,76,60,.4); }
  50%       { box-shadow: 0 0 0 12px rgba(231,76,60,.0); }
}
.feature-badge-new {
  display: inline-block;
  background: rgba(231,76,60,.2);
  border: 1px solid rgba(231,76,60,.5);
  color: #e74c3c;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.feature-ia-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.feature-ia-tags span {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
}
.feature-ia-tags span i { color: var(--gold); font-size: .7rem; }

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-mid);
}
.feature-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.icon-blue { background: var(--blue-light); color: var(--blue-mid); }
.icon-gold { background: var(--gold-light); color: var(--gold); }
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: .92rem;
  color: var(--text-light);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .feature-card-hero-inner { flex-direction: column; gap: 16px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ======================================================
   BENEFITS
   ====================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}
.benefits-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.benefit-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  color: var(--blue-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.benefit-text strong {
  font-size: .975rem;
  font-weight: 700;
  color: var(--text);
}
.benefit-text span {
  font-size: .9rem;
  color: var(--text-light);
}

/* ---- Orbit system ---- */
.orbit-system {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}
.orbit-ring {
  position: absolute;
  border: 1.5px dashed var(--gray-200);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.ring-1 { width: 200px; height: 200px; }
.ring-2 { width: 300px; height: 300px; }
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  text-align: center;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(26,60,110,.35);
  z-index: 2;
}
.orbit-center i { font-size: 1.4rem; }
.orbit-center--papy {
  background: none;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(201,162,39,.15), 0 8px 32px rgba(201,162,39,.25);
  overflow: hidden;
  padding: 0;
}
.orbit-center--papy img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.orbit-node {
  position: absolute;
  width: 44px; height: 44px;
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-mid);
  font-size: .9rem;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.node-1 { top:  10px; left: 50%; transform: translateX(-50%); }
.node-2 { top:  50%; right:  4px; transform: translateY(-50%); }
.node-3 { bottom: 10px; left: 50%; transform: translateX(-50%); }
.node-4 { top:  50%; left:  4px; transform: translateY(-50%); }

/* ======================================================
   HOW IT WORKS
   ====================================================== */
.steps-wrapper { position: relative; }
.steps-connector {
  position: absolute;
  top: 68px; left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-mid), var(--gold));
  z-index: 0;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.step-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--blue-mid), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.step-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
}
.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.step-card p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Résumé chiffres clés sous les étapes */
.how-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 48px;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.how-summary-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 32px;
  font-size: .95rem;
  color: var(--text-light);
  flex: 1;
  justify-content: center;
  min-width: 180px;
}
.how-summary-item i {
  font-size: 1.2rem;
  color: var(--blue-mid);
  flex-shrink: 0;
}
.how-summary-item strong { color: var(--text); }
.how-summary-sep {
  width: 1px;
  height: 40px;
  background: var(--gray-100);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .how-summary-sep { display: none; }
  .how-summary-item { border-bottom: 1px solid var(--gray-100); }
  .how-summary-item:last-child { border-bottom: none; }
}

/* ======================================================
   FUNDING
   ====================================================== */
.funding { background: var(--white); }
.funding-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, #1A3C6E 100%);
  border-radius: var(--radius-xl);
  padding: 60px 56px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.funding-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,162,39,.15) 0%, transparent 70%);
  pointer-events: none;
}
.funding-card h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}
.funding-card p {
  color: rgba(255,255,255,.7);
  font-size: .975rem;
  margin-bottom: 28px;
  line-height: 1.7;
}
.funding-card p strong { color: var(--gold); }
.funding-progress-wrap { margin-bottom: 32px; }
.funding-numbers {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.funding-raised {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}
.funding-goal {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.funding-bar {
  height: 10px;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.funding-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-mid), var(--gold));
  border-radius: 999px;
  transition: width 1.4s cubic-bezier(.4,0,.2,1);
}
.funding-meta {
  display: flex;
  gap: 20px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.funding-meta i { color: var(--gold); }
.coin-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.coin-display i {
  font-size: 4rem;
  color: var(--gold);
  filter: drop-shadow(0 4px 20px rgba(201,162,39,.5));
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.coin-amount {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
}
.coin-label {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ======================================================
   DOWNLOAD
   ====================================================== */
.download { background: var(--dark); text-align: center; }
.download .section-title { color: var(--white); }
.download > .container > .download-content > p.light {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  margin-bottom: 36px;
}
.download-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.download-note {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  margin-top: 8px;
}

/* ======================================================
   BUSINESS PLAN — v2 (Le Papy solo + simulateur)
   ====================================================== */
.bizplan {
  background: linear-gradient(160deg, #0a1628 0%, #0F1C35 60%, #0d1f3c 100%);
  position: relative;
  overflow: hidden;
}
.bizplan::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(201,162,39,.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(37,99,235,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Intro */
.bp-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
  color: rgba(255,255,255,.8);
}
.bp-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,39,.15);
  border: 1px solid rgba(201,162,39,.4);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.bp-intro h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.bp-intro p {
  font-size: 1.05rem;
  line-height: 1.7;
}
.bp-intro p strong { color: var(--white); }

/* How it works — 3 étapes */
.bp-how-grid {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 56px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}
.bp-how-step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}
.bp-how-arrow {
  color: rgba(201,162,39,.5);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.bp-how-num {
  font-size: .72rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.bp-how-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(201,162,39,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0 auto 14px;
  overflow: hidden;
}
.bp-how-icon--photo {
  width: 64px; height: 64px;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(201,162,39,.2);
}
.bp-how-icon--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.bp-how-step h4 { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.bp-how-step p  { color: rgba(255,255,255,.55); font-size: .88rem; line-height: 1.55; }
.bp-how-step p strong { color: var(--white); }

/* Simulateur */
.bp-simulator {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,162,39,.25);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 56px;
  box-shadow: 0 0 60px rgba(201,162,39,.06);
}
.bp-sim-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(201,162,39,.12);
  border-bottom: 1px solid rgba(201,162,39,.2);
  padding: 18px 28px;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}
.bp-sim-hint {
  margin-left: auto;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(201,162,39,.6);
  animation: hint-pulse 2s ease-in-out infinite;
}
@keyframes hint-pulse {
  0%, 100% { opacity: .5; }
  50%       { opacity: 1; }
}
.bp-sim-body { padding: 36px 32px; }

/* Slider */
.bp-slider-wrap { margin-bottom: 36px; }
.bp-slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}
.bp-invest-display {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  background: rgba(201,162,39,.1);
  border: 1px solid rgba(201,162,39,.35);
  border-radius: var(--radius-md);
  padding: 6px 20px;
  transition: color .15s;
}
.bp-slider-track-wrap {
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
}
.bp-slider-fill {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 8px;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--blue-mid), var(--gold));
  pointer-events: none;
  transition: width .05s;
  z-index: 1;
}
.bp-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 50px;
  background: rgba(255,255,255,.1);
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
  background: transparent;
}
.bp-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--dark);
  box-shadow: 0 0 0 2px var(--gold), 0 4px 12px rgba(201,162,39,.4);
  cursor: grab;
  transition: transform .15s, box-shadow .15s;
  position: relative;
  z-index: 3;
}
.bp-range::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.15); }
.bp-range::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--dark);
  box-shadow: 0 0 0 2px var(--gold);
  cursor: grab;
}
.bp-slider-cta-label {
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.25);
  margin-top: 10px;
  letter-spacing: .05em;
}

/* Résultats */
.bp-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.bp-result-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: border-color .2s;
}
.bp-result-card:hover { border-color: rgba(201,162,39,.3); }
.bp-result-icon {
  font-size: 1.1rem;
  color: rgba(255,255,255,.3);
  margin-bottom: 8px;
}
.bp-result-label {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.bp-result-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
  transition: color .2s;
}
.bp-result-value.green { color: #2ecc71; }
.bp-result-value.gold  { color: var(--gold); }
.bp-result-value.red   { color: #e74c3c; }

/* Timeline mois par mois */
.bp-timeline {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  padding: 24px;
}
.bp-timeline-title {
  display: flex; align-items: center; gap: 8px;
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  margin-bottom: 18px;
}
.bp-months-track {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 80px;
  margin-bottom: 10px;
}
.bp-month-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  min-height: 8px;
  transition: height .4s cubic-bezier(.4,0,.2,1), background .3s;
  position: relative;
  cursor: default;
}
.bp-month-bar[data-state="loss"]     { background: rgba(231,76,60,.6); }
.bp-month-bar[data-state="break"]    { background: var(--gold); box-shadow: 0 0 12px rgba(201,162,39,.5); }
.bp-month-bar[data-state="profit"]   { background: rgba(46,204,113,.7); }
.bp-month-bar .bp-bar-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: .68rem;
  color: var(--white);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
  z-index: 10;
}
.bp-month-bar:hover .bp-bar-tooltip { opacity: 1; }
.bp-month-label {
  font-size: .65rem;
  color: rgba(255,255,255,.25);
  text-align: center;
  margin-top: 4px;
}
.bp-timeline-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 14px;
}
.bp-timeline-legend span {
  display: flex; align-items: center; gap: 6px;
  font-size: .72rem;
  color: rgba(255,255,255,.35);
}
.bp-timeline-legend span::before {
  content: '';
  width: 10px; height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.leg-loss::before   { background: rgba(231,76,60,.6); }
.leg-break::before  { background: var(--gold); }
.leg-profit::before { background: rgba(46,204,113,.7); }

/* CTA block */
.bp-cta-block {
  text-align: center;
  padding: 56px 24px 24px;
}
.bp-cta-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px rgba(201,162,39,.4));
}
.bp-cta-block h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}
.bp-cta-block p {
  color: rgba(255,255,255,.5);
  font-size: 1rem;
  margin-bottom: 32px;
}
.btn-large {
  padding: 16px 48px !important;
  font-size: 1.1rem !important;
  box-shadow: 0 0 40px rgba(201,162,39,.3);
}
.bp-disclaimer {
  margin-top: 28px;
  font-size: .75rem;
  color: rgba(255,255,255,.2);
}

/* Responsive simulateur */
@media (max-width: 768px) {
  .bp-results-grid { grid-template-columns: repeat(2, 1fr); }
  .bp-how-grid { flex-direction: column; gap: 24px; }
  .bp-how-arrow { transform: rotate(90deg); }
  .bp-sim-body { padding: 24px 16px; }
}
@media (max-width: 480px) {
  .bp-results-grid { grid-template-columns: 1fr 1fr; }
  .bp-result-value { font-size: 1rem; }
}
