/* ==========================================================================
   L'Ours Gourmand — styles
   ========================================================================== */

/* ---------- Polices (hébergées) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfair-display.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

/* ---------- Jetons ---------- */
:root {
  --rouge: #A41E29;
  --rouge-mur: #C4212B;
  --rouge-sombre: #A0171F;
  --vert: #00553F;
  --vert-nuit: #0B3A2D;
  --papier: #F2EADB;
  --papier-2: #E6D9C2;
  --encre: #1E1915;
  --texte-doux: #4B423A;
  --nuit-deep: #07231B;
  --raccord: var(--nuit-deep);
  --rouge-clair: #FF6B6F;
  --ruban: rgba(236, 226, 204, .88);

  --f-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec-y: clamp(72px, 10vw, 128px);
  --radius: 3px;
  --header-h: 72px;
  --callbar-h: 0px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
  --d-fast: 180ms;
  --d-rv: .8s;
  --focus: var(--vert);
  --btn-sh: var(--encre);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font: 400 17px/1.6 var(--f-sans);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
main:focus { outline: none; }
section[id] { scroll-margin-top: var(--header-h); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 300;
  background: var(--papier); color: var(--encre); padding: 12px 16px;
  font-weight: 700; border: 2px solid var(--encre); border-radius: var(--radius);
}
.skip:focus { top: 12px; }

.h2 {
  font: 800 clamp(34px, 5.2vw, 60px)/1.02 var(--f-serif);
  letter-spacing: -.01em;
  margin-bottom: .45em;
  text-wrap: balance;
}
.sec-head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head p { font-size: clamp(17px, 1.6vw, 19px); margin: 0; }

/* Fonds et motifs */
.papier {
  background-color: var(--papier);
  background-image:
    repeating-linear-gradient(90deg, transparent 0 179px, rgba(30, 25, 21, .06) 179px 180px),
    radial-gradient(rgba(30, 25, 21, .055) 1px, transparent 1.2px);
  background-size: auto, 5px 5px;
}
.sombre { --focus: var(--papier); --btn-sh: #031510; color: var(--papier); }
.nuit { --focus: var(--papier); --btn-sh: #04150F; background: var(--vert-nuit); color: var(--papier); }

/* ---------- Boutons (enseigne, ombre bloc) ---------- */
.btn {
  --bg: var(--rouge);
  --fg: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px;
  padding: 13px 20px;
  font: 800 15px/1.1 var(--f-sans);
  font-stretch: 112%;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: var(--fg);
  background: var(--bg);
  border: 2px solid var(--encre);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--btn-sh);
  cursor: pointer;
  transition: transform var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease), background-color var(--d-fast);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .32) 50%, transparent 65%);
  transform: translateX(-110%);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover::after { transform: translateX(110%); transition: transform .65s var(--ease); }
}
.btn--papier { --bg: var(--papier); --fg: var(--encre); }
.btn--vert { --bg: var(--vert); --fg: #fff; }
.btn--sm { min-height: 44px; padding: 10px 14px; font-size: 13px; }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--btn-sh); }
@media (hover: hover) {
  .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--btn-sh); }
  .btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--btn-sh); }
}

/* ---------- Ruban adhésif + affiche déchirée ---------- */


/* ==========================================================================
   Intro
   ========================================================================== */
.intro { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.intro__half {
  position: absolute; inset: -2px;
  background-color: var(--rouge-mur);
  background-image: radial-gradient(rgba(0, 0, 0, .09) 1px, transparent 1.2px);
  background-size: 6px 6px;
  animation: .95s var(--ease-in-out) .95s forwards;
}
.intro__half--top { clip-path: polygon(0 0, 100% 0, 100% 38%, 0 72%); animation-name: intro-top; }
.intro__half--bot { clip-path: polygon(0 71.6%, 100% 37.6%, 100% 100%, 0 100%); animation-name: intro-bot; }
.intro__claws { position: absolute; inset: 0; width: 100%; height: 100%; animation: intro-fade .25s linear 1.05s forwards; }
.intro__claws path { fill: var(--papier); transform-box: fill-box; transform-origin: left center; transform: scaleX(0); animation: intro-claw .3s var(--ease-in-out) forwards; }
.intro__claws path:nth-child(1) { animation-delay: .68s; }
.intro__claws path:nth-child(2) { animation-delay: .76s; }
.intro__claws path:nth-child(3) { animation-delay: .84s; }
.intro__logo {
  position: absolute; left: 50%; top: 50%;
  width: clamp(120px, 34vmin, 200px); height: auto;
  margin: calc(clamp(120px, 34vmin, 200px) / -2) 0 0 calc(clamp(120px, 34vmin, 200px) / -2);
  opacity: 0;
  animation: intro-logo 1.15s var(--ease) .1s forwards;
}
@keyframes intro-logo {
  0% { opacity: 0; transform: scale(.82); }
  30% { opacity: 1; transform: scale(1); }
  72% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.1); }
}
@keyframes intro-claw { to { transform: scaleX(1); } }
@keyframes intro-top { to { transform: translate(-5%, -105%); } }
@keyframes intro-bot { to { transform: translate(5%, 105%); } }
@keyframes intro-fade { to { opacity: 0; } }

