/* Gorillaz Pizza · maquette Forge v3 */
:root {
  --ink: #0e1638;
  --ink-2: #1a2552;
  --blue: #2340a0;
  --pink: #e2246f;
  --pink-dark: #c3185b;
  --pink-soft: #ff8fb8;
  --paper: #f6f1ea;
  --paper-2: #ede5d9;
  --sheet: #fffdf9;
  --muted: #5b6072;
  --line: rgba(14, 22, 56, .14);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r: 20px;
  --proto: 28px;
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --body: "Figtree", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
.wrap { width: min(1240px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 2.5rem; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; z-index: 99; background: #fff; padding: .6rem 1rem; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

/* Bandeau maquette */
.proto { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--proto); line-height: var(--proto); margin: 0; background: var(--ink); color: #fff; font-size: .75rem; letter-spacing: .01em; padding-inline: 1rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proto a { color: #fff; font-weight: 600; }

/* Titres */
.eyebrow { font: 600 .8125rem/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--pink-dark); margin-bottom: 1rem; }
.eyebrow--light { color: rgba(255, 255, 255, .85); }
.eyebrow--pink { color: var(--pink-soft); }
.h2 { font: 800 clamp(2.4rem, 5.4vw, 4.4rem)/.98 var(--head); letter-spacing: -.035em; text-wrap: balance; }
.h2 em, .hero__title em, .order__title em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; color: var(--pink); }
.h2--light { color: #fff; }
.h2--light em { color: var(--pink-soft); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: 0 1.4rem; border-radius: 999px; border: 1.5px solid transparent; font: 600 .975rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .16s var(--ease); }
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 56px; padding: 0 1.8rem; font-size: 1.025rem; }
.btn--pink { background: var(--pink); color: #fff; }
.btn--pink:hover { background: var(--pink-dark); }
.btn--light { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.i { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* En-tête */
.nav { position: fixed; inset: var(--proto) 0 auto; z-index: 50; color: #fff; transition: background-color .3s, color .3s, box-shadow .3s; }
.nav__in { display: flex; align-items: center; gap: 2rem; height: 76px; }
.nav.is-solid { background: rgba(246, 241, 234, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font: 800 1.25rem/1 var(--head); letter-spacing: -.02em; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.nav__links { display: flex; gap: 1.8rem; margin-left: auto; font-weight: 500; font-size: .975rem; }
.nav__links a { text-decoration: none; opacity: .9; }
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }

/* Haut de page */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; color: #fff; isolation: isolate; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; z-index: -2; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 15, 38, .55) 0%, rgba(10, 15, 38, 0) 22%), linear-gradient(90deg, rgba(10, 15, 38, .82) 0%, rgba(10, 15, 38, .55) 45%, rgba(10, 15, 38, .1) 80%), linear-gradient(0deg, rgba(10, 15, 38, .75) 0%, rgba(10, 15, 38, 0) 40%); }
.hero__in { align-self: end; padding-top: calc(var(--proto) + 120px); padding-bottom: 3rem; }
.hero__title { font: 800 clamp(3.2rem, 8.4vw, 7.6rem)/.9 var(--head); letter-spacing: -.045em; max-width: 11ch; }
.hero__title em { display: block; margin-top: .9rem; font-size: .52em; line-height: 1; color: var(--pink-soft); white-space: nowrap; }
.hero__lead { max-width: 34rem; margin-top: 1.6rem; font-size: 1.125rem; color: rgba(255, 255, 255, .88); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .25); padding: 1.4rem 0 1.8rem; }
.hero__facts div { padding-right: 1.5rem; }
.hero__facts div + div { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, .25); }
.hero__facts strong { display: block; font: 800 1.9rem/1.1 var(--head); letter-spacing: -.03em; }
.hero__facts span { font-size: .9rem; color: rgba(255, 255, 255, .78); }

/* Carte */
.menu { padding: clamp(5rem, 10vw, 8rem) 0; }
.menu__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: 3rem; }
.menu__intro { color: var(--muted); max-width: 30rem; }
.tabs { display: none; }
.menu__sheet { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.5rem, 4vw, 3.5rem); display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "tomate creme" "boissons creme"; gap: 3rem 4.5rem; align-items: start; }
#m-tomate { grid-area: tomate; }
#m-creme { grid-area: creme; }
#m-boissons { grid-area: boissons; }
.menu__cat { font: 800 1.6rem/1 var(--head); letter-spacing: -.02em; padding-bottom: 1rem; margin-bottom: .4rem; border-bottom: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; }
.menu__cat::after { content: "33 cm"; font: 600 .8rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.menu__col--drinks .menu__cat::after { content: none; }
.dishes li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.dish__row { display: flex; align-items: baseline; gap: .6rem; }
.dish__name { font: 700 1.125rem/1.25 var(--head); letter-spacing: -.01em; }
.dish__row::after { content: ""; order: 1; flex: 1; border-bottom: 1.5px dotted rgba(14, 22, 56, .3); transform: translateY(-4px); min-width: 1rem; }
.dish__price { order: 2; font: 700 1.05rem/1 var(--head); color: var(--pink-dark); font-variant-numeric: tabular-nums; }
.dish__desc { margin-top: .3rem; font-size: .9375rem; line-height: 1.5; color: var(--muted); max-width: 38ch; }
.drinks li { display: flex; align-items: baseline; gap: .6rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .975rem; }
.drinks li::after { content: ""; order: 1; flex: 1; border-bottom: 1.5px dotted rgba(14, 22, 56, .3); transform: translateY(-4px); }
.drinks li span:last-child { order: 2; font-weight: 600; font-variant-numeric: tabular-nums; }
.menu__legal { margin-top: 1rem; font-size: .8rem; color: var(--muted); }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; }
.menu__foot p { color: var(--muted); max-width: 36rem; font-size: .95rem; }
.menu__ctas { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Bande photos */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.strip figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.strip figure:hover img { transform: scale(1.04); }
.strip figcaption { position: absolute; inset: auto 0 0; padding: 3rem 1.2rem 1.1rem; display: flex; justify-content: space-between; align-items: baseline; color: #fff; font: 700 1.15rem/1 var(--head); background: linear-gradient(0deg, rgba(10, 15, 38, .75), rgba(10, 15, 38, 0)); }
.strip figcaption span { font: 600 .9rem/1 var(--body); opacity: .9; }

/* Le Port */
.port { background: var(--ink); color: #fff; padding: clamp(5rem, 10vw, 8rem) 0; overflow: hidden; }
.port__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: center; }
.port__text > p:not(.eyebrow) { margin-top: 1.5rem; color: rgba(255, 255, 255, .8); max-width: 34rem; }
.port__list { margin-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.port__list li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.port__list strong { font: 700 1.125rem/1.3 var(--head); }
.port__list span { color: rgba(255, 255, 255, .75); font-size: .95rem; }
.port__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.port__photos { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, minmax(0, 1fr)); aspect-ratio: 1 / 1.05; }
.port__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.port__a { grid-column: 1 / 5; grid-row: 1 / 5; }
.port__b { grid-column: 4 / 7; grid-row: 3 / 6; border: 6px solid var(--ink); }
.port__c { grid-column: 2 / 4; grid-row: 5 / 7; border: 6px solid var(--ink); }

/* La maison */
.house { padding: clamp(5rem, 10vw, 8rem) 0; }
.house__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.house__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.house__photo figcaption { margin-top: .8rem; font-size: .85rem; color: var(--muted); }
.house__text .lead { margin-top: 1.8rem; font: 400 1.6rem/1.3 var(--serif); font-style: italic; color: var(--ink); }
.house__text > p:not(.eyebrow):not(.lead) { margin-top: 1.3rem; color: var(--muted); max-width: 34rem; }
.house__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.house__facts div { border-top: 2px solid var(--ink); padding-top: .9rem; }
.house__facts dt { font: 800 1.35rem/1.1 var(--head); letter-spacing: -.02em; }
.house__facts dd { color: var(--muted); font-size: .95rem; margin-top: .2rem; }

/* Avis */
.reviews { background: var(--paper-2); padding: clamp(4rem, 8vw, 6rem) 0; }
.reviews__grid { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 3rem; align-items: start; }
.reviews__big { font: 800 clamp(4rem, 9vw, 7rem)/.85 var(--head); letter-spacing: -.05em; color: var(--pink); }
.reviews__score p:last-child { margin-top: .8rem; max-width: 16rem; color: var(--muted); }
.reviews blockquote { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.reviews blockquote p { font: 400 1.6rem/1.3 var(--serif); font-style: italic; }
.reviews cite { display: block; margin-top: 1rem; font-style: normal; font-size: .9rem; color: var(--muted); }

/* Adresses */
.visit { padding: clamp(5rem, 10vw, 8rem) 0; }
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.place { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.place__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.place__body { padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; flex: 1; }
.place h3 { font: 800 2rem/1 var(--head); letter-spacing: -.03em; }
.place__addr { margin-top: .7rem; color: var(--muted); }
.hours { width: 100%; border-collapse: collapse; margin: 1.5rem 0 1.8rem; font-size: .975rem; }
.hours th, .hours td { padding: .55rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--muted); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--pink-dark); font-weight: 700; }
.hours tr.is-today th::after { content: " · aujourd'hui"; font-weight: 500; }
.place__ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto; }

/* Pied de page */
.foot { background: var(--ink); color: #fff; padding: 5rem 0 2.5rem; }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.foot__name { font: 800 clamp(3rem, 9vw, 8rem)/.85 var(--head); letter-spacing: -.05em; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; color: rgba(255, 255, 255, .75); font-size: .95rem; }
.foot__links { display: flex; gap: 1.5rem; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot__credit { margin-top: 2rem; font-size: .8rem; color: rgba(255, 255, 255, .5); }

/* Fenêtre Commander */
.order { width: min(480px, calc(100% - 2rem)); border: 0; border-radius: 24px; padding: 2rem; background: var(--sheet); color: var(--ink); }
.order::backdrop { background: rgba(10, 15, 38, .6); }
.order[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.order__close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.order__title { font: 800 2.2rem/1 var(--head); letter-spacing: -.03em; margin-bottom: 1.5rem; }
.order__choice { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border: 1.5px solid var(--line); border-radius: 16px; text-decoration: none; transition: border-color .2s, background-color .2s; }
.order__choice + .order__choice { margin-top: .7rem; }
.order__choice:hover { border-color: var(--pink); background: #fff; }
.order__choice strong { display: block; font: 700 1.2rem/1.2 var(--head); }
.order__choice small { color: var(--muted); font-size: .875rem; }
.order__num { flex: none; background: var(--pink); color: #fff; font-weight: 600; font-size: .9rem; padding: .6rem .9rem; border-radius: 999px; }

/* Apparition douce */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* Barre d'onglets (téléphone) */
.tabbar { display: none; }

@media (max-width: 999px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .menu__head { grid-template-columns: 1fr; }
  .js .tabs { display: flex; gap: .4rem; padding: .35rem; background: var(--paper-2); border-radius: 999px; margin-bottom: 1rem; overflow-x: auto; scrollbar-width: none; }
  .tabs button { flex: 1 1 0; border: 0; background: transparent; border-radius: 999px; min-height: 44px; padding: 0 1rem; font-weight: 600; font-size: .95rem; cursor: pointer; white-space: nowrap; }
  .tabs button span { color: var(--muted); font-weight: 500; margin-left: .2rem; }
  .tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
  .tabs button[aria-selected="true"] span { color: rgba(255, 255, 255, .7); }
  .menu__sheet { grid-template-columns: 1fr; grid-template-areas: none; gap: 2.5rem; }
  #m-tomate, #m-creme, #m-boissons { grid-area: auto; }
  .js .menu__col:not(.is-active) { display: none; }
  .js .menu__cat { display: none; }
  .port__grid, .house__grid { grid-template-columns: 1fr; gap: 3rem; }
  .house__photo { order: 2; }
  .reviews__grid { grid-template-columns: 1fr; gap: 2rem; }
  .visit__grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(4, 72vw); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .strip figure { scroll-snap-align: start; }
}

@media (max-width: 699px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); font-size: 1rem; }
  .wrap { width: calc(100% - 2.5rem); }
  .proto { font-size: .6875rem; }
  .nav__in { height: 64px; }
  .brand { font-size: 1.1rem; }
  .brand img { width: 38px; height: 38px; }
  .nav__cta { display: none; }
  .hero { min-height: 100svh; }
  .hero__img { object-position: 30% 50%; }
  .hero__shade { background: linear-gradient(0deg, rgba(10, 15, 38, .92) 0%, rgba(10, 15, 38, .7) 50%, rgba(10, 15, 38, .25) 100%); }
  .hero__in { padding-top: calc(var(--proto) + 100px); padding-bottom: 2rem; }
  .hero__title { font-size: clamp(3rem, 15vw, 4.2rem); }
  .hero__title em { font-size: .6em; }
  .hero__lead { font-size: 1.02rem; }
  .hide-s { display: none; }
  .hero__ctas .btn { width: 100%; }
  .hero__facts { grid-template-columns: 1fr 1fr; gap: 1.1rem 0; padding: 1.2rem 0 1.5rem; }
  .hero__facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__facts strong { font-size: 1.5rem; }
  .hero__facts span { font-size: .82rem; }
  .menu__sheet { padding: 1.2rem 1.2rem 1.5rem; }
  .menu__ctas, .menu__ctas .btn, .port__ctas .btn, .place__ctas .btn { width: 100%; }
  .port__list li { grid-template-columns: 1fr; gap: .2rem; }
  .house__facts { grid-template-columns: 1fr; }
  .reviews blockquote p { font-size: 1.4rem; }
  .foot__top .btn { width: 100%; }
  .order { margin: auto auto 0; width: 100%; max-width: none; border-radius: 24px 24px 0 0; padding: 1.6rem 1.25rem calc(1.6rem + env(safe-area-inset-bottom)); }
  .order__choice { flex-direction: column; align-items: flex-start; }
  .tabs button { padding: 0 .5rem; font-size: .9rem; }
  .tabs button span { display: none; }
  .port__photos { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 8px; aspect-ratio: auto; }
  .port__photos img { aspect-ratio: 1; border: 0 !important; grid-column: auto !important; grid-row: auto !important; }
  .port__a { grid-column: 1 / -1 !important; aspect-ratio: 4 / 3 !important; }

  .tabbar { position: fixed; z-index: 55; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; height: 64px; padding: 0 4px; border-radius: 22px; background: rgba(14, 22, 56, .94); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); box-shadow: 0 8px 28px rgba(10, 15, 38, .28); color: rgba(255, 255, 255, .7); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .6875rem; font-weight: 600; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; min-height: 48px; justify-content: center; }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a.is-active { color: #fff; }
  .tabbar__main { color: #fff !important; }
  .tabbar__main svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--pink); fill: #fff; stroke: none; margin-top: -2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .strip img, .btn { transition: none; }
  .order[open] { animation: none; }
}
