/* =========================================================
   Bistrot Breton : styles du site
   ========================================================= */

/* --- Couleurs et réglages communs (direction artistique de docs/SPEC.md) --- */
/* Police des titres, hébergée sur le site (Roboto Slab, licence libre SIL OFL, Google Fonts) :
   un seul fichier « variable » couvre toutes les graisses ; sous-ensemble latin (accents français) */
@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto-slab-latin.woff2") format("woff2");
}

:root {
  --charcoal: #1a1a1a;
  /* Noir pur du bandeau, du pied de page et du bloc Événements (choix de l'utilisateur) */
  --black: #000000;
  --cream: #f2eee8;
  --off-white: #faf9f7;
  --gold: #b08d5f;
  --gold-dark: #94744a;
  --text: #2b2b2b;
  --text-muted: #444444;
  /* Couleurs de texte lisibles (contraste ≥ 4,5 mesuré sur les palettes, 2026-11-01) :
     or clair pour les petits textes sur fond foncé, bronze sur fond clair.
     L'or d'origine (--gold) reste pour les boutons, liserés et fonds. */
  --gold-on-dark: #e0c79c;
  --bronze: #5f4526;
  --white: #ffffff;
  /* Voile clair posé sur les palettes blanchies, pour garder le texte lisible */
  --light-veil: rgba(246, 246, 244, 0.74);
  /* Voile noir posé sur les palettes foncées (plus bas = bois plus visible) */
  --dark-veil: rgba(0, 0, 0, 0.58);
  /* Touches de pin naturel, dans chaque bloc : une tache dorée en haut à gauche,
     une plus petite et plus légère en bas à droite (volontairement pas symétrique) ;
     leur taille grandit avec la largeur de l'écran (vw) pour rester visibles sur ordinateur.
     Foncé : mode « screen » (éclaire en doré). Clair : plus de pin (la teinte miel ne plaisait pas) :
     des zones gris froid en mode « multiply », comme du bois blanchi et grisé par le temps. */
  --pine-dark:
    radial-gradient(max(500px, 48vw) max(380px, 30vw) at 0 320px, rgba(205, 130, 50, 0.7), transparent) no-repeat,
    radial-gradient(max(400px, 38vw) max(300px, 24vw) at 100% calc(100% - 140px), rgba(205, 130, 50, 0.55), transparent) no-repeat;
  --pine-light:
    radial-gradient(max(500px, 48vw) max(380px, 30vw) at 0 320px, rgba(120, 126, 132, 0.28), transparent) no-repeat,
    radial-gradient(max(400px, 38vw) max(300px, 24vw) at 100% calc(100% - 140px), rgba(120, 126, 132, 0.22), transparent) no-repeat;
  --open: #3fbf6a;
  --closed: #e0524a;

  /* Polices : Roboto Slab (titres) est hébergée dans fonts/ ; le texte courant utilise
     les polices de l'appareil (choix de l'utilisateur, 2026-11-01). */
  --font-title: "Roboto Slab", Rockwell, Georgia, serif;
  --font-text: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  /* Police géométrique des affiches (proche de celle de l'affiche Knight Clubbers) */
  --font-poster: "Poppins", "Avenir Next", "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --header-height: 72px;
  --container: 1180px;
}

/* --- Remise à zéro légère --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Les ancres ne passent pas sous l'en-tête fixe */
  scroll-padding-top: var(--header-height);
}

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

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

/* Contour visible pour la navigation au clavier */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Texte lu par les lecteurs d'écran mais invisible à l'écran */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Sur-titre en capitales espacées */
.eyebrow {
  display: block;
  font-family: var(--font-text);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-on-dark);
  margin-bottom: 1rem;
}

/* --- Boutons : rectangulaires, capitales espacées, sans arrondi --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 0;
  font-family: var(--font-text);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

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

.btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

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

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

/* Variante pour fond clair */
.btn--outline-dark {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}

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