/* Hero : séquence après l'ouverture */
.intro-run .hero__media img { animation: hero-zoom 1.6s var(--ease) .8s both; }
.intro-run .hero__title .l1 { animation: rise-title .8s var(--ease) 1.25s both; }
.intro-run .hero__title .l2 { animation: rise-title .8s var(--ease) 1.4s both; }
.intro-run .hero__sub { animation: rise .8s var(--ease) 1.6s both; }
.intro-run .hero__info { animation: rise .8s var(--ease) 1.72s both; }
.intro-run .hero__ctas { animation: rise .8s var(--ease) 1.85s both; }
.intro-run .hero__tel { animation: rise .8s var(--ease) 1.95s both; }
.intro-run .site-header,
.intro-run .callbar { animation: fade-in .6s var(--ease) 1.9s both; }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
/* Le titre part d'une opacité de 0,01 : invisible, mais peint dès le premier affichage (LCP) sous l'intro */
@keyframes rise-title { from { opacity: .01; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   En-tête : vert nuit dépoli, filet fondu, barre de lecture de l'enseigne,
   masqué en descendant, de retour dès qu'on remonte
   ========================================================================== */
.site-header {
  --focus: var(--papier);
  position: fixed; inset: 0 0 auto; z-index: 100;
  color: #fff;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .45s var(--ease);
}
.site-header__in {
  position: relative;
  width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: height .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(7, 35, 27, .88);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 16px 34px -26px rgba(0, 0, 0, .8);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled { background: rgba(7, 35, 27, .97); }
}
/* Filet du bas : fondu aux deux bouts, jamais une ligne dure */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(242, 234, 219, 0), rgba(242, 234, 219, .2) 20%, rgba(242, 234, 219, .2) 80%, rgba(242, 234, 219, 0));
  opacity: 0; transition: opacity .35s var(--ease);
}
.site-header.is-scrolled::after { opacity: 1; }
/* Barre de lecture : le néon de l'enseigne avance avec la page (rouge puis vert) */
.site-header__lecture {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, #E8343E, #FF5A60 45%, #5CF2A8);
  box-shadow: 0 0 10px rgba(255, 90, 96, .45);
  transform: scaleX(var(--lu, 0)); transform-origin: left center;
  opacity: 0; transition: opacity .35s var(--ease);
}
.site-header.is-scrolled .site-header__lecture { opacity: 1; }
.menu-open .site-header__lecture, .menu-open .site-header::after { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled .site-header__in { height: 62px; }
.brand { position: relative; z-index: 2; display: block; width: 52px; height: 52px; border-radius: 50%; transition: transform .35s var(--ease), width .35s var(--ease), height .35s var(--ease); }
.brand img { width: 100%; height: 100%; }
@media (hover: hover) { .brand:hover { transform: rotate(-8deg) scale(1.05); } }
.is-scrolled .brand { width: 44px; height: 44px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.nav ul { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.nav ul a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font: 700 16px/1 var(--f-serif); letter-spacing: .01em; text-decoration: none; color: #fff;
}
.nav__sub, .nav__extra { display: none; }
/* Soulignement : un trait néon qui se trace */
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #FF5A60, #FF8A8E); box-shadow: 0 0 8px rgba(255, 90, 96, .6);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav ul a[aria-current="true"]::after { transform: scaleX(1); }
@media (hover: hover) { .nav ul a:hover::after { transform: scaleX(1); } }
.menu-toggle { display: none; }

@media (max-width: 859px) {
  :root { --header-h: 64px; }
  .site-header.is-scrolled .site-header__in { height: 58px; }
  .brand { width: 46px; height: 46px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 44px; min-width: 44px; padding: 8px 14px;
    background: rgba(7, 35, 27, .35); border: 1.5px solid rgba(242, 234, 219, .7); border-radius: 999px;
    color: #fff; font: 700 15px/1 var(--f-sans); cursor: pointer;
    position: relative; z-index: 2;
    transition: background-color .3s var(--ease), border-color .3s var(--ease);
  }
  .menu-open .menu-toggle { background: var(--papier); border-color: var(--papier); color: var(--vert-nuit); }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .3s var(--ease), background-color .2s;
  }
  .menu-toggle__bars { position: relative; }
  .menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bars::before { top: -6px; }
  .menu-toggle__bars::after { top: 6px; }
  .menu-open .menu-toggle__bars { background: transparent; }
  .menu-open .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  /* Menu plein écran : s'ouvre en cercle depuis le bouton */
  .nav {
    position: fixed; inset: 0; z-index: 1; isolation: isolate; overflow-y: auto;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 26px;
    padding: calc(var(--header-h) + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
    background: #062019;
    visibility: hidden;
    clip-path: circle(0 at calc(100% - var(--gutter) - 48px) 32px);
    transition: clip-path .56s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .56s;
  }
  .js .nav:not(.is-open) { pointer-events: none; }
  .nav.is-open {
    visibility: visible;
    clip-path: circle(150% at calc(100% - var(--gutter) - 48px) 32px);
    transition: clip-path .64s cubic-bezier(.65, 0, .35, 1), visibility 0s;
  }
  /* Lueurs de l'enseigne et têtes d'ours en filigrane */
  .nav::before, .nav::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
  .nav::before {
    background:
      radial-gradient(ellipse 95% 42% at 50% 108%, rgba(214, 40, 52, .5), rgba(196, 33, 43, .16) 50%, rgba(196, 33, 43, 0) 80%),
      radial-gradient(ellipse 75% 40% at 100% 0%, rgba(92, 242, 168, .2), rgba(92, 242, 168, 0) 70%);
    transform-origin: 50% 100%;
  }
  .nav.is-open::before { animation: chaleur-menu 6.5s ease-in-out infinite alternate; }
  @keyframes chaleur-menu { from { transform: scaleY(.92); opacity: .8; } to { transform: scaleY(1.08); opacity: 1; } }
  .nav::after {
    background: url("../assets/img/logo-trait.webp") 0 0 / 76px 76px;
    opacity: .07; filter: brightness(0) invert(.92);
    -webkit-mask-image: linear-gradient(165deg, #000 0%, transparent 42%);
    mask-image: linear-gradient(165deg, #000 0%, transparent 42%);
  }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul li { border-bottom: 1px solid rgba(242, 234, 219, .12); }
  .nav ul li:first-child { border-top: 1px solid rgba(242, 234, 219, .12); }
  .nav ul a { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; min-height: 0; padding: 16px 0 14px; }
  .nav__label { font: 700 clamp(32px, 10vw, 44px)/1 var(--f-serif); transition: transform .35s var(--ease); }
  .nav__sub { display: block; font: 500 15px/1.3 var(--f-sans); color: #B9D2C6; }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current="true"] .nav__label { color: #FF8A8E; }
  .nav ul a:active .nav__label { transform: translateX(6px); }
  .nav__cta { align-self: stretch; min-height: 54px; font-size: 15px; padding: 14px 20px; }
  .nav__extra { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: auto; padding-top: 8px; }
  .nav__succ { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 15px; }
  .nav__succ b { font: 700 19px/1.1 var(--f-serif); color: var(--papier); }
  .nav__succ .statut { font-size: 12px; padding: 5px 9px; }
  .nav__succ a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--papier); font-weight: 700; text-decoration: none; }
  .nav__succ svg { width: 15px; height: 15px; }
  .menu-open .site-header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  /* Les éléments arrivent en cascade après l'ouverture */
  .js .nav ul li, .js .nav__cta, .js .nav__extra { opacity: 0; transform: translateY(18px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .js .nav.is-open ul li, .js .nav.is-open .nav__cta, .js .nav.is-open .nav__extra { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .7s var(--ease); }
  .js .nav.is-open ul li:nth-child(1) { transition-delay: .18s; }
  .js .nav.is-open ul li:nth-child(2) { transition-delay: .26s; }
  .js .nav.is-open ul li:nth-child(3) { transition-delay: .34s; }
  .js .nav.is-open .nav__cta { transition-delay: .42s; }
  .js .nav.is-open .nav__extra { transition-delay: .5s; }
  /* Sans JS, le menu reste une liste simple sous l'en-tête */
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .nav { position: static; visibility: visible; clip-path: none; overflow: visible; flex-direction: row; padding: 0; background: none; gap: 12px; }
  html:not(.js) .nav::before, html:not(.js) .nav::after, html:not(.js) .nav__sub { display: none; }
  html:not(.js) .nav ul { flex-direction: row; gap: 12px; }
  html:not(.js) .nav ul li { border: 0; }
  html:not(.js) .nav ul a { padding: 0; min-height: 44px; justify-content: center; }
  html:not(.js) .nav__label { font: 700 14px/1 var(--f-sans); }
  html:not(.js) .nav__cta { display: none; }
}
@media (max-width: 859px) and (max-width: 420px) {
  html:not(.js) .nav ul { gap: 8px; }
  html:not(.js) .nav__label { font-size: 13px; }
}
/* Très petites hauteurs (paysage) : sous-titres masqués pour tout garder à l'écran */
@media (max-width: 859px) and (max-height: 560px) {
  .nav { gap: 14px; padding-top: calc(var(--header-h) + 8px); }
  .nav__sub { display: none !important; }
  .nav ul a { padding: 8px 0; }
  .nav__label { font-size: clamp(26px, 7vw, 34px); }
}
html.menu-open, html.menu-open body { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff;
  background: #4a0a10;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; will-change: transform; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media picture { display: block; will-change: transform; }
.hero__media img { object-fit: cover; object-position: 60% 40%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(74, 6, 12, .94) 0%, rgba(118, 12, 22, .80) 34%, rgba(130, 14, 24, .28) 58%, rgba(130, 14, 24, 0) 72%),
    linear-gradient(180deg, rgba(20, 4, 6, .5) 0%, rgba(20, 4, 6, 0) 18%);
}
/* Fondu du bas : attaché au hero (pas à la photo qui bouge en parallaxe), donc jamais de bord net */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34%; z-index: 0; pointer-events: none;
  background: linear-gradient(0deg, var(--raccord) 0%, color-mix(in srgb, var(--raccord) 86%, transparent) 16%, color-mix(in srgb, var(--raccord) 45%, transparent) 50%, transparent 100%);
}
@media (max-width: 699px) { .hero::after { height: 16%; } }
.hero__content {
  position: relative; z-index: 2;
  width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto;
  padding: calc(var(--header-h) + 40px) 0 clamp(48px, 9vh, 96px);
}
.hero__content > * { max-width: 600px; }
.hero__content > .hero__title { max-width: none; }
.hero__title {
  font: 800 clamp(48px, 6.4vw, 96px)/.9 var(--f-serif);
  letter-spacing: -.015em;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(40, 0, 6, .35);
}
.hero__title span { display: block; }
.hero__title .l2 {
  font: 900 .58em/1 var(--f-sans);
  font-stretch: 122%;
  text-transform: uppercase;
  letter-spacing: .005em;
  color: var(--papier);
  margin-top: .16em;
}
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); max-width: 44ch; color: #FFEDE7; margin-bottom: 18px; }
.hero__info { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 28px; font-size: 16px; color: #FFE3DC; }
.hero__info strong { color: #fff; margin-right: 6px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-bottom: 22px; }
.hero__tel { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; }
.hero__tel a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: #FFE3DC; text-decoration: none; }
.hero__tel svg { width: 16px; height: 16px; }
@media (hover: hover) { .hero__tel a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; } }


@media (max-width: 699px) {
  .hero__media img { object-position: 50% 0; }
  .hero { align-items: flex-end; }
  .hero__media::after {
    background:
      linear-gradient(0deg, rgba(64, 5, 11, .97) 0%, rgba(104, 10, 19, .9) 40%, rgba(110, 12, 20, .35) 62%, rgba(110, 12, 20, 0) 76%),
      linear-gradient(180deg, rgba(20, 4, 6, .55) 0%, rgba(20, 4, 6, 0) 16%);
  }
  .hero__content { padding-bottom: calc(28px + var(--callbar-h)); }
  .hero__title { font-size: clamp(44px, 13vw, 62px); margin-bottom: 16px; }
  .hero__sub { font-size: 17px; margin-bottom: 14px; }
  .hero__info { flex-direction: column; font-size: 15px; margin-bottom: 22px; }
  .hero__ctas { gap: 12px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__tel { display: none; }
}
@media (max-width: 699px) and (max-height: 700px) {
  .hero__sub { display: none; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .hero { align-items: center; }
  .hero__content { padding: calc(var(--header-h) + 12px) 0 24px; }
  .hero__title { font-size: clamp(36px, 7vw, 52px); margin-bottom: 10px; }
  .hero__sub, .hero__tel { display: none; }
  .hero__info { margin-bottom: 14px; }
}

/* ==========================================================================
   Qui nous sommes — nuit, sceau de l'ours
   ========================================================================== */
.nous {
  position: relative; overflow: hidden; isolation: isolate;
  padding: var(--sec-y) 0;
  background: linear-gradient(180deg, var(--nuit-deep) 0%, var(--vert-nuit) 45%, var(--nuit-deep) 100%);
}
.nous__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(40px, 6vw, 88px); align-items: center; }

/* Lueurs néon qui dérivent (dégradés radiaux, sans flou coûteux) */
.lueur { position: absolute; z-index: -1; width: min(70vw, 760px); aspect-ratio: 1; border-radius: 50%; pointer-events: none; }
.lueur--rouge { left: -18%; top: 4%; background: radial-gradient(closest-side, rgba(196, 33, 43, .42), rgba(196, 33, 43, .12) 55%, transparent); }
.lueur--vert { right: -20%; bottom: -10%; background: radial-gradient(closest-side, rgba(92, 242, 168, .16), rgba(92, 242, 168, .05) 55%, transparent); }
.lueur--bas { left: auto; right: -22%; top: auto; bottom: -18%; }
.lueur--resto { right: -16%; top: -12%; bottom: auto; }
.js .lueur--rouge { animation: derive-a 16s ease-in-out infinite; }
.js .lueur--vert { animation: derive-b 19s ease-in-out infinite; }
@keyframes derive-a { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8%, 10%); } }
@keyframes derive-b { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-9%, -7%); } }

/* Le sceau de l'ours : logo en médaillon, slogan qui tourne, point néon en orbite */
.sceau { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; }
.sceau__lueur {
  position: absolute; inset: -18%; z-index: -1; border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(214, 38, 48, .55), rgba(196, 33, 43, .18) 55%, rgba(196, 33, 43, 0)),
    radial-gradient(closest-side at 64% 64%, rgba(92, 242, 168, .18), rgba(92, 242, 168, 0));
}
.sceau__texte { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sceau__texte text { font: 900 15px var(--f-sans); font-stretch: 122%; fill: var(--papier); }
.sceau__orbite { position: absolute; inset: 14.5%; border-radius: 50%; border: 1px dashed rgba(242, 234, 219, .28); }
.sceau__orbite i {
  position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: #7DFFC0; box-shadow: 0 0 10px #5CF2A8, 0 0 22px #5CF2A8;
}
.sceau__logo {
  position: absolute; inset: 19.5%; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(242, 234, 219, .22), 0 0 46px rgba(214, 40, 52, .5), 0 0 100px rgba(92, 242, 168, .18), 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.sceau__logo img { width: 100%; height: 100%; border-radius: 50%; }
.js .sceau.is-in .sceau__texte { animation: tourne-sceau 28s linear infinite; }
.js .sceau.is-in .sceau__orbite { animation: tourne-sceau 16s linear infinite reverse; }
.js .sceau.is-in .sceau__logo { animation: flotte 7s ease-in-out infinite; }
.js .sceau.is-in .sceau__lueur { animation: respire 6s ease-in-out infinite; }
@keyframes tourne-sceau { to { transform: rotate(360deg); } }
@keyframes respire { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes reflet { 0% { transform: translateX(-120%); } 35%, 100% { transform: translateX(120%); } }
.h2--affiche { margin-bottom: .5em; }
.h2--affiche .w1 { display: block; }
.h2--affiche .w2 {
  display: block; margin-top: .12em;
  font: 900 .72em/1 var(--f-sans); font-stretch: 122%; text-transform: uppercase; letter-spacing: .005em;
  color: var(--rouge-clair);
}
.nous__txt > p { font-size: clamp(17px, 1.4vw, 19px); max-width: 48ch; color: #E4EFE9; }
.reperes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin-top: 30px; }
.reperes li { border-top: 2px solid rgba(242, 234, 219, .55); padding-top: 12px; }
.reperes b { display: block; font: 800 20px/1.2 var(--f-serif); color: var(--papier); }
.reperes span { display: block; font-size: 15px; color: #B9D2C6; margin-top: 2px; }
@media (max-width: 859px) {
  .nous__grid { grid-template-columns: 1fr; gap: 40px; }
  .sceau { width: min(100%, 360px); }
  .lueur { width: 110vw; }
}
@media (max-width: 419px) { .reperes { gap: 18px 16px; } .reperes b { font-size: 18px; } }

/* ==========================================================================
   Nos spécialités — mur d'affiches
   ========================================================================== */
.specialites {
  position: relative; overflow: clip; isolation: isolate;
  padding: calc(var(--sec-y) * .5) 0 var(--sec-y);
  background: linear-gradient(180deg, var(--nuit-deep) 0%, #061B15 50%, var(--nuit-deep) 100%);
}
.specialites .sec-head p { color: #E4EFE9; }
.scene {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  /* Fondu en haut et en bas : le projecteur ne touche jamais le bord de la section (aucune ligne) */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 320px, #000 calc(100% - 320px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 320px, #000 calc(100% - 320px), transparent 100%);
}
.scene__spot {
  position: absolute; left: 0; top: 0; width: 900px; height: 900px; margin: -450px 0 0 -450px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 236, 205, .17), rgba(255, 236, 205, .06) 50%, transparent);
  transform: translate3d(30vw, 30%, 0);
}
.js .scene__spot { animation: balaie 22s ease-in-out infinite; }
.js .scene.suit .scene__spot { animation: none; transition: transform .35s var(--ease); }
@keyframes balaie {
  0%, 100% { transform: translate3d(22vw, 22vh, 0); }
  33% { transform: translate3d(74vw, 48vh, 0); }
  66% { transform: translate3d(40vw, 110vh, 0); }
}
/* Carte éditoriale : titre fixe à gauche, cinq familles à droite */
.carte-menu { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.45fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.carte-menu > * { align-self: start; }
.carte-menu__tete { position: sticky; top: calc(var(--header-h) + 32px); }
.carte-menu__tete p { color: #E4EFE9; font-size: clamp(17px, 1.4vw, 19px); max-width: 38ch; margin-bottom: 28px; }
.plat {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px clamp(24px, 3vw, 44px);
  padding: clamp(28px, 3vw, 38px) 0;
}
.plat::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(242, 234, 219, .55), rgba(242, 234, 219, .1));
  transform-origin: left;
}
.plat::after {
  content: ""; position: absolute; inset: 0 -28px; z-index: -1; border-radius: 16px; pointer-events: none;
  background: radial-gradient(60% 120% at 0% 50%, rgba(214, 40, 52, .22), transparent 70%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.plat__nom { margin: 0; font: 700 clamp(34px, 3.4vw, 52px)/.95 var(--f-serif); letter-spacing: -.01em; transition: transform .45s var(--ease); }
.plat__accroche { display: block; margin-top: 8px; font: italic 600 clamp(16px, 1.4vw, 20px)/1.25 var(--f-serif); color: var(--rouge-clair); letter-spacing: 0; }
.plat__desc { margin: 0 0 10px; color: #E4EFE9; font-size: 17px; }
.plat__items { margin: 0; color: #B9D2C6; font-size: 15px; line-height: 1.7; }
.plat__items b { color: var(--papier); }
@media (hover: hover) and (pointer: fine) {
  .plat:hover::after { opacity: 1; }
  .plat:hover .plat__nom { transform: translateX(10px); }
}
@media (max-width: 959px) {
  .carte-menu { grid-template-columns: 1fr; }
  .carte-menu__tete { position: static; }
}
@media (max-width: 699px) { .plat { grid-template-columns: 1fr; } }
/* Lien vers le menu complet sous la liste (mobile) */
.carte-menu__lignes { position: relative; }

/* Tailles statiques (sans JavaScript) */
.tailles { display: flex; align-items: flex-end; gap: 20px; margin-top: 18px; }
.tailles li { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.tortilla { display: block; width: var(--sz); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(242, 234, 219, .7); }
.tailles li:nth-child(1) { --sz: 30px; } .tailles li:nth-child(2) { --sz: 36px; } .tailles li:nth-child(3) { --sz: 41px; }
.tailles b { font: 800 14px/1 var(--f-sans); }
.tailles small { font-size: 13px; color: #B9D2C6; }

/* Sélecteur de taille des tacos */
.taille { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 14px 26px; align-items: center; }
.taille[hidden] { display: none; }
.js .taille:not([hidden]) ~ .tailles { display: none; }
.taille__btns { grid-column: 1 / -1; display: flex; gap: 10px; }
.taille__btns button {
  min-width: 60px; min-height: 48px; padding: 0 14px;
  font: 900 18px/1 var(--f-sans); font-stretch: 118%;
  color: var(--papier); background: transparent;
  border: 2px solid var(--papier); border-radius: var(--radius);
  cursor: pointer; transition: background-color var(--d-fast), color var(--d-fast), transform var(--d-fast);
}
.taille__btns button[aria-pressed="true"] { background: var(--papier); color: var(--rouge); }
@media (hover: hover) { .taille__btns button:hover { transform: translateY(-2px); } }
.taille__vue { position: relative; width: clamp(110px, 10vw, 140px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.taille__tortilla {
  position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #F7E2B2, #E8C07C 68%, #C9964C);
  box-shadow: inset 0 0 0 5px rgba(150, 95, 35, .35), 0 14px 22px -12px rgba(0, 0, 0, .55);
  transform: scale(var(--t, .74)); transition: transform .7s cubic-bezier(.34, 1.4, .64, 1);
  overflow: hidden;
}
.taille__tortilla::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 13px, rgba(120, 70, 20, .22) 13px 15px), repeating-linear-gradient(-45deg, transparent 0 13px, rgba(120, 70, 20, .18) 13px 15px);
}
.taille__regle { position: relative; display: block; width: 100%; height: 14px; }
.taille__regle i {
  position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--papier);
  transform: scaleX(var(--t, .74)); transition: transform .7s cubic-bezier(.34, 1.4, .64, 1);
}
.taille__regle i::before, .taille__regle i::after { content: ""; position: absolute; top: -6px; width: 2px; height: 14px; background: var(--papier); }
.taille__regle i::before { left: 0; } .taille__regle i::after { right: 0; }
.taille__txt { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.taille__txt b { font: 700 clamp(24px, 2.2vw, 30px)/1.05 var(--f-serif); color: var(--papier); }
.taille__puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce {
  display: inline-block; padding: 8px 12px; border-radius: 999px;
  font: 700 15px/1 var(--f-sans); background: var(--papier); color: var(--encre);
}
.puce--vert { background: var(--vert); color: #fff; box-shadow: inset 0 0 0 2px rgba(242, 234, 219, .5); }
.js .taille .puce.pop { animation: pop .45s cubic-bezier(.34, 1.56, .64, 1) both; }
.js .taille .puce.pop + .puce.pop { animation-delay: .1s; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@media (max-width: 479px) {
  .taille { grid-template-columns: 1fr; justify-items: start; }
  .taille__vue { width: 150px; }
}

/* ==========================================================================
   Le resto — galerie
   ========================================================================== */
.resto {
  position: relative; overflow: hidden; isolation: isolate;
  padding: var(--sec-y) 0 calc(var(--sec-y) + clamp(160px, 22vw, 280px));
  background: linear-gradient(180deg, var(--nuit-deep) 0%, var(--vert-nuit) 22%, var(--vert-nuit) calc(100% - clamp(300px, 34vw, 440px)), #3E5E52 calc(100% - clamp(150px, 17vw, 220px)), var(--papier) 100%);
}
.resto .sec-head p { color: #DCE7E1; }
.galerie {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "a a b" "c d b";
  grid-auto-rows: clamp(240px, 26vw, 360px);
  gap: clamp(22px, 3vw, 36px);
}
.galerie__a { grid-area: a; } .galerie__b { grid-area: b; } .galerie__c { grid-area: c; } .galerie__d { grid-area: d; }
.galerie .photo__cadre { height: 100%; }
.galerie__b img { object-position: 50% 30%; }
.galerie__d img { object-position: 50% 40%; }
@media (max-width: 699px) {
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "b c" "b d"; grid-auto-rows: auto; gap: 18px 14px; }
  .galerie__a .photo__cadre { aspect-ratio: 4 / 3; }
  .galerie__c .photo__cadre, .galerie__d .photo__cadre { aspect-ratio: 1; }
  .galerie__b .photo__cadre { height: 100%; }
  .photo__etiq { left: 10px; bottom: 10px; font-size: 12px; padding: 7px 10px; }
}

/* Photos : chaque vitrine diffuse sa propre lumière */
.photo { position: relative; margin: 0; perspective: 1100px; }
.photo__amb {
  position: absolute; inset: -16%; z-index: 0; pointer-events: none;
  background: center / cover no-repeat; opacity: .8; transform: scale(1.04);
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, rgba(0, 0, 0, .45) 65%, transparent);
  mask-image: radial-gradient(closest-side, #000 35%, rgba(0, 0, 0, .45) 65%, transparent);
}
.photo--a .photo__amb { background-image: url("../assets/img/amb-salle-comptoir.webp"); }
.photo--b .photo__amb { background-image: url("../assets/img/amb-enseigne-neon.webp"); }
.photo--c .photo__amb { background-image: url("../assets/img/amb-salle-murale.webp"); }
.photo--d .photo__amb { background-image: url("../assets/img/amb-salle-comptoir-brique.webp"); }
.photo__cadre {
  position: relative; z-index: 1; overflow: hidden; border-radius: 16px;
  box-shadow: 0 34px 60px -28px rgba(0, 0, 0, .85), 0 0 0 1px rgba(242, 234, 219, .1);
  transition: transform .6s var(--ease);
}
.photo__cadre::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); pointer-events: none; }
.photo__cadre img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo__reflet { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.photo__reflet::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 244, 225, .22) 50%, transparent 60%);
  transform: translateX(-120%);
}
.photo__etiq {
  position: absolute; z-index: 2; left: 16px; bottom: 16px;
  padding: 9px 13px; border-radius: 999px;
  font: 700 13px/1 var(--f-sans); color: var(--papier);
  background: rgba(7, 35, 27, .62); border: 1px solid rgba(242, 234, 219, .25);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.galerie__b img { object-position: 50% 30%; }
@media (hover: hover) and (pointer: fine) {
  .photo:hover .photo__cadre img { transform: scale(1.04); }
}
.js [data-rv="vitrine"] { opacity: 0; transform: translateY(26px) scale(.97); }
.js [data-rv="vitrine"].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--dl, 0s); }
.js [data-rv="vitrine"] .photo__amb { opacity: 0; }
/* Apparition (opacité) et respiration (taille) séparées : la carte graphique gère les deux seule */
.js [data-rv="vitrine"].is-in .photo__amb { opacity: .95; animation: amb-in 1.4s var(--ease) calc(var(--dl, 0s) + .4s) backwards, amb 7s ease-in-out calc(var(--dl, 0s) + 1.8s) infinite alternate; }
@keyframes amb-in { from { opacity: 0; } }
.js [data-rv="vitrine"] .photo__cadre img { transform: scale(1.08); }
.js [data-rv="vitrine"].is-in .photo__cadre img { transform: none; transition: transform 1.4s var(--ease) var(--dl, 0s); }
.js [data-rv="vitrine"].is-in .photo__reflet::after { animation: reflet 7s var(--ease-in-out) calc(var(--dl, 0s) + 1.6s) infinite; }
@keyframes amb { from { transform: scale(1.02); } to { transform: scale(1.12); } }

/* ==========================================================================
   Nos adresses
   ========================================================================== */
.adresses {
  position: relative; overflow: hidden;
  padding: clamp(24px, 4vw, 48px) 0 calc(var(--sec-y) + clamp(140px, 18vw, 240px));
  background-image:
    linear-gradient(180deg, transparent calc(100% - clamp(260px, 30vw, 380px)), #B8C2B6 calc(100% - clamp(120px, 14vw, 180px)), var(--vert-nuit) 100%),
    repeating-linear-gradient(90deg, transparent 0 179px, rgba(30, 25, 21, .06) 179px 180px),
    radial-gradient(rgba(30, 25, 21, .055) 1px, transparent 1.2px);
  background-size: auto, auto, 5px 5px;
}
.adresses > .wrap { position: relative; z-index: 1; }
.pas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.patte { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; color: rgba(164, 30, 41, .42); }
.patte i { display: block; width: 100%; height: 100%; opacity: 0; }
.patte svg { width: 100%; height: 100%; fill: currentColor; }
/* Chaque patte : se pose en douceur, reste, puis s'estompe lentement, dans l'ordre de la marche */
.pas.marche .patte i { animation: empreinte 5.2s cubic-bezier(.25, .6, .3, 1) calc(var(--k) * 230ms) both; }
@keyframes empreinte {
  0% { opacity: 0; transform: scale(1.18); }
  9% { opacity: 1; transform: scale(.97); }
  14% { opacity: 1; transform: none; }
  58% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(.98); }
}
@media (max-width: 699px) { .patte { width: 32px; height: 32px; margin: -16px 0 0 -16px; } .succursales { row-gap: 72px; } }
.succursales { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.succ {
  background: #FBF6EC;
  border: 2px solid var(--encre);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--encre);
  padding: clamp(20px, 2.6vw, 30px);
  display: flex; flex-direction: column;
}
.succ__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 18px; }
.succ__nom { font: 800 clamp(32px, 3.6vw, 44px)/1 var(--f-serif); }
.statut {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 7px 12px; border-radius: 999px;
  font: 700 14px/1.2 var(--f-sans);
  background: #E7E0D2; color: var(--encre);
}
.statut[hidden] { display: none; }
.statut::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #8A7F71; flex: none; }
.statut.is-open { background: #DCEBE3; color: #003D2D; }
.statut.is-open::before { background: #0E8A5F; }
.statut { position: relative; }
.statut.is-open::after {
  content: ""; position: absolute; left: 12px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px;
  border-radius: 50%; background: rgba(14, 138, 95, .5); animation: onde 1.9s ease-out infinite;
}
@keyframes onde { from { transform: scale(1); opacity: .8; } to { transform: scale(2.8); opacity: 0; } }
.statut.is-soon { background: #F6E6C8; color: #5A3B00; }
.statut.is-soon::before { background: #C77A00; }

.carte {
  position: relative; display: block; overflow: hidden;
  border: 2px solid var(--encre); border-radius: var(--radius);
  aspect-ratio: 800 / 520; margin-bottom: 18px;
  background: #EADFCB;
}
.carte img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
@media (hover: hover) { .carte:hover img { transform: scale(1.04); } }
.carte__route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.carte__trace { fill: none; stroke: #fff; stroke-width: 30; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.carte__chemin-fond { fill: none; stroke: rgba(251, 246, 236, .95); stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
.carte__chemin { fill: none; stroke: var(--rouge-mur); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: .5 13; }
.js .carte__trace { stroke-dashoffset: 1; }
.js [data-rv].is-in .carte__trace { animation: trace-route 1.5s var(--ease-in-out) calc(var(--dl, 0s) + .35s) forwards; }
@keyframes trace-route { to { stroke-dashoffset: 0; } }
.carte__pin { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.carte__drop { position: absolute; left: -17px; bottom: 0; display: block; }
.carte__drop svg { width: 34px; height: 44px; overflow: visible; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .3)); }
.carte__drop path { fill: var(--rouge); stroke: var(--encre); stroke-width: 2.4; }
.carte__drop circle { fill: var(--papier); }
.carte__tag {
  position: absolute; left: 44px; top: 4px;
  white-space: nowrap;
  background: var(--encre); color: var(--papier);
  font: 800 13px/1 var(--f-sans); font-stretch: 112%; text-transform: uppercase; letter-spacing: .03em;
  padding: 8px 10px; border-radius: 2px;
  box-shadow: 3px 3px 0 var(--rouge);
}
.carte__osm { position: absolute; right: 0; bottom: 0; background: rgba(251, 246, 236, .9); color: #3C342D; font-size: 13px; line-height: 1; padding: 5px 7px; }

.succ__adr { font-size: 17px; margin-bottom: 8px; }
.succ__tel { margin: 0 0 16px; }
.succ__tel a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 700 18px/1 var(--f-sans); text-decoration: none; color: var(--vert); }
.succ__tel svg { width: 18px; height: 18px; }
@media (hover: hover) { .succ__tel a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.heures { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: 16px; }
.heures caption { text-align: left; font: 700 15px/1.3 var(--f-sans); color: var(--texte-doux); padding-bottom: 6px; }
.heures th, .heures td { padding: 10px 0; border-top: 1px dashed rgba(30, 25, 21, .35); text-align: left; font-weight: 400; }
.heures td { text-align: right; white-space: nowrap; }
.heures tr.is-today th, .heures tr.is-today td { font-weight: 800; }
.heures tr.is-today th::after { content: " (aujourd'hui)"; font-weight: 400; color: var(--texte-doux); }
.succ__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; }
.succ__btns .btn { flex: 1 1 auto; }

.reseaux {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  margin-top: clamp(64px, 7vw, 96px); padding-top: 26px; border-top: 2px solid var(--encre);
}
.reseaux p { margin: 0; font: 700 clamp(20px, 2.2vw, 26px)/1.25 var(--f-serif); max-width: 30ch; }
.reseaux__btns { display: flex; flex-wrap: wrap; gap: 14px 16px; }
.btn--social { text-transform: none; font-stretch: 100%; letter-spacing: 0; font-size: 16px; }
.btn--social svg { width: 22px; height: 22px; }

@media (max-width: 859px) {
  .succursales { grid-template-columns: 1fr; }
}
@media (max-width: 519px) {
  .carte__tag { left: 17px; top: -40px; transform: translateX(-50%); font-size: 11px; padding: 7px 8px; }
}
@media (max-width: 419px) {
  .btn--social { font-size: 14px; padding-inline: 14px; }
}

/* Rendu différé des sections hors écran (premier affichage plus rapide) */
.specialites, .resto, .adresses, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 1400px; }
.cv-off .specialites, .cv-off .resto, .cv-off .adresses, .cv-off .site-footer { content-visibility: visible; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { padding: clamp(56px, 7vw, 88px) 0 calc(28px + var(--callbar-h)); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 32px; align-items: start; }
.site-footer__brand img { width: 96px; height: 96px; margin-bottom: 14px; }
.site-footer .site-footer__slogan { font: 800 clamp(24px, 2.6vw, 30px)/1.15 var(--f-serif); color: var(--papier); margin: 0; text-wrap: balance; max-width: 13ch; }
.site-footer__h { font: 700 20px/1.2 var(--f-serif); margin-bottom: 8px; color: #B9D2C6; }
.site-footer p { font-size: 16px; color: #DCE7E1; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--papier); font-weight: 700; text-decoration: none; }
@media (hover: hover) { .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.site-footer__social { display: flex; gap: 10px; }
.site-footer__social a { justify-content: center; width: 48px; height: 48px; border: 2px solid var(--papier); border-radius: 50%; transition: background-color var(--d-fast), color var(--d-fast); }
.site-footer__social svg { width: 22px; height: 22px; }
@media (hover: hover) { .site-footer__social a:hover { background: var(--papier); color: var(--vert-nuit); } }
.site-footer__copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(242, 234, 219, .2); font-size: 14px; color: #B9D2C6; }
@media (max-width: 859px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Barre d'appel (mobile)
   ========================================================================== */
.callbar { display: none; }
@media (max-width: 699px) {
  :root { --callbar-h: calc(72px + env(safe-area-inset-bottom)); }
  .callbar {
    --focus: var(--papier); --btn-sh: #04150F;
    position: fixed; inset: auto 0 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1.35fr; gap: 12px;
    padding: 10px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: var(--vert-nuit);
    box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .5);
  }
  .callbar .btn { min-height: 48px; padding: 10px 12px; font-size: 14px; }
}

/* ==========================================================================
   Fenêtre « Quelle succursale ? »
   ========================================================================== */
.choix {
  --focus: var(--vert);
  width: min(100% - 24px, 760px); max-height: calc(100% - 24px);
  padding: 0; border: 2px solid var(--encre); border-radius: var(--radius);
  background: var(--papier); color: var(--encre);
  box-shadow: 8px 8px 0 var(--encre);
  overflow: auto;
}
.choix::backdrop { background: rgba(20, 10, 8, .62); }
.choix[open] { animation: choix-in .28s var(--ease); }
@keyframes choix-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.choix__in { position: relative; padding: clamp(22px, 4vw, 36px); }
.choix__titre { font: 800 clamp(30px, 4.4vw, 42px)/1.05 var(--f-serif); margin: 0 52px 22px 0; }
.choix__close {
  position: absolute; right: 14px; top: 14px; width: 48px; height: 48px;
  display: grid; place-items: center; background: transparent; border: 2px solid var(--encre); border-radius: 50%; cursor: pointer;
}
.choix__close svg { width: 22px; height: 22px; }
.choix__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.choix__succ { background: #FBF6EC; border: 2px solid var(--encre); padding: 18px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.choix__succ h3 { font: 800 28px/1 var(--f-serif); }
.choix__apps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.choix__tel { width: 100%; }
.choix__apps .btn { padding-inline: 10px; font-size: 14px; }
.choix[data-mode="appeler"] .choix__apps { display: none; }
.choix[data-mode="appeler"] .choix__tel { --bg: var(--rouge); --fg: #fff; min-height: 56px; font-size: 17px; }
@media (max-width: 599px) {
  .choix__grid { grid-template-columns: 1fr; }
  .choix__succ h3 { font-size: 24px; }
}

/* ==========================================================================
   Apparitions au défilement
   ========================================================================== */
.js [data-rv] { opacity: 0; transform: translateY(26px); }
.js [data-rv].is-in { opacity: 1; transform: none; transition: opacity var(--d-rv) var(--ease), transform var(--d-rv) var(--ease); transition-delay: var(--dl, 0s); }

/* Photos : elles se posent */

/* Carte : chaque filet se trace, puis le nom et la description montent */
.js [data-rv="plat"] { opacity: 1; transform: none; }
.js [data-rv="plat"]::before { transform: scaleX(0); }
.js [data-rv="plat"] .plat__nom, .js [data-rv="plat"] .plat__corps { opacity: 0; transform: translateY(18px); }
.js [data-rv="plat"].is-in::before { transform: scaleX(1); transition: transform .9s var(--ease-in-out) var(--dl, 0s); }
.js [data-rv="plat"].is-in .plat__nom { opacity: 1; transform: none; transition: opacity .8s var(--ease) calc(var(--dl, 0s) + .15s), transform .8s var(--ease) calc(var(--dl, 0s) + .15s); }
.js [data-rv="plat"].is-in .plat__corps { opacity: 1; transform: none; transition: opacity .8s var(--ease) calc(var(--dl, 0s) + .3s), transform .8s var(--ease) calc(var(--dl, 0s) + .3s); }
@media (hover: hover) and (pointer: fine) {
  .js [data-rv="plat"].is-in:hover .plat__nom { transform: translateX(10px); transition: transform .45s var(--ease); }
}

/* Carte : l'épingle tombe, l'étiquette la suit */
.js [data-rv] .carte__drop { opacity: 0; transform: translateY(-46px); }
.js [data-rv].is-in .carte__drop { animation: pin-drop .7s cubic-bezier(.3, 1.4, .5, 1) calc(var(--dl, 0s) + 1.7s) both; }
@keyframes pin-drop {
  0% { opacity: 0; transform: translateY(-46px); }
  40% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}

/* Titres : mot par mot */
.js [data-rv="titre"] { opacity: 1; transform: none; }
.intro-run [data-rv="titre"]:not(.is-split) { opacity: 0; }
.mot { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.mot > span { display: inline-block; }
.js [data-rv="titre"] .mot > span { transform: translateY(108%); }
.js [data-rv="titre"].is-in .mot > span { transform: none; transition: transform .8s var(--ease); transition-delay: calc(var(--dl, 0s) + var(--m, 0) * 55ms); }

/* Sceau : arrive en tournant légèrement */
.js [data-rv="sceau"] { opacity: 0; transform: scale(.9) rotate(-14deg); }
.js [data-rv="sceau"].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.4s var(--ease); }

/* Épingle : trois pulsations après la chute */
.carte__drop::before {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 26px; height: 10px; margin-left: -13px;
  border-radius: 50%; border: 2px solid var(--rouge); opacity: 0;
}
.js [data-rv].is-in .carte__drop::before { animation: pouls 1.6s var(--ease) calc(var(--dl, 0s) + 2.4s) 3; }
@keyframes pouls { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.4); } }

@media (max-width: 699px) {
  :root { --d-rv: .9s; }
}

/* ==========================================================================
   Page continue : une seule toile, lueurs néon aux jonctions, velours, papier
   ========================================================================== */
:root { --fade: 280px; }
.seamless { --raccord: #082C22; }
/* Le bas du hero devient transparent : la photo s'efface sur la même toile, le même velours
   et la même lueur que la section suivante. Même surface des deux côtés, donc aucune ligne possible. */
.seamless .hero { background: transparent; }
.seamless .hero::after { display: none; }
.seamless .hero__media {
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - var(--fade) * 1.2), rgba(0, 0, 0, .55) calc(100% - var(--fade) * .6), transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - var(--fade) * 1.2), rgba(0, 0, 0, .55) calc(100% - var(--fade) * .6), transparent 100%);
}
.seamless .nous, .seamless .specialites, .seamless .resto, .seamless .adresses, .seamless .site-footer { background: transparent !important; }
.seamless .lueur { display: none; }
.seamless .resto { padding-bottom: calc(var(--sec-y) * .5 + var(--fade) * .55); }
.seamless .adresses { padding-top: calc(var(--fade) * .55 + 24px); padding-bottom: calc(var(--sec-y) * .35 + var(--fade) * .55); }
.seamless .site-footer { padding-top: calc(var(--fade) * .55 + 16px); }

.toile { position: absolute; left: 0; right: 0; top: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.toile__grain {
  position: absolute; inset: 0; opacity: .55;
  background: url("../assets/img/grain.webp") 0 0 / 160px 160px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent var(--hb, 0px), #000 calc(var(--hb, 0px) + var(--fade)));
  mask-image: linear-gradient(180deg, transparent 0, transparent var(--hb, 0px), #000 calc(var(--hb, 0px) + var(--fade)));
}
/* Profondeur dans la nuit : nappes vert plus clair, fixes */
.toile__nappe { position: absolute; left: -20%; right: -20%; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 84, 64, .55), rgba(20, 84, 64, 0)); }

/* Papier d'emballage : voile de lumière chaude et têtes d'ours ton sur ton */
.voile {
  position: absolute; left: 0; right: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 calc(var(--fade) * 1.15), #000 calc(100% - var(--fade) * 1.15), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 calc(var(--fade) * 1.15), #000 calc(100% - var(--fade) * 1.15), transparent 100%);
}
.voile__base {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 0% 22%, rgba(255, 248, 232, .95), rgba(255, 248, 232, 0) 70%),
    radial-gradient(ellipse 70% 60% at 100% 80%, rgba(206, 132, 92, .22), rgba(206, 132, 92, 0) 72%);
}
.voile__nappe { position: absolute; width: 70vmax; aspect-ratio: 1; border-radius: 50%; }
.voile__nappe--a { left: -22vw; top: 10%; background: radial-gradient(closest-side, rgba(255, 252, 240, .9), rgba(255, 252, 240, 0)); }
.voile__nappe--b { right: -26vw; bottom: 5%; background: radial-gradient(closest-side, rgba(226, 140, 96, .22), rgba(226, 140, 96, 0)); }
.voile__motif {
  position: absolute; inset: -92px;
  background: url("../assets/img/logo-trait.webp") 0 0 / 92px 92px;
  opacity: .1;
  -webkit-mask-image: radial-gradient(ellipse 55% 45% at 0% 25%, #000, transparent 80%), radial-gradient(ellipse 55% 45% at 100% 78%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 55% 45% at 0% 25%, #000, transparent 80%), radial-gradient(ellipse 55% 45% at 100% 78%, #000, transparent 80%);
}
.motion-on .voile__nappe--a { animation: derive-a 18s ease-in-out infinite alternate; }
.motion-on .voile__nappe--b { animation: derive-b 23s ease-in-out infinite alternate; }
.motion-on .voile__motif { animation: motif 60s linear infinite; }
@keyframes motif { to { transform: translate(92px, 92px); } }

/* Lueurs néon de l'enseigne aux jonctions */
.coutures { position: absolute; left: 0; right: 0; top: 0; height: 0; z-index: -1; pointer-events: none; }
.couture { position: absolute; left: 0; right: 0; overflow: hidden; pointer-events: none; }
.couture i { position: absolute; border-radius: 50%; }
.c-rouge { left: -18%; right: -18%; top: 4%; bottom: 34%; background: radial-gradient(closest-side, rgba(240, 52, 62, .55), rgba(196, 33, 43, .22) 48%, rgba(196, 33, 43, 0)); }
.c-vert { left: 6%; right: 6%; top: 40%; bottom: 4%; background: radial-gradient(closest-side, rgba(92, 242, 168, .34), rgba(0, 140, 100, .12) 50%, rgba(0, 140, 100, 0)); }
/* Vers le papier : le vert néon reste du côté sombre, le rouge n'est qu'un reflet */
.couture--clair .c-vert { top: 6%; bottom: 40%; background: radial-gradient(closest-side, rgba(92, 242, 168, .32), rgba(0, 140, 100, .1) 50%, rgba(0, 140, 100, 0)); }
.couture--clair .c-rouge { left: 10%; right: 10%; top: 30%; bottom: 22%; background: radial-gradient(closest-side, rgba(220, 60, 70, .14), rgba(220, 60, 70, 0)); }
/* Depuis le papier : le rouge annonce le pied de page */
.couture--retour .c-rouge { left: 10%; right: 10%; top: 26%; bottom: 26%; background: radial-gradient(closest-side, rgba(220, 60, 70, .16), rgba(220, 60, 70, 0)); }
.couture--retour .c-vert { top: 46%; bottom: 0; }
.motion-on .c-rouge { animation: bourdonne 6s ease-in-out infinite alternate; }
.motion-on .c-vert { animation: bourdonne 4.6s ease-in-out -2s infinite alternate-reverse; }
@keyframes bourdonne { from { transform: scaleY(.86); opacity: .72; } to { transform: scaleY(1.12); opacity: 1; } }

/* Velours : reflets rouge et vert qui tournent sur la nuit (couche fixe, masquée hors de la nuit) */
.velours { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; visibility: hidden; }
.velours.is-on { visibility: visible; }
.velours__vague {
  position: absolute; left: 50%; top: 50%;
  width: 150vmax; height: 150vmax; margin: -75vmax 0 0 -75vmax;
  background: url("../assets/img/velours-a.webp") center / 100% 100% no-repeat;
  will-change: transform;
}
.velours__vague--b {
  width: 110vmax; height: 110vmax; margin: -55vmax 0 0 -55vmax; opacity: .8;
  background-image: url("../assets/img/velours-b.webp");
}
.velours__fils {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(242, 234, 219, .03) 22px 23px);
  -webkit-mask-image: radial-gradient(75% 70% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(75% 70% at 50% 50%, #000, transparent);
}
.motion-on .velours__vague { animation: velours 14s linear infinite; }
.motion-on .velours__vague--b { animation: velours 20s linear infinite reverse; }
@keyframes velours { to { transform: rotate(360deg); } }

/* ==========================================================================
   Mouvement réduit
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-rv], .js [data-rv] img, .js [data-rv] .plat__nom, .js [data-rv] .plat__corps,
  .js [data-rv]::before, .js [data-rv] .carte__drop { opacity: 1 !important; transform: none !important; }
  .intro, .pas { display: none; }
  .nav.is-open { clip-path: none; }
  .site-header.is-hidden { transform: none; }
  .js .carte__trace { stroke-dashoffset: 0 !important; }
  .taille__tortilla, .taille__regle i { transition: none !important; }
  .js [data-rv="titre"] .mot > span { transform: none !important; }
  .scene__spot { transform: translate3d(40vw, 30%, 0) !important; }
}
