/* Sofram Restaurant — thème inspiré des faïences d'Iznik */
:root {
  --brown: #3a1d19;
  --brown-2: #4d2822;
  --brown-3: #47241f;
  --coral: #b4432b;
  --coral-deep: #8f3320;
  --olive: #6f7a3b;
  --gold: #c9993f;
  --gold-soft: #e5c27c;
  --ivory: #f3e6d0;
  --paper: #fbf5ea;
  --ink: #2b1a16;
  --muted: #6e5a52;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hdr: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 56px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: .2em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
p { margin: 0 0 1em; }
ul, ol, dl { margin: 0; padding: 0; }
li { list-style: none; }
.wrap { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 200; background: var(--ivory); padding: .6rem 1rem; }
.skip:focus { left: .5rem; }

.band { height: 16px; background: url("band.svg") repeat-x 0 0 / 36px 16px; }
.eyebrow { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--coral); margin-bottom: .9rem; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.6rem; font: 600 .86rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; transition: background .18s, color .18s, border-color .18s; }
.btn-solid { cursor: pointer; background: var(--coral); color: #fff; border-color: var(--coral); }
.btn-solid:hover { background: var(--coral-deep); border-color: var(--coral-deep); }
.btn-line { background: transparent; color: var(--ivory); border-color: var(--gold); cursor: pointer; }
.btn-line:hover { background: var(--gold); color: var(--brown); }
.btn-ink { color: var(--brown); border-color: var(--brown); }
.btn-ink:hover { background: var(--brown); color: var(--ivory); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.8rem; }

/* ---------- En-tête ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: var(--brown); color: var(--ivory); border-bottom: 1px solid rgba(201, 153, 63, .35); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: var(--hdr); }
.logo { display: flex; flex-direction: column; align-items: stretch; gap: .28rem; text-decoration: none; line-height: 1; }
.logo b { font: 700 1.55rem/1 var(--display); letter-spacing: .13em; text-transform: uppercase; }
.logo small { display: flex; justify-content: space-between; font: 600 .52rem/1 var(--body); text-transform: uppercase; color: var(--gold-soft); }
.logo small i, .wm-sub i { font-style: normal; }
.menu > ul { display: flex; align-items: center; gap: 1.8rem; }
.menu a { text-decoration: none; font-size: .92rem; font-weight: 500; }
.menu a:hover, .menu a[aria-current] { color: var(--gold-soft); }
.menu a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .5em; }
.hdr-tel { border: 1.5px solid var(--gold); padding: .45rem 1rem; font-weight: 600 !important; white-space: nowrap; }
.hdr-tel:hover { background: var(--gold); color: var(--brown) !important; }
.has-sub { position: relative; display: flex; align-items: center; gap: .15rem; }
.caret { width: 26px; height: 26px; border: 0; background: none; cursor: pointer; position: relative; color: inherit; }
.caret::after { content: ""; position: absolute; left: 8px; top: 8px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.sub { position: absolute; top: 100%; z-index: 5; left: -1rem; width: 290px; padding: .6rem; background: var(--brown); border: 1px solid rgba(201, 153, 63, .5); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); display: none !important; flex-direction: column; gap: 0 !important; align-items: stretch !important; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.sub a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .65rem .8rem; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.sub li:last-child a { border-bottom: 0; }
.sub b { font: 700 1.2rem/1 var(--display); }
.sub span { font-size: .8rem; opacity: .7; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: flex !important; }
.has-sub:hover .caret::after, .has-sub.open .caret::after { transform: rotate(225deg); top: 11px; }
.burger { display: none; width: 46px; height: 46px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ivory); transition: transform .2s, opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Page de garde ---------- */
.hero { background: radial-gradient(70% 80% at 78% 45%, rgba(139, 78, 58, .6), transparent 70%), url("star-light.svg"), var(--brown); color: var(--ivory); }
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.8rem; padding-block: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2rem); }
.hero-text { display: flex; flex-direction: column; align-items: center; }
.kicker { display: flex; align-items: center; justify-content: center; gap: .9rem; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin-bottom: 1.2rem; }
.kicker .kl { display: block; width: 48px; height: 1px; background: var(--gold); }
.hero h1 { display: inline-flex; flex-direction: column; font-weight: 700; margin-bottom: 0; }
.wm { margin-right: -.06em; font-size: clamp(4rem, 10vw, 8rem); line-height: .95; letter-spacing: .06em; text-transform: uppercase; }
.wm-sub { display: flex; justify-content: space-between; font: 600 clamp(.9rem, 2.1vw, 1.5rem)/1 var(--display); text-transform: uppercase; margin-top: .6rem; padding-inline: .06em; color: var(--gold-soft); }
.hero-tr { font: italic 600 clamp(1.5rem, 3vw, 2.2rem)/1.1 var(--display); color: var(--gold-soft); margin: .6rem 0 1.6rem; }
.hero-art { display: flex; justify-content: center; width: 100%; }

