/* ============================================================
   NENA — Tapas & Pintxo
   styles.css
   ============================================================ */

/* --- CSS Variables ---------------------------------------- */
:root {
  --color-bg:           #080808;
  --color-surface:      #0F0F0F;
  --color-surface-2:    #161616;
  --color-accent:       #EBE65E;
  --color-accent-dim:   rgba(235, 230, 94, 0.10);
  --color-accent-glow:  rgba(235, 230, 94, 0.28);
  --color-text:         #FFFFFF;
  --color-text-sec:     #BBBBBB;
  --color-text-muted:   #606060;
  --color-border:       rgba(255, 255, 255, 0.07);
  --color-border-light: rgba(255, 255, 255, 0.13);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;

  --nav-height:  76px;
  --max-width:   1240px;
  --gutter:      clamp(20px, 5vw, 60px);
  --section-py:  clamp(72px, 12vw, 140px);

  --ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:         0.35s;
}

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #080808;
  /* Couleur overscroll iOS/Android */
  overscroll-behavior: none;
}
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Container -------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}
.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  display: block;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--color-text);
  line-height: 1;
}
.section-intro {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--color-text-sec);
  max-width: 560px;
  line-height: 1.8;
  margin-top: 20px;
}
.accent-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  margin-top: 24px;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--dur) var(--ease-out);
  white-space: nowrap;
}
.btn--accent { background: var(--color-accent); color: #000; }
.btn--accent:hover {
  background: #D4D24A;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--color-accent-glow);
}
.btn--outline { border: 1px solid var(--color-border-light); color: var(--color-text); }
.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-dim);
}
.btn--lg { padding: 18px 42px; font-size: 0.9375rem; }

/* --- Navigation ------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--dur) var(--ease-smooth),
              border-color var(--dur) var(--ease-smooth);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 8, 8, 0.93);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--color-border);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.nav__logo { flex-shrink: 0; height: 72px; display: flex; align-items: center; }
.nav__logo img { height: 100%; width: auto; object-fit: contain; }
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-sec);
  transition: color var(--dur) var(--ease-out);
  position: relative;
  padding-bottom: 4px;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--color-accent);
  transition: width var(--dur) var(--ease-out);
}
.nav__links a:hover,
.nav__links a.active { color: var(--color-text); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }

/* --- Language Switcher ------------------------------------ */
.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-divider { color: var(--color-text-muted); font-size: 0.75rem; }
.lang-btn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  padding: 4px 6px;
  transition: color var(--dur) var(--ease-out);
}
.lang-btn:hover, .lang-btn.active { color: var(--color-accent); }

/* --- Hamburger -------------------------------------------- */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 30px; height: 30px;
}
.nav__hamburger span {
  display: block;
  height: 1.5px;
  background: var(--color-text);
  transition: all var(--dur) var(--ease-out);
  transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --- Mobile Overlay --------------------------------------- */
.nav-overlay {
  position: fixed; inset: 0;
  background: var(--color-bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease-out);
}
.nav-overlay.open { opacity: 1; pointer-events: all; }
.nav-overlay__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}
.nav-overlay__links a {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  letter-spacing: 0.06em;
  color: var(--color-text);
  transition: color var(--dur) var(--ease-out);
  line-height: 1.1;
}
.nav-overlay__links a:hover { color: var(--color-accent); }
.nav-overlay__bottom { display: flex; flex-direction: column; align-items: center; gap: 20px; }

/* --- Scroll Reveal ---------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

/* --- Section Base ----------------------------------------- */
.section { padding: var(--section-py) 0; }
.section--surface  { background: var(--color-surface); }
.section--surface2 { background: var(--color-surface-2); }
.section__header { margin-bottom: clamp(40px, 6vw, 72px); }
.section__header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section__header--center .accent-line { margin: 24px auto 0; }

/* --- Page Header ------------------------------------------ */
.page-header { padding: calc(var(--nav-height) + clamp(48px, 8vw, 96px)) 0 clamp(40px, 6vw, 72px); }
.page-header--center { text-align: center; }
.page-header--center .accent-line { margin: 20px auto 0; }

