/* ===================================================
   PREPABROAD — CSS
   Design : Dynamique & Coloré
   =================================================== */

/* ---- Variables ---- */
:root {
  --primary: #5B5BD6;
  --primary-dark: #4543B5;
  --accent: #F97316;
  --accent-dark: #EA6A0A;
  --cyan: #22D3EE;
  --green: #16A34A;
  --yellow: #FDE047;
  --purple: #A855F7;
  --dark: #13111A;
  --dark-2: #1E1B2E;
  --text: #2D2D3A;
  --text-light: #6B6B80;
  --bg: #FAFAF6;
  --bg-soft: #F2EFE9;
  --border: #E0DDD7;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.13);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section ---- */
.section { padding: 96px 0; }
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin: 12px 0 16px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
}

/* ---- Tags ---- */
.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- Gradient text ---- */
.gradient-text {
  color: var(--accent);
}

/* ---- Highlight / Mark ---- */
.mark {
  background: var(--yellow);
  color: var(--dark);
  padding: 1px 6px;
  border-radius: 3px;
  font-style: normal;
}

/* ---- Underline accent ---- */
.underline-accent {
  position: relative;
  display: inline-block;
}
.underline-accent::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-sm); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99,102,241,0.5);
}
.btn-outline {
  border: 2px solid var(--border);
  color: var(--dark);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-gradient {
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: #fff;
  box-shadow: 0 4px 20px rgba(249,115,22,0.35);
}
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,115,22,0.45);
}
.btn-nav {
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
}
.btn-nav:hover { background: var(--primary-dark); }
.btn-arrow { transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ===================================================
   NAVBAR
   =================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
}
/* Sur fond sombre (hero), forcer les liens en blanc */
.navbar:not(.scrolled) .nav-links a {
  color: rgba(255,255,255,0.7);
}
.navbar:not(.scrolled) .nav-links a:hover,
.navbar:not(.scrolled) .nav-links a.active {
  color: #fff;
}
.navbar:not(.scrolled) .logo { color: #fff; }
.navbar:not(.scrolled) .burger span { background: #fff; }
.navbar.scrolled {
  background: rgba(250,250,246,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-img {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
/* Par défaut : logo sombre visible, logo clair caché */
.logo-light { display: none; }
.logo-dark  { display: block; }

/* Sur fond sombre (navbar transparente homepage + footer) */
.navbar:not(.scrolled) .logo-dark,
.footer .logo-dark  { display: none; }
.navbar:not(.scrolled) .logo-light,
.footer .logo-light { display: block; }

/* Nom à côté du logo */
.logo-name {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.logo-name strong {
  color: var(--accent);
  font-weight: 800;
}
.navbar:not(.scrolled) .logo-name,
.footer .logo-name { color: #fff; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active {
  color: var(--primary);
  font-weight: 700;
}
.btn-nav-espace {
  border: 1.5px solid rgba(91,91,214,0.35);
  color: var(--primary) !important;
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 600 !important;
  transition: background 0.2s, border-color 0.2s !important;
}
.btn-nav-espace:hover {
  background: rgba(91,91,214,0.07);
  border-color: var(--primary);
  color: var(--primary) !important;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===================================================
   NAV DROPDOWN (Ressources)
   =================================================== */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  padding: 0;
  transition: color 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.nav-dropdown-trigger:hover { color: var(--primary); }
.nav-dropdown-trigger.active { color: var(--primary); font-weight: 700; }
.nav-chevron {
  font-size: 0.7rem;
  transition: transform 0.2s;
  line-height: 1;
  display: inline-block;
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 16px 8px 8px;
  min-width: 220px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 200;
  list-style: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text) !important;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: var(--bg-soft);
  color: var(--primary) !important;
}
.nav-dropdown-menu a.active {
  color: var(--primary) !important;
  font-weight: 700;
}
/* Sur fond sombre (hero transparent) */
.navbar:not(.scrolled) .nav-dropdown-trigger { color: rgba(255,255,255,0.7); }
.navbar:not(.scrolled) .nav-dropdown-trigger:hover,
.navbar:not(.scrolled) .nav-dropdown-trigger.active { color: #fff; }

/* ===================================================
   HERO
   =================================================== */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
/* Grain texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  z-index: 0;
  pointer-events: none;
}
/* Warm glow */
.hero::after {
  content: '';
  position: absolute;
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(249,115,22,0.18) 0%, transparent 70%);
  top: -100px; right: -150px;
  pointer-events: none;
  z-index: 0;
}
.hero-bg { display: none; }
.hero-content-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 820px;
}
.hero-visual { display: none; }

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(3rem, 7.5vw, 5.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 0;
  letter-spacing: -0.025em;
}
.hero-title-accent {
  color: var(--accent);
  display: block;
}
.hero-slogan {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-style: italic;
  color: rgba(255,255,255,0.45);
  margin: 32px 0 32px;
  padding-left: 22px;
  border-left: 3px solid var(--accent);
  line-height: 1.55;
  max-width: 540px;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-subtitle-2 { display: none; }
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}
.btn-ghost.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

.hero-destinations {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-destinations-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 4px;
}
.hero-destinations span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
}

/* Blob kept for sub-pages only */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}
.blob-1 {
  width: 500px; height: 500px;
  background: var(--primary);
  top: -150px; right: -80px;
}
.blob-2 {
  width: 350px; height: 350px;
  background: var(--accent);
  bottom: -80px; left: -80px;
}
.blob-3 { display: none; }

/* ===================================================
   POUR QUI
   =================================================== */
.pourqui { padding: 72px 0; background: var(--dark); }
.pourqui-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
}
.pourqui-card {
  padding: 48px 40px;
  background: rgba(255,255,255,0.03);
  transition: background var(--transition);
}
.pourqui-card:hover { background: rgba(255,255,255,0.06); }
.pourqui-card[data-color="orange"] { border-top: 3px solid var(--accent); }
.pourqui-card[data-color="blue"] { border-top: 3px solid var(--primary); }
.pourqui-icon { font-size: 2.5rem; margin-bottom: 20px; }
.pourqui-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.pourqui-hint {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.03em;
  margin-top: 8px;
  transition: opacity 0.25s, height 0.25s;
}
.pourqui-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease;
}
.pourqui-card:hover .pourqui-hint { opacity: 0; }
.pourqui-card:hover .pourqui-body { max-height: 220px; opacity: 1; }
.pourqui-card p { color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 16px; }
.pourqui-link {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  transition: letter-spacing 0.2s;
}
.pourqui-card[data-color="blue"] .pourqui-link { color: var(--primary); filter: brightness(1.4); }
.pourqui-link:hover { letter-spacing: 0.03em; }

/* ===================================================
   RESSOURCES
   =================================================== */
.ressources { background: var(--bg); }
.ressources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ressource-card {
  padding: 28px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: all var(--transition);
}
.ressource-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.ressource-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
}
.ressource-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.ressource-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}
.card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  transition: gap 0.2s;
}
.card-link:hover { text-decoration: underline; }

