/* Le Vietnam Pau — feuille de style */
:root {
  --jade-950: #1e0508;
  --jade-900: #3b0a10;
  --jade-700: #6b1a20;
  --celadon: #ffffff;
  --celadon-2: #efe0c8;
  --lacquer: #b3202a;
  --lacquer-deep: #7d1219;
  --gold: #e2b552;
  --gold-soft: #f1d48e;
  --ink: #2a1214;
  --ink-soft: #6c5350;
  --white: #fffdf8;

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Be Vietnam Pro", system-ui, sans-serif;

  --step--1: clamp(.85rem, .82rem + .15vw, .94rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.35rem + 1.2vw, 2.25rem);
  --step-3: clamp(2.2rem, 1.6rem + 3vw, 4rem);
  --step-4: clamp(3rem, 1.8rem + 6vw, 7rem);

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--celadon);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.05; margin: 0; font-variation-settings: "SOFT" 100; }
h2 { font-size: var(--step-3); letter-spacing: -.02em; }
h3 { font-size: var(--step-1); letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: .5rem 1rem; border-radius: 6px; }
.skip:focus { left: 8px; }

/* Barre de progression de lecture */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--lacquer)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Boutons */
.btn {
  --bg: transparent; --fg: currentColor;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85em 1.5em; border-radius: 999px; font-weight: 600; font-size: var(--step--1);
  text-decoration: none; background: var(--bg); color: var(--fg); overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--lacquer); transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { color: var(--white); transform: translateY(-2px); }
.btn-gold { --bg: var(--gold); --fg: var(--ink); }
.btn-gold:hover { box-shadow: 0 10px 24px -10px rgba(179, 32, 42, .7); }
.btn-ghost { --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(251, 252, 248, .5); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--lacquer); }
.btn-line { --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 14px max(var(--gutter), calc((100% - 1200px) / 2 + var(--gutter))); color: var(--white);
  transition: background .4s var(--ease), padding .4s var(--ease), transform .4s var(--ease);
}
.nav.is-scrolled { background: rgba(30, 5, 8, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-block: 8px; }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; }
.brand svg { width: 34px; height: 34px; color: var(--gold); transition: transform .6s var(--ease); }
.brand:hover svg { transform: rotate(-20deg) scale(1.08); }
.brand em, .foot-brand em { font-style: normal; color: var(--gold); }
.nav ul { display: flex; gap: clamp(.8rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav ul a { position: relative; text-decoration: none; font-size: var(--step--1); font-weight: 500; padding: .3rem 0; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav ul a:hover::after, .nav ul a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative; min-height: min(100svh, 960px); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 2rem;
  padding: 110px max(var(--gutter), calc((100% - 1200px) / 2 + var(--gutter))) 70px;
  background:
    radial-gradient(1200px 600px at 85% 40%, rgba(226, 181, 82, .14), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(179, 32, 42, .25), transparent 60%),
    var(--jade-950);
  color: var(--white);
}
.hero-text { position: relative; z-index: 2; max-width: 34rem; }
.hero h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -.035em; line-height: .95; margin: 1.2rem 0 1.5rem; }
.hero h1 .line { display: block; }
.hero h1 .line:nth-child(3) { color: var(--gold); font-style: italic; font-weight: 500; padding-left: .6em; }
.lede { font-size: var(--step-1); line-height: 1.5; color: rgba(251, 252, 248, .82); max-width: 30rem; }
.cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.status { display: inline-flex; align-items: center; gap: .6rem; font-size: var(--step--1); padding: .4rem .9rem; border-radius: 999px; background: rgba(251, 252, 248, .08); }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #8a958f; }
.status.is-open .dot { background: #5fd38a; box-shadow: 0 0 0 0 rgba(95, 211, 138, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(95, 211, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 211, 138, 0); } }

/* Le plateau tournant */
.plateau { position: relative; margin: 0; display: grid; justify-items: center; gap: 1.4rem; z-index: 1; }
.plateau-spin { position: relative; width: min(620px, 100%); aspect-ratio: 1; }
/* Ombre fixe sous le plateau (pas de filtre sur l'élément qui tourne : rotation plus fluide) */
.plateau-spin::before { content: ""; position: absolute; inset: 6% 4% -4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); transform: translateY(5%); z-index: -1; }
.plateau-spin svg { display: block; width: 100%; height: 100%; transform: rotate(0deg); will-change: transform; backface-visibility: hidden; }
.plateau .dish { transition: filter .35s var(--ease); cursor: pointer; }
.plateau .dish > circle:first-child { transition: stroke-width .35s var(--ease); stroke: var(--gold); stroke-width: 0; }
.plateau .dish.is-lit > circle:first-child { stroke-width: 7; }
.plateau svg.has-lit .dish:not(.is-lit), .plateau svg.has-lit .rice { filter: saturate(.35) brightness(.7); }
.plateau figcaption { text-align: center; font-size: var(--step--1); color: rgba(251, 252, 248, .8); max-width: 34rem; }
.plateau figcaption strong { font-family: var(--f-display); font-size: var(--step-1); color: var(--white); font-weight: 600; }
.legend { list-style: none; padding: 0; margin: .8rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.legend li { padding: .3rem .8rem; border-radius: 999px; border: 1px solid rgba(251, 252, 248, .18); transition: background .3s, color .3s, border-color .3s; }
.legend li[data-dish] { cursor: pointer; }
.legend li.is-lit { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.steam { position: absolute; left: 50%; bottom: -40px; width: 300px; height: 200px; pointer-events: none; opacity: .25; }
.steam span { position: absolute; bottom: 0; width: 60px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .5), transparent); filter: blur(14px); animation: steam 7s ease-in infinite; }
.steam span:nth-child(2) { left: 90px; animation-delay: 2.2s; }
.steam span:nth-child(3) { left: 180px; animation-delay: 4.4s; }
@keyframes steam { 0% { transform: translateY(40px) scaleX(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-220px) scaleX(1.4); opacity: 0; } }

/* Bandeau défilant */
.ticker { background: var(--lacquer); color: var(--gold-soft); overflow: hidden; padding: 1.1rem 0; border-block: 2px solid var(--gold); }
.ticker-track { display: flex; gap: 2.5rem; width: max-content; font-family: var(--f-display); font-style: italic; font-size: var(--step-2); white-space: nowrap; will-change: transform; }
.ticker-track span { display: inline-flex; align-items: center; gap: 2.5rem; }
.ticker-track span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--gold); }

