/* =========================================================
   Club House — Carte du week-end
   Feuille de styles principale
   ========================================================= */

:root {
  --bg: #f5f1ea;
  --bg-alt: #ebe5d9;
  --ink: #1a1a1a;
  --ink-soft: #3a3a3a;
  --muted: #8a8478;
  --line: #1a1a1a;
  --accent: #2d4a2b;
  --accent-soft: #4a6b48;
  --gold: #9b7e3f;
  --paper: #faf6ef;
  --shadow: rgba(26, 26, 26, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(45, 74, 43, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(155, 126, 63, 0.05) 0%, transparent 50%);
  min-height: 100vh;
}

/* Empêche le scroll pendant le chargement */
body.is-loading {
  overflow: hidden;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* =========================================================
   LOADING OVERLAY
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 20% 30%, rgb(8 117 83) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgb(2 51 37) 0%, transparent 50%), linear-gradient(135deg, rgb(2 22 15) 0%, rgb(0, 40, 30) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  position: relative;
  text-align: center;
  padding: 0 32px;
}

.loader-logo {
  margin-bottom: 24px;
  animation: loaderLogoIn 0.7s ease-out 0.05s both, loaderLogoFloat 3s ease-in-out 0.8s infinite;
}

.loader-logo img {
  display: block;
  margin: 0 auto;
}

.loader-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
  animation: loaderFadeIn 0.7s ease-out 0.25s both;
}

.loader-line {
  height: 1px;
  width: 30px;
  background: #b8935f;
  opacity: 1;
}

.loader-dot {
  width: 5px;
  height: 5px;
  background: #b8935f;
  border-radius: 50%;
}

.loader-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  font-style: italic;
  color: #FFF;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  animation: loaderFadeIn 0.7s ease-out 0.35s both;
}

.loader-subtext {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #b8935f;
  margin-bottom: 28px;
  animation: loaderFadeIn 0.7s ease-out 0.45s both;
}

.loader-bar {
  width: 140px;
  height: 1px;
  background: #b8935f;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  animation: loaderFadeIn 0.7s ease-out 0.55s both;
}

.loader-bar span {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left;
  animation: loaderBar 1.4s ease-in-out infinite;
}

@keyframes loaderLogoIn {
  from { opacity: 0; transform: translateY(12px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes loaderLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes loaderFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loaderBar {
  0% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  50.01% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0px;
  position: relative;
  z-index: 2;
}

/* =========================================================
   HEADER
   ========================================================= */
header {
  padding: 40px 0 35px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 20% 30%, rgb(8 117 83) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgb(2 51 37) 0%, transparent 50%), linear-gradient(135deg, rgb(2 22 15) 0%, rgb(0, 40, 30) 100%);

}
.hero-content {
    position: relative;
    z-index: 3;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgb(8 117 83) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgb(2 51 37) 0%, transparent 50%), linear-gradient(135deg, rgb(2 22 15) 0%, rgb(0, 40, 30) 100%);
    opacity: 0.85;
    z-index: 0;
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 49px, rgba(255, 255, 255, 0.06) 49px, rgba(255, 255, 255, 0.06) 50px), repeating-linear-gradient(-45deg, transparent, transparent 49px, rgba(255, 255, 255, 0.06) 49px, rgba(255, 255, 255, 0.06) 50px);
    z-index: 2;
    pointer-events: none;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.1s forwards;
}

.logo-mark img {
  display: block;

}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #b8935f;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.3s forwards;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  color:#FFF;
  font-weight: 500;
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.5s forwards;
}

h1 em { font-style: italic; color: #FFF; }
.event {
	 font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-style: italic;
  color: #b8935f;
  margin-bottom: 0px;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.7s forwards;
}
.dates {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-style: italic;
  color: #b8935f;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.7s forwards;
}

.subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.9s forwards;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 8px;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.6s forwards;
}

