/* ─────────────────────────────────────────────
   Pizz'Landes — feuille de style
   Direction : noir profond + piment (orange) + crème,
   inspirée d'eatnaked.co. Manrope (texte) / Instrument Serif (accents).
   ───────────────────────────────────────────── */

:root {
  /* Palette client (Adobe Color) : marine #054159 · turquoise #0B9EBF · soleil #F2BD1D · sable #F2BC79 · orange #F28B50 */
  --bg: #041d2b;
  --bg-2: #062a3d;
  --bg-3: #083548;
  --navy: #054159;
  --ink: #f6f1e7;
  --ink-2: rgba(246, 241, 231, .66);
  /* .62 et non .4 : en dessous, les petits textes (11-13 px) tombaient à 3,0-3,5:1,
     sous le minimum WCAG AA de 4,5:1. Ce seul jeton corrige 17 occurrences. */
  --ink-3: rgba(246, 241, 231, .62);
  --line: rgba(246, 241, 231, .12);
  --accent: #F28B50;
  --accent-2: #F2BD1D;
  --turq: #0B9EBF;
  --pine: #0B9EBF;
  --sand: #F2BC79;
  --glass: rgba(255, 255, 255, .06);
  --glass-b: rgba(255, 255, 255, .12);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --r: 20px;
  --r-lg: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html, body { background: var(--bg); color: var(--ink); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

img, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
::selection { background: var(--accent); color: #fff; }

/* Typo */
.h-xl {
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: .98;
  letter-spacing: -.035em;
}
.h-xl em, .hero__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--sand); letter-spacing: -.01em; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--turq); margin-bottom: 20px;
}
.lead { font-size: clamp(16px, 1.35vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 52ch; margin-top: 24px; }
.link { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .3s, color .3s; }
.link:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* Pills & buttons */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-b);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 14px; font-weight: 600; white-space: nowrap; line-height: 1;
}
.pill i { font-style: normal; font-size: 16px; }
.pill--sm { padding: 7px 12px; font-size: 12px; }
.pill--hot { border-color: rgba(242, 139, 80, .55); color: #ffd3b0; background: rgba(242, 139, 80, .16); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 22px 8px 8px; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1;
  background: var(--glass); border: 1px solid var(--glass-b);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .5s var(--ease-out), background .3s, border-color .3s;
  will-change: transform;
}
.btn__ico {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); font-size: 16px;
  transition: transform .5s var(--ease-out), background .3s;
}
.btn:hover .btn__ico { transform: rotate(-20deg) scale(1.08); }
.btn--accent { background: linear-gradient(135deg, var(--accent-2), var(--accent)); border-color: transparent; color: var(--navy); box-shadow: 0 10px 40px rgba(242, 139, 80, .3); }
.btn--accent .btn__ico { background: rgba(5, 65, 89, .18); }
.btn--ghost { background: transparent; }
.btn--lg { padding: 10px 28px 10px 10px; font-size: 17px; }
.btn--lg .btn__ico { width: 44px; height: 44px; }

.glass {
  background: var(--glass); border: 1px solid var(--glass-b);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: var(--r);
}

/* Lien d'évitement : 85 éléments focalisables séparent le haut de page de la carte */
.skip {
  position: fixed; top: 10px; left: 10px; z-index: 1100;
  padding: 12px 20px; border-radius: 999px; font-weight: 700;
  background: var(--accent-2); color: var(--navy);
  transform: translateY(-160%); transition: transform .25s var(--ease-out);
}
.skip:focus { transform: none; outline: 3px solid var(--ink); outline-offset: 3px; }

/* Focus visible homogène (le contour par défaut disparaissait sur les fonds sombres) */
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
.dish:focus-visible { outline-offset: -3px; }

