/* ============================================
   AutomationBoost - Style Principal
   Palette : Cyberpunk Noir/Or
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* LIGHT theme (default) — inspiré de buildyoursaas : fond clair, typo Sora,
   jaune + orange Claude + violet en accents. Bascule vers black via
   :root[data-theme="dark"]. */
:root {
  --bg-dark:     #ffffff;
  --bg-card:     #ffffff;
  --bg-card-2:   #f8fafb;
  --border:      #e8ecef;
  --gold:        #eab308;
  --gold-dark:   #ca8a04;
  --gold-glow:   rgba(234, 179, 8, 0.14);
  --gold-glow2:  rgba(234, 179, 8, 0.35);
  --orange:      #d97757;
  --orange-dark: #c25f3f;
  --violet:      #8b5cf6;
  --violet-dark: #7c3aed;
  --text:        #0c0c0c;
  --text-muted:  #6b7280;
  --text-light:  #3f3f46;
  --red:         #ef4444;
  --green:       #10b981;
  --radius:      12px;
  --radius-lg:   18px;
  --shadow-gold: 0 8px 30px rgba(234,179,8,0.18);
  --shadow-soft: 0 2px 14px rgba(16,24,40,0.06);
  --grid-line:   rgba(12,12,12,0.035);
  --scan:        rgba(12,12,12,0.012);
  --nav-bg:      rgba(255,255,255,0.82);
  --nav-bg-scr:  rgba(255,255,255,0.95);
  --nav-shadow:  0 8px 30px rgba(16,24,40,0.10);
  --on-gold:     #1a1200;
}
:root[data-theme="dark"] {
  --bg-dark:     #0a0a0f;
  --bg-card:     #111117;
  --bg-card-2:   #16161d;
  --border:      #232330;
  --gold-glow:   rgba(234, 179, 8, 0.15);
  --gold-glow2:  rgba(234, 179, 8, 0.4);
  --text:        #e4e4e7;
  --text-muted:  #8b8b98;
  --text-light:  #b4b4c0;
  --green:       #22c55e;
  --shadow-gold: 0 0 30px rgba(234,179,8,0.3), 0 0 60px rgba(234,179,8,0.1);
  --shadow-soft: 0 10px 34px rgba(0,0,0,0.5);
  --grid-line:   rgba(234,179,8,0.03);
  --scan:        rgba(0,0,0,0.04);
  --nav-bg:      rgba(10,10,15,0.88);
  --nav-bg-scr:  rgba(6,6,10,0.96);
  --nav-shadow:  0 12px 40px rgba(0,0,0,0.6);
  --on-gold:     #000;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-dark);
  color: var(--text);
  font-family: 'Inter', 'Sora', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grille cyberpunk en arrière-plan */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Effet scanlines */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    var(--scan) 2px,
    var(--scan) 4px
  );
  pointer-events: none;
  z-index: 0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; }

p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
}

.section-subtitle, .hero-subtitle, .lede {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75;
  font-weight: 400;
  color: var(--text-light);
}

.gold { color: var(--gold); }
.highlight { color: var(--gold); font-weight: 700; }

/* One-time "shine sweep" reveal, triggered by JS (gsap-motion.js) when a
   .section-title scrolls into view — a subtle cinematic highlight rather
   than a distracting always-on shimmer. */
