/* ════════════════════════════════════════════════════════════════
   CAFÉ ROSE — Design System (micro-refonte UI)
   Refonte graphique uniquement. Structure, copy, palette, assets
   et JS inchangés. Couvre les 5 pages :
     body.page-home            → index.html (accueil)
     body                      → food.html / pages légales (clair)
     body[data-theme="dark"]   → drinks.html (sombre)

   Changements micro-refonte :
   • Typo  : corps & labels en Work Sans (--font-body, figé) ;
             titres de section + tagline en EB Garamond italique.
   • Icônes: SVG Lucide stroke monochrome (figé, plus d'emoji).
   • Boutons: pills premium h44, sheen + ombre étagée, hover dégradé.
   • Nav   : h54, padding 12×16, actif underline 2px.
   • Cartes: base = densité Souple, graisse Doux, prix plein.
   • Tweaks: calque de revue (densité / graisse / titres / prix).
════════════════════════════════════════════════════════════════ */

/* ── Tokens couleurs (strict — inchangés) ────────────────────── */
:root {
  --burgundy:       #5a1a2e;
  --burgundy-mid:   #8a3050;
  --burgundy-pale:  rgba(90,26,46,0.08);
  --burgundy-line:  rgba(90,26,46,0.18);
  --burgundy-line2: rgba(90,26,46,0.38);
  --cream:          #faf6ef;
  --cream-dark:     #f0e8dc;
  --ink:            #2b1a14;
  --ink-soft:       #7a6a5a;
  --night:          #3a1525;
  --night-deep:     #26101a;
  --rose:           #e8637a;
  --rose-light:     #f0a0b0;

  /* ── Typo (système figé) ────────────────────────────────────
     Corps & labels : Work Sans. Titres d'accent : EB Garamond.  */
  --font-body:  'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;

  /* Échelle de tailles */
  --fs-body:   15px;   /* corps, nom d'item */
  --fs-desc:   13px;   /* descriptions (italique) */
  --fs-label:  11px;   /* eyebrows, labels, nav */
  --fs-price:  16px;   /* prix */
  --lh-body:   1.7;

  /* Menu pages (thème clair par défaut) */
  --page-bg:       var(--cream);
  --text:          var(--ink);
  --text-soft:     var(--ink-soft);
  --accent:        var(--burgundy);
  --accent-light:  var(--burgundy-mid);
  --accent-pale:   var(--burgundy-pale);
  --line:          var(--burgundy-line);
  --line-strong:   var(--burgundy-line2);
  --nav-bg:        rgba(250,246,239,0.96);
  --nav-border:    var(--burgundy-line2);
  --nav-shadow:    0 8px 28px -20px rgba(90,26,46,0.55);
  --price-color:   var(--burgundy);
  --name-color:    var(--ink);
  --title-color:   var(--burgundy);
}

/* Thème sombre (drinks.html) */
[data-theme="dark"] {
  --page-bg:       var(--night);
  --text:          #ffffff;
  --text-soft:     rgba(255,255,255,0.68);
  --accent:        var(--rose);
  --accent-light:  var(--rose-light);
  --accent-pale:   rgba(232,99,122,0.12);
  --line:          rgba(255,255,255,0.16);
  --line-strong:   rgba(255,255,255,0.32);
  --nav-bg:        rgba(38,16,26,0.96);
  --nav-border:    rgba(255,255,255,0.18);
  --nav-shadow:    0 10px 30px -18px rgba(0,0,0,0.7);
  --price-color:   var(--rose-light);
  --name-color:    #ffffff;
  --title-color:   #ffffff;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* ── Base body (food, drinks & pages légales) ────────────────── */
body {
  background-color: var(--page-bg);
  background-image: url('./assets/cafe-rose-fond.png');
  background-size: 380px;
  background-repeat: repeat;
  background-attachment: scroll; /* fixed activé sur desktop via media query */
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background: var(--night);
  opacity: var(--bg-overlay, 0);
  pointer-events: none;
  z-index: 0;
}
[data-theme="dark"] { --bg-overlay: 0.88; }

/* Page d'accueil : fond géré section par section */
body.page-home {
  background: none;
  background-image: none;
}
body.page-home::before { display: none; }

/* ── Focus visible — WCAG AA (toutes les cibles interactives) ── */
a:focus-visible,
button:focus-visible,
.item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Icônes SVG (remplacent les emojis) ──────────────────────── */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: currentColor;
}
.icon svg {
  display: block;
  width: 100%; height: 100%;
  /* fill / stroke portés par les attributs inline du SVG (Lucide = trait,
     Phosphor regular = aplat) — pas de surcharge CSS ici. */
}