/* ── Loader ── */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: grid; place-items: center; align-content: center; row-gap: 36px; overflow: hidden;
}
.loader__rings { position: absolute; inset: 0; display: grid; place-items: center; }
.loader__rings span {
  position: absolute; border-radius: 50%; border: 1px dashed rgba(246, 241, 231, .14); will-change: transform;
}
.loader__rings span:nth-child(1) { width: 38vmax; height: 38vmax; }
.loader__rings span:nth-child(2) { width: 62vmax; height: 62vmax; }
.loader__rings span:nth-child(3) { width: 90vmax; height: 90vmax; border-color: rgba(246, 241, 231, .09); }
.loader__mark { position: relative; z-index: 1; width: min(52vw, 300px); aspect-ratio: 640 / 487; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .5)); }
.loader__logo { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__logo--grey { filter: grayscale(1) brightness(.45) contrast(.9); }
.loader__logo--color { clip-path: inset(100% 0 0 0); }
.loader__count { position: relative; z-index: 1; margin-top: 0; font-weight: 700; font-size: 22px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }

.mark-slice { fill: var(--accent); }
.mark-pine { fill: var(--bg); }

/* ── Cursor ── */
.cursor { position: fixed; left: 0; top: 0; z-index: 900; pointer-events: none; mix-blend-mode: normal; opacity: 0; }
.cursor__dot {
  position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--ink); transition: transform .35s var(--ease-out), background .3s;
}
.cursor__label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(0);
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: var(--accent); color: var(--navy); font-weight: 700; font-size: 13px;
  transition: transform .4s var(--ease-out);
}
.cursor.is-label .cursor__dot { transform: scale(0); }
.cursor.is-label .cursor__label { transform: translate(-50%, -50%) scale(1); }
.cursor.is-link .cursor__dot { transform: scale(2.4); background: var(--accent-2); }
@media (hover: none), (max-width: 1024px) { .cursor { display: none; } }