/* Révélations au défilement */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* La maison */
.maison { padding: clamp(80px, 12vw, 160px) 0; }
.maison h2 { max-width: 14ch; }
.intro { margin-top: 1.5rem; max-width: 38rem; font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); }
.trio { margin-top: clamp(48px, 7vw, 90px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--celadon-2); }
.country { padding: 2rem clamp(1rem, 2.5vw, 2.5rem) 2rem 0; position: relative; }
.country + .country { padding-left: clamp(1rem, 2.5vw, 2.5rem); border-left: 1px solid var(--celadon-2); }
.country::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.country:hover::before { transform: scaleX(1); }
.country h3 { font-size: var(--step-2); margin-bottom: .8rem; transition: color .4s, transform .5s var(--ease); }
.country:hover h3 { color: var(--accent); transform: translateX(6px); }
.country p { color: var(--ink-soft); max-width: 30ch; }

/* Spécialités */
.specialites { padding: clamp(80px, 10vw, 140px) 0; background: var(--jade-900); color: var(--white); }
.dishes { margin-top: clamp(40px, 6vw, 70px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.tile { position: relative; border-radius: 22px; overflow: hidden; background: var(--jade-950); transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile-lg { grid-row: span 2; }
.tile:hover { box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7); }
.tile-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .14), transparent 55%), var(--bg); }
.tile-lg .tile-img { aspect-ratio: auto; height: calc(100% - 128px); min-height: 280px; }
.tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.08); }
.viet { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.6rem); color: rgba(241, 212, 142, .9); transition: transform .8s var(--ease), letter-spacing .8s var(--ease); }
.tile:hover .viet { transform: scale(1.06) rotate(-3deg); letter-spacing: .02em; }
.tile-img.has-photo .viet { display: none; }
.tile-body { position: relative; padding: 1.2rem 1.4rem 1.4rem; min-height: 128px; }
.tile-body h3 { padding-right: 5rem; }
.tile-body p { margin-top: .35rem; font-size: var(--step--1); color: rgba(251, 252, 248, .7); }
.price { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--f-display); font-weight: 600; font-size: var(--step-1); color: var(--gold); transition: transform .4s var(--ease); }
.tile:hover .price { transform: translateY(-3px) scale(1.08); }