.btn--small {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

/* =========================================================
   En-tête fixe
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Bandeau sur toute la largeur de l'écran (pas limité à la colonne centrale) :
   indicateur ouvert/fermé (et logo) calés à gauche, menu calé à droite */
.site-header .container {
  max-width: none;
}

@media (min-width: 960px) {
  .site-header .container {
    padding: 0 2rem;
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}

.site-header__logo {
  flex-shrink: 0;
}

/* Accueil : pas de petit logo dans le bandeau (grand logo en tête, logo dans le pied de page) ;
   sur les autres pages, il sert à revenir à l'accueil */
.site-header--home .site-header__logo {
  display: none;
}

.site-header__logo img {
  height: 44px;
  width: auto;
}

/* Indicateur ouvert / fermé */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-muted);
}

.status--open .status__dot {
  background: var(--open);
  box-shadow: 0 0 0 3px rgba(63, 191, 106, 0.25);
}

.status--closed .status__dot {
  background: var(--closed);
}

.status {
  margin: 0;
}

.status__detail {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

/* Petits écrans : on garde seulement « Ouvert / Fermé » */
@media (max-width: 419px) {
  .status__detail {
    display: none;
  }
}

/* Bouton hamburger (mobile) */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 12px;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-toggle__bar {
  display: block;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}

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

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

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

/* Menu : panneau déroulant sur mobile */
.site-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--black);
  padding: 1rem 1.25rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  /* Caché par défaut ; js/main.js ajoute la classe is-open */
  display: none;
}

.site-nav.is-open {
  display: block;
}

.site-nav__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.site-nav__link {
  display: block;
  padding: 0.9rem 0;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--gold);
}

.site-nav .btn {
  width: 100%;
}

/* Bureau : menu en ligne, plus de hamburger */
@media (min-width: 960px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: none;
  }

  .site-nav__list {
    display: flex;
    gap: 1.75rem;
    margin: 0;
  }

  .site-nav__link {
    padding: 0.5rem 0;
    font-size: 0.8rem;
    border: 0;
  }

  .site-nav .btn {
    width: auto;
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 3rem) 0 4rem;
  color: var(--white);
  /* Mur de palettes sous un voile noir ; couleur de secours pendant le chargement */
  background:
    linear-gradient(var(--dark-veil), var(--dark-veil)),
    var(--pine-dark),
    url("../images/wood-grey.webp") center / cover,
    #1e1e1e;
  background-blend-mode: normal, screen, screen, normal;
}

.hero__inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

/* Grand logo, puis le texte encadré par les coins dorés (le logo reste hors du cadre) */
.hero__intro {
  text-align: center;
}

.hero__logo {
  display: block;
  width: min(86%, 520px);
  height: auto;
  margin: 0 auto 1.75rem;
}

/* Bloc texte avec coins dorés en équerre */
.hero__text {
  position: relative;
  padding: 2rem 1.5rem;
}

.hero__text::before,
.hero__text::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--gold);
  border-style: solid;
  pointer-events: none;
}

.hero__text::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.hero__text::after {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

.hero__title {
  font-size: clamp(1.5rem, 5.5vw, 2.4rem);
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  max-width: 34em;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Bloc « Événements » : une affiche à la fois */
.hero__events {
  max-width: 360px;
  justify-self: center;
  width: 100%;
}

.hero__events-title {
  margin-bottom: 1rem;
  text-align: center;
}

.events {
  position: relative;
}

/* Les affiches défilent horizontalement, une par une (glissement du doigt sur téléphone) */
.events__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.events__track::-webkit-scrollbar {
  display: none;
}

.hero__event {
  margin: 0;
}

.events__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.events__poster img {
  display: block;
  width: 100%;
}

/* Flèches discrètes, posées sur les bords de l'affiche */
.events__arrow {
  position: absolute;
  z-index: 2;
  top: 32%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: var(--white);
  opacity: 0.75;
  cursor: pointer;
  transition: opacity 0.2s, background-color 0.2s;
}

.events__arrow:hover,
.events__arrow:focus-visible {
  opacity: 1;
  background: rgba(0, 0, 0, 0.7);
}

.events__arrow[hidden] {
  display: none;
}

.events__arrow--prev {
  left: 6px;
}

.events__arrow--next {
  right: 6px;
}

/* Photo du Comedy Club avec le logo en surimpression */
/* Affiche du Comedy Club, construite comme l'affiche Knight Clubbers (format 4:5) :
   date en haut à gauche, logo dans le bas de l'affiche.
   Les tailles sont en cqw (pourcentage de la largeur de l'affiche), comme du texte imprimé
   sur l'image. Pas d'ombre portée : dans le carrousel, elle se voyait pendant le défilement. */
.hero__poster {
  position: relative;
  container-type: inline-size;
}

.hero__poster > img:first-child,
.events__poster img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Dégradés sombres en haut (date) et en bas (logo) pour la lisibilité */
.hero__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), transparent 34%, transparent 48%, rgba(0, 0, 0, 0.6));
  pointer-events: none;
}

