/* ============================================================
   MAZESTÉ — style.css — Global stylesheet
   ============================================================ */

@import 'mazeste-tokens.css';

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--noir-volcan);
  color: var(--creme);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── Conteneurs ───────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container-sm {
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(13,11,9,0.96);
  box-shadow: 0 1px 0 var(--basalte);
  backdrop-filter: blur(8px);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.nav__logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: opacity 0.25s;
}
.nav.scrolled .nav__logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
/* Texte logo en attendant SVG */
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--creme);
  transition: color var(--transition);
}
.nav.scrolled .nav__logo-text { color: var(--ambre); }
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav__links a {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--creme-doux);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--ambre); }
.nav__cta {
  background: var(--ambre);
  color: var(--noir-volcan) !important;
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-sm);
  font-weight: 500 !important;
  transition: background var(--transition) !important;
}
.nav__cta:hover { background: var(--ambre-clair) !important; color: var(--noir-volcan) !important; }

/* Burger mobile */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--space-2);
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--creme);
  transition: transform var(--transition), opacity var(--transition);
}

/* Menu mobile overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--noir-volcan);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--creme);
  transition: color var(--transition);
}
.nav__mobile a:hover { color: var(--ambre); }
.nav__mobile-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  background: none;
  border: none;
  color: var(--creme);
  font-size: var(--text-2xl);
  line-height: 1;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  padding-top: 83.79%;   /* ratio 1148/1370 — image entière, sans crop */
  min-height: 500px;
  overflow: hidden;
}
/* Centrage du contenu texte par-dessus l'image */
.hero > .container {
  position: absolute;
  inset: 0;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(13,11,9,0.50) 0%,
      rgba(13,11,9,0.55) 30%,
      rgba(13,11,9,0.65) 65%,
      rgba(13,11,9,0.85) 100%),
    url('../assets/images/hero-mazeste.webp') center center/contain no-repeat;
  background-color: var(--noir-volcan);
}
.hero__bg.loaded { }
.hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem var(--space-6);
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ambre);
  margin-bottom: var(--space-6);
}
.hero__eyebrow::before {
  display: none;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}
.hero__title em {
  font-style: italic;
  color: var(--ambre);
}
.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--creme-doux);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  line-height: 1.6;
}
.hero__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-8);
  justify-content: center;
}

/* ── Boutons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--ambre);
  color: var(--noir-volcan);
}
.btn--primary:hover {
  background: var(--ambre-clair);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,125,46,0.3);
}
.btn--outline {
  border-color: var(--creme-doux);
  color: var(--creme);
}
.btn--outline:hover {
  border-color: var(--ambre);
  color: var(--ambre);
  transform: translateY(-1px);
}
.btn--green {
  background: var(--houblon);
  color: var(--creme);
}
.btn--green:hover {
  background: var(--houblon-clair);
  transform: translateY(-1px);
}

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: var(--space-24) 0; }
.section--dark { background: var(--ardoise); }
.section--darker { background: var(--noir-volcan); }

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ambre);
  margin-bottom: var(--space-4);
}
.section__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ambre);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-6);
}
.section__subtitle {
  font-size: var(--text-lg);
  color: var(--creme-doux);
  max-width: 600px;
  line-height: 1.7;
}

/* ── Cartes bières ────────────────────────────────────────── */
.bieres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.biere-card {
  background: var(--ardoise);
  border: 1px solid var(--basalte);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.biere-card:hover {
  transform: translateY(-4px);
  border-color: var(--ambre);
  box-shadow: 0 16px 40px rgba(201,125,46,0.15);
}
.biere-card__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--basalte);
  display: flex;
  align-items: center;
  justify-content: center;
}
.biere-card__img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--basalte) 0%, var(--ardoise) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.biere-card__body { padding: var(--space-6); }
.biere-card__type {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ambre);
  margin-bottom: var(--space-2);
}
.biere-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.biere-card__desc {
  font-size: var(--text-sm);
  color: var(--creme-doux);
  line-height: 1.6;
}
.biere-card__badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--ambre);
  color: var(--noir-volcan);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Bloc terroir ─────────────────────────────────────────── */
.terroir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}
.terroir__visual {
  background:
    linear-gradient(160deg,
      rgba(0,0,0,0.20) 0%,
      rgba(0,0,0,0.15) 100%),
    url('../uploads/processed/houblonniere-rangees-printemps.webp') center / cover no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}
