/* ==========================================================================
   CHINOIS CARRIÈRE PRO — PAGE DE VENTE
   Même système de design que styles.css (typographie, rayons, ombres,
   composants), recoloré sur la palette stricte : #025EE7 / #000000 / #FFFFFF.
   Les gris sont des noirs en opacité, pas de nouvelles couleurs.
   ========================================================================== */

:root {
  /* Palette stricte */
  --color-blue: #025EE7;
  --color-blue-deep: #0146AE;   /* nuance du bleu principal — profondeur dégradé/hover uniquement */
  --color-black: #000000;
  --color-white: #FFFFFF;

  /* Surfaces */
  --color-bg: #FFFFFF;
  --color-bg-tint: #F4F8FF;     /* bleu ~4 % sur blanc, pour alterner les sections */
  --color-bar: #EBEEF3;         /* gris clair de la barre fixe : détache le bleu du fond */
  --color-footer: #3C414A;      /* gris du pied de page, à la place du noir */
  --color-card: #FFFFFF;
  --color-soft-blue: rgba(2, 94, 231, 0.07);
  --color-soft-gray: rgba(0, 0, 0, 0.04);   /* « gris clair » = noir à 4 % */
  --color-gray-mark: rgba(0, 0, 0, 0.42);   /* « gris » des croix */
  --color-border: rgba(0, 0, 0, 0.10);
  --color-border-blue: rgba(2, 94, 231, 0.22);

  /* Rouge réservé au survol des boutons d'inscription (hors palette stricte) */
  --color-red: #D92D20;
  --color-red-deep: #A81E14;

  /* Texte */
  --text-title: #000000;
  --text-body: rgba(0, 0, 0, 0.74);
  --text-muted: rgba(0, 0, 0, 0.54);
  --text-white: #FFFFFF;

  /* Typographie — identique à la landing page */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 14px 35px rgba(0, 0, 0, 0.12);
  --shadow-cta: 0 4px 14px rgba(2, 94, 231, 0.30);
  --shadow-cta-hover: 0 8px 24px rgba(2, 94, 231, 0.40);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
button, input { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.text-blue { color: var(--color-blue); }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  text-align: center;
  min-height: 48px; /* cible tactile mobile */
}

.btn:active { transform: translateY(0) scale(0.99); }

.btn-primary {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-deep) 100%);
  color: var(--text-white);
  box-shadow: var(--shadow-cta);
}



.btn-outline {
  background: var(--color-white);
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
  box-shadow: none;
}



.btn-lg {
  padding: 18px 34px;
  font-size: clamp(1rem, 3.4vw, 1.12rem);
  border-radius: var(--radius-md);
  min-height: 56px;
}

.btn-xl {
  padding: 20px 40px;
  font-size: clamp(1.02rem, 3.6vw, 1.2rem);
  border-radius: var(--radius-pill);
  min-height: 58px;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  25% { left: 150%; }
  100% { left: 150%; }
}

/* Survols réservés aux appareils à pointeur : sur mobile, :hover se fige
   après une pression et le bouton resterait rouge au lieu de bleu. */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px) scale(1.02); }

  .btn-primary:hover {
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-deep) 100%);
    box-shadow: 0 8px 24px rgba(217, 45, 32, 0.38);
  }

  .btn-outline:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    color: var(--text-white);
    box-shadow: 0 8px 24px rgba(217, 45, 32, 0.32);
  }

  .price-card.is-featured .btn-price:hover {
    background: var(--color-red);
    color: var(--text-white);
  }
}

/* ==================== SECTION HEADERS ==================== */
.section-header { margin-bottom: 44px; }

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-blue);
  background-color: var(--color-soft-blue);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  border: 1px solid var(--color-border-blue);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 5.6vw, 2.25rem);
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: clamp(0.98rem, 3.4vw, 1.1rem);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* ==================== BANNIÈRE D'EN-TÊTE ==================== */
.top-banner { width: 100%; background: var(--color-white); }

.top-banner img {
  display: block;
  width: 100%;
  height: auto;
  /* Aucun rognage : la photo est affichée en entier, buste et main compris. */
}

/* ==================== LOGO ==================== */
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-img-footer { height: 54px; }

/* ==================== SECTION 1 — HERO ==================== */
.hero-section {
  position: relative;
  padding: 44px 0 36px;
  overflow: hidden;
  text-align: center;
}

.hero-bg-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 460px;
  background: radial-gradient(circle, rgba(2, 94, 231, 0.13) 0%, rgba(2, 94, 231, 0) 68%);
  pointer-events: none;
  z-index: 0;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-soft-blue);
  border: 1px solid var(--color-border-blue);
  color: var(--color-blue);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-red);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(217, 45, 32, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(217, 45, 32, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 45, 32, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .dot-pulse { animation: none; }
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.75rem, 6.6vw, 3.1rem);
  line-height: 1.14;
  color: var(--text-title);
  max-width: 940px;
  margin: 0 auto 20px;
  letter-spacing: -0.02em;
}

