/* =========================================================
   ACADÉMIE LUSOLIEN - FEUILLE DE STYLE
   -----------------------------------------------------------
   IDENTITÉ VISUELLE - variables couleurs (modifie ici pour
   changer toute la charte du site en une fois) :
   --green      : vert profond de la marque (logo, titres)
   --terracotta : rouge-brique chaleureux (boutons, accents)
   --gold       : doré (badges, petites touches précieuses)
   --azulejo    : bleu carreau de faïence (détails décoratifs)
   --bg / --bg-tint / --white : fonds
   --ink / --ink-soft : texte
   Approche : MOBILE-FIRST - les styles de base sont pour mobile,
   les media queries (min-width) ajoutent tablette/desktop.
========================================================= */

:root {
  --green: #1F4E46;
  --green-dark: #12332D;
  --green-soft: #E9EFEA;
  --terracotta: #DD5F24;
  --terracotta-dark: #B24A19;
  --terracotta-pale: #FFF1E8;
  --gold: #C99A3C;
  --azulejo: #2B5E78;
  --white: #FFFDFC;
  /* Fonds - 80-90% du site doit rester sur ces unis très clairs.
     --bg      : fond crème principal (hero, e-book, avis, contact)
     --bg-tint : beige clair (badges, tints, cadres)
     --bg-alt  : variante crème/beige pour distinguer une section voisine (e-book) */
  --bg: #FBF7EF;
  --bg-tint: #F4EFE6;
  --bg-alt: #F7F2E9;
  --ink: #1E2A24;
  --ink-soft: #57645C;

  --shadow-sm: 0 2px 10px rgba(18, 30, 25, 0.07);
  --shadow-md: 0 12px 32px rgba(18, 30, 25, 0.12);
  --shadow-lg: 0 24px 48px rgba(18, 30, 25, 0.16);

  --radius-md: 16px;
  --radius-lg: 24px;

  /* Fraunces = titres (caractère éditorial, chaleureux, "pas générique")
     Inter = texte courant, lisible
     Caveat = petites touches "manuscrites" façon carnet de voyage */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-accent: "Caveat", cursive;

  /* Échelle typographique (26/10/2026) - 8 tailles seulement, chacune
     environ 10 % au-dessus de la précédente. Toutes les tailles de texte
     du site passent par ces variables : modifie ici pour agrandir ou
     réduire une famille de textes partout en une fois.
     --fs-2xs : étiquettes en capitales (badges, « Mois 1 à 3 »)
     --fs-xs  : mentions, notes sous les formulaires
     --fs-sm  : petits liens, boutons compacts, textes secondaires
     --fs-base: texte courant
     --fs-md  : chapeaux (sous le titre du Hero, textes de section)
     --fs-lg  : titres de cartes
     --fs-xl / --fs-2xl : prix et petits titres
     Les grands titres (Hero, sections) gardent leur clamp() propre. */
  --fs-2xs: 0.72rem;
  --fs-xs: 0.8rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-md: 1.1rem;
  --fs-lg: 1.3rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;

  /* Échelle d'espacement - modifie pour ajuster le rythme du site */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 36px;
  --space-xl: 56px;
  --space-2xl: 80px;
}

/* ---------- Réinitialisation & base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

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

/* 13/11 : « clip » coupe ce qui dépasse à droite comme « hidden », mais sans
   transformer la page en zone de défilement à part. Avec « hidden », l'en-tête
   (logo, FR/PT, menu ☰) ne restait pas en haut de l'écran pendant le défilement,
   et le menu du téléphone partait avec la page. Les très vieux navigateurs
   gardent « hidden ». */
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font: inherit; }

input, textarea {
  font: inherit;
  width: 100%;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hidden-field { display: none; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Lien d'évitement - invisible jusqu'au focus clavier */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--fs-sm);
  z-index: 200;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* =========================================================
   LANGAGE DÉCORATIF "PORTUGAL" - à utiliser avec parcimonie
   -----------------------------------------------------------
   Règle : maximum 1 ou 2 éléments décoratifs par grande section.
   Le site doit rester à 80-90% des fonds unis très clairs - ces
   éléments sont des touches, jamais l'arrière-plan principal.
========================================================= */

/* Marqueur commun à tous les éléments purement décoratifs : jamais
   cliquable, jamais lu par un lecteur d'écran. */
.portugal-decoration {
  pointer-events: none;
}

/* Ces décorations sont position:absolute directement dans la section
   (avant le .container) : sans ceci, un élément positionné passe TOUJOURS
   devant un élément en flux normal, même placé après lui dans le HTML.
   On force donc le vrai contenu à créer son propre niveau d'empilement
   au-dessus. */
#formations > .container,
#packs > .container,
#video-presentation > .container {
  position: relative;
  z-index: 1;
}

/* ---- Motif "azulejo" ----
   Ton illustration d'azulejos (images/azulejo.jpg). Devenue une SIGNATURE
   discrète : utilisée uniquement en bordure de la section communauté
   (.azulejo-edge) et en petit fragment ponctuel (.azulejo-corner), jamais
   en fond plein d'une section entière.
   MODIFIE ICI : pour changer l'illustration, remplace le fichier
   images/azulejo.jpg par une autre (même nom, même format). */
.azulejo-edge,
.azulejo-corner {
  position: absolute;
  background-image: url("images/azulejo.jpg");
  background-size: cover;
  /* L'illustration a une marge crème à gauche : on cadre sur sa partie
     ornée (à droite de l'image) pour ne jamais montrer de zone vide. */
  background-position: right center;
  background-repeat: no-repeat;
}

/* Bande latérale de la section communauté - seul endroit du site où
   l'azulejo reste bien visible, et seulement sur les bords : il
   disparaît en fondu vers le centre grâce au mask-image. */
.azulejo-edge {
  top: 0;
  bottom: 0;
  width: 34%;
  max-width: 260px;
  opacity: 0.55;
}

.azulejo-edge--left {
  left: 0;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.8), transparent);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.8), transparent);
}

.azulejo-edge--right {
  right: 0;
  -webkit-mask-image: linear-gradient(270deg, rgba(0,0,0,0.8), transparent);
  mask-image: linear-gradient(270deg, rgba(0,0,0,0.8), transparent);
}

/* Minuscule fragment ponctuel (ex. derrière la photo "Qui suis-je") -
   très pâle, jamais un fond plein. Ancré par défaut au coin haut-droit ;
   voir les modificateurs --br (bas-droite) et --lg (plus grand, pour une
   section entière plutôt qu'une petite photo) ci-dessous. */
.azulejo-corner {
  top: 0;
  right: 0;
  width: 130px;
  height: 130px;
  opacity: 0.42;
  -webkit-mask-image: radial-gradient(circle at 100% 0%, rgba(0,0,0,0.8), transparent 70%);
  mask-image: radial-gradient(circle at 100% 0%, rgba(0,0,0,0.8), transparent 70%);
}

/* Variante bas-droite : coin inférieur, opposé au coin par défaut - légèrement
   décalée hors du cadre pour paraître "coupée" par le bord de la section
   (l'overflow:hidden de .section fait le reste). */
.azulejo-corner--br {
  top: auto;
  right: -40px;
  bottom: -40px;
  -webkit-mask-image: radial-gradient(circle at 100% 100%, rgba(0,0,0,0.8), transparent 70%);
  mask-image: radial-gradient(circle at 100% 100%, rgba(0,0,0,0.8), transparent 70%);
}

/* Variante agrandie et très discrète, pour une grande section (Formations)
   plutôt que pour un petit cadre photo - moitié moins opaque. */
.azulejo-corner--lg {
  width: 260px;
  height: 260px;
  opacity: 0.24;
}

/* Variante section vidéo : grand et bien affirmé visuellement ;
   déborde volontairement du coin haut-droit comme s'il continuait hors de
   la page. Toujours derrière le contenu (voir #video-presentation > .container). */
.video-azulejo {
  top: -70px;
  right: -70px;
  width: 360px;
  height: 360px;
  opacity: 0.38;
}

/* ---- Forme organique ("blob") ----
   Technique du border-radius asymétrique. Deux teintes seulement :
   crème (fond) et terracotta (accent), pour rester dans la charte. */
.organic-shape {
  position: absolute;
  display: block;
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
}

.organic-shape--cream {
  background: var(--bg-tint);
}

.organic-shape--terracotta {
  background: var(--terracotta);
  opacity: 0.9;
}

/* ---- Petite grille de points ----
   Touche graphique discrète, jamais un fond plein. */
.dot-grid {
  position: absolute;
  background-image: radial-gradient(var(--ink-soft) 1.4px, transparent 1.6px);
  background-size: 16px 16px;
  opacity: 0.3;
}

/* ---- Branche d'olivier ----
   Petite illustration végétale en SVG, dessinée à la main (pas de photo). */
.olive-branch {
  position: absolute;
}

/* ---- Cadre photo réutilisable ----
   Base commune à toutes les photos du site (hero, qui-suis-je, contact) :
   coins arrondis, ombre extrêmement légère, et un état de repli élégant
   (icône + texte) si le fichier image n'est pas encore présent - le
   design ne casse jamais, il affiche juste ce repli discret. */
.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(155deg, var(--green-soft) 0%, var(--bg-tint) 100%);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--green-dark);
  padding: 0 12%;
}

.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-frame-fallback {
  opacity: 0.8;
}

/* Une fois la vraie photo chargée avec succès (voir onload="" sur l'<img>),
   on masque définitivement l'icône et le texte de repli - ils ne doivent
   jamais rester visibles par-dessus une photo qui s'est bien chargée. */
.photo-frame img.is-loaded ~ .photo-frame-fallback,
.photo-frame img.is-loaded ~ .placeholder-text {
  display: none;
}

.photo-frame .placeholder-text {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  max-width: 220px;
  color: var(--green-dark);
  opacity: 0.75;
}

/* Petits drapeaux ronds (Portugal / France) - fichiers images/flag-pt.png
   et images/flag-fr.png, utilisés à la place des émojis drapeau. */
.flag-icon {
  width: 1.15em;
  height: 1.15em;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  vertical-align: -0.2em;
  box-shadow: 0 0 0 1px rgba(18, 30, 25, 0.08);
  flex-shrink: 0;
}

.accent-script {
  font-family: var(--font-accent);
  font-size: var(--fs-xl);
  color: var(--terracotta);
  font-weight: 600;
  display: inline-block;
  transform: rotate(-2deg);
}

/* Mise en avant manuscrite dans un titre (ex. "table de café" dans le hero) */
.script-highlight {
  font-family: var(--font-accent);
  color: var(--terracotta);
  font-weight: 600;
  font-size: 1.15em;
}

/* Petit cœur vert manuscrit près du titre "Avis" */
.avis-heart {
  color: var(--green);
  font-size: var(--fs-xl);
  margin-left: 4px;
}

/* ---------- Boutons ---------- */
/* touch-action:manipulation supprime le double-tap-to-zoom des navigateurs
   mobiles sur ces éléments (sans désactiver le pinch-to-zoom du site) ;
   -webkit-tap-highlight-color retire le flash gris/bleu de certains
   navigateurs mobiles au clic. Aucun bouton ne doit jamais "grossir". */
.btn,
button,
.nav-toggle,
.lang-btn,
.faq-question {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-weight: 700;
  text-align: center;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  min-height: 44px;
  line-height: 1.2;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-ghost:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-large { padding: 14px 28px; font-size: var(--fs-base); }
.btn-small { padding: 11px 22px; font-size: var(--fs-sm); }
.btn-full { display: flex; width: 100%; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 246, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bg-tint);
  transition: box-shadow 0.2s ease;
}

/* Légère ombre une fois que la page a commencé à défiler (voir script.js) -
   reste très discret, pas de changement de taille du header. */
.site-header.is-scrolled {
  box-shadow: 0 4px 16px rgba(18, 30, 25, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-top: 12px;
  padding-bottom: 12px;
}


.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
}

/* Emplacement logo - remplace ce cercle par ton vrai logo :
   <img src="images/logo.png" alt="Académie Lusolien" class="logo-mark"> */
/* Logo complet (galo + « Académie Lusolien »), choisi le 18/10/2026.
   Fichiers : images/logo-lusolien.svg (fond clair) et -inverse.svg (pied de page sombre). */
.logo-full {
  display: block;
  height: 48px;
  width: auto;
  flex-shrink: 0;
}
.logo-footer .logo-full { height: 58px; }

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* "Académie" reprend le même rouge que les "o" de l'ancien nom (.brand-o) -
   couleur uniformisée partout où le nom de la marque apparaît. */
.logo-accent { color: #DA291C; }

/* Nom de la marque "Lusolien" : toujours vert ("Académie" en rouge) - quel que soit le contexte (même dans l'eyebrow, qui est lui
   normalement en terracotta). letter-spacing: normal annule le tracking
   plus large de certains titres (ex. .eyebrow) pour que les lettres du
   nom restent bien groupées, sans que les "o" paraissent détachés. */
.brand-name {
  color: var(--green);
  letter-spacing: normal;
}

.brand-o { color: #DA291C; }

/* « Lusolien » (19/10/2026) : « Luso » vert + « lien » rouge, comme dans le logo
   (vert et rouge du drapeau portugais). Sur fond sombre (pied de page) : comme le logo
   inversé (option A choisie par Gabriel) : « Luso » vert clair, « lien » rouge éclairci,
   « Académie » doré. */
.brand-lien { color: #DA291C; }
.footer-copy .brand-name { color: #9CCBB4; }
.footer-copy .brand-lien { color: #F04A3A; }
.footer-copy .logo-accent { color: var(--gold); }

/* Sélecteur de langue FR / PT - toujours visible dans le header, y compris
   sur mobile (logo | FR/PT | ☰), sobre et cohérent avec le reste du site. */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  padding: 6px 4px;
  border-radius: var(--radius-sm, 6px);
  transition: color 0.15s ease;
}

.lang-btn .flag-icon {
  width: 1.05em;
  height: 1.05em;
  vertical-align: middle;
}

.lang-btn:hover { color: var(--green-dark); }

.lang-btn.is-active {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lang-switch-sep {
  color: var(--ink-soft);
  opacity: 0.5;
  font-size: var(--fs-xs);
}

.main-nav {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile déroulant - visible uniquement sous le point de rupture desktop */
@media (max-width: 1023.98px) {
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: var(--space-sm) 0;
    box-shadow: var(--shadow-md);
  }

  .main-nav.open a {
    padding: 14px var(--space-md);
    text-align: center;
    font-weight: 600;
    color: var(--ink);
  }

  .main-nav.open a:hover {
    color: var(--terracotta);
    background: var(--bg-tint);
  }
}

/* 12/11 : le menu du téléphone descend de sous l'en-tête en 200 ms (rapide
   au début, doux à la fin) et y remonte en 160 ms (20 % plus rapide).
   Le découpage (clip-path) cache la partie encore « sous » l'en-tête ; les
   marges négatives laissent voir l'ombre. .closing est posée par script.js
   pendant la fermeture. Rien ne bouge si l'appareil demande de réduire
   les animations. */
@keyframes menu-descend {
  from { transform: translateY(-100%); clip-path: inset(100% -40px -60px -40px); }
  to   { transform: translateY(0);     clip-path: inset(0 -40px -60px -40px); }
}
@keyframes menu-remonte {
  from { transform: translateY(0);     clip-path: inset(0 -40px -60px -40px); }
  to   { transform: translateY(-100%); clip-path: inset(100% -40px -60px -40px); }
}
/* 12/11 : onglets « À l'intérieur » - repère pour le fondu entre deux
   contenus (script.js pose l'ancien par-dessus le nouveau un instant). */
.inside-screen { position: relative; }

/* 12/11 : fenêtres « Tout le détail » et aperçus (<dialog>). Ouverture :
   de 95 % et transparente à 100 % et opaque en 200 ms (ease-out), fond
   sombre en fondu. Fermeture : l'inverse en 160 ms (20 % plus rapide),
   classe .closing posée par script.js. « scale » (et non « transform »)
   pour ne pas gêner le centrage des aperçus. */
@keyframes fenetre-ouvre { from { opacity: 0; scale: 0.95; } }
@keyframes fenetre-ferme { to { opacity: 0; scale: 0.95; } }
@keyframes fond-ouvre { from { opacity: 0; } }
@keyframes fond-ferme { to { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .detail-dialog[open],
  .preview-dialog[open] { animation: fenetre-ouvre 0.2s ease-out; }
  .detail-dialog[open]::backdrop,
  .preview-dialog[open]::backdrop { animation: fond-ouvre 0.2s ease-out; }
  .detail-dialog.closing,
  .preview-dialog.closing { animation: fenetre-ferme 0.16s ease-in forwards; }
  .detail-dialog.closing::backdrop,
  .preview-dialog.closing::backdrop { animation: fond-ferme 0.16s ease-in forwards; }
}

@media (max-width: 1023.98px) and (prefers-reduced-motion: no-preference) {
  .main-nav.open { animation: menu-descend 0.2s ease-out; }
  .main-nav.open.closing { animation: menu-remonte 0.16s ease-in forwards; }
}

/* 13/11 - téléphone et tablette : menu plus fluide.
   - Le menu apparaît en glissant de 12 px et en fondu (seulement
     « transform » et « opacity » : le téléphone les anime sans effort,
     contrairement au découpage « clip-path » d'avant, qui saccadait).
   - L'en-tête n'a plus de flou derrière lui (très coûteux au-dessus de la
     vidéo d'accueil) : son fond est simplement presque opaque.
   - Plus de rectangle gris ou bleu au toucher du bouton ☰ et des liens. */
@keyframes menu-descend {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes menu-remonte {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-12px); }
}
@media (max-width: 1023.98px) {
  .site-header {
    backdrop-filter: none;
    background: rgba(253, 251, 246, 0.98);
  }
  .site-header a,
  .site-header button { -webkit-tap-highlight-color: transparent; }
  .main-nav.open {
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid var(--bg-tint);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--bg);
  padding: var(--space-lg) 0 var(--space-lg);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Ordre mobile demandé : surtitre, titre, paragraphe, CTA, image, bénéfices,
   réseaux (voir cahier des charges §22) - différent de l'ordre du DOM
   (qui reste optimisé pour le SEO/desktop). display:contents fait
   "disparaître" .hero-text comme conteneur sur mobile : ses enfants
   deviennent des items flex directs de .hero-inner, réordonnables
   individuellement avec .hero-visual. Le desktop annule ça (voir media
   query 1024px) pour retrouver la vraie colonne de gauche groupée. */
.hero-text { display: contents; }
.hero-kicker { order: 1; }
.hero-headline { order: 2; }
.hero-subtitle { order: 3; }
.hero-actions { order: 4; }
.hero-visual { order: 5; }
.hero-benefits { order: 6; }
.hero-social-row { order: 7; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-sm);
}

.eyebrow-center { display: block; text-align: center; }

/* Petit sur-titre du Hero : capitales très espacées + minuscule motif
   (trait orange + trait vert) avant le texte, discret. */
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.hero-kicker-mark {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}

.hero-kicker-mark::before,
.hero-kicker-mark::after {
  content: '';
  display: block;
  width: 16px;
  height: 3px;
  border-radius: 2px;
}

.hero-kicker-mark::before { background: var(--terracotta); }
.hero-kicker-mark::after { width: 10px; background: var(--green); }

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.02;
  margin-bottom: 22px;
}

.hero-headline-main {
  display: block;
  color: var(--green-dark);
}

.hero-headline-accent {
  display: block;
  color: var(--terracotta);
  font-style: italic;
  font-weight: 600;
}

.hero-subtitle {
  font-size: var(--fs-md);
  color: var(--ink-soft);
  margin-bottom: 26px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: 28px;
}

.hero-actions .btn { width: 100%; }

.hero-cta-gift {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
}

.hero-cta-gift:hover {
  background: var(--green-soft);
  color: var(--green);
  transform: none;
}

.gift-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* Bénéfices en ligne - icône + texte, séparateurs verticaux fins, pas de
   cartes (voir demande explicite : rester très léger). */
.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 10px;
  margin-bottom: 24px;
}

.hero-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
  border-right: 1px solid var(--bg-tint);
}

.hero-benefit:nth-child(2n) { border-right: none; }

.hero-benefit-icon {
  font-size: var(--fs-lg);
  color: var(--terracotta);
  flex-shrink: 0;
  line-height: 1;
}

.hero-benefit-icon--infinity {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xl);
}

.hero-benefit-text {
  font-size: var(--fs-xs);
  line-height: 1.35;
}

.hero-benefit-text span:first-child {
  color: var(--green-dark);
  font-weight: 700;
}

.hero-benefit-text span:last-child { color: var(--ink-soft); }

.hero-social-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-social-text {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.3;
}

/* Repères de confiance sous les CTA du hero */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  margin-bottom: var(--space-md);
}

.trust-item { white-space: nowrap; }
.trust-divider { color: var(--bg-tint); }

/* Variante centrée, réutilisée une seule fois près des formations/packs
   pour rassurer juste avant la décision d'achat. */
