/*
Theme Name: Anxiclopedie
Author: Ayoub
Version: 1.0
*/

/* ═══════════════════════════════════════════════════════
   ANXICLOPÉDIE — Design System
   ═══════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────── */
:root {
  /* ── Couleurs de marque ─────────────────────────── */
  --brand:            #1B6EC2;
  --brand-hover:      #155A9E;
  --pale-blue:        #E8F1FA;
  --pale-blue-title:  #124B85;
  --pale-blue-body:   #1A5FA8;

  /* ── Texte & fond ──────────────────────────────── */
  --text-primary:   #1F2937;
  --text-secondary: #4B5563;
  --border:         #E5E7EB;

  /* ── Crise : corail exclusif ─────���─────────────── */
  --crisis-coral:       #D9634E;
  --crisis-coral-hover: #C25441;

  /* ── Échelle bleue (conservée pour hero / footer) */
  --deep-50:  #EFF6FF;
  --deep-100: #DBEAFE;
  --deep-200: #BFDBFE;
  --deep-400: #60A5FA;
  --deep-600: #1B6EC2;   /* = brand */
  --deep-700: #1B6EC2;   /* = brand — boutons, liens, actifs */
  --deep-800: #155A9E;   /* = brand hover */
  --deep-900: #1F2937;   /* = text-primary */
  --deep-950: #0F1729;   /* fond sombre : footer, pricing dark */

  /* ── Sage (conservé pour nuances vertes) ──────── */
  --sage-50:  #F3F7F3;
  --sage-100: #E3EDE4;
  --sage-200: #C6DBCA;
  --sage-500: #4A8257;
  --sage-600: #37683F;
  --sage-700: #2C5232;

  --lavender-100: #EDE9FE;
  --lavender-200: #DDD6FE;
  --lavender-500: #8B5CF6;
  --lavender-600: #7C3AED;

  /* ── Fond blanc (remplace la crème) ───────────── */
  --sand-50:  #FFFFFF;
  --sand-100: #FFFFFF;
  --sand-200: #F9FAFB;
  --sand-300: #E5E7EB;
  --sand-400: #D1D5DB;

  /* ── Warm → corail crise ─────────────────────── */
  --warm-50:  #FEF3F1;
  --warm-100: #FDDDD8;
  --warm-200: #FAB8AE;
  --warm-500: #D9634E;   /* = crisis-coral */
  --warm-600: #C25441;   /* = crisis-coral-hover */
  --warm-700: #A8402F;

  /* Typographie */
  --font-sans:    'Poppins', system-ui, -apple-system, sans-serif;
  --gold:         #C99A2E;

  /* Espacement */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Rayons */
  --radius-sm:  0.5rem;
  --radius-md:  0.75rem;
  --radius-lg:  1rem;
  --radius-xl:  1.25rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(27,58,107,0.06), 0 1px 2px rgba(27,58,107,0.04);
  --shadow-md: 0 4px 16px rgba(27,58,107,0.08), 0 2px 4px rgba(27,58,107,0.04);
  --shadow-lg: 0 8px 24px rgba(27,58,107,0.10), 0 4px 8px rgba(27,58,107,0.06);
  --shadow-xl: 0 16px 48px rgba(27,58,107,0.12), 0 8px 16px rgba(27,58,107,0.08);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1280px;
  --container-content: 800px;
  --header-height: 72px;
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
details summary { cursor: pointer; }
details summary:hover { background: none; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: #FFFFFF;
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 1rem;
}

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

h1, h2, h3 { font-family: var(--font-sans); font-weight: 600; line-height: 1.15; }
h4, h5, h6 { font-weight: 600; }

::selection { background: var(--deep-200); color: var(--deep-900); }

/* ── Layout ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--content {
  max-width: var(--container-content);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section { padding: var(--space-24) 0; }
.section--sm { padding: var(--space-16) 0; }

/* ── Header ─────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: none;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(64px) saturate(200%);
  -webkit-backdrop-filter: blur(64px) saturate(200%);
  box-shadow: 0 1px 0 rgba(27,110,194,0.08), 0 8px 32px rgba(27,110,194,0.06), inset 0 1px 0 rgba(255,255,255,1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__img {
  height: 32px;
  width: auto;
  display: block;
}

.logo__img--footer {
  height: 24px;
  opacity: 0.85;
}

/* Nav */
.nav { display: flex; align-items: center; gap: var(--space-1); }

.nav__link {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.header:not(.scrolled) .nav__link { color: var(--deep-700); }
.header:not(.scrolled) .nav__link:hover { background: rgba(27,110,194,0.07); color: var(--deep-900); }
.header.scrolled .nav__link { color: var(--deep-700); }
.header.scrolled .nav__link:hover { background: var(--deep-50); color: var(--deep-900); }

/* Header actions */
.header__actions { display: flex; align-items: center; gap: var(--space-3); }

@keyframes crisis-shimmer {
  0%, 72%, 100% { transform: translateX(-120%) skewX(-18deg); opacity: 0; }
  75%            { opacity: 1; }
  88%            { transform: translateX(220%) skewX(-18deg); opacity: 0; }
}

.btn-crisis-sm {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-xl);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--crisis-coral);
  border: 1.5px solid rgba(217,99,78,0.35);
  background: rgba(217,99,78,0.06);
  position: relative;
  overflow: hidden;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-crisis-sm::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%);
  transform: translateX(-120%) skewX(-18deg);
  animation: crisis-shimmer 5s ease-in-out infinite;
  pointer-events: none;
}