/* ── Page wrapper ────────────────────────────────────────────── */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: pageFadeIn 0.45s ease both;
}
body.page-home .page { max-width: none; }

/* ── Logo ────────────────────────────────────────────────────── */
.logo { display: block; margin: 0 auto; }
body:not([data-theme="dark"]):not(.page-home) .logo {
  mix-blend-mode: multiply;
  filter: brightness(0) saturate(100%) invert(10%) sepia(60%)
          saturate(800%) hue-rotate(300deg) brightness(40%);
}
[data-theme="dark"] .logo { mix-blend-mode: screen; filter: none; }

/* ── Dividers ────────────────────────────────────────────────── */
.h-line-thin  { height: 1px; background: var(--line-strong); }
.s-line-thick { height: 2px; background: var(--accent); margin-bottom: 0.55rem; }
.s-line-thin  { height: 1px; background: var(--line); margin-top: 0.4rem; margin-bottom: 1.1rem; }

/* ════════════════════════════════════════════════════════════════
   PAGE HOME — sections
════════════════════════════════════════════════════════════════ */

/* Reveal au scroll */
.page-home .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.page-home .reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Hero ─────────────────────────────────────────────────────── */
.page-home .hero {
  min-height: 50vh;
  max-height: clamp(500px, 70vh, 680px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 2rem 5rem;
  background-color: #26101a;
  background-image: url('./assets/cafe-rose-fond.png');
  background-size: 380px;
  background-repeat: repeat;
  background-attachment: scroll;
  position: relative;
  overflow: hidden;
}
.page-home .hero::before {
  content: '';
  position: absolute; inset: 0;
  background: #26101a;
  opacity: 0.86;
  pointer-events: none;
}
.page-home .hero > * { position: relative; z-index: 1; }

.page-home .hero-logo {
  max-width: 180px; min-width: 110px;
  margin-bottom: 1.8rem;
  mix-blend-mode: screen; filter: none;
}
.page-home .hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: #e8637a; margin-bottom: 1.1rem;
}
.page-home .hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  font-style: italic; color: #faf6ef;
  line-height: 1.4; max-width: 460px;
}
.page-home .hero-line {
  width: 46px; height: 2px;
  background: #e8637a;
  margin: 1.6rem auto 0;
}
/* Absolu = espace constant sous le hero quelle que soit la hauteur */
.page-home .hero-scroll {
  position: absolute; bottom: 1.4rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  display: flex; flex-direction: column;
  align-items: center; gap: 0.5rem; z-index: 1;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
.page-home .hero-scroll::after {
  content: ''; width: 1px; height: 26px;
  background: linear-gradient(to bottom, #e8637a, transparent);
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(5px); }
}

/* ── About ───────────────────────────────────────────────────── */
.page-home .about {
  background-color: #faf6ef;
  background-image: url('./assets/cafe-rose-fond.png');
  background-size: 380px; background-repeat: repeat;
  background-attachment: scroll;
  padding: 3.5rem 2rem 2.5rem; text-align: center;
}
.page-home .about-inner { max-width: 620px; margin: 0 auto; }
.page-home .about-label {
  font-family: var(--font-body);
  font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #5a1a2e; margin-bottom: 1.1rem;
}
.page-home .about-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4.5vw, 2.5rem); font-weight: 700;
  color: #2b1a14; margin-bottom: 1.4rem; line-height: 1.2;
}
.page-home .about-text {
  font-size: var(--fs-body); line-height: 1.8;
  color: #7a6a5a; margin-bottom: 1rem;
  text-wrap: pretty;
}
.page-home .about-divider {
  width: 38px; height: 2px;
  background: #5a1a2e; margin: 2rem auto 0;
}