/* ===================================================
   ETAPES — STICKY SCROLL (Apple-style)
   =================================================== */
.etapes-wrapper {
  /* height set dynamically by JS on desktop */
}
.etapes {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.etapes-container { width: 100%; }
.etapes-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: center;
}

/* Colonne gauche */
.etapes-meta .section-tag {
  background: rgba(255,255,255,0.1);
  color: var(--cyan);
}
.etapes-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 20px 0 36px;
}
.etapes-counter {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}
.etapes-num {
  font-family: 'Sora', sans-serif;
  font-size: 5.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  transition: opacity 0.3s;
}
.etapes-total {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
}
.etapes-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 32px;
}
.etapes-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: all 0.35s ease;
  flex-shrink: 0;
}
.etapes-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 4px;
}
.etapes-scroll-hint {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* Colonne droite : étapes */
.etapes-steps-wrap {
  position: relative;
  min-height: 320px;
}
.etapes-step {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.etapes-step.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.etapes-step-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.75;
}
.etapes-step h3 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.etapes-step p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  max-width: 520px;
}

/* ===================================================
   PACKS
   =================================================== */
.packs { background: var(--bg-soft); }
.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.packs-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.pack-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 2px solid var(--border);
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.pack-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pack-popular {
  border-color: var(--primary);
  box-shadow: 0 16px 48px rgba(99,102,241,0.2);
}
.pack-popular:hover { transform: translateY(-6px); }
.pack-horizon { border-color: #0EA5E9; box-shadow: 0 12px 36px rgba(14,165,233,0.15); }
.pack-premium { border-color: var(--accent); }

.pack-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Pack top (always visible) */
.pack-top {
  display: flex;
  flex-direction: column;
}
.pack-emoji { font-size: 2rem; display: block; margin-bottom: 12px; }
.pack-top h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.pack-tagline {
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 0;
  line-height: 1.4;
  min-height: 2.8em; /* 2 lignes fixes pour aligner le prix */
}
.pack-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.price-amount {
  font-family: 'Sora', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
}
.price-note { font-size: 0.82rem; color: var(--text-light); white-space: nowrap; }

/* Toggle button */
.pack-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 0;
}
.pack-toggle:hover {
  background: var(--border);
  color: var(--dark);
}
.pack-toggle-arrow {
  transition: transform 0.3s ease;
  display: inline-block;
}
.pack-toggle[aria-expanded="true"] .pack-toggle-arrow {
  transform: rotate(180deg);
}

