/* ===================================================================
   V-STORM DESIGN SYSTEM
   Style premium SaaS — dark mode, accent violet
   =================================================================== */

/* ── DESIGN TOKENS ────────────────────────────────────────────────── */
:root {
  /* Couleurs de base */
  --bg:              #0a0a0f;
  --bg-elevated:     #0f0f17;
  --surface:         #14141d;
  --surface-hover:   #1a1a25;
  --border:          rgba(255, 255, 255, 0.08);
  --border-strong:   rgba(255, 255, 255, 0.14);

  /* Accent violet V-Storm */
  --accent:          #7c3aed;
  --accent-hover:    #6d28d9;
  --accent-light:    #a78bfa;
  --accent-glow:     rgba(124, 58, 237, 0.35);
  --accent-soft:     rgba(124, 58, 237, 0.12);
  --accent-border:   rgba(124, 58, 237, 0.25);

  /* Texte */
  --text:            rgba(255, 255, 255, 0.95);
  --text-secondary:  rgba(255, 255, 255, 0.65);
  --text-muted:      rgba(255, 255, 255, 0.42);

  /* États */
  --success:         #4ade80;
  --error:           #ef4444;
  --warning:         #f59e0b;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  --gradient-hero:    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.25) 0%, transparent 60%);
  --gradient-card:    linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, transparent 100%);

  /* Layout */
  --container-max:   1200px;
  --radius-sm:       8px;
  --radius:          12px;
  --radius-lg:       16px;
  --radius-xl:       24px;

  /* Shadows */
  --shadow-glow:     0 0 60px rgba(124, 58, 237, 0.3);
  --shadow-card:     0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg:       0 20px 60px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --transition:      200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Typo */
  --font-sans:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* ── RESET ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

/* ── TYPO ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
p  { color: var(--text-secondary); }

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 6px; height: 6px; background: var(--accent-light); border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-light);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ── LAYOUT ───────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 720px; }
.container-lg { max-width: 1320px; }

.section {
  padding: 96px 0;
  position: relative;
}
.section-sm { padding: 64px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
}

/* ── NAVBAR ───────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container-lg);
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.nav-brand img { height: 32px; width: auto; }
.nav-brand-text { color: var(--text); }
.nav-brand-mark {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 1.1rem;
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
}

/* ── BOUTONS ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: all var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.5);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--accent-light);
  border-color: var(--accent-border);
}
.btn-outline:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-full { width: 100%; }
.btn-icon-arrow svg {
  width: 16px; height: 16px;
  transition: transform var(--transition);
}
.btn-icon-arrow:hover svg { transform: translateX(3px); }

/* ── HERO ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 24px 80px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 {
  margin-bottom: 24px;
  font-weight: 800;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* ── HERO METRICS ─────────────────────────────────────────────────── */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.metric-value {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── HERO MOCKUP ──────────────────────────────────────────────────── */
.hero-mockup {
  margin-top: 80px;
  position: relative;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.hero-mockup::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
}
.mockup-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.mockup-bar .dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.mockup-bar .dot:nth-child(1) { background: #ff5f57; }
.mockup-bar .dot:nth-child(2) { background: #febc2e; }
.mockup-bar .dot:nth-child(3) { background: #28c840; }
.mockup-content {
  padding: 32px;
  min-height: 360px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
}
.mockup-sidebar {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
}
.mockup-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.mockup-sidebar-item.active {
  background: var(--accent-soft);
  color: var(--accent-light);
  border: 1px solid var(--accent-border);
}
.mockup-sidebar-item .icon {
  width: 18px; height: 18px;
  background: var(--accent-soft);
  border-radius: 4px;
}
.mockup-main {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.mockup-card {
  background: var(--surface);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.mockup-card-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.mockup-card-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.mockup-pill {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 600;
  margin-right: 6px;
}
@media (max-width: 768px) {
  .mockup-content { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
}

/* ── SECTION HEADER ───────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; }

/* ── FEATURES GRID ────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card);
}
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; z-index: 1; }
.feature-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--accent-light); }
.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── FEATURE SPOTLIGHT (alterné gauche/droite) ────────────────────── */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 64px 0;
}
.spotlight-reverse .spotlight-text { order: 2; }
.spotlight-reverse .spotlight-visual { order: 1; }
.spotlight-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 20px;
}
.spotlight-text p {
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.7;
}
.spotlight-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.spotlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.98rem;
}
.spotlight-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  flex-shrink: 0;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}
.spotlight-visual {
  position: relative;
}
.spotlight-visual::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.spotlight-mockup {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; gap: 48px; padding: 32px 0; }
  .spotlight-reverse .spotlight-text { order: 1; }
  .spotlight-reverse .spotlight-visual { order: 2; }
}

/* ── PRICING ──────────────────────────────────────────────────────── */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 56px;
  gap: 4px;
}
.pricing-toggle-wrap {
  text-align: center;
}
.pricing-toggle button {
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 999px;
  transition: all var(--transition);
}
.pricing-toggle button.active {
  background: var(--accent);
  color: #fff;
}
.pricing-toggle .save-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: rgba(74, 222, 128, 0.15);
  color: var(--success);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 60px rgba(124, 58, 237, 0.2);
  transform: scale(1.02);
}
.pricing-card.featured::before {
  content: 'POPULAIRE';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-name {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin-bottom: 8px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0 4px;
}
.pricing-price .amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.pricing-price .period {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 28px;
  min-height: 44px;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-secondary);
}
.pricing-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  background: var(--accent-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23a78bfa'%3E%3Cpath fill-rule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
}