/* ── Address bar ─────────────────────────────────────────────── */
.page-home .address-bar {
  display: flex; flex-direction: column;
  align-items: center; gap: 1.6rem;
  padding: 2.4rem 2rem; background: #f0e8dc;
  border-top: 1px solid rgba(90,26,46,0.2);
  border-bottom: 1px solid rgba(90,26,46,0.2);
}
.page-home .address-items {
  display: flex; align-items: flex-start;
  justify-content: center; flex-wrap: wrap; gap: 2rem;
}
.page-home .address-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 0.6rem; text-align: center;
}
.page-home .address-item-icon {
  display: inline-flex; color: #5a1a2e;
}
.page-home .address-item-label {
  font-family: var(--font-body);
  font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: #5a1a2e;
}
.page-home .address-item-value {
  font-size: 0.875rem; color: #7a6a5a; line-height: 1.5;
}
.page-home .address-item-value a { color: inherit; text-decoration: none; }
.page-home .address-item-value a:hover { color: #5a1a2e; }
.page-home .address-sep { width: 1px; height: 44px; background: rgba(90,26,46,0.2); }

/* Instagram btn dans address-bar (fond clair → bordeaux outline) */
.page-home .address-bar .instagram-btn {
  background: transparent;
  border: 1px solid rgba(90,26,46,0.4);
  color: #5a1a2e !important;
  box-shadow: none; margin-top: 0;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.page-home .address-bar .instagram-btn:hover {
  background: #5a1a2e; border-color: #5a1a2e;
  color: white !important;
  box-shadow: 0 6px 20px rgba(90,26,46,0.25);
  transform: none;
}
.page-home .address-bar .instagram-btn svg { fill: currentColor; }

/* ── CTA section ─────────────────────────────────────────────── */
.page-home .carte-cta {
  background-color: #3a1525;
  background-image: url('./assets/cafe-rose-fond.png');
  background-size: 380px; background-repeat: repeat;
  background-attachment: scroll;
  position: relative; padding: 4.5rem 2rem; text-align: center;
}
.page-home .carte-cta::before {
  content: ''; position: absolute; inset: 0;
  background: #3a1525; opacity: 0.84; pointer-events: none;
}
.page-home .carte-cta > * { position: relative; z-index: 1; }
.page-home .carte-cta-title {
  font-family: var(--font-body);
  font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 2.5rem;
}

/* ── CTA Cards ───────────────────────────────────────────────── */
.page-home .cta-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.2rem; max-width: 700px; margin: 0 auto;
}
.page-home .cta-card {
  position: relative; display: flex;
  flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 2rem 1.8rem; min-height: 280px;
  border-radius: 4px; text-decoration: none; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s;
}
.page-home .cta-card-food {
  background-image: url('./assets/photo-food.png');
  background-size: cover; background-position: center;
  background-color: #5a1a2e;
}
.page-home .cta-card-drinks {
  background-image: url('./assets/photo-drinks.png');
  background-size: cover; background-position: center;
  background-color: #26101a;
}
.page-home .cta-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,5,12,0.88) 0%, rgba(20,5,12,0.35) 55%, transparent 100%);
  transition: background 0.35s;
}
.page-home .cta-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  border-color: rgba(232,99,122,0.5);
}
.page-home .cta-card-content { position: relative; z-index: 1; text-align: left; width: 100%; }
.page-home .cta-card-label {
  font-family: var(--font-body);
  font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #e8637a; margin-bottom: 0.6rem; display: block;
}
.page-home .cta-card-title {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 800;
  color: #ffffff; text-transform: uppercase;
  letter-spacing: 0.02em; display: block;
  margin-bottom: 0.6rem; line-height: 1.1;
}
.page-home .cta-card-sub {
  font-size: 0.8rem; color: rgba(255,255,255,0.62);
  line-height: 1.6; display: block;
}
/* Chevron discret, apparaît au hover */
.page-home .cta-card-chevron {
  position: absolute; bottom: 2rem; right: 1.8rem;
  z-index: 1; color: #e8637a;
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.page-home .cta-card:hover .cta-card-chevron,
.page-home .cta-card:focus-visible .cta-card-chevron {
  opacity: 1; transform: translateX(0);
}

/* ── Home footer ─────────────────────────────────────────────── */
.page-home .home-footer {
  background: #faf6ef;
  background-image: url('./assets/cafe-rose-fond.png');
  background-size: 380px; background-repeat: repeat;
  border-top: 1px solid rgba(90,26,46,0.2);
  padding: 2.5rem 2rem; text-align: center;
}
.page-home .logo-footer {
  width: 100px; display: block; margin: 0 auto 0.8rem;
  mix-blend-mode: multiply;
  filter: brightness(0) saturate(100%) invert(10%) sepia(60%)
          saturate(800%) hue-rotate(300deg) brightness(40%);
  opacity: 0.45;
}
.page-home .footer-name {
  font-size: 0.75rem; color: #7a6a5a;
  letter-spacing: 0.04em; text-transform: uppercase; margin-top: 0.3rem;
}

/* ════════════════════════════════════════════════════════════════
   MENU PAGES — food.html & drinks.html
════════════════════════════════════════════════════════════════ */

/* ── Header menu ─────────────────────────────────────────────── */
.menu-header {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid var(--line-strong); gap: 1rem;
}

/* Boutons pills premium (back / switch) — h44, sheen + ombre étagée,
   remplissage dégradé accent au survol avec micro-lift. */
.back-btn,
.header-switch {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.55rem;
  height: 44px; padding: 0 1.35rem;
  font-family: var(--font-body);
  font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap; flex-shrink: 0;
  border: 1px solid var(--line-strong);
  background: var(--accent-pale);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45),
              0 2px 6px -3px rgba(90,26,46,0.22);
  transition: transform 0.3s cubic-bezier(.2,.7,.3,1),
              box-shadow 0.3s ease, background 0.3s ease,
              color 0.24s ease, border-color 0.24s ease;
  will-change: transform;
}
.back-btn { color: var(--accent); }
.header-switch { color: var(--text-soft); border-color: var(--line); }