/* --- Hero Section ----------------------------------------- */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__video-wrapper {
  position: absolute; inset: 0;
  z-index: 0;
  background: #080808;
}
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,8,0.25) 0%,
    rgba(8,8,8,0.45) 50%,
    rgba(8,8,8,0.90) 100%
  );
}
.hero__video-wrapper::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 55%, rgba(235,230,94,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 45%, rgba(235,230,94,0.04) 0%, transparent 55%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--gutter);
  padding-bottom: 100px;
}
.hero__eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 16px;
  display: block;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(7rem, 20vw, 18rem);
  line-height: 0.88;
  letter-spacing: 0.06em;
  color: var(--color-text);
  margin-bottom: 14px;
}
.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 2.25rem);
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 48px;
}
.hero__cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity var(--dur) var(--ease-out);
}
.hero__scroll:hover { opacity: 0.9; }
.hero__scroll span { font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase; }
.hero__scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, #fff, transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  80%  { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
  100% { opacity: 0; }
}

/* --- Home: Concept Section -------------------------------- */
.concept {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}
.concept__text p { color: var(--color-text-sec); line-height: 1.85; margin-top: 24px; font-size: 1.0625rem; }
.concept__visual {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-surface-2);
}
.concept__image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.concept__visual:hover .concept__image { transform: scale(1.04); }
.concept__accent-box {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 110px; height: 110px;
  border: 2px solid var(--color-accent);
  pointer-events: none;
}

/* --- Home: Features --------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.feature {
  padding: clamp(32px, 4vw, 52px);
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
  transition: background var(--dur) var(--ease-out);
}
.feature::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width 0.5s var(--ease-out);
}
.feature:hover { background: var(--color-surface-2); }
.feature:hover::after { width: 100%; }
.feature__number {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--color-accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 20px;
}
.feature__title { font-family: var(--font-display); font-size: 1.875rem; margin-bottom: 12px; }
.feature__text { color: var(--color-text-sec); font-size: 0.9375rem; line-height: 1.75; }

/* --- Home: CTA Banner ------------------------------------- */
.cta-banner {
  position: relative;
  padding: clamp(72px, 12vw, 140px) 0;
  text-align: center;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(235,230,94,0.07) 0%, transparent 70%);
}
.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 1;
  margin-bottom: 28px;
  position: relative;
}
.cta-banner__title em { color: var(--color-accent); font-style: normal; }
.cta-banner__sub { color: var(--color-text-sec); font-size: 1.0625rem; margin-bottom: 40px; position: relative; }