/* La carte */
.carte { padding: clamp(80px, 10vw, 140px) 0; }
.carte-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.pdfs { display: flex; flex-wrap: wrap; gap: .6rem; }
.pdfs .btn[hidden] { display: none; }
.tabs {
  position: sticky; top: 64px; z-index: 10; margin: 2.5rem calc(var(--gutter) * -1) 0; padding: .8rem var(--gutter);
  display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; flex: none; border: 0; background: none; font: inherit; font-size: var(--step--1); font-weight: 500; color: var(--ink-soft); padding: .55rem 1rem; border-radius: 999px; cursor: pointer; transition: color .3s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--white); }
.tab-ink { position: absolute; z-index: 0; top: .8rem; height: calc(100% - 1.6rem); left: 0; width: 0; border-radius: 999px; background: var(--jade-900); transition: transform .5s var(--ease), width .5s var(--ease); }
.panel { padding-top: 2rem; }
.panel[hidden] { display: none; }
.panel-note { color: var(--ink-soft); font-size: var(--step--1); margin-bottom: 1.2rem; max-width: 60ch; }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(2rem, 5vw, 5rem); }
.item { position: relative; padding: 1rem .8rem; margin-inline: -.8rem; border-radius: 12px; border-bottom: 1px dashed rgba(42, 18, 20, .18); transition: background .35s var(--ease); }
.item.enter { animation: itemIn .6s var(--ease) both; animation-delay: calc(var(--i) * 35ms); }
@keyframes itemIn { from { opacity: 0; transform: translateY(14px); } }
.item:hover { background: var(--white); }
.item-row { display: flex; align-items: baseline; gap: .6rem; }
.item-name { font-family: var(--f-display); font-weight: 600; font-size: var(--step-1); line-height: 1.2; transition: color .3s; }
.item:hover .item-name { color: var(--lacquer); }
.item-row::after { content: ""; order: 2; flex: 1; border-bottom: 2px dotted rgba(42, 18, 20, .25); transform: translateY(-.3em); min-width: 1rem; }
.item-price { order: 3; font-weight: 600; white-space: nowrap; }
.item-desc { margin-top: .2rem; color: var(--ink-soft); font-size: var(--step--1); max-width: 46ch; }

.enfant { margin-top: clamp(40px, 6vw, 70px); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 26px; background: var(--gold); display: grid; gap: .6rem; max-width: 46rem; }
.enfant h3 { font-size: var(--step-2); }
.enfant small { font-family: var(--f-body); font-size: var(--step--1); font-weight: 500; margin-left: .5rem; }
.enfant .muted { color: rgba(42, 18, 20, .7); font-size: var(--step--1); }

/* Infos */
.infos { padding: clamp(80px, 10vw, 140px) 0; background: #fbf4e8; }
.infos-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(3rem, 7vw, 7rem); }
.hours { width: 100%; margin-top: 2rem; border-collapse: collapse; font-size: var(--step-0); }
.hours th, .hours td { text-align: left; padding: .9rem .6rem; border-bottom: 1px solid var(--celadon-2); }
.hours th { font-family: var(--f-display); font-weight: 600; font-size: var(--step-1); }
.hours .closed { color: var(--ink-soft); }
.hours tr { transition: background .3s; }
.hours tr:hover { background: var(--celadon); }
.hours tr.is-today { background: var(--jade-900); color: var(--white); }
.hours tr.is-today .closed { color: rgba(251, 252, 248, .7); }
.hours tr.is-today th::after { content: "Aujourd'hui"; display: inline-block; margin-left: .7rem; padding: .1rem .55rem; border-radius: 999px; background: var(--gold); color: var(--ink); font-family: var(--f-body); font-size: .72rem; font-weight: 600; vertical-align: middle; }
.practical dl { margin: 2rem 0 0; display: grid; gap: 1.6rem; }
.practical dt { font-family: var(--f-display); font-weight: 600; font-size: var(--step-1); }
.practical dd { margin: .2rem 0 0; color: var(--ink-soft); }
.practical a { color: var(--lacquer); font-weight: 600; text-underline-offset: 3px; }

