/* ============================================================
   BISTRO 90 — Luxembourg-Centre · Maquette GridCore.lu
   Design system : espresso · crème · bois chaud · doré doux
   Typo : Playfair Display (titres) + Karla (texte)
   ============================================================ */

:root {
  /* Couleurs */
  --cream:        #F7F1E6;
  --cream-2:      #F0E7D6;
  --surface:      #FFFDF8;
  --espresso:     #2B1B12;
  --espresso-2:   #54402F;
  --brown:        #5C4033;
  --gold:         #B68A47;
  --gold-deep:    #8C6A34;
  --gold-soft:    #D9BC8C;
  --gold-hero:    #E6C57E;
  --dark:         #1E130C;
  --dark-2:       #170E08;
  --cream-on-dark:#F3EADA;
  --muted-on-dark:#C9B79B;
  --success:      #2F6B3A;
  --line:         rgba(92, 64, 51, .16);
  --line-strong:  rgba(92, 64, 51, .28);
  --line-on-dark: rgba(243, 234, 218, .16);

  /* Typo */
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body:    "Karla", "Segoe UI", sans-serif;

  /* Rythme */
  --radius:    18px;
  --radius-lg: 28px;
  --demo-h:    40px;           /* barre de démonstration GridCore */
  --pill-h:    66px;           /* hauteur du pill de navigation */
  --pill-gap:  14px;           /* espace entre la barre demo et le pill */
  --header-h:  calc(var(--demo-h) + var(--pill-gap) + var(--pill-h)); /* bas du header ≈ 120px */
  --section-y: clamp(72px, 10vw, 132px);

  /* Ombres (échelle unique) */
  --shadow-1: 0 2px 10px rgba(43, 27, 18, .06);
  --shadow-2: 0 10px 32px rgba(43, 27, 18, .10);
  --shadow-3: 0 24px 64px rgba(23, 14, 8, .22);
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.65;
  color: var(--espresso);
  background: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
a, button, input, select, textarea, [role="button"] { touch-action: manipulation; }
svg { display: block; flex: none; }

::selection { background: var(--gold); color: var(--dark); }

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Grain papier — atmosphère, très subtil */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* Halo curseur — réservé au hero (activé en JS, pointeur fin uniquement) */
.cursor-glow {
  position: fixed;
  z-index: 55;
  width: 460px;
  height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(230, 197, 126, .15), transparent 72%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity .4s ease;
}
.cursor-glow.is-on { opacity: 1; }

/* Anneau curseur — suit la souris avec inertie, grandit sur l'interactif */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1.5px solid rgba(182, 138, 71, .65);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease, width .25s ease, height .25s ease,
              margin .25s ease, background-color .25s ease, border-color .25s ease;
}
.cursor-ring.is-on { opacity: 1; }
.cursor-ring.is-hover {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  background: rgba(230, 197, 126, .12);
  border-color: rgba(182, 138, 71, .9);
}

/* « Le fil de la journée » — horloge sticky qui suit le récit */
.fil-journee {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px 10px 12px;
  border-radius: 999px;
  background: rgba(26, 16, 10, .84);
  color: var(--cream-on-dark);
  border: 1px solid rgba(230, 197, 126, .32);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(15, 9, 5, .3);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.fil-journee.is-on { opacity: 1; transform: none; }
.fil-journee svg { width: 30px; height: 30px; color: var(--gold-hero); }
.fil-journee .fil-h,
.fil-journee .fil-m {
  transform-origin: 18px 18px;
  transition: transform .9s cubic-bezier(.3, .7, .25, 1);
}
.fil-journee .fil-label { transition: opacity .25s ease; white-space: nowrap; }
html.no-gsap .fil-journee { display: none; }

/* ---------- Utilitaires ---------- */
.container {
  width: min(1180px, 100% - clamp(40px, 8vw, 96px));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin-top: 14px;
}
.section-head p { margin-top: 14px; color: var(--espresso-2); }
.section-head em { font-family: var(--font-display); font-style: italic; color: var(--gold-deep); }

.skip-link {
  position: absolute;
  top: -64px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--espresso);
  color: var(--cream-on-dark);
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s cubic-bezier(.2, .7, .3, 1.1),
              background-color .25s ease, color .25s ease,
              border-color .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--espresso);
  color: var(--cream-on-dark);
  box-shadow: var(--shadow-2);
}
.btn--primary:hover { background: var(--brown); box-shadow: 0 14px 36px rgba(43, 27, 18, .18); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--espresso);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--espresso); background: rgba(92, 64, 51, .06); }

