/* Pages à part (Privacy, Cookies, 404 ; rapport REA du 14 oct. 2026) : lisibles sans script, aux couleurs du site (habillage « Paire », 18 oct. 2026). */
@font-face { font-family: "Funnel Sans"; src: url("/polices/funnel-sans.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Funnel Display"; src: url("/polices/funnel-display.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
:root { --fond: #f4f2ee; --surface: #ffffff; --encre: #141414; --gris: #5d5a54; --filet: #e4e0d8; --outremer: #2b44ff; --soleil: #ffb800; --voile: #ebe8e2; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 16px/1.6 "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
.tete { display: flex; align-items: center; gap: 10px; max-width: 760px; margin: 0 auto; padding: 18px 16px; border-bottom: 1px solid var(--filet); }
.tete a { display: inline-flex; align-items: center; gap: 8px; color: var(--encre); text-decoration: none; font: 800 19px/1 "Funnel Display", system-ui, sans-serif; letter-spacing: -0.03em; min-height: 24px; }
.tete svg { width: 28px; height: 20px; }
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
h1 { font: 800 30px/1.2 "Funnel Display", system-ui, sans-serif; letter-spacing: -0.02em; margin: 8px 0 16px; }
h2 { font: 700 19px/1.3 "Funnel Display", system-ui, sans-serif; margin: 28px 0 8px; }
p, li { color: #2b2925; }
.date { color: var(--gris); font-size: 14px; }
.cookie { background: var(--surface); border: 1px solid var(--filet); border-radius: 16px; padding: 12px 16px; margin: 12px 0; }
.cookie code { font-weight: 700; background: var(--voile); padding: 1px 6px; border-radius: 999px; overflow-wrap: anywhere; }
.cookie p { margin: 4px 0; }
a { color: var(--outremer); }
.pied { max-width: 760px; margin: 0 auto; padding: 16px; border-top: 1px solid var(--filet); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.pied a { display: inline-flex; align-items: center; min-height: 24px; }

/* Thème sombre automatique pour pages statiques */
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #0f1013;
    --surface: #18191e;
    --encre: #f3f3f5;
    --gris: #a19f99;
    --filet: #282a32;
    --voile: #20222a;
  }
  p, li { color: #d0cec7; }
}

/* ==========================================================================
   PAGE 404 (STANDARDS DESIGN POLISH & PAIRBOUND DUO)
   ========================================================================== */

.cadre-404 {
  text-align: center;
  padding: 44px 16px 36px;
  max-width: 540px;
  margin: 0 auto;
}

.badge-404 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gris);
  background: var(--voile);
  border: 1px solid var(--filet);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.pastille-point {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--soleil);
  box-shadow: 0 0 0 2px rgba(255, 184, 0, 0.25);
}

.chiffre-duo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: "Funnel Display", system-ui, sans-serif;
  font-size: 88px;
  font-weight: 800;
  line-height: 1;
  color: var(--encre);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  user-select: none;
}

.glyphe-duo {
  position: relative;
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.glyphe-humain {
  position: absolute;
  left: 3px;
  top: 7px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--outremer);
  opacity: 0.95;
}

.glyphe-agent {
  position: absolute;
  right: 3px;
  bottom: 7px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--soleil);
  border: 3px solid var(--fond);
}

.texte-404 {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--gris);
  max-width: 440px;
  margin: 0 auto 32px;
}

.actions-404 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.bouton-404 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  min-height: 42px;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.bouton-404.primaire {
  background: var(--outremer);
  color: #ffffff;
}

.bouton-404.primaire:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.bouton-404.secondaire {
  background: var(--surface);
  color: var(--encre);
  border: 1px solid var(--filet);
}

.bouton-404.secondaire:hover {
  background: var(--voile);
  transform: translateY(-1px);
}
