/* VisiGEO en ligne — feuille unique, sans police ni ressource externe.
   Charte validée : bleu nuit, turquoise lumineux, gris métallisé. */
:root {
  --nuit: #06152e; --nuit-2: #0b2347; --turquoise: #19d3e0; --turquoise-f: #0aa9b8; --metal: #aeb8c6; --metal-c: #e3e8ef;
  --fond: #f4f7fa; --surface: #fff; --texte: #0b1a33; --doux: #4f5d73; --bord: #d9e1ea;
  --bleu: #0b7c8c; --bleu-f: #086773; --sarcelle: var(--turquoise); --vert: #15803d; --orange: #b45309; --rouge: #c62828;
  --rayon: 14px; --ombre: 0 6px 24px rgba(27, 36, 64, .07);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; overflow-x: hidden; }
a { color: var(--bleu); }
img, svg { max-width: 100%; height: auto; }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.15; margin: .2em 0 .5em; }
h2 { font-size: 1.4rem; margin-top: 1.6em; }
.h3, h3 { font-size: 1.12rem; margin: .2em 0 .4em; }
.conteneur { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.etroit { max-width: 760px; }
.centre { text-align: center; }
.doux { color: var(--doux); }
.mt { margin-top: 2em; }
.section { padding: 40px 0; }
.section.alt { background: #e9eef4; }
.bandeau-preprod { background: #fff4d6; color: #7a4b00; text-align: center; padding: 6px 16px; font-size: .9rem; }
/* barre */
.barre { background: var(--nuit); border-bottom: 1px solid #12305a; position: sticky; top: 0; z-index: 10; }
.barre-int { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.marque { display: flex; align-items: center; text-decoration: none; padding: 4px 0; }
.marque img { display: block; height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav a, .nav .lien { text-decoration: none; color: var(--metal-c); }
.nav a:hover { color: #fff; }
.nav a.actif { color: var(--turquoise); font-weight: 600; }
.nav .btn { color: var(--nuit); }
.langues { display: inline-flex; gap: 6px; font-size: .85rem; }
.langues a { padding: 2px 6px; border-radius: 6px; border: 1px solid #2a4570; }
.langues a.actif { background: var(--turquoise); color: var(--nuit); border-color: var(--turquoise); }
.menu-bouton { display: none; background: none; color: var(--metal-c); border: 1px solid #2a4570; border-radius: 8px; font-size: 1.3rem; padding: 4px 12px; cursor: pointer; min-height: 44px; }
.en-ligne { display: inline; }
.lien { background: none; border: 0; color: var(--bleu); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.lien.danger, .danger { color: var(--rouge); }
/* boutons */
.btn { display: inline-block; background: linear-gradient(135deg, #3fe6ee, var(--turquoise) 55%, var(--turquoise-f)); color: var(--nuit); border: 1px solid var(--turquoise-f); border-radius: 10px; padding: 10px 18px; text-decoration: none; font: inherit; font-weight: 700; cursor: pointer; min-height: 44px; box-shadow: 0 4px 14px rgba(25, 211, 224, .25); }
.btn:hover { filter: brightness(1.06); }
.btn.secondaire { background: var(--surface); color: var(--nuit); border-color: var(--metal); box-shadow: none; }
.btn.grand { padding: 14px 24px; font-size: 1.05rem; }
.btn.petit { padding: 6px 12px; min-height: 36px; font-size: .9rem; }
/* héros */
.banniere-accueil { background: var(--nuit); line-height: 0; }
.banniere-accueil picture, .banniere-accueil img { display: block; width: 100%; max-width: 1200px; height: auto; margin: 0 auto; }
.heros { background: linear-gradient(180deg, var(--nuit) 0%, var(--nuit-2) 100%); color: #fff; padding: 40px 0 48px; }
.heros h1 { color: #fff; }
.heros .chapo, .heros .doux { color: var(--metal-c); }
.heros .sur-titre { color: var(--turquoise); }
.centre-flex { justify-content: center; }
.heros-grille { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.sur-titre { color: var(--bleu); font-weight: 600; }
.chapo { font-size: 1.12rem; color: var(--doux); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.banniere { margin: 0; }
.banniere img { border-radius: 24px; box-shadow: var(--ombre); }
.moteurs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 28px; }
.moteurs li { background: var(--surface); border: 1px solid var(--metal); border-radius: 999px; padding: 4px 14px; font-weight: 600; color: var(--doux); }
/* grilles et cartes */
.grille2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grille3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grille4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.carte { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 20px; box-shadow: var(--ombre); margin-bottom: 20px; min-width: 0; }
.carte.vedette { border: 2px solid var(--turquoise); }
.pastille { display: inline-block; background: #dff8fa; color: #075e68; border-radius: 999px; padding: 1px 10px; font-size: .82rem; font-weight: 600; }
.pastille.neutre { background: #eef1f6; color: var(--doux); }
.montant { font-size: 2rem; font-weight: 700; margin: .2em 0 0; }
.montant small { font-size: .85rem; font-weight: 400; color: var(--doux); }
.liste { padding-left: 1.1em; }
/* formulaires */
.formulaire { display: grid; gap: 14px; max-width: 560px; }
.formulaire.ligne { display: flex; flex-wrap: wrap; align-items: flex-end; max-width: none; }
.formulaire.ligne label { flex: 1 1 220px; }
label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
label.case { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
input, select, textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--bord); border-radius: 10px; background: #fff; width: 100%; min-height: 44px; }
input[type=checkbox], input[type=radio] { width: auto; min-height: 0; margin-top: 5px; }
fieldset { border: 1px solid var(--bord); border-radius: 10px; display: grid; gap: 6px; }
.piege { position: absolute; left: -9999px; }
.alerte { border-radius: 10px; padding: 12px 16px; margin: 16px 0; }
.alerte.ok { background: #e6f7ec; color: #14532d; }
.alerte.err { background: #fde8e8; color: #7f1d1d; }
.alerte.info { background: #e3f6f8; color: #0b3a4a; }
/* tableaux */
.defile { overflow-x: auto; }
.tableau { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--rayon); }
.tableau th, .tableau td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--bord); vertical-align: top; }
.etat { font-weight: 600; white-space: nowrap; }
.etat.ok { color: var(--vert); }
.etat.attente { color: var(--orange); }
tr.suspendu { opacity: .6; }
/* scores */
.scores { display: flex; gap: 16px; flex-wrap: wrap; margin: 16px 0; }
.score { display: inline-flex; flex-direction: column; align-items: center; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 8px 14px; }
.score b { font-size: 1.3rem; }
.score.grand { min-width: 120px; padding: 16px 20px; box-shadow: var(--ombre); }
.score.grand b { font-size: 2rem; }
.score span { color: var(--doux); font-size: .85rem; text-align: center; }
.scores.mini { gap: 8px; }
.scores.mini .score { flex-direction: row; gap: 4px; padding: 4px 10px; }
.scores.mini .score b { font-size: 1rem; }
.score.bon b { color: var(--vert); } .score.moyen b { color: var(--orange); } .score.faible b { color: var(--rouge); }
.actions-ligne { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 12px 0; }
.actions-ligne select { width: auto; }
.priorites li, .criteres li { margin-bottom: 10px; }
.criteres { list-style: none; padding: 0; }
.criteres li span { font-weight: 700; }
.criteres li.ok span { color: var(--vert); } .criteres li.ko span { color: var(--rouge); }
.probleme { background: var(--surface); border: 1px solid var(--bord); border-left: 5px solid var(--bord); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; }
.probleme summary { cursor: pointer; font-weight: 600; }
.sev-critique { border-left-color: var(--rouge); } .sev-importante { border-left-color: var(--orange); } .sev-moyenne { border-left-color: #eab308; }
.gravite { text-transform: uppercase; font-size: .72rem; color: var(--doux); margin-right: 6px; }
.urls { font-size: .85rem; word-break: break-all; }
.journal { font-size: .88rem; color: var(--doux); max-height: 240px; overflow-y: auto; overflow-wrap: anywhere; padding-left: 1.1em; }
.probleme summary, .criteres li, .liste li { overflow-wrap: anywhere; }
progress, meter { width: 100%; max-width: 260px; height: 12px; }
.jauges { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 20px; }
.jauges li { display: grid; gap: 2px; }
details { margin-bottom: 10px; }
.legal h2 { font-size: 1.15rem; }
.version-doc { color: var(--doux); font-size: .9rem; }
/* pied */
.pied { background: var(--nuit); color: var(--metal-c); padding: 36px 0; margin-top: 40px; font-size: .92rem; }
.pied a { color: #fff; }
.pied img { height: 96px; width: auto; }
/* tablette */
@media (max-width: 960px) {
  .grille4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grille3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .heros-grille { grid-template-columns: 1fr; }
}
/* mobile */
@media (max-width: 680px) {
  .menu-bouton { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding-bottom: 12px; }
  .menu-ouvert .nav { display: flex; }
  .grille2, .grille3, .grille4, .jauges { grid-template-columns: 1fr; }
  .section { padding: 28px 0; }
  .score.grand { min-width: calc(50% - 8px); }
  .marque img { height: 44px; }
  .heros { padding: 28px 0 32px; }
  .tableau th, .tableau td { padding: 8px; }
}

.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.signature { margin: 0 0 6px; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--bleu); }
.maj { color: var(--doux); font-size: .9rem; }
.heros .signature { color: var(--metal-c); }