/* ── Header ── */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter);
  transition: transform .6s var(--ease-out), background .4s, backdrop-filter .4s;
}
.header.is-hidden { transform: translateY(-110%); }
.header.is-solid { background: rgba(4, 29, 43, .55); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; justify-self: start; }
.brand__logo { height: 72px; width: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35)); transition: transform .5s var(--ease-out); }
.brand:hover .brand__logo { transform: scale(1.04) rotate(-2deg); }
.nav { display: flex; gap: 26px; font-size: 14px; font-weight: 600; }
.nav a { position: relative; color: var(--ink-2); transition: color .3s; }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.header__right { display: flex; align-items: center; gap: 16px; justify-self: end; }
.header__hint { font-size: 14px; color: var(--accent-2); font-weight: 600; }
.burger {
  display: none; position: relative; width: 44px; height: 44px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--glass-b); justify-self: end; z-index: 3;
}
.burger span { position: absolute; left: 13px; width: 18px; height: 2px; background: var(--ink); transition: transform .4s var(--ease-out), top .4s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger.is-open span:first-child { top: 21px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 21px; transform: rotate(-45deg); }

/* ── Menu plein écran ── */
.menu { position: fixed; inset: 0; z-index: 450; pointer-events: none; visibility: hidden; }
.menu.is-open { pointer-events: auto; visibility: visible; }
.menu__bg { position: absolute; inset: 0; background: var(--bg-2); transform: translateY(-100%); transition: transform .8s var(--ease-out); }
.menu.is-open .menu__bg { transform: none; }
.menu__nav { position: absolute; left: var(--gutter); right: var(--gutter); top: 14vh; display: flex; flex-direction: column; gap: 4px; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 18px;
  font-size: clamp(34px, 7vw, 72px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
  opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .7s var(--ease-out), color .3s;
}
.menu__nav a::before { content: attr(data-i); font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: .1em; }
.menu__nav a:hover { color: var(--accent-2); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(n) { transition-delay: calc(.15s + var(--d, 0) * 1s); }
.menu__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; display: flex; justify-content: space-between; color: var(--ink-2); font-size: 14px; opacity: 0; transition: opacity .5s .6s; }
.menu.is-open .menu__foot { opacity: 1; }
.menu__foot a { color: var(--ink); }

/* ── Dot nav ── */
.dots {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 400;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.dots a {
  display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .04em;
  color: var(--ink-3); transition: color .3s;
}
.dots a::after { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .4s var(--ease-out); }
.dots a.is-active { color: var(--accent-2); }
.dots a.is-active::after { width: 26px; }
.dots a:hover { color: var(--ink); }

/* ── Sections communes ── */
section { position: relative; }
.reveal { opacity: 0; transform: translateY(24px); }
html:not(.js) .reveal, .no-anim .reveal { opacity: 1; transform: none; }
/* Mode dégradé (filet anti-page-blanche, absence de GSAP, mouvement réduit) :
   tout ce qui démarre masqué en attendant une animation doit redevenir visible. */
.no-anim .reveal, .no-anim .split .word > span, .no-anim .hero__title .line > span,
.no-anim .pill--float, .no-anim .pill--tag, .no-anim .hero__combo,
.no-anim .hero__slide.is-active { opacity: 1 !important; transform: none !important; }
.split .word { display: inline-block; overflow: hidden; vertical-align: top; }
.split .word > span { display: inline-block; transform: translateY(110%); }
html:not(.js) .split .word > span, .no-anim .split .word > span { transform: none; }

/* ── HERO ── */
.hero {
  min-height: 100svh; height: 100svh;
  display: grid; grid-template-rows: auto 1fr;
  padding: 96px var(--gutter) 28px;
  overflow: hidden;
  background: var(--bg); isolation: isolate; /* fond réel pour le mode de fusion de la pizza */
}
.hero::before {
  content: ""; position: absolute; inset: auto 0 -10% 0; height: 50%;
  background: radial-gradient(60% 70% at 50% 100%, rgba(242, 189, 29, .22), rgba(242, 139, 80, .14) 40%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; z-index: -1;
  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(60% 50% at 50% 100%, #000, transparent);
  mask-image: radial-gradient(60% 50% at 50% 100%, #000, transparent);
}
.hero__inner { text-align: center; max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.hero__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 18px; }
.pine-ico { width: 14px; height: 14px; fill: var(--turq); }
.hero__title { font-weight: 700; font-size: clamp(40px, 5.6vw, 84px); line-height: .96; letter-spacing: -.04em; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; transform: translateY(105%); }
html:not(.js) .hero__title .line > span { transform: none; }
.hero__lead { margin: 16px auto 0; max-width: 52ch; color: var(--ink-2); font-size: clamp(15px, 1.2vw, 18px); }

.hero__stage { position: relative; display: grid; justify-items: center; align-items: start; min-height: 0; }
.hero__media {
  position: relative; height: min(72vw, clamp(58vh, 100vh - 350px, 84vh)); width: auto; aspect-ratio: 1; will-change: transform; margin-top: 0;
  mix-blend-mode: lighten; /* le noir des visuels prend la couleur du fond */
  -webkit-mask-image: radial-gradient(circle at center, #000 60%, rgba(0, 0, 0, .55) 66%, transparent 72%); mask-image: radial-gradient(circle at center, #000 60%, rgba(0, 0, 0, .55) 66%, transparent 72%);
}
.hero__slide { position: absolute; inset: 0; opacity: 0; transform: scale(.94); pointer-events: none; transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.hero__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero__video, .hero__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__still { opacity: 0; transition: opacity .4s; }
.hero__slide.no-video .hero__video { display: none; }
.hero__slide.no-video .hero__still { opacity: 1; }
.hero__spin { position: absolute; inset: 0; will-change: transform; }
.hero__half { position: absolute; inset: 0; overflow: hidden; }
.hero__half--l { clip-path: inset(0 50% 0 0); }
.hero__half--r { clip-path: inset(0 0 0 50%); }
.hero__half img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__combo { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 4; gap: 10px; padding: 8px 14px 8px 10px; opacity: 0; transition: opacity .4s, visibility .4s; box-shadow: 0 12px 40px rgba(0, 0, 0, .45); }
.hero__combo i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--navy); font-size: 13px; font-weight: 800; }
.hero__combo span { font-weight: 700; }
.hero__combo em { font-style: normal; font-size: 11px; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; padding-left: 10px; border-left: 1px solid var(--line); }
.hero__glow {
  position: absolute; inset: -12%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(242, 189, 29, .34), rgba(242, 139, 80, .18) 52%, transparent 72%); filter: blur(24px);
}
.pill--float { position: absolute; z-index: 3; opacity: 0; transform: translateY(10px); box-shadow: 0 12px 40px rgba(0, 0, 0, .45); }
.pill--tab { cursor: pointer; transition: background .35s, border-color .35s, color .35s, transform .35s var(--ease-out); }
.pill--tab:hover { transform: translateY(-2px); color: var(--ink); }
.pill--tab.is-active { background: linear-gradient(135deg, var(--accent-2), var(--accent)); border-color: transparent; color: var(--navy); box-shadow: 0 8px 26px rgba(242, 139, 80, .3); }
.hero__bl .pills { gap: 8px; }

.hero__bl { position: absolute; left: var(--gutter); bottom: 28px; z-index: 2; max-width: 330px; }
.hero__bl h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-top: 14px; }
.hero__bl p { color: var(--ink-3); font-size: 13px; margin-top: 8px; }
.hero__cta { position: absolute; right: var(--gutter); bottom: 28px; z-index: 3; }

/* ── LANDES ── */
.landes { min-height: 100svh; display: grid; align-items: end; padding: 18vh var(--gutter) 10vh; overflow: hidden; }
.landes__bg { position: absolute; inset: 0; z-index: 0; }
.landes__bg video { width: 100%; height: 100%; object-fit: cover; opacity: .9; will-change: transform; }
.landes__veil { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(4, 29, 43, .1) 35%, rgba(4, 29, 43, .55) 75%, var(--bg) 100%); }
.landes__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.hours-short { margin-top: 32px; display: inline-block; padding: 20px 24px; border-radius: var(--r); background: rgba(4, 29, 43, .5); border: 1px solid var(--glass-b); backdrop-filter: blur(12px); }
.hours-short__k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); font-weight: 700; margin-bottom: 14px; }
.hours-short ul { display: grid; gap: 10px; }
.hours-short li { display: flex; align-items: baseline; gap: 18px; justify-content: space-between; font-size: 15px; }
.hours-short li span { color: var(--ink-2); font-weight: 600; min-width: 6.5ch; }
.hours-short li b { font-weight: 700; letter-spacing: -.01em; }
.hours-short li.is-closed b { color: var(--ink-3); font-weight: 600; }
.hours-short small { display: block; margin-top: 14px; font-size: 11px; color: var(--ink-3); }
.stats { display: grid; gap: 12px; }
.stats li { padding: 22px 24px; display: flex; align-items: center; gap: 22px; }
.stats b { font-size: clamp(34px, 3.4vw, 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1; min-width: 3ch; }
.stats b sup { font-size: .45em; color: var(--accent-2); vertical-align: top; }
.stats b.stats__word { font-size: clamp(26px, 2.6vw, 40px); min-width: 0; letter-spacing: -.03em; white-space: nowrap; }
.stats span { color: var(--ink-2); font-size: 14px; line-height: 1.35; }

/* ── ENVIES ── */
.envies { padding: 16vh var(--gutter) 12vh; text-align: center; }
.envies__head { max-width: 760px; margin: 0 auto; }
.envies__head .lead { margin-inline: auto; }
.envies__body {
  display: grid; grid-template-columns: 1fr minmax(0, 52vh) 1fr; grid-template-areas: "l stage r" "res res res";
  gap: 24px 36px; align-items: center; max-width: 1240px; margin: 44px auto 0;
}
.envies__stage { grid-area: stage; position: relative; width: 100%; aspect-ratio: 1; }
.envies__pizza { position: absolute; inset: 0; mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(circle at center, #000 61%, rgba(0, 0, 0, .55) 66%, transparent 72%); mask-image: radial-gradient(circle at center, #000 61%, rgba(0, 0, 0, .55) 66%, transparent 72%); }
.envies__half { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.envies__half img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.envies__half--l { clip-path: inset(0 50% 0 0); }
.envies__half--r { clip-path: inset(0 0 0 50%); }
.envies__seam { position: absolute; left: 50%; top: 4%; bottom: 4%; width: 2px; background: linear-gradient(180deg, transparent, var(--accent-2), transparent); opacity: 0; transform: translateX(-50%); }
.mixer__col { display: grid; gap: 16px; align-content: center; }
.mixer__col--l { grid-area: l; text-align: right; justify-items: end; }
.mixer__col--r { grid-area: r; text-align: left; justify-items: start; }
.mixer__title { display: grid; gap: 6px; }
.mixer__title small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.mixer__title b { font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.mixer__opts { display: flex; flex-wrap: wrap; gap: 8px; max-width: 320px; }
.mixer__col--l .mixer__opts { justify-content: flex-end; }
.chip { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--glass-b); font-size: 13px; font-weight: 600; color: var(--ink-2); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.chip:hover { color: var(--ink); transform: translateY(-1px); }
.chip.is-active { background: var(--accent); border-color: transparent; color: var(--navy); }
.mixer__result { grid-area: res; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.mixer__combo { display: grid; justify-items: center; gap: 6px; }
.mixer__x { font-family: var(--serif); font-style: italic; font-size: 36px; color: var(--accent-2); line-height: 1; }
.mixer__combo b { font-size: 22px; letter-spacing: -.02em; }
.mixer__combo small { color: var(--ink-3); font-size: 13px; line-height: 1.4; }

/* ── CARTE ── */
.carte { padding: 12vh 0 10vh; }
.carte__head { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; padding: 0 var(--gutter); }
.carte__head .lead { margin-top: 0; }
.tabs {
  position: sticky; top: 72px; z-index: 30; transition: top .6s var(--ease-out);
  display: flex; flex-wrap: wrap; gap: 10px; padding: 14px var(--gutter); margin-top: 30px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 78%, transparent 100%);
}
.tab {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px;
  border: 1px solid var(--glass-b); background: var(--glass); font-weight: 700; font-size: 14px; color: var(--ink-2);
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.header-hidden .tabs { top: 0; }
.tab i { font-style: normal; font-size: 18px; }
.tab small { font-size: 11px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; }
.tab:hover { color: var(--ink); transform: translateY(-1px); }
.tab.is-active { background: var(--accent); border-color: transparent; color: var(--navy); }
.tab.is-active small { color: rgba(5, 65, 89, .7); }
.carte__panels { padding: 0 var(--gutter); margin-top: 32px; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dish {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .6s var(--ease-out), border-color .4s;
}
.dish:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .2); }
.dish__media { position: relative; aspect-ratio: 1; background: radial-gradient(60% 60% at 50% 55%, rgba(242, 189, 29, .16), rgba(242, 139, 80, .08) 45%, transparent 72%), #03131f; overflow: hidden; }
.dish__media img {
  position: absolute; object-fit: cover; mix-blend-mode: lighten; pointer-events: none; will-change: transform;
  transition: transform .85s var(--ease-out), opacity .5s ease;
}
/* la pizza ronde : masque circulaire, coulisse vers le haut hors du cadre */
.dish__pizza {
  inset: 6%; width: 88%; height: 88%;
  -webkit-mask-image: radial-gradient(circle at center, #000 62%, transparent 70%); mask-image: radial-gradient(circle at center, #000 62%, transparent 70%);
}
/* la vue éclatée : plein cadre, arrive du bas */
.dish__open { inset: 0; width: 100%; height: 100%; transform: translateY(101%); opacity: 0; transition-delay: .06s; }
.dish__hint {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; display: none;
  padding: 7px 11px; border-radius: 999px; background: rgba(4, 29, 43, .72); border: 1px solid var(--glass-b);
  backdrop-filter: blur(10px); font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--ink-2);
  transition: opacity .3s;
}
@media (hover: none) { .dish__hint { display: inline-flex; } }
.dish.is-open .dish__hint { opacity: 0; }
.dish.is-open .dish__pizza { transform: translateY(-118%) rotate(-6deg); }
.dish.is-open .dish__open { transform: none; opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .dish:hover .dish__pizza { transform: translateY(-118%) rotate(-6deg); }
  .dish:hover .dish__open { transform: none; opacity: 1; }
}
.dish__body { padding: 20px 22px 24px; }
.dish__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.dish__price { font-weight: 800; letter-spacing: -.02em; font-size: 17px; }
.dish h3 { font-size: 24px; letter-spacing: -.025em; font-weight: 700; }
.dish p { margin-top: 8px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.pill--ghost { color: var(--ink-3); }
.drinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.drink { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; font-weight: 600; }
.drink em { font-style: normal; font-size: 11px; color: var(--accent-2); margin-left: 8px; letter-spacing: .06em; text-transform: uppercase; }
.drink b { font-weight: 800; white-space: nowrap; }
.carte__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 0 var(--gutter); margin-top: 40px; }
.carte__cta p { color: var(--ink-3); font-size: 14px; }
.carte__cta p b { color: var(--ink); }
.drag { overflow: hidden; cursor: grab; user-select: none; }
.drag.is-dragging { cursor: grabbing; }
.drag__track { display: flex; gap: 20px; padding: 0 var(--gutter); width: max-content; will-change: transform; }

/* ── PIZZ'WICH ── */
.wich { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 12vh var(--gutter); align-items: center; }
.wich__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; max-height: 86vh; }
.wich__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; transform: scale(1.12); }
.pill--w1 { left: 8%; top: 26%; } .pill--w2 { right: 8%; top: 40%; } .pill--w3 { left: 12%; bottom: 28%; } .pill--w4 { right: 12%; bottom: 14%; }
.checks { margin-top: 28px; display: grid; gap: 12px; color: var(--ink-2); }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(242, 139, 80, .18); color: var(--accent-2); font-size: 12px; font-weight: 800; }
.wich__text .btn { margin-top: 32px; }

/* ── TERROIR ── */
.terroir { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 14vh var(--gutter); overflow: hidden; }
.terroir__bg { position: absolute; inset: -10% 0; z-index: 0; }
.terroir__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.terroir::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 50% at 50% 50%, rgba(4, 29, 43, .78), rgba(4, 29, 43, .35) 60%, var(--bg) 100%); z-index: 0; }
.terroir__center { position: relative; z-index: 2; max-width: 760px; }
.terroir__center .lead { margin-inline: auto; }
.terroir__tags { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pill--tag { position: absolute; left: var(--x); top: var(--y); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: auto; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }

/* ── PILIERS ── */
.piliers { padding: 12vh var(--gutter); }
.piliers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.pilier {
  position: relative; min-height: 460px; border-radius: var(--r-lg); overflow: hidden;
  padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  border: 1px solid var(--line); isolation: isolate;
}
.pilier__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pilier::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 29, 43, .1), rgba(4, 29, 43, .92) 70%); }
.pilier:hover .pilier__bg { transform: scale(1.06); }
.pilier__num { position: absolute; top: 24px; left: 28px; font-size: 12px; font-weight: 700; color: var(--accent-2); letter-spacing: .1em; }
.pilier h3 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.03em; font-weight: 800; }
.pilier p { color: var(--ink-2); font-size: 15px; max-width: 34ch; }
.pilier .link { align-self: flex-start; margin-top: 6px; }

