/* Becco — feuille de style unique, mobile-first.
   DA reprise du site d'origine (Squarespace, Police Studio) :
   blanc #fafafa, noir, tomate #f76146, rose pale #f2d3d6 (papier des menus),
   titres 'Nero', nav 'Grasseto', corps 'Medio' (polices de marque auto-hebergees)
   + Alegreya SC en accent. */

@font-face { font-family: 'Nero'; font-display: swap; src: url('/assets/fonts/nero.woff2') format('woff2'); }
@font-face { font-family: 'Grasseto'; font-display: swap; src: url('/assets/fonts/grasseto.woff2') format('woff2'); }
@font-face { font-family: 'Medio'; font-display: swap; src: url('/assets/fonts/medio.woff2') format('woff2'); }
@font-face {
  font-family: 'Alegreya SC'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/alegreya-sc-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2026, U+20AC;
}
@font-face {
  font-family: 'Alegreya SC'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/alegreya-sc-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --vert: #1a1a1a;
  --vert-fond: #f76146;
  --corail: #f76146;
  --corail-fonce: #de4a30;
  --jaune: #f2d3d6;
  --creme: #fafafa;
  --gris: #ebebeb;
  --maxw: 1120px;
  --serif: 'Nero', 'Arial Black', system-ui, sans-serif;
  --sans: 'Medio', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--creme);
  color: var(--vert);
  line-height: 1.65;
  font-size: 1rem;
  font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