.gold-shine {
  background-image: linear-gradient(100deg, var(--gold) 40%, #fff8dc 50%, var(--gold) 60%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gold-shine-sweep 1.4s ease forwards;
}
@keyframes gold-shine-sweep {
  to { background-position: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .gold-shine { animation: none; background: none; color: var(--gold); }
}

/* --- LAYOUT --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section { padding: 80px 0; }

/* --- NAVBAR FLOATING PILL (21st.dev) --- */
nav {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 1000;
  width: auto;
  max-width: calc(100% - 32px);
  /* translate rather than `top`: `top` is a layout property, and the pill also
     carries the -50% centring, so both live on the same transform. */
  transform: translateX(-50%) translateY(0);
  transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

/* The rule above matches the <nav> element, not just the navbar, so every other
   <nav> on the page inherits fixed positioning: the mobile menu body dropped out
   of flow (collapsing its opaque panel to 0 height, leaving the links floating
   unreadable over the page) and the landing footer links flew to the top.
   humian.html still relies on a bare <nav> as its navbar, so keep this as a reset
   rather than scoping the rule to #navbar. */
.mobile-menu-inner,
.lp-footer-links {
  position: static;
  transform: none;
  width: auto;
  max-width: none;
  z-index: auto;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(234,179,8,0.28);
  border-radius: 100px;
  padding: 7px 10px 7px 14px;
  box-shadow:
    var(--nav-shadow),
    0 0 0 1px rgba(234,179,8,0.05);
  /* `.scrolled` toggles on every scroll past 50px, so this is the highest-frequency
     transition on the site — list the properties instead of animating `all`. */
  transition:
    border-color 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    background-color 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

nav.scrolled .nav-pill {
  border-color: rgba(234,179,8,0.35);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.6),
    0 0 24px rgba(234,179,8,0.1),
    inset 0 1px 0 rgba(255,255,255,0.05);
  background: var(--nav-bg-scr);
}

/* Theme toggle button (injected by theme.js into the nav pill) */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 15px; line-height: 1;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  flex: 0 0 auto;
}
.theme-toggle:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
  transform: translateY(-1px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 15px rgba(234,179,8,0.4);
}

.logo-text {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.logo-text span { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: #000;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 9px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  text-transform: uppercase;
  /* Libellé sur une seule ligne : sinon il casse en deux et déborde de la pilule. */
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: #fff;
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* Nav desktop links */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 6px;
}

/* Animated slide link (21st.dev Mini Navbar pattern) */
.nav-link-slide {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  height: 20px;
  align-items: center;
  padding: 0 10px;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s ease;
  border-radius: 6px;
}
.nav-link-slide span {
  display: block;
  white-space: nowrap;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  line-height: 20px;
}
.nav-link-slide span:last-child {
  position: absolute;
  left: 10px;
  top: 100%;
  color: var(--gold);
  font-weight: 500;
}
.nav-link-slide:hover span { transform: translateY(-100%); }
.nav-link-slide:hover { color: var(--gold); }

.nav-formation {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--gold);
  background: rgba(234,179,8,0.08);
  border: 1px solid rgba(234,179,8,0.22);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  margin-left: 4px;
}
.nav-formation:hover {
  background: rgba(234,179,8,0.15);
  border-color: rgba(234,179,8,0.4);
}

/* --- HERO --- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}

/* Canvas particles 21st.dev */
#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero-glow {
  position: absolute;
  top: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1150px, 125vw);
  height: 820px;
  background:
    radial-gradient(closest-side, rgba(234,179,8,0.18), transparent 72%) 28% 26% / 62% 60% no-repeat,
    radial-gradient(closest-side, rgba(217,119,87,0.15), transparent 72%) 74% 38% / 56% 56% no-repeat,
    radial-gradient(closest-side, rgba(139,92,246,0.13), transparent 72%) 50% 74% / 58% 56% no-repeat;
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}
:root[data-theme="dark"] .hero-glow {
  background:
    radial-gradient(closest-side, rgba(234,179,8,0.22), transparent 72%) 28% 26% / 62% 60% no-repeat,
    radial-gradient(closest-side, rgba(217,119,87,0.16), transparent 72%) 74% 38% / 56% 56% no-repeat,
    radial-gradient(closest-side, rgba(139,92,246,0.18), transparent 72%) 50% 74% / 58% 56% no-repeat;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234,179,8,0.1);
  border: 1px solid rgba(234,179,8,0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  /* No pulse: a gold dot already reads as "active". A looping scale/opacity on a
     status indicator draws the eye repeatedly without carrying new information. */
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title .line-1,
.hero-title .line-2,
.hero-title .line-3 {
  display: block;
  color: var(--text);
}

.hero-title .line-4 {
  display: block;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(234,179,8,0.4);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 56px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 34px;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(234,179,8,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(234,179,8,0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
/* Accents variés (jaune / orange Claude / violet) sur les stats du hero */
.hero-stats .stat-item:nth-child(2) .stat-number { color: var(--orange); }
.hero-stats .stat-item:nth-child(3) .stat-number { color: var(--violet); }

/* Rythme des sections : alternance surface claire / blanc (thème-aware) */
#problem, #how-it-works, #testimonials, #faq { background: var(--bg-card-2); }
#problem, #how-it-works, #testimonials, #faq,
#features, #demo, #urgency, #pricing, #final-cta { position: relative; z-index: 1; }

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Dashboard mockup */
.hero-visual {
  position: relative;
  z-index: 1;
}

.dashboard-mockup {
  /* Always a dark "app screenshot", even on the light theme — scope dark
     tokens so all children read on the dark surface. */
  --bg-card: #111117; --bg-card-2: #16161d; --border: #232330;
  --text: #e4e4e7; --text-light: #b4b4c0; --text-muted: #8b8b98;
  background: #0d0d13;
  color: #e4e4e7;
  border: 1px solid rgba(234,179,8,0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(16,24,40,0.28), 0 0 0 1px rgba(234,179,8,0.06);
}

/* Ambient drift is decorative and vestibular-triggering, so it is opt-in:
   the animation only exists when the user has not asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .dashboard-mockup { animation: float 6s ease-in-out infinite; }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
}

.mockup-bar {
  background: var(--bg-card-2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.mockup-content {
  padding: 20px;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mockup-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--green);
}

.status-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  /* Static green dot — see .hero-badge::before for why the pulse was dropped. */
}

.mockup-platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.platform-chip {
  background: rgba(234,179,8,0.08);
  border: 1px solid rgba(234,179,8,0.15);
  border-radius: var(--radius);
  padding: 10px 8px;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 600;
}

.platform-chip .icon {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.mockup-post-preview {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 12px;
}

.post-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-text {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
}

.post-text .tag { color: var(--gold); }

.mockup-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.metric-box {
  background: rgba(234,179,8,0.05);
  border: 1px solid rgba(234,179,8,0.1);
  border-radius: var(--radius);
  padding: 10px;
  text-align: center;
}

.metric-value {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}

.metric-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* --- SECTION TITLE --- */
.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-title { margin-bottom: 16px; }
.section-desc {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 60px;
  text-align: center;
}
.text-center { text-align: center; }

/* --- PROBLEM SECTION --- */
#problem {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #080808 100%);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.problem-card:hover::before { opacity: 1; }
.problem-card:hover { border-color: rgba(239,68,68,0.2); transform: translateY(-3px); }

.problem-icon {
  width: 52px;
  height: 52px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #ef4444;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.problem-card:hover .problem-icon {
  background: rgba(239,68,68,0.13);
  border-color: rgba(239,68,68,0.35);
  box-shadow: 0 0 16px rgba(239,68,68,0.15);
}

.problem-card h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.solution-arrow {
  text-align: center;
  font-size: 2.5rem;
  color: var(--gold);
  margin: 40px 0;
}

/* One nudge when the arrow scrolls into view (`.is-in` is added by main.js),
   instead of bouncing forever. A gesture that repeats stops being a gesture. */
@media (prefers-reduced-motion: no-preference) {
  .solution-arrow.is-in { animation: bounce 1.6s ease-in-out 2; }

  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
  }
}

/* --- FEATURES --- */
#features {
  background: #080808;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--gold-glow) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(234,179,8,0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(234,179,8,0.1);
}

.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, rgba(234,179,8,0.12), rgba(234,179,8,0.04));
  border: 1px solid rgba(234,179,8,0.22);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  color: var(--gold);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(234,179,8,0.2), rgba(234,179,8,0.08));
  border-color: rgba(234,179,8,0.45);
  box-shadow: 0 0 20px rgba(234,179,8,0.2);
}