/* ── AVIS ── */
.avis { padding: 10vh 0 12vh; overflow: hidden; }
.avis__head { padding: 0 var(--gutter); }
.marquee { margin-top: 48px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; will-change: transform; }
.quote { width: 380px; padding: 26px 28px; display: flex; flex-direction: column; gap: 18px; flex: none; }
.quote blockquote { font-size: 18px; line-height: 1.4; letter-spacing: -.01em; font-weight: 500; }
.quote figcaption { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.quote figcaption::before { content: "★★★★★  "; color: var(--accent-2); letter-spacing: .1em; }
/* Bloc note réelle (remplace les témoignages : aucun avis n'est rédigé par la maison) */
.score { margin: 44px var(--gutter) 0; padding: 32px 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; max-width: 880px; }
.score__valeur { display: flex; align-items: baseline; gap: 4px; }
.score__valeur b { font-size: clamp(52px, 7vw, 86px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--accent-2); }
.score__valeur span { font-size: 20px; font-weight: 700; color: var(--ink-2); }
.score__etoiles { font-size: 22px; letter-spacing: .12em; color: var(--accent-2); }
.score__etoiles span { color: var(--ink-3); }
.score__source { flex: 1 1 320px; font-size: 16px; line-height: 1.5; }
.score__source b { font-weight: 700; }
.score__source small { display: block; margin-top: 10px; font-size: 12px; color: var(--ink-2); line-height: 1.45; }
.avis__liens { display: flex; flex-wrap: wrap; gap: 12px; padding: 24px var(--gutter) 0; }
.avis__note { padding: 28px var(--gutter) 0; color: var(--ink-3); font-size: 14px; }
.avis__note a { color: var(--ink-2); border-bottom: 1px solid var(--line); }

/* ── COULISSES ── */
.coulisses { padding: 6vh 0 12vh; }
.coulisses__head { padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.coulisses__head .eyebrow { grid-column: 1 / -1; }
.drag--gallery { margin-top: 44px; }
.shot { position: relative; flex: none; width: clamp(240px, 22vw, 320px); aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; }
.shot--tall { width: clamp(360px, 36vw, 560px); aspect-ratio: 3/2; }
.shot img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1s var(--ease-out); }
.shot:hover img { transform: scale(1.04); }
.shot figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 12px; border-radius: 999px; background: rgba(4, 29, 43, .55); backdrop-filter: blur(10px); font-size: 12px; font-weight: 600; }

