/* ===== Atelier Gana : style commun ===== */
:root {
  --cream: #f5eee2;
  --cream-2: #ece2d1;
  --paper: #fbf9f4;
  --ink: #1b1713;
  --soft: #6a5f52;
  --gold: #a9834b;
  --gold-2: #c9a56a;
  --gold-light: #ddcaa8;
  --dark: #14110e;
  --dark-2: #1f1a15;
  --ok: #3f7d4e;
  --danger: #a4452f;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(40, 28, 12, .10);
  --title: "Gilda Display", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.5; font-variant-numeric: lining-nums; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- en-tête ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(246, 242, 234, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(169, 131, 75, .25); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.brand span { font-family: var(--title); font-size: 20px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--soft); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.on { color: var(--ink); border-color: var(--gold); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; margin-right: -10px; }
.burger i { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: .25s; }
@media (max-width: 860px) {
  .burger { display: block; }
  .nav { position: absolute; inset: 100% 0 auto 0; background: var(--cream); flex-direction: column; gap: 0; padding: 8px 16px 20px;
    border-bottom: 1px solid var(--gold-light); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s; }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { width: 100%; padding: 14px 4px; font-size: 14px; border-bottom: 1px solid rgba(169, 131, 75, .18); }
  .brand span { font-size: 17px; }
}

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--gold); color: var(--ink); background: transparent; transition: .2s; }
.btn:hover { background: rgba(169, 131, 75, .1); }
.btn.gold { background: linear-gradient(135deg, #b8924f, #a07a42); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(160, 122, 66, .3); }
.btn.gold:hover { filter: brightness(1.06); }
.btn.light { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn.light:hover { background: rgba(255, 255, 255, .1); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- titres de section ---------- */
.eyebrow { font-family: var(--sans); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.h-sec { font-family: var(--title); font-weight: 400; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.15; letter-spacing: .04em; margin: 10px 0 0; }
.orn { display: block; width: 150px; height: 10px; margin: 16px auto 0; }
.center { text-align: center; }
.section { padding: clamp(64px, 9vw, 110px) 0; }

/* ---------- bandeau table (suit le client sur tout le site) ---------- */
.table-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60; width: min(560px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 999px;
  background: var(--dark); color: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); text-decoration: none; }
.table-bar .t { font-family: var(--sans); font-size: 14px; letter-spacing: .06em; }
.table-bar .t b { font-family: var(--title); font-weight: 400; font-size: 19px; color: var(--gold-2); letter-spacing: .08em; margin-right: 6px; }
.table-bar .go { background: var(--gold); color: #fff; border-radius: 999px; padding: 11px 18px; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
body.has-bar { padding-bottom: 86px; }

/* ---------- pied de page ---------- */
.site-foot { background: var(--dark); color: #d8cfc2; padding: 56px 0 28px; font-family: var(--sans); font-size: 14px; }
.site-foot .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-foot h4 { font-family: var(--title); font-weight: 400; color: #fff; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.site-foot a { color: #d8cfc2; text-decoration: none; }
.site-foot a:hover { color: var(--gold-2); }
.site-foot .mono { width: 64px; margin-bottom: 12px; }
.site-foot .legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #9d9285; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr; } }

/* ---------- carte (affichage des produits) ---------- */
.chips { position: sticky; top: 68px; z-index: 40; background: rgba(246, 242, 234, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(169, 131, 75, .2); }
.chips .wrap { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.chips .wrap::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; font-family: var(--sans); font-size: 13px; letter-spacing: .06em; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--gold-light);
  background: var(--paper); text-decoration: none; color: var(--soft); white-space: nowrap; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.menu-page { padding: 44px 0 10px; scroll-margin-top: 130px; }
.menu-page > h2 { font-family: var(--title); font-weight: 400; text-align: center; font-size: clamp(26px, 3.6vw, 36px); letter-spacing: .1em; text-transform: uppercase; margin: 0; }
.menu-page .note { text-align: center; font-style: italic; color: var(--soft); margin: 18px auto 0; max-width: 620px; }
.menu-sec { margin-top: 30px; }
.menu-sec > h3 { font-family: var(--title); font-weight: 400; font-size: 18px; letter-spacing: .24em; text-transform: uppercase; text-align: center; margin: 0 0 16px; }
.toppings-box { margin: 22px auto 0; max-width: 760px; text-align: center; padding: 18px 20px; background: rgba(214, 193, 154, .18); border: 1px solid var(--gold-light); border-radius: var(--radius); }
.toppings-box b { font-family: var(--title); font-weight: 400; letter-spacing: .2em; text-transform: uppercase; font-size: 15px; }
.toppings-box p { margin: 8px 0 0; font-weight: 600; }

.grid-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; }
.grid-items.list { gap: 6px 40px; }
@media (max-width: 760px) { .grid-items, .grid-items.list { grid-template-columns: 1fr; } }
.it { padding: 12px 0; border-bottom: 1px solid rgba(169, 131, 75, .2); }
.grid-items.list .it { padding: 8px 0; }
.it .row { display: flex; align-items: baseline; gap: 10px; }
.it .nm { font-family: var(--title); font-size: 17px; letter-spacing: .06em; text-transform: uppercase; }
.grid-items.list .it .nm { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: 0; text-transform: none; }
.it .nm small { font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--soft); font-size: 16px; }
.it .dt { flex: 1; border-bottom: 1px dotted #c3b393; transform: translateY(-5px); min-width: 12px; }
.it .pr { font-family: var(--title); font-size: 17px; white-space: nowrap; }
.it .ds { font-style: italic; color: var(--soft); font-size: 17px; line-height: 1.35; margin-top: 2px; }
.it.out { opacity: .45; }
.it.out .pr::after { content: " · épuisé"; font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--danger); }

/* ---------- divers ---------- */
.page-hero { text-align: center; padding: 56px 0 26px; }
.page-hero .mono { width: 92px; margin: 0 auto 6px; }
.lead { font-size: 21px; color: var(--soft); max-width: 640px; margin: 14px auto 0; }
.toast { position: fixed; left: 50%; top: 84px; transform: translate(-50%, -20px); opacity: 0; transition: .3s; z-index: 200; background: var(--dark); color: #fff;
  font-family: var(--sans); font-size: 14px; padding: 12px 20px; border-radius: 999px; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.demo-flag { position: fixed; right: 10px; top: 76px; z-index: 45; font-family: var(--sans); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(169, 131, 75, .15); color: var(--gold); padding: 4px 9px; border-radius: 999px; }

[hidden] { display: none !important; }
@media (max-width: 420px) { .table-bar .hint { display: none; } }

/* ---------- barre d'infos tout en haut ---------- */
.topbar { background: var(--dark); color: #d8cfc2; font-family: var(--sans); font-size: 12.5px; letter-spacing: .04em; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 36px; }
.topbar a { color: #d8cfc2; text-decoration: none; margin-left: 22px; }
.topbar a:hover { color: var(--gold-2); }
.topbar .st { display: inline-flex; align-items: center; gap: 8px; }
.topbar .st i { width: 7px; height: 7px; border-radius: 50%; background: #b7614c; }
.topbar .st.open i { background: #6cc483; }
@media (max-width: 760px) { .topbar .tb-r a:first-child { display: none; } .topbar { font-size: 12px; } }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 11.5px; }
.nav .btn { border-bottom: 0; color: #fff; padding: 0 18px; }
.nav .btn:hover { color: #fff; }
@media (max-width: 860px) { .nav .btn { margin-top: 14px; width: 100%; } }
.site-head { top: 0; }

/* ---------- apparition douce au défilement ---------- */
.rv { opacity: 0; transform: translateY(30px); filter: blur(3px); transition: opacity 1.5s cubic-bezier(.2, .6, .2, 1), transform 1.5s cubic-bezier(.2, .6, .2, 1), filter 1.5s ease; }
.rv.in { filter: none; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- voile chaleureux avant l'ouverture de la carte ---------- */
.menu-veil { position: fixed; inset: 0; z-index: 500; background: radial-gradient(ellipse at center, #2a1f16, #17120e 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  opacity: 0; transition: opacity .7s ease; }
.menu-veil.on { opacity: 1; }
.menu-veil img { width: 96px; opacity: 0; transform: scale(.94); transition: opacity .8s .25s ease, transform 1.2s .25s ease; }
.menu-veil span { font-family: var(--title); letter-spacing: .5em; padding-left: .5em; color: var(--gold-2); font-size: 15px; opacity: 0; transition: opacity .8s .4s ease; }
.menu-veil.on img, .menu-veil.on span { opacity: 1; transform: none; }

/* ---------- chaleur : grain de papier très léger + photos réchauffées ---------- */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 400; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
main img, section img:not([src*="monogramme"]):not([src*="logo"]) { filter: saturate(.92) sepia(.08) contrast(1.02); }

/* ---------- bienvenue après le scan d'une carte de table ---------- */
.welcome { position: fixed; inset: 0; z-index: 450; background: rgba(15, 10, 6, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .35s ease; }
.welcome.on { opacity: 1; }
.w-card { width: min(460px, 100%); background: var(--cream); border-radius: 22px 22px 0 0; padding: 26px 24px calc(22px + env(safe-area-inset-bottom)); text-align: center;
  display: flex; flex-direction: column; gap: 10px; transform: translateY(40px); transition: transform .45s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); }
.welcome.on .w-card { transform: none; }
@media (min-width: 700px) { .welcome { align-items: center; } .w-card { border-radius: 22px; } }
.w-card img { width: 64px; margin: 0 auto; }
.w-hi { font-family: var(--title); font-size: 24px; letter-spacing: .04em; }
.w-table { font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.w-table b { font-family: var(--title); font-weight: 400; font-size: 22px; letter-spacing: .06em; color: var(--gold); text-transform: none; }
.w-card p { margin: 4px 0 8px; color: var(--soft); font-size: 18px; line-height: 1.4; }
.w-skip { background: none; border: 0; font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); padding: 8px; text-decoration: underline; text-underline-offset: 4px; }