.trust-row--center {
  justify-content: center;
  margin: var(--space-lg) auto 0;
  max-width: 640px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.social-icon svg { width: 20px; height: 20px; }

.social-icon:hover {
  color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Couleurs réelles des réseaux sociaux - appliquées partout où ces icônes
   apparaissent (badges ronds .social-icon du Hero/footer, et pastilles
   .community-icon de la section Communauté), pour rester immédiatement
   reconnaissable plutôt que d'utiliser la couleur du site partout. */
.social-icon--tiktok { background: #000000; color: #FFFFFF; }
.social-icon--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #FFFFFF;
}
.social-icon--youtube { background: #FF0000; color: #FFFFFF; }

.social-icon--tiktok:hover,
.social-icon--instagram:hover,
.social-icon--youtube:hover {
  color: #FFFFFF;
  opacity: 0.85;
}

.community-icon--tiktok svg { color: #000000; }
.community-icon--instagram svg { color: #d6249f; }
.community-icon--youtube svg { color: #FF0000; }

/* Visuel principal du Hero : l'image fournie (validée graphiquement),
   utilisée telle quelle. Pas de cadre, pas d'ombre marquée, pas de badge
   par-dessus - juste un fondu très léger sur le bord gauche (mask-image,
   ne modifie pas le fichier source) pour qu'elle se fonde dans le fond
   crème de la page plutôt que de créer un bloc "image dans un rectangle". */
.hero-visual {
  position: relative;
  width: 100%;
}

.hero-visual-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* Version "grand format en fond" - masquée par défaut (mobile/tablette
   gardent .hero-visual en flux normal, déjà testé et validé) ; activée
   uniquement à partir du breakpoint desktop, voir media query 1024px. */
.hero-bg {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* centré : la photo a un élément de composition à chaque bord (livre à
     gauche, chien/ardoise à droite), donc plus de biais vers un seul côté */
  object-position: 50% 42%;
  display: block;
}

/* Voile dégradé - foncé côté texte (gauche), transparent côté droit pour
   laisser voir l'image. Utilise --green-dark (déjà la couleur de marque),
   pas une couleur codée en dur nouvelle. */
.hero-bg-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(15, 43, 38, 0.96) 0%,
    rgba(15, 43, 38, 0.93) 38%,
    rgba(15, 43, 38, 0.7) 54%,
    rgba(15, 43, 38, 0.3) 70%,
    rgba(15, 43, 38, 0) 86%
  );
}

/* Barre de caractéristiques premium (Vidéos / PDF / Exercices corrigés) -
   réutilisée à l'identique sur la carte phare du Hero et sur les 3 cartes
   de formation, pour créer une vraie identité visuelle cohérente. Fine
   ligne de séparation au-dessus, icônes SVG trait fin (pas d'emoji, pas
   de grosses cases autour de chaque élément). */
.format-bar {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--bg-tint);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  row-gap: 8px;
}

.format-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}

.format-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--green);
}

/* Même mention "édition" réutilisée sur la carte de formation individuelle */
.formation-edition {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  margin-bottom: 6px;
}

/* ---------- Bande de preuve sociale TikTok (sous le Hero) ---------- */
.social-proof-bar {
  background: var(--bg-tint);
  padding: 16px 0;
  margin-top: 2px;
  text-align: center;
}

.social-proof-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.social-proof-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--green-dark);
  transition: color 0.15s ease;
}

.social-proof-link svg {
  width: 18px;
  height: 18px;
  color: var(--terracotta);
  flex-shrink: 0;
}

.social-proof-link strong { color: var(--terracotta); }

.social-proof-link:hover { color: var(--terracotta); }

.social-proof-sep {
  display: none;
  width: 1px;
  height: 16px;
  background: var(--ink-soft);
  opacity: 0.25;
}

.social-proof-caring {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

.social-proof-caring [aria-hidden] { color: var(--terracotta); }

/* ---------- "Ce qu'il y a à l'intérieur" (aperçu concret, sous le Hero) ---------- */
.inside-section { padding: var(--space-lg) 0 var(--space-xl); }

.inside-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.inside-head .section-title { margin-bottom: 0; }

.inside-lead {
  color: var(--ink-soft);
  font-size: var(--fs-base);
  max-width: 420px;
}

.inside-grid { grid-template-columns: 1fr; }

/* Cartes chaleureuses, pas des cartes SaaS génériques : fond blanc chaud,
   bordure beige fine, beaucoup d'espace, titre serif, icône orange. */
.inside-card {
  background: var(--white);
  border: 1px solid var(--bg-tint);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inside-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.inside-card-media {
  background: var(--bg-tint);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.inside-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Aperçus réels mais voilés (19/10/2026) : flou, fondu et filigrane sont dans l'image
   (la version nette n'est jamais envoyée). En plus : pas de sélection, pas de glisser,
   et le clic droit tombe sur un calque transparent (pas d'« Enregistrer l'image »). */
.inside-card-media--apercu {
  position: relative;
  background: var(--white);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.inside-card-media--apercu img { pointer-events: none; }

.inside-card-media--apercu::after {
  content: "";
  position: absolute;
  inset: 0;
}

.inside-card-body {
  padding: var(--space-md) var(--space-md) var(--space-lg);
}

.inside-card-icon {
  display: inline-block;
  font-size: var(--fs-xl);
  margin-bottom: 10px;
  color: var(--terracotta);
}

.inside-card-body h3 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--green-dark);
  margin-bottom: 6px;
}

.inside-card-body p {
  color: var(--ink-soft);
  font-size: var(--fs-base);
}

/* Démo à onglets : un seul grand écran, 3 onglets (Leçon / Exercice / Audio).
   Téléphone et tablette : 3 onglets de même largeur au-dessus de l'écran
   (icône + titre, qui passe sur 2 lignes si besoin). Ordinateur : les
   onglets passent en colonne à droite de l'écran (voir media query 1024px). */
.inside-demo { max-width: 700px; margin: 0 auto; }

.inside-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: var(--space-sm);
}

.inside-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 10px 6px;
  border: 1px solid var(--bg-tint);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--green-dark);
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Icône posée sur une pastille crème : reste lisible sur l'onglet actif (vert foncé) */
.inside-tab .ico {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: var(--bg-tint);
  flex-shrink: 0;
}

.inside-tab-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inside-tab-title { font-weight: 700; }

/* Phrase courte : affichée dans l'onglet sur ordinateur seulement (sur
   téléphone, la même phrase est sous l'image, dans .inside-panel-text). */
.inside-tab-desc { display: none; }

.inside-tab.is-active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.inside-tab.is-active .ico { background: var(--bg); }

.inside-screen {
  background: var(--white);
  border: 1px solid var(--bg-tint);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.inside-screen-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--bg-tint);
}

.inside-screen-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-tint);
}

/* Aperçu affiché en entier. */
.inside-panel img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.inside-panel-text {
  margin: 0;
  padding: 14px 20px;
  border-top: 1px solid var(--bg-tint);
  text-align: center;
  color: var(--ink-soft);
}

/* Petites reconstitutions fidèles (pas des captures d'écran) de l'interface
   réelle du jeu en ligne - mêmes libellés, mêmes couleurs que les chapitres. */
.mini-ui {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mini-ui--exo {
  background: var(--white);
  gap: 10px;
}

.mini-ui-q {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 4px;
}

.mini-ui-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-ui-options li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--bg-tint);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: var(--fs-xs);
  color: var(--ink);
}

.mini-ui-options li span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--terracotta-pale);
  color: var(--terracotta);
  font-size: var(--fs-2xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mini-ui--audio {
  background: var(--white);
  align-items: center;
  gap: 18px;
}

.mini-ui-play {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-ui-play svg { width: 26px; height: 26px; }

.mini-ui-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 28px;
}

.mini-ui-wave span {
  width: 3px;
  border-radius: 2px;
  background: var(--terracotta);
  opacity: 0.55;
}

.mini-ui-wave span:nth-child(1) { height: 10px; }
.mini-ui-wave span:nth-child(2) { height: 20px; }
.mini-ui-wave span:nth-child(3) { height: 14px; }
.mini-ui-wave span:nth-child(4) { height: 26px; }
.mini-ui-wave span:nth-child(5) { height: 16px; }
.mini-ui-wave span:nth-child(6) { height: 22px; }
.mini-ui-wave span:nth-child(7) { height: 12px; }

/* ---------- Sections (communes) ---------- */
.section {
  position: relative;
  padding: var(--space-xl) 0;
  overflow: hidden;
  /* Le header sticky mesure ~69px de haut en desktop ; on garde une petite
     marge de sécurité au-dessus (mesurée, pas arbitraire) pour que le clic
     sur un lien de menu ne cache jamais le titre derrière le header, sans
     pour autant laisser un grand vide au-dessus du titre. */
  scroll-margin-top: 90px;
}

.hero { scroll-margin-top: 90px; }

.section-tinted {
  background: var(--white);
}

/* Section plus resserrée verticalement (utilisée pour l'e-book) */
.section-compact {
  padding: var(--space-lg) 0;
}

/* Fond légèrement différent des sections crème voisines, pour marquer
   une petite respiration visuelle (utilisé pour l'e-book) */
.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.5vw, 2.3rem);
  text-align: center;
  color: var(--ink);
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto var(--space-sm);
}

.section-title-left {
  text-align: left;
  margin: 0 0 var(--space-sm);
}

.section-subtitle {
  text-align: center;
  color: var(--ink-soft);
  font-size: var(--fs-base);
  max-width: 560px;
  margin: 0 auto var(--space-lg);
}

/* Haut de section resserré : à l'arrivée sur #formations (clic depuis le
   header, le hero ou le CTA mobile), on veut voir le titre, le sous-titre
   ET les badges/haut des photos sans trop de vide entre eux. */
#formations {
  padding-top: clamp(24px, 4vw, 36px);
}

#formations .section-subtitle {
  margin-bottom: 16px;
}

.section-text {
  color: var(--ink-soft);
  font-size: var(--fs-md);
  line-height: 1.7;
}

.section-text + .section-text {
  margin-top: var(--space-sm);
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg) var(--space-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Animation légère au scroll (ajoutée en JS pour ne jamais bloquer le contenu)
   12/11 : 0,3 s en ease-out (rapide au début, doux à la fin). Dans une liste
   de cartes, chaque carte qui apparaît en même temps que d'autres part 30 ms
   après la précédente (--reveal-delay, posé par script.js).
   :not(.reveal-done) : la règle est plus forte que la transition propre de
   certaines cartes (.formation-card), qui empêchait leur fondu. Une fois le
   bloc apparu, script.js ajoute .reveal-done : le bloc retrouve ses
   transitions habituelles (survol), sans décalage. */
.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal:not(.reveal-done) {
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Appareil réglé pour réduire les animations : tout apparaît d'un coup,
   sans décalage entre les cartes. */
@media (prefers-reduced-motion: reduce) {
  .reveal:not(.reveal-done) { transition-delay: 0s; }
}

/* =========================================================
   SECTION "QUI SUIS-JE ?"
========================================================= */
.about-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Photo "Qui suis-je" - grande, verticale, élégante. Le cadre (.photo-frame)
   fournit déjà l'arrondi, l'ombre légère et le repli si l'image manque ;
   ici on ne gère que la taille et les 2 touches décoratives derrière
   (une forme crème + un minuscule fragment d'azulejo - rien derrière le
   texte, jamais plus de 2 éléments décoratifs sur cette section). */
.about-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.about-photo-wrap .organic-shape {
  top: -6%;
  left: -8%;
  width: 55%;
  height: 45%;
}

.about-photo-wrap .azulejo-corner {
  top: -10%;
  right: -8%;
}

.about-photo-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}

.about-note {
  position: absolute;
  z-index: 2;
  bottom: -14px;
  right: 6%;
  background: var(--white);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  transform: rotate(-3deg);
}

.about-text {
  flex: 1;
}

/* Lisibilité un peu plus généreuse, seulement dans "Qui suis-je" (n'affecte
   pas .section-text ailleurs sur le site). */
.about-text .section-text {
  line-height: 1.8;
}

/* "Portugal" et "Académie Lusolien" en gras dans le texte de présentation
   uniquement (pas l'eyebrow, qui utilise déjà son propre gras). */
.about-text .section-text .brand-name,
.about-text .section-text .logo-accent {
  font-weight: 700;
}

.about-text .section-text + .section-text {
  margin-top: var(--space-md);
}

/* Petites touches colorées dans le texte de présentation - 5 à 7 maximum,
   pour guider l'œil sans transformer le texte en arc-en-ciel. Réutilisent
   les couleurs déjà présentes sur le site (aucune nouvelle couleur). */
.about-highlight-orange {
  color: var(--terracotta);
  font-weight: 600;
}

/* Vert de « Luso » (--green #1F4E46), à peine éclairci pour mieux ressortir */
.about-highlight-green {
  color: #2B6358;
  font-weight: 600;
}

/* "je comprends" → "je parle" : le moment fort du texte. Vert doux puis
   orange affirmé, reliés par une petite flèche - sans bannière, juste une
   respiration de couleur intégrée à la phrase. */
.about-highlight-soft {
  color: #2B6358;
  font-weight: 500;
}

.about-arrow {
  color: var(--terracotta);
  font-weight: 700;
}

.about-highlight-strong {
  color: var(--terracotta);
  font-weight: 700;
}

/* Dernière phrase de la présentation : un petit moment de conclusion,
   sans devenir une bannière - juste un léger accent visuel. */
.about-conclusion {
  border-left: 3px solid var(--terracotta);
  padding-left: var(--space-sm);
  font-size: 1.05em;
  font-weight: 500;
}

.about-signature {
  margin-top: var(--space-md);
  font-family: var(--font-accent);
  font-size: var(--fs-xl);
  color: var(--green);
}

.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.about-fact {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-tint);
  color: var(--green-dark);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

/* Preuve sociale TikTok - même style que les autres pastilles, juste
   cliquable, sans effet "gros compteur". */
.about-fact--tiktok svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.about-fact--tiktok:hover {
  background: var(--green);
  color: var(--white);
}

/* ---------- Formulaires (e-book + contact) ---------- */
/* Sur desktop, photo + texte + formulaire tiennent sur une seule ligne
   (voir @media 1024px) pour occuper le moins d'espace vertical possible ;
   en dessous de 1024px, tout s'empile en colonne. */
.ebook-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.ebook-top {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.ebook-visual {
  display: flex;
  justify-content: center;
  padding: var(--space-sm) 0;
}

/* Le formulaire reste dans une carte de largeur confortable, centrée */
.ebook-form {
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

/* Photo des deux guides offerts (image en paysage), en grand */
.ebook-cover-photo {
  width: 100%;
  max-width: 640px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.ebook-contents {
  margin: var(--space-sm) 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ebook-contents li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--fs-base);
  color: var(--ink-soft);
}

.ebook-contents li span[aria-hidden] {
  color: var(--terracotta);
  flex-shrink: 0;
}

.ebook-contents li .ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.lead-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 480px;
  width: 100%;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-text {
  flex: 1;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: var(--space-sm) 0 var(--space-lg);
  font-size: var(--fs-base);
  color: var(--ink-soft);
}

.contact-details a {
  color: var(--green-dark);
  font-weight: 600;
}

.contact-details a:hover {
  color: var(--terracotta);
}

.contact-visual {
  width: 100%;
  max-width: 420px;
  margin: var(--space-lg) auto 0;
}

.contact-photo-frame {
  width: 100%;
  aspect-ratio: 6 / 5;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
}

.form-row input,
.form-row textarea,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--bg-tint);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--fs-base);
}

.form-row input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  line-height: 1.5;
}

.form-success {
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

/* ---------- Formations ---------- */
.formations-grid {
  grid-template-columns: 1fr;
}

/* Enveloppe carte + badge de niveau flottant au-dessus (même logique que
   .premium-card-tag sur le Hero) - un badge par carte, jamais collé sur
   l'image, chaque niveau reprenant une couleur de marque différente pour
   mieux guider l'œil (vert = débutant, doré = intermédiaire, terracotta =
   fluente). */
.formation-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
}

.formation-card-wrap .formation-card {
  flex: 1;
}

.formation-level-badge {
  align-self: flex-start;
  display: inline-block;
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.formation-level-badge--debutant { background: var(--green); }
.formation-level-badge--intermediaire { background: var(--gold); color: var(--ink); }
.formation-level-badge--fluente { background: var(--terracotta); }

.formation-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 30, 25, 0.06);
  border-top: 3px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.formation-card--debutant { border-top-color: var(--green); }
.formation-card--intermediaire { border-top-color: var(--gold); }
.formation-card--fluente { border-top-color: var(--terracotta); }

/* Emplacement image de formation - les 3 cartes utilisent exactement la
   même hauteur (aspect-ratio) et le même traitement (object-fit: cover +
   léger voile chaud pour harmoniser des photos qui viendraient de sources
   différentes). Tant qu'aucune image n'est présente, le dégradé de fond
   fait office de repli élégant - jamais d'icône cassée. */
.formation-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, var(--green-soft), var(--bg-tint));
  overflow: hidden;
}

.formation-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Voile chaud très léger, posé au-dessus de la photo pour unifier le ton
   des 3 images entre elles (n'importe la teinte d'origine des photos) */
.formation-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(192, 86, 33, 0.14), rgba(31, 78, 70, 0.10));
  z-index: 1;
}

.formation-badge {
  position: absolute;
  z-index: 2;
  top: var(--space-sm);
  left: var(--space-sm);
  background: var(--gold);
  color: var(--ink);
  font-size: var(--fs-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
}

.formation-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.formation-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--green-dark);
  margin-bottom: 3px;
}

/* Promesse courte, entre le titre et la description - le premier repère
   que l'œil doit trouver après le nom de la formation. */
.formation-promise {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--terracotta);
  margin-bottom: 6px;
}

.formation-card > .formation-body > p:not(.formation-promise):not(.formation-price):not(.formation-edition) {
  color: var(--ink-soft);
  font-size: var(--fs-base);
  line-height: 1.5;
  margin-bottom: 12px;
}

.formation-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-2xl);
  color: var(--terracotta);
  margin-bottom: 10px;
  line-height: 1.15;
}

.formation-price-note {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-2xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-dark);
  margin-top: 2px;
}

/* Petite pastille "avantage inclus" - réutilisée sur les 3 cartes formation
   et les 3 cartes pack, juste sous le prix. Un seul avantage à la fois
   (1er mois d'Accompagnement Saudade offert) : ne pas empiler plusieurs
   pastilles, ça redevient du bruit. */
.card-perk {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.3;
  border-radius: 999px;
  padding: 6px 13px;
  margin-bottom: var(--space-sm);
}

.card-perk svg { flex-shrink: 0; width: 14px; height: 14px; color: var(--terracotta); }

.formation-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-md);
  flex: 1;
}

.formation-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--ink-soft);
}

.formation-features li span[aria-hidden] {
  color: var(--green);
  flex-shrink: 0;
}

.formation-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.formation-actions .btn {
  padding-top: 14px;
  padding-bottom: 14px;
  padding-left: 24px;
  padding-right: 24px;
}

/* Sur les 3 cartes de l'accueil, les deux boutons restent l'un sous
   l'autre à toutes les tailles : côte à côte, ils passaient sur deux
   lignes chacun dans des cartes de cette largeur. */
.formation-card .formation-actions { flex-direction: column; }

/* Accès visible et direct au programme détaillé de la formation (10
   modules, méthode, mini-FAQ) - un lien clair sous les boutons, pas un
   3e bouton de même poids visuel que les CTA principaux. */
.formation-detail-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(31, 78, 70, 0.3);
  text-underline-offset: 3px;
}

.formation-detail-link:hover { color: var(--terracotta); }

/* Bande Vidéos/PDF/Exercices, légèrement plus présente sur les cartes de
   formation uniquement (la carte du Hero garde son style d'origine). */
.formation-card .format-bar {
  background: var(--bg-tint);
  border-top: none;
  border-radius: var(--radius-md);
  padding: 8px 6px;
  margin-top: 10px;
}

/* Bandeau de transition entre les formations individuelles et les packs -
   compact, texte à gauche / CTA à droite sur desktop, empilé sur mobile. */
.formations-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  background: var(--green-soft);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-top: var(--space-lg);
}

.formations-banner-title {
  font-weight: 700;
  color: var(--green-dark);
  margin-right: 4px;
}

.formations-banner-text {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.4;
}

.formations-banner-cta {
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .formations-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 14px 16px 14px 24px;
  }
}

/* Bandeau "offre de lancement" (tarif fondateur) - au-dessus de la grille
   de formations, vu avant même de comparer les niveaux. C'est l'ajustement
   à effort quasi nul et impact le plus direct sur les premières ventes
   (voir "Prochains chapitres", §3 Modèle économique).
   Nombre de places et pourcentage : MODIFIE ICI selon ce que tu décides
   (le document source les donne comme exemple "à chiffrer toi-même",
   pas comme un chiffre déjà arrêté). */
.founder-offer {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: center;
  background: var(--terracotta);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 12px 20px;
  margin-bottom: var(--space-md);
}

.founder-offer-icon { flex-shrink: 0; width: 24px; height: 24px; }

.founder-offer-text { font-size: var(--fs-sm); line-height: 1.45; }
.founder-offer-text strong { font-weight: 800; }

@media (min-width: 640px) {
  .founder-offer { flex-direction: row; text-align: left; }
}
@media (max-width: 639px) {
  .founder-offer { flex-direction: column; }
}

/* ---------- Vidéo de présentation ---------- */
/* Section resserrée verticalement (moins de vide autour de la vidéo) et
   cadre agrandi pour plus de présence - voir aussi la version desktop
   dans le bloc @media (min-width: 1024px) plus bas. */
#video-presentation {
  padding: 40px 0;
}

#video-presentation .section-subtitle { margin-bottom: var(--space-md); }

#video-presentation .section-subtitle {
  margin-bottom: var(--space-md);
}

.video-frame {
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: linear-gradient(155deg, var(--green-soft) 0%, var(--bg-tint) 100%);
}

/* Branche d'olivier en bas à gauche de la section vidéo - un peu plus
   visible que l'azulejo (.video-azulejo) mais toujours secondaire ; elle
   déborde volontairement du coin (voir #video-presentation > .container
   pour la règle de z-index qui la garde derrière le contenu). L'image est
   nativement dessinée pour un coin HAUT-gauche (partie dense en haut/à
   gauche, qui s'estompe vers le bas/la droite) ; un flip vertical
   (scaleY(-1)) retourne cette partie dense vers le bas tout en gardant la
   gauche dense, ce qui correspond exactement à un coin BAS-gauche sans
   qu'aucun bord net ne soit visible (pas besoin de masque de secours ici). */
.video-olive {
  bottom: -35px;
  left: -50px;
  width: 260px;
  height: auto;
  opacity: 0.95;
  transform: rotate(-6deg) scaleY(-1);
}

/* Une fois la vraie vidéo ajoutée (balise <video> ou <iframe>), elle
   remplit naturellement ce cadre - pas de changement CSS nécessaire. */
.video-frame video,
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-frame-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--green-dark);
  text-align: center;
  padding: 0 var(--space-md);
}

.video-play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  color: var(--terracotta);
  box-shadow: var(--shadow-sm);
}

/* ---------- Aperçu réel des formations (teaser) ---------- */
.apercu-grid {
  grid-template-columns: 1fr;
}