/* Accès */
.acces { position: relative; background: var(--jade-950); padding-block: clamp(3rem, 7vw, 6rem); }
.acces-inner { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }
.map { position: relative; min-height: 420px; border-radius: 26px; overflow: hidden; border: 1px solid rgba(232, 185, 79, .35); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); background: var(--jade-900); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.acces-card { position: relative; align-self: center; padding: 2rem; border-radius: 26px; background: var(--jade-900); color: var(--white); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); display: grid; gap: 1rem; justify-items: start; }
.acces-card h2 { font-size: var(--step-2); }
.acces-card address { font-style: normal; font-size: var(--step-1); line-height: 1.4; }
.phones { display: grid; gap: .2rem; }
.phones a { text-decoration: none; font-weight: 600; color: var(--gold); }
.phones a:hover { text-decoration: underline; }

/* Pied de page */
.foot { background: var(--jade-950); color: rgba(251, 252, 248, .8); padding: 2.5rem 0; font-size: var(--step--1); }
.foot-inner { display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: baseline; }
.foot-brand { font-family: var(--f-display); font-size: var(--step-1); font-weight: 600; color: var(--white); margin-right: auto; }
.foot a { text-decoration: none; }
.foot .muted { color: rgba(251, 252, 248, .55); }

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; text-align: left; }
  .plateau-spin { width: min(480px, 92vw); }
  .dishes { grid-template-columns: repeat(2, 1fr); }
  .tile-lg { grid-row: auto; grid-column: span 2; }
  .tile-lg .tile-img { height: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .infos-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; border: 1.5px solid rgba(251, 252, 248, .5); background: none; color: inherit; font: inherit; font-size: var(--step--1); font-weight: 600; padding: .45rem 1rem; border-radius: 999px; cursor: pointer; }
  .nav nav { order: 3; }
  .nav ul { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 1.4rem; background: var(--jade-950); clip-path: circle(0 at calc(100% - 50px) 34px); transition: clip-path .7s var(--ease); }
  .nav ul a { font-family: var(--f-display); font-size: var(--step-3); }
  .nav.is-open ul { clip-path: circle(150% at calc(100% - 50px) 34px); }
  .nav-call { display: none; }
  /* backdrop-filter enfermerait le menu plein écran dans la barre : fond plein à la place */
  .nav.is-scrolled, .nav.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(30, 5, 8, .97); }
  .trio { grid-template-columns: 1fr; }
  .country, .country + .country { padding: 1.6rem 0; border-left: 0; border-bottom: 1px solid var(--celadon-2); }
  .items { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .acces-inner { grid-template-columns: 1fr; }
  .acces-card { align-self: start; }
}
@media (max-width: 560px) {
  .dishes { grid-template-columns: 1fr; }
  .tile-lg { grid-column: auto; }
  .hero h1 .line:nth-child(3) { padding-left: .3em; }
  .hours th, .hours td { padding: .75rem .35rem; font-size: .92rem; }
  .hours th { font-size: 1.05rem; }
  .hours tr.is-today th::after { display: block; width: max-content; margin: .3rem 0 0; }
  .map { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .steam { display: none; }
}

/* Photos dans un onglet de la carte */
.panel-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin-bottom: 1.5rem; max-width: 760px; }
.panel-photos figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; }
.panel-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.panel-photos figure:hover img { transform: scale(1.07); }
.panel-photos figcaption { position: absolute; left: .8rem; bottom: .8rem; padding: .25rem .8rem; border-radius: 999px; background: rgba(30, 5, 8, .8); color: var(--white); font-family: var(--f-display); font-weight: 600; font-size: var(--step--1); }

/* Carte : bascule « Sur place » / « À emporter » */
.carte { --c-bg: var(--celadon); --c-fg: var(--ink); --c-soft: var(--ink-soft); --c-line: rgba(42, 18, 20, .18); --c-hover: var(--white); --c-accent: var(--lacquer); --c-price: var(--ink);
  background: var(--c-bg); color: var(--c-fg); transition: background-color .7s var(--ease), color .7s var(--ease); }
