/* Yia Mas — « Chaux, égée, olive » (BRAND.md fait foi) */
@font-face { font-family: "Marcellus"; src: url(../fonts/marcellus.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
:root {
  --chaux: #f6f1e6; --chaux-2: #ece4d2; --encre: #1b2233; --gris: #5d6272;
  --egee: #1f4e8c;   /* seule couleur d'action (le bleu de leur carte des boissons) */
  --olive: #6b7a3a; --terre: #b5532e;
  --line: rgba(27,34,51,.14);
  --gut: clamp(16px, 4vw, 44px); --max: 1160px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --f-d: "Marcellus", Georgia, serif; --f-t: "Hanken Grotesk", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--chaux); color: var(--encre); font: 400 17px/1.6 var(--f-t); overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h2 { font: 400 clamp(2rem, 8vw, 4.2rem)/1.05 var(--f-d); letter-spacing: .01em; overflow-wrap: anywhere; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--encre); color: #fff; padding: 12px 16px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--terre); outline-offset: 3px; }
.info { background: var(--egee); color: #fff; text-align: center; padding: 10px 16px; font-weight: 600; position: relative; z-index: 50; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 4px; font: 600 1rem/1 var(--f-t); letter-spacing: .02em; text-decoration: none; border: 0; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform 140ms var(--ease-out), background-color 160ms ease; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: .55; }
.btn-main { background: var(--egee); color: #fff; }
.btn-line { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--encre); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.btn-full { width: 100%; }
@media (hover: hover) and (pointer: fine) { .btn-main:hover { background: #173d70; } .btn-line:hover { background: var(--encre); color: #fff; } }

.top { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 18px; padding: calc(8px + env(safe-area-inset-top, 0px)) var(--gut) 8px; transition: background-color 240ms ease, box-shadow 240ms ease; }
.top.solid { background: rgba(246,241,230,.88); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); box-shadow: 0 1px 0 var(--line); }
.logo { font: 400 1.35rem/1 var(--f-d); letter-spacing: .22em; text-decoration: none; margin-right: auto; min-height: 44px; display: inline-flex; align-items: center; }
.nav { display: none; gap: 28px; font-weight: 600; }
.nav a { text-decoration: none; padding: 12px 0; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--egee); } }
@media (min-width: 900px) { .nav { display: flex; } }
@media (max-width: 899px) { .top .btn { display: none; } }

/* Héros : l'assiette ronde vue du dessus, au centre */
.hero { min-height: 100svh; display: grid; justify-items: center; align-content: center; text-align: center; gap: 14px; padding: calc(70px + env(safe-area-inset-top, 0px)) var(--gut) calc(96px + env(safe-area-inset-bottom, 0px)); background: radial-gradient(circle at 50% 42%, #fffaf0 0, var(--chaux) 46%, var(--chaux-2) 100%); }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.plat { margin: 6px 0 0; width: min(82vw, 52svh, 520px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px #fff, 0 0 0 11px var(--line), 0 40px 70px -30px rgba(27,34,51,.55); }
.plat video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.18); }
.h-y { display: block; font: 400 clamp(3.2rem, 17vw, 8rem)/.95 var(--f-d); letter-spacing: .02em; color: var(--egee); }
.h-s { display: block; font: italic 400 1.05rem/1.4 var(--f-t); color: var(--gris); margin-top: 6px; }
.fact { font-size: .92rem; color: var(--gris); }
.fact b { font: 400 1.15rem var(--f-d); color: var(--encre); }
.hero-btn { display: none; margin-top: 8px; }
@media (min-width: 900px) { .hero-btn { display: inline-flex; } }

/* Moment : le toast */
.toast { background: var(--egee); color: var(--chaux); }
.toast-pin { min-height: 100svh; display: grid; align-content: center; justify-items: center; gap: 24px; padding: 80px var(--gut); overflow: hidden; text-align: center; }
.meandre { width: min(100%, 760px); height: 34px; }
.meandre path { fill: none; stroke: var(--chaux); stroke-width: 2.5; }
.mot { position: relative; font-size: clamp(2.6rem, 13vw, 9rem); line-height: 1; letter-spacing: .08em; white-space: nowrap; }
.mot .la { position: absolute; inset: 0; opacity: 0; }
.toast-txt { max-width: 34ch; opacity: .85; }

/* Carte */
.carte { padding: 96px 0; }
.c-intro { margin-top: 14px; color: var(--gris); max-width: 44ch; }
.c-grid { display: grid; gap: 10px; margin-top: 30px; }
.c-grid > * { min-width: 0; }
.c-col h3 { font: 700 .82rem var(--f-t); letter-spacing: .16em; text-transform: uppercase; color: var(--olive); margin: 26px 0 4px; }
.c-col:first-child h3:first-child { margin-top: 0; }
.plats { list-style: none; padding: 0; margin: 0; }
.plats li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.plats b { display: block; font: 400 1.28rem/1.2 var(--f-d); }
.plats span { display: block; color: var(--gris); font-size: .94rem; margin-top: 2px; }
.c-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 34px; }
.c-photos figure { margin: 0; overflow: hidden; border-radius: 4px; aspect-ratio: 1; }
.c-photos figure:first-child { grid-row: span 2; aspect-ratio: auto; }
.c-photos img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .c-grid { grid-template-columns: 1fr 1fr; gap: 64px; } .c-col:last-child h3:first-child { margin-top: 0; } .c-photos { grid-template-columns: 1fr 1fr 1fr; } .c-photos figure:first-child { grid-row: auto; aspect-ratio: 1; } }

/* Avis */
.avis { padding: 80px 0; background: var(--chaux-2); }
.avis-wrap { display: grid; gap: 26px; }
.score { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.score b { font: 400 clamp(4.4rem, 20vw, 7.5rem)/.9 var(--f-d); color: var(--egee); }
.score span { color: var(--gris); }
.avis blockquote { margin: 0; font: 400 clamp(1.3rem, 3vw, 1.9rem)/1.35 var(--f-d); max-width: 34ch; }
.avis cite { display: block; margin-top: 12px; font: 400 .9rem var(--f-t); font-style: normal; color: var(--gris); }
@media (min-width: 900px) { .avis-wrap { grid-template-columns: auto 1fr; gap: 72px; align-items: center; } }

/* Réserver */
.reserver { padding: 96px 0; }
.r-wrap { display: grid; gap: 30px; }
.r-wrap > *, .venir-wrap > * { min-width: 0; }
.r-head p { margin-top: 14px; color: var(--gris); max-width: 40ch; }
.r-photo { margin: 24px 0 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.r-photo img { width: 100%; height: 100%; object-fit: cover; }
.r-form { display: grid; gap: 20px; padding: 24px 18px; background: #fff; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line), 0 4px 0 0 var(--egee); }
.field { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.field legend, .field > label, .lbl { font-weight: 700; padding: 0; margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--gris); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts-2 { display: grid; grid-template-columns: 1fr 1fr; }
.opts button { min-height: 48px; padding: 8px 16px; border-radius: 4px; border: 1.5px solid var(--line); background: transparent; color: var(--encre); font: 500 1rem var(--f-t); cursor: pointer; touch-action: manipulation; font-variant-numeric: tabular-nums; }
.opts button[aria-pressed="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.opts button:disabled { opacity: .35; text-decoration: line-through; cursor: default; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font: 500 1.5rem/1 var(--f-t); cursor: pointer; color: var(--encre); touch-action: manipulation; }
.stepper output { font: 400 2rem/1 var(--f-d); min-width: 1.4em; text-align: center; font-variant-numeric: tabular-nums; }
.stepper span { color: var(--gris); margin-right: auto; }
input { font: 400 16px var(--f-t); color: var(--encre); width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 4px; border: 1.5px solid var(--line); background: #fff; }
input:focus { outline: none; border-color: var(--egee); }
.row2 { display: grid; gap: 18px; }
@media (min-width: 620px) { .row2 { grid-template-columns: 1fr 1fr; } }
.hint { font-size: .9rem; color: var(--olive); font-weight: 600; } .hint:empty { display: none; }
.err { color: #a32020; font-size: .9rem; } .err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.small-note { font-size: .9rem; color: var(--gris); }
.small-note a { font-weight: 700; }
.form-ok { padding: 14px 16px; background: var(--egee); color: #fff; border-radius: 4px; font-weight: 600; }
@media (min-width: 900px) { .r-wrap { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } .r-form { padding: 32px; } }

/* Venir */
.venir { padding: 96px 0 120px; background: var(--chaux-2); }
.venir-wrap { display: grid; gap: 30px; }
.v-photo { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; }
.v-photo img { width: 100%; height: 100%; object-fit: cover; }
.addr span { display: block; color: var(--olive); }
.hours { margin: 22px 0 0; }
.hours div { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 700; } .hours dd { margin: 0; color: var(--gris); text-align: right; }
.venir-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
@media (min-width: 900px) { .venir-wrap { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 64px; } }

.foot { padding: 48px 0 calc(110px + env(safe-area-inset-bottom, 0px)); background: var(--encre); color: rgba(246,241,230,.75); font-size: .94rem; }
.foot .wrap { display: grid; gap: 6px; }
.foot .logo { color: var(--chaux); }
.foot a { color: var(--chaux); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.small { font-size: .88rem; }
@media (min-width: 900px) { .foot { padding-bottom: 48px; } }

.phonebar { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 7px; border-radius: 8px; background: rgba(246,241,230,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 12px 30px -14px rgba(0,0,0,.4), inset 0 0 0 1px var(--line); }
.phonebar a { min-height: 48px; display: grid; place-items: center; border-radius: 4px; text-decoration: none; font-weight: 700; touch-action: manipulation; user-select: none; }
.pb-alt { padding: 0 20px; box-shadow: inset 0 0 0 1.5px var(--encre); }
.pb-main { background: var(--egee); color: #fff; }
.phonebar a:active { transform: scale(0.97); }
@media (min-width: 900px) { .phonebar { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; } }