.hero-title .hl { color: var(--color-blue); }

.hero-title-aside {
  display: block;
  font-size: clamp(0.98rem, 3.6vw, 1.45rem);
  font-weight: 700;
  color: var(--text-body);
  line-height: 1.35;
  margin: 12px auto;
  max-width: 780px;
  letter-spacing: -0.01em;
}

.hero-cta-group { display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* ==================== SECTION 3 — À QUI S'ADRESSE ==================== */
.audience-section { padding: 40px 0 64px; }

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.audience-col {
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.audience-col.is-for {
  background: var(--color-soft-blue);
  border-color: var(--color-border-blue);
}

.audience-col.is-not-for { background: var(--color-soft-gray); }

.audience-col-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 4.4vw, 1.45rem);
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 20px;
  line-height: 1.25;
}

.audience-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.audience-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(0.94rem, 3.4vw, 1rem);
  color: var(--text-body);
  line-height: 1.5;
}

.audience-mark {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.82rem;
  margin-top: 1px;
}

.mark-yes { background: var(--color-blue); color: var(--text-white); }

.mark-no {
  background: var(--color-gray-mark);
  color: var(--color-white);
}

/* ==================== OBJECTIFS ET DURÉE ==================== */
.goals-section { padding: 0 0 64px; }

/* Un seul paragraphe : l'écart sous le titre est plus serré qu'ailleurs. */
.goals-section .section-header { margin-bottom: 24px; }

.goals-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1rem, 3.4vw, 1.1rem);
  line-height: 1.72;
  color: var(--text-body);
}

.goals-text strong { color: var(--color-blue); font-weight: 800; }

/* ==================== SECTION 4 — LA MÉTHODE (AVANT / APRÈS) ==================== */
.method-section {
  padding: 64px 0;
  background: var(--color-bg-tint);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}

.method-card {
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  box-shadow: var(--shadow-md);
}

.method-card.is-before { background: var(--color-soft-gray); box-shadow: none; }

.method-card.is-after {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--text-white);
  box-shadow: var(--shadow-cta);
}

.method-card-label {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 3.8vw, 1.25rem);
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.3;
  margin-bottom: 12px;
}

.method-card.is-after .method-card-label { color: var(--text-white); }

.method-card-text {
  font-size: clamp(0.95rem, 3.4vw, 1.02rem);
  color: var(--text-body);
  line-height: 1.6;
}

.method-card.is-after .method-card-text { color: rgba(255, 255, 255, 0.92); }

.method-arrow {
  align-self: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border-blue);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.method-arrow svg { width: 21px; height: 21px; }

/* ==================== SECTION 5 — APERÇU DU PROGRAMME ==================== */
.program-section { padding: 64px 0; }

.lessons-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
}

.lesson-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: clamp(0.94rem, 3.4vw, 1rem);
  color: var(--text-title);
  font-weight: 600;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.lesson-item:hover {
  border-color: var(--color-border-blue);
  transform: translateX(3px);
}

.lesson-num {
  flex-shrink: 0;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--color-soft-blue);
  color: var(--color-blue);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  white-space: nowrap;
  /* Largeur mini : « Leçon 1 » et « Leçon 15 » restent alignés */
  min-width: 78px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ==================== VIDÉO DE PRÉSENTATION ==================== */
/* Façade cliquable : la miniature et un bouton bleu remplacent le lecteur
   YouTube (et son bouton rouge). L'iframe n'est chargée qu'au clic — page
   plus légère et aucun cookie tiers avant que le visiteur ne le demande. */
.video-section { padding: 0 0 64px; }

.video-facade,
.video-embed {
  display: block;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.video-facade {
  position: relative;
  padding: 0;
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-black);
  cursor: pointer;
  transition: box-shadow var(--transition-fast);
}

.video-facade:hover { box-shadow: var(--shadow-lg); }

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--color-blue);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(2, 94, 231, 0.5);
  transition: transform var(--transition-fast);
}

.video-play svg { width: 34px; height: 34px; margin-left: 4px; }

.video-facade:hover .video-play { transform: translate(-50%, -50%) scale(1.09); }

.video-embed { border: 0; }

@media (prefers-reduced-motion: reduce) {
  .video-facade:hover .video-play { transform: translate(-50%, -50%); }
}