/* --- Menu Page -------------------------------------------- */
.menu-tabs {
  display: flex;
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: clamp(40px, 6vw, 64px);
  flex-wrap: wrap;
}
.menu-tab {
  padding: 16px 26px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--dur) var(--ease-out);
}
.menu-tab:hover { color: var(--color-text); }
.menu-tab.active { color: var(--color-accent); border-bottom-color: var(--color-accent); }
.menu-category { display: none; }
.menu-category.active { display: block; }
.menu-category__intro {
  color: var(--color-text-sec);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: clamp(32px, 4vw, 48px);
  font-style: italic;
}
.menu-section { margin-bottom: clamp(40px, 6vw, 64px); }
.menu-section__title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
  margin-bottom: 3px;
  color: var(--color-text-sec);
}
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2px; }
.menu-item {
  padding: clamp(20px, 2.5vw, 30px);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background var(--dur) var(--ease-out), border-left-color var(--dur) var(--ease-out);
  border-left: 2px solid transparent;
}
.menu-item:hover { background: var(--color-surface-2); border-left-color: var(--color-accent); }
.menu-item__header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.menu-item__name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.04em; }
.menu-item__price { font-size: 0.9375rem; font-weight: 700; color: var(--color-accent); flex-shrink: 0; }
.menu-item__desc { color: var(--color-text-muted); font-size: 0.875rem; line-height: 1.65; font-style: italic; }
.menu-item__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.tag {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

/* --- Gallery -------------------------------------------- */
.gallery-grid { columns: 3; column-gap: 3px; }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 3px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  display: block;
}
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(235,230,94,0.10);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.65s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-placeholder {
  background: var(--color-surface);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- Lightbox ------------------------------------------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox__img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox__close {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 2.5rem;
  color: var(--color-text);
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity var(--dur) var(--ease-out), color var(--dur);
  line-height: 1;
}
.lightbox__close:hover { opacity: 1; color: var(--color-accent); }

/* --- Events Page ----------------------------------------- */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-bottom: clamp(60px, 8vw, 100px); }
.event-card {
  padding: clamp(32px, 4vw, 52px);
  background: var(--color-surface);
  border-top: 2px solid var(--color-border);
  transition: border-top-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.event-card:hover { border-top-color: var(--color-accent); background: var(--color-surface-2); }
.event-card__icon { font-size: 2rem; margin-bottom: 20px; display: block; }
.event-card__title { font-family: var(--font-display); font-size: 1.875rem; margin-bottom: 14px; }
.event-card__text { color: var(--color-text-sec); font-size: 0.9375rem; line-height: 1.75; }

/* --- Contact Page ---------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 100px); }
.contact-info__item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-info__item:first-child { border-top: 1px solid var(--color-border); }
.contact-info__label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 600; }
.contact-info__value { font-size: 0.9375rem; color: var(--color-text-sec); line-height: 1.6; }
.contact-info__value a { transition: color var(--dur) var(--ease-out); }
.contact-info__value a:hover { color: var(--color-accent); }
.hours-grid { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; }
.hours-day { font-size: 0.9rem; color: var(--color-text-sec); }
.hours-time { font-size: 0.9rem; color: var(--color-text-muted); text-align: right; }

.map-wrapper {
  margin-top: clamp(60px, 8vw, 96px);
  height: clamp(280px, 38vw, 460px);
  overflow: hidden;
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; filter: grayscale(1) invert(1) contrast(0.75); opacity: 0.65; }

/* --- Forms --------------------------------------------- */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 600; }
.form-input, .form-textarea, .form-select {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 0.9375rem;
  padding: 14px 16px;
  outline: none;
  width: 100%;
  transition: border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--color-text-muted); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--color-accent); background: var(--color-surface-2); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 0.8125rem; color: var(--color-text-muted); margin-top: -8px; }

/* --- Reservation Page ----------------------------------- */
.reservation-layout { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.reservation-info p { color: var(--color-text-sec); font-size: 0.9375rem; line-height: 1.75; margin-bottom: 16px; }
.tableagent-container {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  min-height: 560px;
  overflow: hidden;
}
.tableagent-container iframe { width: 100%; min-height: 600px; border: none; display: block; }
.tableagent-placeholder { padding: 60px 40px; text-align: center; color: var(--color-text-muted); }
.tableagent-placeholder p { font-size: 0.9rem; line-height: 1.7; }
.tableagent-placeholder code {
  display: inline-block;
  background: rgba(235,230,94,0.08);
  color: var(--color-accent);
  padding: 4px 10px;
  font-size: 0.8125rem;
  margin-top: 12px;
}

/* --- About Page ----------------------------------------- */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 100px); align-items: center; }
.about-visual { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--color-surface-2); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual__accent {
  position: absolute;
  top: -20px; left: -20px;
  width: 90px; height: 90px;
  border: 2px solid var(--color-accent);
  pointer-events: none;
}
.about-text p { color: var(--color-text-sec); line-height: 1.85; font-size: 1.05rem; margin-bottom: 20px; }
.about-text p:last-child { margin-bottom: 0; }
.about-quote { border-left: 3px solid var(--color-accent); padding: 4px 0 4px 24px; margin: 36px 0; }
.about-quote blockquote { font-family: var(--font-serif); font-size: clamp(1.2rem, 2vw, 1.6rem); font-style: italic; color: var(--color-text-sec); line-height: 1.5; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: clamp(60px, 8vw, 100px); }
.value-card {
  padding: clamp(28px, 3vw, 44px);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  transition: border-top-color var(--dur), background var(--dur);
}
.value-card:hover { border-top-color: var(--color-accent); background: var(--color-surface-2); }
.value-card__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 10px; }
.value-card__text { color: var(--color-text-sec); font-size: 0.9rem; line-height: 1.7; }

