/* ============================================================
   MonBilanConduite — Design System Premium
   Palette V5 : Navy #0A1F3D + Emerald #10B981
   Mobile-first · Game-changer vs AAAEP / AAC
   ============================================================ */

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

/* ── Variables ── */
:root {
  /* Navy (brand primary) */
  --navy-900: #0A1F3D;
  --navy-800: #122A4F;
  --navy-700: #1B3A6B;
  --navy-600: #2A4D85;
  --navy-100: #E8EEF7;
  --navy-50:  #F4F7FC;

  /* Emerald (action / success) */
  --emerald-700: #047857;
  --emerald-600: #0E9F6E;
  --emerald-500: #10B981;
  --emerald-400: #34D399;
  --emerald-100: #D1FAE5;
  --emerald-50:  #ECFDF5;

  /* Gold (premium / recommended) */
  --gold-600: #D97706;
  --gold-500: #F4B942;
  --gold-100: #FEF3D6;
  --gold-50:  #FFFBEB;

  /* Coral (alert) */
  --coral-500: #FF6B5B;
  --coral-50:  #FFF1EF;

  /* Slate (neutrals) */
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;

  /* Semantic tokens */
  --primary:        var(--navy-900);
  --primary-hover:  var(--navy-800);
  --action:         var(--emerald-500);
  --action-hover:   var(--emerald-600);
  --action-light:   var(--emerald-50);
  --action-border:  var(--emerald-100);

  --bg:        #FFFFFF;
  --bg-soft:   var(--slate-50);
  --bg-muted:  var(--slate-100);
  --bg-dark:   var(--navy-900);

  --text:        var(--slate-900);
  --text-muted:  var(--slate-500);
  --text-light:  var(--slate-400);
  --text-invert: #FFFFFF;

  --border:      var(--slate-200);
  --border-dark: var(--slate-300);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing (8px grid) */
  --sp-1:  0.25rem;   /* 4px  */
  --sp-2:  0.5rem;    /* 8px  */
  --sp-3:  0.75rem;   /* 12px */
  --sp-4:  1rem;      /* 16px */
  --sp-5:  1.25rem;   /* 20px */
  --sp-6:  1.5rem;    /* 24px */
  --sp-8:  2rem;      /* 32px */
  --sp-10: 2.5rem;    /* 40px */
  --sp-12: 3rem;      /* 48px */
  --sp-16: 4rem;      /* 64px */
  --sp-20: 5rem;      /* 80px */
  --sp-24: 6rem;      /* 96px */

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15,23,42,0.05);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.08), 0 2px 4px rgba(15,23,42,0.04);
  --shadow-lg: 0 12px 32px rgba(15,23,42,0.10), 0 4px 8px rgba(15,23,42,0.06);
  --shadow-xl: 0 24px 56px rgba(15,23,42,0.14), 0 8px 16px rgba(15,23,42,0.08);
  --shadow-2xl: 0 40px 80px rgba(15,23,42,0.18);
  --shadow-emerald:    0 4px 14px rgba(16,185,129,0.20);
  --shadow-emerald-lg: 0 8px 28px rgba(16,185,129,0.28);
  --shadow-navy:       0 4px 14px rgba(10,31,61,0.20);
  --shadow-navy-lg:    0 8px 28px rgba(10,31,61,0.28);

  /* Radius */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-2xl:  32px;
  --r-full: 9999px;

  /* Transitions */
  --t-fast:   150ms cubic-bezier(0.4,0,0.2,1);
  --t-base:   220ms cubic-bezier(0.4,0,0.2,1);
  --t-slow:   380ms cubic-bezier(0.4,0,0.2,1);
  --t-spring: 420ms cubic-bezier(0.34,1.56,0.64,1);

  /* Layout */
  --max-w:      1200px;
  --max-w-prose: 720px;
  --nav-h:       72px;

  /* Font-size aliases (compatibility avec espace-admin et autres pages) */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 0.9375rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;

  /* Legacy aliases (backward compat avec HTML existant) */
  --primary-bg:     var(--emerald-50);
  --primary-border: var(--emerald-100);
  --green-100: var(--emerald-100);
  --green-700: var(--emerald-700);
  --green-400: var(--emerald-400);
  --green-800: #065f46;
  --green-900: #064e3b;
  --blue-50: #eff6ff; --blue-100: #dbeafe; --blue-500: #3b82f6; --blue-600: #2563eb;
  --amber-50: #fffbeb; --amber-500: #f59e0b; --amber-600: #d97706;
  --red-50: #fef2f2; --red-500: #ef4444; --red-600: #dc2626;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 0.9375rem; /* 15px — V5 standard */
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.15; font-weight: 700; color: var(--slate-900); letter-spacing: -0.02em; }