/* ==================== CE QUI EST INCLUS ==================== */
.includes-section {
  padding: 64px 0;
  background: var(--color-bg-tint);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.includes-list {
  list-style: none;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Visuel à gauche, texte à droite ; empilé sous 700 px. */
.include-item {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 18px 24px 18px 18px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.include-item:hover {
  border-color: var(--color-border-blue);
  box-shadow: var(--shadow-sm);
}

.include-item.is-bonus {
  background: var(--color-soft-blue);
  border-color: var(--color-border-blue);
}

.include-media {
  flex-shrink: 0;
  width: 190px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.include-media .illus {
  width: 100%;
  height: auto;
  display: block;
}

.include-body { flex: 1; min-width: 0; }

.include-name {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 3.6vw, 1.14rem);
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.3;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

/* Au repos, la coche est visible et dessinée — rien n'attend un script. */
.include-check {
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--color-blue);
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.include-check .check-svg { width: 15px; height: 15px; }

.include-check .check-svg path {
  stroke-dasharray: 26;
  stroke-dashoffset: 0;
}

/* La classe .in-view est posée puis retirée par initIncludes() : l'animation
   est ainsi rejouée à chaque fois que la ligne revient à l'écran, sur mobile
   comme sur ordinateur. */
.include-item.in-view .include-check {
  animation: check-pop 1.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.include-item.in-view .include-check .check-svg path {
  animation: check-draw 1.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.35s;
}

.include-item.in-view .include-media {
  animation: media-rise 1.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes check-pop {
  0%   { transform: scale(0.35); opacity: 0; }
  60%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes check-draw {
  from { stroke-dashoffset: 26; }
  to   { stroke-dashoffset: 0; }
}

@keyframes media-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .include-item.in-view .include-check,
  .include-item.in-view .include-check .check-svg path,
  .include-item.in-view .include-media {
    animation: none;
  }
}

.include-desc {
  font-size: clamp(0.88rem, 3.2vw, 0.95rem);
  color: var(--text-muted);
  line-height: 1.55;
}

.bonus-badge {
  display: inline-block;
  background: var(--color-blue);
  color: var(--text-white);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  vertical-align: middle;
}

/* ==================== SECTION 8 — GARANTIE ==================== */
.guarantee-section { padding: 20px 0 64px; }

.guarantee-box {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--color-soft-blue);
  border: 1.5px solid var(--color-border-blue);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
}

.guarantee-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-blue);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-cta);
}

.guarantee-icon svg { width: 30px; height: 30px; }

.guarantee-content { flex: 1; }

.guarantee-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 4.4vw, 1.5rem);
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.25;
  margin-bottom: 10px;
}

.guarantee-text {
  font-size: clamp(0.95rem, 3.4vw, 1.04rem);
  color: var(--text-body);
  line-height: 1.65;
}

/* ==================== SECTION 9 — TARIFS ==================== */
/* Section la plus visible de la page : fond contrasté et cartes larges. */
.pricing-section {
  padding: 72px 0;
  background: var(--color-bg-tint);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: 80px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 840px;
  margin: 0 auto;
  align-items: stretch;
}

.price-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 34px 28px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.price-card:hover { transform: translateY(-4px); }

.price-card.is-featured {
  background: var(--color-blue);
  color: var(--text-white);
  box-shadow: var(--shadow-cta-hover);
  border: 2px solid var(--color-blue);
}

.price-card.is-outline {
  background: var(--color-white);
  border: 2px solid var(--color-blue);
  box-shadow: var(--shadow-md);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-black);
  color: var(--text-white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.price-plan {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--text-title);
}

.price-card.is-featured .price-plan { color: rgba(255, 255, 255, 0.86); }

.price-amount {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.1rem, 8vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-blue);
  margin-bottom: 8px;
}

.price-card.is-featured .price-amount { color: var(--text-white); }

.price-currency { font-size: 0.46em; font-weight: 800; }
.price-times { font-size: 0.52em; font-weight: 800; }

.price-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.price-card.is-featured .price-note { color: rgba(255, 255, 255, 0.8); }

.btn-price { width: 100%; padding: 16px 20px; font-size: 1.05rem; }

/* Sur la carte bleue, le bouton s'inverse pour rester lisible */
.price-card.is-featured .btn-price {
  background: var(--color-white);
  color: var(--color-blue);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.pricing-footnote {
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 26px;
}

/* ==================== SECTION 10 — FAQ ==================== */
.faq-section { padding: 64px 0; }

.faq-accordion {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-border-blue);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 20px;
  font-family: var(--font-heading);
  font-size: clamp(0.98rem, 3.6vw, 1.08rem);
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.35;
  min-height: 56px;
}

.faq-item.active .faq-question { color: var(--color-blue); }

.faq-chevron {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--color-blue);
  transition: transform var(--transition-fast);
}

.faq-chevron svg { width: 100%; height: 100%; }

.faq-item.active .faq-chevron { transform: rotate(180deg); }

