/* ============================================================
   OPPIA VITRINE 2 — style.css
   Design system: light theme, identité visuelle Oppia
   Gold #C8A028 · Purple #5C3B6E · Fonds beige chaud
   Mobile-first · Breakpoints: 640px / 1024px / 1280px
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-bg:         #F2F0EB;
  --color-surface:    #FFFFFF;
  --color-border:     #E2D9C8;
  --color-gold:       #C8A028;
  --color-gold-light: #E0B840;
  --color-gold-dark:  #A07E1A;
  --color-gold-bg:    #FBF5E6;
  --color-gold-border:#E8D48A;
  --color-purple:     #5C3B6E;
  --color-purple-light:#F5F2FA;
  --color-orange:     #E07820;
  --color-text:       #1A1830;
  --color-muted:      #6B7280;
  --color-muted-light:#9CA3AF;
  --font-display:     'Fraunces', serif;
  --font-body:        'Inter', sans-serif;
  --nav-height:       64px;
  --container-max:    1280px;
  --radius:           8px;
  --transition-base:  200ms ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

@media (hover: none) {
  body { cursor: auto; }
}

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

/* Prevent SVG icons from shrinking in flex containers */
.proof-item svg,
.feature-icon svg,
.problem-card-icon svg,
.check-icon svg,
.emargement-focus svg {
  flex-shrink: 0;
  width: auto;
}
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--color-gold);
  color: white;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 9999;
  transition: top 200ms;
}
.skip-link:focus { top: 16px; }

/* --- Focus visible --- */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 640px)  { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* --- Reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay   { transition-delay: 120ms; }
.reveal-delay-2 { transition-delay: 240ms; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color var(--transition-base),
              color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-base);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-gold);
  color: white;
  box-shadow: 0 2px 8px rgba(200,160,40,0.30);
}
.btn-primary:hover {
  background: var(--color-gold-dark);
  box-shadow: 0 4px 16px rgba(200,160,40,0.40);
}

.btn-outline-gold {
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold-dark);
}
.btn-outline-gold:hover {
  background: var(--color-gold);
  color: white;
}

.btn-ghost {
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--color-gold-border);
  background: var(--color-gold-bg);
}

.btn-dark {
  background: var(--color-text);
  color: white;
}
.btn-dark:hover {
  background: #2e2a50;
}

/* white button (used on gold bg sections) */
.btn-white {
  background: white;
  color: var(--color-gold-dark);
  font-weight: 700;
}
.btn-white:hover { background: var(--color-gold-bg); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* --- Section typography --- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--color-text);
}

.section-subtitle {
  color: var(--color-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin-bottom: 56px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 300ms;
}
.nav-header.scrolled {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 640px)  { .nav-container { padding: 0 32px; } }
@media (min-width: 1024px) { .nav-container { padding: 0 48px; } }

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.5px;
}

/* Desktop nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9375rem;
  color: var(--color-muted);
  transition: color var(--transition-base);
}
.nav-links a:hover { color: var(--color-text); }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions .btn-outline-gold {
  padding: 8px 18px;
  font-size: 0.875rem;
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 300ms, opacity 300ms;
}

.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms;
}
.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-drawer:not([hidden]) {
  transform: translateX(0);
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 24px;
  height: 100%;
}

.mobile-drawer-close {
  align-self: flex-end;
  color: var(--color-muted);
  padding: 8px;
}
.mobile-drawer-close:hover { color: var(--color-text); }

.mobile-drawer-inner ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mobile-drawer-inner ul a {
  display: block;
  padding: 12px 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-base), padding-left var(--transition-base);
}
.mobile-drawer-inner ul a:hover {
  color: var(--color-gold);
  padding-left: 8px;
}

.mobile-drawer-inner .btn {
  align-self: flex-start;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-hamburger { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-surface);
}

/* Subtle gold glow top-right */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(200,160,40,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 48px 0 40px;
  position: relative;
  z-index: 2;
}

/* Grain overlay — very subtle on light bg */
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
}

/* Gold bottom line animation */
.gold-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  animation: gold-line-draw 1.2s 0.8s ease forwards;
  z-index: 2;
}

@keyframes gold-line-draw {
  to { width: 100%; }
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

@media (min-width: 1024px) {
  .hero-layout {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }
  .hero-text   { flex: 0 0 52%; }
  .hero-mockup { flex: 1; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--color-text);
  font-variation-settings: 'WONK' 1;
}

.hero-subtitle {
  color: var(--color-muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.badge-pill {
  display: inline-block;
  background: var(--color-gold-bg);
  border: 1px solid var(--color-gold-border);
  color: var(--color-gold-dark);
  font-size: 0.875rem;
  padding: 6px 16px;
  border-radius: 999px;
}

/* Dashboard SVG mockup */
.hero-mockup {
  display: flex;
  justify-content: center;
}

.dashboard-svg {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(200,160,40,0.20),
    0 24px 60px rgba(0, 0, 0, 0.14),
    0 0 40px rgba(200,160,40,0.06);
  transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
  transition: transform 500ms ease;
}
.dashboard-svg:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(0deg);
}

/* ============================================================
   PROOF BAR (intégré en bas du hero)
   ============================================================ */
.proof-bar {
  background: var(--color-gold-bg);
  padding: 20px 0;
  border-top: 1px solid var(--color-gold-border);
  position: relative;
  z-index: 2;
}

.proof-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--color-text);
  white-space: nowrap;
}