/* ── INFOS ── */
.infos { padding: 12vh var(--gutter) 10vh; }
.infos__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.infos__cta { margin-top: 36px; }
.infos__phone-note { margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.infos__cards { display: grid; gap: 14px; }
.info { padding: 24px 26px; display: grid; gap: 10px; }
.info__k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); font-weight: 700; }
.info p { font-size: 17px; line-height: 1.4; }
.info small { color: var(--ink-3); font-size: 12px; }
.hours { display: grid; gap: 8px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.hours li span:first-child { color: var(--ink-2); }
.hours li.is-closed span:last-child { color: var(--ink-3); }
.hours li.is-today { color: var(--accent-2); }
.hours li.is-today span:first-child { color: var(--accent-2); font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; border: 1px solid var(--glass-b); background: rgba(255, 255, 255, .05); font-size: 14px; align-self: flex-start; }
.status b { font-weight: 700; }
.status small { color: var(--ink-2); font-size: 13px; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); flex: none; }
.status[data-state="open"] .status__dot { background: #4fc98a; box-shadow: 0 0 0 4px rgba(79, 201, 138, .18); animation: pulse 2.4s var(--ease) infinite; }
.status[data-state="open"] b { color: #4fc98a; }
.status[data-state="closed"] .status__dot { background: #e2593f; box-shadow: 0 0 0 4px rgba(226, 89, 63, .16); }
.status[data-state="closed"] b { color: #ff9c86; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(79, 201, 138, .18); } 50% { box-shadow: 0 0 0 8px rgba(79, 201, 138, 0); } }
.info__social { display: flex; gap: 20px; }
.infos__map { margin-top: 48px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21/8; }
.infos__map iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.6) contrast(.95); }
/* Bloc « Nous trouver » (remplace l'iframe Google Maps : aucun appel à un tiers) */
.plan {
  height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 14px;
  padding: clamp(28px, 5vw, 56px); background: var(--bg-2);
  background-image: radial-gradient(60% 80% at 85% 20%, rgba(242, 189, 29, .1), transparent 70%);
}
.plan__k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); font-weight: 700; }
.plan__adresse { font-size: clamp(24px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
.plan__note { color: var(--ink-2); font-size: 15px; max-width: 46ch; }
.plan__liens { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ── Pages légales (mentions-legales.html, confidentialite.html) ── */
.legal-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px var(--gutter); border-bottom: 1px solid var(--line); }
.legal-bar .brand__logo { height: 56px; width: auto; }
.legal { max-width: 78ch; margin: 0 auto; padding: 8vh var(--gutter) 12vh; }
.legal h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin-bottom: 10px; }
.legal .maj { color: var(--ink-3); font-size: 13px; margin-bottom: 48px; }
.legal h2 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -.02em; margin: 44px 0 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.65; font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0; display: grid; gap: 8px; }
.legal li { padding-left: 18px; position: relative; }
.legal li::before { content: "—"; position: absolute; left: 0; color: var(--accent-2); }
.legal dl { display: grid; grid-template-columns: minmax(11rem, auto) 1fr; gap: 10px 28px; margin: 16px 0; }
.legal dt { font-weight: 700; color: var(--ink); font-size: 15px; }
.legal dd { margin: 0; color: var(--ink-2); font-size: 15px; }
.legal a { color: var(--accent-2); border-bottom: 1px solid rgba(242, 189, 29, .35); }
.legal a:hover { border-color: var(--accent-2); }
.todo { background: rgba(242, 139, 80, .18); border: 1px dashed var(--accent); color: #ffd3b0; padding: 1px 8px; border-radius: 6px; font-size: .92em; font-weight: 600; }
.legal__avert { margin: 32px 0; padding: 20px 24px; border-radius: var(--r); border: 1px dashed var(--accent); background: rgba(242, 139, 80, .08); }
.legal__avert p { color: var(--ink); font-size: 15px; }

/* ── Footer ── */
.footer { position: relative; padding: 10vh var(--gutter) 24px; border-top: 1px solid var(--line); overflow: hidden; background: #02131f; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__brand { display: grid; gap: 16px; }
.footer__brand .brand__logo { height: 110px; }
.footer__brand p { font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.footer__nav, .footer__contact p:last-child { display: flex; flex-direction: column; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.footer__nav a:hover, .footer__contact a:hover { color: var(--accent-2); }
.footer__contact { display: grid; gap: 20px; color: var(--ink-2); font-size: 15px; }
.footer__word { margin: 8vh 0 0; overflow: hidden; line-height: .8; }
.footer__word span { display: block; font-size: clamp(64px, 17vw, 300px); font-weight: 800; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(242, 188, 121, .3); white-space: nowrap; transform: translateY(20%); transition: transform 1.2s var(--ease-out), color .8s; }
.footer.is-in .footer__word span { transform: none; color: rgba(242, 188, 121, .07); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.footer__bottom p:last-child { display: flex; gap: 18px; }

/* ── Responsive ── */
/* Rail réservé à la dot-nav (fixée à droite) pour qu'aucune carte ne passe dessous */
@media (min-width: 1101px) {
  .landes, .piliers, .infos, .terroir, .footer { padding-right: calc(var(--gutter) + 56px); }
  .carte__head, .tabs, .carte__panels, .carte__cta, .avis__head, .avis__note, .coulisses__head { padding-right: calc(var(--gutter) + 56px); }
}

@media (max-width: 1100px) {
  .nav, .header__hint, .dots { display: none; }
  .header { grid-template-columns: 1fr auto auto; gap: 12px; }
  .burger { display: block; }
  .landes__grid, .carte__head, .infos__grid, .wich { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .wich__media { max-height: none; }
  .envies__body { grid-template-columns: 1fr; grid-template-areas: "stage" "l" "r" "res"; gap: 28px; }
  .envies__stage { width: min(70vw, 420px); margin: 0 auto; }
  .mixer__col--l, .mixer__col--r { text-align: left; justify-items: start; }
  .mixer__col--l .mixer__opts { justify-content: flex-start; }
  .mixer__opts { max-width: none; }
  .piliers__grid { grid-template-columns: 1fr; }
  .pilier { min-height: 340px; }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero { height: auto; min-height: 100svh; padding-top: 92px; grid-template-rows: auto auto auto; }
  .hero__stage { min-height: 0; margin: 8px 0 0; order: 1; }
  .hero__media { height: auto; width: 72vw; margin-top: 0; }
  .hero__combo { position: static; transform: none; order: 2; justify-self: center; margin: 12px 0 18px; }
  .hero__bl { position: static; max-width: none; order: 3; }
  .hero__combo { font-size: 12px; }
  .hero__bl .pills { margin-bottom: 4px; }
  .hero__combo em { display: none; }
  .hero__cta { position: static; margin-top: 16px; justify-self: start; order: 4; }
  .brand__logo { height: 52px; }
  .header__right .btn span:last-child { display: none; }
  .header__right .btn { padding: 8px; }
  .stats li { padding: 16px 18px; }
  .landes { padding-top: 12vh; }
  .terroir { grid-template-rows: auto auto; align-content: center; gap: 28px; }
  .terroir__tags { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; pointer-events: auto; }
  .pill--tag { position: static; font-size: 12px; padding: 8px 12px; }
  .footer__bottom { flex-direction: column; }
  .infos__map { aspect-ratio: 4/3; }
  .menu-grid { grid-template-columns: 1fr; }
  .tab small { display: none; }
  .infos__cta { display: grid; gap: 12px; justify-items: start; }
}

/* ── Accessibilité : mouvement réduit ── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .split .word > span, .hero__title .line > span, .pill--float, .pill--tag, .hero__combo { opacity: 1 !important; transform: none !important; }
  .dish__media img { transition: none; }
  .loader { display: none; }
}

/* ── Repli de la carte quand JavaScript ne pilote pas les onglets ─────────────
   Deux cas : JavaScript desactive (la classe .js n'est jamais posee), ou
   js/main.js qui n'a pas pu s'executer (le filet de index.html pose alors
   .pl-degrade). Dans les deux, cliquer sur un onglet ne fait plus rien et les
   panneaux « Base creme » et « Boissons » resteraient masques par leur
   attribut hidden : les deux tiers de la carte disparaitraient. On affiche
   donc les trois panneaux a la suite, chacun precede de son intitule, et on
   retire la barre d'onglets devenue inoperante. */
.cat-repli { display: none; }

html:not(.js) .tabs,
.pl-degrade .tabs { display: none; }

html:not(.js) [data-panel][hidden],
.pl-degrade [data-panel][hidden] { display: grid !important; }

html:not(.js) .cat-repli,
.pl-degrade .cat-repli {
  display: block;
  margin: 48px 0 18px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