.back-btn:hover,
.header-switch:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -10px rgba(90,26,46,0.55),
              inset 0 1px 0 rgba(255,255,255,0.28);
}
.back-btn:active,
.header-switch:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px -5px rgba(90,26,46,0.45),
              inset 0 1px 0 rgba(255,255,255,0.2);
}
.back-btn .icon,
.header-switch .icon { width: 16px; height: 16px; }
.header-logo { max-width: 120px; flex-shrink: 0; }

/* ── Navbar ──────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(135%); -webkit-backdrop-filter: blur(20px) saturate(135%);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: var(--nav-shadow);
}
.nav-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: stretch;
  /* flex-start sur mobile : premier item visible depuis la gauche
     (pas de centrage qui couperait le 1er item en débordement). */
  justify-content: flex-start;
  overflow-x: auto; scrollbar-width: none;
  gap: 0; padding: 0 0.6rem;
  -webkit-overflow-scrolling: touch;
}
.nav-inner::-webkit-scrollbar { display: none; }
/* Centrage restauré sur grands écrans où les items tiennent */
@media (min-width: 760px) {
  .nav-inner { justify-content: center; }
}
.nav-inner a {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex; align-items: center;
  height: 56px; padding: 0 18px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-soft); text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease;
}
/* Soulignement premium : barre arrondie en retrait, animée depuis le centre.
   En absolu → aucun layout shift, pas de bordure réservée nécessaire. */