/* Collapsible details */
.pack-details {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.pack-details.is-open {
  max-height: 960px;
}
.pack-features {
  padding: 12px 0 8px;
  margin: 0;
}
.pack-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.875rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.pack-features li:last-child { border-bottom: none; }
.pack-features .check { color: var(--green); font-weight: 700; flex-shrink: 0; }
.pack-features .disabled { color: var(--text-light); text-decoration: line-through; }
.pack-features .disabled span { color: #CBD5E1; text-decoration: none; display: inline-block; }

/* CTA toujours en bas */
.pack-cta { margin-top: auto; padding-top: 16px; white-space: normal; text-align: center; }

.packs-note {
  text-align: center;
  margin-top: 36px;
  color: var(--text-light);
  font-size: 0.95rem;
}
.packs-note a { color: var(--primary); font-weight: 600; }
.packs-note a:hover { text-decoration: underline; }

/* ── Grille 3 colonnes (même que default packs-grid) ── */
.packs-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ── Sous-détail facturation ── */
.pack-billing-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.billing-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}
.billing-platform { background: #EFF6FF; color: #1D4ED8; }
.billing-coach    { background: #F0FDF4; color: #15803D; }

/* ── Période de prix ── */
.price-period {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
  white-space: nowrap;
}

/* ── Session découverte link ── */
.pack-session-gratuite {
  text-align: center;
  margin-bottom: 8px;
}
.session-link {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.session-link:hover { text-decoration: underline; }

/* ── Modèle explicatif double facture ── */
.pricing-model-explainer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 36px;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.pricing-model-half { flex: 1; }
.pricing-model-icon { font-size: 2rem; margin-bottom: 8px; }
.pricing-model-half h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.pricing-model-half p { font-size: 0.83rem; color: var(--text-light); line-height: 1.5; }
.pricing-model-sep {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  flex-shrink: 0;
}

/* ── Bannière L'Explorateur (freemium) ── */
.explorer-banner {
  margin-top: 36px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1.5px solid #86efac;
  border-radius: var(--radius);
  padding: 28px 36px;
}
.explorer-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.explorer-banner-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.explorer-badge {
  display: inline-block;
  background: #22c55e;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  width: fit-content;
  margin-bottom: 4px;
}
.explorer-banner-text strong {
  font-size: 1.05rem;
  color: var(--dark);
}
.explorer-banner-text p {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin: 0;
}
.explorer-cta {
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .explorer-banner-inner { flex-direction: column; align-items: flex-start; }
  .explorer-cta { width: 100%; text-align: center; }
}


/* ── Upsell heures supplémentaires ── */
.upsell-hours-banner {
  margin-top: 36px;
  background: linear-gradient(135deg, #F5F3FF, #EEF2FF);
  border: 1.5px solid #C7D2FE;
  border-radius: var(--radius);
  padding: 20px 28px;
}
.upsell-hours-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.upsell-hours-icon { font-size: 2rem; flex-shrink: 0; }
.upsell-hours-inner > div { flex: 1; min-width: 220px; }
.upsell-hours-inner strong { font-size: 0.95rem; color: var(--dark); display: block; margin-bottom: 4px; }
.upsell-hours-inner p { font-size: 0.85rem; color: var(--text-light); margin: 0; }

/* ── Tableau comparatif ── */
.pricing-compare-table {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pricing-compare-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.875rem;
}
.pricing-compare-table th,
.pricing-compare-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.pricing-compare-table th:first-child,
.pricing-compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
  min-width: 200px;
}
.pricing-compare-table th {
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}
.pricing-compare-table th:first-child { border-radius: var(--radius) 0 0 0; background: #1E1B2E; color: #fff; }
.pricing-compare-table th:last-child  { border-radius: 0 var(--radius) 0 0; }
.pricing-compare-table th span { display: block; font-weight: 400; font-size: 0.78rem; opacity: 0.75; margin-top: 2px; }
.pricing-compare-table .col-popular { background: #F5F3FF; font-weight: 600; color: var(--primary); }
.pricing-compare-table th.col-popular { background: var(--primary); color: #fff; }
.pricing-compare-table th.col-popular span { opacity: 0.85; }
.pricing-compare-table tr:last-child td { border-bottom: none; }
.pricing-compare-table tr:hover td { background: var(--bg-soft); }
.pricing-compare-table tr:hover td.col-popular { background: #EDE9FF; }

/* ===================================================
   TEMOIGNAGES
   =================================================== */
.temoignages { background: #fff; }
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.temoignage-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.temoignage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.stars { color: #FBBF24; font-size: 1.1rem; margin-bottom: 16px; }
.temoignage-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}
.temoignage-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.temoignage-author strong { display: block; font-size: 0.9rem; color: var(--dark); }
.temoignage-author span { font-size: 0.8rem; color: var(--text-light); }

/* ===================================================
   BLOG
   =================================================== */
.blog { background: var(--bg-soft); }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.blog-featured {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}
.blog-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(99,102,241,0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.4;
}
.blog-featured h3 { font-size: 1.35rem; }
.blog-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.blog-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 20px;
}
.blog-cta { text-align: center; margin-top: 40px; }

/* ===================================================
   QUIZ
   =================================================== */
.quiz-section { background: var(--bg-soft); }
.quiz-box {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 48px rgba(0,0,0,0.07);
  overflow: hidden;
}
.quiz-progress-wrap {
  height: 4px;
  background: var(--border);
}
.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  transition: width 0.5s ease;
}
.quiz-inner {
  padding: 48px 52px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quiz-step-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}
.quiz-question {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 36px;
}
.quiz-answers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quiz-answer-btn {
  padding: 16px 22px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  text-align: left;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}
.quiz-answer-btn::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  transition: all 0.2s;
}
.quiz-answer-btn:hover {
  border-color: var(--primary);
  background: rgba(91,91,214,0.04);
  color: var(--primary);
  transform: translateX(4px);
}
.quiz-answer-btn:hover::before {
  border-color: var(--primary);
  background: var(--primary);
}
/* Résultat final */
.quiz-result {
  text-align: center;
  padding: 16px 0;
  animation: quizReveal 0.5s ease forwards;
}
@keyframes quizReveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-result-emoji { font-size: 4rem; margin-bottom: 16px; }
.quiz-result h3 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.quiz-result p { color: var(--text-light); line-height: 1.7; margin-bottom: 28px; }
.quiz-result-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.quiz-restart {
  background: none;
  border: none;
  font-size: 0.85rem;
  color: var(--text-light);
  cursor: pointer;
  text-decoration: underline;
  margin-top: 16px;
  display: block;
  margin-left: auto; margin-right: auto;
}
.quiz-restart:hover { color: var(--text); }

/* ===================================================
   FAQ
   =================================================== */
.faq { background: #fff; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-soft); }
.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-answer.open { max-height: 300px; }
.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===================================================
   CONTACT
   =================================================== */
.contact { background: var(--bg-soft); }
.contact-box {
  background: #fff;
  border-radius: 24px;
  padding: 64px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
  overflow: hidden;
}
.contact-form { min-width: 0; }
.contact-content .section-tag { margin-bottom: 16px; }
.contact-content h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.contact-content p { color: var(--text-light); line-height: 1.7; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 20px; }
.radio-group { display: flex; gap: 16px; margin-top: 4px; }
.radio-option { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 0.9rem; cursor: pointer; }
.radio-option input[type="radio"] { accent-color: var(--primary); width: 16px; height: 16px; cursor: pointer; }

/* Cartes radio inscription */
.signup-usertype-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}
.signup-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border: 2px solid var(--border, #e5e7eb);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: center;
}
.signup-type-card input[type="radio"] { display: none; }
.signup-type-card:has(input:checked) {
  border-color: var(--primary);
  background: #f5f3ff;
}
.signup-type-icon { font-size: 1.5rem; }
.signup-type-label { font-size: 0.88rem; font-weight: 600; color: var(--dark); }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--bg-soft);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); background: #fff; }
.form-group textarea { resize: vertical; }
.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 12px;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 72px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.social-links a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s;
}
.social-links a:hover { background: var(--primary); }
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; }
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-legal a:hover { color: #fff; }

/* ===================================================
   ANIMATIONS
   =================================================== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s ease forwards;
}
.animate-fade-right {
  opacity: 0;
  transform: translateX(40px);
  animation: fadeRight 0.9s ease 0.3s forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
  to { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ===================================================
   COUNTRY SHOWCASE (choisir-son-pays.html)
   =================================================== */
.country-showcase {
  position: relative;
  height: 75vh;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.showcase-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transition: opacity 0.35s ease;
}
.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.35) 55%,
    rgba(0,0,0,0.1) 100%);
}
.showcase-content {
  position: relative;
  z-index: 1;
  padding-bottom: 88px;
}
.showcase-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.showcase-flag {
  font-size: 3.5rem;
  margin-bottom: 10px;
  line-height: 1;
}
.showcase-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 10px;
  transition: opacity 0.25s;
}
.showcase-city {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  transition: opacity 0.25s;
}
.showcase-tabs-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(14px);
}
.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 12px 20px;
  flex-wrap: wrap;
}
.showcase-tab {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.showcase-tab:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.showcase-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ===================================================
   PAGE HERO (sous-pages)
   =================================================== */
.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg .blob { opacity: 0.08; }
.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.page-hero-content .section-tag {
  background: rgba(255,255,255,0.1);
  color: var(--cyan);
  margin-bottom: 20px;
}
.page-hero-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}
.page-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Hero home layout update */
.hero-content-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ===================================================
   QUI SOMMES-NOUS
   =================================================== */