.btn-crisis-sm:hover {
  background: #EF4444 !important;
  border-color: #EF4444 !important;
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(239,68,68,0.5) !important;
  transition: none !important;
}

.btn-crisis-sm:hover::after { display: none; }

.pulse-dot { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.hamburger svg { width: 20px; height: 20px; }
.header:not(.scrolled) .hamburger { color: var(--deep-700); }
.header.scrolled .hamburger { color: var(--deep-700); }
.header:not(.scrolled) .hamburger:hover { background: rgba(27,110,194,0.07); }
.header.scrolled .hamburger:hover { background: var(--deep-50); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--sand-300);
  padding: var(--space-4);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
  z-index: 99;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open { transform: translateY(0); opacity: 1; }

.mobile-menu__links { display: flex; flex-direction: column; gap: var(--space-1); margin-bottom: var(--space-4); }

.mobile-menu__link {
  display: block;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--deep-700);
  transition: background var(--transition);
}

.mobile-menu__link:hover { background: var(--sand-100); }

.mobile-menu__divider { height: 1px; background: var(--sand-300); margin: var(--space-3) 0; }

.mobile-menu__actions { display: flex; flex-direction: column; gap: var(--space-2); }

/* ── Boutons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-xl);
  font-size: 0.825rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--deep-700);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background: var(--deep-800);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn--secondary {
  background: white;
  color: var(--deep-700);
  border-color: var(--sand-300);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--deep-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn--white {
  background: white;
  color: var(--deep-900);
  box-shadow: var(--shadow-xl);
}

.btn--white:hover {
  background: var(--sand-100);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: white;
  border-color: rgba(255,255,255,0.3);
}

.btn--ghost:hover { background: rgba(255,255,255,0.2); }

.btn--crisis {
  background: var(--crisis-coral);
  color: white;
  box-shadow: 0 4px 20px rgba(217,99,78,0.35);
}

.btn--crisis:hover {
  background: var(--crisis-coral-hover);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 0.8rem 1.75rem;
  font-size: 0.875rem;
  border-radius: var(--radius-2xl);
}

.btn--full { width: 100%; }

/* ── Hero split ──────────────────────────────────────── */
.hero-split {
  background: linear-gradient(145deg, #f0f6ff 0%, #e8f3fd 45%, #f4f0fb 100%);
  border-bottom: 1px solid #e0eaf7;
  min-height: 100vh;
  padding: calc(var(--header-height) + 3.5rem) 1.5rem 4rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-split__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}
.hero-split__inner {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ── Left ── */
.hero-split__left { min-width: 0; overflow: hidden; }

.hero-split__title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.42vw, 3.04rem);
  font-weight: 900;
  color: #0F172A;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-split__title-hl {
  color: var(--brand);
  position: relative;
  display: inline-block;
}
.hero-split__title-hl::after {
  display: none;
}

