/* Charte Peakload : couleurs, polices auto-hébergées (aucun appel à Google), tailles validées (texte 16, zones 48, boutons 56). */
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.9212f6f9860f.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.72993dddf88a.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.25b0e113ca7c.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-400-normal.82a5516b3709.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-700-normal.833b135521b5.woff2") format("woff2"); }

:root {
  --petrole: #0B616C; --bleu-clair: #E6F5F6; --bleu-ciel: #B3E4E6; --encre: #102A2E;
  --gris-fonce: #41585C; --gris-moyen: #6B8286; --brun: #A65800; --blanc: #FFFFFF;
  --orange: #FAA500; --vert: #1B6B35; --rouge: #B3261E;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #E9EEEF; }
body { font-family: "Atkinson Hyperlegible", system-ui, sans-serif; font-size: 16px; color: var(--encre); line-height: 1.35; }
.ecran { max-width: 430px; min-height: 100vh; margin: 0 auto; background: var(--blanc); display: flex; flex-direction: column; }
.entete { background: var(--petrole); color: var(--blanc); padding: 20px 20px 16px; }
.entete a, .entete button { color: var(--blanc); font-weight: 700; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.entete .haut { display: flex; justify-content: space-between; min-height: 24px; }
.entete h1 { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 24px; margin: 8px 0 4px; }
.entete p { margin: 0; }
.contenu { padding: 16px; flex: 1; }
.pied { padding: 16px; }
h2 { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 18px; margin: 8px 0 12px; }
h3 { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 16px; color: var(--petrole); margin: 16px 0 8px; }
.carte { display: flex; align-items: center; gap: 12px; border: 1px solid var(--gris-moyen); border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; min-height: 56px; background: var(--blanc); color: inherit; text-decoration: none; }
.carte.claire { background: var(--bleu-clair); }
.carte .texte { flex: 1; }
.carte .titre { font-weight: 700; }
.carte .detail { font-size: 14px; color: var(--gris-fonce); }
.lien { color: var(--brun); font-weight: 700; text-decoration: none; font-size: 14px; }
.bouton { display: block; width: 100%; min-height: 56px; border-radius: 12px; border: 0; background: var(--petrole); color: var(--blanc);
          font-family: "Poppins", sans-serif; font-weight: 600; font-size: 18px; cursor: pointer; text-align: center; line-height: 56px; text-decoration: none; }
.bouton.secondaire { background: var(--blanc); color: var(--petrole); border: 1px solid var(--petrole); }
label { display: block; font-weight: 700; font-size: 14px; color: var(--gris-fonce); margin: 16px 0 6px; }
input[type=email], input[type=password], input[type=text] { width: 100%; min-height: 48px; border: 1px solid var(--gris-moyen); border-radius: 12px; padding: 0 14px; font: inherit; }
input:focus-visible, .bouton:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.erreur { color: var(--rouge); font-weight: 700; margin: 12px 0 0; }
.note { font-size: 14px; color: var(--gris-fonce); }
.alerte { border-left: 4px solid var(--brun); background: #FFF7E6; padding: 10px 12px; border-radius: 8px; margin-bottom: 8px; font-size: 14px; }
/* Feu de douleur : signalétique de feu tricolore, jamais la couleur seule (le mot est écrit à côté). */
.feu { display: inline-flex; flex-direction: column; gap: 2px; background: var(--encre); padding: 3px; border-radius: 4px; }
.feu i { width: 8px; height: 8px; border-radius: 50%; background: #3A4A4D; }
.feu.rouge i:nth-child(1) { background: #FF5A4F; }
.feu.orange i:nth-child(2) { background: var(--orange); }
.feu.vert i:nth-child(3) { background: #3CC46A; }
.mot-feu { font-weight: 700; font-size: 14px; min-width: 48px; }
.ligne-ex { border: 1px solid var(--gris-moyen); border-radius: 12px; padding: 8px 14px; margin-bottom: 6px; }
.ligne-ex .detail { font-size: 14px; color: var(--gris-fonce); }
.logo { display: block; width: 96px; height: 96px; margin: 24px auto 8px; }
.marque { text-align: center; font-family: "Poppins", sans-serif; font-weight: 700; color: var(--petrole); font-size: 22px; margin: 0; }
.signature { text-align: center; margin: 4px 0 0; }
.signature strong { font-family: "Poppins", sans-serif; display: block; }
.signature span { font-size: 14px; color: var(--gris-fonce); }
/* Le bouton principal reste toujours visible en bas de l'écran (décidé le 13/11/2026). */
.pied { position: sticky; bottom: 0; background: var(--blanc); box-shadow: 0 -1px 0 #D5DEDF; }
.onglets { display: flex; gap: 8px; margin-bottom: 12px; }
.onglets a { flex: 1; text-align: center; min-height: 48px; line-height: 46px; border: 1px solid var(--gris-moyen); border-radius: 8px; color: var(--encre); text-decoration: none; font-weight: 700; }
.onglets a[aria-current="page"] { background: var(--petrole); border-color: var(--petrole); color: var(--blanc); }
details { border: 1px solid var(--gris-moyen); border-radius: 12px; margin-bottom: 8px; background: var(--bleu-clair); }
details > summary { min-height: 48px; padding: 12px 14px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
details > summary::after { content: "Afficher"; color: var(--brun); font-size: 14px; }
details[open] > summary::after { content: "Replier"; }
details[open] { background: var(--blanc); }
details .ligne-ex { margin: 0 8px 6px; }