.apercu-card {
  text-align: center;
}

.apercu-card-icon {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-sm);
}

.apercu-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--green-dark);
  margin-bottom: 6px;
}

.apercu-card p {
  color: var(--ink-soft);
  font-size: var(--fs-base);
}

.apercu-cta {
  text-align: center;
  margin-top: var(--space-lg);
}

/* Le bouton "ghost" (bordure verte) est invisible sur le fond vert foncé
   de cette section - variante blanche pleine, cohérente avec les pastilles
   .community-icon utilisées juste après dans la section Communauté. */
.apercu-cta-btn {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}

.apercu-cta-btn:hover {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--white);
}

/* ---------- Pages détaillées de formation (portugais-essentiel.html,
   intermediaire.html, fluente.html) - réutilisent au maximum les classes
   existantes (.section, .card, .faq-item, .preview-*, .trust-row) ; les
   quelques classes ci-dessous ne couvrent que ce qui est vraiment
   spécifique à ces pages. ---------- */
/* Aligné à gauche du contenu même si son conteneur parent centre le texte
   (hero de formation) - display:flex (pas inline) + margin-right:auto
   le sort du flux centré sans toucher au reste du hero. */
.back-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--green-dark);
  font-size: var(--fs-sm);
  margin: 0 auto var(--space-md) 0;
  text-align: left;
  transition: color 0.15s ease;
}

.back-link:hover { color: var(--terracotta); }

.formation-hero-level {
  color: var(--terracotta);
}

.formation-hero-price-line {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--green-dark);
  margin: var(--space-sm) 0;
}

.formation-hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  margin-top: var(--space-md);
}

/* Étiquette au-dessus de chaque champ d'un module (Mise en pratique,
   Technique d'apprentissage) - reprend le style de .preview-block-title
   en plus discret, pour ne pas rivaliser avec "Tu vas apprendre". */
.module-field-label {
  font-weight: 700;
  color: var(--green-dark);
  font-size: var(--fs-sm);
  margin: var(--space-sm) 0 2px;
}

.module-field-label:first-child { margin-top: 0; }

.technique-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: var(--space-md);
}

.technique-tag {
  background: var(--bg-tint);
  color: var(--green-dark);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

.price-callout { text-align: center; }

.price-callout-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 700;
  color: var(--green-dark);
}

.price-callout-note {
  color: var(--ink-soft);
  font-size: var(--fs-base);
  margin: 4px 0 var(--space-md);
}

.compare-formations-link {
  display: block;
  text-align: center;
  margin-top: var(--space-lg);
  font-weight: 600;
  color: var(--green-dark);
}

.compare-formations-link:hover { color: var(--terracotta); }

/* Petite branche décorative en haut à gauche de la section Packs - très
   discrète, jamais derrière une carte ou un prix (voir la règle de
   z-index sur #packs > .container plus bas). */
.packs-olive {
  position: absolute;
  top: -18px;
  left: -26px;
  width: 130px;
  height: auto;
  opacity: 0.95;
  transform: rotate(-12deg);
}

/* ---------- Packs ----------
   Réutilise .card et .formation-features (mêmes coches vertes) pour rester
   cohérent avec les formations individuelles - pas de style dupliqué. */
.pack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(18, 30, 25, 0.06);
}

.pack-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--green-dark);
  margin-bottom: 4px;
}

.pack-subtitle {
  color: var(--ink-soft);
  font-size: var(--fs-base);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.pack-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--gold);
  color: var(--ink);
  font-size: var(--fs-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
}

.pack-badge--best {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.pack-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 2px;
}

/* Ancien prix - discret et barré, ne doit jamais rivaliser avec le prix actuel */
.pack-price-old {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  text-decoration: line-through;
  text-decoration-color: rgba(87, 100, 92, 0.5);
}

.pack-price-new {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-2xl);
  color: var(--terracotta);
}

/* Économie : un vrai badge repérable au premier coup d'œil, pas une ligne
   de texte perdue entre le prix et la liste des bénéfices. */
.pack-savings {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  margin-bottom: var(--space-md);
}

/* Sur la carte featured (déjà vert très pâle), le badge reste blanc pour
   ne pas se fondre dans le fond de carte. */
.pack-card--featured .pack-savings { background: var(--white); }

.pack-card .btn-full {
  padding-top: 14px;
  padding-bottom: 14px;
}

.pack-savings::before {
  content: "";
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9.5' stroke='%2312332D' stroke-width='2'/%3E%3Cpath d='M7.5 12.5l2.8 2.8 6.2-6.6' stroke='%2312332D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Identité subtile par pack - jamais criarde, juste de quoi distinguer
   les trois cartes au premier coup d'œil. */
.pack-card--progression { background: var(--bg-alt); }
.pack-card--perfectionnement { background: var(--terracotta-pale); }

/* Carte "Parcours complet" clairement recommandée, sans effet criard :
   léger fond vert très pâle, bordure verte, ombre un peu plus marquée que ses voisines. */
.pack-card--featured {
  border: 2px solid var(--green);
  background: var(--green-soft);
  box-shadow: var(--shadow-md);
}

/* Petite phrase manuscrite, pour casser l'effet "tableau de prix" */
.packs-handwritten {
  text-align: center;
  color: var(--terracotta);
  font-size: var(--fs-md);
  margin-top: -8px;
  margin-bottom: var(--space-md);
}

/* Niveaux inclus dans chaque pack, sous forme de petit parcours visuel */
.pack-levels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: var(--space-sm);
}

.pack-level-chip {
  display: inline-block;
  font-size: var(--fs-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--white);
}

.pack-level-chip--essentiel { background: var(--green); }
.pack-level-chip--intermediaire { background: var(--gold); color: var(--ink); }
.pack-level-chip--fluente { background: var(--terracotta); }

.pack-level-arrow {
  color: var(--ink-soft);
  font-size: var(--fs-xs);
}

/* "Soit X €/niveau" - petite ligne de contexte sous le prix, avant le badge d'économie */
.pack-per-level {
  color: var(--green-dark);
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: 6px;
}

/* ---------- Coches propres (SVG), au lieu du caractère ✓ brut -
   utilisées ici sur l'accompagnement et les packs, sans toucher au reste
   du site qui garde son système actuel. ---------- */
.accompagnement-features li span[aria-hidden],
.packs-grid .formation-features li span[aria-hidden] {
  display: none;
}

.accompagnement-features li,
.packs-grid .formation-features li {
  position: relative;
  padding-left: 22px;
}

.accompagnement-features li::before,
.packs-grid .formation-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9.5' stroke='%231F4E46' stroke-width='2'/%3E%3Cpath d='M7.5 12.5l2.8 2.8 6.2-6.6' stroke='%231F4E46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.accompagnement-features li,
.packs-grid .formation-features li {
  margin-bottom: 2px;
}

.accompagnement-features strong,
.pack-card .formation-features strong {
  color: var(--green-dark);
  font-weight: 700;
}

/* ---------- Accompagnement (offre mensuelle, facultative) ---------- */
.accompagnement-card {
  max-width: 760px;
  margin: 0 auto;
}

.accompagnement-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--bg-tint);
}

.accompagnement-header h3 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--green-dark);
  margin-bottom: 6px;
}

.accompagnement-note {
  color: var(--ink);
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 1.5;
}

.accompagnement-note-sub {
  color: var(--ink-soft);
  font-size: var(--fs-xs);
  margin-top: 4px;
}

.accompagnement-price-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-2xl);
  color: var(--terracotta);
  line-height: 1.1;
}

.accompagnement-price-period {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}

/* « À partir de » au-dessus du prix de la formule la moins chère */
.accompagnement-price-from {
  font-weight: 700;
  font-size: var(--fs-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2px;
}

/* "Sans engagement" devient un vrai badge de réassurance, pas juste du texte coloré */
.accompagnement-price-tag {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
  font-size: var(--fs-2xs);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 11px;
  border-radius: 999px;
  margin-top: 6px;
}

/* Réassurance "accès à vie" : encadré clair avec coche, plutôt qu'une
   simple ligne italique perdue en bas de carte. */
.accompagnement-reassurance {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  margin: var(--space-sm) 0 var(--space-md);
}

.accompagnement-reassurance::before {
  content: "";
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9.5' stroke='%2312332D' stroke-width='2'/%3E%3Cpath d='M7.5 12.5l2.8 2.8 6.2-6.6' stroke='%2312332D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Comparaison claire : formation (paiement unique) vs accompagnement
   (mensuel, facultatif) - deux colonnes simples avec les mêmes coches
   vertes que le reste du site (.formation-features). */
.pricing-comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 760px;
  margin: var(--space-xl) auto 0;
}

.pricing-comparison-col {
  background: var(--bg-tint);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.pricing-comparison-col--accent {
  background: var(--green-soft);
}

.pricing-comparison-label {
  display: inline-block;
  background: rgba(18, 30, 25, 0.06);
  color: var(--green-dark);
  font-weight: 700;
  font-size: var(--fs-2xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.pricing-comparison-col--accent .pricing-comparison-label {
  background: rgba(18, 30, 25, 0.08);
}

.pricing-comparison-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.pc-highlight-green { color: var(--green-dark); }
.pc-highlight-orange { color: var(--terracotta); }

/* Gris chaud demandé spécifiquement pour ces deux sections, sans changer
   le --ink-soft utilisé partout ailleurs sur le site. */
#packs .section-subtitle,
#accompagnement-section .section-subtitle {
  color: #6B6B63;
}

/* =========================================================
   APERÇU DE FORMATION (fenêtre modale <dialog>)
   Ouverte par le bouton "Voir un aperçu" de chaque formation - remplace
   l'ancienne grande section "Un aperçu avant d'acheter" (supprimée) :
   l'aperçu est maintenant disponible à la demande, depuis chaque carte.
========================================================= */
/* Tant que le <dialog> n'a pas son attribut [open] (ajouté par
   showModal()), il doit rester totalement invisible - display:flex ne
   doit s'appliquer qu'à l'état ouvert, sinon il écrase le display:none
   natif du <dialog> fermé et le contenu reste visible en arrière-plan. */
.preview-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1120px, 92vw);
  max-height: 88vh;
  margin: 0;
  border: none;
  border-radius: 22px;
  padding: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.preview-dialog:not([open]) {
  display: none;
}

.preview-dialog[open] {
  display: flex;
  flex-direction: column;
}

.preview-dialog::backdrop {
  background: rgba(18, 30, 25, 0.55);
  backdrop-filter: blur(3px);
}

/* ---------- Header : fin, vert foncé, jamais plus de ~110px ---------- */
.preview-header {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  background: var(--green);
  color: var(--white);
  padding: 18px 22px;
}

.preview-eyebrow {
  font-size: var(--fs-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 4px;
}

.preview-header h3 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  line-height: 1.15;
}

.preview-header-line {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-sm);
  margin-top: 4px;
}

.preview-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: var(--fs-md);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.preview-close:hover { background: rgba(255, 255, 255, 0.3); }

/* ---------- Zone centrale scrollable ---------- */
.preview-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px 8px;
}

/* Bande compacte "Dans cet extrait" - un fond crème très léger, jamais
   un gros bloc vertical */
.preview-extract {
  background: var(--bg-tint);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 14px;
}

.preview-extract-label {
  font-weight: 700;
  font-size: var(--fs-xs);
  color: var(--green-dark);
  margin-bottom: 6px;
}

.preview-extract-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.preview-extract-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  flex: 1 1 220px;
}

.preview-extract-list li span[aria-hidden] {
  color: var(--terracotta);
  flex-shrink: 0;
}

/* Petit argument de confiance, discret, juste avant les pages */
.preview-reassurance {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green-dark);
  font-weight: 600;
  font-size: var(--fs-xs);
  margin-bottom: 14px;
}

.preview-reassurance span[aria-hidden] { color: var(--green); }

/* Pages d'aperçu - le coeur de la modale. 2 vraies pages (ratio A4) +
   1 page "verrouillée", còte à còte sur desktop. */
.preview-pages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 14px;
}

.preview-page-label {
  text-align: center;
  font-size: var(--fs-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.preview-page {
  position: relative;
  aspect-ratio: 210 / 297;
  max-height: 46vh;
  margin: 0 auto;
  border-radius: 9px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(18, 30, 25, 0.1);
  box-shadow: var(--shadow-sm);
}

.preview-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.preview-page img.is-loaded { opacity: 1; }
.preview-page img.is-loaded ~ .preview-page-fallback { display: none; }

/* Fallback tant que l'image réelle n'est pas encore déposée - une vraie
   "fausse page" (lignes grises), jamais une grosse icône dans un carré vide */
.preview-page-fallback {
  width: 100%;
  height: 100%;
  padding: 18% 14%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
}

.preview-page-fallback-line {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--bg-tint);
}

.preview-page-fallback-line--short { width: 60%; }

.preview-page-fallback-text {
  margin-top: auto;
  font-size: var(--fs-2xs);
  color: var(--ink-soft);
  text-align: center;
}

/* 3e page : ressemble à une vraie page (pas un gros pavé noir), avec un
   voile clair et un verrou engageant plutôt qu'une interdiction */
.preview-page-locked {
  background: var(--white);
}

.preview-page-locked-bg {
  position: absolute;
  inset: 0;
  padding: 18% 14%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  filter: blur(2px);
  opacity: 0.7;
}

.preview-page-locked-bg span {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--bg-tint);
}

.preview-page-locked-bg span:nth-child(3) { width: 80%; }
.preview-page-locked-bg span:nth-child(5) { width: 55%; }

.preview-page-locked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 10%;
  background: rgba(251, 247, 239, 0.86);
}

.preview-page-locked .lock-icon {
  font-size: var(--fs-xl);
  filter: grayscale(1) brightness(0.4) sepia(1) hue-rotate(120deg) saturate(2);
}

.preview-page-locked-text {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.3;
}

.preview-page-locked-cta {
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--terracotta);
}

/* ---------- Footer : sticky, prix + CTA toujours visibles ---------- */
.preview-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 14px 22px;
  border-top: 1px solid var(--bg-tint);
  background: var(--white);
}

.preview-footer-price-line {
  font-size: var(--fs-base);
  color: var(--green-dark);
  font-weight: 600;
}

.preview-price-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--terracotta);
}

.preview-footer-includes {
  font-size: var(--fs-2xs);
  color: var(--ink-soft);
  margin-top: 2px;
}

.preview-footer-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Lien secondaire et discret vers la page détaillée de la formation
   (programme complet, 10 modules) - complémentaire à l'aperçu rapide,
   pas un second CTA d'achat. */
.preview-more-link {
  display: block;
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(31, 78, 70, 0.3);
  text-underline-offset: 3px;
  margin-top: 4px;
}

.preview-more-link:hover { color: var(--terracotta); }

/* ---------- Tablette : pages 1-2 còte à còte, verrouillée en dessous ---------- */
@media (max-width: 900px) {
  .preview-pages {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-page-col:last-child {
    grid-column: span 2;
  }

  .preview-page-col:last-child .preview-page {
    aspect-ratio: 420 / 200;
    max-height: 26vh;
    max-width: 480px;
  }

  .preview-page-locked-bg { display: none; }
}

/* ---------- Mobile : quasi plein écran, une page à la fois, empilées ---------- */
@media (max-width: 639px) {
  .preview-dialog {
    width: 95vw;
    max-height: 94vh;
  }

  .preview-header { padding: 14px 16px; }
  .preview-scroll { padding: 14px 16px 8px; }

  .preview-close {
    width: 40px;
    height: 40px;
    font-size: var(--fs-lg);
  }

  .preview-extract-list {
    flex-direction: column;
    gap: 6px;
  }

  .preview-pages {
    grid-template-columns: 1fr;
  }

  .preview-page-col:last-child {
    grid-column: auto;
  }

  .preview-page {
    max-height: 52vh;
  }

  .preview-page-col:last-child .preview-page {
    aspect-ratio: 210 / 297;
    max-height: 52vh;
    max-width: none;
  }

  .preview-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 16px;
  }

  .preview-footer-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Petite touche Nico - un seul mascotte, discrete, avant les 3 cartes de
   formation. Marge basse généreuse pour ne pas coller au badge de niveau
   de la première carte juste en dessous. */
.formations-nico-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 560px;
  margin: var(--space-lg) auto var(--space-lg);
  padding: 16px 22px;
  border-radius: 20px;
  background: var(--bg-alt);
  color: var(--ink-soft);
  font-size: var(--fs-md);
  line-height: 1.55;
  text-align: left;
}

.formations-nico-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  object-position: bottom;
  flex: none;
}

/* Petit rappel discret sous les 3 cartes de formation, sans grosse section */
.formations-apercu-hint {
  text-align: center;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  margin-top: var(--space-md);
}

/* Lien vers le test « Quelle formation choisir ? », juste sous le
   sous-titre de la section Formations. */
.formations-quiz {
  text-align: center;
  margin: 0 auto 20px;
}

.formations-quiz-link {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid rgba(31, 78, 70, 0.18);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.formations-quiz-link strong {
  color: var(--green);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.formations-quiz-link:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.formations-quiz-link:hover strong { color: var(--terracotta); }

/* Lien test posé à cheval sur le bas de l'écran d'aperçu, comme une petite fenêtre flottante */
.inside-quiz {
  margin: var(--space-md) 16px 0;
  font-size: var(--fs-sm);
}

.inside-quiz .formations-quiz-link { box-shadow: var(--shadow-md); }

.preview-cta {
  text-align: center;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--bg-tint);
}

.preview-cta p {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  margin-top: 10px;
}

/* ---------- Équipe / héritage (section Qui suis-je secondaire) ---------- */
.team-grid {
  grid-template-columns: 1fr;
  max-width: 780px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--ink);
  margin-bottom: 4px;
}

.team-role {
  color: var(--terracotta);
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-sm);
}

.team-bio {
  color: var(--ink-soft);
  font-size: var(--fs-base);
}

/* ---------- Témoignages ----------
   Structure : avatar + prénom/niveau + étoiles en haut, citation, puis
   une ligne de résultat concret facultative. Pour ajouter un témoignage,
   copie un bloc .testimonial-card entier dans le HTML. */
.testimonials-grid {
  grid-template-columns: 1fr;
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-sm);
}

/* MODIFIE ICI : remplace le rond initiale par <img src="..." alt="">
   (garde .avatar, object-fit: cover s'applique automatiquement) */
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-base);
  flex-shrink: 0;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--ink);
}

.testimonial-level {
  font-weight: 500;
  color: var(--ink-soft);
}

.testimonial-stars {
  color: var(--gold);
  font-size: var(--fs-sm);
  letter-spacing: 2px;
  margin-top: 2px;
}

.testimonial-quote {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink-soft);
  font-style: italic;
}

.testimonial-result {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--bg-tint);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--green-dark);
}

.testimonial-result span[aria-hidden] {
  color: var(--terracotta);
  flex-shrink: 0;
}

/* ---------- Rejoins la communauté ----------
   Le seul bloc vert foncé du site : casse volontairement le rythme
   crème/blanc du reste de la page. L'azulejo reste visible sur les
   bords gauche/droit (voir .azulejo-edge), en fondu vers le centre -
   le centre, où vit le texte, reste parfaitement lisible. */
.community-section {
  background: var(--green);
}

.community-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.community-eyebrow { color: var(--gold); }

.community-title,
.community-subtitle {
  color: var(--white);
}

.community-subtitle { opacity: 0.85; }

.community-script {
  color: var(--gold);
  font-size: var(--fs-xl);
  margin: 0 0 var(--space-md);
}

.community-olive {
  position: absolute;
  width: 180px;
  height: auto;
  opacity: 1;
}

.community-olive--tl {
  top: -20px;
  left: -30px;
  transform: rotate(-15deg);
}

.community-olive--br {
  bottom: -20px;
  right: -30px;
  transform: rotate(165deg);
}

.community-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  max-width: 360px;
  margin: 0 auto;
}

.community-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.community-icon svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.community-icon:hover {
  color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Petit rappel discret de la communauté TikTok - pas une répétition du
   même gros message que dans "Qui suis-je" */
.community-tiktok-note {
  margin-top: var(--space-md);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-sm);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--ink);
  padding: 18px var(--space-md);
  cursor: pointer;
  min-height: 44px;
}

.faq-icon {
  flex-shrink: 0;
  font-size: var(--fs-lg);
  color: var(--terracotta);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

/* Contenu de la réponse un peu en retrait du bord de la carte (28/10) */
.faq-answer > ul,
.faq-answer > ol,
.faq-answer > div {
  padding-left: calc(var(--space-md) + 12px);
  padding-right: calc(var(--space-md) + 12px);
}

.faq-answer p {
  padding: 0 calc(var(--space-md) + 12px) 18px;
  color: var(--ink-soft);
  font-size: var(--fs-base);
}

/* Lien vers le test de niveau dans la réponse « Comment savoir quelle formation choisir ? » */
.faq-quiz-link {
  font-weight: 600;
  color: var(--terracotta-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-quiz-link:hover { color: var(--terracotta); }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  margin: 10px 0 var(--space-sm);
  font-size: var(--fs-sm);
  max-width: 280px;
}

.footer-baseline {
  font-family: var(--font-accent);
  font-size: var(--fs-md);
  color: var(--gold);
  margin-top: 4px;
}

.logo-footer { color: var(--white); }
.footer-social .social-icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

/* Les couleurs de marque restent prioritaires même dans le footer (fond
   sombre) - sans ce bloc, la règle générique .footer-social .social-icon
   ci-dessus l'emporterait sur .social-icon--tiktok/instagram/youtube. */
.footer-social .social-icon--tiktok { background: #000000; color: #FFFFFF; }
.footer-social .social-icon--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #FFFFFF;
}
.footer-social .social-icon--youtube { background: #FF0000; color: #FFFFFF; }

.footer-links,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: var(--fs-sm);
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--white);
  margin-bottom: 4px;
}

.footer-links a {
  padding: 2px 0;
}

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

.footer-social .social-links {
  margin-top: 2px;
}

.footer-copy {
  text-align: center;
  font-size: var(--fs-sm);
  opacity: 0.7;
}

/* ---------- Retour en haut ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  border: none;
  font-size: var(--fs-lg);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover { background: var(--green-dark); }

/* ---------- Barre CTA flottante mobile ---------- */
.mobile-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: var(--white);
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(18, 30, 25, 0.14);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.mobile-cta-bar.visible { transform: translateY(0); }

.mobile-cta-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-xs);
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body { padding-bottom: 74px; }