.proof-separator {
  display: none;
  width: 1px;
  height: 20px;
  background: var(--color-gold-border);
}

.proof-link {
  color: var(--color-gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.proof-link:hover { color: var(--color-gold); }

@media (min-width: 1024px) {
  .proof-items { flex-wrap: nowrap; gap: 0; }
  .proof-item  { padding: 0 36px; }
  .proof-separator { display: block; }
}

/* ============================================================
   PROBLÈME → SOLUTION
   ============================================================ */
.problem-solution {
  padding: 96px 0;
  background: var(--color-surface);
}

.problem-solution .section-title {
  text-align: center;
  margin-bottom: 56px;
}

.problem-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1024px) {
  .problem-cards { grid-template-columns: repeat(3, 1fr); }
}

.problem-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.problem-card:hover {
  border-color: var(--color-gold-border);
  box-shadow: 0 4px 16px rgba(200,160,40,0.08);
}

.problem-card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-gold-bg);
  border: 1px solid var(--color-gold-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.problem-text {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  flex: 1;
}

.problem-answer {
  color: var(--color-gold-dark);
  font-size: 0.9375rem;
  font-weight: 500;
  padding-top: 16px;
  border-top: 1px solid var(--color-gold-border);
  display: flex;
  gap: 8px;
}

.answer-label {
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   FONCTIONNALITÉS
   ============================================================ */
.features {
  padding: 96px 0;
  background: var(--color-bg);
}

.features .section-title,
.features .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.feature-card:hover {
  border-color: var(--color-gold-border);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--color-gold-bg);
  border: 1px solid var(--color-gold-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}

.feature-card p {
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ============================================================
   FOCUS ÉMARGEMENT — gold gradient (= barre de l'app)
   ============================================================ */
.emargement-focus {
  background: linear-gradient(135deg, #C8A028 0%, #A07E1A 100%);
  padding: 96px 0;
  color: white;
}

.emargement-focus .section-title { color: white; }
.emargement-focus p { color: rgba(255,255,255,0.82); }

.emargement-layout {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

@media (min-width: 1024px) {
  .emargement-layout {
    flex-direction: row;
    align-items: center;
    gap: 80px;
  }
  .emargement-text   { flex: 1; }
  .emargement-visual { flex: 0 0 44%; }
}

.emargement-text .section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 20px;
}

.emargement-text p {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
}

.check-icon {
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 1.125rem;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Emargement placeholder / SVG */
.emargement-svg {
  width: 100%;
  max-width: 460px;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15),
    0 32px 64px rgba(0, 0, 0, 0.25);
  transform: rotate(1.5deg);
  transition: transform 400ms ease;
}
.emargement-svg:hover { transform: rotate(0deg); }

/* ============================================================
   3 ESPACES (TABS)
   ============================================================ */
.espaces {
  padding: 96px 0;
  background: var(--color-surface);
}

.espaces .section-title,
.espaces .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Tabs nav */
.tabs-nav {
  display: flex;
  gap: 4px;
  background: var(--color-bg);
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-muted);
  white-space: nowrap;
  flex: 1;
  justify-content: center;
  transition: background var(--transition-base), color var(--transition-base);
}
.tab-btn:hover { color: var(--color-text); }

.tab-btn--active,
.tab-btn[aria-selected="true"] {
  background: var(--color-surface);
  color: var(--color-purple);
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

/* Tab panels */
.tab-panel { display: none; }
.tab-panel:not([hidden]) { display: block; }

.tab-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 40px;
}

@media (min-width: 1024px) {
  .tab-panel-inner {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }
  .tab-panel-text   { flex: 1; }
  .tab-panel-visual { flex: 0 0 44%; }
}

.tab-panel-text h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.tab-panel-text p {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.tab-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.tab-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.tab-features li::before {
  content: '✓';
  color: var(--color-purple);
  font-weight: 700;
  flex-shrink: 0;
}

/* Tab mockup placeholder */
.tab-mockup-placeholder {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.tab-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--color-gold);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 0.875rem;
  color: white;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
}
.mockup-dots span:first-child  { background: rgba(255,255,255,0.6); }
.mockup-dots span:nth-child(2) { background: rgba(255,255,255,0.45); }
.mockup-dots span:last-child   { background: rgba(255,255,255,0.6); }

.tab-mockup-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--color-bg);
  padding: 24px;
}

.mock-stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}
.mock-num.gold { color: var(--color-gold); }
.mock-lbl {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.tab-mockup-rows {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--color-bg);
}

.mock-row {
  height: 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

/* ============================================================
   TARIFS
   ============================================================ */
.pricing {
  padding: 96px 0;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.pricing .section-title,
.pricing .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Toggle */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 0.9375rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-toggle {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  transition: background var(--transition-base), border-color var(--transition-base);
  cursor: pointer;
}
.pricing-toggle[aria-checked="true"] {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 200ms;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.pricing-toggle[aria-checked="true"] .toggle-thumb {
  transform: translateX(22px);
}

.badge-discount {
  background: var(--color-gold);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Pricing cards */
.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

@media (min-width: 1024px) {
  .pricing-cards {
    flex-wrap: nowrap;
    overflow-x: visible;
  }
}

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 300px;
  position: relative;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,0.10));
}

.pricing-card--popular {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 1px var(--color-gold);
}

.pricing-card--scale {
  border-style: dashed;
}

.pricing-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text);
}

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