.hero__poster-logo {
  position: absolute;
  z-index: 1;
  top: 73%;
  left: 8.6%;
  width: 76%;
  height: auto;
}

/* Prochaine date : même place et même typographie que « MER. 18 NOV » sur l'affiche Knight Clubbers */
.hero__poster-date {
  position: absolute;
  z-index: 1;
  top: 8%;
  left: 8.6%;
  margin: 0;
  color: var(--white);
  text-align: left;
}

.hero__poster-date[hidden] {
  display: none;
}

.hero__poster-date-value {
  display: block;
  font-family: var(--font-poster);
  font-size: 8.6cqw;
  font-weight: 700;
  line-height: 1;
}

.hero__poster-date-time {
  display: block;
  margin-top: 0.4cqw;
  font-family: var(--font-poster);
  font-size: 4.2cqw;
  font-weight: 400;
  /* Lettres et mots resserrés, comme « De 19h à 22h » sur l'affiche Knight Clubbers */
  letter-spacing: -0.02em;
  word-spacing: -0.03em;
}

/* Texte sous chaque affiche, dans l'esprit des affiches : police géométrique, alignement à gauche
   avec le même retrait que la date et le logo (8,6 % de la largeur), titre en capitales grasses */
.hero__event figcaption {
  margin-top: 1.1rem;
  padding: 0 8.6%;
  font-family: var(--font-poster);
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
}

.event__title {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-poster);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.event__date {
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 600;
  color: var(--white);
}

.event__info {
  display: block;
}

/* Bouton aligné à gauche, comme le texte */
.hero__event-btn {
  display: inline-flex;
  margin: 1.1rem 0 0;
  font-family: var(--font-poster);
}

/* Emplacement neutre pour une photo pas encore fournie */
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  aspect-ratio: 3 / 4;
  padding: 1.5rem;
  border: 2px dashed rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  font-size: 0.85rem;
}

.photo-placeholder__label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-on-dark);
}

/* Téléphone et tablette : les événements deviennent un second « écran » sur fond noir,
   qui occupe toute la largeur jusqu'au bas du hero */