/* Header mobile (logo + sélecteur de langue + menu burger) : ce contenu ne
   tient pas sur une seule ligne sur la majorité des téléphones actuels
   (390 à 430px de large - iPhone standard/Pro/Pro Max, Android courants),
   pas seulement sur les très petits écrans. Sans ce correctif, le contenu
   déborde silencieusement (caché par overflow:hidden) au lieu de s'adapter
   - c'est ce qui provoquait un zoom automatique incohérent du navigateur
   mobile. Seuil volontairement généreux (500px) pour couvrir tous les
   téléphones ; les tablettes (768px+) gardent le logo complet. */
@media (max-width: 500px) {
  .logo { font-size: var(--fs-base); }
  .header-inner .logo-full { height: 42px; }
  .header-inner { gap: 8px; }
  .lang-btn { padding: 6px 3px; font-size: var(--fs-xs); }
  .lang-switch { gap: 3px; }
}

/* « Académie Lusolien » en entier sur les petits téléphones : logo un peu
   plus compact pour que le menu ☰ reste dans l'écran (360px et moins). */
@media (max-width: 380px) {
  .logo { font-size: var(--fs-sm); gap: 6px; }
  .header-inner .logo-mark { width: 26px; height: 26px; }
  .header-inner .logo-full { height: 38px; }
}
@media (max-width: 340px) {
  .logo { font-size: var(--fs-xs); }
  .lang-btn img, .lang-btn .lang-flag { display: none; }
}

@media (max-width: 420px) {
  /* Décorations encore plus discrètes sur petit écran */
  .azulejo-corner--lg { width: 160px; height: 160px; opacity: 0.18; }
  .packs-olive { width: 95px; opacity: 0.75; }
  .community-olive { width: 125px; }

  /* Sur très petit écran, la branche d'olivier de la section vidéo devient
     vite envahissante à côté d'une vidéo pleine largeur : on la retire et
     on garde uniquement l'azulejo, encore réduit. */
  .video-azulejo { width: 170px; height: 170px; opacity: 0.3; top: -30px; right: -30px; }
  .video-olive { display: none; }

  /* Barre Vidéos/PDF/Exercices corrigés : resserrée pour rester lisible et
     centrée sans déborder de la carte sur les très petits écrans. */
  .format-bar { gap: 10px 14px; }
  .format-item { font-size: var(--fs-2xs); }
  .format-icon { width: 14px; height: 14px; }
}

/* =========================================================
   RESPONSIVE - TABLETTE (≥ 640px)
========================================================= */
@media (min-width: 640px) {
  /* minmax(0, 1fr) et pas 1fr : avec 1fr, une carte au contenu plus large
     (prix, boutons) élargit sa colonne et écrase sa voisine. Ici les
     colonnes restent strictement égales. */
  .formations-grid,
  .packs-grid,
  .apercu-grid,
  .inside-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; }

  .hero-benefits { grid-template-columns: repeat(4, auto); justify-content: flex-start; }

  .social-proof-inner { flex-direction: row; }
  .social-proof-sep { display: block; }

  .formation-actions { flex-direction: row; }

  .accompagnement-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .accompagnement-price { text-align: right; }

  .accompagnement-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px var(--space-md);
  }

  .pricing-comparison { grid-template-columns: repeat(2, 1fr); }

  .community-icons {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }

  .community-icon { width: auto; }

  .about-inner {
    flex-direction: row;
    align-items: center;
  }

  .about-photo-wrap { flex-shrink: 0; }
}

/* =========================================================
   RESPONSIVE - DESKTOP (≥ 1024px)
========================================================= */
@media (min-width: 1024px) {
  /* Échelle globale réduite sur ordinateur : tout le site (textes, images,
     espacements) est affiché à 85 %, proportions identiques, pour qu'une
     section tienne dans un écran à 100 % de zoom navigateur. */
  html { zoom: 0.85; }
  /* Textes (en rem) remontés de 16 % pour compenser la réduction. */
  html { font-size: 116%; }

  :root {
    --space-xl: 88px;
    --space-2xl: 110px;
  }

  .main-nav {
    display: flex;
    gap: 24px;
    flex: 1;
    justify-content: center;
  }

  .main-nav a {
    position: relative;
    font-size: var(--fs-base);
    font-weight: 500;
    color: var(--ink-soft);
    transition: color 0.25s ease;
    padding: 8px 2px;
  }

  /* Petite ligne discrète sous le lien, au survol et sur la section active */
  .main-nav a::after {
    content: '';
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: 3px;
    height: 2px;
    background: var(--terracotta);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }

  .main-nav a:hover { color: var(--terracotta); }
  .main-nav a:hover::after { transform: scaleX(1); }

  /* Lien de la section actuellement visible (voir script.js - scroll-spy) */
  .main-nav a.active {
    color: var(--terracotta);
  }

  .main-nav a.active::after { transform: scaleX(1); }

  /* Garantie explicite : aucun effet de zoom/agrandissement sur les
     onglets du menu, dans aucun état (le lien lui-même ne doit jamais
     grossir - seule la petite ligne sous le texte s'anime). */
  .main-nav a,
  .main-nav a:hover,
  .main-nav a:focus,
  .main-nav a:active,
  .main-nav a.active {
    transform: none;
  }

  .nav-toggle { display: none; }

  /* Le Hero seul utilise une largeur plus généreuse que le .container
     standard (1160px) pour laisser le texte respirer par-dessus la photo. */
  .hero .container { max-width: 1500px; }

  /* ---- Grand format en fond (desktop) ----
     L'image occupe tout le Hero, le texte vient par-dessus à gauche avec
     un voile dégradé pour rester lisible - remplace la composition
     2 colonnes utilisée en dessous de 1024px (qui reste inchangée).
     La hauteur suit la largeur de l'écran (56.28vw = largeur/ratio réel de
     la photo, 1672x941) au lieu de rester figée : entre ~1210 et ~1530px de
     large, la hauteur épouse exactement le ratio de la photo et
     object-fit:cover n'a donc plus besoin de rogner le haut ou le bas
     (c'est ce qui coupait le chien/la table sur grand écran). min-height
     garde un plancher pour que le texte reste a l'aise en dessous de
     1210px ; max-height evite un hero demesure au-dessus de 1530px (le peu
     de rognage qui reapparait alors est en haut/bas, jamais sur les cotes
     ou vit le texte).
     (note : un `aspect-ratio` direct sur .hero a été essayé et écarté - au
     lieu de garder la largeur pleine page une fois min/max-height
     appliqués, Chromium recalcule aussi la largeur pour garder le ratio,
     ce qui laisse une bande vide à droite sur grand écran et rogne le
     bord droit sur petit écran. Le clamp() en vw évite ce piège : seule la
     hauteur est pilotée, la largeur reste toujours 100%.) */
  .hero {
    min-height: 680px;
    min-height: clamp(680px, 56.28vw, 860px);
    display: flex;
    align-items: center;
    padding: 70px 0;
  }

  /* Image entière (jamais rognée) : calée à droite, le reste du fond
     prend le vert du voile pour se fondre sous le texte. */
  .hero-bg { display: block; background: rgb(15, 43, 38); }
  .hero-bg-img { object-fit: contain; object-position: right center; }
  .hero-visual { display: none; }

  .hero-inner {
    flex-direction: row;
    align-items: center;
  }

  /* On annule display:contents : .hero-text redevient une vraie colonne
     regroupant titre + CTA + bénéfices + réseaux, posée sur le voile. */
  .hero-text {
    display: flex;
    flex-direction: column;
    max-width: 560px;
  }
  .hero-kicker, .hero-headline, .hero-subtitle, .hero-actions,
  .hero-benefits, .hero-social-row { order: initial; }

  .hero-subtitle { max-width: 480px; }

  /* Titre un peu réduit pour tenir en 4 lignes malgré les textes agrandis */
  .hero-headline { font-size: 3.1rem; }

  /* Texte clair - le voile derrière est maintenant foncé (voir .hero-bg-scrim) */
  .hero-text { text-shadow: 0 1px 12px rgba(10, 30, 26, 0.35); }
  .hero-kicker { color: rgba(255, 255, 255, 0.82); }
  .hero-kicker-mark::after { background: var(--white); }
  .hero-headline-main { color: var(--white); }
  .hero-subtitle { color: rgba(255, 255, 255, 0.85); }

  /* Boutons du Hero plus compacts que .btn-large : toujours sur une
     seule ligne chacun, à la taille des autres boutons du site. */
  .hero-actions { flex-wrap: wrap; gap: 12px; }
  .hero-actions .btn {
    padding: 12px 24px;
    font-size: var(--fs-sm);
    white-space: nowrap;
  }

  .hero-cta-gift {
    border-color: var(--white);
    color: var(--white);
  }
  .hero-cta-gift:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
  }

  .hero-benefit { border-right-color: rgba(255, 255, 255, 0.25); }
  /* Points clés un peu réduits pour tenir en 3 lignes max */
  .hero-benefit-text { font-size: var(--fs-2xs); }
  .hero-benefit-text span:first-child { color: var(--white); }
  .hero-benefit-text span:last-child { color: rgba(255, 255, 255, 0.7); }

  .hero-social-text { color: rgba(255, 255, 255, 0.82); }

  .inside-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
  }

  /* Section aperçu resserrée pour tenir dans un écran : l'écran à gauche,
     les 3 onglets en colonne à droite (centrés en hauteur par les deux
     rangées 1fr vides), le lien vers le test juste en dessous. */
  .inside-section { padding: var(--space-md) 0 var(--space-lg); }
  .inside-demo {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas:
      "screen ."
      "screen tabs"
      "screen quiz"
      "screen .";
    column-gap: 56px;
  }
  .inside-screen { grid-area: screen; }
  .inside-tabs {
    grid-area: tabs;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
  }
  .inside-tab {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: var(--fs-base);
    text-align: left;
  }
  .inside-tab:not(.is-active):hover { border-color: rgba(31, 78, 70, 0.3); }
  .inside-tab .ico { width: 44px; height: 44px; padding: 9px; }
  .inside-tab-desc {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 400;
    line-height: 1.45;
    color: var(--ink-soft);
  }
  .inside-tab.is-active .inside-tab-desc { color: rgba(255, 255, 255, 0.82); }
  .inside-panel-text { display: none; }
  .inside-quiz {
    grid-area: quiz;
    margin: var(--space-md) 0 0;
    text-align: left;
  }

  .inside-lead { text-align: right; margin-bottom: 4px; }

  .about-photo-wrap { max-width: 320px; }
  .about-text { flex: 1.2; }

  #video-presentation { padding: 56px 0; }
  .video-frame { max-width: 780px; }
  .video-azulejo { width: 400px; height: 400px; }
  .video-olive { width: 300px; }

  /* Image des guides en grand à gauche, texte à droite ; le formulaire
     passe en dessous, sur une seule ligne, pour rester compact. */
  .ebook-top {
    flex-direction: row;
    align-items: center;
    gap: var(--space-lg);
  }

  .ebook-visual { flex: 1.35; min-width: 0; }
  .ebook-text { flex: 1; }

  .ebook-cover-photo { max-width: 100%; }

  /* Texte légèrement resserré ici uniquement, pour équilibrer avec la photo
     agrandie et le formulaire raccourci - n'affecte pas .section-title/
     .section-text ailleurs sur le site. */
  .ebook-text .section-title { font-size: var(--fs-xl); }
  .ebook-text .section-text { font-size: var(--fs-base); }
  .ebook-contents li { font-size: var(--fs-sm); }

  .ebook-form {
    display: grid;
    grid-template-columns: 1fr 1.3fr max-content;
    align-items: end;
    max-width: 920px;
    padding: var(--space-md);
    gap: 12px var(--space-sm);
  }

  .ebook-form .btn { width: auto; white-space: nowrap; }
  .ebook-form .form-note,
  .ebook-form .form-success { grid-column: 1 / -1; }

  .formations-grid,
  .packs-grid,
  .apercu-grid,
  .inside-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  /* La carte "Parcours complet" respire un peu plus, sans effet criard */
  .pack-card--featured {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
  }

  .contact-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
  }

  .contact-text { flex: 1.1; }
  .contact-visual { flex: 1; margin-top: 0; }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .mobile-cta-bar { display: none; }
  body { padding-bottom: 0; }
  .back-to-top { bottom: 28px; }
}


/* ---- Icones maison (images/icones/*.webp) : remplacent les emojis, identiques sur tous les appareils ---- */
.ico{display:inline-block; width:1.3em; height:1.3em; vertical-align:-.28em; object-fit:contain;}
.hero-benefit-icon .ico{width:30px; height:30px; padding:5px; border-radius:50%;
  background:#FBF7EF; box-shadow:0 2px 6px rgba(0,0,0,.18); vertical-align:middle;}
.inside-card-icon .ico{width:40px; height:40px;}
.about-fact .ico{width:1.35em; height:1.35em;}
.preview-page-locked .lock-icon.lock-icon--img{filter:none;}
.lock-icon--img .ico{width:34px; height:34px;}
.ico-puce{width:1.15em; height:1.15em; margin-right:2px; vertical-align:-.22em;}


/* ---------- Pages légales (mentions-legales.html, cgv.html,
   confidentialite.html) - prose simple, réutilise les couleurs et
   polices de la marque. ---------- */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
}

.legal-updated {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-lg);
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--green-dark);
  margin: var(--space-lg) 0 var(--space-xs);
}

.legal-page h2:first-of-type { margin-top: 0; }

.legal-page h3 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--green);
  margin: var(--space-md) 0 var(--space-xs);
}

.legal-page p,
.legal-page li {
  color: var(--ink);
  line-height: 1.7;
  font-size: var(--fs-base);
}

.legal-page p { margin-bottom: var(--space-sm); }

.legal-page ul,
.legal-page ol {
  margin: 0 0 var(--space-sm);
  padding-left: 1.4em;
}

.legal-page ul { list-style: disc; }
.legal-page ol { list-style: decimal; }
.legal-page li { margin-bottom: 6px; }

.legal-page a { color: var(--green-dark); text-decoration: underline; }
.legal-page a:hover { color: var(--terracotta); }

.legal-todo {
  background: var(--terracotta-pale);
  border-left: 4px solid var(--terracotta);
  padding: var(--space-sm) var(--space-md);
  border-radius: 8px;
  margin: 0 0 var(--space-lg);
}

.legal-todo p {
  margin-bottom: 4px;
  font-size: var(--fs-sm);
}

.legal-todo p:last-child { margin-bottom: 0; }

.legal-todo strong { color: var(--terracotta-dark); }

/* Sommaire des CGV */
.legal-toc {
  background: var(--white);
  border: 1px solid rgba(18, 30, 25, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  margin: 0 0 var(--space-lg);
}

.legal-toc-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px !important;
}

.legal-page .legal-toc ul { columns: 2; column-gap: var(--space-lg); margin: 0; padding-left: 0; list-style: none; }
.legal-page .legal-toc li { margin-bottom: 4px; font-size: var(--fs-sm); break-inside: avoid; }

@media (max-width: 559px) { .legal-page .legal-toc ul { columns: 1; } }

/* Ancres des titres : pas cachées sous le header sticky */
.legal-page h2[id] { scroll-margin-top: 96px; }

/* Bouton "Résilier votre contrat" */
.legal-cta { margin: var(--space-sm) 0 var(--space-md); }
.legal-page .legal-cta .btn { text-decoration: none; color: var(--white); }
.legal-page .legal-cta .btn:hover { color: var(--white); }

/* Formulaire type de rétractation */
.legal-form {
  background: var(--white);
  border: 1px dashed rgba(18, 30, 25, 0.25);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.legal-form p:last-child { margin-bottom: 0; }

.legal-placeholder {
  background: var(--green-soft);
  padding: 1px 6px;
  border-radius: 4px;
  font-style: italic;
}

/* =========================================================
   PAGE ACCOMPAGNEMENT SAUDADE (accompagnement.html)
   Trois formules : Autonomia (assistant IA), Roda (groupe), A dois
   (individuel). Même langage visuel que l'accueil : fonds crème, cartes
   blanches arrondies, azulejo et olivier en touches discrètes, Nico.
   Tout est préfixé .ap- ; couleurs et polices = variables de :root.
========================================================= */

.ap-nowrap { white-space: nowrap; }

/* Coches et croix (SVG), réutilisées dans les listes de la page */
.ap-hero-chips li::before,
.ap-plan-list li::before,
.ap-ai-col--yes li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9.5' stroke='%231F4E46' stroke-width='2'/%3E%3Cpath d='M7.5 12.5l2.8 2.8 6.2-6.6' stroke='%231F4E46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.ap-ai-col--no li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9.5' stroke='%23B24A19' stroke-width='2'/%3E%3Cpath d='M9 9l6 6M15 9l-6 6' stroke='%23B24A19' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---- 1. Hero : promesse à gauche, séance type à droite ---- */
.ap-hero {
  background: var(--bg);
  padding: var(--space-lg) 0 var(--space-xl);
}

.ap-hero-olive {
  position: absolute;
  left: -40px;
  bottom: -30px;
  width: 170px;
  height: auto;
  opacity: 0.9;
  transform: rotate(8deg);
}

.ap-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

.ap-hero-kicker { margin-bottom: 12px; }

.ap-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--green-dark);
  margin-bottom: 20px;
}

.ap-hero-title-accent {
  display: block;
  color: var(--terracotta);
  font-style: italic;
  font-weight: 600;
}

.ap-hero-lead {
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 33em;
  margin-bottom: var(--space-md);
}

.ap-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--space-md);
}

.ap-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ap-hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border: 1px solid rgba(18, 30, 25, 0.07);
  box-shadow: var(--shadow-sm);
  color: var(--green-dark);
  font-weight: 600;
  font-size: var(--fs-xs);
  line-height: 1.25;
  padding: 6px 11px 6px 9px;
  border-radius: 999px;
}

.ap-hero-chips li::before { width: 15px; height: 15px; }

/* Carte "exemple de séance" : une illustration du format, pas un vrai groupe */
.ap-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

.ap-session-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  background: var(--white);
  border: 1px solid rgba(18, 30, 25, 0.05);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md);
}

/* Deuxième carte, légèrement tournée derrière : donne de la profondeur */
.ap-session-card::before {
  content: "";
  position: absolute;
  inset: 14px -12px -14px 12px;
  background: var(--terracotta-pale);
  border-radius: var(--radius-lg);
  transform: rotate(3deg);
  z-index: -1;
}

.ap-session-nico {
  position: absolute;
  top: -66px;
  right: 22px;
  width: 64px;
  height: auto;
}

.ap-session-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.ap-session-tag {
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--bg-tint);
  padding: 4px 10px;
  border-radius: 999px;
}

.ap-session-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--green-dark);
}

.ap-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(221, 95, 36, 0.18);
}

.ap-session-when {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xl);
  line-height: 1.2;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.ap-session-people {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 12px;
  border-bottom: 1px dashed rgba(18, 30, 25, 0.14);
}

.ap-avatars { display: flex; flex-shrink: 0; }

.ap-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -9px;
  background-repeat: no-repeat;
  background-position: center 130%;
  background-size: 78%;
}

.ap-avatar:first-child { margin-left: 0; }

.ap-avatar--1 { background-color: var(--green-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='14' r='7.5' fill='%231F4E46'/%3E%3Cpath d='M5 40c0-9 6.7-15 15-15s15 6 15 15z' fill='%231F4E46'/%3E%3C/svg%3E"); }
.ap-avatar--2 { background-color: var(--terracotta-pale); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='14' r='7.5' fill='%23DD5F24'/%3E%3Cpath d='M5 40c0-9 6.7-15 15-15s15 6 15 15z' fill='%23DD5F24'/%3E%3C/svg%3E"); }
.ap-avatar--3 { background-color: #F3E7CF; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='14' r='7.5' fill='%23C99A3C'/%3E%3Cpath d='M5 40c0-9 6.7-15 15-15s15 6 15 15z' fill='%23C99A3C'/%3E%3C/svg%3E"); }
.ap-avatar--4 { background-color: #E2EBF0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='14' r='7.5' fill='%232B5E78'/%3E%3Cpath d='M5 40c0-9 6.7-15 15-15s15 6 15 15z' fill='%232B5E78'/%3E%3C/svg%3E"); }
.ap-avatar--5 { background-color: var(--bg-tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='14' r='7.5' fill='%2312332D'/%3E%3Cpath d='M5 40c0-9 6.7-15 15-15s15 6 15 15z' fill='%2312332D'/%3E%3C/svg%3E"); }

.ap-session-seats {
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-soft);
}

.ap-session-agenda {
  list-style: none;
  display: grid;
  gap: 2px;
  margin-bottom: 14px;
}

.ap-session-agenda li {
  display: grid;
  grid-template-columns: 46px 12px 1fr;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-base);
  color: var(--ink);
  padding: 7px 10px;
  border-radius: 10px;
}

/* Petit point de la frise, placé entre l'heure et l'étape */
.ap-session-agenda li::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--green);
}

.ap-agenda-time {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}

.ap-session-agenda li.is-now {
  background: var(--terracotta-pale);
  color: var(--terracotta-dark);
  font-weight: 700;
}

.ap-session-agenda li.is-now::before {
  background: var(--terracotta);
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(221, 95, 36, 0.2);
}

.ap-session-mission {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--green-soft);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.ap-session-mission .ico {
  width: 36px;
  height: 36px;
  padding: 6px;
  background: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
  vertical-align: middle;
}

.ap-mission-label {
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.ap-mission-value {
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--green-dark);
}

@media (min-width: 1024px) {
  .ap-hero { padding: var(--space-xl) 0 var(--space-2xl); }
  .ap-hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--space-2xl); }
  .ap-hero-visual { padding-top: 56px; justify-content: flex-end; }
}

@media (max-width: 479px) {
  .ap-hero-actions .btn { width: 100%; }
  .ap-session-card { padding: 20px; }
  .ap-session-when { font-size: var(--fs-lg); }
}

/* ---- 2. Soyons honnêtes : cartes "objection -> réponse" ---- */
.ap-obj-olive {
  position: absolute;
  top: 10px;
  right: -36px;
  width: 140px;
  height: auto;
  opacity: 0.85;
  transform: rotate(190deg);
}

.ap-obj-grid {
  display: grid;
  gap: var(--space-md);
  max-width: 1000px;
  margin: var(--space-lg) auto 0;
}

.ap-obj {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid rgba(18, 30, 25, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.ap-obj-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}

.ap-obj-icon img { width: 30px; height: 30px; object-fit: contain; }

.ap-obj-label {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  margin-bottom: 2px;
}

.ap-obj-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: var(--fs-lg);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 12px;
}

.ap-obj-answer {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
  line-height: 1.3;
  color: var(--terracotta-dark);
  margin-bottom: 6px;
}

.ap-obj-text { color: var(--ink-soft); font-size: var(--fs-base); line-height: 1.6; }

@media (min-width: 640px) { .ap-obj { padding: var(--space-lg) var(--space-md); } }
@media (min-width: 768px) { .ap-obj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .ap-obj-olive { display: none; } .ap-hero-olive { width: 110px; } }

/* ---- 3. Ce qu'aucune IA ne remplace ---- */
.ap-human-grid {
  display: grid;
  gap: var(--space-md);
  max-width: 1120px;
  margin: var(--space-lg) auto 0;
}

.ap-human {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md);
}

