
/* ---------- 0. Rideau d'accueil haute joaillerie (Preloader 3D) ---------- */
.tasty-curtain {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0C0B09;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 600ms cubic-bezier(0.23, 1, 0.32, 1), visibility 600ms ease;
  pointer-events: auto;
}
.tasty-curtain.is-ready {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.tasty-curtain__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  padding: 24px;
}
.tasty-curtain__emblem {
  animation: tasty-pulse 2.2s ease-in-out infinite alternate;
}
.tasty-curtain__emblem img {
  width: 96px;
  height: auto;
  display: block;
}
.tasty-curtain__bar {
  width: 140px;
  height: 2px;
  background: rgba(206, 173, 114, 0.25);
  border-radius: 2px;
  overflow: hidden;
}
.tasty-curtain__fill {
  width: 25%;
  height: 100%;
  background: #CEAD72;
  transition: width 240ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}
.tasty-curtain__status {
  font-family: var(--text, sans-serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C8C5BC;
  opacity: 0.85;
}
@keyframes tasty-pulse {
  from { opacity: 0.65; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1.03); }
}

/* TastyView — maquette de l'accueil.
   Direction : « le nom en monument » (tasteskill, graine 691073894). Charte de la plaquette. */

:root {
  --bg: #0C0B09;
  --surface: #161410;
  --surface-2: #1C1A14;
  --ink: #F4F1EA;
  --ink-2: #ECEADE;
  --muted: #C8C5BC;
  --accent: #B49255;
  --accent-2: #CEAD72;

  --display: "Lora", Georgia, serif;
  --text: "Poppins", system-ui, sans-serif;

  /* cinq tailles, pas une de plus */
  --s1: clamp(64px, 21.5vw, 320px);   /* le nom, les verbes */
  --s2: clamp(36px, 5vw, 72px);    /* titres d'appel : offre, questions, adresse */
  --s3: clamp(21px, 1.9vw, 28px);     /* titres de section, phrases, tableau */
  --s4: 18px;                         /* texte courant */
  --s5: 15px;                         /* navigation, notes */

  --m: 32px;                          /* marges extérieures */
  --gap: 128px;                       /* écart entre sections */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

@media (max-width: 760px) {
  :root { --m: 20px; --gap: 96px; --s1: clamp(56px, 19.6vw, 164px); --s4: 16px; --s3: 20px; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 28px; scrollbar-color: #7D7870 var(--bg); color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 var(--s4)/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
}
img, video, model-viewer { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: var(--m); top: -60px; z-index: 20; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- Boutons : angles droits, une seule forme ---------- */
.btn {
  display: inline-block;
  padding: 16px 26px;
  font: 500 var(--s5)/1 var(--text);
  text-decoration: none;
  border-radius: 0;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.btn--accent { background: var(--accent); color: var(--bg); }
.btn--accent:hover { background: var(--accent-2); }
.btn:active, .cell:active { transform: scale(0.97); }
.link { font-size: var(--s5); text-underline-offset: 4px; transition: color 160ms var(--ease-out); }
.link:hover { color: var(--accent-2); }

.h-section {
  font: 400 var(--s3)/1.2 var(--display);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* ---------- Barre de navigation ---------- */
.bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px var(--m);
}
.bar__emblem img { width: 96px; height: auto; }
.bar__nav { display: flex; gap: 28px; }
.bar__nav a, .bar__menu summary {
  font-size: var(--s5); text-decoration: none; color: var(--ink);
  transition: color 160ms var(--ease-out);
}
.bar__nav a:hover, .bar__menu summary:hover { color: var(--accent-2); }
.bar__menu, .bar__cta { display: none; }
.bar__menu summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0; list-style: none; cursor: pointer; }
.bar__menu summary::-webkit-details-marker { display: none; }
.bar__menu summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.bar__menu[open] summary::after { transform: translateY(2px) rotate(225deg); }
.bar__panel { position: absolute; top: calc(100% - 8px); left: var(--m); right: var(--m); max-height: calc(100svh - 100px); overflow-y: auto; overscroll-behavior: contain; padding: 16px; background: var(--surface-2); box-shadow: 0 18px 40px #0006; }
.bar__panel a { display: block; min-height: 44px; padding: 12px 16px; color: var(--ink); text-decoration: none; font-size: var(--s5); }
.bar__panel a:hover, .bar__panel a:focus-visible { background: #302a20; }
.bar__panel a:focus-visible { outline-offset: -2px; }
.bar__menu[open]:not(.is-keyboard) .bar__panel { animation: menu-enter 160ms var(--ease-out); }
@keyframes menu-enter { from { opacity: .3; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .bar__nav { display: none; }
  .bar__menu { display: block; margin-right: auto; }
}
@media (max-width: 760px) {
  .bar { padding-block: 16px; }
  .bar__emblem img { width: 80px; }
  .bar__cta { display: inline-block; padding: 13px 18px; }
}

/* ---------- 1. Premier écran ---------- */
.hero {
  position: relative;
  height: 100svh; min-height: 620px;
  overflow: hidden;
  background: var(--bg);
}
.hero__media { position: absolute; inset: 0; animation: drift 22s ease-in-out infinite alternate; transform-origin: 50% 35%; }
.hero__media picture { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease-in-out; }
.hero__media picture.is-on { opacity: 1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.05); } }

/* voile neutre sous le nom, et seulement là */
.hero__scrim {
  position: absolute; left: 0; right: 0; bottom: 0; height: 44%;
  background: linear-gradient(to top, rgba(12, 11, 9, 0.92) 0%, rgba(12, 11, 9, 0.55) 55%, rgba(12, 11, 9, 0) 100%); /* taste-skill-ignore : voile neutre sous le texte, sur photo */
}
.hero__text {
  position: absolute; left: var(--m); right: var(--m); bottom: 30px;
  display: grid; grid-template-columns: 1fr auto; align-items: end; row-gap: 22px;
}
.hero__lede { grid-column: 1; font-size: var(--s4); line-height: 1.45; max-width: 34ch; }
.hero__action { grid-column: 2; justify-self: end; }
.monument {
  grid-column: 1 / -1;
  font: 400 var(--s1)/0.8 var(--display);
  letter-spacing: -0.045em;
  font-kerning: normal;
  white-space: nowrap;
  margin-left: -0.04em;
}
/* téléphone et tablette : la salsa vue de dessus en carré, le nom dessous */
@media (max-width: 900px) {
  .hero { height: auto; min-height: 0; padding-top: 68px; }
  .hero__media { position: relative; inset: auto; height: min(100vw, 62svh); animation: none; }
  .hero__scrim { display: none; }
  .hero__text { position: static; padding: 28px var(--m) 28px; row-gap: 20px; }
}
@media (max-width: 760px) {
  .hero__text { grid-template-columns: 1fr; padding-bottom: 20px; }
  .hero__action { display: none; }
  .br-wide { display: none; }
}

/* ---------- 1 bis. Le récit en 3D ---------- */
.story { position: relative; height: 620vh; background: var(--bg); }
.story__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #1a1610 0%, #0c0b09 70%);
}
#scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 350ms var(--ease-out);
}
.story.is-live #scene { opacity: 1; }
.story__fallback, .story img, [class*="fallback"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* Empêche le chevauchement des mots avant l'initialisation du script 3D */
.story:not(.is-live) .chapter--verb,
.story:not(.is-live) .chapter--note {
  opacity: 0 !important;
  visibility: hidden !important;
}
.story__words, .story__notes { position: absolute; inset: 0; }
.story__words { z-index: 1; }
.story__notes { z-index: 3; pointer-events: none; }
.story__notes a { pointer-events: auto; }
.chapter { will-change: opacity, transform; }
.story.is-reduced { height: 100svh; }
.story.is-fallback #scene { visibility: hidden; }
.story.is-fallback .story__stage::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(to top, rgba(12,11,9,.95), rgba(12,11,9,.32) 65%, rgba(12,11,9,.2)); }
.chapter--name { position: absolute; left: var(--m); right: var(--m); bottom: 30px; }
.chapter--verb { position: absolute; inset: 0; display: grid; justify-items: center; align-items: start; padding-top: 13vh; }
.chapter__verb {
  font: 400 var(--s1)/0.86 var(--display);
  letter-spacing: -0.045em; white-space: nowrap;
}
.chapter--lede {
  position: absolute; left: var(--m); right: var(--m);
  bottom: calc(var(--s1) * 0.8 + 52px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.chapter--note {
  position: absolute; left: var(--m); bottom: var(--m);
  max-width: 44ch;
}
.chapter__title {
  margin-bottom: 10px;
  font: 400 var(--s3)/1.25 var(--display);
  color: var(--accent-2);
}
.intro__list { margin-top: 36px; display: grid; gap: 14px; }
.intro__list li { padding-left: 1.4em; position: relative; }
.intro__list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.6em; height: 2px; background: var(--accent-2); }
.plate__kicker { color: var(--muted); }
.plate__list { margin: 28px 0 0; display: grid; gap: 6px; max-width: 46ch; }
.plate__list dt { margin-top: 18px; font: 400 var(--s3)/1.25 var(--display); color: var(--accent-2); }
.plate__list dd { margin: 0; }
.chapter__count {
  margin-top: 14px;
  font: 400 var(--s3)/1.2 var(--display);
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
}
.story__flash { position: absolute; inset: 0; z-index: 4; background: #fffaf0; opacity: 0; pointer-events: none; }
.story__measure {
  position: absolute; left: 0; top: 0; z-index: 3;
  height: 2px; background: var(--accent-2); opacity: 0;
  pointer-events: none; transform-origin: 0 0;
  overflow: hidden;
}
.story__measure::before, .story__measure::after {
  content: ""; position: absolute; top: -6px; width: 2px; height: 14px; background: var(--accent-2);
}
.story__measure::before { left: 0; }
.story__measure::after { right: 0; }
.story__measure span {
  position: absolute; left: 50%; top: 14px; transform: translateX(-50%);
  white-space: nowrap; font-size: var(--s5); color: var(--accent-2);
}
/* sans WebGL : repli sobre et elegant */
.story.is-fallback { height: 100svh; }
.story.is-fallback .chapter--verb, .story.is-fallback .chapter--note { display: none; }



/* Le récit se prolonge en une expérience, sans rupture de fond. */
main>section:not(.story) { scroll-margin-top: 28px; }
.experience, .custom, .audience, .invitation { padding-inline: clamp(24px, 5.5vw, 96px); }
.experience h2, .audience h2, .invitation h2, .reach__contact h2 { font: 400 var(--s2)/1.08 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.text-link { display: inline-block; font-size: var(--s5); text-underline-offset: 7px; text-decoration-thickness: 1px; transition: color 160ms var(--ease-out); }
.text-link:hover { color: var(--accent-2); }
.btn { cursor: pointer; border: 0; min-height: 48px; line-height: 1.25; }

.experience { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 64px 7vw; align-items: center; padding-block: 80px 112px; }
.experience__scene { min-width: 0; }
.experience model-viewer { width: 100%; aspect-ratio: 1.1; height: auto; background: var(--bg); --poster-color: var(--bg); --progress-bar-color: transparent; }
.experience__gesture { margin-top: 16px; color: var(--muted); font-size: var(--s5); text-align: center; }
.experience__copy { min-width: 0; }
.experience__copy>p:not(.experience__status) { max-width: 44ch; margin-top: 28px; }
.experience__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.experience__copy .experience__access { font-size: var(--s5); color: var(--muted); }
.experience__copy .experience__phone { font-size: var(--s5); color: var(--muted); max-width: 46ch; margin-top: 24px; }
.experience__copy .experience__access { margin-top: 12px; }
.experience__status { color: var(--accent-2); font-size: var(--s5); margin-top: 20px; }
.experience__status:empty { display: none; }
.experience__details { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px; margin: 0; }
.experience__details dt { font: 400 var(--s3)/1.3 var(--display); }
.experience__details dd { margin: 12px 0 0; font-size: var(--s5); color: var(--muted); max-width: 32ch; }

.custom { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8vw; align-items: center; padding-block: 64px 128px; }
.custom__copy h2 { font: 400 var(--s2)/1.1 var(--display); letter-spacing: -.03em; }
.custom__copy>p { margin-top: 26px; max-width: 38ch; }
.custom__copy ul { display: grid; gap: 12px; margin-top: 28px; max-width: 43ch; font-size: var(--s5); color: var(--muted); }
.custom__copy .custom__try { color: var(--accent-2); font-size: var(--s5); margin-top: 28px; }

/* Une carte, trois compositions : les objets gardent leur identité. */
.fit { min-width: 0; width: 100%; }
.fit__switch { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 12px; }
.fit__switch button { min-height: 44px; padding: 8px 0; background: none; border: 0; color: var(--muted); cursor: pointer; font: 400 var(--s5)/1.3 var(--text); transition: color 160ms var(--ease-out); }
.fit__switch button[aria-pressed="true"] { color: var(--accent-2); text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.fit__switch button:hover { color: var(--ink); }
.fit__switch button:active { transform: scale(.97); }
.fit.is-keyboard .fit__switch button { transition: none; }
.fit__stage { --c-bg: #11100d; --c-ink: #F4F1EA; --c-accent: #CEAD72; --c-soft: #211e17; position: relative; height: 544px; overflow: hidden; isolation: isolate; }
.fit__stage::before { content: ""; position: absolute; inset: 26% 0 0; background: #1c1a14; z-index: -1; }
.fit__card { position: absolute; left: 4%; bottom: 32px; width: 40%; height: 354px; padding: 24px 18px 18px; background: var(--c-bg); color: var(--c-ink); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; border-bottom: 7px solid #302a1e; transform-origin: top left; }
.fit__name { font: 400 var(--s4)/1.3 var(--display); overflow-wrap: break-word; }
.fit__card .fit__name { max-width: 12ch; margin-inline: auto; }
.fit__invite { margin-top: 14px; font-size: var(--s5); line-height: 1.4; }
.fit__qr { width: 128px; height: 128px; flex: none; margin-top: 20px; }
.fit__qr svg { display: block; width: 100%; height: 100%; }
.fit__hint { margin-top: 14px; font-size: var(--s5); line-height: 1.35; color: var(--c-accent); }
.fit__phone { position: absolute; right: 4%; top: 24px; width: 42%; height: 450px; transform-origin: top left; }
.fit__phone-frame { position: relative; height: 100%; padding: 40px 18px 24px; border: 7px solid #37332b; border-radius: 30px; background: var(--c-bg); color: var(--c-ink); overflow: hidden; }
.fit__phone-frame::before { content: ""; position: absolute; top: 11px; left: calc(50% - 20px); width: 40px; height: 5px; background: #37332b; border-radius: 4px; }
.fit__phone .fit__name { font: 400 23px/1.2 var(--display); text-align: center; }
.fit__section { margin-top: 24px; color: var(--c-accent); font-size: var(--s5); text-align: center; }
.fit__dish { margin-top: 20px; text-align: center; }
.fit__dish-label { color: var(--c-accent); font-size: var(--s5); }
.fit__dish-name { margin-top: 12px; font: 400 25px/1.2 var(--display); text-wrap: balance; }
.fit__dish-detail { margin-top: 14px; font-size: var(--s5); line-height: 1.4; }
.fit__pill { display: inline-block; margin-top: 20px; padding: 12px 10px; background: var(--c-accent); color: var(--c-bg); font: 500 var(--s5)/1.3 var(--text); text-decoration: none; }
.fit__pill:hover { opacity: .85; }
.fit__more { display: block; width: fit-content; margin: 20px auto 0; font-size: var(--s5); text-underline-offset: 5px; }
.fit__caption { min-height: 3em; margin-top: 16px; color: var(--muted); font-size: var(--s5); max-width: 56ch; }

/* Bistronomie : un menu papier horizontal et une carte plus directe. */
.fit__stage[data-look="bistro"] { --c-bg: #F2EBDD; --c-ink: #253020; --c-accent: #405529; --c-soft: #e6dcc8; }
.fit__stage[data-look="bistro"]::before { background: #302b21; inset: 34% 0 0; }
.fit__stage[data-look="bistro"] .fit__card { width: 50%; height: 234px; left: 3%; bottom: 36px; padding: 20px 14px; border-bottom-color: #b7a585; display: grid; grid-template-columns: minmax(0, 1fr) 128px; grid-template-rows: 1fr auto; gap: 8px 10px; text-align: left; align-items: center; }
.fit__stage[data-look="bistro"] .fit__card-copy { grid-column: 1; grid-row: 1; }
.fit__stage[data-look="bistro"] .fit__card .fit__name { font-size: var(--s4); margin: 0; }
.fit__stage[data-look="bistro"] .fit__invite { margin-top: 10px; }
.fit__stage[data-look="bistro"] .fit__qr { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.fit__stage[data-look="bistro"] .fit__hint { grid-column: 1; grid-row: 2; margin: 0; }
.fit__stage[data-look="bistro"] .fit__phone { right: 3%; top: 12px; width: 40%; height: 426px; }
.fit__stage[data-look="bistro"] .fit__phone-frame { padding-inline: 16px; border-color: #5f5747; }
.fit__stage[data-look="bistro"] .fit__phone .fit__name { text-align: left; font-family: var(--text); font-size: 22px; font-weight: 500; }
.fit__stage[data-look="bistro"] .fit__section { text-align: left; margin-top: 22px; }
.fit__stage[data-look="bistro"] .fit__dish { background: var(--c-soft); text-align: left; padding: 16px 12px; margin-inline: -4px; }
.fit__stage[data-look="bistro"] .fit__dish-name { font-family: var(--text); font-size: var(--s4); font-weight: 500; margin-top: 8px; }
.fit__stage[data-look="bistro"] .fit__dish-detail { display: none; }
.fit__stage[data-look="bistro"] .fit__pill { width: 100%; text-align: center; margin-top: 18px; }
.fit__stage[data-look="bistro"] .fit__more { margin-left: 0; }

/* Rooftop : le téléphone prend la place du chevalet, la carte s'affirme. */
.fit__stage[data-look="rooftop"] { --c-bg: #102b36; --c-ink: #F0F3EF; --c-accent: #edbd61; --c-soft: #1d3c46; }
.fit__stage[data-look="rooftop"]::before { background: #18343d; inset: 20% 0 0; }
.fit__stage[data-look="rooftop"] .fit__phone { right: 54%; top: 20px; width: 42%; height: 460px; }
.fit__stage[data-look="rooftop"] .fit__phone-frame { border-color: #555d5e; padding-inline: 18px; }
.fit__stage[data-look="rooftop"] .fit__phone .fit__name { text-align: left; font: 500 23px/1.1 var(--text); text-transform: uppercase; }
.fit__stage[data-look="rooftop"] .fit__section { text-align: left; margin-top: 28px; }
.fit__stage[data-look="rooftop"] .fit__dish { text-align: left; margin-top: 24px; }
.fit__stage[data-look="rooftop"] .fit__dish-label { display: none; }
.fit__stage[data-look="rooftop"] .fit__dish-name { font: 500 27px/1.12 var(--text); margin: 0; }
.fit__stage[data-look="rooftop"] .fit__dish-detail { margin-top: 18px; }
.fit__stage[data-look="rooftop"] .fit__pill { margin-top: 24px; width: 100%; text-align: center; }
.fit__stage[data-look="rooftop"] .fit__more { margin-left: 0; }
.fit__stage[data-look="rooftop"] .fit__card { left: 52%; bottom: 34px; width: 44%; height: 292px; border-bottom-color: #527079; padding: 22px 16px; }
.fit__stage[data-look="rooftop"] .fit__card .fit__name { font-family: var(--text); font-size: var(--s4); font-weight: 500; }
.fit__stage[data-look="rooftop"] .fit__invite { display: none; }
.fit__stage[data-look="rooftop"] .fit__qr { margin-top: 18px; }

@media (max-width: 1100px) and (min-width: 901px) {
  .fit__stage { height: 580px; }
  .fit__phone { width: 46%; right: 2%; }
  .fit__card { width: 44%; left: 2%; padding-inline: 8px; }
  .fit__phone-frame { padding-inline: 12px; }
  .fit__phone .fit__name { font-size: var(--s4); }
  .fit__dish-name { font-size: 21px; }
  .fit__stage[data-look="bistro"] .fit__card { width: 50%; left: 2%; bottom: 16px; height: 190px; padding: 12px; }
  .fit__stage[data-look="bistro"] .fit__phone { width: 46%; right: 2%; }
  .fit__stage[data-look="bistro"] .fit__card-copy { display: none; }
  .fit__stage[data-look="bistro"] .fit__hint { grid-column: 1; grid-row: 1 / span 2; }
  .fit__stage[data-look="rooftop"] .fit__phone { right: 52%; width: 46%; }
  .fit__stage[data-look="rooftop"] .fit__phone-frame { padding-inline: 12px; }
  .fit__stage[data-look="rooftop"] .fit__card { left: 54%; width: 44%; padding-inline: 10px; }
}
@media (max-width: 900px) {
  .fit { max-width: 650px; justify-self: center; }
  .fit__stage { height: 544px; }
}
@media (max-width: 600px) {
  .fit__switch { gap: 18px; margin-bottom: 8px; }
  .fit__stage { height: 740px; }
  .fit__stage::before { inset: 16% 0 0; }
  .fit__phone, .fit__stage[data-look="bistro"] .fit__phone, .fit__stage[data-look="rooftop"] .fit__phone { width: 216px; height: 440px; right: calc(50% - 108px); top: 12px; }
  .fit__phone-frame { padding: 36px 18px 20px; }
  .fit__phone .fit__name { font-size: 22px; }
  .fit__dish-name { font-size: 23px; }
  .fit__dish { margin-top: 16px; }
  .fit__dish-detail { font-size: var(--s5); margin-top: 12px; }
  .fit__pill { margin-top: 16px; }
  .fit__more { margin-top: 16px; }
  .fit__card { left: calc(50% - 140px); bottom: 16px; width: 280px; height: 248px; padding: 16px 18px; display: grid; grid-template-columns: 1fr 128px; gap: 8px 12px; align-items: center; text-align: left; }
  .fit__card-copy { grid-column: 1; }
  .fit__card .fit__name { font-size: var(--s4); }
  .fit__invite { display: none; }
  .fit__qr { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .fit__hint { grid-column: 1; margin: 0; }
  .fit__stage[data-look="bistro"] .fit__card { width: calc(100% - 32px); max-width: 330px; height: 218px; left: 16px; bottom: 22px; padding: 20px 18px; gap: 10px 20px; }
  .fit__stage[data-look="bistro"] .fit__phone-frame { padding-inline: 16px; }
  .fit__stage[data-look="rooftop"] .fit__phone { width: 236px; right: calc(50% - 118px); }
  .fit__stage[data-look="rooftop"] .fit__phone .fit__name { font-size: 22px; }
  .fit__stage[data-look="rooftop"] .fit__dish-name { font-size: 24px; }
  .fit__stage[data-look="rooftop"] .fit__card { left: 16px; width: calc(100% - 32px); height: 190px; bottom: 22px; padding: 18px; grid-template-columns: minmax(0, 1fr) 128px; }
  .fit__stage[data-look="rooftop"] .fit__qr { margin-top: 0; }
  .fit__caption { min-height: 4.5em; }
}

/* Un public, une scène, une raison de se projeter. */
.audience { padding-block: 0 128px; }
.audience__tabs { display: flex; gap: 40px; margin-bottom: 32px; }
.audience__tabs button { border: 0; padding: 8px 0; min-height: 48px; background: none; color: var(--muted); font: 400 var(--s3)/1.25 var(--display); cursor: pointer; transition: color 160ms var(--ease-out); }
.audience__tabs button[aria-selected="true"] { color: var(--accent-2); text-decoration: underline; text-underline-offset: 9px; text-decoration-thickness: 2px; }
.audience__tabs button:hover { color: var(--ink); }
.audience__panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); gap: 7vw; align-items: center; }
.audience__image { min-width: 0; }
.audience__image img { display: block; width: 100%; height: auto; aspect-ratio: 1.23; object-fit: cover; object-position: 66% 50%; transition: opacity 180ms var(--ease-out); }
.audience__image img.is-changing { opacity: .5; }
.audience__image figcaption { margin-top: 12px; font-size: var(--s5); color: var(--muted); }
.audience__copy { min-width: 0; }
.audience__copy p { margin-top: 28px; max-width: 40ch; }
.audience__copy p+p { margin-top: 18px; color: var(--muted); font-size: var(--s5); }
.audience__copy .text-link { margin-top: 32px; }

/* Une seule invitation, sans grille de formules. */
.invitation { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 7vw; align-items: center; padding-block: 80px; background: var(--surface-2); }
.invitation h2 { font-size: var(--s2); max-width: none; line-height: 1.08; }
.invitation__copy p { max-width: 46ch; }
.invitation .btn { margin-top: 28px; }

/* Le contact conclut le parcours. Les questions restent à portée de main. */
.reach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 80px 7vw; padding: 96px clamp(24px, 5.5vw, 96px) 80px; background: var(--ink); color: var(--bg); color-scheme: light; }
.reach__contact h2 { max-width: 15ch; }
.reach__contact>p { margin-top: 28px; max-width: 37ch; }
.reach__mail { display: block; width: fit-content; max-width: 100%; margin-top: 40px; font: 400 var(--s3)/1.3 var(--display); text-decoration: none; text-underline-offset: 7px; overflow-wrap: anywhere; }
.reach__mail:hover { text-decoration: underline; }
.reach__coordinates { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; font-size: var(--s5); }
.reach__coordinates a { width: fit-content; text-underline-offset: 5px; }
.reach :focus-visible { outline-color: var(--bg); }
.inquiry { min-width: 0; }
.inquiry__intro { max-width: 54ch; margin-bottom: 28px; font-size: var(--s5); }
.inquiry__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 24px; }
.inquiry__field { min-width: 0; }
.inquiry__field--wide { grid-column: 1 / -1; }
.inquiry__field label { display: block; margin-bottom: 8px; font-size: var(--s5); font-weight: 400; }
.inquiry__field label span { font-weight: 300; }
.inquiry input:not([type="checkbox"]), .inquiry select, .inquiry textarea { width: 100%; min-width: 0; border: 1px solid #898476; border-radius: 0; padding: 12px; background: #fffdf8; color: var(--bg); font: 400 var(--s5)/1.5 var(--text); }
.inquiry input:not([type="checkbox"]), .inquiry select { min-height: 50px; }
.inquiry textarea { display: block; resize: vertical; }
.inquiry textarea::placeholder { color: #655f55; opacity: 1; }
.inquiry__consent { display: flex; align-items: flex-start; gap: 12px; margin-block: 24px; font-size: var(--s5); cursor: pointer; }
.inquiry__consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--bg); }
.inquiry__submit { color: var(--ink); background: var(--bg); border: 0; cursor: pointer; line-height: 1.3; }
.inquiry__submit:hover { background: #373124; }
.inquiry__draft { margin-top: 32px; }
.inquiry__draft h3 { font: 400 var(--s3)/1.3 var(--display); }
.inquiry__draft>p { margin-top: 14px; font-size: var(--s5); }
.inquiry__draft textarea { margin-top: 20px; background: #e9e5dc; }
.inquiry__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 20px; }
.inquiry__actions button.text-link { padding: 12px 0; border: 0; background: none; color: var(--bg); font: 400 var(--s5)/1.3 var(--text); text-decoration: underline; text-underline-offset: 6px; cursor: pointer; }
.inquiry__draft #demande-statut:empty { display: none; }
.answers { min-width: 0; scroll-margin-top: 28px; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 7vw; }
.answers h2 { margin-bottom: 20px; font: 400 var(--s3)/1.25 var(--display); }
.answers details { padding: 0 16px; margin-inline: 0; transition: background-color 160ms var(--ease-out); }
.answers details[open] { background: #e2dfd7; }
.answers summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 62px; padding: 16px 0; font: 400 var(--s5)/1.4 var(--text); }
.answers summary::-webkit-details-marker { display: none; }
.answers summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); flex: none; transition: transform 160ms var(--ease-out); }
.answers details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.answers details>p { padding: 0 8px 20px 0; font-size: var(--s5); }

.foot { padding: 64px var(--m) 28px; background: var(--bg); overflow: hidden; }
.foot__name { font: 400 var(--s1)/.8 var(--display); letter-spacing: -.045em; white-space: nowrap; margin-left: -.04em; }
.foot__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 64px; }
.foot__places { font: 400 var(--s3)/1.5 var(--display); color: var(--accent-2); }
.foot__places a { text-decoration: none; }
.foot__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; font-size: var(--s5); }
.foot__links li+li { margin-top: 12px; }
.foot__links a { text-decoration: none; color: var(--muted); }
.foot__links a:hover, .foot__places a:hover { color: var(--ink); }
.foot__legal { display: flex; justify-content: space-between; gap: 32px; margin-top: 56px; color: var(--muted); font-size: var(--s5); }
.foot__legal a { flex: none; text-underline-offset: 4px; }

@media (min-width: 1500px) {
  .experience, .custom, .audience, .invitation, .reach { padding-inline: max(96px, calc((100vw - 1500px) / 2)); }
}
@media (max-width: 1100px) {
  .experience, .custom { column-gap: 40px; }
  .experience__details { gap: 32px; }
  .audience__panel { gap: 40px; }
  .reach, .answers { column-gap: 48px; }
}
@media (max-width: 900px) {
  .experience { column-gap: 32px; padding-top: 56px; }
  .experience h2 { font-size: var(--s2); line-height: 1.15; }
  .experience__details { gap: 24px; }
  .experience__details dt { font-size: var(--s4); }
  .custom { grid-template-columns: 1fr; gap: 40px; padding-block: 0 96px; }
  .custom__copy { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; }
  .custom__copy h2 { grid-column: 1; grid-row: 1 / span 2; }
  .custom__copy>p { margin-top: 0; }
  .custom__copy ul { grid-column: 2; margin-top: 0; }
  .custom__copy .custom__try { grid-column: 1 / -1; margin-top: 0; }
  .audience { padding-bottom: 96px; }
  .audience__panel { grid-template-columns: 1fr 1fr; gap: 32px; }
  .audience h2 { font-size: var(--s2); }
  .audience__copy p { margin-top: 20px; font-size: var(--s5); }
  .invitation { gap: 40px; grid-template-columns: 1fr 1fr; }
  .reach { grid-template-columns: 1fr; gap: 48px; padding-block: 64px; }
  .reach__contact { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-items: start; }
  .reach__contact h2 { grid-column: 1; grid-row: 1 / span 3; }
  .reach__contact>p { margin-top: 0; }
  .reach__contact>p, .reach__mail, .reach__coordinates { grid-column: 2; }
  .reach__mail { margin-top: 20px; }
  .reach__coordinates { margin-top: 20px; }
  .answers { column-gap: 32px; grid-template-columns: 1fr 1fr; }
  .reach__contact h2 { font-size: var(--s2); }
  .reach__mail { font-size: var(--s4); }
  .foot__row { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  :root { --s2: clamp(34px, 9.5vw, 48px); }
  .story__stage { height: 100svh; }
  .chapter--name { bottom: 28px; }
  .chapter--lede { bottom: calc(var(--s1) * .8 + 56px); }
  .chapter--lede .btn { display: none; }
  .chapter--note { bottom: 32px; max-width: calc(100% - 40px); }
  .chapter--verb { padding-top: 16vh; }
  .story__measure span { white-space: normal; width: 220px; text-align: center; }
  .experience, .custom, .audience, .invitation, .reach { padding-inline: 20px; }
  .experience { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 72px; }
  .experience__scene { grid-row: 2; }
  .experience__copy h2 { font-size: var(--s2); }
  .experience__copy>p:not(.experience__status) { margin-top: 22px; }
  .experience__actions { gap: 20px; margin-top: 24px; }
  .experience__gesture { margin-top: 0; }
  .experience__details { gap: 24px; grid-template-columns: 1fr; margin-top: 12px; }
  .experience__details dd { max-width: none; margin-top: 8px; }
  .custom { padding-bottom: 72px; gap: 32px; }
  .custom__copy { display: block; }
  .custom__copy h2 { font-size: var(--s2); }
  .custom__copy>p { margin-top: 22px; }
  .custom__copy ul { margin-top: 24px; }
  .custom__copy .custom__try { margin-top: 24px; }
  .audience { padding-bottom: 72px; }
  .audience__tabs { gap: 24px; margin-bottom: 24px; }
  .audience__tabs button { font-size: var(--s4); }
  .audience__panel { display: flex; flex-direction: column; gap: 28px; align-items: stretch; }
  .audience__copy { order: -1; }
  .audience h2 { font-size: var(--s2); }
  .audience h2 br { display: none; }
  .audience__copy p { font-size: var(--s4); margin-top: 20px; }
  .audience__copy p+p { font-size: var(--s5); margin-top: 14px; }
  .audience__copy .text-link { margin-top: 24px; }
  .audience__image img { aspect-ratio: 1.23; }
  .invitation { grid-template-columns: 1fr; padding-block: 48px; gap: 24px; }
  .invitation h2 { max-width: none; }
  .invitation .btn { margin-top: 24px; }
  .reach { grid-template-columns: 1fr; padding-block: 48px; gap: 40px; }
  .reach__contact { display: block; }
  .reach__contact>p { margin-top: 22px; }
  .reach__contact h2 { font-size: var(--s2); }
  .reach__mail { margin-top: 28px; font-size: var(--s3); }
  .reach__coordinates { margin-top: 24px; }
  .inquiry__fields { grid-template-columns: 1fr; gap: 18px; }
  .inquiry input:not([type="checkbox"]), .inquiry select, .inquiry textarea { font-size: var(--s4); }
  .inquiry__submit { width: 100%; text-align: center; }
  .inquiry__actions { gap: 12px; }
  .answers { display: block; }
  .answers h2 { margin-bottom: 12px; }
  .foot { padding-top: 48px; }
  .foot__row { margin-top: 40px; }
  .foot__links { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot__places { overflow-wrap: anywhere; }
  .foot__legal { flex-direction: column; gap: 24px; margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ==============================================================================
   OVERRIDE & ISOLATION WORDPRESS FSE (TWENTY TWENTY-FIVE)
   Supprime tous les paddings, marges et éléments injectés par WordPress pour
   garantir un rendu 100% fidèle à la maquette originale TastyView.
   ============================================================================== */
:root {
  --wp--style--root--padding-top: 0px !important;
  --wp--style--root--padding-bottom: 0px !important;
  --wp--style--root--padding-left: 0px !important;
  --wp--style--root--padding-right: 0px !important;
  --wp--style--global--content-size: 100% !important;
  --wp--style--global--wide-size: 100% !important;
}

body.home, body {
  background-color: #0C0B09 !important;
  color: #F4F1EA !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wp-site-blocks {
  padding: 0 !important;
  margin: 0 !important;
}

.has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.wp-block-post-content,
.entry-content {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
}

/* Masquer les éléments par défaut de Twenty Twenty-Five qui polluent la page */
.wp-block-post-title,
header.wp-block-template-part,
footer.wp-block-template-part {
  display: none !important;
}

/* Défilement fluide natif pour toutes les ancres */
html {
  scroll-behavior: smooth !important;
}

/* 1. BARRE DE NAVIGATION LUXE HAUTE DÉFINITION (FROSTED GLASS SOMBRE ET OR) */
header.bar {
  display: flex !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: rgba(12, 11, 9, 0.94) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(180, 146, 85, 0.22) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6) !important;
  padding: 16px var(--m) !important;
  height: 76px !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Masquer tout doublon d'en-tête ou de pied de page */
header.bar ~ header.bar,
footer.foot ~ footer.foot {
  display: none !important;
}

/* Bouton Contact dans la barre de navigation */
.bar__cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0 20px !important;
  font-size: var(--s5) !important;
  font-weight: 500 !important;
}

/* 2. ERGONOMIE ET LISIBILITÉ DES SOUS-PAGES (RESTAURANTS, TRAITEURS, SALLES, OFFRES, FAQ, CONTACT) */
body:not(.home) .wp-site-blocks,
body:not(.home) .entry-content,
body:not(.home) main {
  padding-top: 86px !important;
  background-color: var(--bg) !important;
  color: var(--ink) !important;
  min-height: calc(100vh - 76px) !important;
  box-sizing: border-box !important;
}

/* Conteneur principal aéré et centré pour les sous-pages */
body:not(.home) .custom__copy {
  max-width: 960px !important;
  margin: 0 auto !important;
  padding: 64px 32px 80px !important;
  box-sizing: border-box !important;
}

body:not(.home) .custom__copy h1 {
  font: 400 clamp(32px, 4.5vw, 56px)/1.15 var(--display) !important;
  letter-spacing: -0.03em !important;
  color: var(--ink) !important;
  margin-bottom: 24px !important;
  text-wrap: balance !important;
}

body:not(.home) .custom__copy>p {
  font-size: clamp(17px, 1.25vw, 21px) !important;
  line-height: 1.65 !important;
  color: var(--muted) !important;
  max-width: 72ch !important;
  margin-bottom: 48px !important;
}

body:not(.home) .custom__copy h2 {
  font: 400 clamp(24px, 3vw, 36px)/1.2 var(--display) !important;
  color: var(--ink) !important;
  margin-top: 56px !important;
  margin-bottom: 24px !important;
  border-bottom: 1px solid rgba(180, 146, 85, 0.2) !important;
  padding-bottom: 16px !important;
}

body:not(.home) .custom__copy ul {
  display: grid !important;
  gap: 16px !important;
  padding-left: 0 !important;
  list-style: none !important;
  margin-block: 28px 48px !important;
}

body:not(.home) .custom__copy ul li {
  position: relative !important;
  padding: 20px 24px 20px 48px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(180, 146, 85, 0.18) !important;
  border-radius: 6px !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: var(--ink) !important;
}

body:not(.home) .custom__copy ul li::before {
  content: "" !important;
  position: absolute !important;
  left: 20px !important;
  top: 28px !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: var(--accent) !important;
  box-shadow: 0 0 10px var(--accent) !important;
}

body:not(.home) .custom__copy ul li strong {
  color: var(--accent-2) !important;
  font-weight: 500 !important;
}

/* Espacement des sections intégrées sur les sous-pages */
body:not(.home) .experience {
  padding-top: 48px !important;
}
body:not(.home) .reach {
  padding-top: 48px !important;
}
body:not(.home) .faq {
  padding-top: 48px !important;
  max-width: 960px !important;
  margin-inline: auto !important;
}

/* Forcer le récit 3D à prendre 100% de la largeur de l'écran sur l'accueil */
.story, .story__stage {
  width: 100% !important;
  max-width: 100% !important;
}

/* Le pied de page TastyView */
footer.foot {
  display: block !important;
}
