/* ============================================================
   ALPHA.B — DESIGN SYSTEM « SOLEIL MÉDITERRANÉEN »
   Feuille de style centrale — artefact de handoff WordPress
   ------------------------------------------------------------
   Usage : 1 seule feuille chargée sur tout le site WordPress.
   - Blocs M7 (PHP)      → utilisent .block-* + composants ci-dessous
   - Pages Gutenberg     → utilisent les éléments de contenu (.prose) + composants
   - Header / Footer (WP) → .site-header / .site-footer
   Police : Space Grotesk (display) + Hanken Grotesk (texte).
   ============================================================ */

/* ----- 1. TOKENS ----------------------------------------- */
:root{
  /* Couleurs de marque */
  --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;

  /* Surfaces & neutres dérivés */
  --ab-blanc:#FFFFFF;
  --ab-creme-2:#FBEECD;          /* crème un ton plus profond (sections alternées) */
  --ab-encre-70:#39301f;         /* texte courant sur fond clair */
  --ab-encre-50:#5a5040;         /* texte secondaire / légendes */
  --ab-encre-30:#9a8e74;         /* texte tertiaire / placeholder */
  --ab-line:var(--ab-encre);     /* couleur de trait par défaut */
  --ab-disabled:#D8CFB8;         /* état désactivé */

  /* Voiles sur fonds sombres */
  --ab-on-dark-06:rgba(255,255,255,.06);
  --ab-on-dark-18:rgba(255,255,255,.18);
  --ab-on-dark-72:rgba(255,255,255,.72);

  /* Typographie */
  --ab-disp:"Space Grotesk",system-ui,sans-serif;
  --ab-sans:"Hanken Grotesk",system-ui,sans-serif;

  /* Échelle typo (display) */
  --ab-fs-display:clamp(48px,6.4vw,98px);
  --ab-fs-h1:clamp(40px,5.4vw,82px);
  --ab-fs-h2:clamp(34px,4.2vw,58px);
  --ab-fs-h3:clamp(24px,2.4vw,30px);
  --ab-fs-lead:20px;
  --ab-fs-body:17px;
  --ab-fs-sm:14.5px;
  --ab-fs-xs:13px;

  /* Rayons */
  --ab-rad:26px;       /* cartes, frames photo */
  --ab-rad-md:22px;    /* cartes stats */
  --ab-rad-sm:16px;    /* champs, petits blocs */
  --ab-rad-pill:50px;  /* boutons, pills, eyebrows */

  /* Traits néo-brutalistes */
  --ab-bord:3px solid var(--ab-encre);
  --ab-bord-2:2px solid var(--ab-encre);
  --ab-bord-25:2.5px solid var(--ab-encre);

  /* SANS OMBRE depuis le 2026-10-13 (Emeline) : les jetons restent, à
     « none », pour que tout ce qui s'en sert perde son ombre. */
  --ab-shadow:none;
  --ab-shadow-sm:none;
  --ab-shadow-xs:none;
  --ab-shadow-terra:none;
  --ab-shadow-mer:none;

  /* Espacements */
  --ab-s1:8px;  --ab-s2:16px; --ab-s3:24px; --ab-s4:32px;
  --ab-s5:40px; --ab-s6:56px; --ab-s7:80px; --ab-s8:100px;

  /* Layout */
  --ab-wrap:1300px;
  --ab-gutter:40px;

  /* Transitions */
  --ab-ease:.2s cubic-bezier(.22,.61,.36,1);
}