/* CTA or — héro & moments forts (avec reflet au survol) */
.btn--gold {
  position: relative;
  overflow: hidden;
  background: var(--gold-hero);
  color: var(--dark);
  box-shadow: 0 18px 46px rgba(182, 138, 71, .28);
}
.btn--gold::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 42%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events: none;
}
.btn--gold:hover { background: #F0D294; }
.btn--gold:hover::after { left: 130%; }

/* Bouton verre — sur fond sombre */
.btn--glass {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .07);
  color: var(--cream-on-dark);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }

/* Lien téléphone (CTA tertiaire) */
.call-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-weight: 700;
  color: var(--espresso);
  border-bottom: 2px solid var(--gold);
  padding: 4px 2px;
}
.call-link svg { width: 18px; height: 18px; color: var(--gold-deep); }
.call-link:hover { color: var(--gold-deep); }

.call-link--dark { color: var(--cream-on-dark); border-bottom-color: var(--gold-hero); }
.call-link--dark svg { color: var(--gold-hero); }
.call-link--dark:hover { color: var(--gold-hero); }

/* ============================================================
   BARRE DE PROGRESSION DE LECTURE
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 130;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-hero));
  box-shadow: 0 0 12px rgba(230, 197, 126, .6);
  transition: width .1s linear;
}

/* ============================================================
   BARRE DE DÉMONSTRATION GRIDCORE
   ============================================================ */
.gc-demo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: var(--demo-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: linear-gradient(90deg, #150D07, #241509 50%, #150D07);
  border-bottom: 1px solid rgba(230, 197, 126, .18);
  color: var(--muted-on-dark);
  font-size: .82rem;
}
.gc-demo-bar__text { margin: 0; letter-spacing: .01em; }
.gc-demo-bar__text strong { color: var(--gold-hero); font-weight: 800; }
.gc-demo-bar__sep { margin: 0 4px; color: rgba(230, 197, 126, .5); }
.gc-demo-bar__tag { color: var(--cream-on-dark); }
.gc-demo-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(230, 197, 126, .4);
  background: rgba(230, 197, 126, .08);
  color: var(--gold-hero);
  font-weight: 800;
  font-size: .8rem;
  white-space: nowrap;
  transition: background-color .25s ease, transform .25s ease, border-color .25s ease;
  will-change: transform;
}
.gc-demo-bar__cta:hover {
  background: var(--gold-hero);
  color: var(--dark);
  border-color: var(--gold-hero);
}
.gc-demo-bar__cta span { transition: transform .25s ease; }
.gc-demo-bar__cta:hover span { transform: translateX(3px); }

/* ============================================================
   HEADER — pill flottant (inspiré maquette Porte de Lamadelaine)
   ============================================================ */
.site-header {
  position: fixed;
  inset: calc(var(--demo-h) + var(--pill-gap)) 0 auto 0;
  z-index: 100;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;   /* logo | menu centré | actions */
  align-items: center;
  gap: 18px;
  min-height: var(--pill-h);
  padding: 9px 10px 9px 18px;
  border-radius: 999px;
  background: rgba(26, 16, 10, .78);
  color: var(--cream-on-dark);
  border: 1px solid rgba(243, 234, 218, .22);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(15, 9, 5, .26);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled .nav-pill {
  background: rgba(23, 14, 8, .92);
  box-shadow: 0 22px 60px rgba(15, 9, 5, .34);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand svg { width: 42px; height: 42px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 4px;
}

/* Menu — centré dans le pill */
.main-nav { justify-self: center; display: flex; align-items: center; gap: 2px; }
.main-nav a {
  position: relative;
  padding: 12px 14px;
  font-weight: 700;
  font-size: .92rem;
  border-radius: 999px;
  color: rgba(243, 234, 218, .78);
  transition: color .2s ease, background-color .2s ease;
}
.main-nav a:hover { color: var(--cream-on-dark); background: rgba(255, 255, 255, .09); }
/* État actif (scrollspy géré en JS) */
.main-nav a.is-current { color: var(--dark); background: var(--gold-hero); }

/* Actions à droite */
.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Sélecteur de langue */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(243, 234, 218, .16);
}
.lang-switch button,
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: .04em;
  color: rgba(243, 234, 218, .66);
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}
.lang-switch button:hover,
.lang-switch a:hover { color: var(--cream-on-dark); background: rgba(255, 255, 255, .1); }
.lang-switch button.is-active,
.lang-switch a.is-active {
  color: var(--dark);
  background: var(--gold-hero);
  cursor: default;
}

