/* LƎNDROIT — feuille de style principale
   Charte : beige #FFEFD7 · bordeaux #7A321A · terracotta logo #B5401C
   Polices : Tenor Sans (titres) + Nunito (texte) */

:root {
  --beige: #FFEFD7;
  --bordeaux: #7A321A;
  --titre-clair: #A14F2E;
  --titre-fonce: #F3B48F;
  --texte-clair: #F6E2C6;
  --ligne-claire: rgba(255, 239, 215, .28);
  --ligne-foncee: rgba(122, 50, 26, .25);
  --titre: "Tenor Sans", "Gill Sans", "Trebuchet MS", sans-serif;
  --corps: "Nunito", "Helvetica Neue", Arial, sans-serif;
  --largeur: 1200px;
  --gouttiere: clamp(20px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: env(safe-area-inset-top, 0px); }
body {
  margin: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--bordeaux);
  color: var(--texte-clair);
  font-family: var(--corps);
  font-size: 1rem;
  line-height: 1.6;
}
img, picture, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; line-height: 1.2; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--bordeaux); color: var(--beige); padding: 12px 18px;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: var(--gouttiere); }

/* Zones beige */
.zone-claire { background: var(--beige); color: var(--bordeaux); }

/* En-tête */
.site-header { background: var(--beige); color: var(--bordeaux); padding-top: env(safe-area-inset-top, 0px); position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand img { width: auto; height: 28px; }
.nav { display: flex; align-items: center; gap: 30px; font-family: var(--titre); font-size: .8125rem; letter-spacing: .18em; }
.nav-list { display: flex; gap: 30px; }
.nav a { text-decoration: none; }
.nav-list a { display: inline-block; padding: 8px 0; border-bottom: 1px solid transparent; }
.nav-list a:hover, .nav-list a[aria-current="page"] { border-bottom-color: currentColor; }
.lang-switch { padding: 8px 0; opacity: .8; }
.lang-switch:hover { opacity: 1; }
.menu-toggle { display: none; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; min-width: 200px; padding: 0 28px;
  border: 1px solid currentColor; background: transparent; color: inherit;
  font-family: var(--titre); font-size: .75rem; letter-spacing: .18em; text-decoration: none; text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}
.zone-claire .btn:hover { background: var(--bordeaux); color: var(--beige); }
.zone-claire .btn-plein { background: var(--bordeaux); color: var(--beige); border-color: var(--bordeaux); }
.zone-claire .btn-plein:hover { background: transparent; color: var(--bordeaux); }
.zone-foncee .btn { color: var(--beige); }
.zone-foncee .btn:hover { background: var(--beige); color: var(--bordeaux); }
.zone-foncee .btn-plein { background: var(--beige); color: var(--bordeaux); border-color: var(--beige); }
.zone-foncee .btn-plein:hover { background: transparent; color: var(--beige); }
.site-header .btn { min-width: 0; min-height: 44px; padding: 0 22px; }
.boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Accueil */
.hero { position: relative; background: #2E120A; }
.hero img { width: 100%; opacity: .58; }
.hero-texte { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; color: #FFF6EC; }
.hero-it { font: italic 500 clamp(1.25rem, 1rem + 1.4vw, 2.25rem) "Cormorant Garamond", Georgia, serif; }
.hero-titre { font-family: "Tenor Sans", sans-serif; font-size: clamp(2.25rem, 1rem + 6vw, 5.5rem); letter-spacing: .14em; line-height: 1; }
.btn-clair { color: #FFF6EC; border-color: #FFF6EC; margin-top: 10px; }
.btn-clair:hover { background: #FFF6EC; color: var(--bordeaux); }
@media (max-width: 600px) { .hero img { aspect-ratio: 4 / 5; object-fit: cover; } .btn-clair { width: auto; } }
.intro { padding: 72px 0 88px; text-align: center; }
.intro .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 900px; }
.intro h1 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem); color: var(--titre-clair); }
.intro p { font-size: 1.0625rem; max-width: 34em; }
.intro .boutons { margin-top: 16px; }

/* Carrousel des plats : défilement continu */
.plats { padding: 88px 0 0; overflow: hidden; }
.plats-entete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.plats h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); color: var(--titre-fonce); text-transform: uppercase; letter-spacing: .12em; }
.fleches { display: flex; gap: 10px; }
.fleches button {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 1px solid var(--beige); color: var(--beige); cursor: pointer; font-size: .75rem; font-family: var(--corps);
}
.fleches button:hover { background: var(--beige); color: var(--bordeaux); }
.defile { overflow: hidden; }
.carrousel { display: flex; width: max-content; animation: defile 34s linear infinite; }
.carrousel > li { flex: 0 0 auto; width: clamp(180px, 46vw, 240px); margin-right: 20px; }
.defile:hover .carrousel, .defile:focus-within .carrousel, .plats.is-paused .carrousel { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-25%); } }
.carrousel figure { margin: 0; }
.carrousel .cadre { overflow: hidden; }
.carrousel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.carrousel li:hover img { transform: scale(1.05); }
.carrousel figcaption { padding-top: 12px; text-align: center; }
.plat-nom { font-family: var(--titre); font-size: 1rem; color: var(--beige); }
.plat-prix { font-family: var(--titre); font-size: .875rem; margin-left: .5em; }
.plat-desc { font-size: .8125rem; font-style: italic; margin-top: 2px; }
.plats-lien { display: flex; justify-content: center; padding: 36px 0 0; }
@media (prefers-reduced-motion: reduce) {
  .carrousel { animation: none; }
  .defile { overflow-x: auto; }
  .carrousel > li[aria-hidden="true"] { display: none; }
  .fleches { display: none; }
}