.nav-inner a::after {
  content: '';
  position: absolute; left: 18px; right: 18px; bottom: 11px;
  height: 2px; border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: center;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
}
/* hover scopé aux vrais pointeurs — évite le sticky hover mobile */
@media (hover: hover) and (pointer: fine) {
  .nav-inner a:hover { color: var(--accent); }
  .nav-inner a:hover::after { transform: scaleX(0.62); opacity: 0.45; }
}
.nav-inner a.active { color: var(--accent); }
.nav-inner a.active::after { transform: scaleX(1); opacity: 1; }

/* ── Main ────────────────────────────────────────────────────── */
main { max-width: 900px; margin: 0 auto; padding: 0.5rem 2.5rem 8rem; }

/* ── Sections ────────────────────────────────────────────────── */
.section {
  margin-top: 2.9rem;
  /* scroll-margin-top géré dynamiquement par JS (scrollPaddingTop) */
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section.visible { opacity: 1; transform: translateY(0); }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 4.5vw, 2rem); font-weight: 600;
  font-style: italic;
  color: var(--title-color); letter-spacing: 0; text-transform: none;
  line-height: 1.1;
}
.section-note {
  font-size: var(--fs-desc); color: var(--text-soft);
  font-style: italic; margin-bottom: 0.9rem;
}
.sub-title {
  font-family: var(--font-body);
  font-size: var(--fs-label); font-weight: 600;
  color: var(--accent); letter-spacing: 0.14em; text-transform: uppercase;
  margin: 1.6rem 0 0.7rem; padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}
.sub-section { margin-bottom: 0.5rem; }

/* ── Items ───────────────────────────────────────────────────── */
.items { display: grid; gap: 0; }
.item {
  display: flex; align-items: baseline;
  justify-content: space-between; gap: 1.2rem;
  padding: 0.78rem 0.5rem;
  border-bottom: 1px solid var(--line); border-radius: 3px;
  transition: background 0.18s;
}
.item:last-child { border-bottom: none; }
.item:hover { background: var(--accent-pale); }
.item-left { flex: 1; min-width: 0; }
.item-name {
  font-family: var(--font-body);
  font-size: var(--fs-body); font-weight: 500;
  color: var(--name-color); letter-spacing: 0.01em;
  display: block; line-height: 1.4;
}
.item-desc {
  font-size: var(--fs-desc); color: var(--text-soft);
  font-style: italic; display: block;
  margin-top: 0.25rem; line-height: 1.6;
  text-wrap: pretty;
}
.item-price {
  font-family: var(--font-body);
  font-size: var(--fs-price); font-weight: 600;
  color: var(--price-color); white-space: nowrap; flex-shrink: 0;
  letter-spacing: 0.01em;
}

/* ── Instagram btn (menu pages, fond coloré → gradient bordeaux) ─ */
.instagram-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 1.8rem; height: 46px; padding: 0 1.8rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: white !important; text-decoration: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--fs-label); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: transform 0.32s cubic-bezier(.2,.7,.3,1), box-shadow 0.32s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3),
              0 6px 20px -6px rgba(90,26,46,0.45);
}
.instagram-btn:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.32),
              0 14px 34px -10px rgba(90,26,46,0.6);
}
.instagram-btn:active { transform: translateY(-1px); }
.instagram-btn svg { width: 17px; height: 17px; fill: white; flex-shrink: 0; }