@media (max-width: 959px) {
  .hero {
    padding: var(--header-height) 0 0;
  }

  /* Deux « écrans » : chacun fait au moins la hauteur visible sous l'en-tête
     (svh = hauteur d'écran sans la barre d'adresse du navigateur) */
  .hero__inner {
    gap: 0;
    grid-template-rows: minmax(calc(100svh - var(--header-height)), auto) auto;
  }

  .hero__text {
    margin: 2rem 0;
  }

  .hero__events {
    max-width: none;
    width: auto;
    justify-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100svh - var(--header-height));
    margin: 0 -1.25rem;
    padding: 2rem 1.25rem;
    background: var(--black);
  }

  .events {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (min-width: 600px) {
  .hero__text {
    padding: 2.5rem 2.5rem;
  }
}

@media (min-width: 960px) {
  .hero {
    padding: calc(var(--header-height) + 5rem) 0 6rem;
  }

  /* Affiche à droite du texte sur grand écran */
  .hero__inner {
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
  }
}

/* =========================================================
   Sections communes
   ========================================================= */
.section {
  padding: 4.5rem 0;
}

.section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section__title {
  font-size: clamp(1.5rem, 4.6vw, 2.2rem);
  color: var(--charcoal);
}

/* Tous les titres en capitales espacées (choix de l'utilisateur, 2026-11-01) ;
   l'accroche de l'accueil et la phrase d'ouverture de l'historique restent des phrases */
.section__title,
.menu__category-title,
.menu__group-title,
.universe-card__title,
.infos__heading {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Première section d'une page : laisse la place à l'en-tête fixe */
.page-top {
  padding-top: calc(var(--header-height) + 3rem);
}

/* Texte provisoire, clairement signalé (à remplacer par le vrai contenu) */
.placeholder-text {
  max-width: 40em;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border: 2px dashed var(--gold);
  color: var(--text-muted);
  font-style: italic;
}

.placeholder-text__label,
.placeholder-note::before {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.placeholder-note {
  display: inline-block;
  margin: 0.5rem 0 0;
  padding: 0.5rem 1rem;
  border: 1px dashed var(--gold);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.placeholder-note::before {
  content: "Provisoire";
  margin-bottom: 0.2rem;
}

/* Sur-titres sur fond clair */
.story .eyebrow,
.infos .eyebrow,
.reviews .eyebrow,
.legal .eyebrow {
  color: var(--bronze);
}

/* =========================================================
   L'histoire
   ========================================================= */
/* Palettes blanchies (lames horizontales) sous un voile clair */
.story {
  background:
    var(--pine-light),
    linear-gradient(var(--light-veil), var(--light-veil)),
    url("../images/wood-light-grey.webp") center / cover,
    var(--off-white);
  background-blend-mode: multiply, multiply, normal, normal;
  text-align: center;
}

.story .placeholder-text {
  background: rgba(255, 255, 255, 0.7);
}

.story__text {
  max-width: 38em;
  /* Le navigateur évite de laisser un mot seul sur la dernière ligne */
  text-wrap: pretty;
  margin: 0 auto 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

/* Première phrase de l'historique, mise en avant */
.story__lead {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--charcoal);
}

.story__inner {
  max-width: 760px;
}

/* =========================================================
   La carte : fond crème, triskels en filigrane sur les bords
   ========================================================= */
/* Palettes foncées sous un voile noir (alterne avec les palettes claires voisines) */
.menu {
  position: relative;
  /* « clip » et non « hidden » : un bloc en « hidden » peut défiler à l'intérieur de lui-même
     quand on clique un onglet (#menu-…), ce qui décalait la carte sous la section précédente */
  overflow: hidden;
  overflow: clip;
  color: var(--white);
  background:
    linear-gradient(var(--dark-veil), var(--dark-veil)),
    var(--pine-dark),
    /* Section très longue : l'image est répétée à sa taille réelle au lieu d'être étirée (floue) */
    url("../images/wood-grey.webp") center top / 1536px auto repeat,
    #1e1e1e;
  background-blend-mode: normal, screen, screen, normal;
}

.menu .section__title {
  color: var(--white);
}

.menu .placeholder-note {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.3);
}

.menu::before,
.menu::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  background: url("../images/triskel.svg") center / contain no-repeat;
  filter: invert(1); /* triskel noir passé en blanc pour le fond sombre */
  opacity: 0.06;
  pointer-events: none;
}

.menu::before {
  top: -120px;
  left: -260px;
}

.menu::after {
  bottom: -120px;
  right: -260px;
}

.menu .container {
  position: relative;
  z-index: 1;
}

/* Onglets : une ligne qui défile horizontalement sur mobile */
.menu__tabs {
  margin-bottom: 0.5rem;
}

/* Lien « Toute la carte » au-dessus du titre */
.menu__back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.menu__back:hover {
  color: var(--gold-on-dark);
}

/* Bas de page : liens vers les deux autres cartes */
.menu__other {
  margin-top: 3rem;
  text-align: center;
}

.menu__other-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.menu__tab-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin: 0 -1.25rem;
  padding: 0 1.25rem 0.5rem;
  scrollbar-width: thin;
}

/* Peu d'onglets : ils se partagent toute la largeur */
.menu__tab-row--fill {
  overflow: visible;
  margin: 0;
  padding: 0;
}

.menu__tab-row--fill .menu__tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.6rem 0.5rem;
  letter-spacing: 0.06em;
  white-space: normal;
  text-align: center;
}

/* Encart « du moment » en tête de catégorie : un polaroïd légèrement incliné et sa composition */
.featured {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 1.75rem 0 1rem;
}

.polaroid {
  flex: 0 0 auto;
  width: 54%;
  max-width: 300px;
  margin: 0;
  padding: 8px 8px 0;
  background: #fbfaf7;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: rotate(-3deg);
}

/* Les crêpes (bande claire) penchent dans l'autre sens */
.menu__category:nth-of-type(even) .polaroid {
  transform: rotate(2.5deg);
}