/* ----- 2. RESET LÉGER ------------------------------------ */
.ab-scope *{box-sizing:border-box;}
.ab-scope{
  font-family:var(--ab-sans);
  color:var(--ab-encre);
  background:var(--ab-creme);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
.ab-scope img{display:block;max-width:100%;}
.ab-scope a{color:inherit;text-decoration:none;}

/* ----- 3. LAYOUT ----------------------------------------- */
.wrap{max-width:var(--ab-wrap);margin:0 auto;padding:0 var(--ab-gutter);}
.section{padding:var(--ab-s8) 0;}
.section--tight{padding:var(--ab-s7) 0;}

.sec-head{margin-bottom:var(--ab-s6);max-width:60ch;}
.sec-head h2{font-family:var(--ab-disp);font-weight:700;letter-spacing:-.02em;line-height:1;font-size:var(--ab-fs-h2);}
.sec-head p{font-size:18px;font-weight:500;margin-top:18px;color:var(--ab-encre-50);}
.sec-head--split{display:flex;justify-content:space-between;align-items:flex-end;max-width:none;gap:24px;flex-wrap:wrap;}

/* ----- 4. TYPOGRAPHIE ------------------------------------ */
.disp{font-family:var(--ab-disp);}
h1.ab,h2.ab,h3.ab,.h1,.h2,.h3{
  font-family:var(--ab-disp);font-weight:700;letter-spacing:-.02em;line-height:1;margin:0;
}
.h1{font-size:var(--ab-fs-h1);}
.h2{font-size:var(--ab-fs-h2);}
.h3{font-size:var(--ab-fs-h3);}
.display{font-family:var(--ab-disp);font-weight:700;letter-spacing:-.02em;line-height:1;font-size:var(--ab-fs-display);}

/* Soulignage « brossé » sous un mot fort */
.u-brush{position:relative;white-space:nowrap;}
.u-brush svg{position:absolute;left:0;bottom:-14px;width:100%;}

/* ----- 5. EYEBROW / BADGES / PILLS / STICKERS ------------ */
.eyebrow{
  display:inline-block;white-space:nowrap;
  background:var(--ab-encre);color:var(--ab-soleil);
  font-family:var(--ab-disp);font-weight:600;font-size:var(--ab-fs-xs);
  letter-spacing:.08em;text-transform:uppercase;
  padding:7px 15px;border-radius:var(--ab-rad-pill);
}
.eyebrow--ghost{background:var(--ab-blanc);color:var(--ab-terra);}
.eyebrow--terra{background:var(--ab-terra);color:#fff;}

.pill{
  display:inline-flex;align-items:center;gap:7px;
  background:var(--ab-blanc);border:var(--ab-bord-2);border-radius:var(--ab-rad-pill);
  padding:8px 16px;font-family:var(--ab-disp);font-weight:600;font-size:13.5px;
}
.pillrow{display:flex;flex-wrap:wrap;gap:10px;}

.tag{
  display:inline-flex;align-items:center;
  font-family:var(--ab-disp);font-weight:600;font-size:var(--ab-fs-xs);
  border:var(--ab-bord-2);border-color:currentColor;border-radius:var(--ab-rad-pill);
  padding:5px 12px;
}

.sticker{
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  background:var(--ab-terra);color:#fff;font-family:var(--ab-disp);font-weight:700;
  border:var(--ab-bord);border-radius:50%;
}
.sticker b{font-size:32px;line-height:.9;}
.sticker span{font-size:10px;letter-spacing:.06em;margin-top:3px;}
.sticker--mer{background:var(--ab-mer);color:#fff;}
.sticker--creme{background:var(--ab-creme);color:var(--ab-encre);}

/* ----- 6. BOUTONS ---------------------------------------- */
.btn{
  display:inline-flex;align-items:center;gap:9px;
  font-family:var(--ab-disp);font-weight:600;font-size:15px;
  padding:15px 26px;border-radius:var(--ab-rad-pill);cursor:pointer;
  border:var(--ab-bord-25);background:none;
  transition:transform var(--ab-ease),box-shadow var(--ab-ease),background var(--ab-ease),color var(--ab-ease);
}
.btn--sm{padding:11px 20px;font-size:14px;}
.btn--lg{padding:18px 32px;font-size:16px;}

.btn-dark{background:var(--ab-encre);color:var(--ab-soleil);box-shadow:none;}
.btn-dark:hover{background:var(--ab-terra-deep);color:#fff;}
.btn-terra{background:var(--ab-terra);color:#fff;box-shadow:none;}
.btn-terra:hover{background:var(--ab-terra-deep);}
.btn-light{background:var(--ab-creme);color:var(--ab-encre);box-shadow:none;}
.btn-light:hover{background:var(--ab-encre);color:var(--ab-soleil);}
.btn-line{background:transparent;color:var(--ab-encre);}
.btn-line:hover{background:var(--ab-encre);color:var(--ab-soleil);}
.btn:disabled,.btn[aria-disabled="true"]{
  background:var(--ab-disabled);color:var(--ab-encre-30);border-color:var(--ab-encre-30);
  box-shadow:none;cursor:not-allowed;transform:none;
}
/* Boutons rendus en <a> dans un contexte .ab-scope : la couleur de variante
   doit gagner sur .ab-scope a{color:inherit} (sinon texte invisible). */
.ab-scope .btn-dark{color:var(--ab-soleil);}
.ab-scope .btn-terra{color:#fff;}
.ab-scope .btn-light,.ab-scope .btn-line{color:var(--ab-encre);}
.ab-scope .btn-line:hover{color:var(--ab-soleil);}
/* Titres de cartes : hériter la couleur de la carte (blanc sur terra/mer,
   encre sur soleil/blanc) — sinon Astra force une couleur de titre sombre
   qui casse le contraste sur les cartes foncées. */
.ab-scope .card h3,.ab-scope .card .h3,.ab-scope .ccard h3{color:inherit;}

/* ----- 7. CARTES & SURFACES ------------------------------ */
.card{
  border:var(--ab-bord);border-radius:var(--ab-rad);
  background:var(--ab-blanc);box-shadow:none;
  padding:34px;
}
.card--hover{transition:transform var(--ab-ease),box-shadow var(--ab-ease);cursor:pointer;}
.card--hover:hover{border-color:var(--ab-terra);}
.card--soleil{background:var(--ab-soleil);}
.card--terra{background:var(--ab-terra);color:#fff;}
.card--mer{background:var(--ab-mer);color:#fff;}

/* Frame photo signature (cadre + rotation ; plus d'ombre depuis le 2026-10-13) */
.frame{border:var(--ab-bord);border-radius:var(--ab-rad);overflow:hidden;}
.frame img{width:100%;display:block;object-fit:cover;}
.frame--tilt{transform:rotate(2.5deg);box-shadow:none;}
.frame--tilt-left{transform:rotate(-2deg);box-shadow:none;}

/* ----- 8. BLOCS M7 (PHP) --------------------------------- */
/* Chaque .block-* correspond à un bloc PHP réutilisable de la méthode M7. */

/* 8.1 HERO */
.block-hero{background:var(--ab-soleil);padding:54px 0 90px;position:relative;overflow:hidden;border-bottom:var(--ab-bord);}
.block-hero .grid{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center;position:relative;}
.block-hero h1{font-family:var(--ab-disp);font-weight:700;letter-spacing:-.02em;line-height:1;font-size:var(--ab-fs-display);margin-top:22px;}
.block-hero .lead{font-size:var(--ab-fs-lead);font-weight:500;max-width:30em;margin:26px 0 32px;}
.block-hero .lead strong{color:var(--ab-terra);}
.hero-cta{display:flex;gap:16px;flex-wrap:wrap;}
.hero-photo{position:relative;}
.hero-photo .frame img{height:520px;}
.hero-photo .sticker{position:absolute;z-index:5;}
.hero-photo .sticker.s1{width:130px;height:130px;left:-40px;top:-30px;transform:rotate(-12deg);}
.hero-photo .sticker.s1 b{font-size:38px;}
.hero-photo .sticker.s2{width:108px;height:108px;right:-26px;bottom:30px;transform:rotate(10deg);}
.hero-photo .sticker.s2 b{font-size:30px;}
.hero-photo .sticker.s2 span{font-size:9.5px;}

/* 8.2 MARQUEE (bandeau labels qualité) */
.block-marquee{background:var(--ab-encre);color:var(--ab-soleil);overflow:hidden;border-bottom:var(--ab-bord);}
.mtrack{display:flex;gap:46px;white-space:nowrap;padding:15px 0;font-family:var(--ab-disp);font-weight:600;font-size:16px;letter-spacing:.04em;animation:ab-scroll 26s linear infinite;}
.mtrack span{display:inline-flex;align-items:center;gap:46px;}
.mtrack .dot{color:var(--ab-terra);}
@keyframes ab-scroll{to{transform:translateX(-50%);}}
@media (prefers-reduced-motion:reduce){.mtrack{animation:none;}}

/* 8.3 SECTION ÉCOLE (texte + photo + pills) */
.block-ecole .grid{display:grid;grid-template-columns:1fr 1.1fr;gap:var(--ab-s6);align-items:center;}
.block-ecole h2{font-family:var(--ab-disp);font-weight:700;letter-spacing:-.02em;line-height:1;font-size:var(--ab-fs-h2);margin:18px 0 24px;}
.block-ecole p{font-size:var(--ab-fs-body);font-weight:500;margin-bottom:16px;max-width:36em;color:var(--ab-encre-70);}
.block-ecole p strong{color:var(--ab-terra);}
.block-ecole .pillrow{margin:26px 0 30px;}

/* 8.4 STATS */
.block-stats{background:var(--ab-mer);color:#fff;border-top:var(--ab-bord);border-bottom:var(--ab-bord);}
.block-stats .row{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.stat{background:var(--ab-on-dark-06);border:2px solid var(--ab-on-dark-18);border-radius:var(--ab-rad-md);padding:32px 26px;}
.stat b{font-family:var(--ab-disp);font-weight:700;font-size:clamp(42px,4.4vw,62px);display:block;color:var(--ab-soleil);line-height:.9;}
.stat span{display:block;margin-top:12px;font-size:14.5px;font-weight:500;opacity:.9;}

/* 8.5 CARTES COURS */
.block-cours{background:var(--ab-creme);}
.cgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;}
.ccard{border:var(--ab-bord);border-radius:var(--ab-rad);padding:34px;position:relative;overflow:hidden;box-shadow:none;transition:transform var(--ab-ease);cursor:pointer;}
.ccard:hover{border-color:var(--ab-terra);}
.ccard.c1{background:var(--ab-soleil);}
.ccard.c2{background:var(--ab-terra);color:#fff;}
.ccard.c3{background:var(--ab-blanc);}
.ccard.c4{background:var(--ab-mer);color:#fff;}
.ccard .ic{font-size:34px;}
.ccard h3{font-family:var(--ab-disp);font-weight:700;letter-spacing:-.02em;line-height:1;font-size:27px;margin:18px 0 12px;}
.ccard p{font-size:15px;font-weight:500;opacity:.95;max-width:34ch;}
.ccard .tag{position:absolute;top:24px;right:26px;}
.ccard .lnk{display:inline-flex;margin-top:20px;font-family:var(--ab-disp);font-weight:600;font-size:14px;gap:7px;}

/* 8.6 TÉMOIGNAGES */
.block-temoins{background:var(--ab-terra);color:#fff;border-top:var(--ab-bord);border-bottom:var(--ab-bord);}
.block-temoins .sec-head h2{color:#fff;}
.tgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.tcard{background:var(--ab-creme);color:var(--ab-encre);border:var(--ab-bord);border-radius:24px;padding:30px;display:flex;flex-direction:column;}
.tcard .stars{color:var(--ab-terra);letter-spacing:3px;font-size:18px;margin-bottom:14px;}
.tcard p{font-size:16px;font-weight:500;flex:1;}
.tcard .who{display:flex;align-items:center;gap:13px;margin-top:22px;}
.tcard .who img,.tcard .who .ava{width:50px;height:50px;border-radius:50%;object-fit:cover;border:var(--ab-bord-2);}
.tcard .who .ava{display:flex;align-items:center;justify-content:center;font-family:var(--ab-disp);font-weight:700;color:#fff;}
.tcard .who b{font-family:var(--ab-disp);font-size:15px;display:block;}
.tcard .who span{font-size:12.5px;color:var(--ab-encre-50);}

/* 8.7 BLOG */
.block-blog{background:var(--ab-creme);}
.bgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
.post{background:var(--ab-blanc);border:var(--ab-bord);border-radius:24px;overflow:hidden;box-shadow:none;transition:transform var(--ab-ease),box-shadow var(--ab-ease);cursor:pointer;}
.post:hover{border-color:var(--ab-terra);}
.post .ph{height:200px;overflow:hidden;border-bottom:var(--ab-bord);}
.post .ph img{width:100%;height:100%;object-fit:cover;}
.post .body{padding:24px;}
.post .meta{display:inline-block;background:var(--ab-soleil);border:var(--ab-bord-2);border-radius:var(--ab-rad-pill);padding:4px 12px;font-family:var(--ab-disp);font-weight:600;font-size:12px;}
.post h3{font-family:var(--ab-disp);font-weight:700;letter-spacing:-.02em;font-size:21px;margin:14px 0 8px;line-height:1.08;}
.post p{font-size:14px;font-weight:500;color:var(--ab-encre-50);}

/* 8.8 CTA */
.block-cta{background:var(--ab-soleil);border-top:var(--ab-bord);text-align:center;padding:110px 0;position:relative;overflow:hidden;}
.block-cta h2{font-family:var(--ab-disp);font-weight:700;letter-spacing:-.02em;line-height:1;font-size:var(--ab-fs-h1);}
.block-cta p{font-size:19px;font-weight:500;margin:22px auto 34px;max-width:42ch;}
.block-cta .hero-cta{justify-content:center;}

/* ----- 9. HEADER / FOOTER (WordPress natif) -------------- */
.site-header{position:sticky;top:0;z-index:60;background:var(--ab-soleil);border-bottom:var(--ab-bord);}
/* Liens d'ancre (« Quel cours est fait pour vous ? → », « plus bas »…), 2026-11-20 :
   la cible passait SOUS l'en-tête collant. Le défilement d'Astra (« scroll to id ») ne
   retire que la hauteur de l'en-tête collant d'Astra Pro ; le nôtre est en CSS (ligne
   au-dessus), Astra comptait donc 0 px. Il est coupé dans functions.php
   (alphab_child_ancres_navigateur) : le navigateur défile seul et s'arrête à
   scroll-margin-top, ici la hauteur exacte de l'en-tête (83 px, 86 px dès 1240 px).
   section#quel-cours bat le « #quel-cours{scroll-margin-top:90px} » des pages 257 et
   1193, qui laissait voir 4 à 7 px de la section précédente. Les autres règles des
   pages (#lander à 90 px, titres du blog à 120 px) restent : ce sont des titres. */
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}
[id],section#quel-cours{scroll-margin-top:83px;}
@media (min-width:1240px){[id],section#quel-cours{scroll-margin-top:86px;}}
.site-header .bar{display:flex;align-items:center;justify-content:space-between;height:74px;}
.logo{font-family:var(--ab-disp);font-weight:700;font-size:28px;letter-spacing:-.04em;}
.logo .t{color:var(--ab-terra);}
.nav-main{display:flex;gap:26px;font-family:var(--ab-disp);font-weight:500;font-size:15px;}
.nav-main a{padding:5px 2px;border-bottom:2.5px solid transparent;transition:border-color var(--ab-ease);}
.nav-main a:hover,.nav-main a[aria-current]{border-color:var(--ab-terra);}
.nav-right{display:flex;align-items:center;gap:16px;}
.langs{display:flex;gap:3px;font-family:var(--ab-disp);font-weight:600;font-size:13px;}
.langs a{padding:5px 8px;border-radius:var(--ab-rad-pill);}
.langs a.on{background:var(--ab-encre);color:var(--ab-soleil);}
.burger{display:none;background:var(--ab-encre);color:var(--ab-soleil);border:var(--ab-bord);width:46px;height:46px;border-radius:14px;align-items:center;justify-content:center;cursor:pointer;}

.site-footer{background:var(--ab-encre);color:var(--ab-creme);padding:70px 0 34px;}
.site-footer .fgrid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;padding-bottom:44px;border-bottom:1px solid rgba(255,255,255,.16);}
.site-footer .logo{color:var(--ab-soleil);margin-bottom:16px;}
.site-footer .logo .t{color:var(--ab-terra);}
.site-footer .about{opacity:.72;font-size:14.5px;font-weight:500;max-width:30ch;}
.site-footer h4{font-family:var(--ab-disp);font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--ab-soleil);margin-bottom:15px;}
.site-footer ul{list-style:none;display:flex;flex-direction:column;gap:10px;font-size:14.5px;font-weight:500;margin:0;padding:0;}
.site-footer ul a{opacity:.82;}
.site-footer ul a:hover{opacity:1;color:var(--ab-soleil);}
.site-footer .fbottom{display:flex;justify-content:space-between;padding-top:22px;font-size:13px;opacity:.65;flex-wrap:wrap;gap:10px;}

/* ----- 10. CONTENU GUTENBERG (.prose) -------------------- */
/* Styles appliqués au contenu éditorial des pages 100% Gutenberg. */
.prose{font-size:var(--ab-fs-body);font-weight:500;color:var(--ab-encre-70);max-width:70ch;}
.prose>*+*{margin-top:1.1em;}
.prose h2{font-family:var(--ab-disp);font-weight:700;letter-spacing:-.02em;line-height:1.04;font-size:clamp(28px,3vw,40px);color:var(--ab-encre);margin-top:1.6em;}
.prose h3{font-family:var(--ab-disp);font-weight:700;letter-spacing:-.02em;line-height:1.08;font-size:clamp(22px,2.2vw,28px);color:var(--ab-encre);margin-top:1.4em;}
.prose p{margin:0;}
.prose a{color:var(--ab-terra);font-weight:600;border-bottom:2px solid var(--ab-soleil);}
.prose a:hover{background:var(--ab-soleil);}
.prose strong{color:var(--ab-encre);font-weight:700;}
.prose ul,.prose ol{margin:0;padding-left:0;list-style:none;display:flex;flex-direction:column;gap:10px;}
.prose ul li{position:relative;padding-left:30px;}
.prose ul li::before{content:"";position:absolute;left:4px;top:.55em;width:11px;height:11px;background:var(--ab-terra);border:2px solid var(--ab-encre);border-radius:50%;}
.prose ol{counter-reset:ab;}
.prose ol li{position:relative;padding-left:42px;counter-increment:ab;}
.prose ol li::before{content:counter(ab);position:absolute;left:0;top:-2px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--ab-soleil);border:2px solid var(--ab-encre);border-radius:50%;font-family:var(--ab-disp);font-weight:700;font-size:13px;}

/* Citation pull-quote */
.prose blockquote,.pullquote{
  border:var(--ab-bord);border-left-width:8px;border-radius:var(--ab-rad-sm);
  background:var(--ab-blanc);padding:26px 30px;margin:1.6em 0;
  font-family:var(--ab-disp);font-weight:500;font-size:21px;line-height:1.35;color:var(--ab-encre);
}
.prose blockquote cite,.pullquote cite{display:block;margin-top:14px;font-family:var(--ab-sans);font-style:normal;font-weight:600;font-size:14px;color:var(--ab-encre-50);}

/* Encadré / note */
.callout{border:var(--ab-bord);border-radius:var(--ab-rad-sm);background:var(--ab-soleil);padding:24px 28px;box-shadow:none;}
.callout--mer{background:var(--ab-mer);color:#fff;}
.callout--mer strong{color:var(--ab-soleil);}

/* Tableau */
.ab-table{width:100%;border-collapse:separate;border-spacing:0;border:var(--ab-bord);border-radius:var(--ab-rad-sm);overflow:hidden;font-size:15px;}
.ab-table th{background:var(--ab-encre);color:var(--ab-soleil);font-family:var(--ab-disp);font-weight:600;text-align:left;padding:14px 18px;font-size:13px;letter-spacing:.04em;text-transform:uppercase;}
.ab-table td{padding:14px 18px;border-top:2px solid var(--ab-encre);font-weight:500;}
.ab-table tbody tr:nth-child(even){background:var(--ab-creme-2);}

/* ----- 11. ACCORDÉON (FAQ) ------------------------------- */
.accordion{display:flex;flex-direction:column;gap:14px;}
.accordion details{border:var(--ab-bord);border-radius:var(--ab-rad-sm);background:var(--ab-blanc);overflow:hidden;box-shadow:none;}
.accordion summary{list-style:none;cursor:pointer;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px;font-family:var(--ab-disp);font-weight:600;font-size:18px;}
.accordion summary::-webkit-details-marker{display:none;}
.accordion summary::after{content:"+";font-size:26px;line-height:1;transition:transform var(--ab-ease);}
.accordion details[open] summary::after{transform:rotate(45deg);}
.accordion details[open] summary{background:var(--ab-soleil);border-bottom:var(--ab-bord);}
.accordion .panel{padding:20px 24px;font-size:15.5px;font-weight:500;color:var(--ab-encre-70);}

/* ----- 12. FORMULAIRES ----------------------------------- */
.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;}
.field label{font-family:var(--ab-disp);font-weight:600;font-size:14px;}
.input,.textarea,.select{
  font-family:var(--ab-sans);font-size:15px;font-weight:500;color:var(--ab-encre);
  background:var(--ab-blanc);border:var(--ab-bord-25);border-radius:var(--ab-rad-sm);
  padding:14px 16px;width:100%;transition:box-shadow var(--ab-ease),border-color var(--ab-ease);
}
.input::placeholder,.textarea::placeholder{color:var(--ab-encre-30);}
.input:focus,.textarea:focus,.select:focus{outline:3px solid var(--ab-mer);outline-offset:2px;}
.textarea{min-height:130px;resize:vertical;}
.select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2 4l5 6 5-6' stroke='%231A1205' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;padding-right:42px;}
.checkbox{display:flex;align-items:flex-start;gap:12px;font-weight:500;font-size:14.5px;}
.checkbox input{width:22px;height:22px;accent-color:var(--ab-terra);margin-top:1px;flex-shrink:0;}

/* ----- 13. UTILITAIRES ----------------------------------- */
.mt0{margin-top:0;} .mt2{margin-top:16px;} .mt3{margin-top:24px;} .mt4{margin-top:32px;}
.text-center{text-align:center;}
.bg-creme{background:var(--ab-creme);} .bg-creme2{background:var(--ab-creme-2);}
.bg-soleil{background:var(--ab-soleil);} .bg-mer{background:var(--ab-mer);color:#fff;}
.bg-terra{background:var(--ab-terra);color:#fff;} .bg-encre{background:var(--ab-encre);color:var(--ab-creme);}

/* ----- 14. RESPONSIVE ------------------------------------ */
@media(max-width:980px){
  :root{--ab-gutter:24px;}
  .block-hero .grid,.block-ecole .grid,.cgrid,.tgrid,.bgrid,.site-footer .fgrid{grid-template-columns:1fr;}
  .block-stats .row{grid-template-columns:repeat(2,1fr);}
  .nav-main,.langs{display:none;}
  .burger{display:flex;}
  .section{padding:var(--ab-s7) 0;}
}

/* ----- 15. PIED DE PAGE — Footer Builder d'Astra ---------- */
/* La section 9 plus haut vise `.fgrid`, la structure du design system livré.
   Le Footer Builder d'Astra produit un balisage différent (widgets de blocs
   dans `.ast-builder-grid-row`). On y applique le même langage visuel, sans
   toucher au contenu : celui-ci reste éditable dans Apparence > Widgets.
   Maquette A (Emeline, 2026-10-12) : fond bleu mer, titres en soleil SANS
   majuscules forcées. Les deux fonds (bleu mer, puis bleu mer foncé pour la
   ligne du bas) se règlent dans Personnaliser > Pied de page, pas ici. */
/* La section 9 donne 70 px de marge au <footer> lui-même : une bande d'une
   autre couleur au-dessus des rangées. Ce sont les rangées qui portent l'espace. */
.site-footer{border-top:var(--ab-bord);padding:0;}
.site-primary-footer-wrap,
.site-below-footer-wrap{border-top:0 !important;}
.site-primary-footer-wrap{padding-top:72px;padding-bottom:56px;}
.site-footer .widget .wp-block-heading{
  font-family:var(--ab-disp);font-size:18px;font-weight:700;letter-spacing:-.01em;
  text-transform:none;color:var(--ab-soleil);margin:0 0 18px;
}
/* Le nom de l'école en tête de la 1re colonne, « .b » en soleil. */
.site-footer-primary-section-1 .widget .wp-block-heading{
  font-size:34px;letter-spacing:-.03em;line-height:1;color:var(--ab-creme);margin-bottom:20px;
}
.site-footer .widget .wp-block-heading .ab-t{color:var(--ab-soleil);}
.site-footer .widget p{color:var(--ab-creme);opacity:.86;font-size:15px;line-height:1.6;font-weight:500;}
.site-footer .widget p + p{margin-top:16px;}
.site-footer .wp-block-list{
  list-style:none;margin:0;padding:0;
  display:flex;flex-direction:column;gap:12px;
  font-size:15px;font-weight:500;
}
.site-footer .wp-block-list li::before{content:none;}
/* Astra colore les liens avec sa couleur d'accent : trop sombre sur le bleu. */
.site-footer a{color:var(--ab-creme);opacity:1;text-decoration:none;}
.site-footer a:hover,.site-footer a:focus{color:var(--ab-soleil);opacity:1;}
.site-footer .ast-builder-social-element{color:var(--ab-creme);}
.site-footer .ast-builder-social-element:hover{color:var(--ab-soleil);}
/* Ligne du bas : © à gauche, liens à droite (Personnaliser > Pied de page >
   Mentions de bas de page). Les points entre les liens sont dessinés ici :
   dans le champ, il suffit d'ajouter ou de retirer un lien. */
.site-below-footer-wrap{padding-top:22px;padding-bottom:22px;}
.ast-footer-copyright{width:100%;font-size:13.5px;color:var(--ab-creme);opacity:1;}
.ast-footer-copyright p{
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px 32px;
  margin:0;line-height:1.5;text-align:left;
}
.ab-fbottom__liens{display:flex;flex-wrap:wrap;row-gap:4px;}
.ab-fbottom__liens > * + *::before{content:"·";margin:0 8px;opacity:.6;}
.ast-footer-copyright button.cmplz-manage-consent{
  background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;
}
.ast-footer-copyright button.cmplz-manage-consent:hover,
.ast-footer-copyright button.cmplz-manage-consent:focus{color:var(--ab-soleil);}
/* 20 px de marge dès que l'écran est plus étroit que le contenu (1 200 px +
   2 × 20) : le texte collait au bord gauche, 0 px, de 922 à 1 240 px et au
   téléphone (mesuré le 2026-10-12 et le 2026-10-14). L'en-tête a déjà les siens. */
@media(max-width:1240px){
  .site-footer .ast-builder-grid-row-container-inner{padding-left:20px;padding-right:20px;}
}
/* Au téléphone : deux colonnes de liens, la 1re et la 4e sur toute la largeur. */
@media(max-width:921px){
  .site-primary-footer-wrap{padding-top:52px;padding-bottom:40px;}
  .site-primary-footer-wrap .ast-builder-footer-grid-columns{
    display:grid !important;grid-template-columns:1fr 1fr !important;gap:36px 20px !important;
  }
  .site-primary-footer-wrap .site-footer-section{margin:0 !important;}
  .site-footer-primary-section-1,.site-footer-primary-section-4{grid-column:1 / -1;}
  .ast-footer-copyright p{flex-direction:column;}
}

/* ----- 16. EN-TÊTE — bouton d'appel à l'action ------------ */
/* Le bouton du Header Builder reprend le CTA du design system : soleil, encre,
   filet d'encre. Son libellé et son lien restent dans le Personnalisateur. */
.site-header .ast-custom-button{
  background:var(--ab-soleil);color:var(--ab-encre);
  border:2.5px solid var(--ab-encre);border-radius:var(--ab-radius,10px);
  font-family:var(--ab-disp);font-weight:700;letter-spacing:.01em;
  padding:11px 20px;white-space:nowrap;
  box-shadow:none;
  transition:transform var(--ab-ease),box-shadow var(--ab-ease);
}
/* Sans ombre, il s'inverse au survol ; au clavier, le contour pointillé
   bleu mer du site suffit (mesuré sur 1192). */
.site-header .ast-custom-button-link:hover .ast-custom-button,
.site-header .ast-custom-button:hover{
  background:var(--ab-encre);color:var(--ab-soleil);
}

/* ----- 17. EN-TÊTE — le nom du site, en texte ------------- */
/* Pas de logo pour l'instant (Emeline, 2026-10-09) : le nom « alpha.b »
   s'affiche en texte, dans la police des titres. Jusqu'au 09/10, cette
   section le MASQUAIT, parce qu'il faisait doublon avec le logo ; or le logo
   a disparu entre le 31/08 et le 25/09, et l'en-tête était vide à gauche.
   Pour laisser la place au nom, l'espace entre les entrées du menu passe de
   16 à 10 px : le menu tient sur une ligne dès 1 280 px, exactement comme
   avant (mesuré à 1 440, 1 366, 1 280, 1 200, 1 100 et 1 024 px ; en dessous
   de 1 280 il passait déjà sur deux lignes). */
.site-header .site-title{margin:0;line-height:1;}
.site-header .site-title a,
.site-header .site-title a:visited{
  font-family:var(--ab-disp);font-weight:700;font-size:28px;
  letter-spacing:-.02em;color:var(--ab-encre);text-decoration:none;
}
.site-header .site-title a:hover,
.site-header .site-title a:focus{color:var(--ab-terra);}
/* Dans l'en-tête du burger, quelle que soit la largeur : il s'affiche jusqu'à
   1 239 px depuis le 2026-10-14 (functions.php, alphab_child_header_break_point).
   Le nom ne se coupe jamais : à 320 px, le bouton espagnol « Inscribirse »
   (104 px, contre 97 pour « S'inscrire ») le faisait passer à « alpha. / b »
   (2026-10-27). Sur une ligne, l'en-tête tient encore, burger à 301 px. */
#ast-mobile-header .site-title a{font-size:24px;white-space:nowrap;}
/* Le « .b » en terracotta : functions.php l'entoure d'un span (filtre
   astra_site_title), le nom lui-même ne change pas. */
.site-header .site-title .ab-t{color:var(--ab-terra);}
/* 9 px depuis la maquette A (2026-10-14) : le sélecteur de langues prend sa
   place à côté du bouton, le menu doit rester sur une ligne à 1 280 px. */
#ast-hf-menu-1 > li > .menu-link{padding-left:9px;padding-right:9px;}
/* 7 px en allemand et en espagnol depuis l'entrée Blog (2026-10-28) : avec
   8 entrées, « Preise » et « Precios » passaient seuls sur une 2e ligne, de
   1 240 à 1 920 px (il manquait 4 et 19 px). Choix d'Emeline. */
html:lang(de) #ast-hf-menu-1 > li > .menu-link,
html:lang(es) #ast-hf-menu-1 > li > .menu-link{padding-left:7px;padding-right:7px;}
/* « Jetzt buchen » (relecture d'Anja, point 1, 2026-11-25) : 24 px de plus
   que « Anmelden ». Sous 360 px, le burger sortait de l'écran (à 320 px :
   278-322 px). On garde la taille du texte (14 px) et on prend la place sur
   les marges : intérieures 14 → 10 px, bouton-burger 30 → 16 px. Mesuré :
   burger à 20 px du bord de 320 à 359 px ; rien ne change dès 360 px. */
@media (max-width:359px){
  html:lang(de) .ast-header-button-1 .ast-custom-button{padding-left:10px!important;padding-right:10px!important;}
  html:lang(de) .site-header-primary-section-right .ast-header-button-1{margin-right:0!important;padding-right:6px!important;}
}
/* La page où l'on est : soulignée en terracotta, comme dans le design system. */
#ast-hf-menu-1 > li > .menu-link{border-bottom:2.5px solid transparent;}
#ast-hf-menu-1 > li.current-menu-item > .menu-link,
#ast-hf-menu-1 > li.current-menu-ancestor > .menu-link{color:var(--ab-encre);border-bottom-color:var(--ab-terra);}

/* Sélecteur de langues [alphab_langues] (functions.php), dans le bloc HTML 1
   du constructeur d'en-tête : à côté du bouton à l'ordinateur, dans le menu
   « burger » au téléphone. */
.ab-langs{display:flex;align-items:center;gap:2px;white-space:nowrap;font-family:var(--ab-disp);font-weight:600;}
.ab-langs a{
  display:inline-flex;align-items:center;padding:6px 7px;font-size:12.5px;line-height:1;
  border-radius:var(--ab-rad-pill);color:var(--ab-encre);text-decoration:none;
}
.ab-langs a:hover,.ab-langs a:focus{background:var(--ab-creme-2);color:var(--ab-encre);}
.ab-langs a.on,.ab-langs a.on:hover{background:var(--ab-encre);color:var(--ab-soleil);}
.site-header .ast-header-html{margin-right:10px;}
.ast-mobile-popup-drawer .ab-langs,
#ast-mobile-header .ast-mobile-header-content .ab-langs,
.ast-header-break-point .main-header-bar-navigation + .ast-header-html .ab-langs{padding:14px 0 8px;gap:8px;}
.ast-header-break-point .ab-langs a{min-height:44px;padding:0 14px;font-size:15px;}

/* Le burger jusqu'à 1 239 px (functions.php) : Astra montre bien l'en-tête du
   burger, mais ne cache l'en-tête complet qu'en dessous de 922 px (seuil de la
   tablette, écrit en dur). Sans cette ligne, les deux s'empilent de 922 à
   1 239 px. La classe est posée par Astra avec le seuil filtré. */
.ast-header-break-point #ast-desktop-header{display:none;}
/* Au téléphone et à la tablette : « S'inscrire » reste visible à côté du
   burger, encre et soleil. Pas de largeur ici : ces règles valent dès que
   l'en-tête du burger s'affiche (jusqu'à 1 239 px, voir functions.php). */
#ast-mobile-header .ast-custom-button{padding:9px 14px;font-size:14px;}
#ast-mobile-header .ast-header-button-1{margin-right:10px;}
#ast-mobile-header .menu-toggle{
  background:var(--ab-encre) !important;border-radius:12px !important;
  width:44px;height:44px;display:flex !important;align-items:center;justify-content:center;padding:0 !important;
}
#ast-mobile-header .menu-toggle .ast-mobile-svg,
#ast-mobile-header .menu-toggle svg{fill:var(--ab-soleil) !important;}

/* ----- 18. CIBLES TACTILES — 44 px au doigt, sans rien déplacer ----- */
/* Mesure du 2026-10-08 à 390 px : une soixantaine de liens entre 18 et 23 px
   de haut sur 16 pages, presque tous issus du moule (fil d'Ariane,
   « Nos accréditations → », « Le programme → » des cartes, liens de
   l'accueil, téléphone et mail). Un calque invisible (::after) agrandit la
   zone qu'on peut toucher de 12 px au-dessus et au-dessous du lien : la page
   ne bouge pas d'un pixel. Les liens pris dans une phrase ne sont pas visés
   (exception « lien dans le texte » des règles d'accessibilité).
   `position:relative` garde un poids faible : si une page impose déjà une
   position à l'un de ces liens, c'est la page qui gagne. */
.ab-crumbs a,
.ab-accred__lien,
.ab-ccard .lien,
.ab-carte4__lien,
.ab-faq-more a,
.ab-cours-home__autres a,
.ab-repond__lien a,
.ab-heb-p a,
.entry-content th a,
.entry-content a[href^="tel:"],
.entry-content a[href^="mailto:"]{position:relative;}
.ab-crumbs a::after,
.ab-accred__lien::after,
.ab-ccard .lien::after,
.ab-carte4__lien::after,
.ab-faq-more a::after,
.ab-cours-home__autres a::after,
.ab-repond__lien a::after,
.ab-heb-p a::after,
.entry-content th a::after,
.entry-content a[href^="tel:"]::after,
.entry-content a[href^="mailto:"]::after{
  content:"";position:absolute;left:0;right:0;top:-12px;bottom:-12px;
}
/* Onglets des programmes : 42 px au téléphone, 2 px de plus suffisent. Le
   moule les règle à 10 px dans sa propre feuille, chargée après celle-ci :
   `body` en tête donne juste le poids qu'il faut pour passer devant. */
@media(max-width:680px){
  body .ab-scope .ab-tabs .ab-tab{padding-top:11px;padding-bottom:11px;}
}

/* ----- 18. SANS OMBRE — partout, y compris le CSS embarqué des pages ---- */
/* Retirées du design system le 2026-10-13 (Emeline, après la comparaison sur
   Groupes scolaires). Les jetons sont à « none » (section 1) et les feuilles du
   thème, des blocs et du tunnel n'en déclarent plus. Mais 25 pages portent
   encore, dans leur propre <style>, une copie du moule avec des ombres écrites
   en dur : cette section les neutralise sans réécrire chaque page. Le menu
   déroulant d'Astra (dans l'en-tête, hors #content) garde son ombre douce. */
#content *,#content *::before,#content *::after,.site-footer *{box-shadow:none !important;}
/* Ce qui se soulevait au-dessus de son ombre ne bouge plus. `body` en tête :
   les feuilles des pages sont chargées APRÈS celle-ci. */
body .entry-content .btn:hover,body .entry-content .ab-ccard:hover,
body .entry-content .ab-scope .profile:hover,body .entry-content .ab-doc-card:hover{transform:none;}
/* Les signaux qui reposaient sur l'ombre, dans le CSS des pages */
body .ab-scope .btn-dark:hover,body .ab-scope a.btn-dark:hover,
body .ab-scope .btn-terra:hover,body .ab-scope a.btn-terra:hover{background:var(--ab-terra-deep);color:#fff;}
body .ab-scope .btn-light:hover,body .ab-scope a.btn-light:hover{background:var(--ab-encre);color:var(--ab-soleil);}
body .ab-scope .ab-linkcard:hover .lien,body .ab-scope .ab-linkcard:focus-visible .lien,
body .ab-scope .ab-ccard .lien:hover,body .ab-scope .ab-ccard .lien:focus-visible{
  text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px;}
body .ab-scope .ab-doc-card:hover{border-color:var(--ab-terra);}

/* ----- 19. SANS CADRE BLANC autour des photos des pages ------------------ */
/* Retiré le 2026-10-14 (Emeline, relecture de 237). La « couche photo » du
   moule (.ab-photo : 8 pages Cours et l'Accueil) vit dans le CSS embarqué des
   pages, donc neutralisée ici comme les ombres (section 18) : la photo garde
   la bordure encre et la légère inclinaison du hero.
   GARDENT leur cadre blanc, exprès (Emeline, même jour) : les portraits
   polaroïd du staff (.ab-polaroid sur 257 et 1192, .ab-act-polaroid sur
   1046), les logos de l'Accueil et les couvertures de documents (1182, 1183).
   `#content` en tête : les feuilles des pages sont chargées APRÈS celle-ci. */
#content .ab-scope .ab-photo{background:none;border:0;padding:0;}
#content .ab-scope .ab-photo img{border:var(--ab-bord);border-radius:var(--ab-rad-sm);}

/* ----- 20. POLITIQUE DE COOKIES — fiches Complianz au téléphone ---------- */
/* Le document de Complianz ([cmplz-document], pages 1184 et traductions)
   sortait de l'écran à 320 px (page française : 326 px, mesuré le 2026-10-27).
   Deux causes, dans la feuille de Complianz sous 600 px :
   - l'en-tête de chaque service aligne nom, catégorie, case et chevron avec
     15 px d'écart : « Fonctionnel » ne tenait pas, le chevron dépassait.
     La catégorie passe sous le nom (même dessin dans les 4 langues) ;
   - la 2e colonne des fiches (100px 1fr) prenait la largeur du plus long nom
     de cookie (« wpEmojiSettingsSupports ») : minmax(0,1fr), et seul ce
     mot-là se coupe. La 1re colonne prend la largeur de son étiquette la
     plus longue (100 px coupaient « Caducida|d » en espagnol).
   Rien ne change au-dessus de 600 px.
   `body` en tête : même force que la règle de Complianz, plus un cran. */
@media(max-width:600px){
  body #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div{
    grid-template:"heading label checkbox chevron" "paragraph paragraph paragraph paragraph"/minmax(0,1fr) 0 auto 25px;
    row-gap:2px;
  }
  body #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{grid-template-columns:auto minmax(0,1fr);}
  body #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose > div{min-width:0;}
  body #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose > :is(.name,.retention,.function){overflow-wrap:anywhere;}
}

/* ----- 21. PAGE 404 — « Exercice n° 404 » (2026-10-28) ------------------- */
/* Idée choisie par Emeline : une fiche de cahier à grands carreaux (Seyès),
   penchée comme les photos. Le contenu est une page WordPress privée
   « Page introuvable » (et ses traductions), affichée par functions.php à la
   place du texte d'Astra. Tout s'y modifie dans l'éditeur ; les mots
   SURLIGNÉS (outil « Surligner ») sont les réponses : invisibles jusqu'à ce
   qu'on ouvre le bloc Détails « Voir la correction », puis écrits en rouge
   avec le trait des titres du hero. Aucun JavaScript (:has). La phrase claire
   et les boutons restent toujours visibles : jamais de cul-de-sac. */
.ab-404{
  --ab404-pad:clamp(20px,4.2vw,52px);
  --ab404-marge:clamp(26px,3vw,40px);
  max-width:880px;margin:clamp(40px,7vw,96px) auto clamp(56px,8vw,112px);
  padding:0 clamp(16px,3vw,24px);
  font-family:var(--ab-sans);color:var(--ab-encre);
}
.ab-404 ::selection{background:var(--ab-soleil);color:var(--ab-encre);}
.ab-404 > *,.ab-404__fiche > *,.ab-404__tete > *,.ab-404__cahier > *,.ab-404__suite > *{margin-block:0;}
.ab-404__fiche{
  border:var(--ab-bord);border-radius:var(--ab-rad);background:var(--ab-blanc);
  overflow:hidden;transform:rotate(-1deg);
}
.ab-404__tete{
  display:flex;justify-content:space-between;align-items:baseline;gap:8px 24px;flex-wrap:wrap;
  background:var(--ab-soleil);border-bottom:var(--ab-bord);
  padding:20px var(--ab404-pad) 18px calc(var(--ab404-pad) + var(--ab404-marge));
}
.ab-404 h1.ab-404__titre{
  font-family:var(--ab-disp);font-weight:700;letter-spacing:-.025em;line-height:1;
  font-size:clamp(28px,3.4vw,42px);color:var(--ab-encre);
}
.ab-404 .ab-404__note{
  font-family:var(--ab-disp);font-weight:600;font-size:18px;
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
.ab-404__cahier{
  padding:clamp(30px,4vw,48px) var(--ab404-pad) clamp(30px,4vw,44px) calc(var(--ab404-pad) + var(--ab404-marge));
  background-color:var(--ab-blanc);
  background-image:
    linear-gradient(to right,transparent calc(var(--ab404-marge) - 1px),rgba(226,85,43,.6) calc(var(--ab404-marge) - 1px),rgba(226,85,43,.6) calc(var(--ab404-marge) + 1px),transparent calc(var(--ab404-marge) + 1px)),
    repeating-linear-gradient(to bottom,transparent 0 31px,rgba(14,79,102,.20) 31px 32px),
    repeating-linear-gradient(to bottom,transparent 0 7px,rgba(14,79,102,.07) 7px 8px);
}
.ab-404 .ab-404__consigne{font-size:17px;font-weight:600;line-height:1.5;color:var(--ab-encre-70);margin-bottom:14px;}
.ab-404 .ab-404__phrase{
  font-family:var(--ab-disp);font-weight:600;letter-spacing:-.02em;line-height:1.3;
  font-size:clamp(30px,4.6vw,56px);margin-bottom:34px;color:var(--ab-encre);text-wrap:balance;
}
/* Le blanc : la réponse est déjà là, invisible, et fixe la largeur du
   pointillé (même police avant et après : rien ne bouge à la correction).
   !important : le surlignage de l'éditeur écrit ses couleurs en ligne. */
.ab-404 mark{
  display:inline-block;white-space:nowrap;
  background:none!important;color:transparent!important;
  font-family:var(--ab-sans);font-style:italic;font-weight:800;letter-spacing:0;
  padding:0 .12em;margin:0 .04em;
  border-bottom:3px dotted var(--ab-encre);line-height:1.05;
}
.ab-404:has(.ab-404__correction[open]) mark{
  color:var(--ab-terra)!important;border-bottom-color:transparent;transform:rotate(-2deg);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q25 2.5 50 7.5 Q75 12.5 98 6' stroke='%23E2552B' stroke-width='3.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") left bottom/100% .3em no-repeat!important;
  animation:ab404-ecrire .75s cubic-bezier(.16,1,.3,1) both;
}
@keyframes ab404-ecrire{
  from{clip-path:inset(-20% 100% -40% 0);}
  to{clip-path:inset(-20% 0 -40% 0);}
}
.ab-404 .ab-404__correction{border:0;padding:0;background:none;}
.ab-404 .ab-404__correction summary{
  display:inline-flex;align-items:center;min-height:48px;list-style:none;cursor:pointer;
  font-family:var(--ab-disp);font-weight:600;font-size:16px;
  padding:13px 26px;border:var(--ab-bord-25);border-radius:var(--ab-rad-pill);
  background:var(--ab-creme);color:var(--ab-encre);
  transition:background var(--ab-ease),color var(--ab-ease);
}
.ab-404 .ab-404__correction summary::-webkit-details-marker{display:none;}
.ab-404 .ab-404__correction summary::marker{content:"";}
.ab-404 .ab-404__correction summary:hover{background:var(--ab-encre);color:var(--ab-soleil);}
.ab-404 .ab-404__correction summary:focus-visible{outline:3px solid var(--ab-terra);outline-offset:4px;}
.ab-404 .ab-404__correction[open] summary{background:var(--ab-soleil);color:var(--ab-encre);}
.ab-404 .ab-404__correction p{
  margin:22px 0 0;max-width:46ch;font-size:19px;font-weight:500;line-height:1.55;color:var(--ab-encre-70);
}
.ab-404 .ab-404__correction strong{color:var(--ab-terra-deep);font-weight:800;}
.ab-404 .ab-404__suite{margin-top:clamp(40px,5vw,60px);max-width:640px;}
.ab-404 .ab-404__suite p{font-size:18px;font-weight:500;line-height:1.55;color:var(--ab-encre-70);margin-bottom:20px;}
/* Boutons Gutenberg habillés comme les .btn du site */
.ab-404 .ab-404__liens{display:flex;flex-wrap:wrap;gap:12px;}
.ab-404 .ab-404__liens .wp-block-button{margin:0;}
.ab-404 .ab-404__liens .wp-block-button__link{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;
  font-family:var(--ab-disp);font-weight:600;font-size:15px;line-height:1.2;
  padding:13px 26px;border:var(--ab-bord-25);border-radius:var(--ab-rad-pill);
  background:var(--ab-creme);color:var(--ab-encre);text-decoration:none;
  transition:background var(--ab-ease),color var(--ab-ease);
}
.ab-404 .ab-404__liens .wp-block-button__link:hover{background:var(--ab-encre);color:var(--ab-soleil);}
.ab-404 .ab-404__liens .ab-404__btn-sombre .wp-block-button__link{background:var(--ab-encre);color:var(--ab-soleil);}
.ab-404 .ab-404__liens .ab-404__btn-sombre .wp-block-button__link:hover{background:var(--ab-terra-deep);color:#fff;}
.ab-404 .ab-404__liens .ab-404__btn-trait .wp-block-button__link{background:transparent;}
.ab-404 .ab-404__liens .ab-404__btn-trait .wp-block-button__link:hover{background:var(--ab-encre);color:var(--ab-soleil);}
.ab-404 .ab-404__liens .wp-block-button__link:focus-visible{outline:3px solid var(--ab-terra);outline-offset:3px;}
/* Au téléphone : le bouton principal sur toute la largeur, les autres à la
   largeur de leur texte, jamais coupé (« Todos nuestros cursos » tenait sur
   3 lignes dans une demi-largeur, mesuré le 2026-10-28). */
@media (max-width:600px){
  .ab-404__fiche{transform:rotate(-.6deg);}
  .ab-404 .ab-404__liens .wp-block-button{flex:1 1 auto;}
  .ab-404 .ab-404__liens .ab-404__btn-sombre{flex-basis:100%;}
  .ab-404 .ab-404__liens .wp-block-button__link{width:100%;white-space:nowrap;}
}
@media (prefers-reduced-motion:reduce){
  .ab-404:has(.ab-404__correction[open]) mark{animation:none;}
}

/* ----- 22. CGV : 4 cartes, 2 par ligne (2026-11-17) ----------------------- */
/* Une carte par langue du PDF (FR, EN, DE, ES), page 1182 et ses traductions.
   Sur une seule ligne, une carte faisait 160 px à 820 px d'écran et 258 px à
   1280 px : « Geschäftsbedingungen » se coupait au milieu du mot et les
   boutons passaient sur 2 lignes (mesuré le 2026-11-17). Dès 782 px (en
   dessous, Gutenberg empile déjà les colonnes) : 2 cartes par ligne, vignette
   limitée à 240 px pour ne pas occuper tout l'écran. */
@media (min-width:782px){
  .ab-cgv-cartes{flex-wrap:wrap !important;}
  .ab-cgv-cartes > .wp-block-column{flex:0 0 calc(50% - 1em) !important;}
  .ab-cgv-cartes .wp-block-image img{max-width:240px;}
}

/* ----- 23. ANCIENS BOUTONS .btn = forme des boutons alpha.b (2026-11-24) -- */
/* Emeline : « aligne les boutons ». Les boutons des blocs alpha.b
   (.alphab-btn, alphab-blocks/style.css) sont en Hanken Grotesk 700, 16 px,
   bord de 3 px, sans soulignement. Les <a class="btn …"> écrits dans le HTML
   des pages (Accueil, hub des cours, CGV, harcèlement, registre, Documents et
   leurs traductions) étaient soulignés, en Space Grotesk 600, 15 px, bord de
   2,5 px. Les COULEURS ne changent pas ici : chaque page garde ses variantes.
   `body .entry-content a.btn` (0-2-2) passe devant le `.btn` des <style> de
   page (0-1-0), chargés après cette feuille. Ni le widget de réservation
   (.abw-btn) ni les <button> ne sont concernés. */
body .entry-content a.btn{
  font-family:"Hanken Grotesk",system-ui,sans-serif;font-weight:700;font-size:16px;
  padding:14px 32px;border-width:3px;text-decoration:none;
}

/* ----- 24. PASTILLES D'INFORMATION = ÉTIQUETTES (2026-12-01) ------------ */
/* Audit de Fabrice (30/11) : les pastilles en gélule à bord encre avaient la
   forme du bouton « contour » (.alphab-btn--outline) ; un visiteur les touchait
   et rien ne se passait. Emeline a choisi la proposition B (01/12) : une
   information = une ÉTIQUETTE, rectangle à petits coins, fond légèrement
   teinté, aucun bord. La gélule à bord encre reste réservée aux boutons.
   Ici, les pastilles écrites dans le CSS des pages (Accueil, pages de cours,
   cartes de cours, Hébergements, Registre d'accessibilité), dans les 4
   langues : ces sélecteurs passent devant le CSS de page, chargé après cette
   feuille (`.ab-scope .ab-bulle` 0-2-0, `.ab-scope .ab-faits li` 0-2-1,
   `.ab-ccard.c2 .tag` 0-3-0, `.ab-heb-prix` et `.ab-label-mer` 0-1-0).
   Ailleurs : bloc École (.alphab-pill) dans alphab-blocks/style.css,
   formulaire (.abw-tag) dans le widget. Gardés : les légendes penchées des
   photos de l'équipe (choix d'Emeline) et les étiquettes jaunes des Tarifs. */
body .ab-scope .ab-bulles,
body .ab-scope .ab-faits{gap:8px;}
body .ab-scope .ab-bulles .ab-bulle,
body .ab-scope .ab-faits li{
  border:0;border-radius:3px;box-shadow:none;
  background:rgba(26,18,5,.08);color:var(--ab-encre);padding:5px 10px;
  font-family:"Hanken Grotesk",system-ui,sans-serif;font-weight:600;font-size:13.5px;line-height:1.35;
}
body .ab-scope .ab-faits li::before{content:none;}
/* Cartes de cours et carte « Après-midi conversation » (.ab-option) : sur la
   carte bleue (.c2) le texte est blanc, la teinte aussi. */
body .ab-scope .tag{border:0;border-radius:3px;background:rgba(26,18,5,.08);}
body .ab-scope .ab-ccard.c2 .tag{background:rgba(255,255,255,.16);}
/* Prix des résidences (Hébergements) : étiquette de prix, jaune, sans bord.
   text-wrap:pretty (01/12) : à 390 px, « … partagée à 2 ou » laissait « 3 »
   seul sur la dernière ligne (et « simple », « individual » à 320 px).
   Mesuré Chrome + Safari, 4 langues, 320 à 1 440 px : plus aucun mot seul,
   sauf l'allemand « Doppel-/Dreibettzimmer », un seul mot. Firefox ignore la
   règle et garde la coupure d'avant. */
body .ab-heb-prix{border:0;border-radius:3px;text-wrap:pretty;}
/* Labels du Registre d'accessibilité (« Label Qualité FLE », « Eaquals », « IALC »). */
body .ab-scope .ab-label{border:0;border-radius:3px;background:rgba(26,18,5,.08);color:var(--ab-encre);}

/* ----- 25. PAGE DES COURS : tableau « Comparer les 15 cours » et encadré
   « Si vous débutez totalement » (2026-12-01, audit de Fabrice, points 3-4) */
/* Seule la page des cours les porte (1193 FR, 2819 EN, 2901 DE, 3001 ES), dans
   le CSS de la page, chargé après cette feuille : `body …` passe devant.
   Tableau, choix d'Emeline (C sur 3) : le nom du cours, seul lien de la ligne,
   n'était souligné qu'au survol, alors que toute la ligne jaunissait.
   Désormais : nom toujours souligné, LIGNE ENTIÈRE cliquable (le lien s'étend
   à la ligne par son ::after), flèche → en bout de ligne. Sur téléphone, toute
   la carte du cours est cliquable. */
body .ab-scope .compare-table a.course{
  text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px;
}
body .ab-scope .compare-table tbody tr:not(.famille){position:relative;cursor:pointer;}
/* La section 18 (cibles tactiles, `.entry-content th a`) met le lien en
   position:relative et agrandit sa zone de 12 px par un ::after : le calque
   restait alors à la taille du nom. Ici le lien redevient statique et son
   ::after couvre toute la ligne (zone bien plus grande que les 44 px visés). */
body .ab-scope .compare-table tbody tr:not(.famille) a.course{position:static;}
body .ab-scope .compare-table tbody tr:not(.famille) a.course::after{
  content:"";position:absolute;inset:0;z-index:1;
}
body .ab-scope .compare-table tbody tr:not(.famille) td.from::after{
  content:"→";content:"→" / "";margin-left:12px;font-weight:700;color:var(--ab-terra);
}
/* Sur téléphone et tablette (≤ 900 px), chaque ligne devient une carte ; les
   bordures qu'Astra met à tout tableau (1 px à droite et en bas de chaque
   case, en haut et à gauche du tableau) y dessinaient un trait noir à droite
   de chaque carte, des traits sombres entre les lignes au lieu des traits
   clairs prévus, et un cadre autour de « Toute l'année, tous les lundis ». */
@media (max-width:900px){
  body .ab-scope table.compare-table{border:0;}
  body .ab-scope .compare-table th,
  body .ab-scope .compare-table td{border-right:0;border-bottom:0;border-left:0;}
}
/* « Si vous débutez totalement » : le paragraphe gardait la marge du thème
   (54 px de vide sous le texte, 29 px au-dessus) ; le texte n'était pas au
   milieu du cadre jaune. Choix d'Emeline (B) : plus petit et centré sur
   ordinateur et tablette ; sur téléphone, « lisible » : même taille
   qu'avant, aligné à gauche, seul le vide du bas est retiré. */
body .ab-scope .quand-a0 > :last-child{margin-bottom:0;}
@media (min-width:641px){
  body .ab-scope .quand-a0{text-align:center;padding:24px 28px;}
  body .ab-scope .quand-a0 h3{font-size:17px;}
  body .ab-scope .quand-a0 p{font-size:14.5px;margin:6px auto 0;max-width:80ch;}
}

/* ----- 26. AUDIT DE FABRICE, LOT 2 (2026-12-01, en autonomie, accord
   d'Emeline : « mise en page envoyée ») — mise en page seulement -------- */

/* 26.1 Cours généraux : le cadre « Débutant complet (A0) ? » était collé à la
   carte « Après-midi conversation » (0 px) et gardait la marge du thème sous
   son texte (53 px de vide en bas, 27 en haut). 4 langues. */
body .ab-scope .ab-option + .callout{margin-top:22px;}
body .ab-scope .ab-option + .callout > :last-child{margin-bottom:0;}

/* 26.2 Pédagogie : « resserre tous les blocs ». Sections de 88 à 64 px en haut
   et en bas ; titres de cartes : le thème leur donnait 29 px de marge
   (prévu : 8) ; grille et icônes plus serrées ; paragraphes d'« À Nice » à
   16 px d'écart. Le bloc École de cette page seulement (suivi de la section
   « En classe »). 4 langues. */
body .wp-block-alphab-ecole:has(~ .ab-peda-classe){padding-top:64px;padding-bottom:64px;}
body .ab-peda-classe,
body .ab-peda-nice,
body .ab-peda-eng{padding-top:64px;padding-bottom:64px;}
body .ab-peda-classe .ab-peda-classe__title,
body .ab-peda-eng .ab-peda-eng__title{margin-bottom:32px;}
body .ab-peda-classe .ab-peda-classe__grid{gap:30px 36px;}
body .ab-peda-classe .ab-peda-classe__card-icon{width:56px;height:56px;padding:13px;margin-bottom:12px;}
body .ab-peda-classe .ab-peda-classe__card-title{margin:0 0 6px;line-height:1.3;}
body .ab-peda-nice p{margin-bottom:16px;}
@media (max-width:768px){
  body .wp-block-alphab-ecole:has(~ .ab-peda-classe),
  body .ab-peda-classe,
  body .ab-peda-nice,
  body .ab-peda-eng{padding-top:48px;padding-bottom:48px;}
}

/* 26.3 Pédagogie, « Charte qualité » : les 4 engagements étaient écrits trop
   petit (étiquette 11 px, titre 16 px, texte 14 px). Agrandis pour se lire
   d'un coup d'œil ; le titre prend la marge prévue (le thème lui en donnait 26). */
body .ab-peda-eng .ab-peda-eng__card{padding:26px 24px;}
body .ab-peda-eng .ab-peda-eng__card-label{font-size:13px;margin-bottom:10px;}
body .ab-peda-eng .ab-peda-eng__card-title{font-size:19px;line-height:1.3;margin:0 0 10px;}
body .ab-peda-eng .ab-peda-eng__card-text{font-size:16px;line-height:1.55;}

/* 26.4 Labels qualité, « 8 autres reconnaissances » : noms agrandis (15 →
   19 px), lieu et texte aussi ; Erasmus+ et Enseignement supérieur privé
   ne prennent plus toute la largeur (style écrit dans la page pour Erasmus+,
   d'où !important). Sur ordinateur, grille de 6 pistes : 3 cartes par
   rangée, et les 2 dernières centrées sur la 3e rangée. */
body .ab-accred-other .ab-accred-other__card-name{font-size:19px;letter-spacing:.03em;margin-bottom:6px;}
body .ab-accred-other .ab-accred-other__card-geo{font-size:13px;}
body .ab-accred-other .ab-accred-other__card-text{font-size:15.5px;line-height:1.55;}
body .ab-accred-other .ab-accred-other__grid > .ab-accred-other__card{grid-column:auto !important;}
@media (min-width:1001px){
  body .ab-accred-other .ab-accred-other__grid{grid-template-columns:repeat(6,minmax(0,1fr));}
  body .ab-accred-other .ab-accred-other__grid > .ab-accred-other__card{grid-column:span 2 !important;}
  body .ab-accred-other .ab-accred-other__grid > .ab-accred-other__card:nth-child(7):nth-last-child(2){grid-column:2 / span 2 !important;}
}

/* 26.5 Logement en famille d'accueil, « Étudiants mineurs » : 2 colonnes de
   blocs au lieu de 4 longues lignes (à partir de 768 px). */
@media (min-width:768px){
  body #mineurs .ab-heb-liste{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
}
body #mineurs .ab-heb-liste li{padding:18px 20px;}

/* 26.6 FAQ : 2 colonnes au lieu de longues lignes (ordinateur et tablette
   à partir de 901 px). Les questions de chaque partie sont regroupées dans
   un bloc Groupe « ab-faq-cols » (contenu des 4 pages FAQ, 01/12) ; chaque
   question reste un bloc modifiable. Le groupe porte le fond de la partie ;
   une question ouverte allonge sa rangée sans déplacer l'autre colonne. */
/* `.entry-content > .ab-faq-cols` : Astra donne à tout Groupe posé dans la
   page 48 px de marge intérieure et la largeur du contenu (0-2-0). */
body .entry-content > .ab-faq-cols,
body .ab-faq-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;
  align-items:start;padding:24px 40px;margin:0;max-width:none;}
body .ab-faq-cols.bg-creme{background:var(--ab-creme);}
body .ab-faq-cols.bg-creme2{background:var(--ab-creme-2);}
body .ab-faq-cols > .ab-faq-item{width:auto;max-width:none;margin:0;padding:0;background:transparent;}
body .ab-faq-cols > .ab-faq-item .wrap{padding:0;max-width:none;}
@media (max-width:900px){
  body .entry-content > .ab-faq-cols,
  body .ab-faq-cols{grid-template-columns:1fr;padding:16px 24px;}
}

/* 26.7 Questions dépliables : une question ouverte passe en BLEU MER, plus
   en jaune (choix d'Emeline, 01/12 au soir : « fais comme le reste du site »,
   c.-à-d. comme les tuiles du quiz, point 2 de l'audit de Fabrice). Vaut pour
   TOUS les accordéons : la FAQ (bloc alphab/faq-question) et les FAQ des pages
   de cours, dont le <style> embarqué (M6) impose le jaune en 0-3-2 :
   `body` devant passe à 0-3-3 et l'emporte, quel que soit l'ordre de
   chargement. Texte blanc sur #0E4F66 : 9:1. Le ＋ / − suit le texte. */
body .accordion details[open] > summary,
body .ab-scope .accordion details[open] > summary{background:var(--ab-mer);color:#fff;}
