/* ============================================
   MEDPAIR - Landing page
   Design: Moderne SaaS, dégradés vert/bleu
   ============================================ */

:root {
  /* Palette principale */
  --teal-50: #ecfeff;
  --teal-100: #cffafe;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;

  --blue-400: #38bdf8;
  --blue-500: #0ea5e9;
  --blue-600: #0284c7;
  --blue-700: #0369a1;
  --blue-900: #0c4a6e;

  --emerald-400: #34d399;
  --emerald-500: #10b981;

  /* Neutres */
  --ink-900: #0a1628;
  --ink-800: #0f1f3a;
  --ink-700: #1e293b;
  --ink-600: #334155;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50: #f8fafc;
  --white: #ffffff;

  /* Dégradés signature */
  --gradient-primary: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%);
  --gradient-soft: linear-gradient(135deg, #ecfeff 0%, #f0f9ff 100%);
  --gradient-hero: radial-gradient(ellipse at top left, #d1fae5 0%, transparent 50%),
                   radial-gradient(ellipse at top right, #dbeafe 0%, transparent 50%),
                   linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  --gradient-dark: linear-gradient(135deg, #0f1f3a 0%, #0c4a6e 100%);

  /* Typography */
  --font-display: 'Bricolage Grotesque', 'Inter', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Espacements */
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(15, 31, 58, 0.04), 0 1px 3px rgba(15, 31, 58, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 31, 58, 0.06), 0 2px 4px -1px rgba(15, 31, 58, 0.04);
  --shadow-lg: 0 10px 30px -5px rgba(15, 31, 58, 0.1), 0 4px 10px -3px rgba(15, 31, 58, 0.05);
  --shadow-xl: 0 25px 50px -12px rgba(15, 31, 58, 0.15);
  --shadow-glow: 0 20px 60px -15px rgba(16, 185, 129, 0.3);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

/* ============================================
   BOUTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md), 0 0 0 0 rgba(16, 185, 129, 0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }

.btn-secondary {
  background: var(--white);
  color: var(--ink-800);
  border: 1.5px solid var(--ink-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--teal-500);
  color: var(--teal-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: 18px 36px;
  font-size: 17px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 31, 58, 0.06);
  transition: all 0.3s;
}

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

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-600);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--teal-700); }

.nav-cta { padding: 10px 20px; font-size: 14px; }

@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.05); }
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-700);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-500);
  box-shadow: 0 0 8px var(--emerald-500);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease-out 0.1s backwards;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--ink-600);
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeInUp 0.7s ease-out 0.2s backwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  animation: fadeInUp 0.7s ease-out 0.3s backwards;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease-out 0.4s backwards;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-600);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--emerald-500);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Visualisation hero */
.hero-visual {
  position: relative;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.mock-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  position: relative;
  border: 1px solid rgba(15, 31, 58, 0.05);
}

.mock-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.15;
  filter: blur(20px);
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink-100);
  margin-bottom: 20px;
}

.mock-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.mock-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.mock-info p {
  font-size: 12px;
  color: var(--ink-500);
}

.mock-question {
  padding: 14px 16px;
  background: var(--ink-50);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.mock-question.answered {
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid var(--emerald-500);
}

.mock-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--emerald-500);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.mock-score {
  margin-top: 16px;
  padding: 16px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-score-value { font-size: 24px; font-weight: 700; }
.mock-score-label { font-size: 12px; opacity: 0.9; }

.floating-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.floating-badge.fb-1 {
  top: -20px;
  right: -20px;
  animation: floatBadge 4s ease-in-out infinite;
}

.floating-badge.fb-2 {
  bottom: 40px;
  left: -30px;
  animation: floatBadge 5s ease-in-out infinite 1s;
}

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

/* ============================================
   SECTIONS GÉNÉRIQUES
   ============================================ */
section { padding: 100px 0; position: relative; }

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-600);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  max-width: 700px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--ink-600);
  max-width: 600px;
  margin-bottom: 60px;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-title,
.section-header .section-subtitle { margin-left: auto; margin-right: auto; }

/* ============================================
   COMMENT ÇA FONCTIONNE
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 868px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: 32px;
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.step:hover {
  transform: translateY(-4px);
  border-color: var(--teal-400);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 32px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  box-shadow: var(--shadow-md);
}

.step h3 {
  font-size: 1.25rem;
  margin: 16px 0 12px;
}

.step p { color: var(--ink-600); margin-bottom: 16px; }

.step-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.step-link:hover { gap: 8px; }

/* ============================================
   SÉCURITÉ
   ============================================ */
.security {
  background: var(--gradient-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.security::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.security .container { position: relative; z-index: 1; }
.security .section-title { color: white; }
.security .section-eyebrow { color: var(--teal-400); }
.security .section-subtitle { color: var(--ink-300); }

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.security-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.security-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(45, 212, 191, 0.3);
  transform: translateY(-2px);
}

.security-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.security-icon svg { width: 24px; height: 24px; color: white; }

.security-card h3 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.security-card p { color: var(--ink-300); font-size: 0.95rem; }

/* ============================================
   BÉNÉFICES
   ============================================ */
.benefits {
  background: var(--gradient-soft);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 968px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 568px) { .benefits-grid { grid-template-columns: 1fr; } }

.benefit-card {
  padding: 28px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border: 1px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.2);
}

.benefit-emoji {
  font-size: 32px;
  margin-bottom: 16px;
  display: inline-block;
}

.benefit-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.benefit-card p { font-size: 0.9rem; color: var(--ink-600); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

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

.stat {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ink-100);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label { font-size: 0.95rem; color: var(--ink-600); font-weight: 500; }

/* ============================================
   FORMULAIRE / DÉMO
   ============================================ */
.demo-section {
  background: white;
  position: relative;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

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

.demo-info h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 20px; }
.demo-info > p { color: var(--ink-600); font-size: 1.05rem; margin-bottom: 32px; }

.pricing-card {
  background: var(--gradient-dark);
  border-radius: var(--radius-xl);
  padding: 32px;
  color: white;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.pricing-card > * { position: relative; }

.pricing-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald-400);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  margin: 8px 0;
}

.pricing-amount span { font-size: 1rem; font-weight: 500; opacity: 0.7; }

.pricing-features {
  list-style: none;
  margin: 24px 0;
}

.pricing-features li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-200);
}