/* ── Layout ── */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.wrap-sm {
  max-width: var(--max-w-prose);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.section    { padding-block: var(--sp-20); }
.section-sm { padding-block: var(--sp-12); }
.section-lg { padding-block: var(--sp-24); }

/* ── Typography ── */
.h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.03em; }
.h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; }
.h3 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); letter-spacing: -0.02em; }
.h4 { font-size: 1.125rem; letter-spacing: -0.01em; }

.lead { font-size: 1.125rem; line-height: 1.65; color: var(--text-muted); }
.kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--action);
}
.text-sm    { font-size: 0.875rem; }
.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.text-center   { text-align: center; }
.text-navy     { color: var(--navy-900); }
.text-emerald  { color: var(--action); }
.text-green    { color: var(--action); }

/* Gradient text accent */
.text-gradient {
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--emerald-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}
.section-header .kicker { margin-bottom: var(--sp-3); display: block; }
.section-header h2 { margin-bottom: var(--sp-4); }
.section-header p {
  max-width: 56ch;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: var(--sp-5); }
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }

/* ── Background helpers ── */
.bg-white  { background: var(--bg); }
.bg-soft   { background: var(--bg-soft); }
.bg-muted  { background: var(--bg-muted); }
.bg-green  { background: var(--emerald-50); }
.bg-navy   { background: var(--navy-900); color: var(--text-invert); }
.bg-dark   { background: var(--slate-900); color: var(--text-invert); }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(226,232,240,0.8);
  transition: box-shadow var(--t-base);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

/* Brand */
.nav-brand { display: flex; flex-direction: column; line-height: 1.15; flex-shrink: 0; }
.nav-brand-name {
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--emerald-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-brand-sub {
  font-size: 0.575rem;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 220px;
  line-height: 1.3;
}

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link {
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-link:hover  { color: var(--navy-700); background: var(--navy-50); }
.nav-link.active { color: var(--navy-700); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: var(--sp-3); flex-shrink: 0; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--sp-2);
  border: none;
  background: none;
  border-radius: var(--r-md);
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--t-base);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: white;
  z-index: 999;
  overflow-y: auto;
  padding: var(--sp-6);
  flex-direction: column;
  gap: var(--sp-2);
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { font-size: 1rem; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-lg); }
.nav-mobile .nav-actions { margin-top: var(--sp-4); flex-direction: column; }
.nav-mobile .btn { width: 100%; justify-content: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.375rem;  /* 12px 22px */
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--t-base);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primary — Navy */
.btn-primary {
  background: var(--navy-900);
  color: white;
  border-color: var(--navy-900);
  box-shadow: var(--shadow-navy);
}
.btn-primary:hover { background: var(--navy-800); border-color: var(--navy-800); box-shadow: var(--shadow-navy-lg); }

/* Success — Emerald */
.btn-success {
  background: var(--emerald-500);
  color: white;
  border-color: var(--emerald-500);
  box-shadow: var(--shadow-emerald);
}
.btn-success:hover { background: var(--emerald-600); border-color: var(--emerald-600); box-shadow: var(--shadow-emerald-lg); }