.btn--pill {
  min-height: 46px;
  padding: 10px 20px;
  font-size: .92rem;
  background: var(--cream-on-dark);
  color: var(--dark);
}
.btn--pill:hover { background: var(--gold-hero); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, .18); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }

/* Toast (info sélecteur de langue) */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  z-index: 140;
  max-width: min(90vw, 420px);
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--cream-on-dark);
  border: 1px solid rgba(230, 197, 126, .35);
  box-shadow: var(--shadow-3);
  font-weight: 700;
  font-size: .9rem;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .3s ease, transform .3s ease;
}

/* Panneau mobile (sombre, raccord avec le pill) */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) clamp(28px, 8vw, 48px) 48px;
  background: var(--dark);
  color: var(--cream-on-dark);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.lang-switch--mobile { align-self: flex-start; margin-top: 6px; }
.lang-switch--mobile button,
.lang-switch--mobile a { min-width: 46px; height: 46px; font-size: .88rem; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7vw, 2.3rem);
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-on-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav a svg { width: 22px; height: 22px; color: var(--gold-soft); }
.mobile-nav .mobile-nav-cta {
  margin-top: 36px;
  display: grid;
  gap: 14px;
}

html.nav-open { overflow: hidden; }
html.nav-open .mobile-nav {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .3s ease, transform .3s ease;
}
html.nav-open .nav-toggle .icon-burger { display: none; }
html.nav-open .nav-toggle .icon-close { display: block; }

/* ============================================================
   HERO — sombre premium
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + clamp(16px, 3vw, 44px)) 0 clamp(56px, 7vw, 88px);
  color: var(--cream-on-dark);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(900px 480px at 76% 8%, rgba(230, 197, 126, .2), transparent 55%),
    linear-gradient(140deg, #1A100A, #2B1B12 48%, #4A2C1A);
}

/* Trame fine — texture d'architecture */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(circle at 55% 25%, black, transparent 70%);
  mask-image: radial-gradient(circle at 55% 25%, black, transparent 70%);
}

/* Ambiance plein écran — vidéo ou image, sous un voile dégradé
   (sombre à gauche pour le texte, plus ouvert à droite) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-bg img,
.hero-bg .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.72) saturate(1.05);
  transform: scale(1.1);
}
.hero-bg .hero-video {
  position: absolute;
  inset: 0;
}
.hero-bg .hero-video[hidden] { display: none; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 16, 10, .94) 0%, rgba(26, 16, 10, .78) 34%, rgba(26, 16, 10, .34) 64%, rgba(26, 16, 10, .5) 100%),
    linear-gradient(180deg, rgba(26, 16, 10, .5) 0%, transparent 28%, transparent 60%, rgba(20, 12, 7, .66) 100%);
}

/* Filigrane « 90 » */
.hero-watermark {
  position: absolute;
  z-index: -1;
  right: -2vw;
  bottom: -6vh;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15rem, 30vw, 27rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(230, 197, 126, .16);
  pointer-events: none;
  user-select: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .68fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid rgba(230, 197, 126, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(243, 234, 218, .85);
  margin-bottom: 26px;
}
/* Statut « Ouvert / Fermé » en direct (calculé en JS d'après les horaires) */
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-status::before {
  content: "·";
  margin-right: 4px;
  color: rgba(230, 197, 126, .6);
}
.hero-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  background: var(--gold-hero);
}
.hero-status__label { color: var(--cream-on-dark); }
.hero-status[data-status="open"] .hero-status__dot {
  background: #46C46A;
  box-shadow: 0 0 0 0 rgba(70, 196, 106, .5);
  animation: pulse 2.4s infinite;
}
.hero-status[data-status="closed"] .hero-status__dot { background: var(--gold-hero); }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(70, 196, 106, .45); }
  70%  { box-shadow: 0 0 0 8px rgba(70, 196, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 196, 106, 0); }
}

