/* ==========================================================================
   L'Apibo · Bistrot de caractère · restaurant-lapibo.fr
   Design « osteria de quartier » : hero plein écran, Libre Baskerville,
   Josefin Sans en capitales espacées, bruns cuir hérités du site historique.
   ========================================================================== */

/* Polices auto-hébergées (Libre Baskerville + Josefin Sans, licence SIL OFL),
   servies depuis /fonts : zéro requête tierce. */
/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/libre-baskerville-latin-400-italic.woff2) format('woff2'), url(../fonts/libre-baskerville-latin-400-italic.woff) format('woff'); 
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/libre-baskerville-latin-ext-400-italic.woff2) format('woff2'), url(../fonts/libre-baskerville-latin-ext-400-italic.woff) format('woff'); 
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/libre-baskerville-latin-400-normal.woff2) format('woff2'), url(../fonts/libre-baskerville-latin-400-normal.woff) format('woff'); 
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/libre-baskerville-latin-ext-400-normal.woff2) format('woff2'), url(../fonts/libre-baskerville-latin-ext-400-normal.woff) format('woff'); 
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/libre-baskerville-latin-700-normal.woff2) format('woff2'), url(../fonts/libre-baskerville-latin-700-normal.woff) format('woff'); 
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/libre-baskerville-latin-ext-700-normal.woff2) format('woff2'), url(../fonts/libre-baskerville-latin-ext-700-normal.woff) format('woff'); 
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/josefin-sans-latin-300-normal.woff2) format('woff2'), url(../fonts/josefin-sans-latin-300-normal.woff) format('woff'); 
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/josefin-sans-latin-ext-300-normal.woff2) format('woff2'), url(../fonts/josefin-sans-latin-ext-300-normal.woff) format('woff'); 
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* vietnamese */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/josefin-sans-vietnamese-300-normal.woff2) format('woff2'), url(../fonts/josefin-sans-vietnamese-300-normal.woff) format('woff'); 
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* latin */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/josefin-sans-latin-400-normal.woff2) format('woff2'), url(../fonts/josefin-sans-latin-400-normal.woff) format('woff'); 
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/josefin-sans-latin-ext-400-normal.woff2) format('woff2'), url(../fonts/josefin-sans-latin-ext-400-normal.woff) format('woff'); 
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* vietnamese */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/josefin-sans-vietnamese-400-normal.woff2) format('woff2'), url(../fonts/josefin-sans-vietnamese-400-normal.woff) format('woff'); 
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* latin */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/josefin-sans-latin-600-normal.woff2) format('woff2'), url(../fonts/josefin-sans-latin-600-normal.woff) format('woff'); 
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/josefin-sans-latin-ext-600-normal.woff2) format('woff2'), url(../fonts/josefin-sans-latin-ext-600-normal.woff) format('woff'); 
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* vietnamese */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/josefin-sans-vietnamese-600-normal.woff2) format('woff2'), url(../fonts/josefin-sans-vietnamese-600-normal.woff) format('woff'); 
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

:root {
  /* Bruns cuir et crèmes, zéro noir froid.
     Contrastes vérifiés WCAG AA : encre 11:1, encre-doux 6,6:1,
     taupe 4,9:1 (petit texte OK), terracotta-fonce 4,8:1 sur crème. */
  --creme: #f9f2e7;
  --creme-2: #fffaf4;
  --beige: #e7ddc9;
  --encre: #46311e;
  --encre-doux: #6b5233;
  --taupe: #7c6650;
  --taupe-clair: #8f7a63; /* ornements et filets décoratifs seulement */
  --cuir: #35251594;
  --brun-nuit: #2b1d10;
  --ivoire: #f8f2e6;
  --terracotta: #c74932;       /* fonds de boutons, étoile */
  --terracotta-fonce: #bd3f28; /* texte et liens sur fond clair (AA) */
  --filet: rgba(70, 49, 30, .25);

  --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --sans: 'Josefin Sans', 'Century Gothic', Verdana, sans-serif;

  --t-hero: clamp(1.35rem, 2.6vw, 1.9rem);
  --t-h2: clamp(1.5rem, 3vw, 2.2rem);
  --t-h3: clamp(1.15rem, 2vw, 1.45rem);
  --t-lead: clamp(1.06rem, 1.5vw, 1.22rem);
  --t-body: 1.02rem;
  --t-label: .8rem;

  --mesure: 62ch;
  --gouttiere: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --transition: .45s cubic-bezier(.22, .8, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--serif);
  font-size: var(--t-body);
  line-height: 1.85;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

/* Lecture : titres équilibrés, paragraphes sans veuves ni orphelines */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; transition: color var(--transition), opacity var(--transition); }
a:hover { color: var(--terracotta-fonce); }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--beige); color: var(--encre); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--encre);
  color: var(--creme);
  padding: .7rem 1.2rem;
  font-family: var(--sans);
  font-size: .9rem;
}
.skip-link:focus { left: 0; }