.carte[data-mode="emporter"] { --c-bg: #5c0d13; --c-fg: #fbf3e4; --c-soft: rgba(251, 243, 228, .72); --c-line: rgba(241, 212, 142, .28); --c-hover: rgba(255, 255, 255, .07); --c-accent: var(--gold-soft); --c-price: var(--gold); }
.carte .btn-line { --fg: var(--c-fg); box-shadow: inset 0 0 0 1.5px var(--c-fg); }

.mode-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: rgba(42, 18, 20, .08); isolation: isolate; }
.carte[data-mode="emporter"] .mode-switch { background: rgba(0, 0, 0, .25); }
.mode { position: relative; z-index: 1; border: 0; background: none; font: inherit; font-family: var(--f-display); font-size: var(--step-1); font-weight: 600; color: var(--c-soft); padding: .55rem 1.4rem; border-radius: 999px; cursor: pointer; transition: color .4s var(--ease); display: grid; justify-items: center; line-height: 1.15; }
.mode small { font-family: var(--f-body); font-size: .72rem; font-weight: 500; opacity: .8; }
.mode:hover { color: var(--c-fg); }
.mode[aria-pressed="true"] { color: var(--ink); }
.mode-ink { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--white); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); transition: transform .6s var(--ease), background-color .6s var(--ease); }
.carte[data-mode="emporter"] .mode-ink { transform: translateX(100%); background: var(--gold); }

.carte-mode[hidden] { display: none; }
.carte-mode { animation: modeIn .7s var(--ease) both; }
@keyframes modeIn { from { opacity: 0; transform: translateY(18px); } }
.mode-intro { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.mode-intro p { color: var(--c-soft); max-width: 58ch; }
.emporter-hours { margin-top: .5rem; }
.emporter-hours strong { color: var(--c-fg); }
.emporter-cta { display: flex; flex-wrap: wrap; gap: .6rem; }

.carte .tabs { background: var(--c-bg); transition: background-color .7s var(--ease); }
.carte .tab { color: var(--c-soft); }
.carte .tab:hover { color: var(--c-fg); }
.carte .tab[aria-selected="true"] { color: var(--white); }
.carte[data-mode="emporter"] .tab[aria-selected="true"] { color: var(--ink); }
.carte[data-mode="emporter"] .tab-ink { background: var(--gold); }
.carte .item { border-bottom-color: var(--c-line); }
.carte .item:hover { background: var(--c-hover); }
.carte .item:hover .item-name { color: var(--c-accent); }
.carte .item-row::after { border-bottom-color: var(--c-line); }
.carte .item-price { color: var(--c-price); }
.carte .item-desc, .carte .panel-note { color: var(--c-soft); }
/* Garnitures sous Terre et Mer (à emporter) */
.sides { margin-top: 2rem; padding: 1.4rem 1.6rem 1.2rem; border: 1px solid var(--c-line); border-radius: 18px; background: rgba(255, 255, 255, .04); }
.sides-title { font-family: var(--f-display); font-size: var(--step-1); font-weight: 600; color: var(--gold); margin: 0 0 .8rem; }
.sides-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); column-gap: clamp(1.5rem, 4vw, 3rem); }
.sides-list li { display: flex; align-items: baseline; gap: .5rem; padding: .45rem 0; border-bottom: 1px dashed var(--c-line); }
.sides-list li::after { content: ""; order: 2; flex: 1; border-bottom: 2px dotted var(--c-line); transform: translateY(-.3em); min-width: .8rem; }
.sides-price { order: 3; font-weight: 600; color: var(--c-price); white-space: nowrap; }