.polaroid__img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.polaroid__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.04);
}

.polaroid__caption {
  padding: 0.55rem 0.2rem 0.75rem;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.25;
  text-align: center;
  color: var(--charcoal);
}

.featured__label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-on-dark);
}

.featured__description {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.featured__description--placeholder {
  font-style: italic;
  opacity: 0.7;
}

/* Texte dans une bande claire */
.menu__category:nth-of-type(even) .featured__label {
  color: var(--bronze);
}

.menu__category:nth-of-type(even) .featured__description {
  color: var(--text);
}

@media (min-width: 600px) {
  .featured {
    gap: 2.25rem;
  }

  .polaroid {
    width: 300px;
    padding: 12px 12px 0;
  }

  .polaroid__caption {
    font-size: 1.1rem;
  }

  .featured__description {
    font-size: 1.05rem;
    max-width: 28em;
  }
}

/* Ordinateur : encart centré, composition à droite de la photo, en petit paragraphe */
@media (min-width: 900px) {
  .featured {
    justify-content: center;
    gap: 3rem;
  }

  .featured__text {
    max-width: 16em;
  }

  .featured__label {
    font-size: 0.9rem;
  }

  .featured__description {
    font-size: 1.35rem;
    line-height: 1.45;
  }
}

/* Intertitre facultatif entre deux catégories (ex. « Les desserts ») */
.menu__group-title {
  margin: 2rem 0;
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 700;
  text-align: center;
  color: var(--white);
}

.menu__tab {
  flex-shrink: 0;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--white);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.menu__tab:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* Chaque catégorie forme une bande sur toute la largeur de l'écran :
   une sur deux passe en clair (palettes blanchies), pour aérer la carte */
.menu__category {
  position: relative;
  padding: 3rem 0;
}

.menu__category::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
}

.menu__category:nth-of-type(odd)::before {
  background:
    linear-gradient(var(--dark-veil), var(--dark-veil)),
    var(--pine-dark),
    url("../images/wood-grey.webp") center top / 1536px auto repeat,
    #1e1e1e;
  background-blend-mode: normal, screen, screen, normal;
}

.menu__category:nth-of-type(even)::before {
  background:
    var(--pine-light),
    linear-gradient(var(--light-veil), var(--light-veil)),
    url("../images/wood-light-mixed-grey.webp") center / cover,
    var(--off-white);
  background-blend-mode: multiply, multiply, normal, normal;
}

.menu__category:nth-of-type(even) .menu__category-title,
.menu__category:nth-of-type(even) .dish__name {
  color: var(--charcoal);
}

.menu__category:nth-of-type(even) .menu__note {
  color: var(--bronze);
}

.menu__category:nth-of-type(even) .dish {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.menu__category:nth-of-type(even) .dish__description {
  color: var(--text-muted);
}

.menu__category-title {
  font-size: 1.2rem;
  color: var(--white);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 0.5rem;
}

/* Précision sous le titre d'une catégorie (ex. « accompagnées de salade ») */
.menu__note {
  margin: 0.75rem 0 0.25rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--gold-on-dark);
}

.menu__dishes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  column-gap: 3rem;
}

.dish {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dish__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.dish__name {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.dish__price {
  flex-shrink: 0;
  font-weight: 500;
  color: var(--gold-on-dark);
}

.dish__description {
  margin: 0.25rem 0 0;
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .menu__tab-row {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    margin: 0;
    padding: 0;
  }

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

/* =========================================================
   Page « La carte » : choix Crêperie / Brasserie / Bar
   ========================================================= */
.universes {
  min-height: 100svh;
  color: var(--white);
  background:
    linear-gradient(var(--dark-veil), var(--dark-veil)),
    var(--pine-dark),
    url("../images/wood-grey.webp") center / cover,
    #1e1e1e;
  background-blend-mode: normal, screen, screen, normal;
}

.universes .section__title {
  color: var(--white);
}

/* Les trois vignettes occupent toute la hauteur restante de l'écran, sous le titre :
   empilées sur téléphone, côte à côte sur ordinateur */
.universes {
  display: flex;
  flex-direction: column;
  padding-bottom: 1.5rem;
}

.universes > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.universes .section__header {
  margin-bottom: 1.5rem;
}

.universes__list {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 420px;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
}

.universe-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}

.universe-card:hover {
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.5);
}

.universe-card__title {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 6vw, 2.1rem);
  font-weight: 700;
}

