/*
 * Nucleus Africa 2050 — calque de données des écrans « image HD ».
 *
 * Chaque écran est son image HD. Là où l'image portait des données, elles ont été
 * effacées (deploy/maquettes/regions.json) : ce calque y pose les données de la base,
 * au même endroit et dans le même style.
 *
 * Unité : 1 px de l'image de référence (1487 × 1058) = var(--u). Tout suit la largeur.
 * Polices les plus proches des images : Source Serif 4 (titres) et IBM Plex Sans (texte).
 */
@font-face { font-family: "Source Serif 4"; src: url("polices/SourceSerif4.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("polices/IBMPlexSans.woff2") format("woff2"); font-weight: 100 700; font-stretch: 85% 100%; font-display: swap; }

.calque { position: absolute; inset: 0; z-index: 4; pointer-events: none; --u: calc(100cqw / 1487); font-family: "IBM Plex Sans", Arial, sans-serif; font-stretch: 93%; color: #18313c; }
.calque * { box-sizing: border-box; }
.calque a, .calque button, .calque input, .calque select, .calque label, .calque .defile { pointer-events: auto; }

/* Boîte posée en pixels de référence : style="--x;--y;--w;--h" */
.b { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); margin: 0; }
.fs { font-size: calc(var(--fs, 14) * var(--u)); }
.serif { font-family: "Source Serif 4", Georgia, serif; }
.ligne { display: flex; align-items: center; white-space: nowrap; overflow: hidden; }
.droite { justify-content: flex-end; }
.centre { justify-content: center; text-align: center; }
.maj { text-transform: uppercase; letter-spacing: .08em; }
.lien-nu { color: inherit; text-decoration: none; }
.calque a:focus-visible, .calque button:focus-visible, .calque input:focus-visible, .calque select:focus-visible { outline: calc(2 * var(--u)) solid #91eb29; outline-offset: calc(1 * var(--u)); }

/* Défilement interne d'un panneau dont la liste réelle dépasse l'image */
.defile { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b9cfcb transparent; }
.defile::-webkit-scrollbar { width: calc(6 * var(--u)); }
.defile::-webkit-scrollbar-thumb { background: #b9cfcb; border-radius: 99px; }

/* Champs posés sur les champs de l'image : l'image garde bordure et chevron */
.champ-img { border: 0; outline: 0; background: transparent; padding: 0; margin: 0; color: #30466a; font: inherit; width: 100%; height: 100%; appearance: none; -webkit-appearance: none; cursor: pointer; }
.champ-img::placeholder { color: #7a88a2; opacity: 1; }
input.champ-img { cursor: text; }
select.champ-img option { color: #18313c; }

/* Niveaux de preuve (couleurs relevées sur les images) */
.niv { display: inline-flex; align-items: center; gap: calc(9 * var(--u)); height: calc(26 * var(--u)); padding: 0 calc(12 * var(--u)) 0 calc(10 * var(--u)); border-radius: calc(7 * var(--u)); font-weight: 500; }
.niv i { width: calc(11 * var(--u)); height: calc(11 * var(--u)); border-radius: 50%; flex: none; }
.niv-O1 { background: #def5e5; color: #0a3d22; } .niv-O1 i { background: #035f2b; }
.niv-O2 { background: #eaf1f9; color: #12306e; } .niv-O2 i { background: #08589b; }
.niv-S1 { background: #f8edd8; color: #4a2a0e; } .niv-S1 i { background: #b78533; }
.niv-D { background: #f7e4d2; color: #7a2c10; } .niv-D i { background: #bd510c; }
.niv-H { background: #eee7f5; color: #2c1a72; } .niv-H i { background: #663a98; }
.niv-X { background: #e8e8e7; color: #1c2033; } .niv-X i { background: #7a7c82; }

/* Knowledge — filtres de gauche */
.k-niveau { display: flex; white-space: nowrap; align-items: center; padding: 0 calc(7 * var(--u)); border-radius: calc(8 * var(--u)); color: #536c8e; text-decoration: none; }
.k-niveau.on { background: #e5f5e9; color: #1c3440; }
.k-niveau .lib { margin-left: calc(12 * var(--u)); font-size: calc(14.2 * var(--u)); }
.k-niveau .nb { margin-left: auto; padding-left: calc(6 * var(--u)); color: #5b7597; }
.k-niveau .lib { overflow: hidden; text-overflow: ellipsis; }
.k-niveau.on .nb { color: #32505e; }
.k-coche { display: block; text-decoration: none; }
.k-coche.on::before { content: ""; position: absolute; left: calc(9 * var(--u)); top: calc(7 * var(--u)); width: calc(16 * var(--u)); height: calc(16 * var(--u)); border-radius: calc(3 * var(--u)); background: #0e4d3c; }
.k-coche.on::after { content: ""; position: absolute; left: calc(14.5 * var(--u)); top: calc(9 * var(--u)); width: calc(5 * var(--u)); height: calc(9 * var(--u)); border: solid #fff; border-width: 0 calc(2 * var(--u)) calc(2 * var(--u)) 0; transform: rotate(45deg); }
.k-coche .nb { position: absolute; right: calc(9 * var(--u)); top: 0; bottom: 0; display: flex; align-items: center; color: #5b7597; }

/* Knowledge — résultats */
.k-res { display: block; position: relative; padding: calc(13 * var(--u)) calc(14 * var(--u)) calc(15 * var(--u)) calc(12 * var(--u)); border-radius: calc(9 * var(--u)); color: inherit; text-decoration: none; }
.k-res + .k-res::before { content: ""; position: absolute; left: calc(10 * var(--u)); right: calc(10 * var(--u)); top: 0; border-top: calc(1 * var(--u)) solid #e2e8e8; }
.k-res.on { background: #e4f5e9; }
.k-res.on::before, .k-res.on + .k-res::before { display: none; }
.k-res .haut { display: flex; align-items: center; gap: calc(10 * var(--u)); font-size: calc(13 * var(--u)); color: #48676c; white-space: nowrap; }
.k-res .haut b { color: #1b2a3a; font-weight: 600; }
.k-res .haut .sep { color: #b6c4c6; }
.k-res .haut .qui { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.k-res .haut .src { margin-left: auto; flex: none; }
.k-res .haut .niv, .k-res .haut b, .k-res .haut .sep, .k-res .haut .chev { flex: none; }
.k-res .haut .chev { width: calc(8 * var(--u)); height: calc(8 * var(--u)); border: solid #1b2a3a; border-width: calc(2 * var(--u)) calc(2 * var(--u)) 0 0; transform: rotate(45deg); margin: 0 calc(8 * var(--u)) 0 calc(14 * var(--u)); }
.k-res h3 { margin: calc(9 * var(--u)) 0 calc(5 * var(--u)); font: 600 calc(18 * var(--u))/1.22 "Source Serif 4", Georgia, serif; color: #0f1d2b; letter-spacing: -.01em; }
.k-res p { margin: 0; font-size: calc(14.5 * var(--u)); line-height: 1.32; color: #40608f; max-width: calc(440 * var(--u)); }

/* Knowledge — fiche de preuve */
.k-fiche h2 { margin: 0 0 calc(10 * var(--u)); font: 600 calc(24 * var(--u))/1.18 "Source Serif 4", Georgia, serif; color: #0c1726; letter-spacing: -.01em; }
.k-fiche .resume { margin: 0 0 calc(16 * var(--u)); font-size: calc(17 * var(--u)); line-height: 1.26; color: #4b6589; }
.k-faits { display: grid; grid-template-columns: 1.45fr 1fr 1.3fr; border-top: calc(1 * var(--u)) solid #e3e8e7; border-bottom: calc(1 * var(--u)) solid #e3e8e7; padding: calc(10 * var(--u)) 0 calc(12 * var(--u)); }
.k-faits > div { padding: 0 calc(10 * var(--u)); }
.k-faits > div + div { border-left: calc(1 * var(--u)) solid #e3e8e7; }
.k-faits > div:first-child { padding-left: 0; }
.k-faits small { display: block; font-size: calc(14 * var(--u)); color: #4e6486; margin-bottom: calc(8 * var(--u)); }
.k-faits .val { font: 600 calc(20 * var(--u))/1.15 "Source Serif 4", Georgia, serif; color: #0c1726; overflow-wrap: anywhere; }
.k-faits .niv { height: calc(34 * var(--u)); font-size: calc(19 * var(--u)); padding: 0 calc(18 * var(--u)) 0 calc(14 * var(--u)); }
.k-faits .niv i { width: calc(17 * var(--u)); height: calc(17 * var(--u)); }
.k-faits .lib-niv { display: block; margin-top: calc(9 * var(--u)); font: 500 calc(17 * var(--u)) "Source Serif 4", Georgia, serif; color: #0c1726; }
.k-sources-titre { margin: calc(16 * var(--u)) 0 calc(10 * var(--u)); font-size: calc(18 * var(--u)); font-weight: 500; color: #1b2a3a; }
.k-source { position: relative; border: calc(1 * var(--u)) solid #e6eaea; border-radius: calc(6 * var(--u)); background: #fff; padding: calc(12 * var(--u)) calc(12 * var(--u)) calc(12 * var(--u)) calc(56 * var(--u)); margin-bottom: calc(9 * var(--u)); font-size: calc(14 * var(--u)); color: #5b6e94; line-height: 1.75; }
.k-source svg { position: absolute; left: calc(15 * var(--u)); top: calc(14 * var(--u)); width: calc(24 * var(--u)); height: calc(28 * var(--u)); }
.k-source .titre { color: #253868; font-size: calc(15 * var(--u)); display: block; padding-right: calc(140 * var(--u)); line-height: 1.35; }
.k-source .url { color: #3e6fae; text-decoration: underline; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: calc(140 * var(--u)); }
.k-source .ouvrir { position: absolute; right: calc(12 * var(--u)); top: calc(12 * var(--u)); display: inline-flex; align-items: center; gap: calc(8 * var(--u)); height: calc(34 * var(--u)); padding: 0 calc(12 * var(--u)); border: calc(1.5 * var(--u)) solid #4e7b7e; border-radius: calc(6 * var(--u)); color: #1b2f3b; font-size: calc(13 * var(--u)); text-decoration: none; background: #fff; line-height: 1; }
.vide { color: #6b7f8c; font-size: calc(14 * var(--u)); line-height: 1.5; }

/* Observatoire — tableau État par État */
.o-ligne { position: relative; display: grid; grid-template-columns: calc(111 * var(--u)) calc(145 * var(--u)) calc(171 * var(--u)) calc(87 * var(--u)) calc(86 * var(--u)) calc(209 * var(--u)) 1fr; align-items: center; min-height: calc(48 * var(--u)); border-top: calc(1 * var(--u)) solid #e7ebe8; font-size: calc(14.5 * var(--u)); color: #2e4053; text-decoration: none; }
.o-ligne:first-child { border-top: 0; }
.o-ligne > span { padding: calc(6 * var(--u)) calc(10 * var(--u)); line-height: 1.2; }
.o-ligne > span + span { border-left: calc(1 * var(--u)) solid #edf0ec; align-self: stretch; display: flex; align-items: center; }
.o-ligne .etat { white-space: nowrap; letter-spacing: -.01em; color: #1f4ba0; text-decoration: underline; text-underline-offset: calc(3 * var(--u)); font-size: calc(14.5 * var(--u)); padding-left: calc(11 * var(--u)); }
.o-ligne .num { justify-content: center; }
.o-ligne .statut i { width: calc(12 * var(--u)); height: calc(12 * var(--u)); border-radius: 50%; margin-right: calc(10 * var(--u)); flex: none; }
.o-ligne.on { background: #dcf3e3; }
.o-ligne.on::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(3 * var(--u)); background: #3fae63; }
.segments { display: inline-flex; gap: calc(1.6 * var(--u)); margin-right: calc(12 * var(--u)); }
.segments i { width: calc(5.6 * var(--u)); height: calc(13 * var(--u)); border-radius: calc(1 * var(--u)); background: #d6dbe1; }
.segments i.plein { background: #0e7c4d; }
.o-num-cercle { display: inline-grid; place-items: center; width: calc(24 * var(--u)); height: calc(24 * var(--u)); border-radius: 50%; background: #ecebe5; color: #3a3e58; font-size: calc(14 * var(--u)); margin-right: calc(24 * var(--u)); flex: none; }
.o-barre { display: grid; grid-template-columns: calc(132 * var(--u)) calc(234 * var(--u)) 1fr; align-items: center; height: calc(27 * var(--u)); font-size: calc(14.5 * var(--u)); color: #1d2b4f; }
.o-barre .piste { height: calc(8 * var(--u)); border-radius: 99px; background: #e3e7e8; overflow: hidden; }
.o-barre .piste i { display: block; height: 100%; border-radius: 99px; background: #48a169; }
.o-barre b { font-weight: 400; text-align: right; padding-right: calc(8 * var(--u)); }

/* Atlas — carte, profil, pays en vedette */
.a-carte { overflow: visible; filter: drop-shadow(0 calc(2 * var(--u)) calc(3 * var(--u)) rgba(40, 50, 40, .18)); }
.a-carte path { stroke: #fbfaf5; stroke-width: 1.1; vector-effect: non-scaling-stroke; transition: filter .16s ease; }
.a-carte a:hover path, .a-carte a:focus-visible path { filter: brightness(1.08); }
.a-epingle { position: absolute; width: calc(26 * var(--u)); height: calc(26 * var(--u)); margin: calc(-13 * var(--u)) 0 0 calc(-13 * var(--u)); border-radius: 50%; background: radial-gradient(circle, #0d2a22 0 28%, #d8f15a 29% 45%, rgba(190, 235, 80, .45) 46% 70%, transparent 71%); pointer-events: none; }
.a-etiquette { position: absolute; padding: calc(3 * var(--u)) calc(11 * var(--u)); border: calc(1.5 * var(--u)) solid #1d3b34; border-radius: 99px; background: #fff; font-size: calc(13 * var(--u)); font-weight: 600; letter-spacing: .04em; color: #0d2a22; white-space: nowrap; transform: translate(-100%, 0); pointer-events: none; }
.a-trait { position: absolute; height: calc(1.5 * var(--u)); background: #1d3b34; transform-origin: 0 50%; pointer-events: none; }
.a-carte-pays { position: absolute; display: block; border: calc(1 * var(--u)) solid #d8dcda; border-radius: calc(3 * var(--u)); background: #fcfbf7; color: #16283a; text-decoration: none; }
.a-carte-pays.on { border: calc(2 * var(--u)) solid #87d98f; }
.a-carte-pays .iso { position: absolute; left: calc(88 * var(--u)); top: calc(13 * var(--u)); font-size: calc(11 * var(--u)); font-weight: 600; letter-spacing: .14em; color: #1b2a3a; }
.a-carte-pays .nom { position: absolute; left: calc(88 * var(--u)); top: calc(27 * var(--u)); font-size: calc(16 * var(--u)); color: #16283a; white-space: nowrap; }
.a-carte-pays .stat { position: absolute; left: calc(90 * var(--u)); right: calc(8 * var(--u)); top: calc(54 * var(--u)); display: flex; gap: calc(10 * var(--u)); font-size: calc(13.5 * var(--u)); line-height: 1.25; color: #243a57; }
.a-carte-pays .stat i { width: calc(11 * var(--u)); height: calc(11 * var(--u)); border-radius: 50%; flex: none; margin-top: calc(3 * var(--u)); }
.a-carte-pays .nb { position: absolute; left: calc(67 * var(--u)); top: calc(92 * var(--u)); font-size: calc(14.5 * var(--u)); line-height: 1.25; color: #243a57; }
.a-carte-pays svg.doc, .a-preuve svg.doc { position: absolute; width: calc(20 * var(--u)); height: calc(24 * var(--u)); }
.a-carte-pays svg.forme { position: absolute; left: calc(18 * var(--u)); top: calc(16 * var(--u)); width: calc(56 * var(--u)); height: calc(52 * var(--u)); }
.a-preuve { position: relative; }
.a-preuve p { margin: 0 0 0 calc(52 * var(--u)); font-size: calc(15 * var(--u)); line-height: 1.24; color: #1b2a3a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.a-preuve small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; margin: calc(4 * var(--u)) 0 0 calc(52 * var(--u)); font-size: calc(13 * var(--u)); color: #5b6e7e; }

/* Centre */
.c-onglet { position: absolute; display: flex; align-items: center; justify-content: center; font-size: calc(10.5 * var(--u)); color: #2d4056; text-decoration: none; border-radius: calc(2 * var(--u)); }
.c-onglet.on { background: #06372e; color: #fff; }
.c-onglet.off { background: #fbfaf5; }
.c-marque { position: absolute; width: calc(15 * var(--u)); height: calc(15 * var(--u)); margin: calc(-7.5 * var(--u)) 0 0 calc(-7.5 * var(--u)); border-radius: 50%; border: calc(2.5 * var(--u)) solid #fff; box-shadow: 0 0 0 calc(3 * var(--u)) rgba(255, 255, 255, .55), 0 0 calc(10 * var(--u)) var(--c); background: var(--c); pointer-events: none; }
.c-signal { position: absolute; left: 0; right: 0; border: calc(1 * var(--u)) solid #e4eae7; border-radius: calc(5 * var(--u)); background: #fdfdfa; color: inherit; text-decoration: none; }
.c-signal svg.forme { position: absolute; left: calc(14 * var(--u)); top: calc(12 * var(--u)); width: calc(34 * var(--u)); height: calc(52 * var(--u)); }
.c-signal b { position: absolute; left: calc(66 * var(--u)); right: calc(8 * var(--u)); top: calc(10 * var(--u)); font-size: calc(14 * var(--u)); font-weight: 600; color: #15253a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-signal p { position: absolute; left: calc(66 * var(--u)); right: calc(10 * var(--u)); top: calc(30 * var(--u)); margin: 0; font-size: calc(12.5 * var(--u)); line-height: 1.3; color: #55708c; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c-signal .pied { position: absolute; left: calc(14 * var(--u)); right: calc(14 * var(--u)); bottom: calc(8 * var(--u)); display: flex; align-items: center; font-size: calc(12.5 * var(--u)); color: #3f556d; }
.c-signal .pied svg { width: calc(16 * var(--u)); height: calc(20 * var(--u)); margin-right: calc(16 * var(--u)); }
.c-signal .pied span:last-child { margin-left: auto; }
.c-bulle { position: absolute; border: calc(1 * var(--u)) solid #cfe8d6; border-radius: calc(4 * var(--u)); background: rgba(255, 255, 255, .95); padding: calc(8 * var(--u)) calc(10 * var(--u)); font-size: calc(11.5 * var(--u)); color: #54708a; line-height: 1.3; text-decoration: none; }
.c-bulle b { display: block; font-size: calc(12.5 * var(--u)); color: #15253a; }
.c-bulle i { display: inline-block; width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%; margin-right: calc(6 * var(--u)); }
.c-bulle u { display: block; margin-top: calc(6 * var(--u)); color: #15253a; text-decoration: none; border-bottom: calc(1 * var(--u)) solid #15253a; width: max-content; }
.c-activite { position: absolute; left: 0; right: 0; display: block; color: inherit; text-decoration: none; padding-left: calc(22 * var(--u)); font-size: calc(12.5 * var(--u)); line-height: 1.38; color: #5a7290; }
.c-activite i { position: absolute; left: calc(2 * var(--u)); top: calc(4 * var(--u)); width: calc(10 * var(--u)); height: calc(10 * var(--u)); border-radius: 50%; }
.c-activite b { display: block; color: #15253a; font-weight: 600; font-size: calc(13 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-activite small { display: block; color: #7d8ea3; font-size: calc(12 * var(--u)); }
.c-pastille { position: absolute; left: 0; right: 0; height: calc(26 * var(--u)); border-radius: calc(5 * var(--u)); display: flex; align-items: center; padding-left: calc(10 * var(--u)); font-size: calc(11.5 * var(--u)); color: #2f4a39; }
.c-pastille i { width: calc(10 * var(--u)); height: calc(10 * var(--u)); border-radius: 50%; margin-right: calc(10 * var(--u)); }
.c-pastille.ok { background: #e7f2e0; } .c-pastille.ok i { background: #549f3d; }
.c-pastille.ko { background: #fbeedd; color: #6d5130; } .c-pastille.ko i { background: #dbb16a; }

/* Administration */
.ad-compteur { position: absolute; display: grid; place-items: center; width: calc(19 * var(--u)); height: calc(19 * var(--u)); border-radius: 50%; font-size: calc(11 * var(--u)); font-weight: 600; }
.ad-dossier { display: block; position: relative; padding: calc(12 * var(--u)) calc(14 * var(--u)); border-bottom: calc(1 * var(--u)) solid #e3e8e6; color: #1f4ba0; text-decoration: none; font-size: calc(13.5 * var(--u)); line-height: 1.3; }
.ad-dossier.on { border: calc(1.5 * var(--u)) solid #a6dca6; border-radius: calc(4 * var(--u)); background: #eef9ec; }
.ad-dossier .t { display: flex; align-items: center; gap: calc(10 * var(--u)); color: #15253a; font-weight: 600; }
.ad-dossier .t small { margin-left: auto; font-weight: 400; font-size: calc(11.5 * var(--u)); padding: calc(3 * var(--u)) calc(8 * var(--u)); border-radius: 99px; }
.ad-dossier p { margin: calc(8 * var(--u)) 0 calc(3 * var(--u)); }
.ad-dossier em { font-style: normal; font-size: calc(12 * var(--u)); color: #5a6f82; }
.ad-vide { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: calc(8 * var(--u)); padding: calc(20 * var(--u)); color: #5a6f82; font-size: calc(14 * var(--u)); line-height: 1.45; }
.ad-vide b { color: #15253a; font: 600 calc(18 * var(--u)) "Source Serif 4", Georgia, serif; }
.ad-vide.nuit { color: #b9ccc7; } .ad-vide.nuit b { color: #fff; }
.ad-evenement { position: relative; padding: calc(10 * var(--u)) 0 calc(12 * var(--u)) calc(34 * var(--u)); border-bottom: calc(1 * var(--u)) solid rgba(255, 255, 255, .15); color: #c7d6d2; font-size: calc(12.5 * var(--u)); line-height: 1.4; }
.ad-evenement i { position: absolute; left: calc(4 * var(--u)); top: calc(15 * var(--u)); width: calc(11 * var(--u)); height: calc(11 * var(--u)); border-radius: 50%; background: #8fe03a; }
.ad-evenement b { display: block; color: #fff; font-weight: 500; font-size: calc(14 * var(--u)); }
.ad-evenement small { position: absolute; right: 0; top: calc(10 * var(--u)); font-size: calc(12 * var(--u)); color: #c7d6d2; }

/* Atelier — formulaire posé sur l'image */
.at-champ { border: 0; outline: 0; background: transparent; color: #1f3f8a; font: inherit; width: 100%; height: 100%; padding: 0 calc(6 * var(--u)); appearance: none; -webkit-appearance: none; }
textarea.at-champ { resize: none; padding: calc(6 * var(--u)); line-height: 1.35; }
.at-champ::placeholder { color: #8b9ab3; opacity: 1; }
.at-champ:focus { background: rgba(145, 235, 41, .07); }
.at-lecteur { border: 0; outline: 0; resize: none; width: 100%; height: 100%; padding: calc(16 * var(--u)); font: calc(15 * var(--u))/1.45 "IBM Plex Sans", Arial, sans-serif; color: #27384a; background: linear-gradient(#fde9dc, #fde9dc) no-repeat 0 0 / 100% 0; transition: background-size .2s; }
.at-lecteur:not(:placeholder-shown) { background-size: 100% 100%; }
.at-lecteur::placeholder { color: #8b9ab3; }
.at-bascule { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.at-oui { color: #15253a; }

/* Écrans de détail : Playfair Display et Inter, les polices de ces images */
@font-face { font-family: "Playfair Display"; src: url("polices/PlayfairDisplay.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("polices/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
.calque.detail { font-family: "Inter", Arial, sans-serif; font-stretch: 100%; }
.pf { font-family: "Playfair Display", Georgia, serif; }
.panneau-plein { background: #f8f6f0; }

/* Profil pays */
.pp-item { position: relative; padding: calc(12 * var(--u)) 0 calc(14 * var(--u)); border-top: calc(1 * var(--u)) solid #dfe4e1; }
.pp-item:first-child { border-top: 0; padding-top: calc(6 * var(--u)); }
.pp-haut { display: flex; align-items: center; gap: calc(9 * var(--u)); font-size: calc(10 * var(--u)); color: #6f6a6d; white-space: nowrap; }
.pp-niv { display: inline-grid; place-items: center; min-width: calc(40 * var(--u)); height: calc(15 * var(--u)); border-radius: 99px; font-size: calc(10 * var(--u)); font-weight: 700; }
.pp-crit { display: inline-grid; place-items: center; height: calc(15 * var(--u)); padding: 0 calc(8 * var(--u)); border-radius: 99px; background: #f7e4d6; color: #c4633c; font-size: calc(10 * var(--u)); }
.pp-haut .meta { margin-left: auto; font-size: calc(9 * var(--u)); color: #8d8589; }
.pp-titre { margin: calc(7 * var(--u)) 0 calc(5 * var(--u)); font: 600 calc(17 * var(--u))/1.25 "Playfair Display", Georgia, serif; color: #041a22; }
.pp-source { display: block; font-size: calc(11 * var(--u)); color: #2a5ea2; text-decoration: underline; text-underline-offset: calc(2 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-source small { color: #7b828c; text-decoration: none; }
.pp-inconnu { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: calc(4 * var(--u)); font-size: calc(10 * var(--u)); color: #2e4a4f; }
.pp-inconnu b { display: inline-block; width: calc(18 * var(--u)); color: #187f63; font-weight: 600; }

/* Listes des écrans de détail (corrections, pipeline, recherche) */
.dl-liste { padding: calc(14 * var(--u)) calc(22 * var(--u)); }
.dl-ligne { display: block; padding: calc(11 * var(--u)) 0; border-top: calc(1 * var(--u)) solid #dfe4e1; color: #1b2a3a; text-decoration: none; font-size: calc(12.5 * var(--u)); line-height: 1.4; }
.dl-ligne:first-of-type { border-top: 0; }
.dl-ligne b { display: block; font: 600 calc(16 * var(--u))/1.25 "Playfair Display", Georgia, serif; color: #041a22; }
.dl-ligne small { color: #6f7f86; }
.dl-titre { margin: 0 0 calc(8 * var(--u)); font: 700 calc(26 * var(--u)) "Playfair Display", Georgia, serif; color: #05201b; }
.dl-sous { margin: calc(14 * var(--u)) 0 calc(2 * var(--u)); font-size: calc(10 * var(--u)); font-weight: 700; letter-spacing: .12em; color: #bf632a; text-transform: uppercase; }

/* Formulaires de connexion posés sur l'image */
.cx-champ { border: 0; outline: 0; background: transparent; width: 100%; height: 100%; padding: 0; font: calc(12 * var(--u)) "Inter", Arial, sans-serif; color: #1b2a3a; }
.cx-champ::placeholder { color: #8a93a3; opacity: 1; }
.cx-case { position: absolute; margin: 0; opacity: 0; cursor: pointer; }
.cx-case + .cx-coche { position: absolute; inset: 0; border-radius: calc(2 * var(--u)); pointer-events: none; }
.cx-case:checked + .cx-coche { background: #06372e; }
.cx-case:checked + .cx-coche::after { content: ""; position: absolute; left: 32%; top: 12%; width: 30%; height: 55%; border: solid #fff; border-width: 0 calc(2 * var(--u)) calc(2 * var(--u)) 0; transform: rotate(45deg); }
.cx-erreur { color: #b4262b; font-size: calc(11.5 * var(--u)); line-height: 1.35; }