strong { font-weight: 700; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header : blanc cassé, logo centré façon Squarespace ---------- */
.skip {
  position: absolute; left: -999px; top: 0; background: var(--vert); color: #fff;
  padding: .5rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }
header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--creme);
  border-bottom: 1px solid var(--gris);
}
header.site .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .6rem 1.25rem; max-width: var(--maxw); margin: 0 auto;
}
.logo { flex-shrink: 0; }
.logo img { height: 44px; width: auto; max-width: none; }
nav.main { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
nav.main a {
  padding: .7rem .1rem;
  text-decoration: none; color: var(--vert); font-family: 'Grasseto', sans-serif;
  font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
}
nav.main a:hover { color: var(--corail); }
@media (max-width: 720px) {
  nav.main { gap: .8rem; }
  nav.main a { font-size: .74rem; letter-spacing: .06em; }
  nav.main a.hide-m { display: none; }
  .logo img { height: 36px; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; background: var(--corail); color: #1a1a1a;
  padding: .6rem 1.4rem; border-radius: 2px; text-decoration: none;
  font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--corail);
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--corail-fonce); border-color: var(--corail-fonce); color: #1a1a1a; }
.btn.ghost { background: transparent; color: var(--vert); border-color: var(--vert); }
.btn.ghost:hover { background: var(--vert); color: var(--creme); }
.btn.ghost.sur-fonce { color: var(--creme); border-color: var(--creme); }
.btn.ghost.sur-fonce:hover { background: var(--creme); color: var(--vert); }
.btn.jaune { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
.btn.jaune:hover { background: #000; border-color: #000; }

/* ---------- Hero : bloc vert, titres Bodoni ---------- */
.hero { background: var(--jaune); color: #1a1a1a; }
.hero .grid { display: grid; gap: 0; align-items: stretch; grid-template-columns: 1fr; }
.hero .texte { padding: 2.5rem 1.25rem; max-width: 40rem; margin: 0 auto; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.5vw, 3.1rem); line-height: 1.12;
  font-weight: 600; letter-spacing: .01em;
}
.hero h1 .accent { color: #1a1a1a; font-family: 'Alegreya SC', serif; }
.hero p.sous { margin: 1.1rem 0 1.6rem; font-size: 1.05rem; font-weight: 400; color: #4a3538; }
.hero .ctas { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
@media (min-width: 860px) {
  .hero .grid { grid-template-columns: 1.05fr 1fr; }
  .hero .texte { padding: 4.5rem 3rem; margin: 0; }
}

/* ---------- Sections & titres ---------- */
section { padding: 3rem 0; }
h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.2; margin-bottom: 1.5rem;
  color: var(--vert); font-weight: 600; text-align: center;
}
h2 .accent { color: var(--corail); font-family: 'Alegreya SC', serif; }
h3 { font-size: 1.1rem; margin-bottom: .5rem; font-weight: 700; }
.lead { font-size: 1.05rem; max-width: 46rem; margin-inline: auto; text-align: center; }
.centre { text-align: center; }
.mt { margin-top: 1.5rem; }

.titre-page {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.2;
  color: var(--vert); font-weight: 600; text-align: center;
}
.titre-page .accent { color: var(--corail); font-family: 'Alegreya SC', serif; }

/* ---------- Bandeau infos (horaires / adresse / contact) ---------- */
.infos {
  display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  background: var(--jaune); color: var(--vert); padding: 1.9rem;
  text-align: center;
}
.infos h3 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700;
}
.infos address { font-style: normal; }
.infos a { color: var(--vert); }
table.horaires { border-collapse: collapse; margin-inline: auto; font-size: .95rem; }
table.horaires td { padding: .15rem .45rem; vertical-align: top; text-align: left; }
table.horaires td:first-child { font-weight: 700; white-space: nowrap; }

/* ---------- Menu / carte ---------- */
.menu-section { margin-bottom: 2.5rem; }
.menu-section h2 { margin-top: 2rem; }
.menu-section .sous-note { text-align: center; font-size: .9rem; margin-top: -1rem; margin-bottom: 1.25rem; }
.menu-item {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem;
  padding: .75rem 0; border-bottom: 1px dashed var(--gris);
  max-width: 46rem; margin-inline: auto; text-align: left;
}
.menu-item .nom { font-weight: 700; letter-spacing: .02em; }
.menu-item .nom .tag {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: #c93a20; border: 1px solid #c93a20; border-radius: 2px;
  padding: .06rem .4rem; margin-left: .5rem; vertical-align: middle; white-space: nowrap;
}
.menu-item .prix { font-weight: 700; color: #c93a20; white-space: nowrap; }
.menu-item .desc { grid-column: 1 / -1; font-size: .93rem; color: #3c6a52; }
.note-carte { font-size: .9rem; margin-top: 1.5rem; text-align: center; color: #3c6a52; }

/* Encadré vert */
.encart {
  background: var(--vert-fond); color: var(--creme); padding: 1.75rem 1.5rem;
  max-width: 46rem; margin: 2rem auto; text-align: center;
}
.encart .titre { font-family: var(--serif); color: #fff; font-weight: 600; font-size: 1.35rem; display: block; margin-bottom: .5rem; }
.encart p { color: #2b0e08; }
.encart strong { color: #1a1a1a; }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--gris); }
.faq summary {
  cursor: pointer; font-weight: 700; color: #c93a20;
  padding: 1rem .25rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  text-align: left;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--vert); font-size: 1.3rem; font-weight: 400; flex-shrink: 0; }
.faq details[open] summary::after { content: '–'; }
.faq .rep { padding: 0 .25rem 1.15rem; text-align: left; }

/* ---------- Bandeau CTA vert ---------- */
.bandeau {
  background: var(--vert-fond); color: var(--creme);
  padding: 2.5rem 1.5rem; text-align: center;
}
.bandeau h2 { color: var(--creme); }
.bandeau h2 .accent { color: #1a1a1a; }
.bandeau p { margin-bottom: 1.25rem; color: #2b0e08; }
.bandeau .ctas { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }

/* ---------- Galerie ---------- */
.duo { display: grid; gap: 1.5rem; align-items: center; grid-template-columns: 1fr; }
.duo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.duo h2 { text-align: left; }
@media (min-width: 780px) { .duo { grid-template-columns: 1fr 1fr; gap: 2.5rem; } .duo.inverse > :first-child { order: 2; } }
.galerie { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.galerie img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

/* ---------- Fil d'Ariane ---------- */
.ariane { font-size: .82rem; padding: 1rem 0 0; }
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.ariane li + li::before { content: '›'; margin-right: .35rem; }
.ariane a { color: var(--vert); }

/* ---------- Footer : vert, colonnes ---------- */
footer.site { background: #1a1a1a; color: #e8e8e8; margin-top: 3rem; font-size: .93rem; }
footer.site .wrap { padding: 2.5rem 1.25rem; }
footer.site .colonnes { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
footer.site h3 {
  color: var(--corail); font-size: .8rem; margin-bottom: .4rem;
  text-transform: uppercase; letter-spacing: .14em; font-weight: 700;
}
footer.site a { color: #e8e8e8; }
footer.site a:hover { color: #fff; }
footer.site address { font-style: normal; }
footer.site .legal {
  margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 14%);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}
footer.site ul { list-style: none; }

/* Accessibilité : focus clavier visible */
:focus-visible { outline: 3px solid var(--corail); outline-offset: 2px; }
.famille { text-align: center; font-size: .8rem; padding: 0 1rem 1.25rem; opacity: .9; }
footer.site .famille a, .famille a { color: inherit; }

/* Accessibilité : respecter la préférence de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover { transform: none; }
}

/* Sommaire d'ancres des pages carte (cibles tactiles >= 44px) */
.sommaire-carte { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.5rem; }
.sommaire-carte a {
  display: inline-block; padding: .55rem .9rem; border-radius: 999px;
  text-decoration: none; font-size: .85rem; font-weight: 600;
  border: 1px solid currentColor;
}
.menu-section { scroll-margin-top: 95px; }
.sommaire-carte a { color: #1a1a1a; }
.sommaire-carte a:hover { background: var(--jaune); border-color: var(--jaune); }

/* le bouton Réserver de l'en-tête garde sa couleur de bouton */
nav.main a.btn { color: #1a1a1a; }
