/* ══════════════════════════════════════════════════════════════════════════
   Attestations — même charte que la Box : celle de l'accès client FISCALITY (17/11/2026, demande de Joseph).
   Posée par-dessus les styles du module : seul l'habillage change. Les couleurs d'état (pastilles, cases de suivi)
   portent un sens et ne sont pas touchées — c'est pourquoi --kb-primary n'est pas redéfini.
   Retour arrière : retirer la ligne attestation-fiscality.css de index.html.
   ══════════════════════════════════════════════════════════════════════════ */

@font-face { font-family: "Onest"; src: url(/assets/fonts/onest-latin.woff2) format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --nuit: #0b1224; --orange: #f17e01; --orange-2: #ffa63d; --papier: #f3f5fa; --encre: #131a2b; --gris: #5b657a; --filet: #e3e7f0;
  --degrade-orange: linear-gradient(135deg, #f17e01, #ff9a2a);
  --degrade-nuit: linear-gradient(120deg, #0b1224 0%, #1b2b5e 60%, #3a2a66 100%);
  --kb-font: "Onest", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --kb-text: #131a2b; --kb-muted: #5b657a; --kb-muted-strong: #3f4858;
  --kb-bg: #f3f5fa; --kb-surface: #ffffff; --kb-border: #e3e7f0; --kb-desktop: #f3f5fa;
  --wiki-text: #131a2b; --wiki-hover-row: #fff8ee; --wiki-bg-faint: #f8f9fc;
}
html, body { background: var(--papier) !important; color: var(--encre); font-family: var(--kb-font); }
body, input, select, textarea, button, table { font-family: var(--kb-font); }
:focus-visible { outline: 3px solid var(--orange-2); outline-offset: 2px; border-radius: 8px; }
input[type=checkbox], input[type=radio] { accent-color: var(--orange); }

/* Bandeau : bleu nuit, halos, pastille orange */
.at-top { background: var(--nuit); height: 66px; padding: 0 20px; position: relative; overflow: hidden; }
.at-top::before { content: ""; position: absolute; width: 420px; height: 420px; left: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, #2f52d6, transparent 65%); opacity: .45; filter: blur(60px); pointer-events: none; }
.at-top::after { content: ""; position: absolute; width: 360px; height: 360px; right: 8%; top: -250px; border-radius: 50%; background: radial-gradient(circle, var(--orange), transparent 65%); opacity: .28; filter: blur(60px); pointer-events: none; }
.at-top > * { position: relative; z-index: 1; }
.at-brand .logo-img { background: var(--degrade-orange); border-radius: 12px; font-weight: 800; box-shadow: 0 10px 22px -10px rgba(241,126,1,.9); }
.at-brand .logo-text { font-size: 16px; letter-spacing: -.02em; }
.at-brand .logo-text small { color: #c9d2e6; opacity: 1; }
.at-top-right { color: #c9d2e6; }
.at-top-right select { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 12px; color: #fff; }
.at-top-right select option { color: var(--encre); }
.at-top-right a { color: #c9d2e6; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 14px; text-decoration: none; }
.at-top-right a:hover { color: #fff; border-color: rgba(255,255,255,.5); }

/* Cartes, compteurs, boutons, tableau */
.at-main { padding: 18px 20px 40px; }
.at-card { border: 1px solid var(--filet); border-radius: 24px; box-shadow: none; overflow: hidden; }
.at-compte { border: 1px solid var(--filet); border-radius: 22px; background: #fff; }
.at-btn { border: 1px solid var(--filet); border-radius: 999px; padding: 7px 14px; font-weight: 600; color: var(--gris); background: #fff; }
.at-btn:hover { border-color: #c9d0de; color: var(--encre); }
.at-btn.primary { background: var(--degrade-orange); border-color: transparent; color: #fff; box-shadow: 0 12px 28px -14px rgba(241,126,1,.8); }
.at-btn.primary:hover { background: var(--degrade-orange); color: #fff; }
.at-barre input[type=search], .at-barre input[type=text], .at-barre select { border: 1px solid var(--filet); border-radius: 999px; padding: 8px 14px; background-color: #fff; }
.at-barre input:focus, .at-barre select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(241,126,1,.14); }
.at-t th { background: var(--papier); color: var(--gris); font-weight: 700; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; border-right: 0; border-bottom: 1px solid var(--filet); padding: 10px 8px; }
.at-t tbody tr:hover td { background: #fff8ee; }
.pill { padding: 3px 10px; border-radius: 999px; font-weight: 700; }
.at-drop { border: 2px dashed #b9c3d8; border-radius: 22px; background: #fff; }
.at-drop:hover, .at-drop.survol, .at-drop.over { border-color: var(--orange); background: #fff8ee; }
.at-menu { border-radius: 18px; border: 1px solid var(--filet); box-shadow: 0 30px 60px -30px rgba(19,26,43,.5); overflow: hidden; }
.at-menu button:hover, .at-menu a:hover { background: #fff8ee; }
.at-overlay { background: rgba(11,18,36,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.at-modal { border-radius: 26px; border: 1px solid var(--filet); overflow: hidden; box-shadow: 0 40px 90px -40px rgba(11,18,36,.7); }
.at-toast { background: var(--nuit); border-radius: 999px; }