/* Tasse fumante du chip — plus grande, vapeur bien visible */
.hero-chip .chip-cup { width: 27px; height: 27px; color: var(--gold-hero); margin-top: -1px; }
.hero-chip .steam {
  stroke-width: 1.3px;
  animation: chip-steam 3s ease-in-out infinite;
}
.hero-chip .steam.s1 { animation-delay: 0s; }
.hero-chip .steam.s2 { animation-delay: 1s; }
.hero-chip .steam.s3 { animation-delay: 2s; }
@keyframes chip-steam {
  0%   { opacity: 0;   transform: translate(0, 3px) scaleY(.5); }
  25%  { opacity: .85; }
  55%  { opacity: .9;  transform: translate(.8px, -1.5px) scaleY(1); }
  100% { opacity: 0;   transform: translate(-.8px, -5px) scaleY(1); }
}
.steam {
  transform-box: fill-box;
  transform-origin: center;
  animation: steam-rise 2.8s ease-in-out infinite;
}
.steam.s2 { animation-delay: 1.4s; }
@keyframes steam-rise {
  0%        { opacity: 0; transform: translateY(2.2px); }
  35%       { opacity: .95; }
  70%, 100% { opacity: 0; transform: translateY(-2.6px); }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  /* deux lignes propres : « Le café du matin, » / « la table du midi. » */
  max-width: none;
}
.hero h1 .line { display: block; position: relative; }
.hero h1 .gold {
  font-style: italic;
  font-weight: 600;
  color: var(--gold-hero);
  padding-bottom: .1em;
}
/* Spans créés par le split JS — masque par mot */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero h1 .wi { display: inline-block; will-change: transform; }
/* Soulignement dessiné (path draw en JS ; statique sans GSAP) */
.h1-underline {
  position: absolute;
  left: 0;
  bottom: -.04em;
  width: min(100%, 9em);
  height: .16em;
  color: var(--gold-hero);
  opacity: .9;
  pointer-events: none;
}

/* Invitation au scroll */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(243, 234, 218, .6);
  transition: color .25s ease;
}
.scroll-cue:hover { color: var(--cream-on-dark); }
.scroll-cue svg {
  width: 18px;
  height: 18px;
  color: var(--gold-hero);
  animation: cue-bob 2.2s ease-in-out infinite;
}
@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

.hero-lead {
  margin-top: 24px;
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: rgba(243, 234, 218, .78);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}

/* Preuves — verre sur fond sombre */
.hero-proof {
  margin-top: clamp(36px, 5vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 640px;
}
.hero-proof div {
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.hero-proof strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--gold-hero);
}
.hero-proof span {
  display: block;
  margin-top: 6px;
  font-size: .82rem;
  line-height: 1.4;
  color: rgba(243, 234, 218, .68);
}

/* Carte compacte « plat du jour » — bas droite, ne couvre pas la vidéo */
.hero-card {
  position: relative;
  justify-self: end;
  align-self: end;
  width: min(100%, 330px);
  margin-bottom: 6px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 253, 248, .93);
  color: var(--espresso);
  border: 1px solid rgba(243, 234, 218, .4);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 26px 64px rgba(15, 9, 5, .45);
  transform-style: preserve-3d;
}
.hero-card__thumb {
  height: 150px;
  overflow: hidden;
}
.hero-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.03);
}
.hero-card__body { padding: 15px 18px 18px; }
.hero-card__body small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--espresso-2);
}
.hero-card__body small svg { width: 20px; height: 20px; color: var(--gold-deep); }
.hero-card__body h3 {
  margin-top: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.hero-card .tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 12px;
}
.hero-card .tags span {
  padding: 8px 5px;
  text-align: center;
  border-radius: 11px;
  background: rgba(43, 27, 18, .08);
  font-size: .73rem;
  font-weight: 800;
}