.section { padding-block: clamp(4rem, 9vw, 7rem); overflow-x: clip; }
.sec-head { max-width: 40rem; margin-bottom: 3rem; }
.sec-head .lead { color: var(--muted); font-size: 1.08rem; margin-top: 1rem; }
.sec-head-light { color: var(--ivory); }
.sec-head-light .eyebrow { color: var(--gold-soft); }

/* Portes */
.doors-sec { background: var(--ivory) url("star-dark.svg"); }
.doors { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
.door { position: relative; display: block; flex: 0 0 calc((100% - 3.6rem) / 4); max-width: 220px; aspect-ratio: 3 / 4.1; text-decoration: none; color: var(--brown); transition: transform .25s; }
.door:hover { transform: translateY(-6px); }
.door-shape { position: absolute; inset: 0; width: 100%; height: 100%; }
.d-fill { fill: var(--paper); stroke: var(--gold); stroke-width: 2; transition: fill .25s; }
.d-line { stroke: var(--gold); stroke-opacity: .55; stroke-width: 1; }
.door:hover .d-fill, .door:focus-visible .d-fill { fill: var(--brown-2); }
.door-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding: 0 .7rem 1.2rem; transition: color .25s; }
.door:hover .door-in, .door:focus-visible .door-in { color: var(--ivory); }
.door-tulip { width: 30px; height: 48px; margin-bottom: auto; margin-top: 26%; }
.door .fr { font: 700 1.55rem/1 var(--display); }
.door .tr { font-size: .82rem; font-weight: 700; margin-top: .35rem; }
.door .meta { font-size: .74rem; line-height: 1.35; margin-top: .5rem; opacity: .72; min-height: 2.7em; }

/* Définition + histoire */
.story-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.entry { border: 2px solid var(--brown); outline: 1px solid var(--gold); outline-offset: 6px; padding: 2rem; background: var(--ivory); }
.hw { font: 700 2.4rem/1 var(--display); color: var(--brown); margin-bottom: .3rem; }
.hw i { font: italic 500 1rem/1 var(--body); color: var(--coral); margin-left: .5rem; }
.df { font: italic 500 1.35rem/1.35 var(--display); color: var(--muted); margin-bottom: 1.6rem; }
.entry .df:last-child { margin-bottom: 0; }
.story-text p { color: var(--muted); font-size: 1.04rem; }
.story-text h2 { margin-bottom: 1.4rem; }
.more { display: inline-block; margin-top: .6rem; font-weight: 700; color: var(--coral); text-underline-offset: .35em; }

/* Plats à ne pas manquer */
.favs, .lexique { background: linear-gradient(rgba(74, 39, 35, .9), rgba(74, 39, 35, .9)), url("star-light.svg"), var(--brown-3); background-color: var(--brown-3); color: var(--ivory); }
.fav-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem; counter-reset: f; }
.fav-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.4rem; padding: 1.6rem 0; border-top: 1px solid rgba(229, 194, 124, .35); }
.num { font: 600 2.6rem/1 var(--display); color: var(--gold-soft); min-width: 2.4ch; }
.fav-list h3 { font-size: 1.9rem; }
.fav-list h3 a { text-decoration: none; }
.fav-list h3 a:hover { color: var(--gold-soft); }
.fav-list p { margin: .35rem 0 0; font-size: .96rem; color: #e3d5c0; line-height: 1.5; }
.stamp { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; border: 1.5px solid var(--gold); outline: 1px dashed rgba(229, 194, 124, .6); outline-offset: 4px; font: 700 1.25rem/1 var(--display); text-align: center; color: var(--gold-soft); transform: rotate(-6deg); }
.fav-more { margin: 3rem 0 0; }

/* Venir */
.visit { background: var(--ivory); }
.visit-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.visit h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.ticket { background: var(--brown); color: var(--ivory); padding: 2rem 2rem 1.6rem; position: relative; border: 1px solid var(--gold); outline: 1px solid rgba(201, 153, 63, .5); outline-offset: 6px; }
.ticket-h { font: 700 1.8rem/1 var(--display); color: var(--gold-soft); margin-bottom: 1rem; }
.ticket-f { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px dashed rgba(229, 194, 124, .5); font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; }
.hours li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .55rem 0; border-bottom: 1px dotted rgba(245, 238, 221, .4); }
.hours li span { font: italic 500 1.3rem/1 var(--display); }
.hours li b { font-size: 1.15rem; font-weight: 600; }
.hours-dark li { border-bottom-color: rgba(43, 26, 22, .3); }