/* Motif subtil en fond */
.terroir__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(201,125,46,0.03) 0px,
    rgba(201,125,46,0.03) 1px,
    transparent 1px,
    transparent 40px
  );
}
.terroir__visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  position: absolute;
  inset: 0;
}
.terroir__icon {
  position: relative;
  z-index: 2;
  font-size: 8rem;
  opacity: 0.3;
}
.terroir__content {
  background: var(--ardoise);
  padding: var(--space-16) var(--space-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.terroir__steps {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.terroir__step {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.terroir__step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ambre);
  color: var(--ambre);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.terroir__step-text strong {
  display: block;
  font-size: var(--text-base);
  font-weight: 500;
  margin-bottom: var(--space-1);
}
.terroir__step-text span {
  font-size: var(--text-sm);
  color: var(--creme-doux);
}

/* ── Couleurs type (partagées) ────────────────────────────── */
.concert   .evt-grande__type-bar,
.concert   .evt-vign__type-bar   { background: var(--ambre); }
.marche    .evt-grande__type-bar,
.marche    .evt-vign__type-bar   { background: var(--houblon); }
.foodtruck .evt-grande__type-bar,
.foodtruck .evt-vign__type-bar   { background: #e05a2b; }
.soiree    .evt-grande__type-bar,
.soiree    .evt-vign__type-bar   { background: #7b6ccc; }
.autre     .evt-grande__type-bar,
.autre     .evt-vign__type-bar   { background: var(--creme-doux); }

/* ── Grandes cartes (4 derniers) ──────────────────────────── */
.events-grandes {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.evt-grande {
  background: var(--ardoise);
  border: 1px solid var(--basalte);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
  width: 100%;
}
.evt-grande:hover {
  border-color: var(--ambre);
  box-shadow: 0 8px 32px rgba(201,125,46,0.12);
}
.evt-grande__type-bar {
  height: 4px;
  width: 100%;
  flex-shrink: 0;
}
.evt-grande__layout {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

/* Colonne image — s'adapte à toutes les proportions */
.evt-grande__img-wrap {
  flex: 0 0 38%;
  min-width: 0;
  background: #111;
  display: flex;
  align-items: stretch;
}
.evt-grande__img-real {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* contient l'image entière sans rogner */
  object-position: center;
  display: block;
  min-height: 220px;     /* plancher pour les cartes sans beaucoup de texte */
}

.evt-grande__img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.15;
  flex: 0 0 38%;
  min-height: 220px;
  background: var(--basalte);
}
.evt-grande__body {
  flex: 1;
  padding: var(--space-10) var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
  min-width: 0;
}
.evt-grande__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.evt-grande__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: 20px;
  border: 1px solid rgba(201,125,46,0.4);
  color: var(--ambre);
}
.evt-grande__date {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--creme-doux);
}
.evt-grande__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 2vw, var(--text-3xl));
  font-weight: 700;
  line-height: 1.15;
  margin-top: var(--space-2);
}
.evt-grande__desc {
  font-size: var(--text-base);
  color: var(--creme-doux);
  line-height: 1.7;
  margin-top: var(--space-2);
}

/* ── Séparateur avant vignettes ───────────────────────────── */
.events-vignettes-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-16);
  margin-bottom: var(--space-8);
}
.events-vignettes-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--creme-doux);
  white-space: nowrap;
}
.events-vignettes-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--basalte);
}

/* ── Grille vignettes ─────────────────────────────────────── */
.events-grid,
.events-vignettes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
  align-items: start; /* chaque carte prend sa hauteur naturelle */
}
/* Sur l'accueil (mode preview) : toutes les cartes à la même hauteur = la plus grande */
[data-mode="preview"] .events-grid,
.events-grid--equalize {
  align-items: stretch;
}

.evt-vign {
  background: var(--ardoise);
  border: 1px solid var(--basalte);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* height: 100% pour que toutes les cartes d'une rangée aient la même hauteur */
  height: 100%;
  transition: border-color var(--transition), transform var(--transition);
}
.evt-vign:hover {
  border-color: var(--ambre);
  transform: translateY(-3px);
}
.evt-vign__type-bar { height: 3px; flex-shrink: 0; }
.evt-vign__img {
  width: 100%;
  height: auto;        /* hauteur naturelle de l'image, pas de crop */
  display: block;
  flex-shrink: 0;
}
.evt-vign__img--empty {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0.3;
  background: var(--basalte);
}
.evt-vign__body { padding: var(--space-5) var(--space-6); flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.evt-vign__date {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ambre);
  margin-bottom: var(--space-2);
}
.evt-vign__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-3);
}
.evt-vign__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: 20px;
  border: 1px solid var(--basalte);
  color: var(--creme-doux);
}