.pricing-features li::before {
  content: '✓';
  color: var(--emerald-400);
  font-weight: 700;
}

.pricing-gift {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 16px;
}

/* Le formulaire */
.form-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--ink-100);
  position: relative;
}

.form-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.1;
  filter: blur(30px);
}

.form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-card > p { color: var(--ink-600); margin-bottom: 28px; font-size: 0.95rem; }

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 568px) { .form-row { grid-template-columns: 1fr; } }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 6px;
}

.form-label .required { color: #ef4444; }

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink-800);
  background: var(--ink-50);
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--teal-500);
  background: white;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.form-textarea { resize: vertical; min-height: 110px; font-family: inherit; }

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  margin-top: 8px;
}

.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

.form-message {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.form-message.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--teal-700);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: block;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: block;
}

.form-disclaimer {
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 16px;
  text-align: center;
}

.form-disclaimer a { color: var(--teal-700); text-decoration: underline; }

/* ============================================
   CTA FINAL
   ============================================ */
.final-cta {
  padding: 80px 0;
  background: var(--gradient-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.final-cta .container { position: relative; }

.final-cta h2 {
  color: white;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  background: white;
  color: var(--teal-700);
  padding: 18px 40px;
  font-size: 17px;
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: 60px 0 30px;
}

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

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

.footer-brand .logo { color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; max-width: 360px; line-height: 1.6; }

.footer h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--ink-400);
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 13px;
  color: var(--ink-500);
}

/* ============================================
   PAGES LÉGALES
   ============================================ */
.legal-page {
  padding: 140px 0 80px;
  background: var(--ink-50);
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 60px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) { .legal-content { padding: 32px 24px; } }

.legal-content h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.legal-content .updated {
  color: var(--ink-500);
  font-size: 14px;
  margin-bottom: 32px;
  font-style: italic;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
  color: var(--teal-700);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 8px;
}

.legal-content p { margin-bottom: 12px; line-height: 1.7; }
.legal-content ul { margin: 12px 0 16px 24px; }
.legal-content li { margin-bottom: 6px; line-height: 1.7; }
.legal-content a { color: var(--teal-700); text-decoration: underline; }
.legal-content a:hover { color: var(--teal-500); }

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--teal-700);
  font-weight: 600;
  margin-bottom: 24px;
}

.back-home:hover { color: var(--teal-500); }

/* ============================================
   UTILS
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