/* ---------- Utilitaires ---------- */
.label {
  font-family: var(--sans);
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--taupe);
}

.lead { font-size: var(--t-lead); line-height: 1.78; }

.centre { text-align: center; }

.mesure { max-width: var(--mesure); margin-inline: auto; }

.filet {
  border: 0;
  height: 1px;
  background: var(--filet);
  max-width: 200px;
  margin: 2.4rem auto;
  position: relative;
  overflow: visible;
}
.filet::after {
  content: '❦';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  background: var(--creme);
  padding: 0 .7rem;
  color: var(--taupe-clair);
  font-size: .85rem;
}
.band-brun .filet::after, .resa-carte .filet::after { background: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 30;
  padding: clamp(1.1rem, 2.5vw, 1.8rem) var(--gouttiere) 0;
  text-align: center;
}
.brand { display: inline-block; text-decoration: none; }
.brand img { width: clamp(140px, 20vw, 210px); height: auto; }

.site-nav { margin-top: 1.3rem; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.site-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1.1rem, 3.2vw, 2.8rem);
}
.site-nav a {
  display: inline-block;
  padding: 1rem .1rem .85rem;
  font-family: var(--sans);
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--encre-doux);
}
.site-nav a:hover { color: var(--terracotta-fonce); }
.site-nav a[aria-current="page"] {
  color: var(--encre);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .6em;
  text-decoration-color: var(--terracotta);
}
.site-nav .nav-resa a { color: var(--terracotta-fonce); font-weight: 600; }
/* Bouton de navigation : trois filets, à l'échelle des filets du site.
   Masqué au-dessus de 900px, où la navigation s'affiche en clair. */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  /* Cible tactile de 44px ; la marge négative réaligne les filets de l'icône
     sur la gouttière, que la zone de clic déborde de 9px de chaque côté. */
  min-width: 44px;
  min-height: 44px;
  margin: 0 -9px;
  color: var(--encre);
  cursor: pointer;
}
.nav-toggle .burger { position: relative; }
.nav-toggle .burger,
.nav-toggle .burger::before,
.nav-toggle .burger::after {
  display: block;
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: transform .28s ease, background-color .28s ease;
}
.nav-toggle .burger::before,
.nav-toggle .burger::after { content: ""; position: absolute; left: 0; }
.nav-toggle .burger::before { top: -7px; }
.nav-toggle .burger::after { top: 7px; }
.nav-toggle:hover { color: var(--terracotta-fonce); }
/* Ouvert : les deux filets extrêmes se croisent, celui du milieu s'efface. */
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }

/* Header posé sur le hero plein écran de l'accueil */
.hero-plein .site-header {
  position: absolute;
  inset: 0 0 auto 0;
}
.hero-plein .site-header .brand { display: none; }
.hero-plein .site-nav { border-color: rgba(248, 242, 230, .28); }
.hero-plein .site-nav a { color: rgba(248, 242, 230, .88); }
.hero-plein .site-nav a:hover { color: #fff; }
.hero-plein .site-nav a[aria-current="page"] { color: #fff; text-decoration-color: var(--terracotta); }
.hero-plein .site-nav .nav-resa a { color: #f0b7a8; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 1.1rem 2.6rem .95rem;
  border: 1px solid var(--encre);
  color: var(--encre);
  background: transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover { background: var(--encre); color: var(--creme); }
.btn-plein { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.btn-plein:hover { background: var(--encre); border-color: var(--encre); color: var(--creme); }

.band-brun .btn, .hero-ecran .btn { border-color: var(--ivoire); color: var(--ivoire); }
.band-brun .btn:hover, .hero-ecran .btn:hover { background: var(--ivoire); color: var(--brun-nuit); }
.band-brun .btn-plein, .hero-ecran .btn-plein { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.band-brun .btn-plein:hover, .hero-ecran .btn-plein:hover { background: var(--ivoire); border-color: var(--ivoire); color: var(--brun-nuit); }

/* ---------- Hero plein écran (accueil) ---------- */
.hero-ecran {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(6rem, 14vh, 9rem) var(--gouttiere) clamp(4.5rem, 10vh, 6rem);
  color: var(--ivoire);
  isolation: isolate;
}
.hero-ecran picture, .hero-ecran .hero-fond {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-ecran .hero-fond img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  filter: brightness(1.04) saturate(1.03);
}
.hero-ecran::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 85% at 50% 46%, rgba(43, 29, 16, .10) 0%, rgba(43, 29, 16, .30) 100%),
    linear-gradient(180deg, rgba(43, 29, 16, .46) 0%, rgba(43, 29, 16, .14) 42%, rgba(43, 29, 16, .52) 100%);
}
.hero-ecran .hero-wordmark {
  width: clamp(270px, 40vw, 520px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 2px 30px rgba(20, 12, 4, .4));
}
/* Signature sous le logo : Libre Baskerville italique, ivoire */
.hero-ecran .hero-phrase {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.1vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--ivoire);
  line-height: 1.45;
  max-width: 22ch;
  margin: 1.5rem auto 0;
  text-wrap: balance;
  text-shadow: 0 1px 20px rgba(20, 12, 4, .4);
}
/* Kicker mot-clé sous la signature : sans-serif, discret, ivoire */
.hero-ecran .hero-kicker {
  font-family: var(--sans);
  font-size: clamp(.7rem, 1.4vw, .82rem);
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ivoire);
  opacity: .9;
  margin: 1rem auto 0;
  max-width: 42ch;
  line-height: 1.7;
  text-shadow: 0 1px 16px rgba(20, 12, 4, .5);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.8rem 0 0;
}
.hero-defiler {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(248, 242, 230, .9);
  text-decoration: none;
}
.hero-defiler::after {
  content: '↓';
  display: block;
  text-align: center;
  margin-top: .35rem;
  letter-spacing: 0;
  animation: defiler 2.6s ease-in-out infinite;
}
@keyframes defiler {
  0%, 100% { transform: translateY(0); opacity: .75; }
  50% { transform: translateY(7px); opacity: 1; }
}

/* ---------- Hero éditorial (pages intérieures) ---------- */
.hero {
  padding: calc(var(--section) * .75) var(--gouttiere) 0;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 1.2rem auto .8rem;
  max-width: 24ch;
}
.hero h1 em { font-style: inherit; text-transform: inherit; letter-spacing: inherit; }
.hero .lead { max-width: 52ch; margin: .8rem auto 0; color: var(--encre-doux); }

/* ---------- Sections ---------- */
.section { padding: var(--section) var(--gouttiere); }

.section h2 {
  font-size: var(--t-h2);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 1rem 0 1.4rem;
}
.section h2 em { font-style: inherit; text-transform: inherit; letter-spacing: inherit; }
.section h3 { font-size: var(--t-h3); font-weight: 700; margin: 0 0 .5rem; }
.section p:not(.label) { color: var(--encre-doux); }
.section .lead { color: var(--encre); }

/* ---------- Bandeau galerie défilant ---------- */
.galerie-bandeau {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--gouttiere) 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--taupe) transparent;
}
.galerie-bandeau figure {
  margin: 0;
  flex: 0 0 auto;
  width: clamp(240px, 30vw, 420px);
  scroll-snap-align: center;
}
.galerie-bandeau img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.galerie-bandeau figure.portrait { display: block; } /* isole la vignette du grid .portrait (portrait chef) */
.galerie-bandeau figure.portrait img { aspect-ratio: 3 / 4; }
.galerie-bandeau figcaption {
  margin-top: .55rem;
  text-align: center;
  font-style: italic;
  font-size: .88rem;
  color: var(--taupe);
}