.ap-human-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-tint);
  margin-bottom: 14px;
}

.ap-human-icon img { width: 30px; height: 30px; object-fit: contain; }

.ap-human h3 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  line-height: 1.3;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.ap-human p { color: var(--ink-soft); font-size: var(--fs-base); line-height: 1.6; }

.ap-human-link {
  display: block;
  width: fit-content;
  margin: var(--space-lg) auto 0;
  font-weight: 600;
  color: var(--green-dark);
}

.ap-human-link:hover { color: var(--terracotta); }

@media (min-width: 640px) { .ap-human-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ap-human-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- 4. Une séance de Roda : infos pratiques + frise des 60 minutes ---- */
.ap-session-subtitle { max-width: 620px; }

.ap-facts {
  display: grid;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto var(--space-xl);
}

.ap-facts li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.ap-facts .ico {
  width: 40px;
  height: 40px;
  padding: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  vertical-align: middle;
}

.ap-fact-label {
  display: block;
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.ap-fact-value {
  display: block;
  font-weight: 600;
  font-size: var(--fs-base);
  line-height: 1.4;
  color: var(--ink);
}

@media (min-width: 768px) { .ap-facts { grid-template-columns: repeat(3, 1fr); } }

.ap-timeline {
  position: relative;
  list-style: none;
  display: grid;
  gap: var(--space-md);
  max-width: 1120px;
  margin: 0 auto;
}

.ap-tl-step {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.ap-tl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.ap-tl-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.ap-tl-icon img { width: 30px; height: 30px; object-fit: contain; }

.ap-tl-time {
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--terracotta-dark);
  background: var(--terracotta-pale);
  padding: 5px 11px;
  border-radius: 999px;
}

.ap-tl-step h3 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--green-dark);
  margin-bottom: 6px;
}

.ap-tl-step p { color: var(--ink-soft); font-size: var(--fs-base); line-height: 1.6; }

@media (min-width: 640px) { .ap-timeline { grid-template-columns: 1fr 1fr; } }

@media (min-width: 1024px) {
  .ap-timeline { grid-template-columns: repeat(4, 1fr); }
  /* Trait pointillé qui relie les étapes, visible entre les cartes */
  .ap-timeline::before {
    content: "";
    position: absolute;
    top: 51px;
    left: 8%;
    right: 8%;
    border-top: 2px dashed rgba(31, 78, 70, 0.28);
    z-index: 0;
  }
}

.ap-session-extra {
  display: grid;
  gap: var(--space-md);
  max-width: 1120px;
  margin: var(--space-md) auto 0;
}

.ap-themes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.ap-themes-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--green-dark);
  margin-bottom: 14px;
}

.ap-theme-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.ap-theme-chips li {
  background: var(--white);
  border: 1px solid rgba(18, 30, 25, 0.08);
  border-radius: 999px;
  padding: 8px 15px;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink);
}

/* Les règles : encadré vert profond, avec Nico au crayon */
.ap-rules {
  position: relative;
  background: var(--green-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-md) 150px;
  overflow: hidden;
}

.ap-rules-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--white);
  margin-bottom: 14px;
}

.ap-rules-list { display: grid; gap: 10px; }

.ap-rules-list li {
  position: relative;
  padding-left: 26px;
  font-size: var(--fs-base);
  line-height: 1.5;
  color: rgba(255, 253, 252, 0.92);
}

.ap-rules-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9.5' stroke='%23C99A3C' stroke-width='2'/%3E%3Cpath d='M7.5 12.5l2.8 2.8 6.2-6.6' stroke='%23C99A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.ap-rules-nico {
  position: absolute;
  right: 16px;
  bottom: 0;
  width: 118px;
  height: auto;
}

@media (min-width: 640px) {
  .ap-rules { padding: var(--space-lg) 170px var(--space-lg) var(--space-lg); }
  .ap-rules-nico { width: 136px; right: 20px; }
}

@media (min-width: 1024px) {
  .ap-session-extra { grid-template-columns: 0.85fr 1.15fr; align-items: stretch; }
  .ap-themes { padding: var(--space-lg); }
}

/* ---- 5. A dois : étapes à gauche, objectif + Nico en voyage à droite ---- */
.ap-duo-section { background: var(--bg); }

.ap-duo {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

.ap-duo-lead {
  color: var(--ink-soft);
  font-size: var(--fs-base);
  line-height: 1.65;
  max-width: 36em;
  margin-bottom: var(--space-md);
}

.ap-duo-steps {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: var(--space-md);
}

.ap-duo-steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 16px 18px;
}

.ap-duo-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
}

.ap-duo-steps h3 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--green-dark);
  margin-bottom: 3px;
}

.ap-duo-steps p { color: var(--ink-soft); font-size: var(--fs-base); line-height: 1.55; }

.ap-duo-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding-bottom: 8px;
}

/* Grand cercle vert pâle derrière Nico */
.ap-duo-visual::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 290px;
  height: 290px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--green-soft);
}

.ap-goal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-md);
}

/* Petite pointe de bulle, vers Nico */
.ap-goal-card::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--white);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 0 0 5px 0;
}

.ap-goal-label {
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 6px;
}

.ap-goal-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: var(--fs-lg);
  line-height: 1.35;
  color: var(--green-dark);
}

.ap-duo-nico {
  position: relative;
  z-index: 1;
  width: 190px;
  height: auto;
}

@media (min-width: 900px) {
  .ap-duo { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-2xl); }
  .ap-duo-visual::before { width: 340px; height: 340px; }
  .ap-duo-nico { width: 230px; }
}

/* ---- 6. Les formules ---- */
.ap-plans-subtitle { max-width: 640px; }

.ap-plans {
  display: grid;
  gap: var(--space-lg);
  max-width: 1120px;
  margin: var(--space-xl) auto 0;
}

.ap-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(18, 30, 25, 0.07);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg) var(--space-md) var(--space-md);
}

.ap-plan--featured {
  border: 2px solid var(--green);
  box-shadow: var(--shadow-lg);
}

.ap-plan-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--terracotta);
  color: var(--white);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.ap-plan-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.ap-plan-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--bg-tint);
}

.ap-plan--featured .ap-plan-icon { background: var(--green-soft); }

.ap-plan-icon img { width: 32px; height: 32px; object-fit: contain; }

.ap-plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xl);
  line-height: 1.1;
  color: var(--green-dark);
}

.ap-plan-tagline {
  margin-top: 3px;
  font-size: var(--fs-sm);
  line-height: 1.4;
  color: var(--ink-soft);
}

.ap-plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
  margin-bottom: 6px;
}

.ap-plan-price-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.7rem;
  letter-spacing: -0.01em;
  color: var(--terracotta);
}

.ap-plan-price-period { font-weight: 600; font-size: var(--fs-base); color: var(--ink-soft); }

.ap-plan-session {
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.4;
  color: var(--green-dark);
}

.ap-plan-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 30, 25, 0.08);
}

.ap-plan-plus {
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  margin-bottom: 10px;
}

.ap-plan-list {
  display: grid;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.ap-plan-list li {
  position: relative;
  padding-left: 25px;
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--ink-soft);
}

.ap-plan-list li::before { position: absolute; left: 0; top: 3px; }

/* Ce qui n'est pas inclus (Autonomia) : même liste, en retrait */
.ap-plan-list--off { margin-top: -6px; }
.ap-plan-list--off li { color: rgba(87, 100, 92, 0.78); }
.ap-plan-list--off li::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9.5' stroke='%2357645C' stroke-opacity='.55' stroke-width='2'/%3E%3Cpath d='M8 12h8' stroke='%2357645C' stroke-opacity='.7' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.ap-plan-list strong { color: var(--green-dark); font-weight: 700; }

/* Pied de carte (note, bouton, avantage) toujours calé en bas :
   les boutons des 3 formules restent alignés */
.ap-plan-foot { margin-top: auto; }

.ap-plan-note {
  margin-bottom: 12px;
  font-size: var(--fs-xs);
  line-height: 1.45;
  font-weight: 600;
  color: var(--green-dark);
}

.ap-plan-note--muted { color: var(--ink-soft); font-weight: 500; }

.ap-plan-cta { margin-top: 0; }

.ap-plan-perk {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--terracotta-pale);
  font-size: var(--fs-sm);
  line-height: 1.4;
  color: var(--ink-soft);
  text-align: left;
}

.ap-plan-perk .ico { width: 22px; height: 22px; flex-shrink: 0; vertical-align: middle; }
.ap-plan-perk strong { color: var(--terracotta-dark); }

.ap-plans-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  max-width: 900px;
  margin: var(--space-xl) auto 16px;
}

.ap-plans-legal li {
  position: relative;
  padding-left: 21px;
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--ink-soft);
}

.ap-plans-legal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9.5' stroke='%231F4E46' stroke-width='2'/%3E%3Cpath d='M7.5 12.5l2.8 2.8 6.2-6.6' stroke='%231F4E46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.ap-plans-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.ap-plans-links a {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-color: rgba(31, 78, 70, 0.35);
  text-underline-offset: 3px;
}

.ap-plans-links a:hover { color: var(--terracotta); }

.ap-plans-sep { color: var(--ink-soft); }

/* Mobile/tablette : une colonne, la Roda en premier (formule recommandée) */
@media (max-width: 1023px) {
  .ap-plans { max-width: 540px; }
  .ap-plan--featured { order: -1; }
}

@media (max-width: 639px) {
  .ap-plans-legal { flex-direction: column; align-items: flex-start; max-width: 420px; gap: 8px; }
}

@media (max-width: 479px) {
  .ap-plans-sep { display: none; }
  .ap-plans-links { flex-direction: column; }
}

@media (min-width: 1024px) {
  .ap-plans { grid-template-columns: 1fr 1.08fr 1fr; gap: var(--space-md); align-items: stretch; }
  /* 2 formules (Roda, A dois) depuis le retrait d'Autonomia le 16/10/2026 */
  .ap-plans.ap-plans--two { grid-template-columns: 1.08fr 1fr; max-width: 820px; }
  /* La Roda dépasse un peu de ses voisines */
  .ap-plan--featured { margin: -14px 0; padding-top: calc(var(--space-lg) + 8px); }
}

/* ---- 7. L'assistant IA ---- */
.ap-ai {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

.ap-ai-lead {
  color: var(--ink-soft);
  font-size: var(--fs-base);
  line-height: 1.65;
  max-width: 36em;
  margin-bottom: var(--space-md);
}

.ap-ai-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 36em;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink-soft);
}

.ap-ai-note .ico { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; vertical-align: middle; }

.ap-ai-box { display: grid; gap: 12px; }

.ap-ai-col {
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.ap-ai-col--yes { background: var(--green-soft); }
.ap-ai-col--no { background: var(--terracotta-pale); }

.ap-ai-col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
  margin-bottom: 14px;
}

.ap-ai-col--yes .ap-ai-col-title { color: var(--green-dark); }
.ap-ai-col--no .ap-ai-col-title { color: var(--terracotta-dark); }

.ap-ai-col ul { display: grid; gap: 10px; }

.ap-ai-col li {
  position: relative;
  padding-left: 26px;
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.45;
}

.ap-ai-col li::before { position: absolute; left: 0; top: 2px; }
.ap-ai-col--yes li { color: var(--green-dark); }
.ap-ai-col--no li { color: var(--terracotta-dark); }

@media (min-width: 640px) { .ap-ai-box { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ap-ai { grid-template-columns: 1fr 1.05fr; gap: var(--space-2xl); } }

/* ---- 8. Témoignages (masqués tant qu'il n'y a pas de vrais avis) ---- */
.ap-testi-grid { max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .ap-testi-grid { grid-template-columns: 1fr 1fr; } }

/* ---- 10. Dernier mot : grande carte vert profond ---- */
.ap-close { padding: var(--space-xl) 0 var(--space-2xl); }

.ap-close-card {
  position: relative;
  overflow: hidden;
  max-width: 1120px;
  margin: 0 auto;
  background: var(--green-dark);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
}

.ap-close-olive {
  position: absolute;
  right: -30px;
  top: -24px;
  width: 200px;
  height: auto;
  opacity: 0.5;
  transform: rotate(196deg);
}

/* Fragment d'azulejo très pâle, en bas à gauche de la carte */
.ap-close-azulejo {
  top: auto;
  right: auto;
  left: -20px;
  bottom: -20px;
  width: 190px;
  height: 190px;
  opacity: 0.16;
  -webkit-mask-image: radial-gradient(circle at 0% 100%, rgba(0,0,0,0.9), transparent 70%);
  mask-image: radial-gradient(circle at 0% 100%, rgba(0,0,0,0.9), transparent 70%);
}

.ap-close-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.ap-close-kicker { color: var(--gold); }

.ap-close-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  line-height: 1.2;
  color: var(--white);
  margin: 0 auto var(--space-lg);
}

.ap-close-title span {
  display: block;
  margin-top: 10px;
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
}

.ap-close-reassure {
  margin-top: 16px;
  font-size: var(--fs-sm);
  color: rgba(255, 253, 252, 0.75);
}

@media (min-width: 768px) { .ap-close-card { padding: var(--space-2xl) var(--space-xl); } }
@media (max-width: 767px) {
  .ap-close-card { border-radius: var(--radius-lg); padding: var(--space-xl) 22px; }
  .ap-close-olive { width: 130px; }
}

/* Titres de la page : retours à la ligne équilibrés */
.ap-hero-title,
.ap-objections .section-title,
.ap-human-section .section-title,
.ap-session-section .section-title,
.ap-duo .section-title,
.ap-plans-section .section-title,
.ap-ai .section-title,
.ap-testimonials .section-title,
.ap-faq .section-title,
.ap-obj-answer,
.ap-close-title,
.ap-plan-tagline { text-wrap: balance; }


/* =========================================================
   ASSISTANT IA (assistant.html) - préfixe .as-
   Même charte que le reste du site : cartes blanches arrondies,
   vert profond, terracotta, Fraunces/Inter.
========================================================= */
.as-section { padding-top: var(--space-lg); }

.as-wrap { position: relative; z-index: 1; max-width: 860px; }

.as-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.1;
  color: var(--green-dark);
  margin-bottom: var(--space-md);
}

.as-title span { color: var(--terracotta); font-style: italic; font-weight: 600; }

/* Bandeau de transparence IA (obligatoire) */
.as-disclosure {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--green-soft);
  border: 1px solid rgba(31, 78, 70, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: var(--space-md);
}

.as-disclosure p { font-size: var(--fs-sm); line-height: 1.55; color: var(--green-dark); }
.as-disclosure a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }

.as-disclosure-badge,
.as-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
}

.as-card {
  background: var(--white);
  border: 1px solid rgba(18, 30, 25, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Code d'accès */
.as-code-card { max-width: 520px; padding: var(--space-lg) var(--space-md); }
.as-card-title { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--green-dark); margin-bottom: 6px; }
.as-card-text { color: var(--ink-soft); font-size: var(--fs-base); margin-bottom: var(--space-sm); }
.as-code-row { display: flex; gap: 10px; flex-wrap: wrap; }

.as-code-input,
.as-field select,
.as-form textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid rgba(18, 30, 25, 0.14);
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.as-code-input { flex: 1; min-width: 180px; padding: 12px 14px; font-size: var(--fs-base); }

.as-code-input:focus,
.as-field select:focus,
.as-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 78, 70, 0.15);
}

.as-remember { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: var(--fs-sm); color: var(--ink-soft); cursor: pointer; }
.as-remember input { width: 16px; height: 16px; accent-color: var(--green); }
.as-code-error { min-height: 1.2em; margin-top: 8px; font-size: var(--fs-sm); font-weight: 600; color: var(--terracotta-dark); }
.as-card-foot { font-size: var(--fs-sm); color: var(--ink-soft); }
.as-card-foot a { color: var(--green-dark); font-weight: 600; text-decoration: underline; }

/* Conversation */
.as-chat-card { display: flex; flex-direction: column; overflow: hidden; }

.as-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-alt);
  border-bottom: 1px solid rgba(18, 30, 25, 0.07);
}

.as-field { display: flex; flex-direction: column; gap: 4px; min-width: 170px; }
.as-field--wide { flex: 1; min-width: 220px; }
.as-field span { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.as-field select { padding: 10px 12px; font-size: var(--fs-base); background: var(--white); cursor: pointer; }

.as-log {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: min(58vh, 520px);
  min-height: 300px;
  overflow-y: auto;
  padding: 20px 18px;
  scroll-behavior: smooth;
}

.as-msg { display: flex; align-items: flex-end; gap: 10px; max-width: 88%; }
.as-msg--assistant { align-self: flex-start; }
.as-msg--user { align-self: flex-end; }

.as-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: var(--fs-base);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.as-msg--assistant .as-bubble { background: var(--bg); color: var(--ink); border-bottom-left-radius: 6px; }
.as-msg--user .as-bubble { background: var(--green); color: var(--white); border-bottom-right-radius: 6px; white-space: pre-wrap; }

.as-bubble p + p { margin-top: 8px; }
.as-bubble ul { margin: 6px 0 6px 1.2em; list-style: disc; }
.as-bubble li { margin-bottom: 3px; }
.as-bubble strong { color: var(--green-dark); }

.as-msg--error .as-bubble { background: var(--terracotta-pale); color: var(--terracotta-dark); }
.as-msg--typing .as-bubble { color: var(--ink-soft); animation: as-pulse 1.2s ease-in-out infinite; }

@keyframes as-pulse { 50% { opacity: 0.45; } }

.as-suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }

.as-suggestion {
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid rgba(31, 78, 70, 0.25);
  border-radius: 999px;
  padding: 7px 13px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.as-suggestion:hover { background: var(--green-soft); }

.as-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  padding: 14px 18px;
  border-top: 1px solid rgba(18, 30, 25, 0.07);
}

.as-form textarea { flex: 1; resize: none; min-height: 48px; max-height: 160px; padding: 12px 14px; font-size: var(--fs-base); line-height: 1.45; field-sizing: content; }
.as-send { flex-shrink: 0; }
.as-send:disabled { opacity: 0.6; cursor: wait; transform: none; }

.as-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; padding: 0 18px 14px; font-size: var(--fs-xs); color: var(--ink-soft); }
.as-counter { margin-left: auto; font-variant-numeric: tabular-nums; }
.as-counter.is-over { color: var(--terracotta-dark); font-weight: 700; }

.as-actions { display: flex; gap: 18px; justify-content: flex-end; margin-top: 12px; }

.as-link {
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--green-dark);
  background: none;
  border: none;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.as-link:hover { color: var(--terracotta); }
.as-note { margin-top: 8px; font-size: var(--fs-xs); color: var(--ink-soft); text-align: right; }

@media (max-width: 560px) {
  .as-msg { max-width: 94%; }
  .as-avatar { width: 30px; height: 30px; font-size: var(--fs-2xs); }
  .as-form { flex-direction: column; align-items: stretch; }
  .as-send { width: 100%; }
  .as-note, .as-actions { text-align: left; justify-content: flex-start; }
  .as-code-row .btn { width: 100%; }
}

/* Lien « Ouvrir l'assistant » (page accompagnement, section assistant) */
.ap-ai-open { display: inline-block; margin-top: var(--space-md); font-weight: 700; color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.ap-ai-open:hover { color: var(--terracotta); }

/* =========================================================
   FORMATION « BIENTÔT DISPONIBLE » + LISTE D'ATTENTE (16/10/2026)
   Carte Fluente de l'accueil (.formation-card--soon) et page
   fluente.html (#liste-attente). Le formulaire est un formulaire
   Netlify ("liste-attente-fluente") envoyé par script.js.
   ========================================================= */
.formation-soon-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  background: var(--terracotta-pale);
  color: var(--terracotta-dark);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  border-radius: 999px;
  padding: 7px 14px;
  margin: 2px 0 var(--space-sm);
}

.formation-soon-tag::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
}

/* Sur fluente.html, l'étiquette est dans des blocs centrés */
#hero .formation-soon-tag,
.price-callout .formation-soon-tag {
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.waitlist-form--page {
  max-width: 460px;
  margin: var(--space-sm) auto 0;
}

.waitlist-text {
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink-soft);
}

.waitlist-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.waitlist-row[hidden],
.waitlist-success[hidden],
.waitlist-error[hidden] { display: none; }

.waitlist-row input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--bg-tint);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--fs-base);
}

.waitlist-row input:focus {
  outline: none;
  border-color: var(--green);
}

.waitlist-row .btn { width: 100%; }

.waitlist-note { font-size: var(--fs-xs); }

