/* =========================================================
   ROYAL STREET — Jetons de conception du site public
   (L'administration garde tokens.css : ce fichier ne la touche pas.)
   Tout vient du logo néon et de la carte imprimée : le noir de la rue
   la nuit, l'orange néon du cercle, l'ambre de la lueur, le papier
   crème des photos.
   ========================================================= */
/* Polices hébergées sur le site (licences SIL OFL / Apache) : aucune requête
   vers Google, donc aucune adresse IP transmise sans consentement (RGPD).
   Anton : les gros titres condensés de la carte (« STREET FOOD »).
   Archivo : le texte courant. Permanent Marker : la signature au feutre. */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/anton-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/anton-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/archivo-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/archivo-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext-800-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('/assets/fonts/archivo-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Permanent Marker'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/permanent-marker-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* ---- Palette ---- */
  --c-noir:        #0C0B0E;   /* la rue, la nuit */
  --c-charbon:     #141217;
  --c-charbon-2:   #1C1920;
  --c-charbon-3:   #27232C;
  --c-neon:        #FF8A00;   /* l'orange néon du logo */
  --c-neon-hi:     #FFB23E;   /* la lueur */
  --c-neon-lo:     #E86A00;
  --c-flamme:      #FF5A1F;   /* les pastilles de prix */
  --c-braise:      #D9360F;
  --c-ambre:       #FFC94A;
  --c-blanc:       #FFFFFF;
  --c-creme:       #F8E9DA;   /* le fond des photos produits */
  --c-creme-2:     #EFD9C3;
  --c-encre:       #17120E;   /* texte sur crème */
  --c-piment:      #E8402C;
  --c-coriandre:   #39A85A;
  --c-safran:      var(--c-neon);
  --c-safran-hi:   var(--c-neon-hi);
  --c-safran-lo:   var(--c-neon-lo);
  --c-couronne:    var(--c-neon);
  --c-couronne-hi: var(--c-neon-hi);
  --c-couronne-lo: var(--c-neon-lo);
  --c-naan:        var(--c-creme);
  --c-cuivre:      #C9862F;

  /* ---- Sémantique : sombre ---- */
  --bg:          var(--c-noir);
  --bg-alt:      var(--c-charbon);
  --bg-raise:    var(--c-charbon-2);
  --bg-invert:   var(--c-creme);
  --text:        #F6F0EA;
  --text-mute:   #B8ADA3;
  --text-invert: var(--c-encre);
  --line:        rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.2);
  --accent:      var(--c-neon);
  --accent-ink:  var(--c-noir);
  --ok:     var(--c-coriandre);
  --warn:   var(--c-ambre);
  --danger: var(--c-piment);
  --grad-safran: linear-gradient(100deg, var(--c-ambre), var(--c-neon) 50%, var(--c-flamme));
  --grad-feu:    linear-gradient(120deg, var(--c-neon), var(--c-flamme));
  --grad-nuit:   linear-gradient(180deg, var(--c-charbon) 0%, var(--c-noir) 100%);
  --grad-veil:   linear-gradient(180deg, rgba(12,11,14,.1) 0%, rgba(12,11,14,.6) 55%, rgba(12,11,14,.94) 100%);
  --grad-couronne: var(--grad-safran);
  --glass-bg:   rgba(20,18,23,.86);
  --glass-brd:  rgba(255,255,255,.1);
  --glass-blur: saturate(150%) blur(14px);
  --neon-glow:  0 0 .5em rgba(255,138,0,.55), 0 0 1.4em rgba(255,106,0,.35);

  /* ---- Typographie ---- */
  --font-display: 'Anton', 'Impact', 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
  --font-script:  'Permanent Marker', 'Segoe Print', 'Comic Sans MS', cursive;
  --font-body:    'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --t-xs:   clamp(.80rem, .78rem + .10vw, .86rem);
  --t-sm:   clamp(.90rem, .87rem + .14vw, .98rem);
  --t-base: clamp(1rem, .97rem + .18vw, 1.08rem);
  --t-lg:   clamp(1.15rem, 1.07rem + .38vw, 1.36rem);
  --t-xl:   clamp(1.5rem, 1.25rem + 1.1vw, 2.2rem);
  --t-2xl:  clamp(2.1rem, 1.5rem + 2.6vw, 3.7rem);
  --t-3xl:  clamp(2.7rem, 1.7rem + 4.4vw, 5.6rem);
  --t-4xl:  clamp(3.2rem, 1.6rem + 7vw, 8rem);
  --lh-tight: .98;
  --lh-snug:  1.08;
  --lh-body:  1.6;

  /* ---- Espacement ---- */
  --s-1: .25rem; --s-2: .5rem;  --s-3: .75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem;   --s-7: 3rem;   --s-8: 4rem;
  --s-9: 6rem;   --s-10: 8rem;
  --section-y: clamp(3.5rem, 2.2rem + 5.6vw, 7.5rem);
  --gutter:    clamp(1rem, .5rem + 2.4vw, 3rem);
  --maxw:      1280px;
  --maxw-text: 66ch;

  /* ---- Rayons ---- */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-full: 999px;
  --r-arch: 32px;

  /* ---- Ombres ---- */
  --sh-1: 0 1px 2px rgba(0,0,0,.45), 0 4px 14px rgba(0,0,0,.32);
  --sh-2: 0 14px 34px rgba(0,0,0,.5);
  --sh-3: 0 28px 70px rgba(0,0,0,.62);
  --sh-feu: 0 14px 44px rgba(255,138,0,.32);
  --ring: 0 0 0 2px var(--c-neon);

  /* ---- Mouvement ---- */
  --e-out:   cubic-bezier(.16, 1, .3, 1);
  --e-inout: cubic-bezier(.65, 0, .35, 1);
  --e-back:  cubic-bezier(.34, 1.56, .64, 1);
  --d-fast: 150ms; --d-mid: 280ms; --d-slow: 680ms;

  /* ---- Couches ---- */
  --z-base: 1; --z-sticky: 100; --z-header: 200;
  --z-drawer: 300; --z-modal: 400; --z-toast: 500;
  --header-h: 78px;

  /* ---- Alias attendus par les feuilles structurelles (panier,
     fiche produit, filtres). ---- */
  --c-red: var(--c-flamme);  --c-red-deep: var(--c-braise);
  --c-gold: var(--c-neon); --c-orange: var(--c-neon);
  --c-braise-hi: var(--c-neon-hi); --c-braise-lo: var(--c-braise);
  --c-citron: var(--c-ambre);
  --c-green: var(--c-coriandre); --c-vert: var(--c-coriandre); --c-basilic: var(--c-coriandre);
  --c-tomate: var(--c-piment);
  --c-ink: var(--c-noir); --c-ink-soft: var(--c-charbon-2); --c-nuit: var(--c-noir);
  --c-nuit-2: var(--c-charbon); --c-nuit-3: var(--c-charbon-2); --c-nuit-4: var(--c-charbon-3);
  --c-light: var(--c-blanc); --c-white: var(--c-blanc);
  --grad-heat: var(--grad-safran); --grad-gold: var(--grad-safran);
  --grad-braise: var(--grad-feu); --grad-citron: var(--grad-safran);
  --grad-basil: var(--grad-safran); --grad-ink: var(--grad-nuit);
  --sh-red: var(--ring); --sh-gold: var(--ring);
  --glow-braise: var(--sh-feu); --glow-citron: var(--ring);
  --dish-fit: contain;
  color-scheme: dark;
}

/* Le site reste sombre : l'identité néon de Royal Street. */
[data-theme="light"] { color-scheme: dark; }

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--t-base);
  line-height: var(--lh-body); font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 800;
  line-height: var(--lh-snug); letter-spacing: -.005em; text-wrap: balance;
}
h1, h2 { line-height: var(--lh-tight); }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--c-safran); outline-offset: 3px; border-radius: 3px; }
[data-theme="light"] :focus-visible { outline-color: var(--c-braise); }
::selection { background: var(--c-safran); color: var(--c-noir); }
.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: absolute; left: var(--s-4); top: -100px; z-index: var(--z-toast);
  background: var(--c-couronne); color: var(--c-noir); font-weight: 800;
  padding: var(--s-3) var(--s-5); border-radius: var(--r-full);
  transition: top var(--d-fast) var(--e-out);
}
.skip-link:focus { top: var(--s-4); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