/* ---------- Duos asymétriques ---------- */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: 1180px;
  margin-inline: auto;
}
.duo.inverse { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.duo.inverse .duo-media { order: -1; }
.duo-media { position: relative; }
.duo-media img { width: 100%; }
.duo-media::before {
  content: '';
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid var(--filet);
  z-index: -1;
}
.duo.inverse .duo-media::before { inset: 1rem 1rem -1rem -1rem; }
.duo-texte .btn { margin-top: 1.4rem; }

/* ---------- Trio de plats ---------- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3rem);
  max-width: 1180px;
  margin: 3rem auto 2.4rem;
}
.trio figure { margin: 0; }
/* Trois assiettes au même gabarit portrait, alignées : object-fit gère le recadrage */
.trio img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.trio figcaption { margin-top: 1.2rem; text-align: center; }
.trio .plat-nom {
  display: block;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.trio .plat-note {
  display: block;
  font-style: italic;
  color: var(--encre-doux);
  font-size: .95rem;
  margin-top: .3rem;
}

/* ---------- Citation en capitales, façon presse ---------- */
.citation {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}
.citation blockquote {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.citation blockquote::before { content: '« '; color: var(--taupe); }
.citation blockquote::after { content: ' »'; color: var(--taupe); }
.citation figcaption {
  margin-top: 1.6rem;
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ---------- Bande brun nuit ---------- */
.band-brun { background: var(--brun-nuit); color: var(--ivoire); }
.band-brun .label { color: var(--beige); opacity: .75; }
.band-brun p { color: rgba(248, 242, 230, .85); }
.band-brun h2 { color: var(--ivoire); }
.band-brun a:hover { color: var(--beige); }
.band-brun .filet::after { background: var(--brun-nuit); }

/* ---------- Preuves ---------- */
.preuves {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1180px;
  margin: 3rem auto 0;
  text-align: center;
}
.preuves > a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.preuves > a:hover .legende { color: var(--ivoire); }
.etoile { color: var(--terracotta); }
.preuves > div { padding: 0 1rem; }
.preuves .chiffre {
  display: block;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .06em;
}
.preuves .chiffre sup { font-size: .45em; }
.preuves .legende {
  display: block;
  margin-top: .6rem;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--taupe);
}
.band-brun .preuves .legende { color: var(--beige); opacity: .8; }

/* ---------- Menu papier ---------- */
.menu-papier {
  max-width: 760px;
  margin-inline: auto;
  background: var(--creme-2);
  border: 1px solid var(--filet);
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.4rem, 5vw, 4rem);
  position: relative;
}
.menu-papier::before {
  content: '';
  position: absolute;
  inset: .55rem;
  border: 1px solid var(--filet);
  pointer-events: none;
}
.menu-papier .filet::after { background: var(--creme-2); }
.menu-section { text-align: center; padding: 1.6rem 0 .4rem; }
.menu-section h3 {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--taupe);
  margin: 0 0 1.8rem;
}
.plat { margin: 0 0 1.9rem; }
.plat-titre {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.plat-desc {
  font-style: italic;
  color: var(--encre-doux);
  margin: .35rem auto 0;
  max-width: 46ch;
  font-size: .96rem;
}
.pastille {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  padding: .2rem .5rem 0;
  border: 1px solid var(--taupe);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--encre);
  white-space: nowrap;
}

/* ---------- Formules ---------- */
.formules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1050px;
  margin: 3rem auto 0;
}
.formule {
  border: 1px solid var(--filet);
  background: var(--creme-2);
  padding: 2.4rem 1.6rem 2.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
}
.formule h3 { font-style: italic; font-weight: 400; margin: 0; color: var(--taupe); }
.formule .pastille { min-width: 4.3rem; height: 4.3rem; font-size: 1.2rem; margin-top: .4rem; }
.formule p { margin: 0; color: var(--encre-doux); font-size: .95rem; }

/* ---------- Galerie grille ---------- */
.galerie {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  max-width: 1180px;
  margin: 3rem auto 0;
}
.galerie figure { margin: 0; }
.galerie img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.galerie figcaption {
  margin-top: .65rem;
  text-align: center;
  font-style: italic;
  font-size: .92rem;
  color: var(--taupe);
}

