@font-face { font-family: "Bricolage Grotesque"; font-weight: 500 800; font-display: swap; src: url(fonts/bricolage-grotesque-500-800.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url(fonts/atkinson-hyperlegible-400.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url(fonts/atkinson-hyperlegible-700.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500 700; font-display: swap; src: url(fonts/jetbrains-mono-500-700.woff2) format("woff2"); }

/* Le site est le dossier d'inscription du candidat, lu sur le terminal d'Alpha Lyca :
   fond d'encre du prologue du jeu, une couleur par voix (cyan Alpha Lyca, or Hoshi, bleu froid Ananké). */
:root {
  color-scheme: dark;
  --encre: #0E1020;        /* fond du prologue */
  --encre-2: #151A30;      /* panneaux */
  --encre-3: #1D2340;      /* panneaux relevés */
  --trait: #2C3358;
  --texte: #F2ECD8;        /* crème du prologue */
  --sourd: #A9ACC8;
  --lyca: #8FD3FF;         /* voix d'Alpha Lyca */
  --lyca-fond: #16223A;
  --lyca-bord: #2C5A8A;
  --hoshi: #F2C94C;        /* voix de Hoshi */
  --papier: #E9E4D6;
  --papier-bord: #C9C2AE;
  --ananke: #9FB4D9;       /* voix d'Ananké */
  --alerte: #FF6B70;
  --bouton: #3A4BB8;
  --bouton-encre: #FFFFFF;
  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --large: 1120px;
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--encre); color: var(--texte); font-family: var(--f-body); font-size: 18px; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--lyca); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--hoshi); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; line-height: 1.08; }
h1, h2 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 24px; font-weight: 700; }
p { margin: 0; }
.cadre { max-width: var(--large); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.etiquette { font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sourd); }
.etiquette.lyca { color: var(--lyca); } .etiquette.hoshi { color: var(--hoshi); } .etiquette.ananke { color: var(--ananke); }
.mat { font-variant-numeric: tabular-nums; }
section { padding-block: clamp(56px, 9vw, 104px); }
.tete { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.tete p { color: var(--sourd); font-size: 19px; max-width: 62ch; }

/* Barre du haut : le nom du site, centré, qui ramène à l'accueil */
.barre { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-block: 24px 10px; }
.marque { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: .14em; text-transform: uppercase; color: var(--texte); text-decoration: none; }
.marque .nom { display: grid; justify-items: center; line-height: 1.15; text-align: center; }
.marque small { font-family: var(--f-body); font-weight: 400; font-size: 16px; letter-spacing: .02em; text-transform: none; color: var(--hoshi); }

/* Ouverture */
.ouverture { padding-block: clamp(28px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.ouverture { padding-bottom: clamp(36px, 5vw, 56px); }
.ouverture h1 { font-size: clamp(40px, 7.2vw, 78px); font-weight: 800; letter-spacing: -.02em; margin: 16px 0 24px; }
.ouverture h1 span { display: block; }
.ouverture h1 .eteint { color: #6F7598; }
.replique { font-size: 20px; line-height: 1.5; border-left: 3px solid var(--lyca); padding-left: 18px; max-width: 34em; }
.replique cite { display: block; margin-top: 8px; font-style: normal; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 14px 26px; border-radius: 999px; font-family: var(--f-display); font-weight: 700; font-size: 19px; text-decoration: none; background: var(--bouton); color: var(--bouton-encre); border: 2px solid var(--bouton); transition: transform .15s ease, background .15s ease; }
.btn:hover { background: #4658CC; transform: translateY(-1px); }
.btn.sec { background: transparent; color: var(--texte); border-color: var(--trait); }
.btn.sec:hover { background: var(--encre-2); }
.sous-actions { margin-top: 14px; color: var(--sourd); font-size: 16px; }

/* Les tuiles : les portes vers les autres pages */
.portes { padding-block: 0 clamp(56px, 8vw, 96px); }
.tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: tuile; }
.tuiles li { counter-increment: tuile; display: grid; }
.tuile { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; align-content: start; padding: 20px; border-radius: 22px; background: var(--encre-2); border: 1px solid var(--trait); color: var(--texte); text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.tuile:hover { border-color: var(--hoshi); transform: translateY(-2px); }
.tuile .vignette { height: 92px; border-radius: 12px; background: var(--encre); border: 1px solid var(--trait); overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; align-content: center; justify-content: center; gap: 6px; padding: 10px; }
.tuile .vignette.image { padding: 0; }
.tuile .vignette.image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tuile .vignette i { width: 16px; height: 16px; border-radius: 4px; background: var(--c); }
.tuile .vignette span { padding: 3px 7px; border-radius: 6px; background: var(--encre-3); color: var(--lyca); font-family: var(--f-mono); font-size: 12px; font-weight: 700; }
.tuile .vignette .visage { height: 68px; width: auto; image-rendering: pixelated; }
.tuile b { font-family: var(--f-display); font-size: 22px; font-weight: 800; line-height: 1.15; }
.tuile b::before { content: counter(tuile) " · "; color: var(--hoshi); font-family: var(--f-mono); font-size: 16px; }
.tuile p { color: var(--sourd); font-size: 17px; line-height: 1.45; }
.tuile em { font-family: var(--f-mono); font-style: normal; font-weight: 700; font-size: 14px; color: var(--lyca); }
.portes.suite { padding-block: clamp(40px, 6vw, 64px); }
.portes.suite .etiquette { margin-bottom: 16px; }
.portes.suite .tuiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.portes.suite .tuile { grid-template-rows: 1fr auto; padding: 16px 18px; border-radius: 16px; }
.portes.suite .tuile .vignette, .portes.suite .tuile p { display: none; }
.portes.suite .tuile b { font-size: 19px; }
.portes.suite .tuile b::before { content: none; }
.portes.suite .actions { margin-top: 24px; }
@media (max-width: 980px) { .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tuiles, .portes.suite .tuiles { grid-template-columns: minmax(0, 1fr); } }

/* Les captures du jeu, à faire défiler sur l'accueil */
.defile { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; padding-left: max(20px, env(safe-area-inset-left, 0px), calc((100vw - var(--large)) / 2 + 20px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); scrollbar-color: var(--trait) transparent; }
.defile figure { flex: none; margin: 0; scroll-snap-align: center; display: grid; gap: 12px; align-content: start; }
.defile img { height: min(480px, 62vh); width: auto; max-width: 78vw; object-fit: cover; object-position: top; }
.defile figcaption { width: 0; min-width: 100%; font-size: 17px; line-height: 1.45; color: #D9D4C2; }
.fleches { display: flex; gap: 10px; margin-top: 18px; }
.fleches button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--trait); background: var(--encre-2); color: var(--texte); font-size: 20px; cursor: pointer; }
.fleches button:hover { background: var(--encre-3); }
.ouverture .defile { margin-top: 26px; }
.ouverture .defile img { height: min(420px, 52vh); }
.ouverture .fleches { margin-top: 14px; }
.fleches[hidden] { display: none; }
/* Les portes de l'accueil : la même bande que les captures, mais chaque écran mène à une page */
.portes .defile { list-style: none; margin: 16px 0 0; counter-reset: tuile; }
.defile li { flex: none; scroll-snap-align: center; counter-increment: tuile; }
.portes .defile img.ecran, .portes .defile .trio { height: min(420px, 52vh); }
.porte { display: grid; gap: 12px; align-content: start; color: var(--texte); text-decoration: none; }
.porte .ecran { transition: outline-color .15s ease; }
.porte:hover .ecran, .porte:focus-visible .ecran { outline: 2px solid var(--hoshi); }
.porte .legende { width: 0; min-width: 100%; display: grid; gap: 6px; }
.porte b { font-family: var(--f-display); font-size: 22px; font-weight: 800; line-height: 1.15; }
.porte b::before { content: counter(tuile) " · "; color: var(--hoshi); font-family: var(--f-mono); font-size: 16px; }
.porte .legende span { color: var(--sourd); font-size: 17px; line-height: 1.45; }
.porte em { font-family: var(--f-mono); font-style: normal; font-weight: 700; font-size: 14px; color: var(--lyca); }
.defile .trio { width: auto; aspect-ratio: 720 / 1277; display: grid; align-content: space-evenly; justify-items: center; background: var(--encre-2); }
.trio .membre { display: grid; justify-items: center; gap: 6px; }
.trio .visage { height: 84px; width: auto; max-width: none; image-rendering: pixelated; border: 0; outline: 0; }
.trio i { font-family: var(--f-mono); font-style: normal; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.trio .lyca i { color: var(--lyca); } .trio .hoshi i { color: var(--hoshi); } .trio .ananke i { color: var(--ananke); }
@media (max-height: 760px) { .trio .visage { height: 64px; } }

/* La fiche de l'IA attribuée */
.fiche { background: var(--encre-2); border: 1px solid var(--trait); border-radius: 22px; overflow: hidden; }
.fiche-tete { display: flex; align-items: center; gap: 18px; padding: 22px; }
.portrait { flex: none; width: 118px; padding: 8px; border-radius: 16px; line-height: 0; background: var(--lyca-fond); border: 2px solid var(--lyca-bord); }
.portrait img { width: 100%; height: auto; display: block; image-rendering: pixelated; }
.portrait.papier { background: var(--papier); border-color: var(--papier-bord); }
.portrait.froid { background: #101626; border-color: #3A4868; }
.fiche-tete h2 { font-size: 30px; margin-top: 4px; }
.fiche dl { margin: 0; border-top: 1px solid var(--trait); font-family: var(--f-mono); font-size: 15px; }
.fiche dl div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 10px; padding: 11px 22px; border-bottom: 1px solid var(--trait); }
.fiche dt { color: var(--sourd); }
.fiche dd { margin: 0; }
.fermeture { display: flex; align-items: center; gap: 14px; padding: 16px 22px; background: #101626; }
.fermeture img { width: 44px; height: auto; image-rendering: pixelated; flex: none; }
.fermeture p { font-size: 16px; line-height: 1.35; color: var(--ananke); min-width: 0; }
.compte { margin-left: auto; font-family: var(--f-mono); font-weight: 700; font-size: 26px; color: var(--alerte); font-variant-numeric: tabular-nums; }

/* Le principe : trois temps qui se suivent vraiment */
.principe { background: var(--encre-2); border-block: 1px solid var(--trait); }
.temps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); counter-reset: temps; list-style: none; padding: 0; margin: 0; }
.temps li { counter-increment: temps; display: grid; gap: 12px; align-content: start; }
.temps li::before { content: counter(temps); font-family: var(--f-mono); font-weight: 700; font-size: 15px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--hoshi); color: var(--hoshi); }
.temps p { color: #D9D4C2; }
.temps .perte { color: var(--alerte); }
.echeances { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; padding: 0; list-style: none; font-family: var(--f-mono); font-size: 14px; font-weight: 700; }
.echeances li { counter-increment: none; display: block; padding: 5px 10px; border-radius: 8px; background: var(--encre-3); color: var(--lyca); }
.echeances li::before { content: none; }

/* Un élément qui se touche pour montrer un exemple tiré du jeu */
.a-exemple { cursor: pointer; }
.exemple-btn { justify-self: start; padding: 6px 0; min-height: 44px; background: none; border: 0; color: var(--lyca); font-family: var(--f-mono); font-weight: 700; font-size: 14px; cursor: pointer; text-align: left; }
.exemple-btn::before { content: "↓ "; }
.exemple-btn[aria-expanded="true"]::before { content: "↑ "; }
.a-exemple:hover h3, .a-exemple:hover > b { color: var(--lyca); }
.exemple { display: grid; gap: 12px; padding: 16px; border-radius: var(--r); background: var(--encre); border: 1px solid var(--trait); border-left: 3px solid var(--lyca); cursor: auto; }
.exemple[hidden] { display: none; }
.exemple figure { margin: 0; display: grid; gap: 10px; }
.exemple .ecran { max-width: 300px; margin: 0 auto; border-radius: 18px; }
.exemple figcaption, .exemple p { font-size: 16px; line-height: 1.5; color: #D9D4C2; }
.exemple .etiquette { color: var(--lyca); font-size: 12px; }
.exemple .enonce { font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--texte); }
.exemple .src { color: var(--sourd); font-size: 15px; }
.exemple .faux { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 6px; background: var(--alerte); color: #1B0B0C; font-family: var(--f-mono); font-weight: 700; font-size: 13px; }

/* L'île */
.ile .cadre { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.ile .texte { display: grid; gap: 18px; }
.ile .texte p { max-width: 34em; }
.ages { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; }
.ages button { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--trait); background: none; color: var(--sourd); font-family: var(--f-mono); font-size: 14px; font-weight: 700; cursor: pointer; }
.ages button:hover { color: var(--texte); border-color: var(--sourd); }
.ages button[aria-selected="true"] { border-color: var(--hoshi); background: var(--hoshi); color: #1B1D2E; }
.age-vue { border-radius: 22px; overflow: hidden; background: var(--encre-2); border: 1px solid var(--trait); }
.age-scene { position: relative; aspect-ratio: 9 / 5; background: #A3D98A; }
.age-scene img { display: block; width: 100%; height: 100%; object-fit: cover; }
.age-scene.bientot img { filter: grayscale(.7) brightness(.6); }
.age-scene .tampon { position: absolute; left: 14px; top: 14px; padding: 4px 10px; border-radius: 8px; background: var(--encre); color: var(--hoshi); font-family: var(--f-mono); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.age-fiche { display: grid; gap: 12px; padding: clamp(16px, 3vw, 24px); }
.age-fiche h3 { font-size: 28px; }
.age-fiche p { color: #D9D4C2; }
.besoins { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.besoins li { padding: 5px 10px; border-radius: 8px; background: var(--encre-3); color: var(--lyca); font-family: var(--f-mono); font-size: 14px; font-weight: 700; }
.age-fiche .passage { color: var(--sourd); font-size: 16px; }
.ecran { display: block; width: 100%; height: auto; border-radius: 22px; border: 6px solid #05060E; outline: 1px solid var(--trait); background: #05060E; }
.ile-carte { margin: 0; display: grid; gap: 10px; }
.ile-carte figcaption { color: var(--sourd); font-size: 16px; line-height: 1.45; }

/* Les voix */
.voix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.carte { display: grid; gap: 14px; align-content: start; padding: 24px; border-radius: 22px; background: var(--encre-2); border: 1px solid var(--trait); }
.carte .portrait { width: 104px; }
.carte blockquote { margin: 0; font-size: 19px; line-height: 1.5; }
.carte .role { color: var(--sourd); font-size: 17px; }
.carte.lyca { border-top: 3px solid var(--lyca); } .carte.hoshi { border-top: 3px solid var(--hoshi); } .carte.ananke { border-top: 3px solid var(--ananke); }

.attribution { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(24px, 5vw, 64px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
.attribution .texte { display: grid; gap: 14px; }
.attribution .texte p { color: #D9D4C2; max-width: 34em; }

/* Le programme */
.programme { background: var(--encre-2); border-block: 1px solid var(--trait); }
.arbres { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 4px 28px; list-style: none; padding: 0; margin: 0; }
.arbres { grid-auto-flow: dense; }
.arbres > li { border-bottom: 1px solid var(--trait); min-width: 0; }
.arbre-btn { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 4px 12px; width: 100%; height: 100%; align-content: start; padding: 14px 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.arbre-btn i { width: 14px; height: 14px; border-radius: 4px; margin-top: 7px; background: var(--c); }
.arbre-btn b { font-family: var(--f-display); font-size: 20px; font-weight: 700; }
.arbre-btn span { grid-column: 2; color: var(--sourd); font-size: 17px; line-height: 1.45; }
.arbre-btn em { grid-column: 2; font-family: var(--f-mono); font-style: normal; font-weight: 700; font-size: 14px; color: var(--c); margin-top: 2px; }
.arbre-btn em::after { content: "  ↓ voir l'arbre"; white-space: pre; color: var(--sourd); font-weight: 500; }
.arbre-btn em[data-voir]::after { content: "  ↓ " attr(data-voir); }
.arbre-btn[aria-expanded="true"] em::after, .arbre-btn[aria-expanded="true"] em[data-voir]::after { content: "  ↑ replier"; }
.arbre-btn:hover b, .arbre-btn[aria-expanded="true"] b { color: var(--c); }
.arbres > li.arbre-complet { grid-column: 1 / -1; border: 1px solid var(--trait); border-top: 3px solid var(--c); border-radius: 0 0 22px 22px; background: var(--encre); padding: clamp(16px, 3vw, 30px); margin: 4px 0 18px; }
.arbre-entete { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 22px; }
.arbre-entete h3 { color: var(--c); font-size: 28px; }
.arbre-entete p { color: var(--sourd); font-size: 16px; margin-top: 4px; }
.arbre-entete button { flex: none; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--trait); background: var(--encre-2); color: var(--texte); font: inherit; font-size: 16px; cursor: pointer; }
.branches { max-width: 760px; margin: 0 auto; }
.rang-a { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rang-a.seul { grid-template-columns: minmax(0, 373px); justify-content: center; }
.noeud { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border-radius: var(--r); background: var(--encre-2); border: 1px solid var(--trait); }
.noeud small { font-family: var(--f-mono); font-weight: 700; font-size: 13px; color: var(--c); }
.noeud b { font-family: var(--f-display); font-size: 18px; line-height: 1.2; }
.noeud p { color: var(--sourd); font-size: 15px; line-height: 1.45; }
.liens { display: block; width: 100%; height: 30px; }
.liens path { fill: none; stroke: var(--c); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: .75; }
.donjons-tete { display: grid; gap: 12px; max-width: 760px; margin: clamp(40px, 6vw, 64px) 0 22px; }
.donjons-tete h3 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; }
.donjons-tete p { color: var(--sourd); font-size: 19px; }
.arbre-entete .ouvre { color: var(--c); font-family: var(--f-mono); font-size: 14px; font-weight: 700; }
.arbre-complet .intro { max-width: 760px; margin: 0 auto 22px; display: grid; gap: 10px; color: #D9D4C2; }
.arbre-complet .intro .src { color: var(--sourd); font-size: 16px; }
.etapes { max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .etapes { grid-template-columns: minmax(0, 1fr); } }
.inventaire { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 24px; margin: 44px 0 0; padding: 26px 0 0; border-top: 1px solid var(--trait); }
.inventaire div { display: grid; gap: 2px; }
.inventaire dt { order: 2; color: var(--sourd); font-size: 16px; }
.inventaire dd { margin: 0; font-family: var(--f-mono); font-weight: 700; font-size: 30px; color: var(--hoshi); font-variant-numeric: tabular-nums; }
.note { margin-top: 18px; color: var(--sourd); font-size: 16px; }


/* Rien d'inventé */
.sources .cadre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.sources .texte { display: grid; gap: 16px; }
.sources ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.sources li { display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--r); background: var(--encre-2); border: 1px solid var(--trait); }
.sources li > b { display: block; font-family: var(--f-display); font-size: 19px; }
.sources li > span { color: var(--sourd); font-size: 17px; }

/* Signature */
.signature { background: var(--papier); color: #1B1D2E; }
.signature .cadre { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: center; }
.signature .portrait { width: 132px; }
.signature h1, .signature h2 { font-size: clamp(34px, 6vw, 60px); }
.signature blockquote { margin: 12px 0 0; font-size: 20px; max-width: 34em; }
.signature .etiquette { color: #6A5A14; }
.signature .btn.sec { color: #1B1D2E; border-color: #1B1D2E; }
.signature .btn.sec:hover { background: #DCD6C4; }
.signature .btn.don { background: #F2C94C; border-color: #1B1D2E; color: #1B1D2E; }
.signature .btn.don:hover { background: #F7D76E; }
.signature .sous-actions { color: #4A4C60; }
.signature .sous-actions a { color: #1F2C7A; }
.signature a:focus-visible { outline-color: #1B1D2E; }

footer { padding-block: 34px 44px; color: var(--sourd); font-size: 16px; }
footer .cadre { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; }
footer p { max-width: 60ch; }

@media (max-width: 860px) {
  .ile .cadre, .sources .cadre, .attribution { grid-template-columns: minmax(0, 1fr); }
  .ile-carte .ecran { max-width: 420px; margin: 0 auto; }
  .temps, .voix { grid-template-columns: minmax(0, 1fr); }
  .signature .cadre { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .btn { width: 100%; }
  .fiche dl div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .portrait { width: 96px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