/* ============================================================
   IDENTITÉ / AMBIANCE
   ============================================================ */
.identite { background: var(--cream-2); position: relative; overflow: hidden; }

.identite-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.identite-copy h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  line-height: 1.12;
  margin-top: 14px;
}
.identite-copy > p { margin-top: 18px; color: var(--espresso-2); max-width: 52ch; }

.identite-signature {
  margin-top: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-deep);
}

.identite-points { margin-top: 34px; display: grid; gap: 14px; }
.identite-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.identite-points svg { width: 22px; height: 22px; color: var(--gold-deep); margin-top: 2px; }
.identite-points strong { display: block; font-size: .98rem; }
.identite-points span { font-size: .9rem; color: var(--espresso-2); }

.identite-visual { position: relative; padding-bottom: 64px; }
.identite-visual .photo-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  aspect-ratio: 16 / 11.5;
}
.identite-visual .photo-main img { width: 100%; height: 100%; object-fit: cover; }
.identite-visual .photo-inset {
  position: absolute;
  right: clamp(-8px, -1vw, 0px);
  bottom: 0;
  width: min(46%, 280px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid var(--cream-2);
  box-shadow: var(--shadow-2);
  aspect-ratio: 1 / 1;
}
.identite-visual .photo-inset img { width: 100%; height: 100%; object-fit: cover; }
.identite-visual .depuis {
  position: absolute;
  left: -10px;
  bottom: 22px;
  background: var(--espresso);
  color: var(--cream-on-dark);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: var(--shadow-2);
}
.identite-visual .depuis strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--gold-soft);
}
.identite-visual .depuis span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }

/* ============================================================
   MARQUEE — bande d'offres (Café · Plat du jour · …)
   ============================================================ */
.marquee {
  overflow: hidden;
  background: var(--dark);
  color: var(--cream-on-dark);
  border-block: 1px solid rgba(243, 234, 218, .12);
}
.marquee-track {
  display: flex;
  gap: 30px;
  width: max-content;
  padding: 22px 0;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  will-change: transform;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 4.2vw, 3rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.marquee span::after {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-hero);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   LA CARTE / OFFRES
   ============================================================ */
.carte-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1.1), box-shadow .3s ease, border-color .3s ease;
}
.offer-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(var(--gold), var(--gold-deep));
  opacity: 0;
  transition: opacity .3s ease;
}
/* Spotlight — lueur qui suit le curseur (via --mx/--my en JS) */
.offer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(182, 138, 71, .16), transparent 42%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2);
  border-color: rgba(182, 138, 71, .5);
}
.offer-card:hover::before { opacity: 1; }
.offer-card:hover::after { opacity: 1; }

.offer-card .icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(182, 138, 71, .14);
  color: var(--gold-deep);
}
.offer-card .icon svg { width: 26px; height: 26px; }

.offer-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
}
.offer-card p { color: var(--espresso-2); font-size: .96rem; flex: 1; }