/* Bandeau infos */
.infos-bandeau { margin-top: 64px; border-top: 1px solid var(--ligne-claire); }
.infos-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding: 56px 0; text-align: center; }
.infos-grille h2, .infos-grille h3 { font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; color: var(--titre-fonce); }
.infos-grille address { font-style: normal; }
.infos-grille a { text-decoration-color: var(--ligne-claire); text-underline-offset: 4px; }

/* En-tête des pages internes */
.page-titre { padding: 56px 0 64px; text-align: center; }
.page-titre h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.75rem); color: var(--titre-clair); text-transform: uppercase; letter-spacing: .12em; }

/* Carte */
.carte { padding: 64px 0 110px; }
.carte .wrap { max-width: 860px; }
.onglets { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 34px; border-bottom: 1px solid var(--ligne-claire); }
.onglets a {
  display: inline-block; padding: 14px 2px; margin-bottom: -1px; border-bottom: 1px solid transparent;
  font-family: var(--titre); font-size: .8125rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
}
.onglets a[aria-selected="true"], .onglets a:hover { color: var(--beige); border-bottom-color: var(--beige); }
.categorie { padding-top: 40px; }
.categorie > h2 { text-align: center; font-size: 1.75rem; color: var(--beige); }
.js .categorie > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sous-liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 24px; }
.sous-liens a { padding: 8px 14px; border: 1px solid var(--ligne-claire); font-size: .8125rem; text-decoration: none; }
.sous-liens a:hover { background: var(--beige); color: var(--bordeaux); }
.sous-section { padding-top: 48px; text-align: center; scroll-margin-top: 24px; }
.sous-section h3 { font-size: 1.375rem; color: var(--titre-fonce); text-transform: uppercase; letter-spacing: .14em; }
.dessin { display: block; width: 96px; height: 64px; margin: 0 auto 8px; color: var(--beige); }
.dessin svg { width: 100%; height: 100%; overflow: visible; }
.sous-section .note { font-size: .875rem; font-style: italic; margin-top: 6px; }
.plats-liste { display: grid; gap: 22px; padding-top: 26px; }
.plats-liste .plat-nom { font-size: 1.0625rem; }
.plats-liste .plat-desc { margin-top: 2px; }
.js .categorie[hidden] { display: none; }