.waitlist-error {
  background: var(--terracotta-pale);
  color: var(--terracotta-dark);
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1.45;
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

@media (min-width: 480px) {
  .waitlist-form--page .waitlist-row { flex-direction: row; }
  .waitlist-form--page .waitlist-row input { flex: 1; min-width: 0; }
  .waitlist-form--page .waitlist-row .btn { width: auto; flex-shrink: 0; }
}

/* Un seul pack (Pack Progression) tant que Fluente n'est pas sortie :
   la carte reste centrée et garde une largeur de carte, quelle que soit
   la grille à 2 ou 3 colonnes définie plus haut. */
.packs-grid.packs-grid--single {
  grid-template-columns: minmax(0, 440px);
  justify-content: center;
}

/* =========================================================
   TARIF DÉGRESSIF (26/10/2026) : essai de 7 jours, deux paliers,
   formule à l'année. Même bloc sur l'accueil, les pages Essentiel et
   Intermédiaire, commencer.html et mon-abonnement.html.
   Les montants sont écrits dans le HTML (et i18n.js) : garde-les
   identiques à outils/prix.json.
========================================================= */
.price-trial {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
  border-radius: 999px;
  padding: 6px 13px;
  margin-bottom: 10px;
}

.price-trial::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
}

.price-tiers {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--white);
  border: 1.5px solid var(--bg-tint);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 8px;
  text-align: left;
}

.price-tier { padding: 10px 12px 11px; }

.price-tier--loyal {
  border-left: 1.5px solid var(--bg-tint);
  background: var(--terracotta-pale);
}

.price-tier-label {
  display: block;
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.price-tier-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xl);
  line-height: 1.2;
  color: var(--green-dark);
  white-space: nowrap;
}

.price-tier--loyal .price-tier-value { color: var(--terracotta); }

.price-tier-period {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-soft);
}

/* Espace invisible avant « /mois » : s'il n'y a pas la place, « /mois »
   passe sous le prix au lieu de déborder du cadre. */
.price-tier-period::before { content: "\200B"; }

.price-tier-tag {
  display: block;
  font-size: var(--fs-2xs);
  font-weight: 700;
  color: var(--terracotta-dark);
}

.price-tiers-note {
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.price-year {
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.price-year a {
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-color: rgba(31, 78, 70, 0.35);
  text-underline-offset: 3px;
}

.price-year a:hover { color: var(--terracotta); }

/* Version centrée : hero et encadré final des pages de formation */
.price-plan--center {
  max-width: 440px;
  margin: var(--space-sm) auto 0;
  text-align: center;
}

.price-plan--center .price-trial { margin-left: auto; margin-right: auto; }
.price-plan--center .price-tier { text-align: center; }
.price-plan--center .price-tier-value { font-size: var(--fs-2xl); }
.price-callout .price-plan--center { margin: 0 auto var(--space-sm); }

.price-year--text {
  max-width: 440px;
  margin: 18px auto 12px;
  color: var(--ink-soft);
}

.price-year--text strong { color: var(--green-dark); }

/* Sur les cartes de l'accueil, le prix en grand reste .formation-price :
   on garde seulement l'écart avec la description. */
.formation-card .price-tiers { margin-top: 2px; }

/* Dans les 3 cartes de l'accueil (colonnes étroites), prix un cran plus
   petit pour que « 16,90 €/mois » tienne sur une ligne. */
.formation-card .price-tier-value { font-size: var(--fs-lg); }
.formation-card .price-tier { padding-left: 10px; padding-right: 10px; }

/* Roda : un bouton par niveau (deux offres distinctes) */
.ap-plan-choice-label {
  margin-bottom: 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--green-dark);
}

.ap-plan-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ap-plan-choice .btn { padding-left: 10px; padding-right: 10px; }

.ap-plan-price-once {
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.4;
  color: var(--green-dark);
}

/* =========================================================
   « CE QUE COMPREND TON ABONNEMENT » (pages Essentiel et
   Intermédiaire, résumé sur l'accueil) + exemple de retour
========================================================= */
.sub-grid {
  display: grid;
  gap: var(--space-md);
  max-width: 1080px;
  margin: var(--space-lg) auto 0;
}

@media (min-width: 900px) {
  .sub-grid { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
}

.sub-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(18, 30, 25, 0.07);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md);
}

.sub-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sub-card-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--green-soft);
}

.sub-card-icon img { width: 30px; height: 30px; object-fit: contain; }

.sub-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lg);
  line-height: 1.2;
  color: var(--green-dark);
}

.sub-card h3 small {
  display: block;
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--terracotta);
}

.sub-card .ap-plan-list { margin-bottom: 0; }

.sub-note {
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--ink-soft);
}

.sub-card .ap-plan-list + .sub-note { margin-top: 16px; }

.sub-when {
  max-width: 760px;
  margin: var(--space-md) auto 0;
  text-align: center;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink-soft);
}

.sub-when strong { color: var(--green-dark); }

/* Exemple de progression : mission → réponse → retour en 3 temps */
.sub-example {
  max-width: 860px;
  margin: var(--space-xl) auto 0;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-md);
}

.sub-example-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lg);
  line-height: 1.2;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.sub-example-lead {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  margin-bottom: var(--space-sm);
}

.sub-example-box {
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 12px;
  background: var(--bg);
}

.sub-example-box--answer { background: var(--bg-tint); }

.sub-example-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

.sub-example-badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
  letter-spacing: 0.08em;
}

.sub-example-pt {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--ink);
}

.sub-example-fr {
  margin-top: 4px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* En portugais, la ligne de traduction française est vide : on la cache */
.sub-example-fr:empty { display: none; }

.sub-err {
  text-decoration: underline wavy var(--terracotta);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.sub-steps {
  display: grid;
  gap: 12px;
  margin-top: var(--space-sm);
  counter-reset: sub-step;
  list-style: none;
  padding-left: 0;
}

.sub-steps li {
  position: relative;
  padding-left: 42px;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink-soft);
  counter-increment: sub-step;
}

.sub-steps li::before {
  content: counter(sub-step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  font-weight: 700;
  font-size: var(--fs-sm);
}

.sub-steps strong { color: var(--green-dark); }

.sub-steps .sub-example-pt { display: block; margin-top: 4px; }

.sub-fix {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
}

.sub-example-note {
  margin-top: var(--space-sm);
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  text-align: center;
}

/* Résumé sur l'accueil (section Formations) */
.sub-summary {
  max-width: 980px;
  margin: var(--space-lg) auto 0;
  padding: var(--space-md);
  background: var(--white);
  border: 1.5px solid var(--green-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.sub-summary-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--green-dark);
  margin-bottom: 4px;
}

.sub-summary-lead {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  margin-bottom: var(--space-sm);
}

.sub-summary-list {
  display: grid;
  gap: 12px;
  text-align: left;
  margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
  .sub-summary-list { grid-template-columns: repeat(3, 1fr); }
}

.sub-summary-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--bg);
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--ink-soft);
}

.sub-summary-list li strong { color: var(--green-dark); }
.sub-summary-list .ico { width: 30px; height: 30px; flex-shrink: 0; object-fit: contain; }

.sub-summary-link {
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(31, 78, 70, 0.3);
  text-underline-offset: 3px;
}

.sub-summary-link:hover { color: var(--terracotta); }

/* =========================================================
   RÉCAPITULATIF AVANT PAIEMENT (commencer.html)
   et MON ABONNEMENT (mon-abonnement.html)
========================================================= */
.checkout {
  max-width: 1080px;
  margin: 0 auto;
}

.checkout-head { max-width: 720px; margin-bottom: var(--space-md); }

.checkout-head h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  line-height: 1.15;
  color: var(--green-dark);
  margin: 6px 0 8px;
}

.checkout-lead { font-size: var(--fs-base); color: var(--ink-soft); }

.checkout-grid { display: grid; gap: var(--space-md); }

@media (min-width: 960px) {
  .checkout-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
  .checkout-aside { position: sticky; top: 96px; }
}

.checkout-block {
  background: var(--white);
  border: 1px solid rgba(18, 30, 25, 0.07);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md);
}

.checkout-block + .checkout-block { margin-top: var(--space-md); }

.checkout-block--accent { border: 2px solid var(--green); box-shadow: var(--shadow-md); }

.checkout-block h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lg);
  line-height: 1.25;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.checkout-block p { font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-soft); }
.checkout-block p + p { margin-top: 8px; }
.checkout-block p strong { color: var(--green-dark); }
.checkout-block .ap-plan-list { margin-bottom: 0; }

.checkout-block a:not(.btn) {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-block a:not(.btn):hover { color: var(--terracotta); }

/* Échéancier */
.checkout-schedule { display: grid; }

.checkout-schedule li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #E3DACB;
}

.checkout-schedule li:first-child { padding-top: 0; }
.checkout-schedule li:last-child { border-bottom: 0; padding-bottom: 0; }

.checkout-when { font-weight: 700; font-size: var(--fs-sm); color: var(--green-dark); }

.checkout-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--green-dark);
  text-align: right;
  white-space: nowrap;
}

.checkout-schedule .is-loyal .checkout-amount { color: var(--terracotta); }

.checkout-what {
  grid-column: 1 / -1;
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--ink-soft);
}

/* Les 4 règles du tarif fidélité */
.loyalty-rules {
  display: grid;
  gap: 8px;
  counter-reset: rule;
}

.loyalty-rules li {
  position: relative;
  padding: 10px 12px 10px 44px;
  border-radius: 12px;
  background: var(--terracotta-pale);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink);
  counter-increment: rule;
}

.loyalty-rules li::before {
  content: counter(rule);
  position: absolute;
  left: 12px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
}

/* Résumé à droite : total du jour, cases, bouton */
.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--bg-tint);
}

.checkout-total-label { font-weight: 700; color: var(--green-dark); }

.checkout-total-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-2xl);
  line-height: 1;
  color: var(--terracotta);
  white-space: nowrap;
}

.checkout-then { font-size: var(--fs-sm); margin-bottom: 14px; }

.checkout-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
}

.checkout-consent input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--green);
  cursor: pointer;
}

.checkout-consent a { color: var(--green-dark); text-decoration: underline; }

.checkout-pay { margin-top: 6px; }
.checkout-pay[aria-busy="true"] { opacity: 0.7; cursor: progress; }

.checkout-msg {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--terracotta-pale);
  color: var(--terracotta-dark);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.45;
}

.checkout-msg[hidden] { display: none; }
.checkout-msg--ok { background: var(--green-soft); color: var(--green-dark); }

.checkout-secure {
  margin-top: 12px;
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--ink-soft);
  text-align: center;
}

.checkout-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-sm);
}

.checkout-faq { max-width: 760px; margin: var(--space-xl) auto 0; }

.checkout-subtitle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--green-dark);
  margin: var(--space-sm) 0 10px;
}

/* Ancre « Résilier un abonnement » du pied de page : sous l'en-tête fixe */
.checkout-block[id] { scroll-margin-top: 96px; }

/* Retouches 26/10 : bouton de l'accompagnement centré, noms des formules mis en avant */
.accompagnement-cta { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
.offer-name {
  display: inline-block;
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-style: normal;
}

/* =========================================================
   SECTION FORMATIONS - REFONTE 27/10/2026 (« direction Clarté »)
   -----------------------------------------------------------
   Objectif : moins de cadres imbriqués, une seule action
   principale par carte, et le tarif fidélité enfin visible.

   Ce bloc est volontairement placé en fin de fichier : il
   complète les règles plus haut au lieu de les réécrire, pour
   ne rien casser ailleurs. Les anciennes classes .price-plan
   et .price-tiers servent encore sur portugais-essentiel.html,
   intermediaire.html et fluente.html : ne les supprime pas.
========================================================= */

/* ---------- Bouton « Quelle formation choisir ? » ----------
   C'était un lien discret, c'est maintenant un vrai bouton.
   Il reste vert : le orange est réservé à l'achat, sinon les
   deux se disputent le regard. */
.formations-quiz-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

.formations-quiz-icon { width: 18px; height: 18px; flex-shrink: 0; }
.formations-quiz-link strong { color: var(--green-dark); }

.formations-quiz-link:hover {
  background: var(--white);
  border-color: var(--green-dark);
}

.formations-quiz-link:hover strong { color: var(--green-dark); }

/* ---------- Bandeau « offre de lancement » ----------
   Pastille centrée plutôt que barre pleine largeur : c'était
   le seul élément qui criait, juste au-dessus des cartes.
   Fond --terracotta-dark et non --terracotta : en blanc sur
   le orange vif, ce texte ne passe pas le contraste minimum
   à cette taille. */
.founder-offer {
  width: fit-content;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  background: var(--terracotta-dark);
  border-radius: 999px;
  padding: 11px 22px;
}

@media (max-width: 639px) {
  .founder-offer {
    width: auto;
    border-radius: var(--radius-lg);
  }
}

/* ---------- Badges de niveau, au-dessus des cartes ---------- */
.formation-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-height: 28px;
}

/* Deuxième pastille, sur la carte conseillée uniquement */
.formation-pick-badge {
  display: inline-block;
  border: 1.5px solid var(--green);
  color: var(--green);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3.5px 12px;
  border-radius: 999px;
}

.formation-card--pick {
  border: 2px solid var(--green);
  border-top: 3px solid var(--green);
  box-shadow: var(--shadow-md);
}

/* ---------- Promesse de la carte ----------
   En Caveat : une note manuscrite, pas un deuxième titre. */
.formation-promise {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--terracotta-dark);
  margin-bottom: 8px;
}

/* ---------- Prix en deux paliers ----------
   MODIFIE LES PRIX dans index.html (et dans outils/prix.json).
   Ici, uniquement la mise en forme. */
.price-step { margin-bottom: 14px; }

.price-step-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
}

.price-step-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.3rem;
  line-height: 1;
  color: var(--green-dark);
}

.price-step-period {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

.price-step-note {
  margin: 6px 0 0;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Le palier qui baisse : c'est l'argument de vente, il a droit
   à son propre bloc plutôt qu'à une note sous le prix. */
.price-loyal {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 10px 0 0;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: var(--fs-xs);
  line-height: 1.35;
}

/* Évite l'orpheline « mois » toute seule sur la 2e ligne dans les
   colonnes étroites (ignoré par les navigateurs qui ne le gèrent pas). */
.price-loyal > span { text-wrap: balance; }

/* Seuls la flèche et le montant passent en orange : ce sont eux
   qui doivent accrocher l'œil, le reste de la phrase garde le vert. */
.price-loyal-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--terracotta-dark);
}

.price-loyal strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--terracotta-dark);
}

.formation-card .price-year { margin-top: 8px; }

/* ---------- Une seule action principale par carte ---------- */
.formation-actions .btn-primary {
  width: 100%;
  font-size: 1.2rem;
}

/* Les deux chemins secondaires tiennent sur une ligne au lieu
   d'occuper deux rangées sous le bouton. */
.formation-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
  font-size: var(--fs-sm);
}

.formation-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(31, 78, 70, 0.3);
  text-underline-offset: 3px;
  cursor: pointer;
}

.formation-link-btn:hover { color: var(--terracotta-dark); }
.formation-links-sep { color: var(--ink-soft); }

/* ---------- Bande « compris dans chaque abonnement » ----------
   Elle récupère ce qui était répété dans chacune des trois
   cartes : essai gratuit, PDF, exercices corrigés. */
/* Élargie pour que les 4 colonnes respirent (elle était calée sur
   980 px alors que la grille des cartes fait ~1160 px). */
.sub-summary { max-width: 1160px; }

@media (min-width: 768px) and (max-width: 1023.98px) {
  .sub-summary-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .sub-summary-list { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Plus de largeur pour les trois offres ----------
   Sur grand écran, la section s'élargit au-delà du conteneur
   standard (1160 px) : chaque carte gagne une quarantaine de
   pixels et l'écart entre elles passe de 24 à 36 px.
   Si tu préfères aligner tout le site sur cette largeur,
   change max-width dans .container et supprime ce bloc. */
@media (min-width: 1200px) {
  #formations .container { max-width: 1300px; }
  #formations .formations-grid { gap: var(--space-lg); }
  #formations .formation-body { padding: var(--space-lg) 28px; }
  #formations .sub-summary { max-width: none; }
}

/* =========================================================
   Pages des formations plus vivantes (28/10/2026)
   Hero avec photo, tuiles « Pour qui / Tu sauras », icônes des chapitres
   ========================================================= */
.fhero { position: relative; z-index: 1; max-width: 1080px; }
.fhero .back-link { display: inline-block; margin-bottom: var(--space-sm); }
.fhero-grid { display: grid; gap: 32px; align-items: center; }
.fhero-text { text-align: center; }
.fhero-photo { margin: 0; order: -1; position: relative; }
.fhero-photo img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}
.fhero-photo::before {
  content: ""; position: absolute; inset: 18px -14px -14px 18px; z-index: -1;
  border-radius: var(--radius-lg);
  background: repeating-linear-gradient(45deg, var(--green) 0 10px, var(--green-dark) 10px 20px);
  opacity: .9;
}
@media (min-width: 900px) {
  .fhero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; }
  .fhero-photo { order: 0; transform: rotate(1.5deg); }
  .fhero-text { text-align: left; }
  .fhero-text .eyebrow-center { text-align: left; }
  .fhero-text .section-title, .fhero-text .section-subtitle { text-align: left; margin-left: 0; }
  .fhero-text .price-plan--center { margin-left: 0; margin-right: 0; }
  .fhero-text .formation-hero-actions { align-items: flex-start; justify-content: flex-start; text-align: left; }
}

.feature-tiles-wrap { max-width: 900px; margin: 0 auto; }
.feature-tiles {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 700px) { .feature-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature-tiles li {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border-radius: var(--radius-md);
  padding: 16px 18px; box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--terracotta);
  color: var(--ink); font-size: var(--fs-base); line-height: 1.45;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-tiles li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-tiles li:nth-child(3n+2) { border-left-color: var(--green); }
.feature-tiles li:nth-child(3n+3) { border-left-color: var(--gold); }
.feature-tile-ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--terracotta-pale);
}
.feature-tiles li:nth-child(3n+2) .feature-tile-ico { background: var(--green-soft); }
.feature-tiles li:nth-child(3n+3) .feature-tile-ico { background: #F8EDD5; }
.feature-tile-ico img { width: 28px; height: 28px; object-fit: contain; }
/* Un nombre impair de tuiles : la dernière prend toute la largeur */
@media (min-width: 700px) {
  .feature-tiles li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
}

#programme .faq-question { justify-content: flex-start; }
#programme .faq-question .faq-icon { margin-left: auto; }
.chap-ico {
  width: 40px; height: 40px; flex-shrink: 0; padding: 6px; border-radius: 12px;
  background: var(--terracotta-pale); object-fit: contain;
}
#programme .faq-item:nth-child(3n+2) .chap-ico { background: var(--green-soft); }
#programme .faq-item:nth-child(3n+3) .chap-ico { background: #F8EDD5; }
@media (min-width: 900px) {
  .fhero-text .price-plan--center { text-align: left; align-items: flex-start; }
  .fhero-text .price-trial { margin-left: 0; }
  .fhero-text .price-tiers-note { text-align: left; }
}

/* Couleurs des pages formations (28/10/2026) : chaque section a sa teinte */
body:has(.fhero) #hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(221, 95, 36, .16), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(201, 154, 60, .18), transparent 40%),
    var(--bg);
}
body:has(.fhero) #pour-qui { background: var(--green-soft); }
body:has(.fhero) #a-la-fin { background: var(--terracotta-pale); }
body:has(.fhero) #programme {
  background: var(--bg-tint);
}
body:has(.fhero) #abonnement { background: var(--green-soft); }
body:has(.fhero) #pour-qui .eyebrow { color: var(--green); }


/* =====================================================
   REFONTE ACCUEIL (10/11/2026)
   Boutons d'appel plus gros, offres à prix unique avec ✓ / ✗,
   accompagnement premium, fenêtres flottantes « Tout le détail ».
===================================================== */

/* Hero : boutons plus gros, pour attirer le regard */
.hero-actions .btn-large {
  padding: 19px 34px;
  font-size: var(--fs-md);
  font-weight: 700;
  min-height: 60px;
  box-shadow: var(--shadow-md);
}
.hero-actions .btn-primary.btn-large:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
@media (max-width: 1023px) { .hero-dream { margin-top: -28px !important; } }
@media (min-width: 768px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
}