.feature-card h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* --- HOW IT WORKS --- */
#how-it-works {
  background: linear-gradient(180deg, #080808 0%, var(--bg-dark) 100%);
}

.steps-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.steps-line {
  position: absolute;
  left: 28px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(234,179,8,0.1) 100%);
}

.step-item {
  display: flex;
  gap: 28px;
  margin-bottom: 40px;
  align-items: flex-start;
  position: relative;
}

.step-number {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: #000;
  box-shadow: 0 0 20px rgba(234,179,8,0.4);
  position: relative;
  z-index: 1;
}

.step-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  flex: 1;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.step-content:hover {
  border-color: rgba(234,179,8,0.25);
  box-shadow: 0 4px 20px rgba(234,179,8,0.08);
}

.step-content h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 8px;
}

.step-content p { font-size: 0.95rem; }

/* --- DEMO VISUAL --- */
#demo {
  background: #080808;
  padding: 80px 0;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.demo-text .section-label { display: block; margin-bottom: 12px; }

.demo-text h2 { margin-bottom: 20px; }
.demo-text p { margin-bottom: 20px; }

.demo-list {
  list-style: none;
  margin-bottom: 32px;
}

.demo-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-light);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.demo-list li:last-child { border-bottom: none; }

.demo-list .check {
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.demo-screen {
  background: var(--bg-card);
  border: 1px solid rgba(234,179,8,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}

.screen-header {
  background: var(--bg-card-2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.screen-body { padding: 20px; }

.queue-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.queue-item:hover {
  border-color: rgba(234,179,8,0.2);
  background: rgba(234,179,8,0.03);
}

.qi-platform {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  background: rgba(234,179,8,0.08);
  border: 1px solid rgba(234,179,8,0.15);
  border-radius: 6px;
}

.qi-content { flex: 1; }

.qi-title {
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 2px;
}

.qi-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.qi-status {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

.status-done { background: rgba(34,197,94,0.1); color: var(--green); }
.status-sched { background: rgba(234,179,8,0.1); color: var(--gold); }
.status-draft { background: rgba(255,255,255,0.05); color: var(--text-muted); }

/* --- TESTIMONIALS --- */
#testimonials {
  background: var(--bg-dark);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
  position: relative;
}

.testi-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 24px;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.testi-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), var(--gold-glow) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.testi-card:hover {
  border-color: rgba(234,179,8,0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(234,179,8,0.08);
}

.testi-card:hover::after { opacity: 1; }

.stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 14px;
}

.testi-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #000;
}

.author-name {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testi-result {
  display: inline-block;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- PRICING --- */
#pricing {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #080808 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), var(--gold-glow) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.pricing-card:hover::after { opacity: 1; }

.pricing-card.featured {
  border-color: rgba(234,179,8,0.5);
  box-shadow: var(--shadow-gold);
  transform: scale(1.03);
}

.pricing-card.featured:hover { transform: scale(1.05); }
.pricing-card:not(.featured):hover { transform: translateY(-4px); }

.badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.plan-name {
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.plan-price {
  margin-bottom: 8px;
}

/* Remplace l'affichage du prix : baseline de valeur, pas de montant */
.plan-tagline {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text-light);
  margin-bottom: 26px;
  min-height: 44px;
}
.pricing-card.featured .plan-tagline { color: var(--text); }

.price-amount {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--text);
}

.pricing-card.featured .price-amount { color: var(--gold); }

.price-currency {
  font-size: 1.4rem;
  vertical-align: super;
  color: var(--text-muted);
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-light);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.plan-features li .check { color: var(--gold); }
.plan-features li .x { color: var(--text-muted); }

/* --- URGENCY --- */
#urgency {
  background: #080808;
  padding: 60px 0;
}

.urgency-box {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(234,179,8,0.06) 0%, rgba(234,179,8,0.02) 100%);
  border: 1px solid rgba(234,179,8,0.3);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}

.urgency-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.urgency-box h2 { margin-bottom: 16px; }
.urgency-box p { margin-bottom: 32px; }

.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 36px;
}

