/* ============================================================
   AFEBAS — 00-variables-reset.css
   Variables CSS, reset global, base typographique
   ============================================================ */

/* ───────────────────────────────────────────────────────────
   0) Variables — surchargées par le Customizer si besoin
   ─────────────────────────────────────────────────────────── */
:root{
  /* AFEBAS Bleu / Jaune */
  --afb-primary:        #0b2a5b;
  --afb-primary-mid:    #123a7a;
  --afb-primary-light:  #1f5bb5;
  --afb-primary-glow:   rgba(11,42,91,0.28);
  --afb-primary-bg:     rgba(11,42,91,0.08);

  --afb-accent:         #f5c400;
  --afb-alert:          #cc2200;

  --afb-dark:           #070b12;
  --afb-dark-mid:       #0e1522;
  --afb-dark-card:      #0e1626;

  --afb-body-bg:        #eef2f7;
  --afb-text:           #1a1a1a;
  --afb-muted:          #74839a;
  --afb-border:         #dde3ee;
  --afb-white:          #ffffff;

  --afb-font-display:   'Barlow Condensed','Arial Narrow',sans-serif;
  --afb-font-body:      'Inter','Helvetica Neue',Arial,sans-serif;

  --afb-radius:         8px;
  --afb-radius-lg:      13px;
  --afb-shadow:         0 2px 10px rgba(0,0,0,0.07);
  --afb-shadow-md:      0 8px 26px rgba(0,0,0,0.14);
  --afb-transition:     0.2s ease;

  /* Aliases legacy (anciens snippets) */
  --afebas-blue:        var(--afb-primary);
  --afebas-yellow:      var(--afb-accent);
  --afebas-font-title:  var(--afb-font-display);

  /* Palette inscrits / map */
  --af-prusse:          #041E42;
  --af-prusse-2:        #062a5e;
  --af-jaune:           #f6c744;
  --af-bg:              #0b1220;
  --af-surface:         #ffffff;
  --af-muted:           #6b7280;
  --af-text:            #111827;
  --af-line:            #e5e7eb;
  --af-soft:            #f6f7fb;
  --af-shadow:          0 10px 30px rgba(0,0,0,.10);
  --af-radius:          16px;
}

/* ───────────────────────────────────────────────────────────
   1) Reset propre + base
   ─────────────────────────────────────────────────────────── */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:var(--afb-font-body);
  background:var(--afb-body-bg);
  color:var(--afb-text);
  line-height:1.6;
  font-size:15px;
  -webkit-font-smoothing:antialiased;
}
a{ color:var(--afb-primary); text-decoration:none; transition:color var(--afb-transition); }
a:hover{ color:var(--afb-primary-mid); }
img,video{ max-width:100%; height:auto; display:block; }
ul,ol{ list-style:none; }
table{ border-collapse:collapse; width:100%; }
button,input,select,textarea{ font-family:inherit; font-size:inherit; }
button{ cursor:pointer; border:none; background:none; }
h1,h2,h3,h4,h5,h6{ line-height:1.2; color:var(--afb-text); }
p{ margin:0 0 1em; }
p:last-child{ margin-bottom:0; }
.screen-reader-text{
  clip:rect(1px,1px,1px,1px); clip-path:inset(50%);
  height:1px; width:1px; margin:-1px; overflow:hidden;
  padding:0; position:absolute; word-wrap:normal;
}