.founder-section {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
  align-items: start;
}
.founder-portrait {
  position: sticky;
  top: 100px;
}
.founder-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 33%;
  display: block;
  margin-bottom: 20px;
  border: 3px solid var(--border);
  box-shadow: var(--shadow);
}
.founder-id { margin-bottom: 24px; }
.founder-id strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}
.founder-id span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
}
.founder-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  background: rgba(249,115,22,0.1);
  color: var(--accent);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}
.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 14px;
  background: #0A66C2;
  color: #fff;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.founder-linkedin:hover {
  background: #004182;
  transform: translateY(-1px);
}
.founder-quote {
  padding: 20px;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.founder-quote::before {
  content: '"';
  display: block;
  font-size: 3rem;
  color: var(--accent);
  line-height: 0.5;
  margin-bottom: 12px;
  font-style: normal;
}

.founder-story .section-tag { margin-bottom: 16px; }
.founder-story-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 32px;
}
.founder-story p {
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 1.02rem;
}
.founder-story p strong { color: var(--dark); font-weight: 700; }
.founder-section-reverse {
  grid-template-columns: 1fr 320px;
}
.founder-section-reverse .founder-portrait {
  order: 2;
}
.founder-section-reverse .founder-story {
  order: 1;
}
.founder-avatar-initial {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 3px solid var(--border);
  box-shadow: var(--shadow);
}
.story-slogan {
  margin-top: 36px;
  padding: 28px 32px;
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  line-height: 1.55;
  border-radius: var(--radius);
  position: relative;
}
.story-slogan::before {
  content: '"';
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.3;
  font-style: normal;
  position: absolute;
  top: -10px; left: 20px;
  line-height: 1;
}