/* Gros bouton générique */
.btn-xl { padding: 18px 30px; font-size: var(--fs-md); font-weight: 700; min-height: 58px; gap: 10px; }
.btn-xl svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Cartes formation : phrase « pour qui », prix unique, ✓ / ✗ */
.formation-forwho {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  line-height: 1.4;
  color: var(--green);
  margin: 4px 0 var(--space-sm);
}
.price-one { margin-bottom: var(--space-sm); }
.price-one-main { display: flex; align-items: baseline; gap: 4px; margin: 0; }
.price-one-value { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--ink); }
.price-one-period { color: var(--ink-soft); }
.price-one-note { margin: 0 0 6px; font-size: var(--fs-sm); color: var(--ink-soft); }
.feat-list .feat-no { color: #8A8F8B; }
.feat-list .feat-no span[aria-hidden] { color: #C0392B; font-weight: 700; }
.feat-list .feat-yes span[aria-hidden] { color: #1E8449; font-weight: 700; }
button.formation-link-btn { background: none; border: 0; cursor: pointer; font: inherit; }
.formations-both { text-align: center; color: var(--ink-soft); margin: var(--space-md) auto 0; max-width: 640px; }

/* Accompagnement premium */
.accomp-premium { background: var(--green); color: var(--white); }
.accomp-premium .eyebrow { color: var(--gold); }
.accomp-premium .section-title, .accomp-premium .section-subtitle { color: var(--white); }
.accomp-duo { display: grid; gap: var(--space-md); max-width: 820px; margin: 0 auto var(--space-lg); }
@media (min-width: 768px) { .accomp-duo { grid-template-columns: 1fr 1fr; } }
.accomp-offer { padding: var(--space-lg); color: var(--ink); background: var(--white) !important; opacity: 1 !important; }
.accomp-premium .section-subtitle { color: rgba(255, 253, 252, .88) !important; }
.accomp-offer h3 { font-family: var(--font-display); font-size: var(--fs-xl); margin: 0 0 8px; color: var(--green); }
.accomp-offer p { margin: 0; color: var(--ink-soft); }
.accomp-offer .accomp-offer-tag { color: var(--terracotta-dark); font-weight: 700; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.accomp-call { text-align: center; max-width: 680px; margin: 0 auto; }
.accomp-call-text { font-size: var(--fs-md); margin: 0 0 var(--space-md); color: var(--white); }
.accomp-call-actions { display: flex; flex-direction: column; gap: var(--space-sm); align-items: stretch; }
@media (min-width: 600px) { .accomp-call-actions { flex-direction: row; justify-content: center; } }
.accomp-premium .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.7); background: transparent; }
.accomp-premium .btn-ghost:hover { background: rgba(255,255,255,.1); }
.accomp-premium .formation-link-btn { color: var(--white); text-decoration: underline; margin-top: var(--space-sm); }
.btn-whatsapp { background: #1F9D55; border-color: #1F9D55; color: #fff; }
.btn-whatsapp:hover { background: #17834A; border-color: #17834A; }

/* Fenêtres flottantes « Tout le détail » (refaites le 10/11/2026)
   Structure : bouton ✕ fixe, zone qui défile (image + titre, sommaire,
   sections), pied fixe avec le prix et le bouton.
   Une seule taille de texte (1rem) ; titres de section identiques. */
.detail-dialog {
  border: 0;
  padding: 0;
  margin: auto;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
}
.detail-dialog[open] { display: flex; flex-direction: column; }
.detail-dialog::backdrop { background: rgba(18, 30, 25, .6); }
/* 13/11 : fenêtre ouverte = la page derrière ne défile plus (sur html :
   sur body, l'en-tête décrochait). */
html:has(> body.has-dialog) { overflow: hidden; }
html { scrollbar-gutter: stable; } /* ordinateur : la page ne se décale pas quand la barre de défilement se cache */

.detail-close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255, 253, 252, .95); color: var(--ink);
  font-size: 1.05rem; cursor: pointer; box-shadow: var(--shadow-sm);
}
.detail-close:hover { background: var(--white); }

.dd-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; }

/* Typographie unique dans toute la fenêtre */
.dd-formation, .dd-formation * { font-size: 1rem; line-height: 1.55; }
.dd-formation p, .dd-formation li { color: var(--ink-soft); margin: 0; }
.dd-formation strong { color: var(--ink); }

/* En-tête : image de la carte + titre */
.dd-head { position: relative; min-height: 200px; display: flex; align-items: flex-end; background: var(--green); }
.dd-head-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dd-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,51,45,.05) 20%, rgba(18,51,45,.88) 100%); }
.dd-head--plain { min-height: 0; }
.dd-head--plain::after { display: none; }
.dd-head-text { position: relative; z-index: 1; padding: 56px 24px 22px; }
.dd-formation .dd-badge {
  display: inline-block; margin-bottom: 8px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 253, 252, .92); color: var(--green-dark);
  font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.dd-formation .dd-head h3 { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.15; color: var(--white); margin: 0 0 6px; }
.dd-formation .dd-sub { color: rgba(255, 253, 252, .92); }

/* Sommaire cliquable, collé en haut pendant le défilement */
.dd-jumps {
  position: sticky; top: 0; z-index: 2;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 12px 12px 12px 24px; background: var(--white); border-bottom: 1px solid rgba(18, 30, 25, .08);
  border-right: 60px solid var(--white); /* place du bouton ✕ : les pastilles ne passent pas dessous */
}
.dd-jumps::-webkit-scrollbar { display: none; }
.dd-formation .dd-jumps button {
  flex-shrink: 0; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(31, 78, 70, .25);
  background: var(--bg); color: var(--green-dark); font-size: .9rem; font-weight: 600; cursor: pointer;
}
.dd-jumps button:hover { background: var(--green-soft); }

/* Corps */
.dd-body { padding: 8px 24px 28px; }
.dd-formation .dd-intro { margin-top: 16px; color: var(--ink); }
.dd-sec { padding-top: 24px; scroll-margin-top: 64px; }
.dd-sec + .dd-sec { margin-top: 24px; border-top: 1px solid rgba(18, 30, 25, .08); }
.dd-formation h4 {
  font-family: var(--font-display); font-size: 1.3rem; line-height: 1.25; font-weight: 700;
  color: var(--green); margin: 0 0 12px;
}
.dd-formation .dd-list + h4 { margin-top: 22px; }
.dd-formation .dd-note { margin-top: 12px; }
.dd-formation .dd-kicker { margin: -6px 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--terracotta-dark); }

/* Listes : puce dans sa colonne, le texte retombe toujours aligné */
.dd-list, .dd-formation .preview-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dd-list li, .dd-formation .preview-list li { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; align-items: start; }
.dd-list li::before { content: ""; justify-self: center; }
.dd-list--dot li::before { width: 7px; height: 7px; margin-top: .62em; border-radius: 50%; background: var(--terracotta); }
.dd-list--yes li::before { content: "✓"; color: #1E8449; font-weight: 700; }
.dd-formation .preview-list .ico { width: 20px; height: 20px; margin-top: 2px; }

/* Programme : un chapitre par ligne, s'ouvre au toucher */
.dd-chapters { display: grid; gap: 8px; }
.dd-chap { border: 1px solid rgba(18, 30, 25, .1); border-radius: 14px; background: var(--white); }
.dd-chap[open] { background: var(--bg); }
.dd-chap summary, .dd-faq summary {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer;
  list-style: none; font-weight: 600; color: var(--ink);
}
.dd-chap summary::-webkit-details-marker, .dd-faq summary::-webkit-details-marker { display: none; }
.dd-chap summary::after, .dd-faq summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; line-height: 1; color: var(--green); }
.dd-chap[open] summary::after, .dd-faq[open] summary::after { content: "−"; }
.dd-chap-ico { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.dd-chap-body { padding: 0 16px 16px 60px; }
.dd-formation .preview-block-title, .dd-formation .module-field-label {
  margin: 14px 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--terracotta-dark);
}
.dd-formation .dd-chap-body > :first-child { margin-top: 0; }

/* Méthode */
.dd-formation .technique-tags { justify-content: flex-start; margin-top: 12px; }
.dd-formation .technique-tag { font-size: .9rem; }

/* Ce qui est inclus */
.dd-formation .sub-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; max-width: none; }
.dd-formation .sub-card { padding: 16px; border-radius: 16px; box-shadow: none; background: var(--bg); }
.dd-formation .sub-card-head { margin-bottom: 10px; }
.dd-formation .sub-card-icon { width: 40px; height: 40px; }
.dd-formation .sub-card-icon img { width: 24px; height: 24px; }
.dd-formation .sub-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--green-dark); margin: 0; }
.dd-formation .sub-card h3 small { display: inline; font-size: 1rem; font-weight: 400; color: var(--ink-soft); }
.dd-formation .ap-plan-list { gap: 8px; }
.dd-formation .ap-plan-list li { padding-left: 25px; }
.dd-formation .sub-note { margin-top: 12px; background: var(--white); }
.dd-formation .sub-when { margin: 14px 0 0; max-width: none; text-align: left; }

/* Exemple de correction */
.dd-formation .sub-example-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--green); margin: 0 0 12px; }
.dd-formation .sub-example-lead { margin-bottom: 10px; }
.dd-formation .sub-example-box { margin: 12px 0; }
.dd-formation .sub-example-label { margin-bottom: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--terracotta-dark); }
.dd-formation .sub-example-badge { font-size: .72rem; }
.dd-formation .sub-example-pt { font-family: var(--font-display); color: var(--ink); }
.dd-formation .sub-steps li { padding-left: 42px; }
.dd-formation .sub-example-note { text-align: left; color: var(--ink-soft); margin-top: 12px; }

/* Questions */
.dd-faq { border-bottom: 1px solid rgba(18, 30, 25, .08); }
.dd-faq summary { padding: 12px 0; }
.dd-faq p { padding: 0 0 14px; }

/* Étapes (accompagnement) */
.dd-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: dd-step; }
.dd-steps li { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; align-items: start; counter-increment: dd-step; }
.dd-steps li::before {
  content: counter(dd-step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--green); color: var(--white); font-weight: 700; font-size: .9rem;
}

/* Pied fixe : prix + bouton, toujours visibles */
.dd-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 24px; background: var(--white); border-top: 1px solid rgba(18, 30, 25, .1);
  box-shadow: 0 -8px 24px rgba(18, 30, 25, .06);
}
.dd-formation .dd-price-main { display: flex; align-items: baseline; gap: 4px; color: var(--ink); }
.dd-formation .dd-price-main strong { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
.dd-formation .dd-price-note { font-size: .9rem; }
.dd-formation .dd-price-note a { font-size: .9rem; color: var(--green); font-weight: 600; text-decoration: underline; }
.dd-formation .dd-cta { padding: 15px 26px; font-size: 1.05rem; font-weight: 700; min-height: 52px; }

@media (min-width: 640px) {
  .dd-formation .sub-grid { grid-template-columns: repeat(3, 1fr); }
  .dd-head { min-height: 240px; }
}
@media (max-width: 639px) {
  .detail-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 20px; }
  .dd-head-text, .dd-body, .dd-jumps, .dd-foot { padding-left: 18px; padding-right: 18px; }
  .dd-jumps { padding-right: 8px; }
  .dd-formation .dd-head h3 { font-size: 1.6rem; }
  .dd-chap-body { padding-left: 16px; }
  .dd-foot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 10px; padding-bottom: 12px; }
  .dd-formation .dd-price-main strong { font-size: 1.35rem; }
  .dd-formation .dd-price-note, .dd-formation .dd-price-note a { font-size: .85rem; line-height: 1.4; }
  .dd-formation .dd-cta { width: 100%; min-height: 48px; padding: 12px 20px; }
}

/* Menu : un lien ne passe jamais sur deux lignes */
@media (min-width: 1024px) {
  .main-nav a { white-space: nowrap; }
}
/* Pied des fenêtres sur grand écran : prix à gauche, bouton à droite */
@media (min-width: 640px) {
  .dd-foot { flex-wrap: nowrap; }
  .dd-price { flex: 1; min-width: 0; }
  .dd-formation .dd-cta { flex-shrink: 0; }
}

/* =====================================================
   AJUSTEMENTS DU 10/11/2026 (2e passage)
   Boutons des 3 cartes alignés, drapeau, accompagnement
   avec le décor de la communauté, fenêtres plus larges
   avec l'aperçu de l'appli.
===================================================== */

/* Drapeau dans une phrase (« portugais du 🇵🇹 ») */
.flag-inline { width: 1.15em; height: 1.15em; margin-left: 1px; vertical-align: -0.2em; }

/* Les 3 cartes : le bouton est toujours en bas, à la même hauteur et de la même taille */
.formation-card .formation-actions .btn-primary { min-height: 56px; white-space: nowrap; padding-left: 14px; padding-right: 14px; }
@media (min-width: 1024px) and (max-width: 1199px) {
  .formation-card .formation-actions .btn-primary { font-size: 1.1rem; }
}
/* La carte Essentiel a un cadre de 2 px au lieu de 1 : on compense ce pixel
   pour que son bouton soit exactement à la même hauteur que les deux autres */
#formations .formation-card--pick .formation-body > .formation-links { margin-bottom: 11px; }
.formation-card--soon .waitlist-form--card { margin-top: auto; }
.formation-card--soon .waitlist-form--card .waitlist-row { gap: 10px; }
.formation-card--soon .waitlist-form--card .waitlist-note { margin: 0 0 4px; line-height: 1.45; }
.formation-card--soon .waitlist-form--card .formation-actions { margin-top: 2px; }
/* Sans liste ✓ / ✗ dans la carte Fluente, le formulaire descend en bas de la carte */
.formation-card--soon .formation-soon-tag { margin-bottom: var(--space-sm); }

/* Accompagnement : même mise en page que « Notre communauté » */
.accomp-inner { position: relative; z-index: 1; text-align: center; }
.accomp-premium .community-script { margin-top: -4px; }
.accomp-offer { text-align: left; display: flex; flex-direction: column; }
.accomp-offer .accomp-offer-text { margin-bottom: var(--space-sm); line-height: 1.6; }
.accomp-offer .accomp-incl-label {
  margin: auto 0 8px; padding-top: var(--space-sm); border-top: 1px solid rgba(18, 30, 25, .08);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green);
}
.accomp-incl { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; align-content: start; }
.accomp-incl li { display: grid; grid-template-columns: 20px 1fr; column-gap: 8px; align-items: start; color: var(--ink-soft); line-height: 1.5; }
.accomp-incl li > span[aria-hidden] { color: #1E8449; font-weight: 700; }
.accomp-incl strong { color: var(--ink); }
.accomp-duo { max-width: 920px; }
/* Côte à côte : « Tout est compris » commence à la même hauteur dans les deux cartes */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 768px) {
    .accomp-duo { grid-template-rows: repeat(5, auto); row-gap: 0; }
    .accomp-offer { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
    .accomp-offer .accomp-incl-label { margin-top: 0; align-self: end; }
  }
}

/* Fenêtres « Découvrir le module » : plus larges */
.detail-dialog { width: min(1040px, calc(100vw - 48px)); }
@media (min-width: 640px) {
  .dd-head { min-height: 230px; }
  .dd-head-text { padding: 56px 40px 24px; }
  .dd-jumps { padding: 12px 40px; }
  .dd-body { padding: 8px 40px 36px; }
  .dd-foot { padding: 16px 40px; }
  .dd-formation .dd-intro, .dd-formation .dd-sec > p, .dd-formation .dd-lead { max-width: 74ch; }
}
@media (min-width: 900px) {
  /* Sur un écran large, les listes passent sur deux colonnes */
  .dd-list--dot, .dd-list--yes { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  /* Chapitre ouvert : le texte reste à une largeur confortable à lire */
  .dd-chap-body { max-width: 80ch; }
}
.dd-formation .dd-sec > p + .dd-list { margin-top: 12px; }

/* Aperçu de l'appli dans la fenêtre */
.dd-formation .dd-eyebrow { margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--terracotta-dark); }
.dd-formation .dd-lead { margin: -4px 0 18px; }
.dd-inside .inside-demo { max-width: none; margin: 0; }
.dd-formation .inside-tab, .dd-formation .inside-tab * { font-size: .9rem; line-height: 1.3; }
.dd-formation .inside-tab-title { font-weight: 700; color: inherit; }
.dd-formation .inside-panel-text { padding: 12px 16px; }
.dd-formation .inside-quiz, .dd-formation .inside-quiz * { font-size: .9rem; }
.dd-formation .inside-quiz { margin: var(--space-sm) 0 0; text-align: center; }
@media (min-width: 1024px) {
  .dd-inside .inside-demo {
    column-gap: 32px;
    grid-template-rows: 1fr auto 1fr auto;
    grid-template-areas: "screen ." "screen tabs" "screen ." "quiz quiz";
  }
  .dd-formation .inside-quiz { margin-top: var(--space-md); }
  .dd-formation .inside-tab, .dd-formation .inside-tab * { font-size: 1rem; line-height: 1.4; }
  .dd-formation .inside-tab-desc { font-weight: 400; }
  .dd-formation .inside-tab:not(.is-active) .inside-tab-desc { color: var(--ink-soft); }
  .dd-formation .inside-tab.is-active .inside-tab-desc { color: rgba(255, 255, 255, .82); }
}
/* Fenêtre Accompagnement : les deux boutons côte à côte, centrés */
@media (min-width: 640px) { .dd-foot--center { justify-content: center; } }

/* =====================================================
   RETOUCHES DU 11/11/2026
===================================================== */
/* Plus d'air entre la vidéo et la section suivante */
#video-presentation { padding-bottom: 72px; }
@media (min-width: 1024px) { #video-presentation { padding-bottom: 112px; } }

/* Fluente : ligne invisible à la place de « Découvrir le module » */
.formation-links--vide { visibility: hidden; }
/* Accompagnement : frise d'azulejos (11/11/2026) - différente des bords de la communauté */
.accomp-premium { padding-top: calc(var(--space-xl) + 48px); padding-bottom: calc(var(--space-xl) + 48px); }
.accomp-frise {
  position: absolute; left: 0; right: 0; height: 48px;
  background: url("images/azulejo-frise.svg") center top / 48px 48px repeat-x;
}
.accomp-frise--haut { top: 0; border-bottom: 3px solid var(--gold); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .45); }
.accomp-frise--bas { bottom: 0; border-top: 3px solid var(--gold); box-shadow: 0 -8px 18px -10px rgba(0, 0, 0, .45); }
.accomp-premium .community-olive--tl { top: 18px; }
.accomp-premium .community-olive--br { bottom: 18px; }
@media (min-width: 1024px) {
  .accomp-frise { height: 56px; background-size: 56px 56px; }
  .accomp-premium { padding-top: calc(var(--space-xl) + 56px); padding-bottom: calc(var(--space-xl) + 56px); }
}
/* =====================================================
   PRIX DU 11/11/2026 : « à partir de » sur l'accueil,
   choix de la formule (année / mois) dans commencer.html
   ===================================================== */
.price-one-from { margin: 0 0 -2px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft); text-transform: none; }
.dd-price-from { font-size: .9rem; font-weight: 600; color: var(--ink-soft); margin-right: 2px; }

.formule-choix { max-width: 860px; margin: 0 0 var(--space-md); }
.formule-choix-titre { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.formule-choix-grid { display: grid; gap: 14px; }
.formule-option {
  position: relative; display: grid; grid-template-columns: 26px 1fr auto; grid-template-areas: "radio nom prix" "radio detail detail";
  align-items: center; column-gap: 12px; row-gap: 6px;
  padding: 18px 18px 16px; border: 2px solid rgba(18, 30, 25, 0.12); border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.formule-option:hover { border-color: var(--green); transform: translateY(-1px); }
.formule-option:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.formule-option.is-active { border-color: var(--green); background: var(--green-soft); box-shadow: var(--shadow-md); }
.formule-radio { grid-area: radio; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(18, 30, 25, 0.35); background: var(--white); }
.formule-option.is-active .formule-radio { border-color: var(--green); box-shadow: inset 0 0 0 5px var(--white); background: var(--green); }
.formule-badge {
  position: absolute; top: -12px; left: 54px; padding: 3px 10px; border-radius: 999px;
  background: var(--terracotta); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .02em;
}
.formule-nom { grid-area: nom; font-weight: 700; font-size: 1.08rem; }
.formule-prix { grid-area: prix; font-size: .95rem; color: var(--ink-soft); white-space: nowrap; }
.formule-prix strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.formule-detail { grid-area: detail; font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.45; }
@media (min-width: 760px) {
  .formule-choix-grid { grid-template-columns: 1fr 1fr; }
}
/* =====================================================
   PAGE ACCOMPAGNEMENT - VERSION NOËL (11/11/2026)
   Nos couleurs : vert, terracotta, or, crème, azulejo.
   ===================================================== */
.acn-hero { position: relative; overflow: hidden; background: var(--green); color: #fff; padding: 48px 0 56px; }
.acn-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 15% 0%, rgba(201,154,60,.18), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(18,51,45,.7), transparent 60%); pointer-events: none; }
.acn-olive { position: absolute; width: 150px; top: -12px; left: -28px; transform: rotate(18deg); opacity: .9; pointer-events: none; }
.acn-hero-grid { position: relative; display: grid; gap: 32px; align-items: center; }
.acn-eyebrow { margin: 0; color: var(--gold); font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; text-align: center; }
.acn-rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 10px auto 16px; color: var(--gold); font-size: 1.1rem; max-width: 280px; }
.acn-rule span { flex: 1; height: 1px; background: currentColor; opacity: .7; }
.acn-title { font-family: var(--font-display); font-size: clamp(2.2rem, 7vw, 3.6rem); line-height: 1.06; margin: 0 0 18px; color: #fff; }
.acn-title em { display: block; font-style: italic; color: #F2A06E; }
.acn-lead { font-size: 1.1rem; line-height: 1.55; color: rgba(255,255,255,.9); margin: 0 0 22px; max-width: 34em; }
.acn-feats { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px 0; }
.acn-feats li { display: flex; align-items: center; gap: 8px; padding: 0 16px; font-size: .95rem; line-height: 1.25; color: rgba(255,255,255,.92); border-left: 1px solid rgba(201,154,60,.6); }
.acn-feats li:first-child { padding-left: 0; border-left: 0; }
.acn-feats svg { width: 26px; height: 26px; flex: none; color: var(--gold); }
.acn-cta { display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.acn-photo { position: relative; margin: 0; border-radius: 120px 26px 26px 26px; overflow: hidden; aspect-ratio: 5 / 4; border: 3px solid var(--gold);
  background: var(--green-soft) url("images/azulejo-frise.svg") center / 72px 72px repeat; box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.acn-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.acn-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; text-align: right; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: #fff;
  background: linear-gradient(transparent, rgba(18,51,45,.85)); }
.acn-frise { height: 40px; background: url("images/azulejo-frise.svg") center top / 40px 40px repeat-x; border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); }

.acn-offers { text-align: center; }
.acn-h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--green-dark); margin: 0 0 32px; line-height: 1.15; }
.acn-cards { display: grid; gap: 22px; max-width: 980px; margin: 0 auto; }
.acn-card { background: var(--white); border: 1.5px solid rgba(31,78,70,.35); border-radius: 24px; padding: 26px 24px 24px; box-shadow: var(--shadow-sm); }
.acn-tag { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; color: var(--terracotta-dark); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.acn-tag::before, .acn-tag::after { content: ""; flex: 1; height: 1px; background: var(--gold); }
.acn-icon { width: 76px; height: 58px; color: var(--green); }
.acn-section { position: relative; scroll-margin-top: 68px; }
.acn-offers { padding: 56px 0 72px; }
.acn-card h3, .acn-card h4 { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 2.6rem); color: var(--green-dark); margin: 4px 0 6px; }
.acn-sub { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: var(--ink); margin: 0 auto 16px; max-width: 22em; padding-bottom: 16px; border-bottom: 1px solid rgba(201,154,60,.55); }
.acn-list { list-style: none; padding: 0; margin: 0; text-align: left; }
.acn-list li { position: relative; padding: 6px 0 6px 32px; font-size: 1rem; line-height: 1.4; color: var(--ink); }
.acn-list li::before { position: absolute; left: 2px; top: 4px; font-weight: 700; font-size: 1.15rem; }
.acn-list li.yes::before { content: "✓"; color: var(--green); }
.acn-list li.no { color: var(--ink-soft); }
.acn-list li.no::before { content: "✕"; color: var(--terracotta); }
.acn-both { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 34px auto 6px; max-width: 760px; }
.acn-both p { margin: 0; font-size: 1.05rem; color: var(--ink); }
.acn-sprig { width: 64px; flex: none; }
.acn-sprig--flip { transform: scaleX(-1); }
.acn-note { margin: 4px 0 18px; font-size: var(--fs-sm); color: var(--ink-soft); }
.acn-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 26px; margin: 0; }
.acn-wa { font-weight: 700; color: var(--green-dark); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; text-decoration-thickness: 2px; font-size: 1.08rem; }
.acn-tel { color: var(--ink-soft); }
@media (max-width: 599px) {
  .acn-sprig { width: 40px; }
  .acn-feats li { padding: 0 10px; font-size: .88rem; }
  .acn-cta { width: 100%; justify-content: center; }
}
@media (min-width: 760px) { .acn-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .acn-hero { padding: 64px 0 72px; }
  .acn-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .acn-feats { flex-wrap: nowrap; }
  .acn-eyebrow, .acn-rule--left { text-align: left; margin-left: 0; justify-content: flex-start; }
  .acn-rule--left { max-width: 330px; }
}
/* Alternance des fonds (11/11/2026) : crème (accompagnement) -> vert doux (vidéo) -> sable (guides) */
#video-presentation { background: var(--green-soft); }
#video-presentation .video-frame { background: linear-gradient(155deg, var(--white) 0%, #F4EFE6 100%); border: 1px solid rgba(31, 78, 70, 0.12); }
/* Fenêtre Accompagnement : photo d'une Roda (visages floutés) */
.dd-head--roda .dd-head-img { object-position: 50% 36%; }