/* ── Footer menu pages ───────────────────────────────────────── */
footer {
  text-align: center; padding: 2.5rem 2rem 3rem;
  margin: 0; border-top: 2px solid var(--line-strong);
}
.logo-footer {
  width: 120px; display: block; margin: 0 auto 0.9rem;
}
body:not([data-theme="dark"]):not(.page-home) .logo-footer {
  mix-blend-mode: multiply;
  filter: brightness(0) saturate(100%) invert(10%) sepia(60%)
          saturate(800%) hue-rotate(300deg) brightness(40%);
  opacity: 0.45;
}
[data-theme="dark"] .logo-footer { mix-blend-mode: screen; opacity: 0.55; }
.footer-name {
  font-size: 0.75rem; color: var(--text-soft);
  letter-spacing: 0.04em; text-transform: uppercase; margin-top: 0.3rem;
}

/* ── Page transition overlay ─────────────────────────────────── */
.page-transition {
  position: fixed; inset: 0;
  background: var(--burgundy);
  z-index: 999; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.page-transition.active { opacity: 1; pointer-events: all; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  main { padding: 0.5rem 1.3rem 7rem; }
  .section-title { font-size: 1.5rem; }
  .menu-header { padding: 1rem 1.2rem; }
  .header-logo { max-width: 92px; }
  .logo-footer { width: 92px; }
  footer { margin: 0; padding: 2rem 1rem 2.5rem; }

  /* Home */
  .page-home .cta-cards { grid-template-columns: 1fr; }
  .page-home .cta-card { min-height: 220px; }
  .page-home .address-sep { display: none; }
  .page-home .address-items { gap: 1.6rem; }
}

/* Performance : background-attachment: fixed uniquement desktop. */
@media (min-width: 641px) {
  body { background-attachment: fixed; }
  .page-home .hero,
  .page-home .about,
  .page-home .carte-cta,
  .page-home .home-footer { background-attachment: fixed; }
}

/* ════════════════════════════════════════════════════════════════
   LANGUAGE TOGGLE — FR / EN
   Pill flottant fixe en bas à droite, z-index 500.
   Cibles tactiles ≥ 44px. Actif = rose (sombre) / bordeaux (clair).
════════════════════════════════════════════════════════════════ */
.lang-toggle-fixed {
  position: fixed;
  bottom: 1.5rem;
  right: 1rem;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  overflow: hidden;
  padding: 4px;
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.26);
  background: rgba(26,8,18,0.50);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lang-toggle-fixed .lang-btn {
  background: none;
  border: none;
  min-width: 44px;
  height: 36px;
  padding: 0 0.6rem;
  cursor: pointer;
  border-radius: 999px;
  color: rgba(255,255,255,0.62);
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.lang-toggle-fixed .lang-btn.lang-active {
  background: #e8637a;
  color: #fff;
  box-shadow: 0 2px 8px -2px rgba(232,99,122,0.55),
              inset 0 1px 0 rgba(255,255,255,0.3);
}
.lang-toggle-fixed .lang-btn:hover:not(.lang-active) {
  color: #fff;
  background: rgba(255,255,255,0.10);
}

/* Thème clair uniquement (food.html / pages légales) */
body:not([data-theme="dark"]):not(.page-home) .lang-toggle-fixed {
  border-color: rgba(90,26,46,0.26);
  background: rgba(250,246,239,0.93);
}
body:not([data-theme="dark"]):not(.page-home) .lang-toggle-fixed .lang-btn {
  color: rgba(90,26,46,0.6);
}
body:not([data-theme="dark"]):not(.page-home) .lang-toggle-fixed .lang-btn.lang-active {
  background: #5a1a2e;
  color: #fff;
  box-shadow: 0 2px 8px -2px rgba(90,26,46,0.5),
              inset 0 1px 0 rgba(255,255,255,0.22);
}
body:not([data-theme="dark"]):not(.page-home) .lang-toggle-fixed .lang-btn:hover:not(.lang-active) {
  color: #5a1a2e;
  background: rgba(90,26,46,0.08);
}

/* ════════════════════════════════════════════════════════════════
   LIENS LÉGAUX — footer de toutes les pages
════════════════════════════════════════════════════════════════ */
.footer-legal-links {
  margin-top: 1.3rem;
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-legal-links a {
  color: var(--text-soft);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
}
.footer-legal-links a:hover { opacity: 1; color: var(--accent); }
.footer-legal-links span { opacity: 0.35; padding: 0 0.4em; }

.page-home .footer-legal-links a { color: #7a6a5a; }
.page-home .footer-legal-links a:hover { color: #5a1a2e; }

/* ════════════════════════════════════════════════════════════════
   PAGES LÉGALES — mentions-legales.html & confidentialite.html
════════════════════════════════════════════════════════════════ */
.legal-intro {
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--text-soft);
  font-style: italic;
  margin: 1.8rem 0 0.5rem;
  text-wrap: pretty;
}
.legal-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-soft);
  margin-top: 0.7rem;
  text-wrap: pretty;
}
.legal-text p { margin-bottom: 0.7rem; }
.legal-text p:last-child { margin-bottom: 0; }
.legal-text ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0.7rem 0.8rem;
}
.legal-text ul li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
}
.legal-text ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.legal-text strong { color: var(--text); font-weight: 700; }
.legal-text a { color: var(--accent); text-decoration: none; }
.legal-text a:hover { text-decoration: underline; }

