/* ==========================================================================
   Restaurant XiBei — Feuille de styles principale
   Direction artistique inspirée du sac à emporter XiBei :
   fond blanc, bordeaux profond, or « nouille », rouge brique ;
   motifs de vagues concentriques, nuages porte-bonheur et nouilles.

   Sommaire
   1.  Variables
   2.  Base & reset
   3.  Utilitaires (container, titres, boutons, ornements…)
   4.  Motifs décoratifs
   5.  Header / navigation
   6.  Hero
   7.  À propos
   8.  MENU — Notre carte (styles indépendants)
   9.  Galerie + lightbox
   10. Réservation
   11. Horaires & contact
   12. Footer
   13. Bouton d'appel mobile
   14. Animations d'apparition
   15. Responsive (tablette / mobile)
   ========================================================================== */


/* ==========================================================================
   1. Variables
   ========================================================================== */
:root {
  /* Couleurs (relevées sur le sac XiBei) */
  --color-maroon: #430102;       /* Bordeaux profond — couleur principale */
  --color-maroon-soft: #5C1414;
  --color-gold: #DEBA66;         /* Or des nouilles */
  --color-gold-soft: #EBD3A0;
  --color-rust: #A5402E;         /* Rouge brique — accent */
  --color-rust-dark: #8A3221;
  --color-white: #FFFFFF;
  --color-paper: #FBF6EC;        /* Blanc chaud (zones alternées) */
  --color-cream: #F4EAD7;        /* Crème (encarts) */
  --color-text: #2E1A17;         /* Texte courant, brun très foncé */
  --color-muted: #6B5651;
  --color-line: rgba(67, 1, 2, 0.12);

  /* Typographie */
  --font-title: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Inter", Arial, Helvetica, sans-serif;

  /* Espacements & formes */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-space: clamp(72px, 10vw, 140px);
  --radius: 3px;
  --radius-lg: 6px;
  --header-h: 84px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 0.25s var(--ease);
  --t-slow: 0.6s var(--ease);
}


/* ==========================================================================
   2. Base & reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

h1, h2, h3 {
  margin: 0;
  color: var(--color-maroon);
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.12;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

address {
  font-style: normal;
}

main {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--color-rust);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* ==========================================================================
   3. Utilitaires
   ========================================================================== */
.container {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--color-maroon);
  color: var(--color-white);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* Sur-titre en capitales */
.eyebrow {
  margin-bottom: 1.25rem;
  color: var(--color-rust);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--color-gold);
}

.section-header {
  max-width: 640px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}

.section-title {
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  letter-spacing: -0.005em;
}

.section-lead {
  margin-top: 1rem;
  margin-bottom: 0;
  color: var(--color-muted);
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-style: italic;
}

/* Ornement : petit nuage porte-bonheur entre deux filets dorés */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 22px;
  margin: 1.75rem auto 0;
}

.ornament::before,
.ornament::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--color-gold);
}

.ornament {
  background: url("../images/motif-cloud-rust.svg") center / 52px auto no-repeat;
}

.ornament::before {
  margin-right: 34px;
}

.ornament::after {
  margin-left: 34px;
}

.ornament-left {
  justify-content: flex-start;
  margin: 2rem 0;
  background-position: 62px center;
}

/* Boutons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-group-center {
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--color-maroon);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-rust);
}

.btn-outline {
  border-color: var(--color-maroon);
  color: var(--color-maroon);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--color-maroon);
  color: var(--color-white);
}

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-maroon);
}

.btn-gold:hover,
.btn-light:hover {
  background-color: var(--color-white);
  color: var(--color-maroon);
}

/* .btn-light conservé pour compatibilité : même rendu que .btn-gold */
.btn-light {
  background-color: var(--color-gold);
  color: var(--color-maroon);
}

.icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}


/* ==========================================================================
   4. Motifs décoratifs (fichiers SVG dans images/)
   ========================================================================== */