/* Concret grid (dark section) */
.concret-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.concret-card {
  padding: 40px 36px;
  background: rgba(255,255,255,0.03);
  transition: background var(--transition);
}
.concret-card:hover { background: rgba(255,255,255,0.06); }
.concret-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 16px;
  line-height: 1;
}
.concret-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.concret-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.valeur-card {
  padding: 28px 20px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.valeur-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.valeur-emoji { font-size: 2rem; margin-bottom: 14px; }
.valeur-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.valeur-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; }

.team-coming-soon {
  text-align: center;
  padding: 64px 40px;
  background: var(--bg-soft);
  border-radius: 24px;
  border: 2px dashed var(--border);
  max-width: 600px;
  margin: 0 auto;
}
.coming-soon-icon { font-size: 4rem; margin-bottom: 20px; }
.team-coming-soon h3 { font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.team-coming-soon p { color: var(--text-light); line-height: 1.7; margin-bottom: 28px; }

/* CTA section générique */
.cta-section { background: #fff; }
.cta-box {
  text-align: center;
  padding: 72px 48px;
  background: linear-gradient(135deg, var(--dark) 0%, #1E1B4B 100%);
  border-radius: 24px;
}
.cta-box h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-box p { color: rgba(255,255,255,0.65); margin-bottom: 36px; font-size: 1.05rem; }
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-box .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.cta-box .btn-outline:hover {
  border-color: #fff;
  color: #fff;
}

/* ===================================================
   CHOISIR SON PAYS
   =================================================== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 28px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.filter-label { font-size: 0.9rem; font-weight: 600; color: var(--text-light); margin-right: 4px; }
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border: 2px solid var(--border);
  background: #fff;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(99,102,241,0.06);
}

.pays-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.pays-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.pays-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pays-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.pays-flag { font-size: 3rem; }
.pays-name { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.pays-region-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(99,102,241,0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
}
.pays-desc {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.pays-infos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.pays-info-item {
  background: var(--bg-soft);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}
.info-label { display: block; font-size: 0.78rem; color: var(--text-light); margin-bottom: 4px; }
.info-value { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.pays-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pays-tag {
  padding: 4px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--text-light);
}
.pays-btn { width: 100%; justify-content: center; }

/* ===================================================
   PAYS PAGE V2 — cartes visuelles & overlay
   =================================================== */

/* Hero */
.pays-page-hero {
  padding: 130px 0 70px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  text-align: center;
  color: white;
}
.pays-page-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}
.pays-page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.68);
  max-width: 540px;
  margin: 0 auto;
}
.pays-page-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Grid */
.pays-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pays-card-v2 {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  min-height: 300px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s;
  user-select: none;
}
.pays-card-v2:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
.pcv2-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.pays-card-v2:hover .pcv2-bg { transform: scale(1.07); }
.pcv2-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
}
.pcv2-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px 24px;
  color: white;
}
.pcv2-flag { font-size: 2.25rem; display: block; margin-bottom: 8px; }
.pcv2-name {
  font-family: 'Sora', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.2;
}
.pcv2-cities { font-size: 0.8rem; opacity: 0.72; margin-bottom: 12px; }
.pcv2-region {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.pcv2-discover {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, calc(-50% + 16px));
  background: white;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.pays-card-v2:hover .pcv2-discover {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* Overlay pays */
.cdo-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.cdo-backdrop.open { opacity: 1; pointer-events: all; }
.cdo-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.cdo-overlay.open { pointer-events: all; }
.cdo-inner {
  background: var(--bg);
  width: 100%;
  max-height: 92vh;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -8px 60px rgba(0,0,0,0.3);
}
.cdo-overlay.open .cdo-inner { transform: translateY(0); }
.cdo-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 10;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 1rem;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.cdo-close:hover { background: rgba(0,0,0,0.55); transform: scale(1.08); }
.cdo-hero {
  position: relative;
  height: 45vh;
  min-height: 260px;
  flex-shrink: 0;
  overflow: hidden;
}
.cdo-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cdo-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}
.cdo-hero-content {
  position: absolute;
  bottom: 0; left: 0;
  padding: 32px 36px;
  color: white;
}
.cdo-hero-flag { font-size: 3rem; display: block; margin-bottom: 8px; }
.cdo-hero-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.cdo-hero-cities { font-size: 0.95rem; opacity: 0.8; }
.cdo-body { flex: 1; overflow-y: auto; padding: 32px 36px 40px; }
.cdo-desc { font-size: 1rem; line-height: 1.75; color: var(--text); margin-bottom: 28px; }
.cdo-infos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.cdo-info-item {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border);
}
.cdo-info-label { display: block; font-size: 0.75rem; color: var(--text-light); margin-bottom: 5px; }
.cdo-info-value { font-weight: 600; font-size: 0.9rem; color: var(--dark); }
.cdo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cdo-tag {
  background: rgba(91,91,214,0.09);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(91,91,214,0.15);
}
.cdo-cta { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .pays-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pays-grid-v2 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pays-card-v2 { min-height: 220px; }
  .pcv2-name { font-size: 1.05rem; }
  .cdo-hero { height: 38vh; }
  .cdo-body { padding: 24px 20px 32px; }
  .cdo-hero-content { padding: 20px 20px; }
  .cdo-infos-grid { grid-template-columns: 1fr; }
  .cdo-cta { flex-direction: column; }
}