.ornament-line { height: 1px; width: 40px; background: #b8935f; }
.ornament-dot { width: 5px; height: 5px; background: #b8935f; border-radius: 50%; }

/* =========================================================
   TABS
   ========================================================= */
.tabs {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0,0,0,1);
  padding: 18px 0 14px;
  margin: 0px 0 0;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 1.0s forwards;
}

.tabs-inner {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  font-weight: 500;
  color: #b8935f;
  padding: 10px 22px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 2px;
}

.tab-btn svg {
  width: 18px;
  height: 18px;
  opacity: 1;
  transition: opacity 0.3s ease;
}


.tab-btn.active {
  color: #b8935f;
  border-color: #b8935f;
}

.tab-btn.active svg { opacity: 1; }



/* =========================================================
   PANELS & SECTIONS
   ========================================================= */
.panel { display: none; }
.panel.active { display: block; animation: fadeIn 0.5s ease-out; }

.menu-section { padding: 40px 0 60px; }
.menu-section:first-of-type { padding-top: 32px; }

/* Quand la section commence par un banner, on supprime le padding-top
   pour que l'image colle au contenu précédent */
.menu-section:has(.section-banner) {
  padding-top: 0px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.section-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.1em;
  min-width: 30px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.section-line { flex: 1; height: 1px; background: var(--line); opacity: 0.3; }

/* =========================================================
   SECTION BANNERS (avec image en fond)
   ========================================================= */
.section-banner {
  position: relative;
  /* Largeur pleine : on déborde le container pour aller bord à bord */
  margin: 0 0px 15px;
  height: 140px;
  background-size: cover;
  background-position: center center; /* recadré centré horizontal & vertical */
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 6px 20px -10px rgba(26, 26, 26, 0.25);
}

/* Overlay sombre pour contraster le titre blanc */
.banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(26, 26, 26, 0.35) 0%,
      rgba(26, 26, 26, 0.55) 50%,
      rgba(26, 26, 26, 0.35) 100%);
  pointer-events: none;
}

/* Filet doré en haut & bas pour cadrer le bandeau */
.section-banner::before,
.section-banner::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  z-index: 2;
}
.section-banner::before { top: 14px; }
.section-banner::after  { bottom: 14px; }

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.banner-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.25em;
}

.banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  margin: 0;
}

.banner-rule {
  display: none;
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}

/* =========================================================
   DISHES / DRINKS
   ========================================================= */
.dish-list { list-style: none; }

.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px dashed rgba(26, 26, 26, 0.15);
  align-items: baseline;
  transition: padding 0.3s ease;
}

.dish:last-child { border-bottom: none; }
.dish:hover { padding-left: 8px; }

.dish-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 3.2vw, 1.3rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.dish-desc {
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.dish-meta {
  font-size: 10px;
  font-weight: 500;
  color: var(--accent-soft);
  margin-top: 4px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dish-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 3.2vw, 1.3rem);
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  position: relative;
}

.dish-price::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: rgba(45, 74, 43, 0.3);
  vertical-align: middle;
  margin-right: 8px;
}

/* Multi-size pricing for pression beers */
.price-grid {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.price-grid .size {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.price-grid .size-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-grid .size-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.95rem, 2.8vw, 1.1rem);
  font-weight: 600;
  color: var(--accent);
}

/* Featured */
.dish.featured {
  background: linear-gradient(90deg, rgba(155, 126, 63, 0.06), transparent);
  border-radius: 4px;
  border-bottom: 1px dashed rgba(155, 126, 63, 0.25);
}

.dish.featured .dish-name::before {
  content: '★';
  color: var(--gold);
  margin-right: 8px;
  font-size: 0.8em;
}

.alcohol-warning {
  margin-top: 32px;
  padding: 16px;
  background: rgba(26, 26, 26, 0.04);
  font-size: clamp(0.7rem, 1.7vw, 0.7rem);
  line-height: 1.6;
  color: var(--muted);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* =========================================================
   FOOTER
   ========================================================= */
.regle {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #000;
    margin: 40px 30px 0 30px;
    opacity: 0.7;
    text-align: center;
}

footer {
  margin-top: 0px;
  padding: 40px 0 32px;
  text-align: center;
  position:relative;
}

.footer-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--muted);
}

.footer-ornament svg { width: 20px; height: 20px; }

.footer-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #b8935f;
  margin-bottom: 8px;
}

.footer-meta {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #000;
  margin-top: 5px;
}
footer .ornament-line, footer .ornament-dot{
background: rgba(0, 0, 0, 0.6);
}
footer .ornament-line{
    width: 130px;
}
footer .ornament {
    margin: 0 0 40px 0;
}
/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 768px) {
  header { padding: 64px 0 24px; }
  .menu-section { padding: 48px 0 24px; }
  .container { padding: 0 48px; }
  .section-banner {
    margin: 0 0px 36px;
    height: 180px;
  }
}

@media (min-width: 1024px) {
  .container { max-width: 800px; }
  header { padding: 88px 0 32px; }
  .section-banner {
    height: 200px;
  }
}

@media (max-width: 380px) {
  .tab-btn { padding: 10px 14px; font-size: 1rem; }
  .tab-btn svg { width: 16px; height: 16px; }
  .price-grid { gap: 10px; }
  .section-banner { height: 120px; }
}

@media print {
  body::before { display: none; }
  .loader { display: none !important; }
  .tabs { position: static; }
  .panel { display: block !important; page-break-after: always; }
  * { animation: none !important; opacity: 1 !important; }
}