.offer-card .prix {
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Vapeur du café : statique au repos, s'anime au survol */
.offer-card .steam { animation: none; opacity: .85; }
.offer-card:hover .steam { animation: steam-rise 2.4s ease-in-out infinite; }
.offer-card:hover .steam.s2 { animation-delay: 1.2s; }

/* Plat du jour dynamique (rempli en JS selon le jour réel) */
.plat-today {
  font-size: .88rem;
  padding: 10px 13px;
  border-radius: 10px;
  background: rgba(182, 138, 71, .13);
  border: 1px dashed rgba(140, 106, 52, .4);
  color: var(--espresso-2);
}
.plat-today strong { color: var(--espresso); }
.plat-today [data-plat-jour] { font-weight: 800; color: var(--gold-deep); }

.carte-footer {
  margin-top: clamp(36px, 5vw, 52px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}
.carte-footer .note { color: var(--espresso-2); font-size: .95rem; max-width: 46ch; }

/* ============================================================
   LA JOURNÉE — pile de cartes sticky + virage de couleur
   (fond animé en JS ; dégradé statique en secours)
   ============================================================ */
.journee {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 45%, var(--dark) 100%);
  overflow: clip;
}
html.has-gsap .journee { background: var(--cream); }

.journee .section-head { transition: color .45s ease; }
.journee.is-dark .section-head h2,
.journee.is-dark .section-head p { color: var(--cream-on-dark); }
.journee.is-dark .eyebrow { color: var(--gold-soft); }
.journee.is-dark .eyebrow::before { background: var(--gold-soft); }

.journee-track {
  display: grid;
  gap: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(24px, 4vw, 56px);
}

.j-card {
  position: sticky;
  top: calc(var(--header-h) + 12px + var(--i, 0) * 16px);
  z-index: calc(1 + var(--i, 0));   /* empilement net, jamais de texte qui transparaît */
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  transform-origin: top center;
}

.j-card .j-photo { position: relative; min-height: 320px; }
.j-card .j-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.j-card .j-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(23, 14, 8, .14));
}

.j-card .j-body {
  padding: clamp(30px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.j-heure {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .2em;
  color: var(--gold-deep);
}
.j-heure svg { width: 17px; height: 17px; }

.j-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
}
.j-card .j-body > p { color: var(--espresso-2); max-width: 48ch; }

.j-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-weight: 800;
  color: var(--espresso);
  border-bottom: 2px solid var(--gold);
  align-self: flex-start;
  padding: 6px 2px;
  min-height: 44px;
  transition: gap .25s ease, color .25s ease;
}
.j-link svg { width: 18px; height: 18px; }
.j-link:hover { gap: 16px; color: var(--gold-deep); }