/* Infos */
.infos-page { padding: 72px 0 110px; }
.carte-google { margin-top: 48px; border: 0; width: 100%; aspect-ratio: 16 / 9; min-height: 320px; background: var(--beige); }
.infos-page .boutons { margin-top: 48px; }

/* Pied de page */
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 40px; }
.site-footer .logo-pied { width: auto; height: 52px; }
.footer-liens { display: flex; flex-wrap: wrap; gap: 24px; font-family: var(--titre); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }
.footer-liens a { text-decoration: none; }
.footer-liens a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copyright { width: 100%; font-size: .8125rem; opacity: .85; }

/* 404 */
.erreur { padding: 120px 0; text-align: center; }
.erreur .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }

/* Mobile */
@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
    background: none; border: 1px solid currentColor; color: inherit;
    font-family: var(--titre); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; cursor: pointer;
  }
  .js .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--beige); padding: 8px var(--gouttiere) 24px; border-bottom: 1px solid var(--ligne-foncee);
  }
  .js .nav[hidden] { display: none; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a, .lang-switch { display: block; padding: 14px 0; border-bottom: 1px solid var(--ligne-foncee); }
  .nav-list a[aria-current="page"] { border-bottom-color: var(--ligne-foncee); text-decoration: underline; text-underline-offset: 6px; }
  .nav .btn { margin-top: 16px; }
  .btn { width: 100%; }
  .boutons { flex-direction: column; align-items: stretch; width: 100%; max-width: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Accueil sans photos de plats */
.infos-accueil .infos-bandeau { margin-top: 0; border-top: 0; }

/* Bouton WhatsApp flottant */
.wa-flottant {
  position: fixed; z-index: 40;
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px;
  background: var(--titre-clair); color: #FFF6EC; border-radius: 999px; text-decoration: none;
  font-family: "Tenor Sans", sans-serif; font-size: .8125rem; letter-spacing: .08em;
  box-shadow: 0 10px 24px -10px rgba(40, 12, 4, .55); transition: transform .2s ease, background-color .2s ease;
}
.wa-flottant:hover { background: var(--bordeaux); transform: translateY(-2px); }
.wa-flottant svg { flex: none; }
.site-footer { padding-bottom: 72px; }

/* ===== Carte sur fond blanc cassé, texte terracotta très foncé ===== */
:root { --brun-carte: #4A1D10; --brun-carte-doux: #6B3A28; }
.carte.zone-foncee { background: var(--beige); color: var(--brun-carte); border-top: 1px solid rgba(74, 29, 16, .12); }
.carte .onglets { border-bottom-color: rgba(74, 29, 16, .2); }
.carte .onglets a { color: var(--brun-carte-doux); }
.carte .onglets a[aria-selected="true"], .carte .onglets a:hover { color: var(--brun-carte); border-bottom-color: var(--titre-clair); }
.carte .sous-liens a { border-color: rgba(74, 29, 16, .25); color: var(--brun-carte); }
.carte .sous-liens a:hover { background: var(--brun-carte); color: var(--beige); }
.carte .sous-section h3, .carte .categorie > h2 { color: var(--titre-clair); }
.carte .dessin { color: var(--brun-carte); }
.carte .plat-nom, .carte .plat-prix { color: var(--brun-carte); }
.carte .plat-desc, .carte .note { color: var(--brun-carte-doux); }

/* ===== Titres plus gras (Tenor Sans : léger contour de la même couleur) ===== */
.intro h1, .page-titre h1, .plats h2, .sous-section h3, .categorie > h2, .infos-grille h2, .infos-grille h3, .hero-titre {
  -webkit-text-stroke: .03em currentColor; paint-order: stroke fill;
}
.infos-grille h2, .infos-grille h3 { -webkit-text-stroke: .5px currentColor; }