/* Outline navy */
.btn-primary-outline {
  background: transparent;
  color: var(--navy-700);
  border-color: var(--navy-600);
}
.btn-primary-outline:hover { background: var(--navy-50); }

/* Outline emerald */
.btn-success-outline {
  background: transparent;
  color: var(--emerald-600);
  border-color: var(--emerald-500);
}
.btn-success-outline:hover { background: var(--emerald-50); }

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--text); border-color: var(--border-dark); }

/* White (on dark bg) */
.btn-white {
  background: white;
  color: var(--navy-900);
  border-color: white;
  box-shadow: var(--shadow-md);
}
.btn-white:hover { box-shadow: var(--shadow-lg); }

/* Outline white (on dark bg) */
.btn-white-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn-white-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* Sizes */
.btn-sm  { padding: 0.5rem 0.875rem; font-size: 0.875rem; }
.btn-lg  { padding: 1rem 1.75rem; font-size: 1rem; }
.btn-xl  { padding: 1.125rem 2rem; font-size: 1.0625rem; }

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.badge-emerald { background: var(--emerald-100); color: var(--emerald-700); }
.badge-navy    { background: var(--navy-100); color: var(--navy-700); }
.badge-gold    { background: var(--gold-100); color: var(--gold-600); border: 1px solid #fcd34d; }
.badge-slate   { background: var(--slate-100); color: var(--slate-600); }
.badge-red     { background: #fee2e2; color: var(--red-600); }
.badge-coral   { background: var(--coral-50); color: #e55a4a; }
.badge-white   { background: white; color: var(--text); box-shadow: var(--shadow-sm); }
/* Legacy */
.badge-green { background: var(--emerald-100); color: var(--emerald-700); }
.badge-amber { background: var(--gold-100); color: var(--gold-600); border: 1px solid #fcd34d; }
.badge-blue  { background: #dbeafe; color: var(--blue-600); }

/* ── Cards ── */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-hover-emerald:hover { border-color: var(--emerald-100); }
.card-shadow { box-shadow: var(--shadow-md); border-color: transparent; }
.card-shadow:hover { box-shadow: var(--shadow-xl); }

/* Feature card */
.card-feature {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  text-align: center;
  transition: all var(--t-base);
}
.card-feature:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--emerald-100);
}
.card-feature .icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--r-lg);
  background: var(--emerald-50);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-4);
  font-size: 1.5rem;
  transition: transform var(--t-spring);
}
.card-feature:hover .icon-wrap { transform: scale(1.12); }
.card-feature h3 { margin-bottom: var(--sp-2); font-size: 1.0625rem; }
.card-feature p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ── Road hero background animation (unique vs concurrents) ── */
@keyframes road-move {
  from { transform: translateY(0); }
  to   { transform: translateY(60px); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}
@keyframes float-up {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero ── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
/* Radial ambient glows */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(16,185,129,0.09) 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(27,58,107,0.09) 0%, transparent 60%);
  pointer-events: none;
}
/* Road dashes */
.hero-road {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-road::before,
.hero-road::after {
  content: '';
  position: absolute;
  top: -60px;
  width: 3px;
  height: 200%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(16,185,129,0.18) 0px,
    rgba(16,185,129,0.18) 24px,
    transparent 24px,
    transparent 48px
  );
  animation: road-move 2s linear infinite;
}
.hero-road::before { left: 20%; }
.hero-road::after  { right: 20%; animation-delay: -1s; }
@media (prefers-reduced-motion: reduce) {
  .hero-road::before, .hero-road::after { animation: none; }
}
.hero-content { position: relative; z-index: 1; }

/* Live indicator */
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald-500);
  margin-right: 6px;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Trust items */