.cd-item {
  text-align: center;
}

.cd-number {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
  background: rgba(234,179,8,0.1);
  border: 1px solid rgba(234,179,8,0.2);
  border-radius: var(--radius);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
  display: block;
}

.spots-bar {
  max-width: 400px;
  margin: 0 auto 32px;
}

.spots-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.spots-text span:last-child { color: var(--red); font-weight: 700; }

.progress-bar {
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--red));
  border-radius: 100px;
  /* scaleX composites; width relayouts the track every frame. 1s also meant the
     bar always showed a stale value — 400ms tracks the state closely enough. */
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- FAQ --- */
#faq {
  background: var(--bg-dark);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}

.faq-question:hover { color: var(--gold); }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(234,179,8,0.1);
  border: 1px solid rgba(234,179,8,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(234,179,8,0.2); }

/* grid-template-rows interpolates the CONTENT's real height, so the easing curve
   matches the movement you actually see. `max-height` had to overshoot the real
   height, which made the open feel fast-then-slow and capped answers at 300px. */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer > * { overflow: hidden; }

.faq-item.open .faq-answer { grid-template-rows: 1fr; }

.faq-answer p {
  padding: 0 0 20px;
  font-size: 0.97rem;
  line-height: 1.7;
}

/* --- FINAL CTA --- */
#final-cta {
  background: #080808;
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