.universe-card__text {
  display: block;
  max-width: 18em;
  margin: 0 auto;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
}

.universe-card__more {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-on-dark);
}

@media (min-width: 768px) {
  .universes {
    padding-bottom: 3rem;
  }

  .universes .section__header {
    margin-bottom: 2.5rem;
  }

  .universes__list {
    min-height: 360px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
    gap: 1.5rem;
  }

  .universe-card {
    padding: 3rem 2rem;
  }

  .universe-card__title {
    font-size: clamp(1.6rem, 2.3vw, 2.1rem);
    margin-bottom: 0.75rem;
  }

  .universe-card__text {
    font-size: 1.05rem;
  }

  .universe-card__more {
    margin-top: 1.5rem;
    font-size: 0.85rem;
  }
}

/* =========================================================
   Page « Réserver » : formulaire DISH dans un cadre noir liseré d'or, sur palettes foncées
   ========================================================= */
.booking {
  min-height: 100svh;
  color: var(--white);
  background:
    linear-gradient(var(--dark-veil), var(--dark-veil)),
    var(--pine-dark),
    url("../images/wood-grey.webp") center / cover,
    #1e1e1e;
  background-blend-mode: normal, screen, screen, normal;
}

.booking .section__title {
  color: var(--white);
}

.booking__inner {
  max-width: 760px;
  text-align: center;
}

.booking__intro {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.92);
}

.booking__widget {
  padding: 1.25rem 0.5rem 0;
  background: #141414;
  border-top: 3px solid var(--gold);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  text-align: left;
}

/* Le cadre DISH affiche en haut le nom « Bistrot breton », déjà présent partout sur le site :
   on remonte le cadre de quelques pixels et le bloc qui le contient coupe ce qui dépasse.
   À réajuster si DISH change la mise en page de son formulaire. */
.booking__widget > div {
  overflow: hidden;
}

/* Hauteur fixe (DISH ne la communique pas) : assez pour l'étape « coordonnées »,
   la plus longue, bouton « Envoyer » compris */
.booking__widget iframe {
  display: block;
  height: 700px;
  margin-top: -38px;
}

/* Ordinateur : le formulaire DISH fait ~520 px de large et son étape la plus longue ~600 px de haut */
@media (min-width: 768px) {
  .booking__widget {
    max-width: 600px;
    margin: 0 auto;
  }

  .booking__widget iframe {
    height: 610px;
  }
}

/* Conseil « terrasse », posé juste au-dessus du formulaire */
.booking__tip {
  max-width: 600px;
  margin: 0 auto 1rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  text-align: left;
}

.booking__tip strong {
  color: var(--gold-on-dark);
}

.booking__phone {
  margin: 2.5rem 0 0.75rem;
  color: rgba(255, 255, 255, 0.92);
}

/* =========================================================
   Galerie
   ========================================================= */
/* Palettes claires et mêlées sous un voile clair */
.gallery {
  background:
    var(--pine-light),
    linear-gradient(var(--light-veil), var(--light-veil)),
    url("../images/wood-light-mixed-grey.webp") center / cover,
    var(--off-white);
  background-blend-mode: multiply, multiply, normal, normal;
}

/* Variante foncée (page « Le bistrot », entre l'histoire et les avis, toutes deux claires) */
.gallery--dark {
  background:
    linear-gradient(var(--dark-veil), var(--dark-veil)),
    var(--pine-dark),
    url("../images/wood-grey.webp") center / cover,
    #1e1e1e;
  background-blend-mode: normal, screen, screen, normal;
}

.gallery--dark .section__title {
  color: var(--white);
}

/* Photos façon polaroïds posés sur une table, un peu de travers */
.photo-table {
  position: relative;
  height: 470px;
  max-width: 760px;
  margin: 0 auto;
}

.photo-table__photo {
  position: absolute;
  width: 46%;
  max-width: 300px;
  padding: 9px 9px 34px;
  border: 0;
  background: #fbfaf7;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
  transform: rotate(var(--angle));
  cursor: zoom-in;
  animation: photo-deal 0.45s ease-out backwards;
  transition: transform 0.25s;
}