/* ---------- Pages intérieures ---------- */
.phead { background: radial-gradient(60% 120% at 90% 0, rgba(139, 78, 58, .55), transparent 70%), url("star-light.svg"), var(--brown); color: var(--ivory); padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.phead .wrap { padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.phead h1 { font-size: clamp(3.4rem, 9vw, 6.4rem); line-height: .9; }
.phead-tr { font: italic 600 1.8rem/1.1 var(--display); color: var(--gold-soft); margin: .6rem 0 1rem; }
.phead-lead { max-width: 36em; font-size: 1.08rem; color: #e6d9c3; margin: 1rem 0 0; }
.phead-tr + .phead-lead { margin-top: 0; }
.crumb { font-size: .82rem; color: #c9b69c; margin-bottom: 1.4rem; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--gold-soft); }
.phead-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
.phead-tulip { width: 92px; height: 148px; opacity: .95; }

.subnav { position: sticky; top: var(--hdr); z-index: 50; background: var(--ivory); border-bottom: 1px solid rgba(201, 153, 63, .6); }
.subnav-in { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 1rem 1.2rem; font-weight: 600; font-size: .9rem; text-decoration: none; border-bottom: 3px solid transparent; color: var(--muted); }
.subnav a:hover { color: var(--brown); }
.subnav a[aria-current] { color: var(--brown); }

.paper { background: var(--paper); }
.course { margin-bottom: 4rem; }
.course-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem 1.2rem; margin-bottom: .8rem; padding-bottom: .9rem; border-bottom: 2px solid var(--brown); position: relative; }
.course-h::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; border-bottom: 1px solid var(--gold); }
.course-h h3 { font-size: clamp(2rem, 4vw, 2.7rem); }
.course-ico { flex: none; align-self: center; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brown); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--gold); margin-right: -.2rem; }
.course-ico svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 700px) { .course-ico { width: 44px; height: 44px; } .course-ico svg { width: 26px; height: 26px; } }
.csub { margin: 0; font: italic 500 1.25rem/1 var(--display); color: var(--coral); }
.course-note { margin: 1.4rem 0 .4rem; color: var(--muted); }
.course-foot { margin: 1.2rem 0 0; padding-left: 1rem; border-left: 3px solid var(--olive); font-size: .94rem; font-weight: 600; }