/* max-height est piloté en JS (initAccordion) depuis scrollHeight */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 20px 20px;
  font-size: clamp(0.94rem, 3.4vw, 1rem);
  color: var(--text-body);
  line-height: 1.65;
}

/* ==================== CTA PERMANENT ==================== */
/* Bande fixe en bas de page, visible quel que soit le défilement : logo à
   gauche, bouton d'inscription à droite. Fond gris clair plutôt que blanc,
   pour détacher la barre de la page et faire ressortir le bleu. */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: 11px 22px calc(11px + env(safe-area-inset-bottom));
  background: var(--color-bar);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.09);
}

.sticky-cta-inner {
  width: 100%;
  max-width: 1160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.sticky-cta-logo {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.sticky-cta .btn { padding: 14px 30px; min-height: 50px; }

/* ==================== MODALE INSCRIPTION ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  padding: 18px;
  overflow-y: auto;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 32px 26px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-normal);
  margin: auto;
}

.modal-overlay.active .modal-card { transform: translateY(0) scale(1); }

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover { background: rgba(0, 0, 0, 0.12); color: var(--text-title); }

.modal-header { text-align: center; margin-bottom: 22px; }

.modal-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-soft-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--color-blue);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 8px;
}

.modal-subtitle { font-size: 0.92rem; color: var(--text-muted); }

.modal-form { display: flex; flex-direction: column; gap: 15px; }

.form-group { display: flex; flex-direction: column; gap: 6px; text-align: left; }

.form-group label { font-size: 0.88rem; font-weight: 700; color: var(--text-title); }

.form-group input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 1rem; /* >=16px : évite le zoom auto iOS */
  color: var(--text-title);
  background: var(--color-white);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(2, 94, 231, 0.16);
}

.btn-modal-submit { width: 100%; padding: 16px; font-size: 1.05rem; margin-top: 6px; }

.modal-privacy-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background-color: var(--color-footer);
  color: rgba(255, 255, 255, 0.78);
  /* Le bas dégage la barre fixe, présente à toutes les tailles d'écran. */
  padding: 48px 0 104px;
}

.footer-top { margin-bottom: 26px; }

/* Logo et accroche sur une même ligne ; passage à la ligne sous 260 px
   disponibles pour l'accroche, sinon le texte deviendrait illisible. */
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-tagline {
  flex: 1;
  min-width: 260px;
  font-size: 0.92rem;
  max-width: 520px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
}

/* Copyright à gauche, mention Meta rejetée à droite ; les deux passent l'un
   sous l'autre quand la largeur ne suffit plus. */
.footer-bottom {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 32px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.64);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
  .audience-grid { grid-template-columns: 1fr; }
  .lessons-grid { grid-template-columns: 1fr; }

  /* Visuel au-dessus du texte pour les éléments inclus */
  .include-item { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
  .include-media { width: 100%; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }

  /* La flèche avant/après bascule à la verticale */
  .method-grid { grid-template-columns: 1fr; }
  .method-arrow { transform: rotate(90deg); margin: 0 auto; }
}

@media (max-width: 768px) {
  .hero-section { padding: 32px 0 28px; }
  .audience-section { padding: 30px 0 48px; }
  .goals-section { padding: 0 0 48px; }
  .audience-col { padding: 24px 20px; }
  .btn-lg, .btn-xl { width: 100%; padding: 16px 18px; }
  .logo-img-footer { height: 46px; }
  /* Sur mobile, le logo cède la place : le bouton prend toute la largeur */
  .sticky-cta { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  .sticky-cta-logo { display: none; }
  .sticky-cta .btn { width: 100%; }

  /* La barre reste escamotée à l'arrivée : le bouton bleu de l'accroche est
     déjà à l'écran, l'afficher en même temps ferait doublon. Elle monte dès
     que le visiteur a dépassé ce bouton. */
  .sticky-cta {
    transform: translateY(115%);
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .sticky-cta.is-visible {
    transform: none;
    pointer-events: auto;
  }

  @media (prefers-reduced-motion: reduce) {
    .sticky-cta { transition: none; }
  }
  .modal-card { padding: 28px 20px; }
  .method-section, .program-section, .faq-section { padding: 48px 0; }
  .includes-section { padding: 48px 0; }
  .pricing-section { padding: 34px 0 52px; scroll-margin-top: 8px; }
  .pricing-section .section-header { margin-bottom: 22px; }
  .pricing-grid { gap: 16px; }
  .guarantee-section { padding: 12px 0 48px; }
  .method-card { padding: 24px 20px; }
  .price-card { padding: 24px 20px 22px; }
  .price-note { margin-bottom: 18px; }

  /* La garantie passe en colonne, icône au-dessus */
  .guarantee-box { flex-direction: column; padding: 26px 22px; gap: 16px; }
}