/* --- Footer -------------------------------------------- */
.footer { background: var(--color-surface); border-top: 1px solid var(--color-border); padding: clamp(56px, 8vw, 96px) 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--color-border);
}
.footer__logo { height: 78px; margin-bottom: 16px; }
.footer__logo img { height: 100%; width: auto; }
.footer__logo-text { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.12em; color: var(--color-accent); }
.footer__tagline { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.12em; color: var(--color-text-sec); margin-bottom: 16px; }
.footer__desc { color: var(--color-text-muted); font-size: 0.875rem; line-height: 1.75; max-width: 300px; }
.footer__heading { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 18px; font-weight: 600; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 0.9rem; color: var(--color-text-sec); transition: color var(--dur) var(--ease-out); }
.footer__links a:hover { color: var(--color-accent); }
.footer__hours-list { display: flex; flex-direction: column; gap: 6px; }
.footer__hours-item { display: flex; justify-content: space-between; gap: 8px; }
.footer__hours-day { font-size: 0.875rem; color: var(--color-text-sec); }
.footer__hours-time { font-size: 0.875rem; color: var(--color-text-muted); }
.footer__hours-simple { font-size: 0.875rem; color: var(--color-text-sec); line-height: 1.8; }
.footer__bottom { padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__copy { font-size: 0.8rem; color: var(--color-text-muted); }
.footer__social { display: flex; gap: 20px; }
.footer__social a { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); transition: color var(--dur) var(--ease-out); }
.footer__social a:hover { color: var(--color-accent); }

/* --- Responsive ------------------------------------------ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .reservation-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .nav__links { display: none; }
  .nav__logo { height: 52px; }
  .nav__hamburger { display: flex; }
  .nav__actions .btn--accent { display: none; }
  .concept { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .menu-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .events-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(5rem, 22vw, 9rem); }
}
@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .menu-tab { padding: 12px 14px; font-size: 0.75rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta-group { flex-direction: column; align-items: center; }
}

/* ============================================================
   Bilingual lang-toggle (menu items & other content)
   ============================================================ */

/* FR default — show fr-item, hide en-item */
.fr-item { display: block; }
.en-item { display: none; }

/* When body has data-lang="en" */
body[data-lang="en"] .fr-item { display: none; }
body[data-lang="en"] .en-item { display: block; }

/* Inside menu-item, ensure proper block context */
.menu-item .fr-item,
.menu-item .en-item { display: flex; flex-direction: column; gap: 8px; }

body:not([data-lang="en"]) .menu-item .en-item { display: none; }
body[data-lang="en"]       .menu-item .fr-item { display: none; }
body[data-lang="en"]       .menu-item .en-item { display: flex; }

/* --- Ardoise / Chalkboard banner ------------------------- */
.ardoise-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--color-accent-dim);
  border: 1px solid var(--color-accent);
  padding: 14px 20px;
  margin-bottom: 40px;
  position: relative;
}
.ardoise-banner p {
  font-size: 0.9rem;
  color: var(--color-accent);
  line-height: 1.5;
  margin: 0;
}
.ardoise-banner p strong {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ardoise-close {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--color-accent);
  opacity: 0.6;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  transition: opacity var(--dur);
}
.ardoise-close:hover { opacity: 1; }