/* ---------- Portrait chef ---------- */
.portrait {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  max-width: 1180px;
  margin-inline: auto;
}
.portrait-media { position: sticky; top: 2rem; }
.portrait-media img { width: 100%; }
.portrait-media figcaption {
  margin-top: .8rem;
  font-style: italic;
  font-size: .9rem;
  color: var(--taupe);
  text-align: center;
}
.maisons { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.maisons li {
  padding: 1.05rem 0 .9rem;
  border-bottom: 1px solid var(--filet);
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
}
.maisons li:first-child { border-top: 1px solid var(--filet); }
.maisons .ou {
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--taupe);
  min-width: 9.5rem;
}
.maisons .quoi { font-size: .98rem; }

/* ---------- Infos pratiques ---------- */
.infos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  max-width: 1080px;
  margin: 3rem auto 0;
  text-align: center;
}
.infos h3 {
  font-family: var(--sans);
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 1rem;
}
.infos p { margin: 0; line-height: 2; }
.infos a { text-decoration: none; border-bottom: 1px solid var(--filet); }

.tel-grand {
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  letter-spacing: .04em;
  text-decoration: none;
  border: 0;
  white-space: nowrap;
}

/* ---------- Horaires, à la façon de l'osteria ---------- */
.horaires {
  width: 100%;
  max-width: 520px;
  margin: 2rem auto 0;
  border-collapse: collapse;
  font-size: .98rem;
}
.horaires th, .horaires td {
  padding: .8rem .4rem .65rem;
  border-bottom: 1px solid var(--filet);
  text-align: left;
  font-weight: 400;
}
.horaires th {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.horaires td { text-align: right; font-variant-numeric: tabular-nums; }
.horaires .ferme td { color: var(--taupe); font-style: italic; }
.band-brun .horaires th, .band-brun .horaires td { border-color: rgba(248, 242, 230, .22); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--filet); padding: .3rem 0; }
.faq details:first-of-type { border-top: 1px solid var(--filet); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 2.5rem 1.05rem 0;
  font-size: 1.02rem;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: .3rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--taupe);
  transition: transform var(--transition);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 1.4rem; color: var(--encre-doux); }

