:root {
  --marine: #0f2e44;
  --marine-clair: #b9ccd8;
  --sel: #f3f6f7;
  --ocre: #e8b130;
  --texte: #18232d;
  --lien: #0f5a80;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--texte); background: var(--sel); }
a { color: var(--lien); }
:focus-visible { outline: 3px solid var(--ocre); outline-offset: 2px; }

.monde { min-height: 100vh; display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }

/* Panneau de connexion */
.porte { background: var(--marine); color: #e9f0f4; padding: 2rem 1.5rem 2.5rem; }
.marque { margin: 0; font: 700 clamp(2.2rem, 8vw, 3rem)/1.1 var(--serif); letter-spacing: -.01em; }
.marque a { color: #fff; text-decoration: none; }
.accroche { margin: .5rem 0 2.25rem; font: 400 1rem/1.5 system-ui, sans-serif; color: var(--marine-clair); max-width: 24rem; }
.porte h2 { margin: 0 0 1rem; font: 600 1.25rem/1.3 var(--serif); color: #fff; }
.porte form p { margin: 0 0 1rem; }
.porte label { display: block; margin-bottom: .25rem; font-weight: 600; font-size: .95rem; }
.porte input[type="text"], .porte input[type="password"] { width: 100%; max-width: 22rem; padding: .65rem .7rem; font: inherit; color: var(--texte); background: #fff; border: 2px solid transparent; border-radius: 3px; }
.porte input[type="text"]:focus, .porte input[type="password"]:focus { border-color: var(--ocre); outline: none; }
.bouton { padding: .7rem 1.6rem; font: inherit; font-weight: 700; color: var(--marine); background: var(--ocre); border: 0; border-radius: 3px; cursor: pointer; }
.bouton:hover { background: #f2c14f; }
.erreur { max-width: 22rem; padding: .6rem .8rem; color: #7a160c; background: #fff3f1; border-left: 4px solid #c62d1d; font-weight: 600; }

/* Textes */
.texte { padding: 2rem 1.5rem; max-width: 42rem; }
.texte h2 { margin: 2rem 0 .5rem; font: 700 1.5rem/1.25 var(--serif); color: var(--marine); }
.texte h2:first-child { margin-top: 0; }
.texte p { margin: 0 0 1rem; }
.secteurs { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.secteurs li { padding: .25rem .7rem; font-size: .95rem; border: 1px solid #9db3c2; border-radius: 2px; background: #fff; }
.contact { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #c9d6de; }

.pied { padding: 1rem 1.5rem 1.5rem; font-size: .85rem; color: #46566a; }
.pied p { margin: 0; }

@media (min-width: 56em) {
  .monde { grid-template-columns: 26rem 1fr; grid-template-rows: 1fr auto; }
  .porte { grid-row: 1 / 3; position: sticky; top: 0; height: 100vh; padding: 3rem 2.5rem; overflow-y: auto; }
  .texte { padding: 3.5rem 3rem 1rem; }
  .pied { padding: 1rem 3rem 2rem; }
}

/* Labels de conformite */
.labels { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 0 0 1rem; }
.badge { display: inline-flex; font: 600 .8rem/1 system-ui, sans-serif; text-decoration: none; border-radius: 3px; overflow: hidden; }
.badge span { padding: .45rem .6rem; color: #fff; }
.badge span:first-child { background: #3d4a57; }
.badge span:last-child { background: #1f7a3d; }
.badge:hover span:last-child { background: #17622f; }
.labels img { display: block; max-width: 100%; height: auto; }

/* Devise en tete de page */
.texte h2.devise { margin: 0 0 1.75rem; padding-bottom: 1.25rem; border-bottom: 3px solid var(--ocre); font: italic 700 clamp(1.5rem, 3.4vw, 2.1rem)/1.3 var(--serif); color: var(--marine); }
.texte h2.devise2 { margin: 2.25rem 0 .75rem; font: italic 700 clamp(1.35rem, 3vw, 1.85rem)/1.3 var(--serif); color: var(--marine); }

/* Pages d'information (10/2026) */
.texte h1 { margin: 0 0 1.5rem; font: 700 clamp(1.7rem, 4vw, 2.4rem)/1.2 var(--serif); color: var(--marine); }
.porte a.retour { color: #fff; }
.pied .liens { margin-top: .5rem; }

/* Devise placee avant un titre (10/2026) : meme rendu que h2.devise2 */
.texte p.devise2 { margin: 2.25rem 0 0; font: italic 700 clamp(1.35rem, 3vw, 1.85rem)/1.3 var(--serif); color: var(--marine); }
.texte p.devise2 + h2 { margin-top: .5rem; }

/* Blog : tableau de résultats */
.texte table{border-collapse:collapse;max-width:100%}
.texte caption{text-align:left;font-weight:bold;padding-bottom:.4em}
.texte th,.texte td{border:1px solid #ccc;padding:.4em .7em;text-align:left}
.texte table{margin:1em 0 1.4em}
