/* ---------------------------------------------------------------
   Staff Meal — coque commune à toutes les pages (DA v2, octobre 2026).
   Grammaire Notion : blanc dominant, grotesque noire, un seul accent
   bleu, navigation fine. Pas de mascotte : le monogramme S suffit.
   Chargée après style.css sur les pages Tailwind, seule sur la home.
   --------------------------------------------------------------- */

:root {
  --ink: #191919;
  --muted: #666;
  --line: #e7e7e4;
  --paper: #fff;
  --soft: #f7f7f5;
  --blue: #2383e2;
  --blue-dark: #1269bd;
  --blue-soft: #eaf3fc;
  --green: #0f7b6c;
  --yellow: #e9a23b;
  --red: #df5a52;
  --lilac: #8f78d6;
  --font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { font-family: var(--font); scroll-behavior: smooth; scroll-padding-top: 94px; max-width: 100%; overflow-x: clip; }
body { max-width: 100%; overflow-x: clip; }
body { font-family: var(--font); font-synthesis: none; -webkit-font-smoothing: antialiased; }

:focus-visible { outline: 3px solid rgba(35, 131, 226, .42); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 15px; border-radius: 7px; color: white; background: var(--ink); transition: top .2s; }
.skip-link:focus { top: 16px; }

.announcement { min-height: 36px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 24px; color: #084a83; background: var(--blue-soft); font-size: 13px; font-weight: 650; text-align: center; }
.announcement a { margin-left: 5px; border-bottom: 1px solid currentColor; }
.announcement-star { color: var(--blue); }

.site-header { position: sticky; top: 0; z-index: 50; height: 66px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 0 28px; border-bottom: 1px solid rgba(231,231,228,.9); background: rgba(255,255,255,.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: var(--ink); }
.site-header a:not(.button), .site-footer a { color: inherit; text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; font-size: 16px; font-weight: 760; letter-spacing: -.025em; }
/* Logo : lettrage gourmand (Bagel Fat One, OFL) vectorisé dans assets/brand/ */
.brand-word { display: block; width: auto; height: 24px; }
.brand-word-lg { height: 28px; }
.brand-s { display: block; flex: 0 0 auto; }
.apply-copy .club .brand-s { width: 30px; height: 30px; }
.brand-mark, .mini-mark { display: grid; place-items: center; color: white; background: var(--ink); font-family: Georgia, serif; font-style: italic; font-weight: 800; }
.brand-mark { width: 30px; height: 30px; border-radius: 6px; font-size: 19px; line-height: 1; }
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav a, .text-link { padding: 8px 10px; border-radius: 6px; font-size: 14px; font-weight: 590; }
.main-nav a:hover, .text-link:hover { background: var(--soft); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 7px; }
.menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 19px; border: 1px solid var(--ink); border-radius: 7px; font-size: 15px; font-weight: 720; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(25,25,25,.12); }
.button-primary { color: white; background: var(--ink); }
.button-primary:hover { background: #333; }
.button-secondary { border-color: #d5d5d1; color: var(--ink); background: white; }
.button-small { min-height: 36px; padding: 0 13px; font-size: 13px; }

.site-footer { display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px; padding: 70px max(28px, calc((100vw - 1180px)/2 + 28px)) 28px; color: white; background: var(--ink); font-family: var(--font); }
.site-footer .brand-mark { color: var(--ink); background: white; }
.footer-brand p { margin: 25px 0 0; color: #aaa; font-size: 22px; line-height: 1.25; letter-spacing: -.03em; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 35px; }
.footer-links div { display: grid; align-content: start; gap: 12px; }
.footer-links b { margin-bottom: 6px; color: white; font-size: 12px; }
.footer-links a { color: #aaa; font-size: 12px; }
.footer-links a:hover { color: white; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 35px; padding-top: 20px; border-top: 1px solid #393936; color: #777; font-size: 10px; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .header-actions { grid-column: 2; grid-row: 1; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .announcement { min-height: 45px; padding: 8px 14px; font-size: 11px; line-height: 1.35; }
  .announcement a { white-space: nowrap; }
  .site-header { height: 62px; grid-template-columns: 1fr auto; padding: 0 16px; }
  .menu-toggle { width: 38px; height: 38px; display: grid; place-content: center; gap: 5px; border-radius: 7px; }
  .menu-toggle span:not(.sr-only) { width: 20px; height: 2px; display: block; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 12px 16px 18px; border-bottom: 1px solid var(--line); background: white; box-shadow: 0 15px 30px rgba(25,25,25,.08); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 13px 9px; }
  .site-header .main-nav .nav-cta { margin-top: 8px; color: white; background: var(--ink); text-align: center; }
  .header-actions { display: none; }
  .brand { font-size: 15px; }
  .brand-word { height: 21px; }
  .brand-mark { width: 28px; height: 28px; }
  .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; gap: 48px; padding: 60px 22px 25px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-bottom { display: grid; gap: 8px; }
}

@media (min-width: 761px) {
  .main-nav .nav-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Monogramme en grand, là où l'ancienne mascotte servait d'illustration (404, merci, login) */
.brand-mark.sm-mark { width: 56px; height: 56px; border-radius: 12px; font-size: 32px; }

/* Articles (pages guides) : titres noirs, texte de lecture, puces bleues.
   Surcharge les <style> en ligne hérités de l'ancienne DA (chargé après eux). */
.prose h2 { margin: 56px 0 16px; color: var(--ink); font-family: var(--font); font-size: 30px; font-weight: 760; line-height: 1.15; letter-spacing: -.035em; }
.prose h3 { color: var(--ink); font-family: var(--font); letter-spacing: -.025em; }
.prose p, .prose li { color: #37352f; font-family: var(--font); font-size: 17px; line-height: 1.7; opacity: 1; }
.prose li::before { color: var(--blue); }
@media (max-width: 760px) { .prose h2 { margin-top: 40px; font-size: 25px; } }