#final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(234,179,8,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-box h2 { margin-bottom: 20px; }
.cta-box p { font-size: 1.1rem; margin-bottom: 40px; }

.cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cta-guarantee .shield { color: var(--gold); font-size: 1.2rem; }

/* --- FOOTER --- */
footer {
  background: #030303;
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-heading {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  /* Le dimensionnement mobile du .nav-cta est en fin de fichier : il doit passer
     après le bloc néon (~l.2060) qui redéfinit padding/font-size sans media query. */
  .nav-formation { font-size: 12px !important; padding: 5px 10px !important; }

  section { padding: 60px 0; }

  .hero-stats { gap: 24px; }

  .demo-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  .countdown { gap: 12px; }
  .cd-number { width: 56px; height: 56px; font-size: 1.8rem; }

  .urgency-box { padding: 32px 20px; }

  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-4px); }

  .steps-line { display: none; }
  .step-item { flex-direction: column; }
  .step-number { width: 44px; height: 44px; font-size: 0.9rem; }
}

@media (max-width: 640px) {
  .hero-cta-group { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  /* Navbar : réduire les liens restants sur très petit écran */
  .nav-inner { padding: 0 14px; gap: 8px; }
  .logo-text { font-size: 14px; }
  .logo-icon { width: 30px; height: 30px; font-size: 15px; }
  .nav-inner > div a { font-size: 12px; padding: 4px 8px; }
  .nav-formation { font-size: 11px !important; padding: 4px 8px !important; }
}

@media (max-width: 360px) {
  .nav-formation { display: none; }
}

/* ===== RESPONSIVE MOBILE — GRILLES, SLIDERS & SECTIONS ===== */
@media (max-width: 640px) {

  /* Hero : masquer le mockup + supprimer min-height 100vh */
  .hero-visual { display: none; }
  #hero { min-height: unset !important; padding: 90px 0 40px !important; }

  /* Sections : padding réduit */
  section { padding: 44px 0 !important; }
  /* Pages ressources/article : garder assez d'espace en haut pour ne pas
     passer sous la nav pill flottante (fixed) sur mobile. */
  section.res-page { padding-top: 88px !important; }

  /* Marges section-desc et grilles trop généreux */
  .section-desc { margin-bottom: 24px !important; font-size: 0.9rem !important; }
  .problem-grid { margin-bottom: 20px !important; }
  .solution-arrow { margin: 16px 0 !important; font-size: 1.6rem !important; }
  .problem-icon { font-size: 1.4rem !important; margin-bottom: 8px !important; }

  /* Problem : 2 colonnes */
  .problem-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .problem-card { padding: 14px 10px; }
  .problem-card h3 { font-size: 0.82rem; }
  .problem-card p { font-size: 0.76rem; }

  /* ── FEATURES SLIDER ── */
  .features-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 4px 20px 20px;
    margin: 0 -24px;
    scrollbar-width: none;
  }
  .features-grid::-webkit-scrollbar { display: none; }
  .feature-card {
    flex: 0 0 78vw;
    max-width: 78vw;
    min-width: 0;
    scroll-snap-align: start;
    padding: 20px 16px;
  }
  .feature-card h3 { font-size: 0.9rem; }
  .feature-card p { font-size: 0.8rem; }

  /* ── TESTIMONIALS SLIDER ── */
  .testi-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 4px 20px 20px;
    margin: 0 -24px;
    scrollbar-width: none;
  }
  .testi-grid::-webkit-scrollbar { display: none; }
  .testi-card {
    flex: 0 0 84vw;
    max-width: 84vw;
    min-width: 0;
    scroll-snap-align: start;
    padding: 20px 16px;
  }

  /* ── PRICING SLIDER ── */
  .pricing-grid {
    display: flex !important;
    grid-template-columns: unset !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 4px 20px 20px;
    margin: 0 -24px;
    scrollbar-width: none;
  }
  .pricing-grid::-webkit-scrollbar { display: none; }
  .pricing-card {
    flex: 0 0 82vw !important;
    max-width: 82vw;
    min-width: 0;
    scroll-snap-align: start;
    padding: 24px 18px;
    transform: none !important;
  }
  .pricing-card.featured { transform: none !important; }

  /* Indicateur swipe sous les sliders */
  #features .section-header::after,
  #testimonials .section-header::after,
  #pricing .section-header::after {
    content: '← glisse →';
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    margin-top: 6px;
    text-align: center;
  }

  /* ── STEPS COMPACTS ── */
  .steps-container { gap: 8px; }
  .step-item {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
  }
  .step-number { width: 36px !important; height: 36px !important; font-size: 0.78rem !important; flex-shrink: 0; }
  .step-content { padding: 12px 14px; }
  .step-content h3 { font-size: 0.9rem; margin-bottom: 4px; }
  .step-content p { font-size: 0.78rem; }

  /* ── DEMO COMPACT ── */
  .demo-grid { gap: 20px !important; }
  .demo-screen { max-height: 300px; overflow: hidden; }
  .demo-screen::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(transparent, #080808);
    pointer-events: none;
  }
  .demo-screen { position: relative; }

  /* ── AUTRES ── */
  .urgency-box, .final-cta-box { padding: 32px 18px; }
  .footer-inner { gap: 20px; }
  .hero-cta-group { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}

