
:root {
  --fond: #0f2a1d;
  --fond2: #173d2a;
  --carte: #fffaf0;
  --texte-carte: #2b2420;
  --or: #ffe58a;
  --vert: #267a4c;
  --doux: #cdeccf;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 50% 0%, #1f5a3d 0%, var(--fond) 55%) fixed, var(--fond);
  color: #f4f7f2;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}
h1, h2, h3 { font-family: 'Baloo 2', system-ui, sans-serif; line-height: 1.1; margin: 0 0 0.4em; }
a { color: var(--or); }

/* Contour de sélection au clavier, visible sur fond sombre comme sur fond clair (deux couleurs, comme dans le jeu) */
:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; box-shadow: 0 0 0 6px #0b1f15; border-radius: 4px; }

/* « Aller au contenu » : premier arrêt du clavier, caché tant qu'on ne l'atteint pas */
.aller-contenu {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--or); color: #0b1f15; font-weight: 800; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.aller-contenu:focus { top: 12px; }
main:focus { outline: none; }
.page { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* En-tête */
header { display: flex; align-items: center; gap: 12px; padding: 18px 0; }
header img { width: 52px; height: 52px; border-radius: 14px; }
header .marque { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 22px; line-height: 1.1; }
header .marque small { display: block; font-family: 'Nunito', sans-serif; font-weight: 400; font-size: 13px; opacity: 0.75; }

/* Présentation du tome 1 */
.tome1 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 32px 0 48px; }
.surtitre { text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; font-weight: 700; color: var(--doux); margin: 0 0 6px; }
.tome1 h1 { font-size: clamp(40px, 6vw, 62px); color: var(--or); text-shadow: 0 3px 0 #7a4e0b; }
/* Accueil en anglais (/en) : le titre traduit sous le titre français, la langue du jeu bien visible, « (in French) » discret */
.sous-titre-en { margin: -0.3em 0 0.6em; font: 800 22px/1.2 'Baloo 2', system-ui, sans-serif; color: var(--doux); }
.langue-jeu { background: rgba(255, 255, 255, 0.08); border-left: 4px solid var(--or); border-radius: 10px; padding: 10px 14px; font-size: 16px; }
.pied-langue { font-weight: 400; font-size: 0.85em; opacity: 0.85; }
.tome1 .accroche { font-size: 20px; margin: 0 0 22px; }
.boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 14px; }
.badge-play img { height: 62px; display: block; }
.bouton-web {
  display: inline-block; padding: 12px 20px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff; text-decoration: none; font-weight: 700;
}
.bouton-web:hover { background: rgba(255, 255, 255, 0.1); }
/* Avant la sortie : un seul bouton plein (devenir famille testeuse), le reste en lien discret */
.bouton-principal {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: 999px;
  background: var(--or); color: #2b2010; font-weight: 800; font-size: 18px; text-decoration: none;
}
.bouton-principal:hover { background: #fff0b8; }
.lien-discret { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.rassurant { font-size: 15px; opacity: 0.85; margin: 0; }
.banniere { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45); display: block; }

/* Ce qu'on y fait */
section { padding: 40px 0; }
section > h2 { font-size: 34px; text-align: center; margin-bottom: 26px; }
.atouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.atout { background: var(--carte); color: var(--texte-carte); border-radius: 20px; padding: 20px; }
.atout .icone { font-size: 32px; }
.atout h3 { font-size: 21px; margin-top: 6px; }
.atout p { margin: 0; font-size: 16px; }

/* Captures */
.captures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.captures img { width: 100%; height: auto; border-radius: 18px; border: 3px solid rgba(255, 255, 255, 0.15); display: block; }

/* Pour les parents */
.parents { background: var(--fond2); border-radius: 26px; padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 36px; }
.parents h2 { grid-column: 1 / -1; text-align: left; margin-bottom: 8px; }
.parents ul { margin: 0; padding-left: 20px; }
.parents li { margin-bottom: 8px; }
.accessible { margin-top: 20px; }
.accessible .accessible-intro, .accessible .accessible-taux { grid-column: 1 / -1; margin: 0 0 8px; }
.accessible .accessible-taux { margin: 10px 0 0; font-size: 16px; }

/* La collection : une bande sous le tome 1, les deux tomes sur une ligne */
.bande-collection { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 0 0 8px; padding: 16px 22px; border-radius: 22px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); }
.bande-collection h2 { margin: 0; font-size: 22px; text-align: left; }
.bande-tome { flex: 1 1 260px; min-width: 0; display: flex; align-items: center; gap: 14px; }
.bande-tome img { width: 56px; height: 56px; border-radius: 12px; flex: none; display: block; }
.bande-tome1 img { outline: 2px solid var(--or); }
.bande-tome p { margin: 0; line-height: 1.35; }
.bande-num { display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--doux); }
.bande-tome1 a { color: var(--or); font-weight: 800; }
.bande-tome2 .bande-num { color: #ffd3dc; }
.bande-tome2 a { color: #ffd3dc; font-weight: 800; }

footer { padding: 36px 0 44px; text-align: center; font-size: 15px; opacity: 0.85; }
footer p { margin: 6px 0; }
/* lignes de liens du pied de page : de vraies listes, affichées sur une ligne avec « · » entre les liens */
::placeholder { color: #b7c4bd; opacity: 1; }
.liens-pied { list-style: none; padding: 0; margin: 6px 0; display: flex; flex-wrap: wrap; justify-content: center; }
.liens-pied li + li::before { content: '·'; margin: 0 0.45em; }
/* la page Plan du site */
.plan-site li { margin-bottom: 6px; }
.marques { font-size: 12px; opacity: 0.7; }

@media (max-width: 860px) {
  .tome1 { grid-template-columns: 1fr; gap: 24px; padding-top: 12px; }
  .tome1 .visuel { order: -1; }
  .atouts { grid-template-columns: 1fr 1fr; }
  .captures { grid-template-columns: 1fr 1fr; }
  .parents { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .atouts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Navigation et pages de contenu (enseignants, parents, mondes) ---------- */
header { flex-wrap: wrap; }
header a.accueil { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
nav.menu { margin-left: auto; font-weight: 700; font-size: 16px; }
nav.menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
nav.menu a { color: #f4f7f2; text-decoration: none; opacity: 0.85; }
nav.menu a { display: inline-flex; align-items: center; min-height: 44px; }
nav.menu a:hover, nav.menu a[aria-current] { opacity: 1; color: var(--or); }
/* la page en cours : soulignée, pas seulement dorée */
nav.menu a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.contenu { max-width: 780px; margin: 0 auto; padding: 10px 0 30px; }
.contenu h1 { font-size: clamp(34px, 6vw, 48px); color: var(--or); margin-top: 10px; }
.contenu h2 { font-size: 27px; margin-top: 34px; text-align: left; }
.contenu .chapo { font-size: 20px; }
.tableau { width: 100%; border-collapse: collapse; background: var(--carte); color: var(--texte-carte); border-radius: 16px; overflow: hidden; font-size: 16px; }
.tableau th, .tableau td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid #eadfca; }
.tableau a { color: #1d5c3a; }
.tableau th { background: #f1e6cc; font-family: 'Baloo 2', sans-serif; font-size: 17px; }
/* Page « Accessibilité et sobriété » */
.declarations h3 { font-size: 22px; margin-top: 26px; }
.declarations h4 { font-size: 19px; margin: 0 0 6px; }
.declarations li { margin-bottom: 6px; }
.sommaire { margin: 18px 0 8px; }
.sommaire ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.encadre { background: var(--carte); color: var(--texte-carte); border-radius: 18px; padding: 16px 18px; }
.encadre ul { margin: 0; padding-left: 20px; font-size: 16px; }
@media (max-width: 700px) { .deux-colonnes { grid-template-columns: 1fr; } }
.visuellement-cache { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.declarations .note { font-size: 16px; opacity: 0.85; }
/* « En un coup d'œil » : les trois scores */
.scores { list-style: none; padding: 0; margin: 22px 0 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.score { display: flex; flex-direction: column; align-items: center; gap: 2px; height: 100%; padding: 16px 10px 14px; border-radius: 18px; background: var(--fond2); color: #f4f7f2; text-align: center; text-decoration: none; border: 2px solid transparent; }
.score:hover { border-color: var(--or); }
.score-icone { font-size: 28px; line-height: 1; }
.score-chiffre { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 38px; line-height: 1.1; color: var(--or); }
.score-nom { font-weight: 800; }
.score-detail { font-size: 14px; opacity: 0.85; }
@media (max-width: 560px) { .scores { grid-template-columns: 1fr; } .score { flex-direction: row; flex-wrap: wrap; justify-content: center; column-gap: 10px; } .score-chiffre { font-size: 30px; } .score-detail { width: 100%; } }
.declarations .sommaire ul { gap: 8px; }
.declarations .sommaire a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); text-decoration: none; font-size: 16px; }
.declarations .sommaire a:hover { background: rgba(255, 255, 255, 0.16); }
.declarations .encadre h4 { color: #1d5c3a; }
/* « Ce qui n'est pas encore accessible » : bien visible */
.alerte { margin-top: 22px; background: #3a2f12; border-left: 6px solid var(--or); border-radius: 16px; padding: 14px 18px 8px; }
.alerte h3 { margin-top: 0; color: var(--or); }
/* Les thèmes repliables : titre, résumé d'une ligne, « + » / « − » */
.theme { margin: 12px 0; background: var(--fond2); border-radius: 18px; }
.theme[open] { padding-bottom: 14px; }
.theme summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 14px; padding: 14px 18px; cursor: pointer; min-height: 44px; }
.theme summary::-webkit-details-marker { display: none; }
.theme summary::after { content: '+'; grid-column: 3; grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--or); font: 800 26px/34px 'Baloo 2', sans-serif; text-align: center; }
.theme[open] summary::after { content: '−'; }
.theme summary:hover::after { background: rgba(255, 255, 255, 0.2); }
.theme-icone { font-size: 28px; grid-column: 1; grid-row: 1 / 3; }
.declarations .theme summary h3, .contenu .theme summary h3, .contenu .theme summary h2 { grid-column: 2; margin: 0; font-size: 22px; color: var(--or); }
.theme-resume { grid-column: 2; font-size: 15px; opacity: 0.85; }
.theme > :not(summary) { margin-left: 18px; margin-right: 18px; }
.declarations .theme h4 { margin-top: 18px; color: var(--doux); }
.theme .tableau { width: calc(100% - 36px); }
.tout-deplier { text-align: right; margin: -4px 0 4px; }
.tout-deplier button { min-height: 44px; background: none; border: 0; color: var(--or); font: inherit; font-size: 16px; text-decoration: underline; cursor: pointer; }
.declarations [id] { scroll-margin-top: 16px; }
@media (max-width: 560px) { .theme summary { padding: 12px; gap: 10px; } .theme > :not(summary) { margin-left: 10px; margin-right: 10px; } .theme .tableau { width: calc(100% - 20px); } .theme-icone { font-size: 24px; } }
@media print { .theme summary::after, .tout-deplier, .sommaire { display: none; } }
.faq details {background: var(--carte); color: var(--texte-carte); border-radius: 16px; padding: 14px 18px; margin-bottom: 12px; }
.faq summary { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 19px; cursor: pointer; }
.faq details p { margin: 10px 0 0; }
/* Sur les cartes claires, le lien jaune du fond vert serait illisible : vert foncé (7,6:1 sur --carte) */
.faq details a, .atout a, .encadre a, .t2-carte a { color: #1d5c3a; }
.monde { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: start; background: var(--fond2); border-radius: 20px; padding: 14px; margin-bottom: 14px; }
.monde img { width: 150px; aspect-ratio: 390 / 560; object-fit: cover; border-radius: 12px; display: block; }
.monde h3 { font-size: 23px; margin: 0 0 2px; color: var(--or); }
.monde .epoque { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--doux); font-weight: 700; margin: 0 0 6px; }
.monde p { margin: 0 0 6px; }
.monde .programme { font-size: 14px; opacity: 0.85; }
.appel { text-align: center; margin: 36px 0 10px; }
.appel a { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--vert); color: #fff; font-weight: 700; text-decoration: none; }
@media (max-width: 560px) {
  nav.menu { margin-left: 0; width: 100%; font-size: 15px; }
  nav.menu ul { justify-content: space-between; gap: 0 10px; }
  .monde { grid-template-columns: 96px 1fr; gap: 12px; }
  .monde img { width: 96px; }
  .tableau { font-size: 14px; }
}

/* Politique de confidentialité (texte repris de la page du jeu) */
.contenu .maj { opacity: 0.75; font-size: 0.9em; }
.contenu .enfants { background: rgba(255, 255, 255, 0.07); border-radius: 14px; padding: 4px 18px; }

/* La vidéo de présentation (page d'accueil) */
.video-presentation { display: block; width: 100%; max-width: 900px; height: auto; margin: 0 auto; border-radius: 18px; background: #08160f; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }

/* Version légère et écoute seule, sous la vidéo (voir video.js) */
.video-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin: 10px 0 0; }
.video-options[hidden] { display: none; }
.lien-video { min-height: 44px; background: none; border: 0; color: var(--or); font: inherit; font-size: 16px; text-decoration: underline; cursor: pointer; }
.video-ecoute { max-width: 900px; margin: 8px auto 0; }
.video-ecoute audio { width: 100%; }

/* Transcription de la vidéo, repliée sous le lecteur */
.transcription { max-width: 900px; margin: 16px auto 0; background: var(--carte); color: var(--texte-carte); border-radius: 16px; padding: 14px 18px; font-size: 16px; }
.transcription summary { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 18px; cursor: pointer; }
.transcription ol { padding-left: 22px; margin: 10px 0 0; }
.transcription li { margin-bottom: 8px; }
.transcription a { color: #1d5c3a; }

/* Lettre d'information « Des nouvelles de Tardi » (page d'accueil) */
.nouvelles { max-width: 640px; margin: 0 auto; background: var(--fond2); border-radius: 26px; padding: 26px 24px; }
.nouvelles h2 { text-align: center; margin-bottom: 8px; }
.nouvelles .intro { text-align: center; margin: 0 0 16px; }
.nouvelles form { display: grid; gap: 14px; }
.nouvelles input[type='email'] {
  width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 2px solid rgba(255, 255, 255, 0.5);
  background: var(--fond); color: #fff;
}
.nouvelles input:focus-visible, .nouvelles .envoyer:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
.nouvelles .envoyer { justify-self: center; font: inherit; font-weight: 700; padding: 12px 22px; border-radius: 999px; border: 0; background: var(--vert); color: #fff; cursor: pointer; }
.nouvelles .envoyer:disabled { opacity: 0.6; cursor: wait; }
.nouvelles fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 16px; }
.nouvelles legend { font-weight: 700; margin-bottom: 4px; }
.nouvelles fieldset label, .nouvelles .accord { display: flex; align-items: flex-start; gap: 8px; min-height: 32px; }
.nouvelles input[type='radio'], .nouvelles input[type='checkbox'] { width: 22px; height: 22px; accent-color: var(--or); flex: none; margin: 2px 0 0; }
.nouvelles .accord { font-size: 15px; }
.nouvelles .piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nouvelles .message { margin: 0; font-weight: 700; min-height: 1.5em; }
.nouvelles .message.ok { color: #9be7b5; }
.nouvelles .message.erreur { color: #ffb4a8; }
.nouvelles .champ-email { display: grid; gap: 6px; font-weight: 700; }
.nouvelles .obligatoire { font-size: 15px; margin: 0; opacity: 0.85; }
.nouvelles [aria-invalid='true'] { border-color: #ffb4a8; }

/* Vote « Où Tardi ira-t-il ensuite ? » (page /prochain-voyage) : mêmes champs que les nouvelles */
.vote { background: var(--fond2); border-radius: 26px; padding: 24px 20px; margin: 20px 0; }
.vote [hidden] { display: none !important; } /* sinon « display: grid » ci-dessous montrerait un formulaire caché */
.vote form { display: grid; gap: 16px; }
.vote fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.vote legend { font-weight: 700; margin-bottom: 6px; }
.vote-theme { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 2px solid rgba(255, 255, 255, 0.35); border-radius: 14px; cursor: pointer; }
.vote-theme:has(input:checked) { border-color: var(--or); background: var(--fond); }
.vote-theme strong { display: block; font-family: 'Baloo 2', system-ui, sans-serif; font-size: 20px; color: var(--or); }
.vote input[type='radio'] { width: 22px; height: 22px; accent-color: var(--or); flex: none; margin: 3px 0 0; }
.vote .vote-profil { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 16px; }
.vote-profil label { display: flex; align-items: center; gap: 8px; min-height: 32px; }
.vote-etat { margin: 0 0 16px; font-weight: 700; }
.vote-note { font-size: 15px; margin: 0; opacity: 0.9; }
.vote .envoyer { justify-self: start; font: inherit; font-weight: 700; padding: 12px 22px; border-radius: 999px; border: 0; background: var(--vert); color: #fff; cursor: pointer; }
.vote .envoyer:disabled { opacity: 0.6; cursor: wait; }
.vote .piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.vote .message { margin: 0; font-weight: 700; min-height: 1.5em; }
.vote .message.ok { color: #9be7b5; }
.vote .message.erreur { color: #ffb4a8; }
.vote [aria-invalid='true'] { outline: 3px solid #ffb4a8; }
.vote-resultats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vote-resultats li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.vote-barre { flex-basis: 100%; height: 12px; background: rgba(255, 255, 255, 0.15); border-radius: 999px; overflow: hidden; }
.vote-barre i { display: block; height: 100%; width: 0; background: var(--or); border-radius: 999px; }

/* Espace presse */
.citation { margin: 24px 0; padding: 16px 22px; border-left: 4px solid var(--or); background: var(--fond2); border-radius: 0 16px 16px 0; font-size: 19px; }
.citation p { margin: 0 0 8px; font-style: italic; }
.citation .signature { margin: 0; font-style: normal; font-size: 15px; opacity: 0.85; }
.citation .signature::before { content: '— '; }
.contenu .banniere { margin: 16px 0; }
.presse-captures { margin-top: 16px; }
.contenu .banniere, .presse-captures img { height: auto; }

/* Espace presse : la marque (nuancier et polices) */
.nuancier { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 16px 0; }
.nuance { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); }
.nuance .pastille-couleur { display: block; height: 56px; border-radius: 10px; margin-bottom: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.nuance span:not(.pastille-couleur) { font-variant-numeric: tabular-nums; opacity: 0.85; }
.nuance small { opacity: 0.75; }
.typos { font-size: 1.1rem; }
.typo-titre { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 1.5em; color: var(--or, #ffe58a); }
.typo-texte { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 1.2em; }

/* Menu du haut : bouton d'action « Tester le jeu » (deviendra « Jouer » à la sortie) */
.bouton-tester { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; margin-left: 16px; border-radius: 999px;
  background: var(--or); color: #2b2010; font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; }
.bouton-tester:hover { background: #fff0b8; }
@media (max-width: 560px) {
  /* téléphone : logo et bouton sur la première ligne, les liens du menu dessous */
  header .accueil { flex: 1 1 auto; min-width: 0; }
  .bouton-tester { order: 1; margin-left: 8px; padding: 0 14px; font-size: 14px; }
  nav.menu { order: 2; }
}

/* Pied de page : toutes les pages, rangées en trois colonnes */
.pied-colonnes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 760px; margin: 0 auto 22px; text-align: left; }
.pied-colonnes .pied-titre { margin: 0 0 6px; color: var(--or); font-weight: 800; font-size: 15px; }
.pied-colonnes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pied-colonnes a { display: inline-flex; min-height: 32px; align-items: center; }
@media (max-width: 560px) {
  .pied-colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
  .pied-colonnes > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  header .accueil { flex: 1 1 0; }
  header img { width: 42px; height: 42px; border-radius: 11px; }
  header .marque { font-size: 18px; }
  header .marque small { font-size: 12px; }
}
@media (max-width: 400px) {
  header .marque small { display: none; }
  header .marque { font-size: 17px; }
  .bouton-tester { padding: 0 12px; font-size: 13px; }
  nav.menu { font-size: 13px; } /* cinq liens (avec « Tome 2 ») sur une ligne dès 360 px */
  nav.menu ul { gap: 0 6px; }
}
@media (max-width: 345px) {
  nav.menu { font-size: 12px; } /* cinq liens sur une ligne dès 320 px */
  nav.menu ul { gap: 0 6px; justify-content: space-between; }
}

/* La page du tome 2, /au-coeur-de-toi */

.t2-tete { display: grid; grid-template-columns: 1fr 230px; gap: 30px; align-items: center; margin: 10px 0 10px; padding: 26px; border-radius: 26px;
  background: radial-gradient(circle at 80% 30%, #8c2a3f, #2a0f18 80%); }
.t2-tete .surtitre { color: #ffd3dc; }
.contenu .t2-tete h1 { color: #ffd3dc; text-shadow: 0 3px 0 #5a1f2c; margin-top: 0; }
.t2-boutons { margin: 0 0 12px; }
.t2-bouton { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: #ffd3dc; color: #3a1220; font-weight: 800; text-decoration: none; }
.t2-bouton:hover { background: #fff; }
.t2-livre { aspect-ratio: 3 / 4.2; border-radius: 8px 18px 18px 8px; background: radial-gradient(circle at 50% 42%, #8c2a3f, #2a0f18 80%);
  box-shadow: inset 10px 0 0 rgba(0, 0, 0, 0.25), 0 18px 40px rgba(0, 0, 0, 0.55); display: grid; align-content: space-between; justify-items: center;
  padding: 20px 14px; text-align: center; color: #ffd3dc; }
.t2-livre span { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.t2-livre img { width: 150px; height: 150px; border-radius: 50%; display: block; }
.t2-livre b { font-family: 'Baloo 2', sans-serif; font-size: 26px; line-height: 1.05; }
.t2-journee { list-style: none; padding: 0; margin: 16px 0 6px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.t2-journee li { background: var(--fond2); border-radius: 18px; padding: 12px; text-align: center; font-weight: 700; }
.t2-journee img { width: 100%; height: 96px; object-fit: contain; display: block; margin-bottom: 6px; }
.t2-journee b { display: block; font-family: 'Baloo 2', sans-serif; font-size: 22px; color: var(--or); }
.t2-note { opacity: 0.8; font-size: 16px; text-align: center; }
.t2-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.t2-carte { background: var(--carte); color: var(--texte-carte); border-radius: 20px; padding: 18px; }
.t2-carte svg { color: #8c2a3f; display: block; }
.t2-carte h3 { font-size: 22px; color: #5a1f2c; margin: 8px 0 6px; }
.t2-carte p { margin: 0; }
.contenu .t2-lettres { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: 0.25em; color: #8c2a3f; line-height: 40px; margin: 0; }
.t2-prevenir { margin-top: 34px; background: linear-gradient(160deg, #6e2234, #2a0f18); border: 1px solid rgba(255, 211, 220, 0.35); border-radius: 26px; padding: 4px 26px 22px; text-align: center; }
.contenu .t2-prevenir h2 { text-align: center; color: #ffd3dc; }
@media (max-width: 760px) {
  .t2-tete { grid-template-columns: 1fr; padding: 20px; }
  .t2-livre { width: 170px; margin: 0 auto; order: -1; padding: 14px 10px; }
  .t2-livre img { width: 96px; height: 96px; }
  .t2-livre b { font-size: 22px; }
  .t2-journee { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t2-cartes { grid-template-columns: 1fr; }
}

/* Page « Pour les enseignants » : la fiche à imprimer (PDF) */
.telecharger { margin: 18px 0 8px; }
.telecharger a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; line-height: 1.3; text-align: center; border-radius: 999px; background: var(--or); color: #2b2010; font-weight: 800; text-decoration: none; }
.telecharger a:hover { background: #fff3c4; }
.telecharger span { display: block; margin-top: 6px; font-size: 15px; opacity: 0.85; }

/* Espace presse : version du dossier de presse, et version + poids sous le bouton du kit */
.contenu .version-presse { margin: -4px 0 14px; font-size: 15px; font-weight: 700; color: var(--doux); }
.appel span { display: block; margin-top: 6px; font-size: 15px; opacity: 0.85; }

/* Choix de la langue, en haut à droite : drapeau et code de l'autre langue (FR / EN) ; drapeau seul sur téléphone et tablette */
.choix-langue { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 10px; margin-left: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; color: #f4f7f2; font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap; }
.choix-langue:hover { border-color: var(--or); color: var(--or); }
.choix-langue svg { width: 22px; height: 15px; border-radius: 2px; flex: none; }
@media (max-width: 860px) {
  /* tablette et téléphone : logo, langue et bouton sur la première ligne, le menu dessous */
  header .accueil { flex: 1 1 0; min-width: 0; }
  .choix-langue { order: 1; padding: 0; margin-left: 8px; }
  .choix-langue .code-langue { display: none; }
  .bouton-tester { order: 1; margin-left: 8px; }
  nav.menu { order: 2; margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  header { gap: 8px; }
  .choix-langue { min-width: 40px; min-height: 40px; margin-left: 2px; }
  .bouton-tester { margin-left: 6px; }
}
@media (max-width: 480px) {
  header .marque small { display: none; } /* place pour le drapeau : le nom du site tient sur une ligne */
}

/* Les fiches thématiques (/histoire-de-la-vie…) : frise des grandes étapes, définitions, encadré « Au programme » */
.frise { list-style: none; margin: 18px 0 8px; padding: 0 0 0 22px; border-left: 4px solid rgba(255, 229, 138, 0.45); }
.frise li { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: start; margin: 0 0 18px; }
.frise li::before { content: ''; position: absolute; left: -32px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 4px var(--fond); }
.frise img { width: 72px; aspect-ratio: 390 / 560; object-fit: cover; border-radius: 10px; display: block; }
.frise .quand { display: block; font-size: 14px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--doux); }
.frise h3 { font-size: 21px; margin: 0 0 2px; color: var(--or); }
.frise p { margin: 0; }
.frise .dans-le-jeu { margin-top: 4px; font-size: 15px; opacity: 0.85; }
.definitions dt { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 19px; color: var(--or); margin-top: 12px; }
.definitions dd { margin: 0; }
.au-programme { margin-top: 22px; }
.au-programme h2 { margin-top: 0; font-size: 23px; color: #1d5c3a; }
.au-programme p, .au-programme li { font-size: 16px; }
.contenu .sources-fiche { font-size: 15px; opacity: 0.85; }
.contenu .sources-fiche li { margin-bottom: 4px; }
@media (max-width: 560px) {
  .frise { padding-left: 18px; }
  .frise li { grid-template-columns: 56px 1fr; gap: 10px; }
  .frise li::before { left: -28px; }
  .frise img { width: 56px; }
}
/* Fiche thématique : chaque étape de la frise se déplie (date et titre visibles, « + » / « − ») */
.etape summary { list-style: none; position: relative; padding-right: 48px; min-height: 44px; cursor: pointer; }
.etape summary::-webkit-details-marker { display: none; }
.etape summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); color: var(--or); font: 800 26px/34px 'Baloo 2', sans-serif; text-align: center; }
.etape[open] summary::after { content: '−'; }
.etape summary:hover::after { background: rgba(255, 255, 255, 0.2); }
.etape > p:first-of-type { margin-top: 8px; }
.theme .au-programme { margin-top: 4px; }
@media print { .etape summary::after { display: none; } }
/* Un tableau large défile dans son cadre sur téléphone, au lieu de faire déborder la page ; le cadre prend le focus au clavier */
.contenu .defile { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; }
.contenu .defile:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
.theme .defile .tableau, .contenu .defile .tableau { width: 100%; margin: 0; }
.theme > .defile { margin-left: 18px; margin-right: 18px; }
@media (max-width: 560px) { .theme > .defile { margin-left: 10px; margin-right: 10px; } }
/* Le carnet de Tardi : la liste des billets, la date, l'encadré « Suivre le carnet » */
.billets { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 14px; }
.billet-carte { background: var(--fond2); border-radius: 18px; padding: 16px 20px; }
.billet-carte h2 { margin: 2px 0 6px; font-size: 24px; }
.billet-carte h2 a { text-decoration: none; }
.billet-carte h2 a:hover { text-decoration: underline; }
.billet-carte p:last-child { margin: 0; font-size: 17px; }
.surtitre a { color: inherit; }
.billet-date { margin-top: -6px; font-size: 15px; opacity: 0.8; }
.lien-flux a { font-weight: 700; }
.abonnement { margin-top: 34px; }
.contenu .abonnement h2 { margin-top: 0; font-size: 23px; color: #1d5c3a; }
.abonnement p { font-size: 16px; margin-bottom: 0; }
.abonnement a { color: #1d5c3a; }
.adresse-flux { font-family: ui-monospace, monospace; font-size: 14px; overflow-wrap: anywhere; }

/* La vignette d'un tome sans couverture : « ? » (surprise) ou son numéro (au vote) */
.vignette-vide { display: flex; align-items: center; justify-content: center; box-sizing: border-box; border: 2px dashed rgba(255, 255, 255, 0.45); color: #f4f7f2; font: 800 26px/1 'Baloo 2', sans-serif; }
.vignette-vote { border: 2px solid var(--or); color: var(--or); background: rgba(255, 229, 138, 0.12); }

/* La page /collection : une carte par tome (toute la carte mène à la page du tome), le principe, l'inscription */
.cartes-tomes { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.carte-tome { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; background: var(--carte); color: var(--texte-carte); }
.carte-tome img, .carte-tome .vignette-vide { width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; object-fit: cover; font-size: 72px; }
.contenu .carte-tome h3 { margin: 0; font-size: 23px; line-height: 1.15; color: var(--texte-carte); }
.carte-tome p { margin: 0; font-size: 16px; }
.carte-tome .bande-num { margin-top: 4px; color: #1d5c3a; }
.carte-lien { margin-top: auto; padding-top: 6px; font-weight: 800; color: #1d5c3a; }
.carte-lien::after { content: ''; position: absolute; inset: 0; border-radius: 20px; }
.carte-tome:focus-within { outline: 3px solid var(--or); outline-offset: 3px; }
.carte-actuelle { box-shadow: 0 0 0 3px var(--or); }
.carte-surprise { background: transparent; color: #f4f7f2; border: 2px dashed rgba(255, 255, 255, 0.4); }
.contenu .carte-surprise h3 { color: #f4f7f2; }
.carte-surprise .bande-num { color: var(--doux); }
.carte-vote { background: rgba(255, 229, 138, 0.12); color: #f4f7f2; border: 2px solid var(--or); }
.contenu .carte-vote h3, .carte-vote .bande-num, .carte-vote .carte-lien { color: var(--or); }
.principes { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.principes li { padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 16px; }
.principes b { display: block; margin-bottom: 4px; font-family: 'Baloo 2', sans-serif; font-size: 20px; color: var(--or); }
.encadre-prevenir { margin: 0 0 10px; padding: 4px 24px 18px; border-radius: 22px; background: var(--fond2); text-align: center; }
.contenu .encadre-prevenir h2 { margin-top: 16px; text-align: center; }
.bouton-prevenir { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--or); color: #2b2010; font-weight: 800; text-decoration: none; }
.bouton-prevenir:hover { background: #fff3c4; }
@media (max-width: 860px) { .cartes-tomes, .principes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cartes-tomes, .principes { grid-template-columns: 1fr; } .carte-tome img, .carte-tome .vignette-vide { width: 140px; } }
/* Page Enseignants : la mention « (en préparation) » dans le titre du tome 2 */
.contenu h2 .en-preparation { font-size: 0.7em; font-weight: 700; color: var(--doux); }

/* L'accueil, porte d'entrée du site : la phrase, trois portes (une ligne chacune), la collection, le principe, le carnet */
.entree { margin: 16px 0 34px; text-align: center; }
.entree .entree-titre { max-width: 900px; margin: 0 auto 22px; font-size: clamp(28px, 4vw, 42px); line-height: 1.12; color: var(--or); text-shadow: none; }
.portes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.porte { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 229, 138, 0.35); }
.porte:hover { background: rgba(255, 255, 255, 0.11); }
.porte:focus-within { outline: 3px solid var(--or); outline-offset: 3px; }
.porte svg { flex: none; color: var(--or); }
.porte-titres { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.porte-nom { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 24px; line-height: 1.1; color: var(--or); text-decoration: none; }
.porte-nom::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
.porte-nom:focus-visible { outline: none; }
.porte-public { color: var(--doux); font-size: 14px; font-weight: 700; }
.porte-suite { font-size: 22px; color: var(--or); }
.section-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin: 0 0 14px; }
.section-tete h2 { margin: 0; text-align: left; }
.section-tete a { font-weight: 800; }
.vitrine-tomes { margin-bottom: 34px; }
.vitrine-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 16px; }
.vitrine-tome { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18); }
.vitrine-tome img, .vitrine-tome .vignette-vide { width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; object-fit: cover; font-size: 56px; }
.vitrine-tome .bande-num { margin: 4px 0 0; }
.vitrine-tome h3 { margin: 0; font-size: 21px; line-height: 1.15; }
.vitrine-tome p { margin: 0; font-size: 15px; }
.vitrine-lien { color: var(--or); text-decoration: none; }
.vitrine-lien::after { content: ''; position: absolute; inset: 0; border-radius: 20px; }
.vitrine-tome:focus-within { outline: 3px solid var(--or); outline-offset: 3px; }
.vitrine-une { padding: 0; overflow: hidden; border: 2px solid var(--or); }
.vitrine-une img { aspect-ratio: auto; height: 170px; border-radius: 0; }
.vitrine-texte { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.vitrine-une h3 { font-size: 27px; }
.vitrine-bouton { align-self: flex-start; margin-top: 6px; padding: 8px 16px; border-radius: 999px; background: var(--or); color: #2b2010; font-weight: 800; font-size: 15px; }
.vitrine-tome2 .bande-num, .vitrine-tome2 .vitrine-lien { color: #ffd3dc; }
.vitrine-surprise { background: transparent; border: 2px dashed rgba(255, 255, 255, 0.35); }
.vitrine-vote { background: rgba(255, 229, 138, 0.1); border-color: rgba(255, 229, 138, 0.5); }
.vitrine-vote .bande-num { color: var(--or); }
.carnet-une { list-style: none; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.carnet-une li { position: relative; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); }
.carnet-une .surtitre { margin: 0 0 4px; }
.carnet-une a { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 21px; line-height: 1.15; color: var(--or); text-decoration: none; }
.carnet-une a::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
.carnet-une li:focus-within { outline: 3px solid var(--or); outline-offset: 3px; }
@media (max-width: 860px) {
  .portes { grid-template-columns: 1fr; gap: 10px; }
  .vitrine-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vitrine-une { grid-column: 1 / -1; }
  .carnet-une { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .entree { text-align: left; }
  .entree .entree-titre { margin-left: 0; }
}
@media (max-width: 480px) {
  .vitrine-liste { gap: 10px; }
  .vitrine-tome { padding: 10px; }
  .vitrine-tome h3 { font-size: 16px; }
  .vitrine-tome .bande-num { font-size: 11px; letter-spacing: 0.03em; }
  .vitrine-tome .vignette-vide { font-size: 34px; }
  .vitrine-une h3 { font-size: 24px; }
}

/* Le sélecteur de tome, en haut de la page de chaque tome : des onglets en pastilles ; il défile au doigt sur téléphone */
.selecteur-tomes { display: flex; align-items: center; gap: 10px; margin: 6px 0 26px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); }
.selecteur-tomes ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.selecteur-tomes ul::-webkit-scrollbar { display: none; }
.onglet-tome { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 16px 4px 4px; border-radius: 999px; color: #f4f7f2; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; }
.onglet-tome img, .onglet-tome .vignette-vide { width: 36px; height: 36px; border-radius: 50%; flex: none; font-size: 18px; }
a.onglet-tome:hover { background: rgba(255, 255, 255, 0.1); }
.onglet-actuel { background: var(--or); color: #2b2010; font-weight: 800; }
a.onglet-actuel:hover { background: #fff0b8; }
.onglet-tome2.onglet-actuel { background: #ffd3dc; color: #3a1220; }
.onglet-surprise { color: var(--doux); }
.onglet-actuel .vignette-vide { color: #2b2010; border-color: #2b2010; background: none; }
.selecteur-tout { flex: none; padding: 0 14px; font-weight: 800; font-size: 15px; white-space: nowrap; }
@media (max-width: 860px) {
  /* téléphone et tablette : sans cadre, les pastilles défilent au doigt, « Toute la collection » dessous */
  .selecteur-tomes { flex-wrap: wrap; gap: 4px; margin-bottom: 20px; padding: 0; background: none; border: 0; border-radius: 0; }
  .selecteur-tomes ul { flex-basis: 100%; margin-right: -16px; padding-right: 16px; }
  .onglet-tome { background: rgba(255, 255, 255, 0.07); }
  .onglet-actuel { background: var(--or); }
  .onglet-tome2.onglet-actuel { background: #ffd3dc; }
  .selecteur-tout { display: inline-flex; align-items: center; min-height: 36px; padding: 0 4px; font-size: 14px; }
}
.onglet-texte { display: flex; flex-direction: column; line-height: 1.15; }
.onglet-num { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.onglet-nom { font-size: 15px; }
.principes-accueil h2 { text-align: left; }
/* L'accueil anglais : la langue du jeu sous la phrase, la note sous la collection */
.entree .langue-jeu { max-width: 760px; margin: 0 auto 22px; text-align: left; }
.vitrine-note { margin: 10px 0 0; font-size: 14px; color: var(--doux); }
/* Les comptes à suivre (pied de page, accueil) : pictogramme + nom, zone de clic de 44 px */
.reseaux { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 14px; }
.reseau { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; }
.entree-instagram { margin: 14px 0 0; font-size: 16px; color: var(--doux); }
.entree-instagram .reseau { display: inline; color: var(--or); }
.entree-instagram .reseau svg { vertical-align: -5px; margin-right: 4px; }
/* Page « Participer à l'aventure » : une carte par rôle, un bouton qui prépare le mail */
.aide-cadre { background: rgba(255, 255, 255, 0.07); border-left: 4px solid var(--or); border-radius: 10px; padding: 12px 16px; }
.aide-roles { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.aide-role { display: flex; flex-direction: column; gap: 8px; background: var(--carte); color: var(--texte-carte); border-radius: 20px; padding: 20px; }
.aide-role a:not(.aide-bouton) { color: var(--vert); }
.aide-icone { font-size: 32px; line-height: 1; }
.contenu .aide-role h2 { margin: 0; font-size: 21px; line-height: 1.2; color: var(--texte-carte); text-align: left; }
.aide-role p { margin: 0; font-size: 16px; }
.aide-temps { font-size: 15px; color: #4a4038; }
.aide-bouton { margin-top: auto; align-self: flex-start; color: var(--texte-carte); border-color: var(--vert); }
.aide-bouton:hover { background: rgba(38, 122, 76, 0.1); }
.aide-etapes li { margin-bottom: 8px; }
.aide-role:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 700px) { .aide-roles { grid-template-columns: 1fr; } }
/* Bandeau d'annonce en haut de l'accueil, pour un événement daté (le vote du tome 4) : non collant, retiré ensuite */
.bandeau-annonce { background: linear-gradient(90deg, #2a0f18, #6e2234 50%, #2a0f18); border-bottom: 1px solid rgba(255, 211, 220, 0.35); color: #fff; }
.bandeau-annonce p { max-width: 1100px; margin: 0 auto; padding: 10px 16px; text-align: center; font-size: 16px; line-height: 1.45; }
.bandeau-annonce b { color: #ffd3dc; }
.bandeau-annonce a { color: var(--or); font-weight: 800; white-space: nowrap; }
.bandeau-annonce a::after { content: ' →' / ''; } /* flèche décorative, non lue par les lecteurs d'écran */
/* Annonce du lancement du tome 1 sur l'accueil (retirée après les premières semaines) */
.lancement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: center; max-width: 960px; margin: 0 auto 26px; padding: 18px; text-align: left; background: rgba(255, 229, 138, 0.08); border: 2px solid var(--or); border-radius: 24px; }
.lancement-video { position: relative; display: block; border-radius: 16px; overflow: hidden; }
.lancement-video img { display: block; width: 100%; height: auto; }
.lancement-lecture { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: rgba(15, 42, 29, 0.8); border: 2px solid var(--or); color: var(--or); font-size: 26px; padding-left: 4px; }
.lancement-video:hover .lancement-lecture { background: var(--or); color: #0b1f15; }
.lancement-sur { margin: 0; text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; font-weight: 800; color: var(--or); }
.lancement h2 { margin: 4px 0 8px; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; text-align: left; }
.lancement p { margin: 0 0 12px; font-size: 17px; }
.lancement-boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lancement-boutons .badge-play img { height: 54px; width: auto; }
@media (max-width: 760px) { .lancement { grid-template-columns: 1fr; padding: 14px; } }

/* Soutenir Tardi (campagne Ulule) */
.soutenir-appel { margin: 18px 0; }
.soutenir-etapes { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.soutenir-etapes li { background: rgba(255, 255, 255, 0.07); border-radius: 14px; padding: 12px 16px; }
.soutenir-montant { display: inline-block; min-width: 4.5em; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 20px; color: var(--or); }
.soutenir-budget { list-style: none; padding: 0; display: grid; gap: 12px; }
.soutenir-barre { display: block; width: max(var(--part), 4.5em); background: var(--vert); border-radius: 8px; padding: 4px 10px; margin-bottom: 4px; color: #fff; }
.bandeau-annonce p + p { padding-top: 0; }
.soutenir-encart { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; max-width: 960px; margin: 0 auto 26px; padding: 16px 20px; text-align: left; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 229, 138, 0.45); border-radius: 20px; }
.soutenir-encart > div { flex: 1 1 360px; }
.soutenir-encart h2 { margin: 0 0 4px; font-size: 22px; text-align: left; }
.soutenir-encart p { margin: 0; font-size: 16px; }