.trust-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.trust-item .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  color: var(--emerald-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* Hero booking card (side panel) */
.hero-booking-card {
  background: white;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  padding: var(--sp-6);
  position: relative;
  overflow: hidden;
}
.hero-booking-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-700), var(--emerald-500));
}
.booking-stat {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.booking-stat:last-child { border-bottom: none; }
.booking-stat-icon { font-size: 1.25rem; flex-shrink: 0; }
.booking-stat-label { color: var(--text-muted); font-size: 0.8125rem; }
.booking-stat-val   { font-weight: 700; color: var(--slate-900); }

/* ── Stats strip ── */
.stats-strip {
  background: var(--navy-50);
  border-top: 1px solid var(--navy-100);
  border-bottom: 1px solid var(--navy-100);
  padding-block: var(--sp-6);
}
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-10);
  justify-content: center;
  text-align: center;
}
.stat-num   { font-size: 1.75rem; font-weight: 800; color: var(--navy-700); line-height: 1; letter-spacing: -0.03em; }
.stat-label { font-size: 0.8125rem; color: var(--text-muted); margin-top: 4px; }

/* ── Two-path cards ── */
.path-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: var(--sp-6); }
.path-card {
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  border: 2px solid transparent;
  transition: all var(--t-base);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.path-card-training {
  background: linear-gradient(145deg, var(--emerald-50), #e6fff6);
  border-color: var(--emerald-100);
}
.path-card-training:hover { border-color: var(--emerald-500); }
.path-card-official {
  background: linear-gradient(145deg, var(--navy-50), #eef3ff);
  border-color: var(--navy-100);
}
.path-card-official:hover { border-color: var(--navy-600); }
.path-card-icon  { font-size: 2.5rem; margin-bottom: var(--sp-4); }
.path-card h3    { font-size: 1.25rem; margin-bottom: var(--sp-3); }
.path-card p     { font-size: 0.9rem; line-height: 1.6; margin-bottom: var(--sp-5); color: var(--text-muted); }
.path-price      { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: var(--sp-2); }
.path-card-training .path-price { color: var(--emerald-600); }
.path-card-official .path-price { color: var(--navy-700); }

/* ── Pricing cards ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: var(--sp-6);
  align-items: start;
}
.pricing-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  transition: all var(--t-base);
}
.pricing-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-3px); }

/* Featured — Emerald */
.pricing-card.featured {
  border-color: var(--emerald-500);
  box-shadow: 0 16px 36px rgba(16,185,129,0.18);
  background: linear-gradient(180deg, white 0%, var(--emerald-50) 100%);
  transform: translateY(-4px);
}
.pricing-card.featured:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(16,185,129,0.22); }

/* Recommended — Gold */
.pricing-card.recommended {
  border-color: var(--gold-500);
  box-shadow: 0 16px 36px rgba(244,185,66,0.15);
  transform: translateY(-2px);
}
.pricing-card.recommended:hover { transform: translateY(-6px); }

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--r-full);
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.featured .pricing-badge     { background: var(--emerald-500); color: white; }
.recommended .pricing-badge  { background: var(--gold-500); color: white; }

.pricing-name  { font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-600); margin-bottom: var(--sp-2); }
.pricing-price { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--navy-900); line-height: 1; margin-bottom: var(--sp-1); }
.pricing-price span { font-size: 0.875rem; font-weight: 400; color: var(--text-muted); }
.pricing-desc  { font-size: 0.875rem; color: var(--text-muted); margin-bottom: var(--sp-6); min-height: 2.8em; line-height: 1.5; }
.pricing-features {
  list-style: none;
  margin-bottom: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.pricing-features li .check {
  width: 18px; height: 18px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  color: var(--emerald-600);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 1px;
}
.featured   .pricing-price { color: var(--emerald-600); }
.recommended .pricing-price { color: var(--gold-600); }

/* ── Public cards ── */
.public-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  transition: all var(--t-base);
}
.public-card:hover {
  border-color: var(--emerald-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.public-card .emoji { font-size: 1.75rem; margin-bottom: var(--sp-3); display: block; }
.public-card h3 { font-size: 0.9375rem; font-weight: 700; margin-bottom: var(--sp-2); }
.public-card p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }

/* ── Steps ── */
.steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: var(--sp-6);
  counter-reset: step;
}
.step-item { position: relative; counter-increment: step; }
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy-900);
  color: white;
  font-size: 1.0625rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
  box-shadow: var(--shadow-navy);
}
.step-item h3 { font-size: 0.9375rem; font-weight: 700; margin-bottom: var(--sp-2); }
.step-item p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ── FAQ Accordion ── */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-base);
}
.faq-item.open { border-color: var(--emerald-100); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
  gap: var(--sp-4);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--slate-800);
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--navy-700); }
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--bg-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--text-muted);
  transition: transform var(--t-base), background var(--t-base);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--emerald-50); color: var(--emerald-600); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--t-slow) ease; }
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner {
  padding: 0 var(--sp-6) var(--sp-5);
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: white;
  text-align: center;
  padding-block: var(--sp-20);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(16,185,129,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: white; margin-bottom: var(--sp-4); position: relative; }
.cta-banner p  { color: rgba(255,255,255,0.7); margin-bottom: var(--sp-8); max-width: 52ch; margin-inline: auto; position: relative; }
.cta-banner .btn { position: relative; }

/* ── Info / Alert boxes ── */
.info-box {
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  border-left: 4px solid;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--blue-50);
  border-color: var(--blue-500);
}
.info-box.green  { background: var(--emerald-50); border-color: var(--emerald-500); color: #065f46; }
.info-box.amber  { background: var(--gold-50);    border-color: var(--gold-500);    color: #78350f; }
.info-box.red    { background: #fef2f2;            border-color: var(--red-500);     color: #7f1d1d; }
.info-box.navy   { background: var(--navy-50);     border-color: var(--navy-700);    color: var(--navy-800); }

/* ── Notice box (institutional) ── */
.notice-box {
  background: linear-gradient(135deg, var(--emerald-50), var(--emerald-100));
  border: 1px solid var(--emerald-100);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  text-align: center;
}
.notice-box h3 { color: var(--emerald-700); margin-bottom: var(--sp-3); }
.notice-box p  { color: var(--emerald-700); opacity: 0.85; font-size: 0.875rem; max-width: 52ch; margin-inline: auto; }

/* ── Testimonial ── */
.testimonial {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  transition: all var(--t-base);
}
.testimonial:hover { box-shadow: var(--shadow-md); }
.testimonial-stars  { color: var(--gold-500); font-size: 0.875rem; letter-spacing: 2px; margin-bottom: var(--sp-3); }
.testimonial-quote  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: var(--sp-4); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: var(--sp-3); }
.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy-100);
  border: 2px solid var(--navy-100);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--navy-700); font-size: 0.875rem;
}
.testimonial-name { font-size: 0.875rem; font-weight: 600; }
.testimonial-meta { font-size: 0.75rem; color: var(--text-light); }