/* ── TÉMOIGNAGES ──────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.testimonial:hover { border-color: var(--accent-border); }
.testimonial-stars {
  color: var(--accent-light);
  margin-bottom: 14px;
  font-size: 0.95rem;
  letter-spacing: 2px;
}
.testimonial-text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}
.testimonial-handle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open { border-color: var(--accent-border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}
.faq-question .icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  transition: transform var(--transition);
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition);
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}
.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── CTA FINAL ────────────────────────────────────────────────────── */
.cta-final {
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xl);
  margin: 80px auto;
  max-width: var(--container-max);
}
.cta-final::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}
.cta-final-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-final h2 { margin-bottom: 16px; }
.cta-final p { font-size: 1.1rem; margin-bottom: 32px; }
.cta-final-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ───────────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 24px 32px;
  margin-top: 80px;
}
.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.92rem;
  max-width: 320px;
  margin-bottom: 20px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-social {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.footer-social:hover {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent-light);
}
.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a:hover { color: var(--text-secondary); }

/* ── AUTH FORMS ───────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.auth-card .logo {
  text-align: center;
  margin-bottom: 24px;
}
.auth-card .logo img { height: 40px; margin: 0 auto; }
.auth-card h1 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.auth-card .auth-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-group input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  transition: all var(--transition);
}
.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0 24px;
  font-size: 0.85rem;
}
.form-row a { color: var(--accent-light); }
.form-row a:hover { text-decoration: underline; }
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}
.checkbox-row input { accent-color: var(--accent); }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-social {
  display: flex;
  gap: 12px;
}
.auth-social .btn { flex: 1; }
.auth-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.auth-footer a {
  color: var(--accent-light);
  font-weight: 600;
}
.auth-footer a:hover { text-decoration: underline; }
.status-msg {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 16px;
  display: none;
}
.status-msg.success { background: rgba(74, 222, 128, 0.1); color: var(--success); border: 1px solid rgba(74, 222, 128, 0.3); display: block; }
.status-msg.error   { background: rgba(239, 68, 68, 0.1);  color: var(--error);   border: 1px solid rgba(239, 68, 68, 0.3); display: block; }
.status-msg.loading { background: var(--accent-soft); color: var(--accent-light); border: 1px solid var(--accent-border); display: block; }

/* ── DASHBOARD ────────────────────────────────────────────────────── */
.dash-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
@media (max-width: 900px) {
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
}
.dash-sidebar {
  background: var(--bg-elevated);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.dash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  margin-bottom: 32px;
}
.dash-brand img { height: 30px; }
.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.dash-nav a:hover {
  background: var(--surface);
  color: var(--text);
}
.dash-nav a.active {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-light);
}
.dash-nav .icon {
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.dash-user {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-user .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff;
}
.dash-user .info { flex: 1; min-width: 0; }
.dash-user .name { font-size: 0.88rem; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-user .email { font-size: 0.76rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-content {
  padding: 32px 40px;
  max-width: 1200px;
  width: 100%;
}
@media (max-width: 768px) {
  .dash-content { padding: 24px 20px; }
}
.dash-header {
  margin-bottom: 32px;
}
.dash-header h1 {
  font-size: 1.75rem;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.dash-header p { color: var(--text-secondary); }
.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.dash-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.dash-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.dash-card-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.dash-card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.dash-card.highlighted {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--surface) 100%);
  border-color: var(--accent-border);
}

.license-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  margin-top: 16px;
  font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
  font-size: 0.9rem;
  color: var(--accent-light);
  word-break: break-all;
}
.license-box .key { flex: 1; }
.license-box button {
  padding: 6px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}
.license-box button:hover { background: var(--accent-hover); }

/* ── PAGES STATIQUES (légal, blog) ────────────────────────────────── */
.static-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px;
}
.static-page h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.static-page .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 48px;
}
.static-page h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  letter-spacing: -0.01em;
}
.static-page h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}
.static-page p,
.static-page li {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.static-page ul, .static-page ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.static-page ul li { list-style: disc; }
.static-page ol li { list-style: decimal; }
.static-page a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── ANIMATIONS ──────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease forwards;
}
.fade-up.delay-1 { animation-delay: 0.1s; }
.fade-up.delay-2 { animation-delay: 0.2s; }
.fade-up.delay-3 { animation-delay: 0.3s; }
.fade-up.delay-4 { animation-delay: 0.4s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── UTILITIES ────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent-light); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hide-mobile { display: initial; }
.show-mobile { display: none; }
@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .show-mobile { display: initial; }
}