/* Formules à emporter */
.formules { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.formule { position: relative; padding: clamp(1.4rem, 2.5vw, 2rem); border-radius: 22px; border: 1.5px dashed rgba(241, 212, 142, .55); background: rgba(0, 0, 0, .18); transition: transform .5s var(--ease), border-color .5s var(--ease), background-color .5s var(--ease); }
.formule:hover { transform: translateY(-4px) rotate(-.4deg); border-color: var(--gold); background: rgba(0, 0, 0, .26); }
.formule header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--c-line); }
.formule h3 { font-size: var(--step-2); }
.formule-price { font-family: var(--f-display); font-size: var(--step-2); font-weight: 700; color: var(--gold); transition: transform .5s var(--ease); }
.formule:hover .formule-price { transform: scale(1.1) rotate(-4deg); }
.formule ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; counter-reset: step; }
.formule li { counter-increment: step; display: grid; grid-template-columns: 2rem 1fr; column-gap: .6rem; }
.formule li::before { content: counter(step); grid-row: span 2; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-weight: 600; font-size: .8rem; }
.formule h4 { margin: 0; font-family: var(--f-body); font-size: var(--step--1); font-weight: 600; color: var(--gold-soft); }
.formule li p { color: var(--c-soft); font-size: var(--step--1); }
@media (max-width: 820px) { .formules { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .mode-switch { display: grid; width: 100%; } .mode { padding: .55rem .6rem; } }

/* Mention gluten et prix du menu enfant */
.gluten { display: inline-block; vertical-align: middle; margin-left: .4rem; padding: .05rem .5rem; border-radius: 999px; border: 1.5px solid var(--lacquer); color: var(--lacquer); font-family: var(--f-body); font-size: .68rem; font-weight: 600; line-height: 1.5; transform: translateY(-.1em); }
.enfant-price { float: right; font-family: var(--f-display); }

/* Spécialités sans prix : quatre vignettes */
.tile-body h3 { padding-right: 0; }
.tile-wide { grid-column: span 2; }
.tile-wide .tile-img { aspect-ratio: 21 / 9; }
@media (max-width: 960px) { .tile-wide { grid-column: span 2; } }
@media (max-width: 560px) { .tile-wide { grid-column: auto; } .tile-wide .tile-img { aspect-ratio: 4 / 3; } }

/* Menu du midi sur place */
.formule-place { margin-top: 2.5rem; background: var(--white); border-color: rgba(179, 32, 42, .45); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 1rem 2.5rem; align-items: start; }
.formule-place:hover { background: var(--white); border-color: var(--lacquer); }
.formule-place header { flex-direction: column; align-items: flex-start; gap: .3rem; border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.formule-place .formule-price { color: var(--lacquer); }
.formule-place h4 { color: var(--lacquer); }
.formule-place li::before { background: var(--lacquer); color: var(--white); }
.formule-place ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.formule-place li { grid-template-columns: 2rem minmax(0, 1fr); }
@media (max-width: 820px) { .formule-place { grid-template-columns: 1fr; } .formule-place ol { grid-template-columns: 1fr; } }
.formule li { align-content: start; }
.formule-place + .formule-place { margin-top: 1rem; }
.formule-sub { color: var(--ink-soft); font-size: var(--step--1); }

/* Ligne d'introduction du titre principal */
.h1-kicker { display: block; font-family: var(--f-body); font-size: var(--step-0); font-weight: 500; letter-spacing: 0; line-height: 1.4; color: var(--gold-soft); margin-bottom: .8rem; }

/* À emporter : repères visuels pour ne pas confondre avec la carte sur place */
.emporter-head { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; font-size: var(--step-2); color: var(--c-fg); display: flex; align-items: center; gap: .8rem; }
.emporter-head::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.emporter-head + .formules { margin-top: 1.2rem; }
.emporter-head + .tabs { margin-top: .8rem; }
.takeaway-tag { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .9rem; padding: .3rem .8rem .3rem .65rem; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
.takeaway-tag svg { width: 14px; height: 14px; flex: none; }
.formule-price { white-space: nowrap; }
/* Sur place : mêmes repères, en rouge laque */
.place-tag { background: var(--lacquer); color: var(--white); }
.emporter-head + .formule-place { margin-top: 1.2rem; }
.enfant .place-tag { justify-self: start; margin-bottom: .2rem; }
/* Bouton Uber Eats */
.btn-uber { --bg: var(--white); --fg: var(--ink); }
.btn-ico { width: 1em; height: 1em; flex: none; margin-left: -.15em; }
/* Menu mobile : boutons Appeler et Uber Eats */
.nav-actions { display: none; }
@media (max-width: 820px) {
  .nav ul { justify-content: flex-start; gap: .2rem; padding: 96px 0 32px; overflow-y: auto; }
  .nav ul > li:first-child { margin-top: auto; }
  .nav ul > li:last-child { margin-bottom: auto; }
  .nav ul a { font-size: clamp(1.7rem, 7.5vw, 2.4rem); padding: .35rem 0; }
  .nav ul .nav-actions { display: grid; gap: .8rem; width: min(320px, calc(100% - 2 * var(--gutter))); margin-top: 1.2rem; }
  .nav ul .nav-actions a { font-family: var(--f-body, inherit); font-size: 1rem; padding: 1em 1.4em; }
  .nav ul .nav-actions a::after { display: none; }
  .nav ul .nav-actions .btn-ico { margin: 0; }
}