.hero-split__desc {
  font-size: 1rem;
  color: #4B5563;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 490px;
}

.hero-split__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.hero-split__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  background: #fff;
  border: 1.5px solid #E5E7EB;
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
}
.hero-split__pill svg { color: var(--brand); flex-shrink: 0; }

.hero-split__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero-split__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.35rem;
  background: var(--brand);
  color: #fff;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(27,110,194,0.28);
}
.hero-split__cta:hover { background: var(--brand-hover); transform: translateY(-1px); }
.hero-split__cta-crisis {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--crisis-coral);
  text-decoration: none;
  border-bottom: 1px solid rgba(217,99,78,0.3);
  padding-bottom: 1px;
  transition: border-color 0.15s;
}
.hero-split__cta-crisis:hover { border-color: var(--crisis-coral); }

.hero-split__proof {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid #E5E7EB;
}
.hero-split__proof-stars { color: #F59E0B; font-size: 0.95rem; letter-spacing: 1px; }
.hero-split__proof-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #D1D5DB;
  flex-shrink: 0;
}
.hero-split__proof-item { font-size: 0.82rem; color: #6B7280; font-weight: 500; }

/* ── Right — image ── */
.hero-split__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-split__img {
  width: 120%;
  max-width: 680px;
  height: auto;
  display: block;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(27,110,194,0.14));
  margin-left: -10%;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .hero-split__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-split__visual { order: -1; }
  .hero-split__img-wrap { max-height: 280px; }
}

/* ── Cartes ──────────────────────────────────────────── */
.card {
  background: white;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card--flat { box-shadow: none; }
.card--flat:hover { box-shadow: var(--shadow-md); }

/* ── Badges ──────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge--deep { background: var(--deep-100); color: var(--deep-700); }
.badge--sage { background: var(--sage-100); color: var(--sage-700); }
.badge--lavender { background: var(--lavender-100); color: var(--lavender-600); }
.badge--warm { background: var(--warm-100); color: var(--warm-700); }

/* ── Section problem ─────────────────────────────────── */
.problem { background: #F9FAFB; }

.section-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep-600);
  margin-bottom: var(--space-4);
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sand-300);
  max-width: 60px;
}

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--deep-900);
  text-wrap: balance;
  letter-spacing: -0.01em;
}

.section-subtitle {
  margin-top: var(--space-4);
  font-size: 1.0625rem;
  color: #4A5568;
  line-height: 1.75;
  max-width: 560px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }

.fear-card {
  background: white;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow var(--transition);
}

.fear-card.visible { opacity: 1; transform: translateY(0); }
.fear-card:hover { box-shadow: var(--shadow-md); }