/* ── Layout 2col ── */
.layout-2col {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-10);
  align-items: start;
}
.sidebar-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-6));
  box-shadow: var(--shadow-sm);
}

/* ── Comparison table (game-changer vs concurrents) ── */
.comparison-table {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.comparison-table thead th {
  padding: var(--sp-4) var(--sp-5);
  background: var(--navy-900);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
}
.comparison-table thead th:first-child { text-align: left; background: var(--slate-800); }
.comparison-table thead th.highlight { background: var(--emerald-500); }
.comparison-table td { padding: var(--sp-4) var(--sp-5); font-size: 0.875rem; border-bottom: 1px solid var(--border); text-align: center; }
.comparison-table td:first-child { text-align: left; font-weight: 600; color: var(--text); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--bg-soft); }
.cmp-yes  { color: var(--emerald-500); font-size: 1.125rem; }
.cmp-no   { color: var(--slate-300); font-size: 1.125rem; }
.cmp-part { color: var(--gold-500); font-size: 1.125rem; }

/* ── Page hero ── */
.page-hero {
  padding-top: calc(var(--nav-h) + var(--sp-12));
  padding-bottom: var(--sp-12);
  background: linear-gradient(to bottom, var(--navy-50), var(--bg));
  border-bottom: 1px solid var(--navy-100);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 500px; height: 100%;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(16,185,129,0.06), transparent 70%);
  pointer-events: none;
}
.page-hero .kicker  { margin-bottom: var(--sp-3); }
.page-hero h1       { margin-bottom: var(--sp-4); }
.page-hero p        { max-width: 56ch; color: var(--text-muted); font-size: 1.0625rem; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: 0.875rem; color: var(--text-muted); flex-wrap: wrap;
  margin-bottom: var(--sp-4);
}
.breadcrumb a:hover { color: var(--navy-700); }
.breadcrumb .sep { color: var(--text-light); }