/* ── Animations scroll ────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Carte sans image ─────────────────────────────────────── */
.evt-grande--noimg .evt-grande__img--empty {
  flex: 0 0 80px;
  font-size: 2rem;
  opacity: 0.2;
  min-height: auto;
}
.evt-grande--noimg .evt-grande__body {
  padding: var(--space-8) var(--space-10);
}

/* ── Responsive grandes cartes ────────────────────────────── */
@media (max-width: 860px) {
  .evt-grande__layout {
    flex-direction: column;
  }
  .evt-grande__img-wrap {
    flex: none;
    width: 100%;
  }
  .evt-grande__img-real {
    width: 100%;
    height: auto;
    min-height: 160px;
    max-height: 420px;
    object-fit: contain;
  }
  .evt-grande--noimg .evt-grande__layout {
    flex-direction: row;
  }
  .evt-grande__body {
    padding: var(--space-6);
  }
}
@media (max-width: 500px) {
  .events-grid,
  .events-vignettes {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }
  .evt-grande__img {
    min-height: 160px;
  }
}

/* ── Bandeau alcool ───────────────────────────────────────── */
.alcool-banner {
  background: var(--basalte);
  border-top: 1px solid rgba(201,125,46,0.2);
  padding: var(--space-3) var(--space-6);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--creme-doux);
  letter-spacing: 0.05em;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--ardoise);
  border-top: 1px solid var(--basalte);
  padding: var(--space-16) 0 var(--space-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer__brand-img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  margin-bottom: var(--space-4);
  display: block;
}
.footer__tagline {
  font-size: var(--text-sm);
  color: var(--creme-doux);
  line-height: 1.7;
  max-width: 260px;
}
.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--basalte);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  color: var(--creme-doux);
  transition: all var(--transition);
}
.footer__social a:hover { border-color: var(--ambre); color: var(--ambre); }
.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ambre);
  margin-bottom: var(--space-4);
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer__links a {
  font-size: var(--text-sm);
  color: var(--creme-doux);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--creme); }
.footer__contact p {
  font-size: var(--text-sm);
  color: var(--creme-doux);
  line-height: 1.8;
}
.footer__contact a { color: var(--ambre); }
.footer__bottom {
  border-top: 1px solid var(--basalte);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer__bottom p {
  font-size: var(--text-xs);
  color: var(--creme-doux);
}
.footer__bottom a {
  color: var(--creme-doux);
  transition: color var(--transition);
}
.footer__bottom a:hover { color: var(--ambre); }

/* ── Page header interne ──────────────────────────────────── */
.page-header {
  padding: calc(var(--space-24) + 60px) var(--space-6) var(--space-16);
  background: linear-gradient(180deg, var(--ardoise) 0%, var(--noir-volcan) 100%);
  border-bottom: 1px solid var(--basalte);
  text-align: center;
}
.page-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ambre);
  margin-bottom: var(--space-4);
}
.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 900;
  line-height: 1.1;
}
.page-header__subtitle {
  font-size: var(--text-lg);
  color: var(--creme-doux);
  max-width: 560px;
  margin-top: var(--space-4);
  margin-inline: auto;
  line-height: 1.7;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .terroir { grid-template-columns: 1fr; }
  .terroir__visual { min-height: 200px; }
  .terroir__content { padding: var(--space-12) var(--space-8); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  nav > .nav-pro-btn { display: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 var(--space-4); }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .bieres-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .hero { min-height: 400px; padding-top: 0; }
  .hero__bg { background-position: center center; }
}

/* ── Footer brand texte (en attente logo SVG) ─────────────── */
.footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: var(--space-4);
}
.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--creme);
  letter-spacing: 0.08em;
}
.footer__brand-sub {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ambre);
  opacity: 0.7;
}

/* ── Bouton Espace Pro ────────────────────────────────────── */
.nav-pro-btn {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1.5px solid var(--ambre);
  color: var(--ambre);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
  margin-left: 0.5rem;
}
.nav-pro-btn:hover {
  background: var(--ambre);
  color: var(--ardoise);
}
.nav__mobile .nav-pro-btn {
  margin-left: 0;
  margin-top: 0.5rem;
  align-self: center;
}