/* --- Menu filter type-tag ------------------------------- */
.menu-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0 3px;
}
.menu-section-header:first-child { margin-top: 0; }
.menu-section-label {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.menu-section-line {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* ============================================================
   Polices hero (page d'accueil) — matching logo
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100;300&family=Cormorant+Garamond:ital,wght@0,300;1,300&display=swap');

.hero__title {
  font-family: 'Josefin Sans', var(--font-body);
  font-weight: 100;
  font-size: clamp(6rem, 18vw, 16rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 14px;
}
.hero__subtitle {
  font-family: 'Cormorant Garamond', var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 52px;
  text-transform: none;
}

/* ============================================================
   Pop-up Ardoise
   ============================================================ */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out);
}
.popup-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.popup-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-accent);
  max-width: 500px;
  width: 100%;
  padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 52px);
  text-align: center;
  transform: translateY(24px);
  transition: transform 0.45s var(--ease-out);
  box-shadow: 0 0 60px rgba(235, 230, 94, 0.12);
}
.popup-overlay.open .popup-card {
  transform: translateY(0);
}
.popup-card__close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  transition: color var(--dur) var(--ease-out), opacity var(--dur);
  opacity: 0.55;
  padding: 4px;
}
.popup-card__close:hover { color: var(--color-accent); opacity: 1; }
.popup-card__line {
  width: 36px; height: 1px;
  background: var(--color-accent);
  margin: 18px auto 22px;
  opacity: 0.6;
}
.popup-card__text {
  color: var(--color-text-sec);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 30px;
}
.popup-card__text strong {
  color: var(--color-accent);
  letter-spacing: 0.08em;
}
.popup-card__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
}

/* ============================================================
   Vidéo À propos
   ============================================================ */
.about-visual video,
.about-visual__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   Page-header avec photo de fond
   ============================================================ */
.page-header--photo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-header--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,8,0.70) 0%,
    rgba(8,8,8,0.55) 60%,
    rgba(8,8,8,0.85) 100%
  );
  pointer-events: none;
}
.page-header--photo .container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   Icônes SVG — cartes événements
   ============================================================ */
.event-card__icon {
  display: block;
  margin-bottom: 22px;
  color: var(--color-accent);
  opacity: 0.85;
}
.event-card__icon svg {
  display: block;
}

/* ============================================================
   Photos dans les features (accueil)
   ============================================================ */
.feature__photo-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 24px;
}
.feature__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease-out);
  filter: brightness(0.85);
}
.feature:hover .feature__photo {
  transform: scale(1.04);
  filter: brightness(1);
}

/* ============================================================
   Fix mobile — hamburger, logo hero, vidéos
   ============================================================ */

/* 1. Hamburger bars — épaisseur augmentée + couleur explicite */
.nav__hamburger span {
  display: block;
  height: 2px;
  background: #FFFFFF !important;
  width: 100%;
  transition: all var(--dur) var(--ease-out);
  transform-origin: center;
}

/* 2. Logo caché sur hero (page d'accueil) — géré aussi par JS */
body.page-home .nav:not(.scrolled) .nav__logo {
  opacity: 0;
  pointer-events: none;
}
body.page-home .nav .nav__logo {
  transition: opacity 0.4s ease;
}

/* 3. Vidéo À propos — s'assurer qu'elle couvre bien le cadre */
.about-visual__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ============================================================
   Page Menu — décorations artistiques latérales (desktop)
   ============================================================ */
@media (min-width: 1380px) {
  body.page-menu::before,
  body.page-menu::after {
    content: '';
    position: fixed;
    top: var(--nav-height);
    bottom: 0;
    width: 40px;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='300' viewBox='0 0 40 300'><line x1='20' y1='0' x2='20' y2='300' stroke='%23EBE65E' stroke-width='0.5'/><polygon points='20,12 28,28 20,44 12,28' stroke='%23EBE65E' stroke-width='0.9' fill='none'/><polygon points='20,64 24,70 20,76 16,70' fill='%23EBE65E'/><line x1='10' y1='102' x2='30' y2='102' stroke='%23EBE65E' stroke-width='0.8'/><line x1='14' y1='108' x2='26' y2='108' stroke='%23EBE65E' stroke-width='0.5'/><circle cx='20' cy='150' r='7' stroke='%23EBE65E' stroke-width='0.8' fill='none'/><circle cx='20' cy='150' r='2' fill='%23EBE65E'/><line x1='14' y1='192' x2='26' y2='192' stroke='%23EBE65E' stroke-width='0.5'/><line x1='10' y1='198' x2='30' y2='198' stroke='%23EBE65E' stroke-width='0.8'/><polygon points='20,224 24,230 20,236 16,230' fill='%23EBE65E'/><polygon points='20,256 28,272 20,288 12,272' stroke='%23EBE65E' stroke-width='0.9' fill='none'/></svg>");
    background-repeat: repeat-y;
    background-position: center top;
    pointer-events: none;
    z-index: 1;
    opacity: 0.22;
  }
  body.page-menu::before { left: 24px; }
  body.page-menu::after  { right: 24px; }
}






