/* meilleure-agence-seo.net : feuille unique (12/10/2026).
   Direction artistique « le cahier des charges » : un dossier d'appel d'offres mis en page avec soin.
   Fond blanc, texte bleu nuit, orange brûlé réservé aux repères de section (numéros, cartouche, vigilance).
   Deux colonnes sur ordinateur (sommaire collant à gauche, texte à droite sur 72 caractères), une colonne sur mobile.
   Titres en Outfit auto-hébergée, corps en sans-serif système. Aucune ombre, coins carrés, aucune ressource externe.
   Contraste : #14213d sur blanc ≈ 14:1 ; #4a5570 sur blanc ≈ 7:1 ; #c8511b sur blanc ≈ 4.9:1 (repères, jamais du texte courant). */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --papier: #ffffff;
  --encre: #14213d;
  --encre-2: #4a5570;
  --trait: #c9cfdc;
  --trait-fin: #e3e7ef;
  --accent: #c8511b;
  --titres: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --corps: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gouttiere: 16px;
  --mesure: 72ch;
  --barre: 44px;
  --col-etat: 7.5em;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--barre) + 12px); }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--corps);
  font-size: 16px;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--encre); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.skip { position: absolute; left: -9999px; top: 6px; background: var(--encre); color: #fff; padding: 6px 10px; z-index: 20; }
.skip:focus { left: 8px; }

/* ---------- Barre de navigation ---------- */
.barre { background: var(--encre); color: #fff; position: sticky; top: 0; z-index: 10; }
.barre-int {
  max-width: 1180px; margin: 0 auto; padding: 0 var(--gouttiere);
  min-height: var(--barre); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.marque { font-family: var(--titres); font-weight: 600; font-size: 17px; letter-spacing: 0.01em; color: #fff; text-decoration: none; padding: 10px 0; white-space: nowrap; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0 18px; flex-wrap: wrap; }
.nav a { color: #fff; text-decoration: none; font-size: 14px; padding: 10px 0; display: inline-block; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* ---------- Mise en page : une colonne, puis deux ---------- */
.page { max-width: 1180px; margin: 0 auto; padding: 20px var(--gouttiere) 48px; }
.marge { margin-bottom: 24px; }
.corps { max-width: var(--mesure); min-width: 0; }

.sommaire-bureau { display: none; }

@media (min-width: 960px) {
  .page { display: grid; grid-template-columns: 250px minmax(0, var(--mesure)); column-gap: 56px; align-items: start; padding-top: 36px; }
  .marge { position: sticky; top: calc(var(--barre) + 24px); margin-bottom: 0; max-height: calc(100vh - var(--barre) - 48px); overflow-y: auto; }
  .sommaire-mobile { display: none; }
  .sommaire-bureau { display: block; }
}

/* ---------- Cartouche (bloc d'identification du document) ---------- */
.cartouche-titre {
  font-family: var(--titres); font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 6px;
}
.cartouche table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cartouche th, .cartouche td { border: 1px solid var(--trait); padding: 4px 8px; text-align: left; vertical-align: top; }
.cartouche th { font-weight: 600; width: 42%; color: var(--encre-2); }

/* ---------- Sommaire ---------- */
.sommaire { margin-top: 20px; }
.sommaire ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trait); }
.sommaire li { border-bottom: 1px solid var(--trait-fin); }
.sommaire li.niv3 a { padding-left: 22px; font-size: 13px; }
.sommaire a { display: block; padding: 6px 0; font-size: 14px; text-decoration: none; line-height: 1.4; }
.sommaire a:hover { text-decoration: underline; }
.sommaire .num { color: var(--accent); font-family: var(--titres); font-weight: 600; margin-right: 4px; }
details.sommaire { border: 1px solid var(--trait); padding: 0 12px; }
details.sommaire summary {
  cursor: pointer; font-family: var(--titres); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); padding: 10px 0; list-style: none;
}
details.sommaire summary::-webkit-details-marker { display: none; }
details.sommaire summary::after { content: "+"; float: right; font-size: 16px; line-height: 1; }
details.sommaire[open] summary::after { content: "–"; }
details.sommaire ol { margin-bottom: 8px; }

/* ---------- Typographie du corps ---------- */
h1, h2, h3 { font-family: var(--titres); color: var(--encre); line-height: 1.2; margin: 0; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: 30px; margin: 4px 0 18px; font-weight: 700; }
h2 { font-size: 22px; margin: 40px 0 12px; padding-top: 14px; border-top: 1px solid var(--encre); }
h3 { font-size: 17px; margin: 26px 0 8px; }
h2 .num, h3 .num { color: var(--accent); font-variant-numeric: lining-nums; }
p { margin: 0 0 14px; }
.chapo { font-size: 18px; line-height: 1.55; color: var(--encre); margin-bottom: 22px; }
.reperes, .legende, .statut, .fiche-site { font-size: 14px; color: var(--encre-2); }
.reperes { margin: -10px 0 18px; }
.statut { border: 1px solid var(--accent); color: var(--accent); padding: 6px 10px; display: inline-block; }
strong { font-weight: 600; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }
blockquote { margin: 0 0 16px; padding: 0 0 0 16px; border-left: 1px solid var(--trait); color: var(--encre-2); }
hr { border: 0; border-top: 1px solid var(--trait); margin: 28px 0; }
.fil { font-size: 13px; color: var(--encre-2); margin-bottom: 14px; }
.fil a { color: var(--encre-2); }
.rubrique {
  font-family: var(--titres); font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin: 18px 0 6px;
}

@media (min-width: 600px) {
  h1 { font-size: 36px; }
  h2 { font-size: 24px; }
}

/* ---------- Tableaux : bordures fines complètes, aucun zébrage, aucun fond sombre ---------- */
.table-wrap { overflow-x: auto; margin: 0 0 18px; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; line-height: 1.45; }
th, td { border: 1px solid var(--trait); padding: 7px 10px; text-align: left; vertical-align: top; }
thead th { font-family: var(--titres); font-weight: 600; font-size: 13px; letter-spacing: 0.02em; border-bottom: 2px solid var(--encre); }
tbody th[scope="row"] { font-weight: 600; width: 38%; color: var(--encre-2); }
th.col-etat, td.col-etat { width: var(--col-etat); min-width: var(--col-etat); white-space: nowrap; }
th.col-num, td.col-num { width: 3.5em; text-align: right; }
td.col-date { white-space: nowrap; }
table.proposition th[scope="row"] { width: 44%; }

/* ---------- Liste de contrôle : case à cocher dessinée en CSS ---------- */
ul.controle { list-style: none; padding-left: 0; }
ul.controle li { position: relative; padding-left: 30px; margin-bottom: 10px; }
ul.controle li::before {
  content: ""; position: absolute; left: 2px; top: 0.3em; width: 14px; height: 14px;
  border: 1.5px solid var(--encre); background: var(--papier);
}

/* ---------- Point de vigilance : bordure gauche orange de 3 px ---------- */
.vigilance { border-left: 3px solid var(--accent); padding: 4px 0 2px 16px; margin: 20px 0 22px; }
.vigilance-titre {
  font-family: var(--titres); font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 6px;
}
.vigilance p:last-child { margin-bottom: 0; }

/* ---------- Portrait de l'auteur ---------- */
.portrait { width: 180px; height: 180px; object-fit: cover; border: 1px solid var(--trait); margin: 0 0 18px; }

/* ---------- Fiches de classement ---------- */
.fiche { border-top: 1px solid var(--trait); padding-top: 6px; margin-top: 24px; }
.fiche h3 { margin-top: 12px; }
details.faq { border: 1px solid var(--trait); padding: 0 14px; margin-bottom: 8px; }
details.faq summary { cursor: pointer; font-weight: 600; padding: 10px 0; }
details.faq p { margin: 0 0 12px; }

/* ---------- Formulaire de contact ---------- */
.formulaire { border: 1px solid var(--trait); padding: 18px; margin: 0 0 22px; }
.formulaire .champ { margin-bottom: 14px; }
.formulaire label { display: block; font-family: var(--titres); font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.formulaire .aide { font-size: 13px; color: var(--encre-2); margin: 0 0 6px; }
.formulaire input, .formulaire select, .formulaire textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--encre); background: var(--papier);
  border: 1px solid var(--encre); padding: 8px 10px; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.formulaire select { background-image: linear-gradient(45deg, transparent 50%, var(--encre) 50%), linear-gradient(135deg, var(--encre) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.formulaire textarea { min-height: 160px; resize: vertical; }
.formulaire button {
  font: inherit; font-family: var(--titres); font-weight: 600; font-size: 15px; color: #fff; background: var(--encre);
  border: 1px solid var(--encre); padding: 10px 18px; cursor: pointer; border-radius: 0;
}
.formulaire button:hover { background: var(--papier); color: var(--encre); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pied de page : deux lignes ---------- */
.pied { border-top: 1px solid var(--encre); margin-top: 24px; }
.pied p { max-width: 1180px; margin: 0 auto; padding: 0 var(--gouttiere); }
.pied-appel { font-family: var(--titres); font-weight: 600; font-size: 16px; padding-top: 18px !important; }
.pied-ligne { font-size: 13px; color: var(--encre-2); padding-top: 6px !important; padding-bottom: 28px !important; }
.pied-ligne a { color: var(--encre-2); }

@media print {
  .barre, .pied-appel, .sommaire-mobile, .skip { display: none; }
  .page { display: block; }
  a { text-decoration: none; }
}