/* ---------- Réservation ---------- */
.resa-carte {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  background: var(--creme-2);
  border: 1px solid var(--filet);
  padding: clamp(2.2rem, 6vw, 4rem) clamp(1.4rem, 5vw, 3.5rem);
  position: relative;
}
.resa-carte::before {
  content: '';
  position: absolute;
  inset: .55rem;
  border: 1px solid var(--filet);
  pointer-events: none;
}
.resa-carte .filet::after { background: var(--creme-2); }
.resa-carte .tel-grand { display: inline-block; margin: .7rem 0 .4rem; font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
.resa-carte .note { font-style: italic; color: var(--encre-doux); font-size: .95rem; margin: .8rem 0 0; }
#resa-en-ligne { margin-top: 1.6rem; }
[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brun-nuit);
  color: var(--ivoire);
  padding: var(--section) var(--gouttiere) 2.5rem;
  text-align: center;
}
.site-footer .brand img { width: clamp(150px, 18vw, 200px); }
.footer-adresse {
  margin: 2rem 0 .4rem;
  font-size: .98rem;
  line-height: 2.1;
  color: rgba(248, 242, 230, .85);
}
.footer-adresse a { text-decoration: none; border-bottom: 1px solid rgba(248, 242, 230, .3); white-space: nowrap; }
.footer-nav {
  margin: 2.2rem 0 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 2.6rem;
}
.footer-nav a {
  font-family: var(--sans);
  font-size: var(--t-label);
  letter-spacing: .28em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(248, 242, 230, .8);
}
.footer-nav a:hover { color: #fff; }
.footer-rs { margin: 1.9rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; }
.footer-rs a {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(248, 242, 230, .8);
}
.footer-rs a:hover { color: #fff; }
.flegal {
  margin: 2.8rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248, 242, 230, .18);
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .08em;
  color: rgba(248, 242, 230, .6);
}
.flegal a { color: inherit; }
.flegal a:hover { color: #fff; }

/* ---------- Sticky réserver (mobile) ---------- */
.sticky-resa {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: .75rem var(--gouttiere) calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(43, 29, 16, .95);
  text-align: center;
}
.sticky-resa .btn {
  width: 100%;
  max-width: 420px;
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
  padding: .95rem 1rem .8rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-defiler::after { animation: none; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- 404 ---------- */
.page-404 {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--section) var(--gouttiere);
}
.page-404 .code {
  font-size: clamp(3.5rem, 11vw, 7rem);
  font-style: italic;
  line-height: 1;
  color: var(--taupe);
}
.page-404 h1 {
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.page-404 h1 em { font-style: inherit; text-transform: inherit; }

/* ---------- Légales ---------- */
.legal { max-width: 72ch; margin-inline: auto; }
.legal h2 { font-size: 1.25rem; letter-spacing: .14em; margin-top: 2.8rem; }
.legal p, .legal li { color: var(--encre-doux); font-size: .98rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  /* Burger dès 900 : au-dessus, les 5 items tiennent sur une ligne ;
     entre 761 et 885 la nav horizontale s'enroulait sur deux rangées. */
  /* Grille en trois colonnes : le logo garde l'axe central, le bouton se cale
     à droite. Sans elle, les deux éléments inline se posaient côte à côte. */
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 1rem;
  }
  .brand { grid-column: 2; }
  .site-nav { grid-column: 1 / -1; }
  .nav-toggle { display: flex; grid-column: 3; justify-self: end; }
  .hero-plein .nav-toggle { color: var(--ivoire); }
  .site-nav { border: 0; }
  .site-nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: .5rem 0 1rem;
    border-top: 1px solid var(--filet);
    border-bottom: 1px solid var(--filet);
    margin-top: 1rem;
  }
  .hero-plein .site-nav ul {
    background: rgba(43, 29, 16, .96);
    border-color: rgba(248, 242, 230, .25);
  }
  .site-nav.ouvert ul { display: flex; }
  .site-nav a { padding: .9rem 0 .75rem; }

  .preuves { grid-template-columns: 1fr 1fr; }
  .duo, .duo.inverse, .portrait { grid-template-columns: 1fr; }
  .duo.inverse .duo-media { order: 0; }
  .duo-media::before, .duo.inverse .duo-media::before { inset: .8rem -.6rem -.8rem .6rem; }
  .portrait-media { position: static; max-width: 460px; margin-inline: auto; }
}

@media (max-width: 760px) {
  .trio { grid-template-columns: 1fr; max-width: 440px; }
  .formules { grid-template-columns: 1fr; max-width: 440px; }
  .galerie { grid-template-columns: 1fr 1fr; }
  .preuves { grid-template-columns: 1fr; gap: 2.2rem; }
  .preuves > * { padding: 0; }
  .infos { grid-template-columns: 1fr; }
  .maisons li { flex-direction: column; gap: .2rem; }
  .sticky-resa { display: block; }
  /* Accueil : la barre « Réserver une table » n'apparaît qu'une fois le hero
     dépassé (voir main.js), pour ne pas doubler le bouton du hero. */
  body.hero-plein .sticky-resa {
    transform: translateY(100%);
    transition: transform .4s ease;
    pointer-events: none;
  }
  body.hero-plein .sticky-resa.devoilee { transform: translateY(0); pointer-events: auto; }
  body { padding-bottom: 4.4rem; }
  .galerie-bandeau figure { width: min(78vw, 340px); }
}

@media (max-width: 700px) {
  .label { letter-spacing: .28em; }
  .hero-ecran .hero-phrase { font-size: 1.12rem; }
  .section h2 { letter-spacing: .09em; font-size: clamp(1.3rem, 5.6vw, 1.7rem); }
  .hero h1 { letter-spacing: .09em; font-size: clamp(1.4rem, 6.2vw, 1.9rem); }
  .citation blockquote { letter-spacing: .04em; font-size: 1.1rem; line-height: 1.9; }
  .footer-adresse { font-size: .92rem; }
  .site-nav a { letter-spacing: .22em; }
  .footer-nav a { letter-spacing: .2em; }
}

@media (max-width: 460px) {
  .galerie { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  /* Boutons resserrés en très petit : évite que les libellés longs
     (ex. « Appeler le 01 55 34 94 50 ») ne cassent sur deux lignes. */
  .btn { padding-left: 1.4rem; padding-right: 1.4rem; letter-spacing: .16em; }
}
