/* Espace examens : même charte que la vitrine (bandes pleine largeur, gras, pastilles de niveau). */
.ex-hero .inner{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.ex-hero h1{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.ex-retour{color:#cfe1fa;font-weight:800;font-size:15px}
.ex-retour::before{content:"← "}
[dir="rtl"] .ex-retour::before{content:"→ "}

.ex-niveaux{display:grid;gap:clamp(18px,2.4vw,28px);margin-bottom:var(--souffle)}
.ex-niveau{background:var(--white);padding:clamp(22px,3vw,36px);scroll-margin-top:20px}
.ex-niveau-tete{display:flex;align-items:center;gap:18px;margin-bottom:20px}
.ex-niveau-tete .chip{font-size:20px;padding:12px 18px}
.ex-niveau h2{font-size:clamp(22px,2.4vw,30px)}
.ex-meta{font-size:15px;color:var(--muted-2);margin-top:4px}

.ex-modules{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;list-style:none;margin:0 0 22px;padding:0}
.ex-modules li{display:flex;flex-direction:column;gap:6px;padding:16px;background:var(--cream)}
.ex-module-nom{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-family:var(--display);font-weight:800;font-size:17px;color:var(--ink)}
.ex-duree{font-size:14px;color:var(--blue);white-space:nowrap}
.ex-module-desc{font-size:14.5px;color:var(--muted);line-height:1.5}

.ex-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
.ex-actions .btn{min-height:50px}
.ex-lien{font-weight:800;color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.ex-bientot{display:inline-flex;align-items:center;min-height:50px;padding:0 20px;border-radius:999px;background:var(--cream);color:var(--muted-2);font-weight:800;font-size:15px}

.ex-conseils-bloc{margin:0 0 var(--souffle);padding:clamp(22px,3vw,36px);background:var(--yellow-soft)}
.ex-conseils-bloc h2{font-size:clamp(22px,2.4vw,30px);margin-bottom:14px}
.ex-conseils-bloc ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 26px;margin:0;padding-inline-start:20px}
.ex-conseils-bloc li{color:var(--ink)}

.ex-cta{padding:clamp(30px,4vw,52px) 0;background:var(--blue);margin-top:var(--souffle)}
.ex-cta-in{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.ex-cta h2{color:var(--white);font-size:clamp(24px,2.8vw,36px)}
.ex-cta p{color:#cfe1fa;max-width:56ch;margin-top:8px}
.ex-mention{font-size:13.5px;color:var(--muted-2);padding-block:22px}

/* ---------------------------------------------------- entraînement */
.ex-note{margin:0 0 20px;padding:14px 18px;background:var(--yellow-soft);color:var(--yellow-ink);font-weight:800;font-size:15px}
.ex-partie{background:var(--white);padding:clamp(22px,3vw,40px);margin-bottom:clamp(18px,2.4vw,28px)}
.ex-partie-tete{display:flex;align-items:center;gap:16px;margin-bottom:14px}
.ex-partie-num{display:grid;place-items:center;width:48px;height:48px;background:var(--blue);color:#fff;font-family:var(--display);font-weight:800;font-size:22px}
.ex-partie h2{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;font-size:clamp(24px,2.6vw,32px)}
.ex-partie h2 small{font-size:.55em;color:var(--muted-2)}
.ex-consigne{font-weight:800;color:var(--ink);margin-bottom:10px;max-width:70ch}
.ex-aide{font-size:15px;margin-bottom:14px;max-width:70ch}
.ex-texte{background:var(--cream);padding:clamp(18px,2.4vw,28px);margin:16px 0 20px;max-width:78ch}
.ex-texte h3{font-size:20px;margin-bottom:10px}
.ex-texte p{color:var(--ink);font-weight:600;margin-top:10px}

.ex-questions{display:grid;gap:12px;margin:0;padding-inline-start:26px}
.ex-question{padding:14px 16px;background:var(--cream);border-inline-start:5px solid transparent}
.ex-question > p{color:var(--ink);font-weight:700}
.ex-question.juste{border-color:var(--green);background:#e6f7f0}
.ex-question.faux{border-color:var(--red);background:#fdecea}
.ex-rf,.ex-options{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:8px}
.ex-rf label,.ex-options label{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-weight:700;color:var(--ink)}
.ex-rf input,.ex-options input{width:20px;height:20px;accent-color:var(--blue)}
.ex-preuve{margin-top:8px;font-size:15px;color:var(--muted)}
.ex-q{margin-top:10px}

.ex-ecouter{display:inline-flex;align-items:center;gap:10px;padding:10px 18px;border-radius:999px;background:var(--blue);color:#fff;font-weight:800}
.ex-hp{display:inline-block;width:20px;height:20px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7'/%3E%3Cpath d='M18.5 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7'/%3E%3Cpath d='M18.5 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E") center/contain no-repeat}
.ex-mini-ecouter{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--blue-soft);color:var(--blue);margin-inline-end:10px;vertical-align:middle}
.ex-mini-ecouter .ex-hp{width:16px;height:16px}

.ex-verif{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;margin-top:20px}
.ex-resultat{font-family:var(--display);font-weight:800;font-size:20px}
.ex-resultat.reussi{color:var(--green-ink)}
.ex-resultat.a-revoir{color:var(--red)}

.ex-points{margin:6px 0 16px;padding-inline-start:22px;color:var(--ink);font-weight:700}
.ex-zone{width:100%;max-width:78ch;padding:14px;border:2px solid var(--sand);font:inherit;font-weight:600;color:var(--ink);background:var(--white);resize:vertical}
.ex-zone:focus{outline:3px solid var(--blue);outline-offset:1px}
.ex-conseils{margin:18px 0}
.ex-conseils h3{font-size:18px;margin-bottom:8px}
.ex-conseils ul{margin:0;padding-inline-start:20px;display:grid;gap:8px}
.ex-conseils li{color:var(--ink)}
.ex-modele{margin-top:16px;padding:18px 22px;background:var(--green-soft);max-width:78ch}
.ex-modele p{color:var(--ink);margin-top:6px}
.ex-cartes-parler{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:10px 0 6px}
.ex-cartes-parler span{padding:18px 14px;background:var(--yellow);color:var(--ink);font-family:var(--display);font-weight:800;font-size:17px;text-align:center}

/* bandeau d'accueil vers les examens */
.ex-bandeau{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;margin-top:18px}

@media (max-width:900px){
  .ex-modules{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ex-cartes-parler{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  .ex-modules,.ex-conseils-bloc ul{grid-template-columns:1fr}
  .ex-niveau-tete{align-items:flex-start}
}
.ex-niveau .chip,.ex-hero .chip{display:inline-grid;place-items:center;min-width:58px;height:58px;padding:0 12px;border-radius:14px;font-family:var(--display);font-size:21px;font-weight:800;letter-spacing:-.02em}
.chip-c2{background:#8b6cf0;color:var(--white)}
.ex-hero .chip-b1{box-shadow:inset 0 0 0 3px var(--white)}

/* Lesen, Teil 2 : annonces à apparier (A2) */
.ex-annonces{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin:0 0 22px}
.ex-annonce{display:flex;gap:12px;align-items:flex-start;padding:16px;background:var(--cream);border-radius:14px}
.ex-annonce strong{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--ink);color:var(--white);font-family:var(--display)}
.ex-annonce p{font-size:15px;line-height:1.45}
.ex-choix-annonce{margin-top:8px;min-width:84px;padding:8px 12px;font:inherit;font-weight:800;border:2px solid #9a917a;border-radius:10px;background:var(--white)}

/* Zones de clic d'au moins 44 px. */
.ex-mini-ecouter{width:44px;height:44px}
.ex-rf label,.ex-options label{min-height:44px}

/* Arabe : les réponses en allemand restent dans l'ordre a) b) c), de gauche à droite. */
[dir="rtl"] .ex-options,[dir="rtl"] .ex-rf,[dir="rtl"] .ex-question{direction:ltr;text-align:left}

/* Onglets Goethe / telc / TestDaF */
.ex-onglets{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 clamp(18px,2.4vw,28px)}
.ex-onglet{
  min-height:48px;padding:0 22px;border:2px solid var(--ink);border-radius:999px;background:var(--white);
  font-family:var(--display);font-size:15.5px;font-weight:800;color:var(--ink);cursor:pointer;
}
.ex-onglet[aria-selected="true"]{background:var(--ink);color:var(--white)}
.ex-famille-lead{max-width:70ch;margin:0 0 clamp(16px,2vw,24px);font-size:16.5px;font-weight:700;color:var(--muted)}
.ex-bientot{display:inline-flex;align-items:center;min-height:44px;font-family:var(--display);font-size:14px;font-weight:800;color:var(--muted)}
@media (max-width:560px){.ex-onglet{flex:1;padding:0 12px;font-size:14px}}