/* Variante dorée (midi) — photo à droite pour le rythme éditorial */
.j-card--midi { background: #F4E5C6; border-color: rgba(140, 106, 52, .3); }
.j-card--midi .j-photo { order: 2; }
.j-card--midi .j-photo::after {
  background: linear-gradient(270deg, transparent 60%, rgba(23, 14, 8, .14));
}

/* Variante sombre (soir) */
.j-card--soir { background: var(--dark-2); border-color: rgba(217, 188, 140, .2); color: var(--cream-on-dark); }
.j-card--soir .j-heure { color: var(--gold-soft); }
.j-card--soir .j-body > p { color: var(--muted-on-dark); }
.j-card--soir .j-link { color: var(--cream-on-dark); border-bottom-color: var(--gold-soft); }
.j-card--soir .j-link:hover { color: var(--gold-soft); }

/* ============================================================
   GALERIE — piste horizontale
   Base : carrousel natif avec snap (mobile, sans GSAP, reduced).
   Desktop + GSAP : la section se « pin » et la piste glisse au scroll.
   ============================================================ */
.galerie { overflow: hidden; }
.galerie .section-head { margin-bottom: clamp(24px, 4vw, 44px); }

.galerie-wrap {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.galerie-wrap::-webkit-scrollbar { display: none; }
.galerie-wrap:focus-visible { outline-offset: -3px; }
.galerie.is-pinned .galerie-wrap { overflow: visible; }
.galerie.is-pinned { padding-block: clamp(48px, 7vh, 88px); }

.galerie-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-inline: max(22px, calc((100vw - 1180px) / 2));
  will-change: transform;
}

.g-item {
  position: relative;
  flex: 0 0 auto;
  width: min(74vw, 430px);
  height: clamp(380px, 56vh, 540px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: var(--shadow-1);
  scroll-snap-align: center;
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.g-item:hover img { transform: scale(1.05); }

.g-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 48px 20px 18px;
  color: #fff;
  background: linear-gradient(transparent, rgba(23, 14, 8, .82));
}
.g-item figcaption small {
  display: block;
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-hero);
}
.g-item figcaption strong {
  display: block;
  margin-top: 5px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -.01em;
}

/* ============================================================
   PREUVE LOCALE
   ============================================================ */
.local { background: var(--cream-2); }

.local-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.stat {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  color: var(--gold-deep);
}
/* le chiffre compté (<span data-count>) hérite de la taille du nombre */
.stat strong span { font: inherit; display: inline; color: inherit; }
.stat > span { display: block; margin-top: 8px; font-size: .92rem; color: var(--espresso-2); }

.local-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.local-points { display: grid; gap: 16px; }
.local-points li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.local-points svg { width: 24px; height: 24px; color: var(--gold-deep); margin-top: 2px; }
.local-points strong { display: block; font-size: 1.02rem; }
.local-points span { font-size: .93rem; color: var(--espresso-2); }

.horaires-card {
  background: var(--espresso);
  color: var(--cream-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-2);
}
.horaires-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.horaires-card h3 svg { width: 24px; height: 24px; color: var(--gold-soft); }
.horaires-card table { width: 100%; margin-top: 20px; border-collapse: collapse; }
.horaires-card td {
  padding: 11px 0;
  border-bottom: 1px solid rgba(243, 234, 218, .14);
  font-size: .97rem;
}
.horaires-card td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.horaires-card tr:last-child td { border-bottom: 0; }
.horaires-card .ferme { color: var(--gold-soft); }
.horaires-card .horaires-note { margin-top: 18px; font-size: .85rem; color: var(--muted-on-dark); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: stretch;          /* les deux colonnes s'alignent haut et bas */
}

/* La colonne info s'étire : la carte absorbe la différence de hauteur */
.contact-info { display: flex; flex-direction: column; }

.contact-list { display: grid; gap: 8px; }
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list svg { width: 22px; height: 22px; color: var(--gold-deep); margin-top: 3px; }
.contact-list strong { display: block; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--espresso-2); }
.contact-list a, .contact-list p { font-weight: 700; font-size: 1.05rem; }
.contact-list a:hover { color: var(--gold-deep); }
.contact-list .fictif { display: block; font-size: .8rem; font-weight: 400; color: var(--espresso-2); margin-top: 2px; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* Carte Google Maps intégrée — s'étire pour aligner le bas avec le formulaire */
.map-embed {
  margin-top: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  background: var(--surface);
}
.map-embed iframe {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 240px;
  border: 0;
  filter: sepia(.22) saturate(.9);   /* accordé à la palette crème/espresso */
}
.map-embed .map-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: .85rem;
  color: var(--espresso-2);
  border-top: 1px solid var(--line);
}
.map-embed .map-note svg { width: 16px; height: 16px; color: var(--gold-deep); }

/* Formulaire */
.resa-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: clamp(28px, 4vw, 44px);
}
.resa-form h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
}
.resa-form .form-note { margin-top: 8px; font-size: .88rem; color: var(--espresso-2); }

.form-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
.field label .req { color: var(--gold-deep); }
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--espresso);
  min-height: 50px;
  padding: 12px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--cream);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(182, 138, 71, .22);
}
.field .hint { font-size: .8rem; color: var(--espresso-2); }

.resa-form .btn { width: 100%; margin-top: 24px; }
.resa-form .btn[disabled] { opacity: .55; cursor: wait; }