/* --- HAMBURGER MENU MOBILE --- */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: rgba(234,179,8,0.08);
  border: 1px solid rgba(234,179,8,0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(234,179,8,0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  /* Fade + slide vertical — état fermé */
  visibility: hidden;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.28s ease,
              transform 0.28s cubic-bezier(0.4,0,0.2,1),
              visibility 0s linear 0.28s;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s ease,
              transform 0.28s cubic-bezier(0.4,0,0.2,1),
              visibility 0s linear 0s;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 16px 20px 24px;
  gap: 2px;
}
.mob-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  color: var(--text-light);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}
.mob-link:hover, .mob-link:active {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border-color: rgba(255,255,255,0.07);
}
.mob-link--gold {
  color: var(--gold);
  background: rgba(234,179,8,0.07);
  border-color: rgba(234,179,8,0.15);
  font-weight: 600;
}
.mob-link--gold:hover { background: rgba(234,179,8,0.14); }

/* Séparateur entre liens */
.mob-link + .mob-link { border-top: none; }

@media (max-width: 768px) {
  .nav-burger { display: flex; }
  .nav-desktop { display: none !important; }
  .mobile-menu { display: block; }
  nav { top: 10px; max-width: calc(100% - 20px); }
  .nav-pill { padding: 6px 8px 6px 12px; gap: 6px; }
  .logo-text { font-size: 0.85rem; }
  .logo-icon { width: 26px; height: 26px; }
}

/* --- ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   UI-UX PRO MAX — Upgrades cyberpunk premium
   ============================================ */

/* Nav desktop underline rules superseded by nav-link-slide above */

/* Logo icon — SVG flush */
.logo-icon svg { display: block; }

/* Platform chip SVG */
.platform-chip-icon {
  display: block;
  margin: 0 auto 4px;
  color: var(--gold);
  opacity: 0.85;
}

/* JetBrains Mono pour éléments terminal/cyber */
.mockup-title,
.metric-value,
.stat-number,
.post-meta {
  font-family: 'JetBrains Mono', monospace;
}

/* Hero title line-4 — glitch effect */
.hero-title .line-4 {
  position: relative;
}
.hero-title .line-4::before,
.hero-title .line-4::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  color: var(--gold);
}
.hero-title .line-4::before {
  color: rgba(234,179,8,0.55);
  clip-path: inset(0 0 100% 0);
}
.hero-title .line-4::after {
  color: rgba(180,120,0,0.4);
  clip-path: inset(0 0 100% 0);
}

/* Two bursts, then rest — a glitch that never stops reads as a broken page
   rather than an effect. Both layers stay hidden (`inset(0 0 100% 0)`) outside
   the burst window, which is also the reduced-motion resting state. */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line-4::before {
    animation: glitch-before 6s 2;
    animation-delay: 1.5s;
  }
  .hero-title .line-4::after {
    animation: glitch-after 6s 2;
    animation-delay: 1.55s;
  }
}

