/* Polices : servies par le thème enfant (css/fonts.css), plus aucun appel à Google. */

/* ── Tokens globaux ── */
:root {
  --ab-soleil:      #FFD11A;
  --ab-soleil-deep: #F4B500;
  --ab-mer:         #0E4F66;
  --ab-mer-deep:    #0A3A4C;
  --ab-terra:       #E2552B;
  --ab-terra-deep:  #C8431D;
  --ab-creme:       #FFF7E6;
  --ab-encre:       #1A1205;
  --ab-max-w:       1100px;
  --ab-pad-x:       40px;
  --ab-section-py:  88px;
  --ab-border:      3px solid #1A1205;
  --ab-shadow:      none;   /* SANS OMBRE depuis le 2026-10-13 */
  --ab-trans:       transform .18s ease, box-shadow .18s ease;
}

/* ── Reset base pour tous les blocs ── */
.alphab-hero, .alphab-marquee, .alphab-ecole,
.alphab-stats, .alphab-cours, .alphab-temoignages,
.alphab-blog, .alphab-cta, .alphab-tarifs, .alphab-gps, .alphab-quiz {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
.alphab-hero *, .alphab-marquee *, .alphab-ecole *,
.alphab-stats *, .alphab-cours *, .alphab-temoignages *,
.alphab-blog *, .alphab-cta *, .alphab-tarifs *, .alphab-gps *,
.alphab-quiz * { box-sizing: border-box; margin: 0; padding: 0; }

.alphab-hero h1, .alphab-hero h2, .alphab-hero h3,
.alphab-ecole h2, .alphab-cours h2, .alphab-cours h3,
.alphab-temoignages h2, .alphab-blog h2, .alphab-blog h3,
.alphab-cta h2,
.alphab-tarifs h2, .alphab-tarifs h3, .alphab-tarifs h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.alphab-hero img, .alphab-ecole img, .alphab-blog img {
  max-width: 100%; display: block;
}

/* ── Fullbleed breakout ── */
.entry-content > .alignfull {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* ── Eyebrow pill ── */
.alphab-eyebrow {
  display: inline-block;
  background: #1A1205 !important;
  color: #FFD11A !important;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}
.alphab-eyebrow--light { background: #FFF7E6 !important; color: #1A1205 !important; }

/* ── Boutons ── */
.alphab-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none !important;
  border: 3px solid #1A1205;
  cursor: pointer;
  transition: var(--ab-trans);
  white-space: nowrap;
}
.alphab-btn--terra {
  background: #E2552B !important;
  color: #fff !important;
  box-shadow: none;
}
.alphab-btn--terra:hover {
  background: #C8431D !important;
  transform: none;
  box-shadow: none;
}
.alphab-btn--outline {
  background: transparent !important;
  color: #1A1205 !important;
  box-shadow: none;
}
.alphab-btn--outline:hover {
  background: #1A1205 !important;
  color: #FFD11A !important;
  transform: none;
  box-shadow: none;
}
/* Hero et CTA final, tous deux sur fond jaune : le bouton secondaire passe
   en bleu mer. En simple contour, il se fondait dans le jaune (relecture de
   Marine, version D choisie le 17/11). */
.alphab-hero .alphab-btn--outline,
.alphab-cta .alphab-btn--outline {
  background: #0E4F66 !important;
  color: #fff !important;
}
.alphab-hero .alphab-btn--outline:hover,
.alphab-cta .alphab-btn--outline:hover {
  background: #0A3A4C !important;
  color: #fff !important;
}
.alphab-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ── Pills = étiquettes (2026-12-01) ──
   Audit de Fabrice : en gélule à bord encre, elles avaient la forme du bouton
   « contour » (.alphab-btn--outline) et on les touchait pour rien. Choix
   d'Emeline (proposition B) : rectangle à petits coins, fond teinté, sans
   bord. Même étiquette que l'Accueil et les pages de cours (alphab.css § 24). */
.alphab-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.5rem 0 2rem; }
.alphab-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 3px;
  background: rgba(26, 18, 5, .08);
  padding: 5px 10px;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #1A1205 !important;
  line-height: 1.35;
}
.alphab-pill svg { flex-shrink: 0; }
/* Une adresse e-mail (ex. housing@alpha-b.fr sur Hébergements) est un vrai
   lien : pas d'étiquette, mais un lien souligné, comme les autres liens du
   texte, avec une enveloppe (render.php du bloc École). */
.alphab-pills .alphab-pill--lien {
  background: none;
  padding: 5px 2px;
  color: #0E4F66 !important;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.alphab-pills .alphab-pill--lien:hover { color: #E2552B !important; }
.alphab-pills .alphab-pill--lien:focus-visible { outline: 3px solid #0E4F66; outline-offset: 2px; border-radius: 3px; }
.alphab-pill--blog {
  background: #FFD11A;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: .75rem;
  align-self: flex-start;
}

/* ═══════════════════════════════════════
   §1 — HERO
═══════════════════════════════════════ */
.alphab-hero {
  background: #FFD11A;
  padding: 80px var(--ab-pad-x) 100px;
  border-bottom: var(--ab-border);
  overflow: hidden;
}
.alphab-hero__inner {
  max-width: var(--ab-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 3.5rem;
  align-items: center;
}
.alphab-hero__title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.05;
  color: #1A1205 !important;
  margin-bottom: 1.5rem;
}
/* SVG underline sur le dernier mot du titre */
.alphab-hero__underline-wrap { position: relative; display: inline; }
.alphab-hero__underline-svg {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 12px;
  overflow: visible;
  pointer-events: none;
}
.alphab-hero__lead {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.72;
  color: rgba(26,18,5,.82) !important;
}
.alphab-hero__content { padding-left: 8%; }
/* Mention en bas du jaune (accueil : statut d'enseignement supérieur privé,
   maquette « texte seul » du 26/10 choisie par le directeur le 29/10) */
.alphab-hero.alphab-hero--mention { padding-bottom: 30px; }
.alphab-hero .alphab-hero__mention {
  margin: 56px auto 1.6em;   /* 1.6em : la marge du thème que portait la maquette */
  text-align: center;
  color: #1A1205 !important;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
/* Colonne photo */
.alphab-hero__photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 28px 10px;
}
.alphab-hero__img {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 26px;
  border: 4px solid #1A1205;
  box-shadow: none;
  transform: rotate(2.5deg);
  position: relative;
  z-index: 1;
}
/* Stickers : structure num + texte */
.alphab-hero__sticker {
  position: absolute;
  border: 3px solid #1A1205;
  box-shadow: none;
  border-radius: 50%;
  width: 118px;
  height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.3;
  padding: 10px;
  z-index: 2;
}
.alphab-hero__sticker-num {
  display: block;
  font-size: 1.85rem;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 2px;
}
.alphab-hero__sticker--1 {
  top: 6px;
  left: -8px;
  background: #0E4F66;
  color: #fff;
}
.alphab-hero__sticker--1 .alphab-hero__sticker-num { color: #FFD11A !important; }
.alphab-hero__sticker--2 {
  bottom: 26px;
  right: -4px;
  background: #FFF7E6;
  color: #1A1205;
}

/* ═══════════════════════════════════════
   §2 — MARQUEE
═══════════════════════════════════════ */
.alphab-marquee {
  background: #1A1205;
  border-top: var(--ab-border);
  border-bottom: var(--ab-border);
  overflow: hidden;
}
.alphab-marquee__track {
  display: flex;
  white-space: nowrap;
  animation: ab-marquee 28s linear infinite;
  padding: 15px 0;
}
.alphab-marquee__track > div {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  flex-shrink: 0;
  color: #FFD11A !important;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding-right: 2.5rem;
}
.alphab-marquee__item { color: #FFD11A !important; }
.alphab-marquee__dot { color: #E2552B !important; font-style: normal; }
@keyframes ab-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .alphab-marquee__track { animation: none; }
}

/* ═══════════════════════════════════════
   §3 — ÉCOLE
═══════════════════════════════════════ */
.alphab-ecole {
  background: #FFF7E6;
  padding: var(--ab-section-py) var(--ab-pad-x);
  border-bottom: var(--ab-border);
}
.alphab-ecole__inner {
  max-width: var(--ab-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 4rem;
  align-items: center;
}
.alphab-ecole__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 26px;
  border: 4px solid #1A1205;
  box-shadow: none;
  transform: rotate(-2deg);
  margin: 8px;
}
.alphab-ecole__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #1A1205 !important;
  margin-bottom: 1.25rem;
}
.alphab-ecole__text {
  color: rgba(26,18,5,.8) !important;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.alphab-ecole__text strong { color: #E2552B !important; font-weight: 700; }
.alphab-ecole__cta { margin-top: .5rem; }

/* ═══════════════════════════════════════
   §4 — STATS
═══════════════════════════════════════ */
.alphab-stats {
  background: #0E4F66;
  border-top: var(--ab-border);
  border-bottom: var(--ab-border);
  padding: 80px var(--ab-pad-x);
}
.alphab-stats__inner {
  max-width: var(--ab-max-w);
  margin: 0 auto;
  display: grid;
  /* auto-fit, et non repeat(4, 1fr) : render.php saute les KPI vides, donc le
     bloc n'en affiche pas toujours quatre. Avec une grille figée, retirer un
     chiffre laissait une colonne vide à droite (constaté sur l'Accueil le
     2026-09-09, en retirant le « 98 % de réussite au DELF »). auto-fit
     escamote les pistes vides : quatre cartes s'affichent exactement comme
     avant, trois s'étalent sur toute la largeur. */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.alphab-stats__card {
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(255,255,255,.18);
  border-radius: 22px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: var(--ab-trans);
}
.alphab-stats__card:hover {
  background: rgba(255,255,255,.1);
  transform: none;
}
.alphab-stats__value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: #FFD11A !important;
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: .6rem;
}
.alphab-stats__label {
  font-size: .93rem;
  color: rgba(255,255,255,.8) !important;
  line-height: 1.45;
}

/* ═══════════════════════════════════════
   §5 — COURS
═══════════════════════════════════════ */
.alphab-cours {
  background: #FFF7E6;
  padding: var(--ab-section-py) var(--ab-pad-x);
  border-bottom: var(--ab-border);
}
.alphab-cours__inner { max-width: var(--ab-max-w); margin: 0 auto; }
.alphab-cours__header { margin-bottom: 2.5rem; }
.alphab-cours__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #1A1205 !important;
  margin-top: .5rem;
}
.alphab-cours__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.alphab-cours__card {
  border: 3px solid #1A1205;
  border-radius: 26px;
  box-shadow: none;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--ab-trans);
}
.alphab-cours__card:hover {
  transform: none;
  box-shadow: none;
}
.alphab-cours__tag {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}
.alphab-cours__emoji { font-size: 2.4rem; display: block; margin-bottom: .75rem; }
.alphab-cours__card-title { font-size: 1.4rem; margin-bottom: .5rem; color: inherit; }
.alphab-cours__card-desc { font-size: .95rem; line-height: 1.6; }
.alphab-cours__card-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .95rem;
}
.alphab-cours__card-link a { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════
   §6 — TÉMOIGNAGES
═══════════════════════════════════════ */
.alphab-temoignages {
  background: #E2552B;
  border-top: var(--ab-border);
  border-bottom: var(--ab-border);
  padding: var(--ab-section-py) var(--ab-pad-x);
}
.alphab-temoignages__inner { max-width: var(--ab-max-w); margin: 0 auto; }
.alphab-temoignages__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #fff !important;
  margin: .75rem 0 2.5rem;
}
/* Ligne de source des avis : la provenance vaut mieux que des étoiles. */
.alphab-temoignages__source {
  color: rgba(255,255,255,.85) !important;
  font-size: .95rem;
  font-weight: 600;
  margin: -1.75rem 0 2.5rem;
}
.alphab-temoignages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.alphab-temoignage__card {
  background: #FFF7E6;
  border: 3px solid #1A1205;
  border-radius: 26px;
  box-shadow: none;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--ab-trans);
}
.alphab-temoignage__card:hover {
  transform: none;
  box-shadow: none;
}
.alphab-temoignage__stars {
  color: #FFD11A !important;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: .75rem;
}
.alphab-temoignage__quote {
  flex: 1;
  font-style: italic;
  color: #1A1205 !important;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}
.alphab-temoignage__author {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
}
.alphab-temoignage__avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #1A1205;
  color: #FFD11A !important;
  border-radius: 50%;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
img.alphab-temoignage__avatar {
  object-fit: cover;
  background: none;
}
.alphab-temoignage__name { font-weight: 700; font-size: .9rem; color: #1A1205 !important; margin: 0; }
.alphab-temoignage__meta { font-size: .8rem; color: rgba(26,18,5,.58) !important; margin: 2px 0 0; }

/* ═══════════════════════════════════════
   §7 — BLOG
═══════════════════════════════════════ */
.alphab-blog {
  background: #FFF7E6;
  padding: var(--ab-section-py) var(--ab-pad-x);
  border-bottom: var(--ab-border);
}
.alphab-blog__inner { max-width: var(--ab-max-w); margin: 0 auto; }
.alphab-blog__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.alphab-blog__title { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #1A1205 !important; }
.alphab-blog__all-link a {
  color: #E2552B !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .95rem;
  white-space: nowrap;
}
.alphab-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.alphab-blog__card {
  background: #fff;
  border: 3px solid #1A1205;
  border-radius: 26px;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--ab-trans);
}
.alphab-blog__card:hover {
  transform: none;
  box-shadow: none;
}
.alphab-blog__thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border-radius: 0;
}
.alphab-blog__body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.alphab-blog__card-title {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  line-height: 1.35;
  color: #1A1205 !important;
}
.alphab-blog__card-title a { color: #1A1205 !important; text-decoration: none; }
.alphab-blog__card-title a:hover { text-decoration: underline; }
.alphab-blog__card-excerpt {
  font-size: .9rem;
  color: rgba(26,18,5,.58) !important;
  line-height: 1.6;
  flex: 1;
}
.alphab-blog__empty { color: rgba(26,18,5,.58) !important; font-style: italic; }

/* ═══════════════════════════════════════
   §8 — CTA FINAL
═══════════════════════════════════════ */
.alphab-cta {
  background: #FFD11A;
  border-top: var(--ab-border);
  padding: 96px var(--ab-pad-x);
  text-align: center;
}
/* !important : Astra pose max-width:none sur les enfants d'un bloc alignfull ;
   sans lui, le texte s'étalait sur 1 360 px (audit de Fabrice, 01/12). */
.alphab-cta .alphab-cta__inner { max-width: 760px !important; margin: 0 auto; }
.alphab-cta__title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  color: #1A1205 !important;
  margin: .75rem 0 1rem;
}
.alphab-cta__text {
  font-size: 1.15rem;
  color: rgba(26,18,5,.8) !important;
  margin-bottom: 2.5rem;
  line-height: 1.65;
  text-wrap: pretty; /* une phrase par ligne (render.php) ; pas de mot seul en fin de phrase */
}
.alphab-cta .alphab-ctas { justify-content: center; }

/* ── Responsive 980px ── */
@media (max-width: 980px) {
  :root { --ab-section-py: 72px; --ab-pad-x: 32px; }
  .alphab-hero__inner { grid-template-columns: 1fr; }
  .alphab-hero__photo { order: -1; padding: 16px; max-width: 480px; margin: 0 auto; }
  .alphab-ecole__inner { grid-template-columns: 1fr; }
  .alphab-stats__inner { grid-template-columns: 1fr 1fr; }
  .alphab-temoignages__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  :root { --ab-section-py: 60px; --ab-pad-x: 20px; }
  .alphab-cours__grid { grid-template-columns: 1fr; }
  .alphab-temoignages__grid { grid-template-columns: 1fr; }
  .alphab-blog__grid { grid-template-columns: 1fr; }
  .alphab-hero__sticker { width: 96px; height: 96px; font-size: .6rem; }
  .alphab-hero__sticker-num { font-size: 1.5rem; }
  .alphab-hero__title { font-size: clamp(2.2rem, 8vw, 3rem); }
  .alphab-hero .alphab-hero__mention { margin-top: 36px; font-size: 12px; }
  .alphab-btn { font-size: .9rem; padding: 12px 24px; }
}
@media (max-width: 400px) {
  .alphab-stats__inner { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .alphab-stats__card { padding: 1.5rem 1rem; }
}

/* ══════════════════════════════════════════════════════════════
   BLOC TARIFS — grille lue depuis tarifs-2026.json
   Cartes plutôt qu'un tableau unique : le référentiel contient 5
   structures de prix différentes (paliers, forfait fixe, première
   semaine puis suivantes, par personne, sur devis) qu'un tableau à
   colonnes fixes ne saurait aligner sans mentir.
   ══════════════════════════════════════════════════════════════ */
.alphab-tarifs {
  background: var(--ab-creme);
  color: var(--ab-encre);
  padding: var(--ab-section-py) 0;
}
.alphab-tarifs__inner {
  max-width: var(--ab-max-w);
  margin: 0 auto;
  padding: 0 var(--ab-pad-x);
}
.alphab-tarifs__eyebrow {
  display: inline-block;
  background: var(--ab-encre);
  color: var(--ab-soleil);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.alphab-tarifs__title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 14px; }
.alphab-tarifs__intro { font-size: 1.08rem; max-width: 62ch; margin-bottom: 48px; }
.alphab-tarifs__sub {
  font-size: 1.5rem;
  margin: 56px 0 24px;
  padding-bottom: 10px;
  border-bottom: var(--ab-border);
}
/* Annule la marge haute du PREMIER sous-titre seulement, c'est-à-dire celui qui
   suit immédiatement le chapô ou le titre. `:first-of-type` faisait l'hypothèse
   que ce premier sous-titre était toujours celui des cours : dès qu'une page
   masque ce titre (pages Cours, qui n'affichent que leurs formules), la règle
   s'appliquait à « Frais et conditions », qui remontait alors sur les cartes. */
.alphab-tarifs__intro + .alphab-tarifs__sub,
.alphab-tarifs__title + .alphab-tarifs__sub { margin-top: 0; }

/* ── Cartes de cours ── */
.alphab-tarifs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.alphab-tarifs__carte {
  background: #fff;
  border: var(--ab-border);
  box-shadow: none;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--ab-trans);
}
.alphab-tarifs__carte:hover { transform: none; box-shadow: none; }
.alphab-tarifs__carte.is-devis { background: var(--ab-creme); }
.alphab-tarifs__carte-tete { display: flex; flex-direction: column; gap: 9px; }
.alphab-tarifs__carte-titre { font-size: 1.12rem; line-height: 1.25; }
/* Chaque cours mène à sa page (audit de Fabrice, 2026-12-01). Même solution
   que le tableau « Comparer les 15 cours » (choix C d'Emeline) : nom souligné,
   carte entière cliquable (le ::after du lien couvre la carte), flèche → ;
   au survol, la carte passe en crème. Le lien « écrivez-nous » de la carte
   « Cours individuel » reste au-dessus du calque. */
.alphab-tarifs__carte.a-un-lien { position: relative; cursor: pointer; }
.alphab-tarifs__carte.a-un-lien:hover { background: var(--ab-creme); }
.alphab-tarifs__carte.a-un-lien.is-devis:hover { background: #FBEFD0; }
.alphab-tarifs .alphab-tarifs__carte-lien {
  color: inherit !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.alphab-tarifs .alphab-tarifs__carte-lien::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.alphab-tarifs .alphab-tarifs__carte-lien:focus-visible { outline: 3px solid var(--ab-mer); outline-offset: 3px; }
.alphab-tarifs__carte.a-un-lien .alphab-tarifs__carte-titre::after {
  content: " →"; content: " →" / ""; color: var(--ab-terra);
}
.alphab-tarifs__carte .alphab-tarifs__mention a { position: relative; z-index: 2; }
.alphab-tarifs__tag {
  align-self: flex-start;
  background: var(--ab-soleil);
  border: 2px solid var(--ab-encre);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  padding: 3px 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Lignes de prix : libellé à gauche, montant à droite, filet pointillé */
.alphab-tarifs__lignes { display: grid; grid-template-columns: 1fr auto; gap: 7px 14px; margin-top: auto; }
.alphab-tarifs__lignes dt { font-size: .92rem; opacity: .82; }
.alphab-tarifs__lignes dd { font-size: .98rem; font-weight: 700; text-align: right; white-space: nowrap; }
.alphab-tarifs__mention {
  font-size: .82rem;
  font-weight: 700;
  color: var(--ab-terra-deep);
  border-top: 2px dotted var(--ab-encre);
  padding-top: 10px;
}

/* ── Tableau hébergements ── */
.alphab-tarifs__tableau-scroll { overflow-x: auto; border: var(--ab-border); box-shadow: none; background: #fff; }
.alphab-tarifs__tableau { width: 100%; border-collapse: collapse; min-width: 460px; }
.alphab-tarifs__tableau th,
.alphab-tarifs__tableau td { padding: 14px 18px; text-align: left; border-bottom: 2px solid rgba(26,18,5,.12); }
.alphab-tarifs__tableau thead th {
  background: var(--ab-mer);
  color: #fff;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.alphab-tarifs__tableau tbody th { font-weight: 600; font-size: .95rem; }
.alphab-tarifs__tableau tbody td { font-weight: 700; white-space: nowrap; }
.alphab-tarifs__tableau tbody tr:last-child th,
.alphab-tarifs__tableau tbody tr:last-child td { border-bottom: 0; }
/* Sur téléphone, les deux colonnes de prix doivent tenir dans l'écran : avec
   min-width 460px, la colonne 2027 restait cachée à droite, sans signe qu'on
   pouvait faire glisser (relecture, remarque n° 64, 2026-10-19). « / semaine »
   passe sous le montant. Mesuré : 0 px de débordement de 320 à 390 px. */
@media (max-width: 640px) {
  .alphab-tarifs__tableau { min-width: 0; }
  .alphab-tarifs__tableau th,
  .alphab-tarifs__tableau td { padding: 12px 10px; }
  .alphab-tarifs__tableau thead th { font-size: .72rem; letter-spacing: .03em; }
  .alphab-tarifs__tableau tbody th { font-size: .88rem; }
  .alphab-tarifs__unite { display: block; font-weight: 500; font-size: .8rem; }
}
@media (max-width: 380px) {
  .alphab-tarifs__tableau th,
  .alphab-tarifs__tableau td { padding: 10px 7px; }
  .alphab-tarifs__tableau tbody th { font-size: .82rem; }
  .alphab-tarifs__tableau tbody td { white-space: normal; }
}

/* ── Frais, note, CTA ── */
.alphab-tarifs__frais { list-style: none; display: grid; gap: 11px; }
.alphab-tarifs__frais li { padding-left: 30px; position: relative; font-size: 1.02rem; }
.alphab-tarifs__frais li::before {
  content: "";
  position: absolute; left: 0; top: .45em;
  width: 13px; height: 13px;
  background: var(--ab-terra);
  border: 2px solid var(--ab-encre);
  border-radius: 50%;
}
.alphab-tarifs__note { margin-top: 26px; font-size: .88rem; opacity: .72; max-width: 68ch; }
.alphab-tarifs__encart {
  margin-top: 22px; padding: 16px 22px; max-width: 68ch;
  border: var(--ab-border); border-radius: 16px; background: #fff;
  font-size: .95rem; font-weight: 500; line-height: 1.55;
}
.alphab-tarifs__cta { margin-top: 38px; }
.alphab-tarifs__bouton {
  display: inline-block;
  background: var(--ab-terra);
  color: #fff;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  text-decoration: none;
  padding: 15px 30px;
  border: var(--ab-border);
  border-radius: 999px;
  box-shadow: none;
  transition: var(--ab-trans);
}
.alphab-tarifs__bouton:hover,
.alphab-tarifs__bouton:focus-visible { transform: none; box-shadow: none; color: #fff; background: var(--ab-terra-deep); }
/* Astra souligne les liens du contenu via un sélecteur plus spécifique que
   `.alphab-tarifs__bouton` : le bouton ressortait souligné. On repasse devant
   en qualifiant par le conteneur du bloc. */
.alphab-tarifs .alphab-tarifs__bouton,
.alphab-tarifs .alphab-tarifs__bouton:hover,
.alphab-tarifs .alphab-tarifs__bouton:focus { text-decoration: none; }
.alphab-tarifs__vide { border: var(--ab-border); background: #fff; padding: 22px; }

@media (max-width: 640px) {
  .alphab-tarifs { padding: 56px 0; }
  .alphab-tarifs__inner { padding: 0 20px; }
  .alphab-tarifs__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .alphab-tarifs__carte, .alphab-tarifs__bouton { transition: none; }
  .alphab-tarifs__carte:hover, .alphab-tarifs__bouton:hover { transform: none; }
}

/* Effectifs et précisions sur les cartes de tarifs */
.alphab-tarifs__tags { display: flex; flex-wrap: wrap; gap: 6px; }
/* L'effectif est une phrase, pas une étiquette : dans une pastille arrondie il
   passait sur deux lignes et cassait la forme. En ligne de texte, il respire. */
.alphab-tarifs__effectif {
  font-size: .84rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--ab-mer);
}
.alphab-tarifs__precision { font-size: .8rem; opacity: .7; line-height: 1.45; }
/* En-tête de colonne : libellé de période + marqueur du tarif en vigueur */
.alphab-tarifs__tableau thead th { line-height: 1.35; }
.alphab-tarifs__actuel {
  display: block;
  font-style: normal;
  font-size: .68rem;
  font-weight: 700;
  color: var(--ab-soleil);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 3px;
}
/* Résidences (2026-10-22) : un tableau par jeu de saisons, leurs dates dessous.
   Page Tarifs, sous les hébergements, et page Hébergements (residencesSeules). */
.alphab-tarifs__tableau td a { color: var(--ab-mer); }
.alphab-tarifs__residences-intro { max-width: 68ch; margin: 0 0 26px; font-size: 1rem; line-height: 1.6; }
.alphab-tarifs__residences-intro a { color: var(--ab-mer); font-weight: 600; }
.alphab-tarifs__residences { display: grid; gap: 34px; }
.alphab-tarifs__residence-titre { font-size: 1.15rem; margin: 0 0 12px; }
.alphab-tarifs__tableau tr.alphab-tarifs__groupe th {
  background: var(--ab-creme);
  font-family: var(--ab-disp, "Space Grotesk", system-ui, sans-serif);
  font-weight: 700;
  font-size: .95rem;
}
/* Légende du tableau : même largeur que lui, une saison par ligne (relecture
   de Marine, 2026-11-18). Les 72 signes valent pour un paragraphe, pas ici. */
.alphab-tarifs__saisons { margin: 12px 0 0; font-size: .92rem; line-height: 1.55; }
.alphab-tarifs__saison { display: block; }

/* ══ GPS DES COURS (quiz d'orientation, 2026-09-04, habillage v2) ════════
   Codes visuels de quiz explicites :
   cartouche « QUESTION 1 / 4 » + « 0 % complété », barre de progression,
   réponses en cartes émoji + libellé + phrase à la première personne.
   1 colonne sur mobile, 2 x 2 sur ordinateur. */
.alphab-gps {
  padding: 64px var(--ab-pad-x);
  background: var(--ab-creme);
  border-top: var(--ab-border);
  border-bottom: var(--ab-border);
}
/* Durcissement anti-thème : Astra pose max-width:none sur les enfants
   d'alignfull — sans !important le cadre s'étale sur toute la page. */
.alphab-gps .alphab-gps__wrap { max-width: 760px !important; margin: 0 auto !important; }
.alphab-gps__titre {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--ab-encre); text-align: center;
}
.alphab-gps__sous {
  text-align: center; color: var(--ab-encre); opacity: .72;
  font-weight: 600; font-size: .95rem; margin-top: 8px;
}
.alphab-gps__cadre {
  margin-top: 26px; background: #fff;
  border: var(--ab-border); border-radius: 20px;
  box-shadow: none; padding: 26px 28px 30px;
}
.alphab-gps__tete {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}
.alphab-gps__etape {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .14em;
  color: #6B6455;
}
.alphab-gps__pct {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: .85rem; color: var(--ab-terra);
}
.alphab-gps__barre {
  height: 14px; border: 2px solid var(--ab-encre); border-radius: 999px;
  background: var(--ab-creme); overflow: hidden;
}
.alphab-gps__barre i {
  display: block; height: 100%; width: 0;
  background: var(--ab-soleil); border-radius: 999px;
  transition: width .35s ease-out;
}
.alphab-gps__retour {
  background: none; border: none; cursor: pointer;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: .85rem; color: var(--ab-terra);
  padding: 4px 0; margin-top: 12px;
  text-decoration: underline; text-underline-offset: 3px;
}
.alphab-gps__question {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; letter-spacing: -.01em;
  font-size: clamp(1.35rem, 2.8vw, 1.7rem); color: var(--ab-encre);
  margin: 20px 0 18px; outline: none; text-wrap: balance;
}
.alphab-gps__tuiles { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 641px) {
  .alphab-gps__tuiles { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
.alphab-gps__tuile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 16px 18px 15px; cursor: pointer; text-align: left;
  background: #fff; border: var(--ab-border); border-radius: 14px;
  box-shadow: none;
  color: var(--ab-encre); transition: var(--ab-trans);
}
.alphab-gps__tuile:hover,
.alphab-gps__tuile:focus-visible {
  transform: none;
  box-shadow: none;
  background: var(--ab-soleil);
}
.alphab-gps__emoji { font-size: 30px; line-height: 1; margin-bottom: 2px; }
.alphab-gps__libelle {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: 1.05rem; line-height: 1.25;
}
.alphab-gps__desc {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-weight: 500; font-size: .88rem; line-height: 1.45;
  color: #5E5A50;
}
.alphab-gps__tuile:hover .alphab-gps__desc,
.alphab-gps__tuile:focus-visible .alphab-gps__desc { color: var(--ab-encre); }
.alphab-gps__carte { text-align: center; padding: 14px 4px 0; position: relative; }
.alphab-gps__badge {
  display: inline-block; background: var(--ab-encre); color: var(--ab-soleil);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
}
.alphab-gps__carte-emoji { display: block; font-size: 52px; margin-top: 14px; }
.alphab-gps__carte-nom {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: 1.5rem; color: var(--ab-encre);
  margin-top: 8px; outline: none;
}
.alphab-gps__carte-texte {
  margin: 10px auto 0; max-width: 46ch;
  color: var(--ab-encre); font-size: .98rem; line-height: 1.55;
}
.alphab-gps__carte-prix {
  margin-top: 12px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: 1.15rem; color: var(--ab-encre);
}
.alphab-gps__trente {
  margin: 14px auto 0; max-width: 46ch;
  font-size: .88rem; line-height: 1.5; color: var(--ab-encre);
  background: var(--ab-creme); border: 2px dashed var(--ab-encre);
  border-radius: 10px; padding: 10px 14px;
}
.alphab-gps__trente a { color: var(--ab-terra); font-weight: 700; }
.alphab-gps__actions {
  margin-top: 18px; display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center; gap: 10px 18px;
}
.alphab-gps__cta {
  display: inline-block; background: var(--ab-terra); color: #fff;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  padding: 12px 22px; border: var(--ab-border); border-radius: 999px;
  box-shadow: none; transition: var(--ab-trans);
}
.alphab-gps__cta:hover { transform: none; box-shadow: none; color: #fff; }
.alphab-gps__refaire {
  background: none; border: none; cursor: pointer;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-weight: 600; font-size: .88rem; color: var(--ab-encre);
  text-decoration: underline; text-underline-offset: 3px; opacity: .75;
}
.alphab-gps__noscript { margin-top: 6px; font-size: .95rem; line-height: 1.55; color: var(--ab-encre); }
@media (prefers-reduced-motion: reduce) {
  .alphab-gps__barre i { transition: none; }
}
@media (max-width: 680px) {
  .alphab-gps { padding: 48px 22px; }
  .alphab-gps__cadre { padding: 20px 16px 24px; }
  .alphab-gps__question { margin: 16px 0 14px; }
  .alphab-gps__tuile { padding: 14px 15px 13px; }
  .alphab-gps__emoji { font-size: 27px; }
}

/* ===========================================================================
   BLOC alphab/faq-question — l'accordéon de la FAQ (page 1170)
   ---------------------------------------------------------------------------
   Pourquoi ce CSS vit ici et pas dans le <style> de la page : le bloc doit
   pouvoir servir ailleurs, et son style voyage donc avec lui.

   La migration du 08/07/2026 avait amputé le CSS embarqué de 1170 de ces
   règles (il n'y restait que .accordion summary). Repris de
   migrations/1187-sections/00-style.css § ACCORDION FAQ, plus la surcharge
   « fond soleil à l'ouverture » de scripts/cours_commun.py.
   =========================================================================== */

/* Chaque question est un bloc autonome, pas un enfant de section : on empile
   19 bandes. Padding faible, et les voisins de même fond se touchent sans
   couture — sinon 19 × 112 px de vide entre les questions. */
.ab-faq-item { padding: 5px 0; }
.ab-faq-item.bg-creme  { background: var(--ab-creme, #FFF7E6); }
.ab-faq-item.bg-creme2 { background: var(--ab-creme-2, #FBEECD); }
.ab-faq-item + .ab-faq-item { padding-top: 0; }
.ab-faq-item:last-of-type { padding-bottom: 40px; }

/* .accordion a une margin-top de 20px dans le design system : inutile ici,
   chaque bloc ne contient qu'un seul <details>. */
.ab-faq-item .accordion { margin-top: 0; gap: 0; }

.ab-scope .accordion { display: flex; flex-direction: column; gap: 10px; }
.ab-scope .accordion details {
  border: var(--ab-bord, 3px solid #1A1205); border-radius: var(--ab-rad-sm, 16px);
  overflow: hidden; box-shadow: none;
}
.ab-scope .accordion summary {
  padding: 16px 20px; cursor: pointer;
  font-family: var(--ab-disp, "Space Grotesk",system-ui,sans-serif); font-weight: 600; font-size: 15.5px;
  background: var(--ab-blanc, #FFFFFF);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  list-style: none;
}
/* Safari : sans ceci le triangle natif reste affiché à côté du ＋. */
.ab-scope .accordion summary::-webkit-details-marker { display: none; }
.ab-scope .accordion summary::after {
  content: "＋"; font-size: 20px; line-height: 1; flex: 0 0 auto;
  transition: transform .2s;
}
.ab-scope .accordion details[open] > summary::after { content: "−"; }
.ab-scope .accordion details[open] > summary { background: var(--ab-soleil, #FFD11A); }
.ab-scope .accordion .panel {
  padding: 16px 20px; font-size: 15px; line-height: 1.65;
  border-top: 2px solid var(--ab-encre, #1A1205); background: var(--ab-blanc, #FFFFFF);
}
.ab-scope .accordion .panel p:first-child { margin-top: 0; }
.ab-scope .accordion .panel p:last-child  { margin-bottom: 0; }

/* .ab-scope a { color: inherit } rendrait les liens des réponses invisibles :
   dans un panneau, un lien doit se voir. */
.ab-scope .accordion .panel a {
  color: var(--ab-terra, #E2552B); text-decoration: underline; font-weight: 600;
}

@media (max-width: 768px) {
  .ab-scope .accordion summary { padding: 14px 16px; font-size: 15px; }
  .ab-scope .accordion .panel  { padding: 14px 16px; }
}

/* Les en-têtes de catégorie (« Les cours », « Votre logement à Nice »…) sont
   des <section class="ab-scope ab-faq-section"> FERMÉES : les questions ne
   sont pas dedans, elles suivent. Le padding-bottom de 56 px du CSS de la
   page creusait donc un vide entre chaque titre et sa première question.
   .ab-scope.ab-faq-section (0-2-0) l'emporte sur .ab-faq-section (0-1-0) du
   <style> embarqué, qui est pourtant chargé après — c'est la spécificité qui
   tranche, pas l'ordre. */
.ab-scope.ab-faq-section { padding-bottom: 18px; }

/* ══ QUIZ D'ORIENTATION (bloc alphab/quiz-cours, 2026-09-10) ══════════════
   Refonte du GPS des cours d'après le brief du 7 septembre. Le langage
   visuel ne change pas — mêmes tokens, mêmes cartes à ombre portée que le
   reste du site : le quiz doit ressembler au site, pas à un module rapporté.

   Deux différences avec l'ancien quiz : la barre de progression devient des
   SEGMENTS (leur nombre s'adapte au parcours réel, 3 ou 4 questions), et le
   résultat affiche DEUX cours au lieu d'un — le conseil, puis « à regarder
   aussi », plus discret. */
.alphab-quiz {
  padding: 64px var(--ab-pad-x);
  background: var(--ab-creme);
  border-top: var(--ab-border);
  border-bottom: var(--ab-border);
}
/* Astra pose max-width:none sur les enfants d'alignfull : sans !important le
   cadre s'étale sur toute la largeur de l'écran. */
.alphab-quiz .alphab-quiz__wrap { max-width: 780px !important; margin: 0 auto !important; }

.alphab-quiz__titre {
  /* Le reset ci-dessus met toutes les marges à zéro : ce h2 avait la sienne
     du navigateur, il faut donc la déclarer. */
  margin: 0 0 4px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--ab-encre); text-align: center; text-wrap: balance;
}
.alphab-quiz__sous {
  text-align: center; color: var(--ab-encre); opacity: .72;
  font-weight: 600; font-size: .95rem; margin-top: 8px;
}
.alphab-quiz__cadre {
  margin-top: 26px; background: #fff;
  border: var(--ab-border); border-radius: 20px;
  box-shadow: none; padding: 24px 28px 30px;
}

.alphab-quiz__tete {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 30px;
}
.alphab-quiz__etape {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .14em; color: #6B6455;
}
.alphab-quiz__retour {
  background: none; border: none; cursor: pointer;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: .85rem; color: var(--ab-terra-deep);
  padding: 4px 2px; text-decoration: underline; text-underline-offset: 3px;
}

/* Les segments : un par question du parcours. Ils disent où on en est sans
   promettre un nombre d'étapes qu'on ne tiendrait pas. */
.alphab-quiz__segments {
  display: flex; gap: 6px; list-style: none;
  margin: 12px 0 0; padding: 0;
}
.alphab-quiz__segment {
  flex: 1 1 0; height: 10px;
  border: 2px solid var(--ab-encre); border-radius: 999px;
  background: var(--ab-creme);
  transition: background .3s ease;
}
.alphab-quiz__segment.est-fait    { background: var(--ab-soleil); }
.alphab-quiz__segment.est-courant { background: var(--ab-soleil-deep); }

.alphab-quiz__question {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; letter-spacing: -.01em;
  font-size: clamp(1.35rem, 2.8vw, 1.7rem); color: var(--ab-encre);
  margin: 22px 0 6px; outline: none; text-wrap: balance;
}
.alphab-quiz__question-sous {
  color: #5E5A50; font-size: .9rem; line-height: 1.5; margin: 0 0 14px;
}
.alphab-quiz__question + .alphab-quiz__tuiles,
.alphab-quiz__question + .alphab-quiz__jeu { margin-top: 16px; }

.alphab-quiz__tuiles { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 641px) {
  .alphab-quiz__tuiles { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
.alphab-quiz__tuile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  padding: 16px 18px 15px; cursor: pointer; text-align: left;
  background: #fff; border: var(--ab-border); border-radius: 14px;
  box-shadow: none;
  color: var(--ab-encre); transition: var(--ab-trans);
}
/* Survol, clavier, toucher : la tuile passe en BLEU MER (audit de Fabrice,
   2026-12-01 : « enlever le fond jaune des boutons » ; il proposait le noir,
   Emeline a choisi le bleu mer parmi noir / bleu mer / terracotta / bleu
   léger). Titre blanc (9:1), description crème (8,5:1). C'est la couleur du
   bouton secondaire et du bandeau du quiz à l'accueil ; le terracotta reste
   à l'action principale. Le bord suit le fond : Astra met un bord
   terracotta et un texte BLANC à tout <button> survolé (avant, le titre
   était blanc sur jaune : illisible). */
.alphab-quiz__tuile:hover,
.alphab-quiz__tuile:focus-visible {
  transform: none;
  box-shadow: none;
  background: var(--ab-mer);
  border-color: var(--ab-mer);
  color: #fff;
}
/* La réponse déjà donnée, quand on revient en arrière. Volontairement plus
   sobre que le survol : elle informe, elle n'appelle pas au clic. */
.alphab-quiz__tuile.est-choisie {
  background: var(--ab-creme);
  border-color: var(--ab-terra-deep);
  box-shadow: none;
  color: var(--ab-encre); /* sinon le titre blanc du survol, sur crème */
}
.alphab-quiz__tuile.est-choisie:hover .alphab-quiz__desc,
.alphab-quiz__tuile.est-choisie:focus-visible .alphab-quiz__desc { color: var(--ab-encre); }
.alphab-quiz__tuile.est-choisie .alphab-quiz__libelle::after {
  content: " ✓"; color: var(--ab-terra-deep);
}
.alphab-quiz__emoji { font-size: 28px; line-height: 1; }
.alphab-quiz__libelle {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: 1.02rem; line-height: 1.25;
}
.alphab-quiz__desc {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-weight: 500; font-size: .87rem; line-height: 1.45; color: #5E5A50;
}
.alphab-quiz__tuile:hover .alphab-quiz__desc,
.alphab-quiz__tuile:focus-visible .alphab-quiz__desc { color: var(--ab-creme); }

/* ── Le résultat ──────────────────────────────────────────────────────── */
.alphab-quiz__resultat { padding-top: 18px; }
.alphab-quiz__fiche { text-align: center; }
.alphab-quiz__badge {
  display: inline-block; background: var(--ab-encre); color: var(--ab-soleil);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin: 0;
}
.alphab-quiz__fiche-emoji { display: block; font-size: 48px; margin-top: 12px; line-height: 1; }
.alphab-quiz__fiche-nom {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: 1.45rem; color: var(--ab-encre);
  margin: 8px 0 0; outline: none;
}
.alphab-quiz__why {
  margin: 10px auto 0; max-width: 48ch;
  color: var(--ab-encre); font-size: .98rem; line-height: 1.55;
}
.alphab-quiz__facts {
  list-style: none; margin: 16px auto 0; padding: 0; max-width: 44ch;
  text-align: left; display: flex; flex-direction: column; gap: 7px;
}
.alphab-quiz__facts li {
  position: relative; padding-left: 22px;
  font-size: .92rem; line-height: 1.45; color: var(--ab-encre);
}
.alphab-quiz__facts li::before {
  content: "▪"; position: absolute; left: 4px; top: -1px;
  color: var(--ab-terra); font-size: 1rem;
}
/* Chaque fiche dit QUAND, même les cours ouverts toute l'année : sans cette
   ligne systématique, l'absence de mention se lit « disponible quand je
   veux », et la moitié de nos cours sont saisonniers. */
.alphab-quiz__quand {
  margin: 14px auto 0; max-width: 46ch;
  font-size: .9rem; line-height: 1.5; color: var(--ab-encre);
}
.alphab-quiz__quand-label {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: #6B6455; margin-right: 8px;
}
.alphab-quiz__note {
  margin: 12px auto 0; max-width: 46ch; text-align: left;
  font-size: .88rem; line-height: 1.5; color: var(--ab-encre);
  background: var(--ab-creme); border: 2px dashed var(--ab-encre);
  border-radius: 10px; padding: 10px 14px;
}
.alphab-quiz__notes-globales {
  margin: 18px auto 0; max-width: 52ch; text-align: left;
  font-size: .9rem; line-height: 1.55; color: var(--ab-encre);
  background: var(--ab-soleil); border: var(--ab-border);
  border-radius: 12px; padding: 12px 16px;
}
/* Les notes globales invitent à écrire à l'école : le lien doit se voir sur
   l'aplat jaune, et il porte l'action la plus convertissante du résultat. */
.alphab-quiz__lien-contact {
  color: var(--ab-encre); font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px;
  white-space: nowrap;
}
.alphab-quiz__actions {
  margin-top: 20px; display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center; gap: 10px 14px;
}
.alphab-quiz__cta, .alphab-quiz__cta2 {
  display: inline-block;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: .93rem;
  /* Astra souligne tous les liens du contenu : ces deux-là sont des boutons,
     le soulignement les faisait ressembler à des liens dans une pastille. */
  text-decoration: none !important;
  padding: 12px 22px; border: var(--ab-border); border-radius: 999px;
  box-shadow: none; transition: var(--ab-trans);
}
.alphab-quiz__cta  { background: var(--ab-terra-deep); color: #fff; }
.alphab-quiz__cta2 { background: #fff; color: var(--ab-encre); }
.alphab-quiz__cta:hover, .alphab-quiz__cta2:hover,
.alphab-quiz__cta:focus-visible, .alphab-quiz__cta2:focus-visible {
  transform: none; box-shadow: none;
}
.alphab-quiz__cta:hover  { color: #fff; }
.alphab-quiz__cta2:hover { color: var(--ab-encre); }

/* « À regarder aussi » : présent, mais visiblement second. */
.alphab-quiz__aussi {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: #6B6455;
  margin: 30px 0 0; padding-top: 22px;
  border-top: 2px dashed #D8CFB8; text-align: center;
}
.alphab-quiz__slot--second .alphab-quiz__badge,
.alphab-quiz__slot--second .alphab-quiz__facts { display: none; }
.alphab-quiz__slot--second .alphab-quiz__fiche-emoji { font-size: 34px; margin-top: 14px; }
.alphab-quiz__slot--second .alphab-quiz__fiche-nom { font-size: 1.15rem; }
.alphab-quiz__slot--second .alphab-quiz__why { font-size: .92rem; }
.alphab-quiz__slot--second .alphab-quiz__cta,
.alphab-quiz__slot--second .alphab-quiz__cta2 { font-size: .85rem; padding: 10px 18px; }

.alphab-quiz__pied {
  margin: 26px 0 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 8px 20px;
}
.alphab-quiz__refaire, .alphab-quiz__partage {
  background: none; border: none; cursor: pointer;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-weight: 600; font-size: .88rem; color: var(--ab-encre);
  text-decoration: underline; text-underline-offset: 3px; opacity: .75;
}
.alphab-quiz__refaire:hover, .alphab-quiz__partage:hover { opacity: 1; }

.alphab-quiz__noscript { margin-top: 16px; font-size: .95rem; line-height: 1.6; color: var(--ab-encre); }
.alphab-quiz__noscript ul { margin: 10px 0 0; padding-left: 20px; }
.alphab-quiz__noscript li { margin-bottom: 6px; }

/* Le focus doit se voir sur ce qu'on peut ATTEINDRE au clavier : les
   réponses, les liens, les boutons. Les titres de question et les noms de
   cours portent tabindex="-1" et reçoivent le focus par script, pour qu'un
   lecteur d'écran annonce la nouvelle question — mais dessiner un cadre
   autour d'un titre que personne n'a cliqué donne un quiz qui a l'air en
   erreur dès l'ouverture de la page. */
.alphab-quiz button:focus-visible,
.alphab-quiz a:focus-visible { outline: 3px solid var(--ab-terra); outline-offset: 3px; }
.alphab-quiz__question:focus,
.alphab-quiz__question:focus-visible,
.alphab-quiz__fiche-nom:focus,
.alphab-quiz__fiche-nom:focus-visible { outline: none; }

@media (prefers-reduced-motion: reduce) {
  .alphab-quiz__tuile, .alphab-quiz__cta, .alphab-quiz__cta2, .alphab-quiz__segment { transition: none; }
  .alphab-quiz__tuile:hover, .alphab-quiz__cta:hover, .alphab-quiz__cta2:hover { transform: none; }
}
@media (max-width: 680px) {
  .alphab-quiz { padding: 48px 22px; }
  .alphab-quiz__cadre { padding: 20px 16px 24px; }
  .alphab-quiz__question { margin: 18px 0 6px; font-size: 1.3rem; }
  .alphab-quiz__tuile { padding: 14px 15px 13px; }
  .alphab-quiz__emoji { font-size: 26px; }
  .alphab-quiz__facts, .alphab-quiz__note, .alphab-quiz__notes-globales { max-width: 100%; }
}

/* ═══════════════════════════════════════
   SANS OMBRE (2026-10-13) — les signaux qui reposaient sur l'ombre
═══════════════════════════════════════ */
.alphab-gps__cta:hover { background: var(--ab-terra-deep); }
.alphab-quiz__cta:hover, .alphab-quiz__cta:focus-visible { background: var(--ab-encre); color: #fff; }
.alphab-quiz__cta2:hover, .alphab-quiz__cta2:focus-visible { background: var(--ab-soleil); color: var(--ab-encre); }
.alphab-cours__card:hover, .alphab-blog__card:hover { border-color: var(--ab-terra); }
.alphab-tarifs__bouton:focus-visible, .alphab-quiz__cta:focus-visible,
.alphab-quiz__cta2:focus-visible, .alphab-gps__cta:focus-visible {
  outline: 3px solid var(--ab-mer); outline-offset: 3px;
}

/* ═══════════════════════════════════════
   PETITS TEXTES SUR TÉLÉPHONE (relecture, remarque n° 21, 2026-10-21)
   Sous 640 px, Astra ramène la taille de base à 14,592 px : tout ce qui est
   écrit en rem rétrécit d'autant, et 9 classes tombaient entre 9,9 et 12 px.
   Règle décidée : 13 px minimum pour une information (leçons, précisions,
   unités, mentions, en-têtes du tableau), 12 px pour les surtitres en
   capitales, les badges, les pastilles et les pays des témoignages.
   Valeurs en px, et non en rem, pour ne plus dépendre de la taille de base.
   Les classes des pages M6 (.ab-*) ont leur taille dans le CSS intégré à la
   page, qui vient APRÈS ce fichier : le « body » en tête de sélecteur donne
   la spécificité qui manque, sans toucher au contenu des pages.
   Ordinateur et tablette inchangés.
═══════════════════════════════════════ */
@media (max-width: 640px) {
  /* ── Informations : 13 px ── */
  .alphab-tarifs__tag { font-size: 13px; }                     /* 10,8 → 13 (« 20 leçons / semaine ») */
  .alphab-tarifs__precision { font-size: 13px; }               /* 11,67 → 13 */
  .alphab-tarifs__unite { font-size: 13px; }                   /* 11,67 → 13 (« / semaine ») */
  .alphab-tarifs__actuel { font-size: 13px; }                  /* 9,92 → 13 (« tarif actuel ») */
  .alphab-tarifs__tableau thead th { font-size: 13px; }        /* 10,51 → 13 (en-têtes du tableau) */
  .alphab-tarifs__tableau tbody th { font-size: 13px; }        /* 12,84 → 13, et 11,97 → 13 sous 380 px (noms des hébergements) */
  .alphab-tarifs__mention { font-size: 13px; }                 /* 11,97 → 13 (« Non réservable en ligne ») */
  .alphab-tarifs__effectif { font-size: 13px; }                /* 12,26 → 13 (« 7 à 9 étudiants en moyenne ») */
  body .ab-scope .ab-ccard .tag,
  body .ab-scope .ab-cgrid--4 .ab-ccard .tag { font-size: 13px; } /* 10,5 → 13 (cartes de Cours généraux) */
  body .ab-scope .ab-session span { font-size: 13px; }         /* 11,97 → 13 (« 2027 · 4 semaines », DELF) */
  body .ab-act-prog__tag,
  body .ab-act-velo__tag { font-size: 13px; }                  /* 10,51 → 13 (Activités) */
  body .ab-fam-carte .ab-fam-type { font-size: 13px; }         /* 11,38 → 13 (« Chambre simple ») */
  body .ab-heb-resid .ab-heb-card p { font-size: 13px; }       /* 11,97 → 13 (texte des résidences) */

  /* ── Surtitres, badges, pastilles, pays : 12 px ── */
  .alphab-eyebrow,
  .alphab-tarifs__eyebrow,
  .alphab-quiz__etape { font-size: 12px; }                     /* 11,38 → 12 */
  body .ab-scope .ab-ccard .ab-badge { font-size: 12px; }      /* 11,5 → 12 (« Le plus choisi ») */
  .alphab-pill--blog { font-size: 12px; }                      /* 10,94 → 12 (les étiquettes .alphab-pill sont à 13,5 px fixes depuis le 01/12) */
  body .ab-heb-tag,
  body .ab-heb-resid .ab-heb-card p.ab-heb-tag { font-size: 12px; } /* 11,97 → 12 (« Résidence 2 étoiles ») */
  body .ab-scope .ab-bulle { font-size: 12px; }                /* 11,97 → 12 (bulles de l'accueil) */
  .alphab-temoignage__meta { font-size: 12px; }                /* 11,67 → 12 (pays, « Séjour 2025 ») */

  /* ── Ce que la taille ferait sans ces deux ajustements (mesuré à 390 px) ──
     En-têtes du tableau : en capitales à 13 px, « Jusqu'au 31 octobre 2026 »
     passait de 3 à 5 lignes (en-tête de 70 à 116 px). En minuscules, sans
     espacement des lettres, il reste sur 3 lignes (81 px). */
  .alphab-tarifs__tableau thead th,
  .alphab-tarifs__actuel { text-transform: none; letter-spacing: 0; }
  /* Surtitres : à 12 px avec l'espacement de .08em, « Nos accréditations · … »
     (390 px) et « Nice · École de français depuis 1993 » (360 px) passaient
     sur 2 lignes. À .05em, ils restent sur une. */
  .alphab-eyebrow,
  .alphab-tarifs__eyebrow { letter-spacing: .05em; padding-left: 14px; padding-right: 14px; }

  /* ── Trouvés sur les 22 autres pages (mesure de toutes les pages à 390 px) ── */
  body .wpcf7 label { font-size: 13px; }                       /* 11,38 → 13 (libellés du formulaire, Contact) */
  body .ab-accred-other__card-geo { font-size: 13px; }         /* 10,94 → 13 (« 38 pays · 12–30 ans », Accréditations) */
  body .ab-accred-main__card-badge { font-size: 12px; }        /* 10,94 → 12 (« Fondée en 1991 ») */
  body .ab-peda-eng__card-label,
  body .ab-peda-eng__eyebrow,
  body .ab-peda-nice__eyebrow { font-size: 12px; }             /* 10,21 et 10,94 → 12 (Pédagogie) */
  body .ab-eyebrow-mer { font-size: 12px; }                    /* 11,38 → 12 (Devenir famille d'accueil) */
  body .ab-act-nice__num { font-size: 12px; }                  /* 11,67 → 12 (« 01 » à « 10 », Côte d'Azur) */
}