.decor {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.decor-noodles {
  background-image: url("../images/motif-noodles.svg");
}

.decor-waves {
  background-image: url("../images/motif-waves.svg");
}

.decor-waves-dark {
  background-image: url("../images/motif-waves-dark.svg");
}

.decor-cloud {
  background-image: url("../images/motif-cloud.svg");
}

.decor-cloud-gold {
  background-image: url("../images/motif-cloud-gold.svg");
}


/* ==========================================================================
   5. Header / navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-fast), border-color var(--t-fast);
}

/* Fin liseré doré sous l'en-tête une fois la page défilée */
.site-header.is-scrolled {
  border-bottom-color: var(--color-gold-soft);
  box-shadow: 0 6px 24px rgba(67, 1, 2, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 52px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.brand-wordmark {
  width: 112px;
  height: auto;
}

.brand-sub {
  margin-top: 5px;
  color: var(--color-rust);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  position: relative;
  padding-block: 6px;
  color: var(--color-maroon);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color var(--t-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-rust);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  min-height: 46px;
  padding: 12px 24px;
}

/* Bouton hamburger (masqué sur desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-maroon);
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px) clamp(80px, 10vw, 136px);
  overflow: hidden;
  background-color: var(--color-white);
}

/* Nouilles dorées qui traversent le fond, comme sur le sac */
.decor-noodles {
  top: -20px;
  right: -40px;
  width: 50%;
  height: 105%;
  opacity: 0.75;
  background-position: left top;
  background-size: cover;
}

.decor-waves-hero {
  left: -40px;
  bottom: -6px;
  width: 300px;
  height: 112px;
}

.decor-cloud-hero {
  left: 44%;
  top: 56px;
  width: 92px;
  height: 40px;
  opacity: 0.85;
}

.hero-inner {
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.hero-title {
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  letter-spacing: -0.01em;
}

/* Sur-titre intégré au H1 (référencement) : même rendu que .eyebrow */
.hero-eyebrow {
  display: block;
  font-family: var(--font-body);
  line-height: 1.75;
}

.hero-title em {
  color: var(--color-rust);
  font-style: italic;
}

.hero-lead {
  margin-top: 1.5rem;
  color: var(--color-maroon);
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.45;
}

.hero-text {
  max-width: 520px;
  margin-bottom: 2.25rem;
  color: var(--color-muted);
}

.hero-media {
  position: relative;
}

/* Cadre décalé doré */
.hero-media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
}

.hero-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 7;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(67, 1, 2, 0.12);
}

/* Sceau rond reprenant le slogan du sac */
.hero-seal {
  position: absolute;
  left: -38px;
  bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background-color: var(--color-maroon);
  box-shadow: 0 0 0 6px var(--color-white), 0 0 0 7px var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-title);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.3;
  text-align: center;
}


/* Variante « assiette » : photo détourée sur disque crème */
.hero-plate::before {
  inset: 4%;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-paper) 0 64%, transparent 64.5%),
              radial-gradient(circle, transparent 0 68%, var(--color-gold) 68.5% 69.3%, transparent 69.8%);
}

.hero-plate img {
  aspect-ratio: auto;
  width: 92%;
  margin-inline: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 26px 30px rgba(67, 1, 2, 0.28));
}

.hero-plate .hero-seal {
  left: 0;
  bottom: 4%;
}


/* ==========================================================================
   7. À propos
   ========================================================================== */
.about {
  background-color: var(--color-paper);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
}

.about-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gold-soft);
}

.about-media img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.about-media:hover img {
  transform: scale(1.03);
}

.about-content p:last-child {
  max-width: 500px;
  color: var(--color-muted);
  font-size: 1.05rem;
}


/* ==========================================================================
   8. MENU — Notre carte
   Bloc autonome : plats en photo + carte complète à onglets.
   ========================================================================== */
/* Pas d'overflow: hidden ici : il empêcherait la barre d'onglets d'être collante */
.menu {
  background-color: var(--color-white);
}

/* ---- Plats en images ---- */
.signatures-title {
  margin-bottom: 2rem;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  text-align: center;
}

.signatures {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
  margin-bottom: clamp(64px, 8vw, 104px);
}

.signature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Photo détourée posée sur un disque crème cerclé d'or */
.signature-plate {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-paper) 0 62%, transparent 62.5%),
              radial-gradient(circle, transparent 0 66%, var(--color-gold-soft) 66.5% 67.5%, transparent 68%);
}

.signature-plate img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(67, 1, 2, 0.22));
  transition: transform var(--t-slow);
}

.signature-card:hover .signature-plate img {
  transform: scale(1.05) rotate(-3deg);
}