@keyframes glitch-before {
  0%,89%,100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  90%          { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 1px); }
  92%          { clip-path: inset(65% 0 15% 0); transform: translate(3px, -1px); }
  94%          { clip-path: inset(40% 0 40% 0); transform: translate(-2px, 0); }
  96%          { clip-path: inset(0 0 100% 0); transform: translate(0); }
}
@keyframes glitch-after {
  0%,89%,100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  90%          { clip-path: inset(60% 0 20% 0); transform: translate(3px, -1px); }
  92%          { clip-path: inset(10% 0 75% 0); transform: translate(-3px, 1px); }
  94%          { clip-path: inset(45% 0 35% 0); transform: translate(2px, 0); }
  96%          { clip-path: inset(0 0 100% 0); transform: translate(0); }
}

/* Btn-primary shimmer on hover */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0s;
  pointer-events: none;
}
.btn-primary:hover::before {
  left: 150%;
  transition: left 0.45s ease;
}

/* Social proof bandeau — platform tags */
.social-proof-band {
  background: var(--bg-card-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  position: relative;
  z-index: 1;
}
.social-proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.social-proof-label {
  color: #71717a;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.social-proof-platforms {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid #1e1e1e;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #a1a1aa;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.platform-tag:hover {
  border-color: rgba(234,179,8,0.25);
  color: var(--gold);
}

/* ============================================================
   NEON BUTTONS — site-wide yellow/violet glow (2026-07-17)
   Applied globally via the shared stylesheet.
   ============================================================ */
:root {
  --neon-y: rgba(234, 179, 8, 0.55);   /* jaune */
  --neon-v: rgba(139, 92, 246, 0.50);  /* violet */
}

.btn-primary,
.btn-secondary,
.nav-cta {
  transition: box-shadow .25s ease, transform .2s ease,
              border-color .2s ease, background .2s ease, color .2s ease;
}

/* Primary CTA — dual yellow + violet neon halo */
.btn-primary {
  box-shadow: 0 4px 20px rgba(234, 179, 8, .35),
              0 0 16px var(--neon-y),
              0 0 32px var(--neon-v);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(234, 179, 8, .5),
              0 0 24px var(--neon-y),
              0 0 52px var(--neon-v);
}

/* Secondary CTA — outlined neon */
.btn-secondary {
  border-color: rgba(234, 179, 8, .35);
  box-shadow: 0 0 14px rgba(234, 179, 8, .20),
              0 0 26px rgba(139, 92, 246, .16);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
  box-shadow: 0 0 20px var(--neon-y),
              0 0 40px var(--neon-v);
}

/* Contact button (nav) — smaller + neon */
.nav-cta {
  padding: 6px 15px;
  font-size: 0.8rem;
  box-shadow: 0 0 12px var(--neon-y),
              0 0 24px var(--neon-v);
}
.nav-cta:hover {
  box-shadow: 0 0 20px var(--neon-y),
              0 0 40px var(--neon-v);
}

/* ============================================================
   Navbar mobile — le CTA principal reste visible
   ------------------------------------------------------------
   Ce bloc doit rester EN FIN DE FICHIER : les règles néon
   ci-dessus redéfinissent .nav-cta sans media query, et à
   spécificité égale c'est l'ordre source qui tranche.
   Budget mesuré à 390px (pilule = 370px de large) :
   logo 148 + thème 34 + CTA 96 + burger 38 + gaps ≈ 340.
   ============================================================ */
@media (max-width: 768px) {
  .nav-cta {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    padding: 8px 11px;
    letter-spacing: 0.01em;
  }
  .nav-pill { gap: 4px; padding-right: 6px; }
  /* Le logo garde la priorité sur la marque, mais cède l'espace résiduel. */
  .logo { gap: 7px; }
  .logo-text { font-size: 0.82rem; }
  .logo-icon { width: 28px; height: 28px; border-radius: 7px; }
  .logo-icon svg { width: 15px; height: 15px; }
}

@media (max-width: 380px) {
  .nav-cta { font-size: 0.62rem; padding: 7px 8px; }
  .logo-text { font-size: 0.78rem; }
}