.form-feedback {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(47, 107, 58, .1);
  border: 1px solid rgba(47, 107, 58, .35);
  color: var(--success);
  font-weight: 700;
  align-items: flex-start;
  gap: 12px;
}
.form-feedback.is-visible { display: flex; }
.form-feedback svg { width: 22px; height: 22px; margin-top: 2px; }
/* Coche qui se dessine à l'affichage */
.form-feedback svg path,
.form-feedback svg polyline { stroke-dasharray: 70; }
.form-feedback.is-visible svg path { animation: draw-check .5s ease-out both; }
.form-feedback.is-visible svg polyline { animation: draw-check .45s ease-out .3s both; }
@keyframes draw-check {
  from { stroke-dashoffset: 70; }
  to   { stroke-dashoffset: 0; }
}
.form-feedback small { display: block; font-weight: 400; color: var(--espresso-2); margin-top: 4px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: var(--cream-on-dark);
  padding: clamp(56px, 8vw, 88px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(40px, 6vw, 64px);
}

.footer-brand .brand-name small { color: var(--gold-soft); }
.footer-brand p { margin-top: 16px; color: var(--muted-on-dark); font-size: .95rem; max-width: 34ch; }

/* Chips d'offres */
.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.footer-chips span {
  padding: 8px 14px;
  border: 1px solid var(--line-on-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  font-size: .8rem;
  font-weight: 700;
  color: var(--cream-on-dark);
}

.maquette-note {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(217, 188, 140, .35);
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.maquette-note svg { width: 15px; height: 15px; }

.site-footer h4 {
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.footer-links li, .footer-contact li { margin-bottom: 12px; }
.footer-links a { color: var(--cream-on-dark); opacity: .85; min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { opacity: 1; color: var(--gold-soft); }
.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted-on-dark);
  font-size: .95rem;
}
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-soft); margin-top: 4px; }
.footer-contact a { color: var(--cream-on-dark); }
.footer-contact a:hover { color: var(--gold-soft); }

.footer-bottom {
  border-top: 1px solid rgba(243, 234, 218, .12);
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  font-size: .87rem;
  color: var(--muted-on-dark);
}
.footer-bottom a {
  color: var(--gold-soft);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-bottom a:hover { text-decoration: underline; }
.footer-bottom a svg { width: 14px; height: 14px; }

/* ============================================================
   ANIMATIONS — états gérés par GSAP (jamais cachés par défaut)
   ============================================================ */
html.no-gsap [data-reveal],
html.no-gsap [data-hero] { opacity: 1 !important; transform: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav-pill { grid-template-columns: 1fr auto; }   /* logo | bouton menu */
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-actions .lang-switch { display: none; }     /* sélecteur dans le menu mobile */
  .nav-toggle { display: inline-flex; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  /* voile plus dense : le texte passe au-dessus de l'image en colonne */
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(26, 16, 10, .88) 0%, rgba(26, 16, 10, .76) 55%, rgba(20, 12, 7, .88) 100%);
  }
  .hero h1 { max-width: none; }
  .hero-card { justify-self: start; }
  .hero-proof { max-width: none; }

  .carte-grid { grid-template-columns: 1fr 1fr; }
  .local-stats { grid-template-columns: repeat(2, 1fr); }
  .local-grid, .contact-grid, .identite-grid { grid-template-columns: 1fr; }
  .identite-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fil-journee { display: none; }      /* horloge sticky : desktop uniquement */
}

@media (max-width: 720px) {
  :root { --demo-h: 56px; --pill-gap: 10px; }
  body { font-size: 1rem; }

  .gc-demo-bar { flex-direction: column; justify-content: center; gap: 4px; height: var(--demo-h); padding: 6px 16px; }
  .gc-demo-bar__text { font-size: .76rem; }
  .gc-demo-bar__cta { padding: 5px 13px; font-size: .74rem; }
  .brand-name small { display: none; }

  .hero { min-height: auto; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof div { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .hero-proof span { margin-top: 0; text-align: right; }
  .hero-watermark { right: -16vw; opacity: .7; }
  .hero-card__thumb { height: 130px; }

  .carte-grid { grid-template-columns: 1fr; }

  .hero .scroll-cue { display: none; }

  .j-card { grid-template-columns: 1fr; }
  .j-card .j-photo { min-height: 220px; aspect-ratio: 16 / 9; }
  .j-card { top: calc(var(--header-h) + 6px + var(--i, 0) * 10px); }
  .j-card--midi .j-photo { order: 0; }   /* photo d'abord en colonne */

  .g-item { width: 78vw; height: 400px; }

  .local-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .map-embed iframe { height: 240px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

/* ============================================================
   ACCESSIBILITÉ — mouvement réduit
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .cursor-glow, .cursor-ring, .fil-journee { display: none; }
  .marquee-track { animation: none; }
  .steam, .hero-chip .steam { animation: none; opacity: .85; }
  .j-card { position: static; }
  [data-reveal], [data-hero] { opacity: 1 !important; transform: none !important; }
  .hero h1 .wi { transform: none !important; }
}