.signature-cat {
  margin-bottom: 0.35rem;
  color: var(--color-rust);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.signature-name {
  margin-bottom: 0.5rem;
  font-size: 1.12rem;
  line-height: 1.3;
}

.signature-price {
  margin: 0;
  color: var(--color-gold);
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
}

/* ---- Onglets (activés par le JS) ---- */
/* Barre d'onglets collante : reste visible sous l'en-tête pendant la lecture */
.carte-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: clamp(24px, 3vw, 36px);
  padding-block: 12px;
  background-color: var(--color-white);
}

.carte-tabs[hidden] {
  display: none;
}

.carte-tab {
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid var(--color-gold);
  border-radius: 40px;
  background: transparent;
  color: var(--color-maroon);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.carte-tab:hover {
  border-color: var(--color-maroon);
}

.carte-tab[aria-selected="true"] {
  background-color: var(--color-maroon);
  border-color: var(--color-maroon);
  color: var(--color-gold);
}

/* ---- Rubriques ---- */
.carte-panel {
  padding: clamp(28px, 4vw, 56px);
  background-color: var(--color-paper);
  border: 1px solid var(--color-gold-soft);
  border-top: 3px solid var(--color-maroon);
  border-radius: var(--radius-lg);
}

/* Sans JS, les rubriques s'enchaînent */
.carte-panel + .carte-panel {
  margin-top: 32px;
}

.js .carte-panel + .carte-panel {
  margin-top: 0;
}

.carte-panel[hidden] {
  display: none;
}

/* Titre de rubrique : visible sans JS, remplacé par les onglets avec JS */
.carte-panel-title {
  margin-bottom: 1.5rem;
  font-size: 1.9rem;
  text-align: center;
}

.js .carte-panel-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Colonnes « journal » : les rubriques s'emboîtent sans trou */
.carte-columns {
  column-count: 2;
  column-gap: clamp(32px, 5vw, 72px);
}

.carte-group {
  margin-bottom: 1.75rem;
  break-inside: avoid;
}

.carte-group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0.75rem;
  color: var(--color-maroon);
  font-size: 1.35rem;
}

.carte-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-gold);
}

.carte-item {
  padding-block: 14px;
  border-bottom: 1px solid var(--color-line);
}

.carte-item:last-child {
  border-bottom: 0;
}

.carte-list-compact .carte-item {
  padding-block: 9px;
}

.carte-item-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}