/* ===================================================
   DÉMARCHES
   =================================================== */
.intro-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: #92400E;
  line-height: 1.6;
}
.intro-banner-icon { font-size: 1.25rem; flex-shrink: 0; }

.pays-selector { margin-bottom: 8px; }
.pays-selector-label { font-weight: 600; color: var(--text); margin-bottom: 14px; display: block; }
.pays-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pays-tab {
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 2px solid var(--border);
  color: var(--text);
  background: #fff;
  transition: all 0.2s;
}
.pays-tab:hover { border-color: var(--primary); color: var(--primary); }
.pays-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pays-content { display: none; }
.pays-content.active { display: block; }

.demarche-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--border);
}
.pays-flag-lg { font-size: 4rem; }
.demarche-header h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.demarche-header p { color: var(--text-light); }

.demarches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.demarche-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.demarche-step {
  display: flex;
  gap: 18px;
  padding: 0 0 28px 0;
  position: relative;
}
.demarche-step::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.demarche-step:last-child::before { display: none; }
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.demarche-step h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.demarche-step p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }

.docs-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.docs-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.docs-list { display: flex; flex-direction: column; gap: 8px; }
.docs-list li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.docs-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ===================================================
   TESTS & CERTIFICATIONS
   =================================================== */
.tests-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tests-intro-card {
  padding: 32px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.tests-intro-link { text-decoration: none; display: block; color: inherit; cursor: pointer; }
.tests-intro-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tests-intro-icon { font-size: 2rem; margin-bottom: 12px; }
.tests-intro-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.tests-intro-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; }
.tests-intro-list {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  font-family: monospace;
}