/* Zones à compléter : mises en valeur en couleur accent */
.fill {
  color: var(--accent);
  font-weight: 700;
  background: var(--accent-pale);
  border-radius: 3px;
  padding: 0 4px;
  font-style: normal;
}

/* ════════════════════════════════════════════════════════════════
   CALQUE TWEAKS — arbitrages ouverts (classes posées sur <html>
   par tweaks.js). Base de prod (aucune classe) = densité Souple,
   graisse Doux, titres serif italique, prix plein. Les classes
   ci-dessous ne servent qu'à RE-comparer les alternatives.
     • Densité  → .dens-compact / .dens-confort / .dens-genereux
     • Graisse  → .poids-standard / .poids-marque
     • Titres   → .titres-caps
     • Prix     → .prix-encadre
════════════════════════════════════════════════════════════════ */

/* Transition douce quand on bascule un réglage */
.item { transition: background 0.18s ease, padding 0.3s ease; }
.section-title { transition: font-size 0.3s ease; }

/* ── Densité (Souple = base) ─────────────────────────────────── */
.dens-compact .item     { padding: 0.55rem 0.5rem; }
.dens-compact .section  { margin-top: 2.3rem; }
.dens-confort .item     { padding: 1rem 0.5rem; }
.dens-confort .section  { margin-top: 3.5rem; }
.dens-genereux .item    { padding: 1.5rem 0.5rem; }
.dens-genereux .section { margin-top: 5rem; }

/* ── Graisse du texte (Doux = base : titre 600 / nom 500 / prix 600) ─ */
.poids-standard .section-title { font-weight: 700; }
.poids-standard .sub-title     { font-weight: 700; }
.poids-standard .item-name     { font-weight: 600; }
.poids-standard .item-price    { font-weight: 700; }

.poids-marque .section-title { font-weight: 700; }
.poids-marque .sub-title     { font-weight: 700; }
.poids-marque .item-name     { font-weight: 700; }
.poids-marque .item-desc     { font-style: italic; font-weight: 500; }
.poids-marque .item-price    { font-weight: 800; }

/* ── Titres en capitales sans (Serif italique = base) ────────── */
.titres-caps .section-title {
  font-family: var(--font-body);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.5rem;
  line-height: 1.15;
}

/* ── Prix encadrés (Plein = base) ────────────────────────────── */
.prix-encadre .item-price {
  padding: 0.16em 0.66em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--accent-pale);
  font-size: calc(var(--fs-price) - 1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
[data-theme="dark"] .prix-encadre .item-price {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