@media (max-width: 900px) {
  .nav > .nav-pro-btn {
    display: none !important;
  }

  .nav__mobile {
    gap: var(--space-5);
    padding: 5rem var(--space-6) 2rem;
  }

  .nav__mobile a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.2rem 0.75rem;
    font-size: clamp(1.65rem, 7.2vw, 2.25rem);
    line-height: 1.15;
    text-align: center;
  }

  .nav__mobile .nav-pro-btn {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.45rem 1rem;
    margin-top: 0.25rem;
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 0.75rem var(--space-4);
  }

  .nav__logo-img {
    height: 44px;
  }

  .hero {
    min-height: 620px;
  }

  .hero__content {
    padding: 5.25rem var(--space-4) 2.5rem;
  }

  .hero__title {
    font-size: clamp(2.565rem, 11.115vw, 3.42rem);
    line-height: 1;
    margin-bottom: var(--space-4);
  }

  .hero__subtitle {
    font-size: clamp(1.05rem, 4.8vw, 1.3rem);
    line-height: 1.45;
    margin-bottom: var(--space-5);
  }

  .hero__ctas {
    gap: var(--space-3);
    margin-top: var(--space-5);
  }

  .hero__ctas .btn {
    padding: 0.95rem 1rem;
    font-size: 0.9rem;
    line-height: 1.2;
  }
}

/* ── Form messages (confirmation / erreur) ─────────────────────────────────── */
.form-message {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.form-message--success {
  background: rgba(52, 168, 83, 0.12);
  border: 1.5px solid rgba(52, 168, 83, 0.4);
  color: var(--creme);
}
.form-message--success p:first-child {
  font-weight: 600;
  color: #4CAF50;
  margin-bottom: 0.25rem;
}
.form-message--error {
  background: rgba(180, 28, 28, 0.12);
  border: 1.5px solid rgba(180, 28, 28, 0.4);
  color: var(--creme);
}
.form-message--error p:first-child {
  font-weight: 600;
  color: #ef4444;
  margin-bottom: 0.25rem;
}

/* ── Photo grid "Venez à la brasserie" (index.html) — 4 images ────────────── */
.salle-photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 2rem 0 2.5rem;
}
.salle-photos-grid img:first-child {
  grid-column: 1 / -1;
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}
.salle-photos-grid img:not(:first-child) {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}
@media (max-width: 768px) {
  .salle-photos-grid { grid-template-columns: 1fr 1fr; }
  .salle-photos-grid img:first-child { height: 220px; }
  .salle-photos-grid img:not(:first-child) { height: 160px; }
}
@media (max-width: 480px) {
  .salle-photos-grid { grid-template-columns: 1fr; }
  .salle-photos-grid img { height: auto !important; }
}

/* ── Section salle + agenda ───────────────────────────────────────────────── */
.section-salle,
.section-agenda {
  padding: var(--space-xl, 5rem) 0;
}

/* ── Section CTA ──────────────────────────────────────────────────────────── */
.section-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ── Section label (surtitre capslock) ────────────────────────────────────── */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ambre, #c8933a);
  margin-bottom: 0.75rem;
  display: block;
}


/* ?? Lightbox photos ??????????????????????????????????????????????????????? */
.photo-lightbox-ready {
  cursor: zoom-in;
}
.photo-lightbox-ready:focus-visible {
  outline: 2px solid var(--ambre);
  outline-offset: 4px;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: rgba(8, 7, 5, 0.92);
  opacity: 0;
  transition: opacity 160ms ease;
}
.lightbox.is-open {
  opacity: 1;
}
.lightbox__figure {
  max-width: min(94vw, 1400px);
  max-height: 92vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.lightbox__image {
  max-width: 100%;
  max-height: calc(92vh - 3rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
}
.lightbox__caption {
  max-width: min(94vw, 900px);
  color: var(--creme-doux);
  font-size: var(--text-sm);
  text-align: center;
  line-height: 1.5;
}
.lightbox__close {
  position: fixed;
  top: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  background: rgba(20, 18, 14, 0.88);
  color: var(--creme);
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: var(--ambre);
  color: var(--ardoise);
  outline: none;
}
@media (max-width: 640px) {
  .lightbox { padding: 0.75rem; }
  .lightbox__image { max-height: calc(90vh - 3.5rem); border-radius: var(--radius); }
  .lightbox__caption { font-size: 0.8rem; }
}