/* ── Forms ── */
.form-group   { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-label   { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.form-label .req { color: var(--red-500); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  color: var(--text);
  background: white;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
}
.form-hint { font-size: 0.75rem; color: var(--text-light); }

/* ── Table ── */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
thead tr { background: var(--bg-soft); }
th { padding: var(--sp-4) var(--sp-5); text-align: left; font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); border-bottom: 1px solid var(--border); letter-spacing: 0.03em; text-transform: uppercase; }
td { padding: var(--sp-4) var(--sp-5); font-size: 0.875rem; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-soft); }

/* ── Tabs ── */
.tabs {
  display: flex;
  gap: var(--sp-2);
  background: var(--bg-soft);
  border-radius: var(--r-full);
  padding: 4px;
  width: fit-content;
  margin-bottom: var(--sp-8);
  border: 1px solid var(--border);
}
.tab {
  padding: 8px 20px;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--text-muted);
  transition: all var(--t-base);
}
.tab.active { background: white; color: var(--navy-700); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin-block: var(--sp-8); }

/* ── Legal disclaimer ── */
.legal-disclaimer {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.65;
  padding: var(--sp-4) var(--sp-5);
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}

/* ── Scroll reveal ── */
.reveal   { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-l { opacity: 0; transform: translateX(-20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-r { opacity: 0; transform: translateX(20px);  transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible, .reveal-l.visible, .reveal-r.visible { opacity: 1; transform: translate(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ── Footer ── */
.footer {
  background: var(--navy-900);
  color: white;
  padding-block: var(--sp-16);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--sp-10);
  margin-bottom: var(--sp-10);
}
.footer-brand-name {
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, white 0%, var(--emerald-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-2);
}
.footer-brand-sub  { font-size: 0.625rem; color: rgba(255,255,255,0.4); margin-bottom: var(--sp-4); line-height: 1.4; max-width: 28ch; }
.footer-brand-desc { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.65; max-width: 28ch; }
.footer-col h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--sp-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--emerald-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-6);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color var(--t-fast); }
.footer-bottom a:hover { color: var(--emerald-400); }

/* ── Cookie banner ── */
#cookieBanner {
  position: fixed;
  bottom: var(--sp-4);
  left: var(--sp-4);
  right: var(--sp-4);
  max-width: 600px;
  background: var(--navy-900);
  color: white;
  border-radius: var(--r-xl);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: var(--shadow-2xl);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  z-index: 2000;
  flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,0.08);
}
#cookieBanner p { font-size: 0.875rem; color: rgba(255,255,255,0.75); flex: 1; }
.cookie-btns { display: flex; gap: var(--sp-2); flex-shrink: 0; }

/* ── Utility extras ── */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: var(--sp-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }
.cta-centered { text-align: center; margin-top: var(--sp-8); }
.cta-note { display: block; font-size: 0.75rem; color: var(--text-light); margin-top: var(--sp-2); text-align: center; }
.section-note { font-size: 0.875rem; color: var(--text-muted); font-style: italic; margin-top: var(--sp-4); }

/* Contact : appel sur terminal tactile, copie du numéro sur ordinateur */
.contact-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.contact-actions-stacked { flex-direction: column; align-items: stretch; }
.contact-actions-stacked .btn { width: 100%; justify-content: center; }
.contact-phone-mobile { display: none; }
.contact-phone-desktop { display: inline-flex; }
html.can-call .contact-phone-mobile { display: inline-flex; }
html.can-call .contact-phone-desktop { display: none; }
.contact-copy-status {
  flex-basis: 100%;
  min-height: 1.25rem;
  margin: 0;
  color: var(--emerald-700);
  font-size: 0.8125rem;
  font-weight: 600;
}
.contact-actions-stacked .contact-copy-status { text-align: center; }

.exercise-mockup { background: var(--bg-soft); border: 2px dashed var(--border-dark); border-radius: var(--r-xl); padding: var(--sp-8); text-align: center; }
.exercise-area { min-height: 160px; background: white; border: 1px solid var(--border); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-4); overflow: hidden; }
.exercise-visual { display: flex; align-items: center; justify-content: center; gap: var(--sp-3); flex-wrap: wrap; padding: var(--sp-4); }
.exercise-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--emerald-50); border: 2px solid var(--emerald-100); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: var(--emerald-700); transition: all var(--t-base); }
.exercise-dot--target { background: var(--emerald-500); color: white; border-color: var(--emerald-600); transform: scale(1.15); }
.exercise-dot--a { background: var(--emerald-50);  border-color: var(--emerald-100); color: var(--emerald-700); }
.exercise-dot--b { background: var(--navy-50);     border-color: var(--navy-100);   color: var(--navy-700); }
.exercise-dot--c { background: var(--gold-50);     border-color: var(--gold-100);   color: var(--gold-600); }
.exercise-dot--d { background: var(--slate-100);   border-color: var(--slate-300);  color: var(--slate-600); }
.exercise-dot--e { background: var(--coral-50);    border-color: #ffcdc9;           color: var(--coral-500); }
.exercise-meta { display: flex; justify-content: center; gap: var(--sp-4); font-size: 0.75rem; color: var(--text-muted); margin-top: var(--sp-2); }

.upsell-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: var(--sp-5); }
.upsell-card { background: white; border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--sp-6); text-align: center; transition: all var(--t-base); }
.upsell-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--emerald-100); }
.upsell-card .icon { font-size: 2rem; margin-bottom: var(--sp-3); }
.upsell-card h3 { font-size: 0.9375rem; margin-bottom: var(--sp-1); }
.upsell-card .price { font-size: 1.25rem; font-weight: 800; color: var(--navy-700); margin-bottom: var(--sp-2); }
.upsell-card p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: var(--sp-4); }

.danger-hover:hover { color: var(--red-600) !important; border-color: var(--red-500) !important; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .layout-2col { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-links, .nav-actions { display: none; }
  .burger { display: flex; }
  .section    { padding-block: var(--sp-12); }
  .section-lg { padding-block: var(--sp-16); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .pricing-card.featured, .pricing-card.recommended { transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom { flex-direction: column; }
  .comparison-table { font-size: 0.8125rem; }
}
@media (max-width: 480px) {
  .wrap { padding-inline: var(--sp-4); }
  .btn-xl { padding: var(--sp-4) var(--sp-5); font-size: 0.9375rem; }
  .trust-row { gap: var(--sp-3); }
  .path-cards { grid-template-columns: 1fr; }
  .hero-booking-card { display: none; } /* cache la card booking sur très petit écran */
  #cookieBanner { bottom: 0; left: 0; right: 0; border-radius: var(--r-xl) var(--r-xl) 0 0; }
}
@media print {
  .nav, .footer, .burger, .nav-mobile, .cta-banner { display: none; }
  body { padding-top: 0; }
}