.fear-card__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--deep-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fear-card__icon svg { width: 20px; height: 20px; color: var(--deep-600); }
.fear-card__title { font-weight: 600; color: var(--deep-900); margin-bottom: var(--space-1); font-size: 0.9375rem; }
.fear-card__desc { font-size: 0.875rem; color: #4A5568; line-height: 1.6; }

/* ── Solution ────────────────────────────────────────── */
.solution { background: white; }

.solution__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.solution__steps { display: flex; flex-direction: column; gap: var(--space-4); }

.step-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  background: white;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.step-card.visible { opacity: 1; transform: translateX(0); }
.step-card:hover { box-shadow: var(--shadow-md); transform: translateX(0) translateY(-2px); }

.step-card__num {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.step-card__title { font-weight: 600; color: var(--deep-900); margin-bottom: var(--space-1); }
.step-card__desc { font-size: 0.875rem; color: #4A5568; line-height: 1.6; }
.step-card__link { display: inline-flex; align-items: center; gap: var(--space-1); margin-top: var(--space-2); font-size: 0.8125rem; font-weight: 600; color: var(--deep-600); transition: color var(--transition); }
.step-card__link:hover { color: var(--deep-900); }
.step-card__link svg { width: 14px; height: 14px; }

/* ── Symptom cards ───────────────────────────────────── */
.symptom-card {
  display: block;
  background: white;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.symptom-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--deep-200);
}

.symptom-card__header { display: flex; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-3); }

.symptom-card__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.symptom-card__icon svg { width: 20px; height: 20px; }
.symptom-card__name { font-weight: 700; color: var(--deep-900); font-size: 1rem; line-height: 1.3; }
.symptom-card__cat { font-size: 0.75rem; color: #6B7DB3; margin-top: 2px; }
.symptom-card__desc { font-size: 0.875rem; color: #4A5568; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.symptom-card__footer {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--sand-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.symptom-card__meta { font-size: 0.75rem; color: #9CA3AF; }
.symptom-card__arrow { width: 16px; height: 16px; color: var(--sand-400); transition: transform var(--transition), color var(--transition); }
.symptom-card:hover .symptom-card__arrow { color: var(--deep-500, #6B7DB3); transform: translateX(4px); }




/* ── FAQ ─────────────────────────────────────────────── */
.faq { background: white; }
.faq__list { display: flex; flex-direction: column; gap: var(--space-3); }

.faq-item {
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: white;
  transition: border-color var(--transition);
}

.faq-item:hover { border-color: var(--deep-200); }

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  text-align: left;
  background: none;
  cursor: pointer;
  transition: background var(--transition);
}

.faq-item__trigger:hover { background: var(--sand-100); }

.faq-item__question { font-weight: 600; color: var(--deep-900); line-height: 1.5; font-size: 0.9375rem; }

.faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--deep-400);
  transition: transform var(--transition);
  margin-top: 2px;
}

.faq-item.open .faq-item__icon { transform: rotate(180deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-item__answer { max-height: 500px; }

.faq-item__answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: 0.9375rem;
  color: #4A5568;
  line-height: 1.8;
}

/* ── Témoignages ─────────────────────────────────────── */
.testimonials { background: #F9FAFB; }

.testimonial-card {
  background: white;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.testimonial-card__quote { font-size: 2rem; color: var(--sand-400); line-height: 1; margin-bottom: var(--space-3); }
.testimonial-card__text { font-size: 0.9375rem; color: #374151; line-height: 1.75; font-style: italic; margin-bottom: var(--space-5); }
.testimonial-card__name { font-weight: 700; color: var(--deep-900); font-size: 0.9375rem; }
.testimonial-card__context { font-size: 0.8125rem; color: #9CA3AF; margin-top: 2px; }

/* ── Disclaimer médical ──────────────────────────────── */
.disclaimer {
  border-left: 4px solid var(--warm-500);
  background: var(--warm-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-4) var(--space-5);
}

.disclaimer__title { font-weight: 700; color: #92400E; font-size: 0.875rem; margin-bottom: var(--space-2); }
.disclaimer__text { font-size: 0.875rem; color: #78350F; line-height: 1.7; }
.disclaimer__tel { font-weight: 700; color: #1E3A8A; }

.disclaimer--card {
  border-left: none;
  border: 1px solid var(--sand-300);
  background: var(--sand-100);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

/* ── Crisis CTA Band ─────────────────────────────────── */
.crisis-cta-band {
  background: #fff;
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.crisis-cta-band__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.crisis-cta-band__title {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.crisis-cta-band__sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
  display: block;
}

.crisis-cta-band__disclaimer {
  margin-top: 1.75rem;
  font-size: 0.8rem;
  color: #9CA3AF;
  line-height: 1.65;
}

.crisis-cta-band__disclaimer a {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ── Footer ──────────────────────────────────────────── */
/* ══ FOOTER ══════════════════════════════════════════════ */
/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, #0d2345 0%, #081525 100%);
  color: white;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section principale */
.footer__main {
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Colonne marque */
.footer__brand {}

.footer__brand-link { display: inline-block; margin-bottom: 1.25rem; }

.footer__logo {
  height: 30px;
  opacity: 0.88;
  display: block;
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 1.1rem;
  max-width: 230px;
}

.footer__disclaimer {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 0.75rem 0.875rem;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,0.38);
  font-size: 0.78rem;
  line-height: 1.55;
  max-width: 250px;
}

.footer__disclaimer svg { color: rgba(255,255,255,0.3); margin-top: 1px; }
.footer__disclaimer strong { color: rgba(255,255,255,0.65); }

.footer__crisis-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  color: rgba(252,165,165,0.9);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.footer__crisis-btn:hover {
  background: rgba(239,68,68,0.25);
  border-color: rgba(239,68,68,0.5);
  color: #fca5a5;
}

/* Colonnes liens */
.footer__col {}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.footer__col-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.footer__col-title-link:hover { color: #fff; }

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.15s;
  line-height: 1.4;
}
.footer__link:hover { color: rgba(255,255,255,0.9); }

.footer__link--accent {
  color: rgba(96,165,250,0.75);
  margin-top: 0.2rem;
}
.footer__link--accent:hover { color: #93c5fd; }

.footer__link--crisis { color: rgba(252,165,165,0.75); }
.footer__link--crisis:hover { color: #fca5a5; }

/* Barre basse */
.footer__bar {
  padding: 1.25rem 0;
}

.footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__social-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 0.25rem;
}

.footer__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.footer__social-icon:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__legal-link {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  text-decoration: none;
  transition: color 0.15s;
}
.footer__legal-link:hover { color: rgba(255,255,255,0.65); }

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.18);
}

/* ── Page hero (sous-pages) ──────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0D2B6B 0%, #1455A4 50%, #1B6EC2 100%);
  padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
  color: white;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-6);
}

.breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: white; }

.page-hero__title { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 600; color: white; text-wrap: balance; letter-spacing: -0.01em; }
.page-hero__subtitle { margin-top: var(--space-4); font-size: 1.125rem; color: rgba(255,255,255,0.7); max-width: 560px; line-height: 1.75; }

/* ── Utilitaires ─────────────────────────────────────── */
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.flex { display: flex; }

/* ── Animations ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Révélation au scroll */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__tagline, .footer__disclaimer { max-width: 100%; }
  .solution__grid { grid-template-columns: 1fr; gap: var(--space-10); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .header__actions .btn { display: none; }
  .hamburger { display: flex; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bar-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .btn--lg { padding: 0.875rem var(--space-6); font-size: 0.9375rem; }
}

@media (max-width: 480px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 var(--space-4); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
}

/* ── Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--sand-400); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--sand-400); }

/* ═══════════════════════════════════════════════════════
   PAGES CONTENU — Composants articles & symptômes
   ═══════════════════════════════════════════════════════ */


/* Contenu article */
.page-content { padding: var(--space-10) 0 var(--space-16); background: #FFFFFF; }

.article h2 { font-family: var(--font-sans); font-size: 1.4rem; font-weight: 600; color: var(--deep-900); margin: var(--space-8) 0 var(--space-3); padding-top: var(--space-6); border-top: 1px solid var(--sand-300); }
.article a { color: var(--brand); text-decoration: underline; text-decoration-color: transparent; transition: color 0.2s, text-decoration-color 0.2s; }
.article a:hover { color: var(--brand-hover); text-decoration-color: var(--brand-hover); }
.article h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.article { max-width: 42rem; }
.article p { color: #4A5568; line-height: 1.8; margin-bottom: var(--space-4); font-size: 1.125rem; }
.article strong { color: var(--deep-900); }
.article em { font-style: italic; }
.article ul, .article ol { padding-left: 1.25rem; margin-bottom: var(--space-4); }
.article li { color: #4A5568; line-height: 1.8; margin-bottom: 0.2rem; font-size: 1.125rem; }
.article .sources { font-size: 0.8rem; color: #9CA3AF; border-top: 1px solid var(--sand-300); padding-top: var(--space-4); margin-top: var(--space-6); line-height: 1.7; }


/* Techniques */
.techniques { display: flex; flex-direction: column; gap: var(--space-3); margin: var(--space-4) 0; }
.technique { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-4); background: white; border: 1.5px solid var(--sand-300); border-radius: var(--radius-lg); transition: border-color var(--transition); }
.technique:hover { border-color: var(--deep-200); }
.technique__icon { font-size: 1.25rem; flex-shrink: 0; line-height: 1; margin-top: 0.1rem; }
.technique__title { font-size: 0.9rem; font-weight: 700; color: var(--deep-900); margin-bottom: var(--space-1); }
.technique__desc { font-size: 0.825rem; color: #4A5568; line-height: 1.55; }


/* Nav retour */
.back-nav { background: #F9FAFB; border-top: 1px solid var(--border); padding: var(--space-5) 0; }
.back-nav__inner { max-width: 760px; margin: 0 auto; padding: 0 var(--space-6); display: flex; justify-content: center; }
.back-nav__link { color: #9CA3AF; font-size: 0.8rem; text-decoration: none; padding: var(--space-2) var(--space-5); border: 1.5px solid var(--sand-300); border-radius: var(--radius-md); transition: all var(--transition); }
.back-nav__link:hover { border-color: var(--deep-200); color: var(--deep-600); }


/* Mécanisme étapes */
.mech-steps { display: flex; flex-direction: column; gap: 0; margin: var(--space-5) 0; }
.mech-step { display: flex; align-items: flex-start; gap: var(--space-4); padding: var(--space-3) 0; position: relative; }
.mech-step:not(:last-child)::after { content: ''; position: absolute; left: 17px; top: 44px; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--deep-200), transparent); }
.mech-step__num { width: 36px; height: 36px; background: var(--deep-700); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; flex-shrink: 0; }
.mech-step__title { font-size: 0.9rem; font-weight: 700; color: var(--deep-900); margin-bottom: 0.2rem; }

/* ── Nav Dropdown ─────────────────────────────────────── */
.nav__item--dropdown { position: relative; }

.nav__dropdown-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.nav__caret {
  flex-shrink: 0;
  transition: transform 0.18s ease;
  opacity: 0.6;
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  padding: 0.4rem;
  padding-top: 0.75rem;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 200;
}

.nav__item--dropdown:hover .nav__dropdown-menu,
.nav__item--dropdown.open .nav__dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-25%) translateY(0);
}

.nav__item--dropdown:hover .nav__caret,
.nav__item--dropdown.open .nav__caret {
  transform: rotate(180deg);
  opacity: 1;
}

.nav__dropdown-link {
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary) !important;
  transition: background 0.12s, color 0.12s;
}

.nav__dropdown-link:hover {
  background: var(--deep-50);
  color: var(--deep-700) !important;
}

/* ── Mega-menu ────────────────────────────────────────── */
.nav__item--mega { position: relative; }

.nav__mega-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  color: var(--deep-700);
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
.nav__mega-btn:hover,
.nav__mega-btn[aria-expanded="true"] { background: rgba(27,110,194,0.07); color: var(--deep-900); }
.nav__mega-btn[aria-expanded="true"] .nav__caret { transform: rotate(180deg); opacity: 1; }

.nav__mega-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-25%) translateY(-6px);
  width: fit-content;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(27,110,194,0.12);
  border-top: 3px solid #29529E;
  box-shadow: 0 20px 60px rgba(0,0,0,0.11), 0 4px 12px rgba(27,110,194,0.06);
  padding: 22px 28px 18px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 500;
}

.nav__mega-panel.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-25%) translateY(0);
}

.mega-inner { display: flex; flex-direction: column; gap: 0.85rem; }

.mega-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mega-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9CA3AF;
  margin: 0;
}

.mega-see-all {
  font-size: 0.72rem;
  font-weight: 600;
  color: #1B6EC2;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.mega-see-all:hover { text-decoration: underline; }

/* Item mis en avant (corail) */
.mega-item--highlight { background: rgba(217,99,78,0.08); }
.mega-item--highlight:hover { background: rgba(217,99,78,0.14) !important; }
.mega-item--highlight .mega-item__icon { color: #D9634E; opacity: 1; }
.mega-item--highlight:hover .mega-item__name { color: #D9634E; }
/* Item rose — Que faire pendant une crise */
.mega-item--pink { background: rgba(236,72,153,0.06); border-radius: 8px; width: 100%; }
.mega-item--pink .mega-item__name { color: #BE185D; font-weight: 600; }
.mega-item--pink .mega-item__icon { color: #BE185D; opacity: 1; }
.mega-item--pink:hover { background: rgba(236,72,153,0.14) !important; }
.mega-item--pink:hover .mega-item__name { color: #9D174D !important; }
.mega-item--pink:hover .mega-item__icon { color: #9D174D !important; }
/* Item vert — Aider quelqu'un en crise */
.mega-item--green { background: rgba(5,150,105,0.06); border-radius: 8px; width: 100%; }
.mega-item--green .mega-item__name { color: #059669; font-weight: 600; }
.mega-item--green .mega-item__icon { color: #059669; opacity: 1; }
.mega-item--green:hover { background: rgba(5,150,105,0.1) !important; }
.mega-item--green:hover .mega-item__name { color: #047857 !important; }
.mega-item--green:hover .mega-item__icon { color: #047857 !important; }

/* Mobile highlight */
.mobile-menu__link--highlight { color: #D9634E; font-weight: 600; }


.mega-cols {
  display: flex;
  flex-direction: row;
  gap: 56px;
}

/* cols spécifiques troubles (sans min-width imposé) */
.mega-cols--troubles {
  gap: 35px;
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 0.385rem;
  align-items: flex-start;
  min-width: 0;
}


.mega-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.12s;
  width: 100%;
  white-space: nowrap;
}
.mega-item__text { display: flex; flex-direction: column; gap: 0.1rem; }
.mega-item:hover { background: rgba(27,110,194,0.07); }
.mega-item:hover .mega-item__name { color: #1B6EC2; }
.mega-item:hover .mega-item__icon { color: #1B6EC2; }

.mega-item__icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #1B6EC2;
  opacity: 0.6;
  transition: color 0.12s, opacity 0.12s;
}
.mega-item:hover .mega-item__icon { opacity: 1; }
.mega-item__icon svg { width: 15px; height: 15px; }

.mega-item__name {
  font-size: 0.765rem;
  font-weight: 500;
  color: #1F2937;
  transition: color 0.12s;
  line-height: 1.3;
}
.mega-item__desc {
  font-size: 0.65rem;
  color: #9CA3AF;
  font-weight: 400;
  line-height: 1.3;
}

/* Mega menu footer */
.mega-footer {
  border-top: 1px solid #E5E7EB;
  padding-top: 0.6rem;
  margin-top: 0.25rem;
}
.mega-footer__link {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #1B6EC2;
  text-decoration: none;
  transition: color 0.12s;
}
.mega-footer__link:hover { color: #1558a0; }

/* Soon entries (pages not yet created) */
.mega-item--soon { opacity: 0.45; pointer-events: none; }

/* Grouped mega layout (3 cols avec 2 titres) */
.mega-groups {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 0;
}
.mega-group {
  display: flex;
  flex-direction: column;
  gap: 0.385rem;
  flex-shrink: 0;
}
.mega-group__title {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #9CA3AF;
  padding: 0 0.5rem 0.1rem;
}
.mega-vsep {
  width: 1px;
  background: rgba(27, 110, 194, 0.15);
  align-self: stretch;
  margin: 0 14px;
  flex-shrink: 0;
}

/* Mobile sub-titles inside group */
.mobile-menu__sub-title {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9CA3AF;
  padding: 0.5rem 1.25rem 0.2rem;
  margin: 0;
}
.mobile-menu__sub-title--sep {
  border-top: 1px solid #E5E7EB;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}
.mobile-menu__link--soon { opacity: 0.45; pointer-events: none; }

/* Mobile menu group */
.mobile-menu__group { margin-bottom: var(--space-1); }

.mobile-menu__group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #1F2937;
  padding: 0.65rem var(--space-3);
  border-radius: 8px;
  transition: background 0.12s;
}
.mobile-menu__group-toggle:hover { background: rgba(27,110,194,0.06); }

.mobile-menu__group-caret {
  transition: transform 0.2s;
  opacity: 0.5;
}
.mobile-menu__group-toggle[aria-expanded="true"] .mobile-menu__group-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.mobile-menu__group-body {
  display: none;
  padding-bottom: 0.5rem;
}
.mobile-menu__group-body.open { display: block; }

.mobile-menu__sub-section {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9CA3AF;
  padding: 0.6rem var(--space-3) 0.2rem 1.5rem;
}

.mobile-menu__link--sub {
  padding-left: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.mobile-menu__link--all {
  font-weight: 600;
  color: #1B6EC2 !important;
}
.mech-step__desc { font-size: 0.83rem; color: #4A5568; line-height: 1.55; }

/* ── Blocs pub ─────────────────────────────────────────── */
.pub-1,
.pub-2 { display: block; width: 100%; max-width: 728px; height: 90px; background: #F3F4F6; border-radius: 6px; margin-top: 40px; }
.pub-3 { width: 300px; height: 250px; display: block; background: #F3F4F6; border-radius: 6px; margin-top: 40px; }

/* ── Article layout (commun toutes sections) ────────────── */
.article-layout {
  max-width: 1180px; margin: 0 auto;
  padding: 3.5rem 2.5rem 2.5rem;
  display: grid; grid-template-columns: minmax(0, 700px) 300px;
  gap: 5rem; align-items: start;
}
.article-toc { position: sticky; top: calc(var(--header-height, 64px) + 2rem); }

/* ── Corps d'article (commun à toutes rubriques) ──── */
.article-body, .symp-article { font-family: var(--font-sans); }
.article-body p, .symp-article p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; font-size: 0.9rem; }
.article-body strong, .symp-article strong { color: var(--text-primary); }
.article-body ul, .article-body ol, .symp-article ul, .symp-article ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.article-body ul li, .article-body ol li, .symp-article ul li, .symp-article ol li { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.35rem; }
.article-body a, .symp-article a { color: #1B6EC2; font-weight: 600; text-decoration: none; border-radius: 3px; padding: 0 2px; transition: background 0.12s; }
.article-body a:hover, .symp-article a:hover { background: rgba(27,110,194,0.07); }
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 0; padding: 2rem 1.25rem 2rem; }
  .article-toc { display: none; }
}
@media (max-width: 480px) {
  .article-layout { padding: 1.5rem 1rem 2rem; }
}


/* ── Sommaire latéral ───────────────────────────────────── */
.toc-title { font-size: 0.85rem; font-weight: 700; color: #0F1F33; margin-bottom: 0.85rem; }
.toc-nav { display: flex; flex-direction: column; }
.toc-link { font-size: 0.79rem; color: #7A8FA6; text-decoration: none; padding: 0.34rem 0 0.34rem 0.9rem; border-left: 2px solid #BFDBFE; line-height: 1.45; transition: color 0.15s, border-color 0.15s; }
.toc-link:hover { color: #2D52A0; border-color: #93C5FD; }
.toc-link.active { color: #2D52A0; border-color: #2D52A0; font-weight: 600; }

/* ── Sources accordion ────────────────────────────────── */
.sources-accordion { margin-top: 3rem; border-top: 1px solid #E8EDF3; border-bottom: 1px solid #E8EDF3; }
.sources-accordion summary { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0; cursor: pointer; font-size: 0.78rem; font-weight: 600; color: #9CA3AF; list-style: none; user-select: none; gap: 1rem; }
.sources-accordion summary::-webkit-details-marker { display: none; }
.sources-accordion summary:hover { background: none; }
.sources-chevron { flex-shrink: 0; color: #D1D5DB; transition: transform 0.2s; }
.sources-accordion[open] .sources-chevron { transform: rotate(180deg); }
.sources-accordion__body { padding: 0.5rem 0 0em; border-top: 1px solid #F3F4F6; }
.sources-list { margin-top: 13px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.sources-accordion .sources-accordion__body .sources-list li { font-size: 0.6336rem; color: #9CA3AF; line-height: 1.55; margin-bottom: 0; }
.sources-accordion .sources-accordion__body .sources-list a { font-size: 0.6336rem; color: #9CA3AF; line-height: 1.55; text-decoration: none; font-weight: 400; padding: 0; background: none; border-radius: 0; }
.sources-accordion .sources-accordion__body .sources-list a:hover { color: #6B7280; text-decoration: underline; }

/* ── Barre d'admin WordPress ─────────────────────────── */
.admin-bar .header { top: 32px !important; }
@media (max-width: 782px) {
  .admin-bar .header { top: 46px !important; }
}