.carte-item-name {
  color: var(--color-maroon);
  font-family: var(--font-title);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Pointillés entre le nom et le prix */
.carte-item-dots {
  flex: 1;
  min-width: 16px;
  border-bottom: 1px dotted var(--color-gold);
  transform: translateY(-4px);
}

.carte-item-price {
  flex-shrink: 0;
  color: var(--color-rust);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.carte-item-desc {
  margin: 0.35rem 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.carte-item-allergens {
  margin: 0.3rem 0 0;
  color: var(--color-muted);
  font-size: 0.76rem;
  font-style: italic;
  opacity: 0.85;
}

/* Vins */
.carte-wines {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.carte-wines thead th {
  padding-bottom: 6px;
  color: var(--color-maroon);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: right;
}

.carte-wines th[scope="row"] {
  padding: 7px 12px 7px 0;
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
}

.carte-wines td {
  padding: 7px 0 7px 12px;
  color: var(--color-rust);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.carte-wines-cat th {
  padding-top: 14px;
  color: var(--color-maroon);
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 600;
  text-align: left;
}

/* ==========================================================================
   9. Galerie + lightbox
   ========================================================================== */
.gallery {
  background-color: var(--color-paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 24px);
}

.gallery-link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-link img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.gallery-link:hover img {
  transform: scale(1.04);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: rgba(40, 2, 3, 0.95);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  max-width: min(1100px, 100%);
  text-align: center;
}

.lightbox-img {
  max-height: 80vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius);
}

.lightbox-caption {
  margin-top: 16px;
  color: var(--color-gold);
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-style: italic;
}

.lightbox-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(222, 186, 102, 0.5);
  border-radius: 50%;
  background: transparent;
  color: var(--color-gold);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast);
}

.lightbox-btn:hover {
  background-color: var(--color-gold);
  color: var(--color-maroon);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}


/* ==========================================================================
   10. Réservation (fond bordeaux, motifs dorés)
   ========================================================================== */
.reservation {
  overflow: hidden;
  background-color: var(--color-maroon);
  color: var(--color-white);
}

.decor-waves-resa-l {
  left: -30px;
  bottom: -4px;
  width: 340px;
  height: 128px;
}

.decor-waves-resa-r {
  right: -60px;
  top: -4px;
  width: 300px;
  height: 112px;
  transform: rotate(180deg);
}

.decor-cloud-resa {
  right: 12%;
  bottom: 56px;
  width: 140px;
  height: 60px;
  opacity: 0.7;
}

.reservation-inner {
  z-index: 1;
  max-width: 760px;
  text-align: center;
}

.reservation .section-title {
  color: var(--color-white);
}

.reservation-text {
  max-width: 520px;
  margin: 1.5rem auto 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.reservation-phone {
  display: block;
  margin-bottom: 2rem;
  color: var(--color-gold);
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 7vw, 4.25rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-decoration: none;
  transition: color var(--t-fast);
}

.reservation-phone:hover {
  color: var(--color-white);
}

.reservation-hours {
  margin: 1.75rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}


/* ==========================================================================
   11. Horaires & contact
   ========================================================================== */
.info {
  background-color: var(--color-white);
}

.info-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}

.hours-card,
.contact-card {
  padding: clamp(32px, 4vw, 56px);
  background-color: var(--color-white);
  border: 1px solid var(--color-gold-soft);
  border-top: 3px solid var(--color-maroon);
  border-radius: var(--radius-lg);
}

.card-title {
  margin-bottom: 2rem;
  font-size: clamp(1.75rem, 2.8vw, 2.3rem);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.95rem;
  vertical-align: top;
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: 0;
}

.hours-table th {
  color: var(--color-maroon);
  font-weight: 600;
  text-align: left;
}

.hours-table td {
  color: var(--color-muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.hours-table .sep {
  margin-inline: 6px;
  color: var(--color-gold);
}

.hours-table .is-closed th,
.hours-table .is-closed td {
  color: var(--color-rust);
  font-weight: 600;
}

/* Jour courant, mis en évidence par le script */
.hours-table .is-today th,
.hours-table .is-today td {
  color: var(--color-rust);
}

.hours-table .is-today th::after {
  content: "Aujourd'hui";
  margin-left: 10px;
  padding: 2px 9px;
  border-radius: 20px;
  background-color: var(--color-maroon);
  color: var(--color-gold);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.contact-address {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-address strong {
  color: var(--color-maroon);
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 600;
}

.contact-phone {
  margin-bottom: 2rem;
}

.contact-label {
  display: block;
  color: var(--color-rust);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-phone a {
  color: var(--color-maroon);
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-phone a:hover {
  color: var(--color-rust);
}

/* Aperçu de carte stylisé (aucun appel externe) */
.map-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
  margin-top: 2rem;
  padding: 20px 22px;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--color-cream);
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 2px, transparent 2px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.6) 2px, transparent 2px),
    linear-gradient(28deg, transparent 46%, rgba(222, 186, 102, 0.75) 46% 50%, transparent 50%);
  background-size: 56px 56px, 56px 56px, 100% 100%;
  color: var(--color-maroon);
  text-decoration: none;
  transition: box-shadow var(--t-fast);
}

.map-preview:hover {
  box-shadow: inset 0 0 0 2px var(--color-maroon);
}

.map-pin {
  position: absolute;
  top: 42px;
  left: 50%;
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 0;
  background-color: var(--color-maroon);
  transform: translateX(-50%) rotate(-45deg);
  box-shadow: 0 6px 14px rgba(67, 1, 2, 0.35);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--color-gold);
}

.map-label {
  position: relative;
  font-weight: 600;
}

.map-hint {
  position: relative;
  color: var(--color-rust);
  font-size: 0.85rem;
}


/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 7vw, 88px);
  background-color: var(--color-maroon);
  border-top: 4px solid var(--color-gold);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.decor-waves-footer {
  right: -40px;
  bottom: 56px;
  width: 280px;
  height: 104px;
  opacity: 0.45;
}

.footer-inner {
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-col p {
  margin-bottom: 0.35rem;
}

.footer-wordmark {
  width: 150px;
  margin-bottom: 18px;
}

.footer-name {
  color: var(--color-white);
  font-family: var(--font-title);
  font-size: 1.5rem;
  line-height: 1.2;
}

.footer-tagline {
  color: var(--color-gold);
}

.footer-motto {
  margin-top: 1rem;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-style: italic;
}

.footer-heading {
  color: var(--color-gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-col .footer-heading {
  margin-bottom: 1rem;
}

.site-footer a {
  text-decoration: none;
  transition: color var(--t-fast);
}

.site-footer a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px;
  border-top: 1px solid rgba(222, 186, 102, 0.25);
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 20px;
}


/* ==========================================================================
   13. Bouton d'appel mobile (affiché < 768px)
   ========================================================================== */
.mobile-call {
  display: none;
}


/* ==========================================================================
   14. Animations d'apparition (activées uniquement si JS disponible)
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* ==========================================================================
   15. Responsive
   ========================================================================== */

/* ---------- Tablette : 768px – 1023px ---------- */
@media (max-width: 1023px) {
  :root {
    --header-h: 76px;
  }

  /* backdrop-filter crée un bloc conteneur pour les éléments « fixed » :
     on le désactive pour que le tiroir de navigation couvre tout l'écran */
  .site-header {
    background-color: var(--color-white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Navigation repliée en tiroir */
  .nav-toggle {
    display: flex;
    z-index: 110;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 32px var(--gutter) 48px;
    background-color: var(--color-white);
    background-image: url("../images/motif-waves.svg");
    background-repeat: no-repeat;
    background-position: left -20px bottom -4px;
    background-size: 260px auto;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding-block: 16px;
    border-bottom: 1px solid var(--color-line);
    font-family: var(--font-title);
    font-size: 1.5rem;
    letter-spacing: 0;
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    min-height: 54px;
  }

  .decor-cloud-hero {
    display: none;
  }

  .hero-seal {
    left: auto;
    right: -12px;
    bottom: -28px;
  }

  .signatures {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }

  .carte-columns {
    column-count: 1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Mobile : < 768px ---------- */
@media (max-width: 767px) {
  body {
    /* Laisse la place au bouton d'appel fixe */
    padding-bottom: 76px;
  }

  .brand-logo {
    width: 44px;
  }

  .brand-wordmark {
    width: 96px;
  }

  .hero-inner,
  .about-inner {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
    margin-bottom: 12px;
  }

  .hero-media::before {
    inset: 14px -10px -14px 14px;
  }

  .hero-media img {
    aspect-ratio: 4 / 3;
  }

  .hero-plate {
    width: 82%;
    margin-inline: auto;
  }

  .hero-plate img {
    aspect-ratio: auto;
  }

  .hero-plate .hero-seal {
    left: -8%;
    right: auto;
    bottom: 0;
  }

  .hero-seal {
    width: 96px;
    height: 96px;
    right: 4px;
    bottom: -30px;
    font-size: 0.78rem;
    box-shadow: 0 0 0 4px var(--color-white), 0 0 0 5px var(--color-gold);
  }

  /* Les nouilles passeraient derrière le texte sur petit écran */
  .decor-noodles {
    display: none;
  }

  .decor-waves-hero {
    width: 200px;
    height: 75px;
  }

  .btn-group .btn {
    flex: 1 1 100%;
  }

  .about-media img {
    aspect-ratio: 4 / 3;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .signatures {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .signature-name {
    font-size: 1rem;
  }

  .carte-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .carte-tab {
    flex-shrink: 0;
  }

  .carte-panel {
    padding: 24px 18px;
  }

  .decor-waves-resa-l,
  .decor-waves-resa-r {
    width: 200px;
    height: 75px;
  }

  .decor-cloud-resa {
    display: none;
  }

  .hours-table th,
  .hours-table td {
    display: block;
    text-align: left;
  }

  .hours-table th {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .hours-table td {
    padding-top: 2px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .decor-waves-footer {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 24px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 60px);
  }

  .lightbox-next {
    right: calc(50% - 60px);
  }

  /* Bouton d'appel fixe en bas d'écran */
  .mobile-call {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    border-radius: var(--radius);
    background-color: var(--color-maroon);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(67, 1, 2, 0.3);
  }

  .nav-open .mobile-call {
    display: none;
  }
}

/* ---------- Grands écrans ---------- */
@media (min-width: 1600px) {
  :root {
    --container: 1320px;
  }
}