.test-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 28px;
  overflow: hidden;
  transition: all var(--transition);
}
.test-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.test-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.test-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.test-logo.toefl { background: linear-gradient(135deg, #1D4ED8, #3B82F6); }
.test-logo.ielts { background: linear-gradient(135deg, #059669, #10B981); }
.test-logo.cambridge { background: linear-gradient(135deg, #7C3AED, #A855F7); }
.test-logo.sat { background: linear-gradient(135deg, #D97706, #F59E0B); }
.test-logo.act { background: linear-gradient(135deg, #DC2626, #EF4444); }

.test-card-title { flex: 1; }
.test-card-title h2 { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.test-card-title p { font-size: 0.85rem; color: var(--text-light); }
.test-card-badge {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}
.test-card-body { padding: 32px; }
.test-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.test-info-block h4 { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.test-info-block ul { display: flex; flex-direction: column; gap: 6px; }
.test-info-block li {
  font-size: 0.85rem;
  color: var(--text-light);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.test-info-block li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.7rem;
  top: 2px;
}
.test-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.test-tag {
  padding: 4px 12px;
  background: rgba(99,102,241,0.08);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.test-vs-box {
  padding: 16px 20px;
  background: rgba(249,115,22,0.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.compare-table th {
  background: var(--dark);
  color: #fff;
  padding: 16px 20px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.compare-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--bg-soft); }
.compare-table td:first-child { font-weight: 600; color: var(--dark); }
.req {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(16,185,129,0.1);
  color: #059669;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.opt {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(100,116,139,0.1);
  color: var(--text-light);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.table-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .ressources-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content-wrap { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .packs-grid { grid-template-columns: repeat(2, 1fr); }
  .packs-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .packs-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pack-popular { transform: none; }
  .pack-popular:hover { transform: translateY(-6px); }
  .pricing-model-explainer { flex-direction: column; gap: 16px; padding: 20px; }
  .pricing-model-sep { transform: rotate(90deg); }
  .contact-box { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .founder-section { grid-template-columns: 1fr; gap: 40px; }
  .founder-section-reverse { grid-template-columns: 1fr; }
  .founder-section-reverse .founder-portrait { order: 0; }
  .founder-section-reverse .founder-story { order: 1; }
  .founder-portrait { position: static; }
  .valeurs-grid { grid-template-columns: repeat(2, 1fr); }
  .concret-grid { grid-template-columns: 1fr; }
  .pays-grid { grid-template-columns: 1fr; }
  .demarches-grid { grid-template-columns: 1fr; }
  .tests-intro-grid { grid-template-columns: 1fr; }
  .test-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .packs-grid-4 { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .packs-grid-3 { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .upsell-hours-inner { flex-direction: column; text-align: center; }
  .quiz-inner { padding: 32px 24px; }
  /* Etapes : disable sticky on mobile */
  .etapes-wrapper { height: auto !important; }
  .etapes { position: static; height: auto; padding: 72px 0; }
  .etapes-layout { grid-template-columns: 1fr; gap: 40px; }
  .etapes-meta { text-align: center; }
  .etapes-counter { justify-content: center; }
  .etapes-dots { justify-content: center; }
  .etapes-scroll-hint { display: none; }
  .etapes-steps-wrap { position: static; min-height: auto; }
  .etapes-step {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .etapes-step:last-child { margin-bottom: 0; border-bottom: none; }
  .section { padding: 72px 0; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15,23,42,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 99;
    overflow-y: auto;
    padding: 40px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: #fff; font-size: 1.15rem; }
  .nav-links .btn-nav { font-size: 1rem; }
  /* Mon espace — bouton visible dans le menu mobile */
  .nav-links .btn-nav-espace {
    color: #fff !important;
    border-color: rgba(255,255,255,0.4) !important;
    padding: 10px 28px;
    font-size: 1.05rem;
  }
  .nav-links .btn-nav-espace:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff !important;
  }
  .burger { display: flex; z-index: 200; }
  /* Navbar toujours visible sur mobile */
  .navbar {
    background: rgba(250,250,246,0.97);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .navbar .burger span { background: var(--dark); }
  .navbar .logo-name { color: var(--dark); }
  .navbar .logo-dark { display: block !important; }
  .navbar .logo-light { display: none !important; }
  .nav-dropdown { width: 100%; text-align: center; }
  .nav-dropdown-trigger { color: #fff; font-size: 1.15rem; justify-content: center; }
  .nav-chevron { display: none; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px 0 0;
    min-width: auto;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav-dropdown-menu a { color: rgba(255,255,255,0.7) !important; padding: 0; font-size: 1rem; }
  .nav-dropdown-menu a:hover { background: transparent; color: #fff !important; }
  .nav-dropdown-menu a.active { color: #fff !important; }
  .pourqui-grid { grid-template-columns: 1fr; }
  .ressources-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured { grid-row: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .contact-box { padding: 28px 20px; gap: 24px; }
  .contact-box .contact-content { text-align: center; }
  .contact-box .section-tag { margin: 0 auto 12px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; } /* Prevent iOS zoom on focus */
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .timeline::before { left: 28px; }
  .timeline-number { width: 56px; height: 56px; }
  .valeurs-grid { grid-template-columns: 1fr; }
  .concret-grid { grid-template-columns: 1fr; }
  .pays-infos { grid-template-columns: 1fr; }
  .demarche-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pays-tabs { gap: 8px; }
  .pays-tab { font-size: 0.82rem; padding: 8px 14px; }
  .tests-intro-grid { grid-template-columns: 1fr; }
  .test-card-header { flex-wrap: wrap; }
  .test-info-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-box { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .section-header h2 { font-size: 1.75rem; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ===================================================
   ARTICLES — Listing page
   =================================================== */
.articles-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2d2a40 100%);
  padding: 80px 0 60px;
}
.articles-hero .breadcrumb {
  font-size: 0.83rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
}
.articles-hero .breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.articles-hero .breadcrumb a:hover { color: #fff; }
.articles-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}
.articles-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin-bottom: 32px;
}
/* Search bar */
.articles-search-wrap {
  position: relative;
  max-width: 480px;
  margin-bottom: 28px;
}
.articles-search-wrap input {
  width: 100%;
  padding: 13px 20px 13px 46px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s;
}
.articles-search-wrap input::placeholder { color: rgba(255,255,255,0.45); }
.articles-search-wrap input:focus { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.14); }
.articles-search-wrap .search-icon {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  pointer-events: none;
  opacity: 0.6;
}
/* Filter tags */
.articles-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
  margin-bottom: 8px;
}
.filter-tag {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s;
}
.filter-tag:hover { border-color: rgba(255,255,255,0.55); color: #fff; }
.filter-tag.active { background: #fff; color: var(--dark); border-color: #fff; }
.articles-section { padding: 64px 0 80px; }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.article-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--transition), box-shadow 0.25s var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(91,91,214,0.10); border-color: rgba(91,91,214,0.25); }
.article-card-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #f0edff, #e0dbff);
}
.article-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.article-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(91,91,214,0.10);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 12px;
}
.article-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.35;
}
.article-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}
.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}
.article-card-meta a { color: var(--accent); font-weight: 700; text-decoration: none; }
.article-card-meta a:hover { text-decoration: underline; }

/* ===================================================
   ARTICLE — Single page
   =================================================== */
.article-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2d2a40 100%);
  padding: 120px 0 60px;
}
.article-hero .breadcrumb {
  font-size: 0.83rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
}
.article-hero .breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.article-hero .breadcrumb a:hover { color: #fff; }
.article-hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(91,91,214,0.25);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 18px;
}
.article-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 760px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 6px; }
/* TOC sidebar button */
.toc-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 14px;
  border-radius: 50px;
  background: #2563eb;
  color: #fff;
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s, transform 0.15s;
}
.toc-cta-btn:hover { background: #1d4ed8; transform: translateY(-1px); }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  padding: 56px 0 80px;
  align-items: start;
}
/* TOC */
.article-toc {
  position: sticky;
  top: 90px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.article-toc h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 14px;
}
.article-toc ul { list-style: none; padding: 0; margin: 0; }
.article-toc li { margin-bottom: 2px; }
.article-toc a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}
.article-toc a:hover, .article-toc a.active { background: rgba(91,91,214,0.08); color: var(--primary); }
.article-toc .toc-cta-btn { color: #fff !important; background: #2563eb; padding: 10px 14px; }
/* Article body */
.article-body { min-width: 0; }
.article-body h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin: 44px 0 16px;
  padding-top: 16px;
  scroll-margin-top: 100px;
  border-top: 2px solid var(--border);
}
.article-body h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.article-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 28px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-body p { font-size: 0.97rem; color: #374151; line-height: 1.8; margin-bottom: 16px; }
.article-body ul { padding-left: 20px; margin-bottom: 16px; }
.article-body li { font-size: 0.97rem; color: #374151; line-height: 1.8; margin-bottom: 4px; }
.article-body strong { color: var(--dark); }
/* Callouts */
.callout {
  border-left: 4px solid var(--primary);
  background: rgba(91,91,214,0.05);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.7;
}
.callout.warning { border-color: var(--accent); background: rgba(249,115,22,0.06); }
.callout.success { border-color: #16a34a; background: rgba(22,163,74,0.06); }
.callout strong { display: block; margin-bottom: 4px; }

/* ── Overrides: article-body descendants inside article-hook keep white text ── */
.article-body .article-hook h3,
.article-body .article-hook .article-hook-title { color: #fff !important; }
.article-body .article-hook p,
.article-body .article-hook .article-hook-sub { color: rgba(255,255,255,0.78) !important; }
.article-body .article-hook li { color: rgba(255,255,255,0.78) !important; }

/* ── Hook inscription (article) ── */
.article-hook {
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, #1E1B2E 0%, #2d2060 100%);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin: 40px 0;
  color: #fff;
}
.article-hook-left { flex: 1; }
.article-hook-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #c4b5fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.article-hook-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 10px;
}
.article-hook-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 22px;
}
.article-hook-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.article-hook-link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  text-decoration: underline;
}
.article-hook-link:hover { color: #fff; }
.article-hook-right { flex-shrink: 0; }
.article-hook-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hook-score-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #7c3aed;
  background: rgba(124,58,237,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.hook-score-num {
  font-size: 2rem;
  font-weight: 800;
  color: #a78bfa;
  line-height: 1;
}
.hook-score-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  align-self: flex-end;
  margin-bottom: 4px;
}
.hook-score-caption {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
@media (max-width: 640px) {
  .article-hook { flex-direction: column; padding: 28px 24px; }
  .article-hook-right { display: none; }
}

/* Comparison table */
.article-table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.article-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.article-table th { background: rgba(91,91,214,0.07); color: var(--dark); font-weight: 700; text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.article-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: #374151; vertical-align: top; }
.article-table tr:last-child td { border-bottom: none; }
.article-table tr:hover td { background: #f9fafb; }
/* Checklist */
.article-checklist { list-style: none; padding: 0; margin: 16px 0; }
.article-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.5;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.article-checklist li:last-child { border-bottom: none; }
.article-checklist li::before { content: '✅'; font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
/* Expert quote */
.expert-quote {
  background: linear-gradient(135deg, var(--dark), #2d2a40);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 36px;
  margin: 36px 0;
  position: relative;
}
.expert-quote::before { content: '"'; position: absolute; top: -10px; left: 24px; font-size: 5rem; color: var(--primary); font-family: Georgia, serif; line-height: 1; opacity: 0.6; }
.expert-quote p { font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,0.9); margin: 0; font-style: italic; }
.expert-quote cite { display: block; margin-top: 14px; font-size: 0.82rem; color: rgba(255,255,255,0.5); font-style: normal; font-weight: 600; }
/* Timeline / Calendrier */
.article-timeline { margin: 20px 0; }
.timeline-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-month {
  flex-shrink: 0;
  width: 140px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary);
}
.timeline-desc { font-size: 0.93rem; color: #374151; line-height: 1.6; }
/* Budget grid */
.budget-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.budget-item {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}
.budget-item .budget-label { font-size: 0.8rem; color: var(--text-light); margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.budget-item .budget-value { font-family: 'Sora', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--dark); }
.budget-item .budget-sub { font-size: 0.75rem; color: var(--text-light); margin-top: 2px; }
/* Responsive articles */
@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { display: none; }
  .article-hero h1 { font-size: 2rem; }
}
@media (max-width: 640px) {
  .articles-grid { grid-template-columns: 1fr; }
  .article-hero h1 { font-size: 1.6rem; }
  .article-body h2 { font-size: 1.25rem; }
  .budget-grid { grid-template-columns: 1fr; }
}

/* ===================================================
   PWA INSTALL BANNER
   =================================================== */
#pwa-install-banner, #pwa-update-banner {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 32px);
  max-width: 480px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  padding: 16px;
  transition: bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
#pwa-install-banner.visible, #pwa-update-banner.visible { bottom: 24px; }
.pwa-install-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pwa-install-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}
.pwa-install-text {
  flex: 1;
  min-width: 0;
}
.pwa-install-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
}
.pwa-install-text span {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.3;
}
.pwa-install-btn {
  padding: 8px 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.pwa-install-btn:hover { opacity: 0.9; }
.pwa-install-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.pwa-install-close:hover { color: var(--dark); }

/* Push notification popup */
#pwa-notif-popup {
  position: fixed;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 32px);
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  padding: 20px;
  transition: bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
#pwa-notif-popup.visible { bottom: 24px; }
.pwa-notif-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent, var(--primary)));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pwa-notif-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: flex-end;
}
.pwa-notif-btn-later {
  padding: 8px 16px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: 0.2s;
}
.pwa-notif-btn-later:hover { border-color: var(--text); color: var(--text); }