.price-currency {
  font-size: 1.25rem;
  font-weight: 600;
  margin-left: 2px;
  color: var(--color-text);
}

.price-period {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin-left: 4px;
}

.price-custom {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-muted);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--color-text);
}

.check {
  color: var(--color-gold);
  font-weight: 700;
  flex-shrink: 0;
}

.cross {
  color: var(--color-muted-light);
  flex-shrink: 0;
}

.feature-off {
  color: var(--color-muted-light);
}

/* Bouton dans les cards pricing */
.pricing-card .btn {
  font-size: 0.8125rem;
  padding: 12px 14px;
}

.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: 32px;
}

/* ============================================================
   ROADMAP
   ============================================================ */
.roadmap {
  padding: 96px 0;
  background: var(--color-purple-light);
}

.roadmap .section-title { text-align: center; color: var(--color-text); }
.roadmap .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
}

.roadmap-kanban {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .roadmap-kanban { grid-template-columns: repeat(3, 1fr); }
}

.kanban-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kanban-header {
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
}

.kanban-header--idea { background: var(--color-gold-bg); color: var(--color-gold-dark); }
.kanban-header--dev  { background: rgba(92,59,110,0.12); color: var(--color-purple); }
.kanban-header--done { background: rgba(34,197,94,0.1);  color: #15803D; }

.kanban-cards { display: flex; flex-direction: column; gap: 8px; }

.kanban-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--color-muted);
  transition: border-color var(--transition-base), color var(--transition-base);
}
.kanban-card:hover { border-color: var(--color-gold-border); color: var(--color-text); }

.kanban-card--active {
  border-color: rgba(92,59,110,0.35);
  color: var(--color-purple);
  background: var(--color-purple-light);
}

.kanban-card--done {
  border-color: rgba(34,197,94,0.25);
  color: #15803D;
  background: rgba(34,197,94,0.04);
}

.roadmap-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 96px 0;
  background: var(--color-surface);
}

.faq .section-title {
  text-align: center;
  margin-bottom: 48px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item:first-child { border-top: 1px solid var(--color-border); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  text-align: left;
  color: var(--color-text);
  transition: color var(--transition-base);
}
.faq-question:hover { color: var(--color-gold-dark); }

.faq-chevron {
  flex-shrink: 0;
  transition: transform 300ms;
  color: var(--color-muted);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-gold);
}

.faq-answer {
  overflow: hidden;
}
.faq-answer:not([hidden]) { display: block; }

.faq-answer p {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  padding-bottom: 22px;
}

.link-gold {
  color: var(--color-gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-gold:hover { color: var(--color-gold); }

/* ============================================================
   CTA FINAL — gold gradient
   ============================================================ */
.cta-final {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(135deg, #C8A028 0%, #A07E1A 100%);
  color: white;
}

.cta-final-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  max-width: 800px;
  margin: 0 auto 20px;
  color: white;
  font-variation-settings: 'WONK' 1;
}

.cta-final-subtitle {
  color: rgba(255,255,255,0.82);
  font-size: 1.125rem;
  margin-bottom: 40px;
}

.cta-final-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Boutons sur fond gold */
.cta-final .btn-primary {
  background: white;
  color: var(--color-gold-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.cta-final .btn-primary:hover { background: var(--color-gold-bg); }

.cta-final .btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.cta-final .btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #1A1830;
  border-top: 3px solid var(--color-gold);
  padding: 56px 0 40px;
  color: rgba(255,255,255,0.85);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1024px) {
  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand .nav-logo-text { color: white; }
.footer-brand .nav-logo img { filter: brightness(0) invert(1); }

.footer-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  max-width: 280px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition-base);
}
.footer-nav a:hover { color: var(--color-gold); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-credit,
.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   CUSTOM CURSOR (desktop only)
   ============================================================ */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--color-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 200ms ease, width 200ms ease, height 200ms ease, opacity 200ms;
  opacity: 0;
  mix-blend-mode: multiply;
}

.custom-cursor.visible { opacity: 1; }
.custom-cursor.hovered {
  width: 30px;
  height: 30px;
  background: rgba(200, 160, 40, 0.35);
  border: 1px solid var(--color-gold);
}

@media (hover: none) {
  .custom-cursor { display: none; }
}

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 639px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .pricing-cards { padding-bottom: 16px; }
}

/* Gold line on pricing section */
.gold-line--pricing {
  position: relative;
  left: 0;
  right: 0;
  width: 100%;
  animation-delay: 0.2s;
}
