@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/figtree-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/figtree-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }

:root { --noir: #2B2D42; --fonce: #222435; --encre: #1a1a1a; --gris: #5e5e5e; --ligne: #e2e2e2; --fond-2: #f5f5f5; --vert: #0e8345; --orange: #b25a00; --rouge: #c0282d; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--encre); font-family: "Figtree", system-ui, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid #276ef1; outline-offset: 2px; }
.rapport { max-width: 900px; margin: 0 auto; padding: 32px 20px 64px; }
@media (min-width: 768px) { .rapport { padding: 48px 32px 80px; } }

.bandeau-apercu { background: #fdf1e2; color: #6b3a00; text-align: center; font-size: 14px; padding: 10px 16px; }

.couverture { border-bottom: 3px solid var(--noir); padding-bottom: 28px; margin-bottom: 28px; }
.marque { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; margin-bottom: 36px; }
.marque svg { width: 30px; height: 30px; }
.surtitre { margin: 0 0 6px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--gris); }
.couverture h1 { margin: 0 0 6px; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.site { margin: 0; color: var(--gris); overflow-wrap: anywhere; }
.synthese { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.jauge { width: 128px; height: 128px; flex: 0 0 auto; }
.jauge text { font-family: "Figtree", system-ui, sans-serif; }
.niveau { font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.synthese p { margin: 0 0 8px; max-width: 52ch; }
.imprimer, .copier { font: inherit; font-weight: 600; border: 0; border-radius: 10px; cursor: pointer; transition: background .15s; }
.imprimer { background: var(--noir); color: #fff; min-height: 48px; padding: 0 20px; }
.imprimer:hover { background: #333; }

.sommaire { background: var(--fond-2); border-radius: 12px; padding: 20px 24px; margin-bottom: 36px; }
.sommaire h2 { font-size: 16px; margin: 0 0 8px; }
.sommaire ol { margin: 0; padding-left: 20px; }
.sommaire a { display: inline-block; padding: 6px 0; min-height: 32px; }

section { margin-top: 44px; }
h2 { font-size: 26px; letter-spacing: -0.015em; margin: 0 0 10px; line-height: 1.2; }
h3 { font-size: 18px; margin: 24px 0 8px; }
.intro { color: var(--gris); margin: 0 0 20px; max-width: 70ch; }
.encart { background: var(--fond-2); border-radius: 10px; padding: 16px 18px; margin: 16px 0; }
.gris { color: var(--gris); font-size: 14px; }
.url { word-break: break-all; font-size: 13px; color: var(--gris); }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--gris); border-bottom: 2px solid var(--noir); padding: 8px 8px 8px 0; }
td { border-bottom: 1px solid var(--ligne); padding: 12px 8px 12px 0; vertical-align: top; }
.plan td:nth-child(1) { font-weight: 700; width: 28px; }
.plan td:nth-child(3) { font-weight: 700; color: var(--vert); white-space: nowrap; }
.plan td:nth-child(4), .plan td:nth-child(5) { font-size: 14px; color: var(--gris); }
.plan td:nth-child(4) { white-space: nowrap; }
.plan td:nth-child(3) { font-size: 14px; }
@media (max-width: 640px) {
  .plan thead { display: none; }
  .plan tr { display: grid; grid-template-columns: 28px 1fr; border-bottom: 1px solid var(--ligne); padding: 10px 0; }
  .plan td { border: 0; padding: 2px 0; }
  .plan td:nth-child(n+3) { grid-column: 2; }
  .plan td:nth-child(3)::before { content: "Gain : "; font-weight: 400; color: var(--gris); }
  .plan td:nth-child(4)::before { content: "Temps : "; }
  .plan td:nth-child(5)::before { content: "Qui : "; }
  .pages td:nth-child(2) { white-space: nowrap; }
  .propositions thead { display: none; }
  .propositions tr { display: block; border-bottom: 1px solid var(--ligne); padding: 10px 0; }
  .propositions td { display: block; border: 0; padding: 3px 0; }
}

.critere { border: 1px solid var(--ligne); border-left: 5px solid var(--ligne); border-radius: 10px; padding: 16px 18px; margin: 0 0 14px; break-inside: avoid; }
.critere.ok { border-left-color: var(--vert); }
.critere.partiel { border-left-color: #e0a100; }
.critere.ko { border-left-color: var(--rouge); }
.critere-tete { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.critere h3 { margin: 0 0 8px; font-size: 17px; }
.note { font-weight: 700; white-space: nowrap; text-align: right; }
.note small { display: block; font-weight: 500; font-size: 12px; color: var(--gris); }
.critere p { margin: 6px 0; }
.bots { list-style: none; padding: 0; margin: 8px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; }
.bots li { display: flex; justify-content: space-between; gap: 8px; background: var(--fond-2); border-radius: 6px; padding: 5px 10px; font-size: 14px; }
.oui { color: var(--vert); } .non { color: var(--rouge); }

.fichier { border: 1px solid var(--ligne); border-radius: 12px; padding: 18px; margin: 0 0 20px; break-inside: avoid-page; }
.fichier-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fichier h3 { margin: 0; }
.copier { background: var(--fond-2); color: #000; min-height: 44px; padding: 0 16px; }
.copier:hover { background: #e2e2e2; }
.aide { color: var(--gris); font-size: 14px; margin: 8px 0 10px; }
pre { background: #f7f7f7; border: 1px solid var(--ligne); border-radius: 8px; padding: 14px; margin: 0; font-family: ui-monospace, Consolas, monospace; font-size: 13px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; }
.cache-ecran { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.propositions td { font-size: 14px; }
.propositions td.url { width: 26%; }

.cases { list-style: none; padding: 0; margin: 0 0 8px; }
.cases li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ligne); break-inside: avoid; }
.case { width: 18px; height: 18px; border: 2px solid var(--noir); border-radius: 4px; margin-top: 3px; }
#methode ul { padding-left: 20px; color: var(--gris); }
.pied { margin-top: 28px; font-size: 13px; color: var(--gris); border-top: 1px solid var(--ligne); padding-top: 14px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

@page { size: A4; margin: 14mm 14mm 16mm; }
@media print {
  body { font-size: 11pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rapport { max-width: none; padding: 0; }
  .bandeau-apercu, .barre-outils, .copier, .sommaire a[href]::after { display: none !important; }
  .saut { break-before: page; }
  section { margin-top: 0; }
  .cache-ecran { display: none; }
  pre { font-size: 8.5pt; }
  a { text-decoration: none; }
  .critere, .cases li, tr { break-inside: avoid; }
}


/* ===== Marque blanche (ajouté par outils/construire.mjs) ===== */
.imprimer:hover { background: var(--fonce); }
.prepare { margin: 4px 0 0; font-size: 14px; color: var(--gris); }
.contact-agence { background: var(--fond-2); border-left: 5px solid var(--noir); border-radius: 12px; padding: 22px 24px; break-inside: avoid; }
.contact-agence h2 { font-size: 22px; }
.contact-agence p { margin: 6px 0; }
.contact-agence .coords { display: flex; flex-wrap: wrap; gap: 4px 18px; font-weight: 600; }
.contact-agence .coords a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