.dishes { margin-top: 1rem; }
.dish { padding: .95rem 0; }
.row { display: flex; align-items: baseline; gap: .6rem; }
.n { font: 700 1.1rem/1.3 var(--body); letter-spacing: 0; display: inline-flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.dots { flex: 1; min-width: 1rem; border-bottom: 2px dotted rgba(43, 26, 22, .3); transform: translateY(-.3em); }
.p { font: 700 1.3rem/1 var(--display); color: var(--coral); white-space: nowrap; }
.p-multi { font-size: 1rem; font-family: var(--body); color: var(--ink); font-weight: 600; }
.p-multi .pl { color: var(--muted); font-weight: 500; }
.d { margin: .25rem 0 0; max-width: 34em; color: var(--muted); font-size: .94rem; line-height: 1.5; }

.tiers { margin-top: 1.2rem; }
.tier { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px dotted rgba(43, 26, 22, .3); align-items: baseline; }
.tier-p { font: 700 1.6rem/1 var(--display); color: var(--coral); }
.tier ul { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.tier li { font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.tier li small { flex-basis: 100%; font-weight: 400; color: var(--muted); font-size: .84rem; margin-top: -.2rem; }

.mk { display: inline-flex; align-items: center; justify-content: center; }
.mk-tulip { width: 15px; height: 24px; display: inline-block; vertical-align: -5px; }
.mk svg { display: block; width: 24px; height: 24px; }
.mk .mk-tulip { width: 15px; height: 24px; }
.mk-fr svg { width: 25px; height: 17px; }
.mk-v, .mk-fr { cursor: help; }
.legend { font-size: .88rem; color: var(--muted); margin-top: 2rem; line-height: 2; }
.legend .mk { margin-left: .5rem; }
.legend .tulip { display: inline-block; }
.keys { list-style: none; margin: 0 0 2.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.keys li { display: inline-flex; align-items: center; gap: .3rem; padding: .4rem .85rem; border: 1px solid var(--gold); background: var(--ivory); font-size: .88rem; line-height: 1.2; color: var(--muted); }
.keys .tulip { display: inline-block; }
.keys-halal { color: var(--ink); font-weight: 600; }
.mk-halal svg, .mk-halal img { width: 28px; height: 28px; }

.pn-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.pn { display: flex; flex-direction: column; padding: 1.2rem 1.4rem; border: 1px solid var(--gold); text-decoration: none; background: var(--ivory); transition: background .2s, color .2s; }
.pn:hover { background: var(--brown); color: var(--ivory); }
.pn-next { text-align: right; grid-column: 2; }
.pn span { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--coral); font-weight: 700; }
.pn b { font: 700 1.8rem/1.1 var(--display); }
.pn i { font-size: .88rem; color: var(--muted); font-style: normal; }
.pn:hover i { color: #e3d5c0; }

/* Hub de la carte */
.hub { border-top: 2px solid var(--brown); }
.hub-row { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 1.6rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid rgba(43, 26, 22, .25); }
.hub-n { font: 600 3rem/1 var(--display); color: var(--gold); }
.hub-tr { font: italic 600 1.3rem/1 var(--display); color: var(--coral); margin-bottom: .2rem; }
.hub h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: .6rem; }
.hub-main p { margin-bottom: .4rem; color: var(--muted); max-width: 38em; }
.hub-main .hub-parts { font-size: .84rem; font-weight: 700; letter-spacing: .06em; color: var(--brown); }
.hub-side { text-align: right; }
.hub-side p { margin-bottom: .8rem; }
.hub-side b { font: 700 1.6rem/1 var(--display); color: var(--coral); }
.notes { margin-top: 4rem; padding: 2rem; background: var(--ivory); border: 1px solid var(--gold); }
.notes h2 { font-size: 2rem; margin-bottom: 1rem; }
.notes li { padding: .35rem 0 .35rem 1.4rem; position: relative; }
.notes li::before { content: ""; position: absolute; left: 0; top: .95em; width: 7px; height: 7px; background: var(--coral); transform: rotate(45deg); }
.notes a { color: var(--coral); font-weight: 600; }

/* Notre table */
.prose p { font-size: 1.1rem; color: var(--muted); }
.dropcap::first-letter { float: left; font: 700 5.2rem/.8 var(--display); color: var(--coral); padding: .3rem .6rem 0 0; }
.facts { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(201, 153, 63, .6); border: 1px solid rgba(201, 153, 63, .6); }
.facts li { background: var(--ivory); padding: 1.3rem 1.4rem; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.facts b { display: block; font: 700 1.6rem/1.1 var(--display); color: var(--brown); margin-bottom: .2rem; }
.lex { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem; }
.lex div { padding: 1.3rem 0; border-top: 1px solid rgba(229, 194, 124, .35); }
.lex dt { font: 700 1.9rem/1 var(--display); color: var(--gold-soft); margin-bottom: .3rem; }
.lex dd { margin: 0; color: #e3d5c0; font-size: .98rem; }

/* Infos */
.infos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.info-card { background: var(--ivory); border: 1px solid var(--gold); outline: 1px solid rgba(201, 153, 63, .45); outline-offset: 5px; padding: 1.8rem; }
.info-h { font: italic 600 1.3rem/1 var(--display); color: var(--coral); margin-bottom: .8rem; }
.info-big { font: 700 1.9rem/1.15 var(--display); color: var(--brown); margin-bottom: 1.3rem; }
.info-big a { text-decoration: none; }
.info-card p:last-child { margin-bottom: 0; }
.infos-more { margin-top: 4rem; }
.infos-more h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.infos-more li { padding: .5rem 0 .5rem 1.4rem; position: relative; color: var(--muted); }
.infos-more li::before { content: ""; position: absolute; left: 0; top: 1.1em; width: 7px; height: 7px; background: var(--olive); transform: rotate(45deg); }
.infos-more a { color: var(--coral); font-weight: 600; }

/* Pied de page */
.ftr { background: var(--brown); color: #d6c6ae; }
.ftr-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; padding-block: 3.5rem; font-size: .94rem; }
.ftr-logo { width: 130px; height: 130px; object-fit: contain; margin-bottom: 1rem; border: 1px solid rgba(201, 153, 63, .5); }
.ftr-h { font: italic 600 1.3rem/1 var(--display); color: var(--gold-soft); margin-bottom: .8rem; }
.ftr li { padding: .18rem 0; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--gold-soft); text-decoration: underline; }
.ftr-small { margin-top: 1rem; font-size: .84rem; opacity: .8; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .door { flex-basis: calc((100% - 2.4rem) / 3); aspect-ratio: 3 / 3.7; }
}
@media (max-width: 880px) {
  .story-in, .visit-in, .infos-grid, .ftr-in { grid-template-columns: 1fr; gap: 2rem; }
  .fav-list, .lex { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .hub-row { grid-template-columns: 1fr; gap: .8rem; }
  .hub-side { text-align: left; display: flex; align-items: center; gap: 1.2rem; }
  .hub-side p { margin: 0; }
  .phead-grid { grid-template-columns: 1fr; }
  .phead-art { display: none; }
  .burger { display: block; }
  .menu { position: fixed; inset: var(--hdr) 0 0 0; background: var(--brown); padding: 1.5rem 1.25rem 3rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .menu.open { transform: none; visibility: visible; }
  .menu > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .menu a { display: block; padding: 1rem 0; font: 700 1.7rem/1 var(--display); }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .caret { width: 44px; height: 44px; }
  .caret::after { left: 17px; top: 15px; }
  .has-sub.open .caret::after { top: 19px; }
  .sub { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 .8rem 1rem; }
  .sub::before { display: none; }
  .menu .sub a { display: flex; justify-content: flex-start; align-items: baseline; gap: .8rem; font-size: 1rem; padding: .5rem 0; border: 0; }
  .sub b { font-size: 1.25rem; }
  .menu > ul > li:last-child { border: 0; padding-top: 1.2rem; }
  .hdr-tel { display: inline-block !important; font: 600 1rem/1 var(--body) !important; padding: .9rem 1.4rem !important; }
}
@media (max-width: 560px) {
  .doors { gap: .8rem; }
  .door { flex-basis: calc((100% - .8rem) / 2); }
  .fav-list li { grid-template-columns: auto 1fr; }
  .stamp { grid-column: 2; justify-self: start; width: 74px; height: 74px; }
  .tier { grid-template-columns: 1fr; gap: .4rem; }
  .pn-wrap { grid-template-columns: 1fr; }
  .pn-next { grid-column: 1; }
  .btn { width: 100%; }
  .hub-side p { white-space: nowrap; }
  .hub-side .btn { width: auto; flex: 1; }
  .subnav a { padding: .9rem .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Carte Google Maps (chargée au clic) */
.map-wrap { margin-top: 3.5rem; }
.map { position: relative; height: clamp(320px, 48vw, 460px); border: 1px solid var(--gold); outline: 1px solid rgba(201, 153, 63, .45); outline-offset: 5px; background: var(--brown) url("star-light.svg"); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; color: var(--ivory); }
.map-title { font: 700 clamp(1.5rem, 3.5vw, 2.2rem)/1.15 var(--display); margin-bottom: .6rem; }
.map-note { max-width: 32em; font-size: .88rem; color: #e3d5c0; }
.map-alt { margin-top: 1rem; font-size: .88rem; color: var(--gold-soft); }

/* Bandeau cookies */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: var(--brown); color: var(--ivory); border-top: 2px solid var(--gold); box-shadow: 0 -12px 40px rgba(0, 0, 0, .35); }
.cookie[hidden] { display: none; }
.cookie-in { width: min(1140px, 100% - 2.5rem); margin-inline: auto; padding-block: 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
.cookie-t { font: 700 1.5rem/1 var(--display); color: var(--gold-soft); margin-bottom: .3rem; }
.cookie p:last-child { margin: 0; }
.cookie-in p { max-width: 46em; font-size: .92rem; line-height: 1.5; margin-bottom: 0; }
.cookie-btns { display: flex; gap: .7rem; flex: none; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.linklike:hover { color: var(--gold-soft); }
@media (max-width: 700px) {
  .cookie-in { flex-direction: column; align-items: stretch; padding-block: 1rem; }
  .cookie-btns .btn { flex: 1; }
}

/* Horaires par jour */
.hours li { flex-wrap: nowrap; }
.hours li b { margin-left: auto; text-align: right; font-size: 1rem; line-height: 1.5; }
.hours-note { margin: .9rem 0 0; font-size: .8rem; font-style: italic; color: #e3d5c0; }
.hours-note-dark { color: var(--muted); }

/* Menu enfant */
.bundle { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1.4rem; padding: 2rem; background: var(--ivory); border: 1px solid var(--gold); outline: 1px solid rgba(201, 153, 63, .45); outline-offset: 5px; }
.parts { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem 0; }
.parts li { display: flex; flex-direction: column; padding-right: 1.6rem; margin-right: 1.6rem; position: relative; }
.parts li:not(:last-child)::after { content: "+"; position: absolute; right: -.35rem; top: -.1rem; font: 600 1.8rem/1 var(--display); color: var(--gold); }
.parts b { font: 700 1.9rem/1.1 var(--display); color: var(--brown); }
.parts small { font-size: .9rem; color: var(--muted); }
.stamp-light { flex: none; color: var(--coral); border-color: var(--coral); outline-color: rgba(180, 67, 43, .5); }
@media (max-width: 560px) { .bundle { flex-direction: column; align-items: flex-start; padding: 1.4rem; } }

.phead-img { height: clamp(150px, 18vw, 210px); width: auto; max-width: min(42vw, 440px); object-fit: contain; }
.phead-img-tall { height: clamp(220px, 24vw, 300px); margin-block: -.6rem; }

/* Diaporama d'accueil */
.slideshow { width: min(640px, 100%, max(380px, calc((100svh - 450px) * 1.3333))); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.frame { position: relative; width: 100%; aspect-ratio: 4 / 3; background: #2a1411; box-shadow: 0 26px 36px -16px rgba(0, 0, 0, .55); }
.photos { position: absolute; inset: 5% 3.75%; overflow: hidden; background: #2a1411; }
.rim { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.slide.on { opacity: 1; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide .bg { object-fit: cover; opacity: .6; }
.slideshow.single .ss-arrow, .slideshow.single .slide-dots { display: none; }
.slide .bg.full { filter: blur(14px); transform: scale(1.15); }
.slide .fg { object-fit: contain; }
/* Flèches du diaporama : posées sur les bords des photos, à l'intérieur du cadre doré */
.ss-arrow { position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--gold); background: rgba(251, 245, 234, .9); color: var(--brown); cursor: pointer; transition: background .2s, transform .2s; }
.ss-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ss-prev { left: calc(3.75% + 10px); }
.ss-next { right: calc(3.75% + 10px); }
.ss-arrow:hover { background: var(--paper); transform: scale(1.08); }
.ss-arrow:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
@media (max-width: 700px) { .ss-arrow { width: 34px; height: 34px; margin-top: -17px; } .ss-arrow svg { width: 17px; height: 17px; } }
.slide-dots { display: flex; gap: .55rem; }
.slide-dots button { width: 12px; height: 12px; padding: 0; background: transparent; border: 1.5px solid var(--gold); transform: rotate(45deg); cursor: pointer; transition: background .2s; }
.slide-dots button[aria-current="true"] { background: var(--gold); }
.slide-dots button:hover { background: var(--gold-soft); }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* Bandeau d'accroche de la page de garde */
.kicker .kl { display: block; flex: none; width: clamp(16px, 3.5vw, 34px); }
.hero .kicker { font-size: .86rem; letter-spacing: .2em; }
@media (max-width: 560px) {
  .hero .kicker { font-size: .72rem; letter-spacing: .12em; line-height: 1.5; }
  .kicker .kl { display: none; }
}

/* ---------- Animations d'apparition (discrètes) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s);
}
.js [data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(40px, 0, 0); }
.js [data-reveal="zoom"] { transform: translate3d(0, 36px, 0); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="wipe"] { opacity: 1; transform: none; transition: none; }
.js [data-reveal="wipe"] .band { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal="wipe"].in .band { clip-path: inset(0 0 0 0); }

/* Cachet des prix : il se pose avec un léger tampon */
@keyframes stamp-in {
  from { opacity: 0; transform: scale(1.7) rotate(-22deg); }
  60% { opacity: 1; }
  to { opacity: 1; transform: scale(1) rotate(-6deg); }
}
.js .fav-list li:not(.in) .stamp { opacity: 0; }
.js .fav-list li.in .stamp { animation: stamp-in .75s cubic-bezier(.3, 1.3, .5, 1) calc(var(--d, 0s) + .45s) both; }

/* Entrée de la page de garde */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
.hero .kicker { animation: rise .9s .05s both; }
.hero h1 { animation: rise 1s .15s both; }
.hero .actions { animation: rise 1s .3s both; }
.hero .slideshow { animation: rise 1.1s .45s both; }


/* Fine barre dorée de progression sous l'en-tête (page d'accueil) */
.hdr::after { content: ""; position: absolute; z-index: 0; left: 0; bottom: -1px; height: 2px; width: 100%; transform: scaleX(var(--p, 0)); transform-origin: 0 50%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal="wipe"] .band { opacity: 1; transform: none; clip-path: none; transition: none; }
  .js .fav-list li:not(.in) .stamp { opacity: 1; }
  .js .fav-list li.in .stamp, .hero .kicker, .hero h1, .hero .actions, .hero .slideshow { animation: none; }
}

.entry-t { font: 700 .78rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--coral); margin-bottom: 1.3rem; padding-bottom: .9rem; border-bottom: 1px solid rgba(201, 153, 63, .6); }

/* Accroche placée sous le titre */
.hero .kicker { margin: 1.5rem 0 0; }

/* Icônes du tableau « Notre restaurant » */
.facts li { display: flex; align-items: flex-start; gap: 1rem; }
.facts li > div { min-width: 0; }
.facts .ico { flex: none; display: grid; place-items: center; width: 62px; height: 62px; border: 1.5px solid var(--gold); border-radius: 50%; color: var(--brown); background: var(--paper); }
.facts .ico svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Tableau + photo de la devanture */
.facts-row { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; align-items: stretch; }
.facts-row .facts { margin-top: 0; grid-template-columns: 1fr; }
.photo-frame { margin: 0; position: relative; border: 1px solid var(--gold); outline: 1px solid rgba(201, 153, 63, .45); outline-offset: 6px; background: var(--ivory); }
.photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
@media (max-width: 700px) {
  .facts-row { grid-template-columns: 1fr; gap: 2.2rem; }
  .facts-row { align-items: start; justify-items: stretch; }
  .photo-frame { display: block; width: 100%; min-width: 0; box-sizing: border-box; }
  .photo-frame img { width: 100%; height: auto; aspect-ratio: 807 / 1100; max-height: 520px; }
}

/* ---------- Transition entre les catégories de la carte ---------- */
.subnav-in { position: relative; }
.subnav-ind { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--coral); transform-origin: 0 50%; pointer-events: none; }
.subnav-ind.glide { transition: transform .38s cubic-bezier(.3, .8, .2, 1); }

@keyframes cat-in-next { from { opacity: 0; transform: translate3d(34px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes cat-in-prev { from { opacity: 0; transform: translate3d(-34px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes cat-rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
html[data-dir="next"] { --cat-anim: cat-in-next; }
html[data-dir="prev"] { --cat-anim: cat-in-prev; }

/* entrée : le titre, puis chaque bloc de la carte l'un après l'autre */
html[data-dir] .phead .wrap > div:first-child > *,
html[data-dir] .phead-art { animation: var(--cat-anim) .45s cubic-bezier(.2, .7, .2, 1) both; }
html[data-dir] .phead .wrap > div:first-child > :nth-child(2) { animation-delay: .03s; }
html[data-dir] .phead .wrap > div:first-child > :nth-child(3) { animation-delay: .06s; }
html[data-dir] .phead .wrap > div:first-child > :nth-child(4) { animation-delay: .09s; }
html[data-dir] .phead-art { animation-delay: .08s; }
html[data-dir] .menu-sec .course { animation: var(--cat-anim) .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.12s + var(--i, 0) * .07s); }
html[data-dir] .menu-sec .legend, html[data-dir] .menu-sec .pn-wrap { animation: cat-rise .5s cubic-bezier(.2, .7, .2, 1) .32s both; }
html[data-dir] .menu-sec .keys { animation: var(--cat-anim) .45s cubic-bezier(.2, .7, .2, 1) .08s both; }

/* sortie : le contenu part dans le sens du clic */
.leaving-next .phead .wrap, .leaving-next .menu-sec .wrap { opacity: 0; transform: translate3d(-30px, 0, 0); transition: opacity .15s ease-in, transform .15s ease-in; }
.leaving-prev .phead .wrap, .leaving-prev .menu-sec .wrap { opacity: 0; transform: translate3d(30px, 0, 0); transition: opacity .15s ease-in, transform .15s ease-in; }

@media (prefers-reduced-motion: reduce) {
  html[data-dir] .phead .wrap > div:first-child > *, html[data-dir] .phead-art, html[data-dir] .menu-sec .course,
  html[data-dir] .menu-sec .legend, html[data-dir] .menu-sec .keys, html[data-dir] .menu-sec .pn-wrap { animation: none; }
  .subnav-ind.glide { transition: none; }
}
.phead { overflow-x: clip; }
.kicker .kt { text-align: center; }

/* ---------- Mobile : tiroir et sous-menu « La carte » plus fluides ---------- */
@media (max-width: 880px) {
  /* le tiroir glisse avec une courbe douce */
  .menu { transition: transform .42s cubic-bezier(.22, .8, .2, 1), visibility 0s linear .42s; }
  .menu.open { transition: transform .42s cubic-bezier(.22, .8, .2, 1), visibility 0s; }

  /* Sous-menu : piloté uniquement par la classe .open (sur écran tactile, le survol et le focus
     restaient « collés » et l'empêchaient de se refermer), avec un repli animé */
  .menu .has-sub .sub {
    display: flex !important; flex-direction: column;
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    padding-top: 0; padding-bottom: 0;
    transition: max-height .4s cubic-bezier(.4, 0, .2, 1), opacity .25s ease, padding .4s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .4s;
  }
  .menu .has-sub.open .sub {
    max-height: 520px; opacity: 1; visibility: visible; padding-bottom: .8rem;
    transition: max-height .55s cubic-bezier(.22, .8, .2, 1), opacity .35s ease .05s, padding .55s cubic-bezier(.22, .8, .2, 1), visibility 0s;
  }
  /* les entrées apparaissent l'une après l'autre */
  .menu .sub li { opacity: 0; transform: translate3d(0, -8px, 0); transition: opacity .2s ease, transform .25s ease; }
  .menu .has-sub.open .sub li { opacity: 1; transform: none; transition: opacity .4s ease, transform .5s cubic-bezier(.22, .8, .2, 1); transition-delay: calc(var(--k, 0) * 45ms + .1s); }

  /* la flèche tourne en douceur ; aucun état « survol » collé */
  .menu .has-sub .caret::after { transition: transform .4s cubic-bezier(.22, .8, .2, 1), top .4s cubic-bezier(.22, .8, .2, 1); }
  .menu .has-sub:hover .caret::after { transform: rotate(45deg); top: 15px; }
  .menu .has-sub.open .caret::after { transform: rotate(225deg); top: 19px; }
}
@media (max-width: 880px) and (prefers-reduced-motion: reduce) {
  .menu, .menu.open, .menu .has-sub .sub, .menu .has-sub.open .sub, .menu .sub li, .menu .has-sub.open .sub li { transition: none; }
}

/* ---------- Flèches de la barre des catégories (quand une partie est hors de l'écran) ---------- */
.sn-arrow { position: absolute; top: 0; bottom: 0; z-index: 3; width: 54px; padding: 0; border: 0; display: flex; align-items: center; cursor: pointer; color: var(--brown); opacity: 0; pointer-events: none; transition: opacity .25s ease; -webkit-tap-highlight-color: transparent; }
.sn-prev { left: 0; justify-content: flex-start; padding-left: .45rem; background: linear-gradient(90deg, var(--ivory) 58%, rgba(243, 230, 208, 0)); }
.sn-next { right: 0; justify-content: flex-end; padding-right: .45rem; background: linear-gradient(270deg, var(--ivory) 58%, rgba(243, 230, 208, 0)); }
.sn-arrow.show { opacity: 1; pointer-events: auto; }
.sn-arrow svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--gold); fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 2px 8px rgba(43, 26, 22, .18); }
.sn-arrow:active svg { background: var(--gold-soft); }
@media (prefers-reduced-motion: reduce) { .sn-arrow { transition: none; } }
.subnav-in { overscroll-behavior-x: contain; }

/* Bureau : le sous-menu « La carte » se déroule vers le bas au survol, puis ses entrées apparaissent une à une */
@media (min-width: 881px) {
  .menu .has-sub > .sub {
    display: flex !important;
    visibility: hidden; opacity: 0;
    transform: translate3d(0, -6px, 0);
    clip-path: inset(0 -40px 100% -40px);
    transition: clip-path .32s cubic-bezier(.4, 0, .2, 1), opacity .2s ease, transform .32s cubic-bezier(.22, .8, .2, 1), visibility 0s linear .32s;
  }
  .menu .has-sub:hover > .sub, .menu .has-sub:focus-within > .sub, .menu .has-sub.open > .sub {
    visibility: visible; opacity: 1; transform: none;
    clip-path: inset(0 -40px -60px -40px);
    transition: clip-path .55s cubic-bezier(.5, .1, .25, 1), opacity .25s ease, transform .5s cubic-bezier(.22, .8, .2, 1), visibility 0s;
  }
  .menu .sub li { opacity: 0; transform: translate3d(0, -6px, 0); transition: opacity .15s ease, transform .15s ease; }
  .menu .has-sub:hover .sub li, .menu .has-sub:focus-within .sub li, .menu .has-sub.open .sub li {
    opacity: 1; transform: none;
    transition: opacity .3s ease, transform .4s cubic-bezier(.22, .8, .2, 1);
    transition-delay: calc(var(--k, 0) * 45ms + .12s);
  }
}
@media (min-width: 881px) and (prefers-reduced-motion: reduce) {
  .menu .has-sub > .sub, .menu .has-sub:hover > .sub, .menu .sub li, .menu .has-sub:hover .sub li { transition: none; transform: none; }
}

/* Mobile : un prix à plusieurs options (ex. 1, 2, 3 boules) passe sous le nom du plat au lieu de déborder */
@media (max-width: 700px) {
  .row:has(.p-multi) { flex-wrap: wrap; row-gap: .35rem; }
  .row:has(.p-multi) .dots { display: none; }
  .row:has(.p-multi) .p-multi { flex: 1 0 100%; white-space: normal; line-height: 1.6; }
}