/* Plus large sur ordinateur (11/11/2026) : fenêtres flottantes et page avant paiement,
   pour que les textes et les titres tiennent sur moins de lignes. */
@media (min-width: 1024px) {
  .detail-dialog { width: min(1320px, calc(100vw - 40px)); }
  .dd-formation .dd-intro, .dd-formation .dd-sec > p, .dd-formation .dd-lead { max-width: 115ch; }
  .dd-chap-body { max-width: 110ch; }
  .checkout { max-width: 1280px; }
  .checkout-head { max-width: 1000px; }
  .formule-choix { max-width: 1000px; }
  .checkout-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}
/* Page avant paiement plus compacte sur téléphone (11/11/2026) */
@media (max-width: 599px) {
  .checkout-head h1 { font-size: 1.45rem; }
  .checkout-lead { font-size: .95rem; }
  .formule-choix-titre { font-size: 1.1rem; margin-bottom: 14px; }
  .formule-choix-grid { gap: 16px; }
  .formule-option { grid-template-columns: 22px 1fr auto; grid-template-areas: "radio nom prix" "detail detail detail"; column-gap: 10px; padding: 16px 14px 12px; }
  .formule-radio { width: 20px; height: 20px; }
  .formule-badge { left: 14px; font-size: .72rem; }
  .formule-nom { font-size: 1rem; }
  .formule-prix strong { font-size: 1.3rem; }
  .formule-detail { font-size: .85rem; }
  .checkout-block { padding: 18px 16px; }
}
/* Titre du cadre de paiement sur une ligne */
@media (min-width: 960px) { .checkout-aside h2 { font-size: 1.2rem; } }

/* Formulaire de contact : message d'erreur (11/11/2026) */
.form-error { margin-top: 12px; background: var(--terracotta-pale); color: var(--terracotta-dark); font-weight: 600; font-size: var(--fs-sm); padding: 12px 16px; border-radius: var(--radius-md); }
.form-error a { color: inherit; text-decoration: underline; }

/* Cartes des 3 formations sur ordinateur (11/11/2026) : plus larges et plus
   basses, pour voir les boutons sans faire défiler. Mêmes textes, même ordre :
   seuls la largeur, la hauteur des photos, les espacements et un peu la
   taille du texte changent. */
@media (min-width: 1024px) {
  #formations .container { max-width: 2080px; }
  #formations .formations-grid { gap: 28px; }
  #formations .formation-image { aspect-ratio: auto; height: 170px; }
  #formations .formation-body { padding: 20px 28px 16px; }
  #formations .formation-card h3 { margin-bottom: 2px; }
  #formations .formation-forwho { font-size: 1rem; line-height: 1.45; margin-bottom: 8px; }
  #formations .price-one { margin-bottom: 4px; }
  #formations .price-one-value { font-size: 1.9rem; }
  #formations .price-one-note { margin-bottom: 2px; }
  #formations .feat-list { margin-top: 10px; }
  #formations .feat-list li { font-size: 1rem; line-height: 1.5; }
  #formations .formation-actions { margin-top: 14px; }
  #formations .formation-card .formation-actions .btn-primary { min-height: 50px; }
  #formations .formation-links { margin-top: 6px; }
  #formations .formation-card--soon .formation-soon-tag { margin-bottom: 8px; }
}
/* Téléphone (11/11/2026) : tout le texte un peu plus petit (-6 %), et le
   titre du Hero / son sous-titre réduits davantage. L'ordinateur ne change pas. */
@media (max-width: 767px) {
  html { font-size: 93.75%; }
  .hero-headline { font-size: 1.75rem; line-height: 1.08; }
  .hero-subtitle { font-size: var(--fs-base); line-height: 1.55; }
  .section-title { font-size: 1.55rem; }
  /* Boutons moins gros sur téléphone (11/11/2026) */
  .formation-card .formation-actions .btn-primary { min-height: 46px; font-size: 1rem; padding-top: 10px; padding-bottom: 10px; }
  .hero-actions .btn-large { min-height: 48px; padding: 12px 24px; font-size: 1rem; }
  .acn-cta.btn-xl { min-height: 48px; padding: 12px 24px; font-size: 1rem; }
  /* Réseaux sociaux du Hero : texte sur une ligne, petites icônes centrées dessous */
  .hero-social-row { flex-direction: column; justify-content: center; gap: 10px; text-align: center; }
  .hero-social-row .hero-social-text { order: -1; }
  .hero-social-row .social-links { gap: 14px; }
  .hero-social-row .social-icon { width: 36px; height: 36px; }
  .hero-social-row .social-icon svg { width: 17px; height: 17px; }
}

/* Bandeau TikTok : quand la phrase passe sur 2 lignes, l'icône reste collée
   au début du texte (au lieu de flotter à gauche, au milieu des 2 lignes) */
@media (max-width: 1023px) {
  .social-proof-link { display: block; text-align: center; }
  .social-proof-link svg { display: inline-block; vertical-align: -3px; margin-right: 6px; }
}

/* Écrans d'ordinateur peu hauts (portable 1366 × 768…) : photos plus basses */
@media (min-width: 1024px) and (max-height: 860px) {
  #formations .formation-image { height: 130px; }
  #formations .formation-body { padding-top: 16px; }
}

/* =========================================================
   VIDÉO D'ACCUEIL DU HERO (11/11/2026)
   Téléphone / tablette : vidéo en plein écran derrière le texte, avec un
   voile vert foncé pour que le texte reste lisible.
   Ordinateur : vidéo entière dans un cadre vertical à droite du texte.
   La vidéo est muette, en boucle, lancée par script.js (sauf si la
   personne a demandé à son appareil de réduire les animations).
========================================================= */
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Téléphone et tablette : plein écran derrière le texte ---- */
@media (max-width: 1023.98px) {
  .hero {
    background: rgb(15, 43, 38);
    min-height: 88vh;
    min-height: 88svh;
    display: flex;
    align-items: center;
    padding: 48px 0 40px;
  }
  .hero > .container { width: 100%; }

  .hero-media {
    position: absolute;
    inset: 0;
  }
  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(15, 43, 38, 0.62) 0%,
      rgba(15, 43, 38, 0.7) 45%,
      rgba(15, 43, 38, 0.86) 100%
    );
  }

  /* Texte clair sur la vidéo (mêmes couleurs que sur ordinateur) */
  .hero-text { text-shadow: 0 1px 12px rgba(10, 30, 26, 0.45); }
  .hero-kicker { color: rgba(255, 255, 255, 0.85); }
  .hero-kicker-mark::after { background: var(--white); }
  .hero-headline-main { color: var(--white); }
  .hero-subtitle { color: rgba(255, 255, 255, 0.9); }
  .hero-subtitle strong { color: var(--white); }
  .hero-cta-gift {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
  }
  .hero-cta-gift:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
  }
  .hero-social-text { color: rgba(255, 255, 255, 0.85); }
}

/* ---- Ordinateur : photo de Lisbonne en fond, vidéo entière dans un
   cadre vertical à droite (12/11/2026) ----
   La photo est affichée en entier dans la hauteur (on voit la croix en
   haut et la lavande en bas), calée à droite ; à gauche, elle se fond dans
   le vert du fond. Le voile vert est foncé sous le texte et s'éclaircit
   vers la droite. */
@media (min-width: 1024px) {
  .hero-bg { background: rgb(15, 43, 38); }
  .hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    aspect-ratio: 1920 / 1200;
    max-width: 100%;
    background: url("images/hero-lisbonne-1920.webp") center / cover no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%);
    mask-image: linear-gradient(90deg, transparent 0, #000 16%);
  }
  .hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      100deg,
      rgba(15, 43, 38, 0.88) 0%,
      rgba(15, 43, 38, 0.76) 32%,
      rgba(15, 43, 38, 0.4) 50%,
      rgba(15, 43, 38, 0.12) 68%,
      rgba(15, 43, 38, 0.08) 100%
    );
  }
  /* Texte un peu plus étalé : le 1er paragraphe tient sur 2 lignes */
  .hero-text { max-width: 700px; }
  .hero-subtitle { max-width: 660px; }

  /* Cadre vidéo un peu moins haut que le Hero, légèrement remonté */
  .hero-media {
    position: absolute;
    z-index: 1;
    top: 48%;
    right: max(64px, calc((100% - 1500px) / 2 + 270px));
    transform: translateY(-50%);
    height: min(70%, 580px);
    aspect-ratio: 9 / 16;
    border-radius: 28px;
    overflow: hidden;
    background: rgb(10, 32, 28);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.1),
      0 30px 70px rgba(0, 0, 0, 0.35);
  }
}

/* 12/11 : les liens « Formation » arrivent avec le titre « Choisis ton
   point de départ » tout en haut de l'écran, cartes entières en dessous
   (le défilement vers ce titre est fait par script.js). */
/* 13/11 : l'en-tête reste maintenant en haut (69 px) : titre juste en dessous */
#formations .section-title { scroll-margin-top: 84px; }

/* 12/11 (ordinateur) : bande TikTok plus fine, et plus d'espace entre
   elle et le bloc « Formation » (qui descend un peu). */
@media (min-width: 1024px) {
  .social-proof-bar { padding: 10px 0; }
  /* Bandeau du logo à peine plus fin */
  .header-inner { padding-top: 10px; padding-bottom: 10px; }
  /* Cadre vidéo qui ressort mieux de la photo : liseré blanc + ombre plus marquée */
  .hero-media {
    box-shadow:
      0 0 0 4px rgba(255, 255, 255, 0.92),
      0 0 0 5px rgba(15, 43, 38, 0.25),
      0 34px 80px rgba(0, 0, 0, 0.55),
      0 10px 24px rgba(0, 0, 0, 0.3);
  }
  #formations { padding-top: 68px; }
}

/* 12/11 : haut de la section Accompagnement - deux étiquettes bien visibles
   (« Accompagnement humain » + « Spécial Noël ») pour marquer le changement
   de sujet. */
.acn-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.acn-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}
.acn-badge svg { width: 18px; height: 18px; flex: none; }
.acn-badge--main { color: var(--gold); border: 1.5px solid var(--gold); background: rgba(201, 154, 60, .12); }
.acn-badge--noel { color: #fff; background: #B8322A; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
@media (min-width: 1024px) {
  .acn-badges { justify-content: flex-start; }
  .acn-badge { font-size: .92rem; padding: 9px 15px; letter-spacing: .06em; white-space: nowrap; }
}

/* 12/11 : zones à toucher d'au moins 44 × 44 px (boutons FR/PT, icônes des
   réseaux sociaux, croix des fenêtres d'aperçu et « Tout le détail »), sans
   changer le dessin. (.detail-close est déjà placée en absolu : elle n'a pas
   besoin de position: relative.)
   Une surface invisible (::after), centrée sur le bouton, reçoit le doigt
   autour de lui. Le bouton lui-même ne change ni de taille ni de place.
   Tablette tactile en largeur ordinateur : le site y est affiché à 85 %
   (zoom de html), donc 52 px pour garder 44 px réels à l'écran.
   La croix de Nico a la même règle, dans chatbot.js. */
:root { --tap-min: 44px; }
@media (min-width: 1024px) and (pointer: coarse) { :root { --tap-min: 52px; } }
.lang-btn,
.social-icon,
.preview-close { position: relative; }
.lang-btn::after,
.social-icon::after,
.preview-close::after,
.detail-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, var(--tap-min));
  height: max(100%, var(--tap-min));
  transform: translate(-50%, -50%);
}
/* FR et PT sont collés (sur les petits téléphones, sans les drapeaux, ils
   ne font que 21 px de large) : la zone de FR s'agrandit vers la gauche,
   celle de PT vers la droite, et elles se rejoignent sur le trait « | ».
   Ainsi un toucher sur « FR » donne toujours FR, jamais PT. */
#lang-btn-fr::after { left: auto; right: -5px; transform: translateY(-50%); }
#lang-btn-pt::after { left: -5px; transform: translateY(-50%); }
/* Le trait « | » est un simple dessin : le doigt passe au travers. */
.lang-switch-sep { pointer-events: none; }

/* 12/11 : message de réussite des formulaires (contact, liste d'attente
   Fluente) - petite pulsation quand il apparaît : il grossit très
   légèrement (103 %) puis revient, en 300 ms, sans rebond. Classe ajoutée
   par script.js seulement si l'envoi a réussi. Rien ne bouge si
   l'appareil demande de réduire les animations. */
@keyframes succes-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@media (prefers-reduced-motion: no-preference) {
  .form-success.is-pulse { animation: succes-pulse 0.3s ease-in-out; }
}


/* =========================================================
   13/11/2026
   ========================================================= */

/* Page avant paiement : lien « Découvrir le module → » sous la phrase d'intro */
.checkout-discover { margin: 14px 0 4px; font-size: var(--fs-base); }
.checkout-discover .formation-link-btn[aria-busy="true"] { opacity: .6; cursor: progress; }
/* 13/11 : le lien ressort davantage, en bouton bleu azulejo clair */
.checkout-discover button.formation-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 9px 20px;
  border: 1.5px solid #1F4F96;
  border-radius: 999px;
  background: #E9F0F7;
  color: #1F4F96;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(31, 79, 150, .12);
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.checkout-discover button.formation-link-btn:hover {
  background: #1F4F96;
  color: #fff;
  box-shadow: 0 4px 14px rgba(31, 79, 150, .25);
  transform: translateY(-1px);
}
.checkout-discover button.formation-link-btn:focus-visible { outline: 3px solid rgba(31, 79, 150, .4); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .checkout-discover button.formation-link-btn { transition: none; }
  .checkout-discover button.formation-link-btn:hover { transform: none; }
}

/* ---- Accompagnement : un seul bloc, l'« offre phare » ----
   Les deux parties (haut « Noël » + formules Roda / Tête-à-tête) ont le même
   fond : un bleu azulejo très clair, encadré en haut et en bas par la frise
   d'azulejos. Le vert foncé d'avant est retiré (trop chargé sur deux blocs).
   Bandeau « Offre phare » en travers du coin en haut à gauche. */
.acn-section { background: #E9F0F7; }
.acn-hero { background: transparent; color: var(--ink); padding-top: 100px; }
.acn-hero::before {
  /* lumière douce en haut à gauche seulement : le bas reste du même bleu que les formules */
  background: radial-gradient(ellipse at 12% 0%, rgba(255, 255, 255, .75), transparent 55%);
}
.acn-title { color: var(--green-dark); }
.acn-title em { color: var(--terracotta); }
.acn-lead { color: var(--ink-soft); }
.acn-feats li { color: var(--ink); border-left-color: rgba(201, 154, 60, .7); }
.acn-feats svg { color: #1F4F96; }
.acn-badge--main { color: var(--green-dark); border-color: var(--gold); background: rgba(255, 255, 255, .7); }
.acn-badge--noel { box-shadow: 0 6px 16px rgba(184, 50, 42, .22); }
.acn-cta { box-shadow: 0 10px 24px rgba(221, 95, 36, .28); }
.acn-photo { box-shadow: 0 18px 40px rgba(31, 79, 150, .18); }
.acn-photo figcaption { background: linear-gradient(transparent, rgba(18, 51, 45, .8)); }
/* Branche d'olivier passée en haut à droite (le coin gauche est au bandeau) */
.acn-olive--tr { left: auto; right: -28px; transform: scaleX(-1) rotate(18deg); }
/* Les formules suivent le haut, sans grand vide entre les deux */
.acn-offers { padding-top: 8px; }
.acn-card { border-color: rgba(31, 79, 150, .22); box-shadow: 0 8px 24px rgba(31, 79, 150, .08); }

.acn-ribbon {
  position: absolute; top: 0; left: 0; z-index: 2;
  width: 130px; height: 130px; margin: 0;
  overflow: hidden; pointer-events: none;
}
.acn-ribbon span {
  position: absolute; top: 30px; left: -50px; width: 194px;
  padding: 7px 0;
  transform: rotate(-45deg);
  background: linear-gradient(180deg, #E9763A 0%, var(--terracotta) 45%, var(--terracotta-dark) 100%);
  border-top: 1px solid rgba(255, 255, 255, .45);
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  box-shadow: 0 6px 14px rgba(120, 45, 10, .28);
  color: #fff; text-align: center;
  font-family: var(--font-body); font-weight: 800; font-size: .72rem; line-height: 1.2;
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.acn-ribbon span::before { content: "★"; margin-right: .45em; color: #FFE3B3; }
@media (min-width: 600px) {
  .acn-ribbon { width: 170px; height: 170px; }
  .acn-ribbon span { top: 42px; left: -58px; width: 250px; padding: 9px 0; font-size: .82rem; letter-spacing: .16em; }
}
@media (min-width: 960px) {
  .acn-hero { padding-top: 88px; }
  .acn-offers { padding-top: 16px; }
}

/* ---- Avis : 3e carte qui invite à laisser le sien ---- */
.testimonial-card--invite {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 12px;
  background: var(--bg-tint);
  border: 2px dashed rgba(201, 154, 60, .6);
  box-shadow: none;
}
.testimonial-invite-icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); color: var(--terracotta);
  font-size: 1.5rem; box-shadow: var(--shadow-sm);
}
.testimonial-invite-text {
  font-family: var(--font-display); font-size: 1.15rem; line-height: 1.4; color: var(--green-dark); max-width: 22em;
}
.testimonial-invite-text strong { display: block; font-size: 1.3rem; margin-bottom: 4px; }

/* Cartes formations (13/11/2026) : prix mis en avant (vert foncé, gras, sans encadré),
   et phrase « pour qui » sur une seule ligne sur ordinateur (la taille du
   texte s'adapte à la largeur de la carte ; trop étroit, elle repasse à la ligne). */
#formations .price-one-value { font-size: 2.1rem; font-weight: 800; color: var(--green-dark); line-height: 1.1; }
#formations .price-one-period { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
#formations .price-one-note { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
@media (min-width: 1024px) {
  #formations .formation-body { container-type: inline-size; }
  #formations .formation-forwho { font-size: clamp(0.86rem, 2.82cqi, 1rem); }
  #formations .price-one { margin-bottom: 6px; }
  #formations .price-one-value { font-size: 2rem; }
}

/* Bloc accompagnement (13/11/2026) : phrase WhatsApp sur 2 lignes équilibrées,
   et « M'appeler » / « En savoir plus » avec le même style. */
.acn-note { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; text-wrap: balance; line-height: 1.5; }
.acn-links .acn-tel,
.acn-links .formation-link-btn { color: var(--green-dark); font-size: var(--fs-base); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(31, 78, 70, 0.35); text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* Préinscriptions (19/11/2026) : prix barré + bandeau */
.prix-barre { font-family: var(--font-body, inherit); font-size: .62em; font-weight: 400; color: var(--ink-soft); text-decoration-thickness: 1px; margin-right: 2px; }
.checkout-pre { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--green-soft); color: var(--green-dark); font-size: var(--fs-sm); line-height: 1.45; }
.pre-bandeau { display: block; margin: 0 auto; padding: 10px 16px; background: var(--green-soft); color: var(--green-dark); text-align: center; font-size: var(--fs-sm); line-height: 1.4; }
.pre-bandeau a { color: inherit; font-weight: 700; }

/* Cartes des formations sur ordinateur, plus compactes (20/11/2026) : les 3
   cartes entières doivent tenir à l'écran. Photos plus basses, textes et
   espacements réduits. Rien d'autre ne change. */
@media (min-width: 1024px) {
  #formations .formation-image { height: 120px; }
  #formations .formation-body { padding: 14px 24px 12px; }
  #formations .formation-card h3 { font-size: 1.35rem; }
  #formations .formation-promise { font-size: 0.85rem; margin-bottom: 4px; }
  #formations .formation-forwho { font-size: 0.88rem; line-height: 1.35; margin-bottom: 6px; }
  #formations .price-one-value { font-size: 1.55rem; }
  #formations .price-one-note { font-size: 0.85rem; }
  #formations .feat-list { margin-top: 6px; }
  #formations .feat-list li { font-size: 0.88rem; line-height: 1.35; }
  #formations .formation-actions { margin-top: 10px; }
  #formations .formation-card .formation-actions .btn-primary { min-height: 44px; font-size: 1rem; }
  #formations .checkout-pre { font-size: 0.85rem; padding: 8px 12px; margin: 6px 0; }
}