.photo-table__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Au survol, la photo se redresse légèrement et passe au-dessus */
.photo-table__photo:hover,
.photo-table__photo:focus-visible {
  z-index: 10 !important;
  transform: rotate(0deg) scale(1.04);
}

/* Les photos arrivent comme si on les posait sur la table */
@keyframes photo-deal {
  from {
    opacity: 0;
    transform: translateY(-24px) rotate(calc(var(--angle) * 2));
  }
  to {
    opacity: 1;
    transform: rotate(var(--angle));
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-table__photo {
    animation: none;
  }
}

.photo-table__more {
  display: flex;
  width: fit-content;
  margin: 1.75rem auto 0;
}

.photo-table__more[hidden] {
  display: none;
}

@media (min-width: 900px) {
  .photo-table {
    height: 660px;
  }
}

/* Agrandissement d'une photo */
.lightbox {
  max-width: min(92vw, 1100px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
}

.lightbox__figure {
  margin: 0;
}

.lightbox__img {
  max-height: 82vh;
  width: auto;
  margin: 0 auto;
}

.lightbox__close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: var(--charcoal);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* =========================================================
   Infos & accès : palettes claires, juste sous le hero foncé de l'accueil
   ========================================================= */
.infos {
  background:
    var(--pine-light),
    linear-gradient(var(--light-veil), var(--light-veil)),
    url("../images/wood-light-grey.webp") center / cover,
    var(--off-white);
  background-blend-mode: multiply, multiply, normal, normal;
}

.infos__grid {
  display: grid;
  gap: 2.5rem;
}

.infos__heading {
  font-size: 1.05rem;
  color: var(--bronze);
  margin-bottom: 1rem;
}

.infos__heading:not(:first-child) {
  margin-top: 2rem;
}

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.hours th,
.hours td {
  padding: 0.55rem 0.4rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  vertical-align: top;
}

.hours thead th {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hours tbody th {
  font-weight: 500;
}

/* Jour courant mis en avant */
.hours .is-today th,
.hours .is-today td {
  color: var(--bronze);
  font-weight: 700;
}

.infos__note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.infos__address {
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.infos__address a {
  color: var(--charcoal);
}

.infos__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags li {
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 0.86rem;
}

@media (min-width: 960px) {
  .infos__grid {
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 3rem;
  }
}

/* =========================================================
   Avis clients
   ========================================================= */
/* Palettes verticales sous un voile clair (les cartes d'avis restent blanches) */
.reviews {
  background:
    var(--pine-light),
    linear-gradient(var(--light-veil), var(--light-veil)),
    url("../images/wood-vertical-grey.webp") center / cover,
    var(--cream);
  background-blend-mode: multiply, multiply, normal, normal;
}

.reviews__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.review {
  height: 100%;
  margin: 0;
  padding: 2rem 1.75rem;
  background: var(--white);
  border-top: 3px solid var(--gold);
}

.review blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-title);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--charcoal);
}

.review figcaption {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .reviews__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================================================
   Pied de page
   ========================================================= */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2rem;
  font-size: 0.92rem;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}

.site-footer__logo {
  width: 160px;
  margin-bottom: 1rem;
}

.site-footer address {
  font-style: normal;
  line-height: 1.8;
}

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

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

.site-footer__heading {
  font-size: 0.8rem;
  font-family: var(--font-text);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 2.2;
}

.site-footer__links a {
  text-decoration: none;
}

.social {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  gap: 0.75rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.site-footer__bottom {
  margin: 2rem 0 0; /* pas de marge en bas : elle laissait une bande claire sous le pied de page */
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
  }
}

/* =========================================================
   Bouton « retour en haut » : carré sombre en bas à droite
   ========================================================= */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--gold);
}

/* Moins d'animations pour qui le demande dans ses réglages */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* =========================================================
   Page des mentions légales
   ========================================================= */
.site-header__back {
  margin-left: auto;
}

.legal {
  padding: calc(var(--header-height) + 3rem) 0 4rem;
  background: var(--white);
}

.legal__inner {
  max-width: 760px;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.15rem;
  color: var(--charcoal);
}

.legal .placeholder-text {
  margin: 0;
}

.legal a {
  color: var(--bronze);
}