/* ============================================================
   Page Menu — décorations latérales inspirées du logo (desktop)
   ============================================================ */
@media (min-width: 1440px) {
  body.page-menu {
    position: relative;
  }
  body.page-menu::before,
  body.page-menu::after {
    content: '';
    position: absolute;
    top: var(--menu-deco-top, 380px);
    bottom: 0;
    width: calc((100vw - 1240px) / 2 - 8px);
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='360' viewBox='0 0 160 360'><polygon points='28,12 66,12 47,38' fill='%23EBE65E'/><path d='M10,108 L10,90 A18,18 0 0 1 46,90 L46,108 Z' fill='%23EBE65E'/><circle cx='55' cy='166' r='17' fill='%23EBE65E'/><rect x='10' y='216' width='22' height='12' fill='%23EBE65E'/><polygon points='72,246 72,268 50,257' fill='%23EBE65E'/><rect x='12' y='296' width='52' height='14' fill='%23EBE65E'/><circle cx='22' cy='342' r='9' fill='%23EBE65E'/><polygon points='108,192 146,192 127,218' fill='%23EBE65E'/><path d='M90,288 L90,270 A18,18 0 0 1 126,270 L126,288 Z' fill='%23EBE65E'/><circle cx='135' cy='346' r='17' fill='%23EBE65E'/><rect x='90' y='36' width='22' height='12' fill='%23EBE65E'/><polygon points='152,66 152,88 130,77' fill='%23EBE65E'/><rect x='92' y='116' width='52' height='14' fill='%23EBE65E'/><circle cx='102' cy='162' r='9' fill='%23EBE65E'/></svg>");
    background-size: 160px 360px;
    background-repeat: repeat;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
  }
  body.page-menu::before {
    left: 0;
    background-position: right top;
  }
  body.page-menu::after {
    right: 0;
    background-position: left top;
  }
}

/* ============================================================
   Transitions de page + Parallaxe hero
   ============================================================ */

/* Fondu à l'entrée de chaque page */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body {
  animation: pageFadeIn 0.45s var(--ease-out) both;
}

/* Fondu de sortie (classe ajoutée par JS avant navigation) */
body.page-leaving {
  opacity: 0;
  transition: opacity 0.25s var(--ease-smooth);
}

/* Parallaxe hero — le contenu texte se translate via JS */


/* ============================================================
   À propos — Section équipe
   ============================================================ */
.team-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-top: clamp(48px, 7vw, 80px);
}
.team-photo {
  position: relative;
}
.team-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.team-photo__accent {
  position: absolute;
  bottom: -14px;
  left: -14px;
  width: 60%;
  height: 60%;
  border: 1.5px solid var(--color-accent);
  z-index: -1;
  pointer-events: none;
}
.team-bio__name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--color-text);
  margin: 10px 0 20px;
  line-height: 1;
}
.team-bio__text {
  color: var(--color-text-sec);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 28px;
}
.team-bio__quote {
  border-left: 2px solid var(--color-accent);
  padding-left: 20px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-text-sec);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .team-layout {
    grid-template-columns: 1fr;
  }
  .team-photo__accent {
    display: none;
  }
}

/* ============================================================
   Bouton retour en haut
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  color: #080808;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  touch-action: manipulation;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease-out),
              visibility 0.3s var(--ease-out),
              transform 0.3s var(--ease-out),
              background 0.2s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
