/* ============================================
   Mamma Mia — Styles principaux
   Restaurant Italien · Anse Vata, Nouméa
   ============================================ */

/* ---- Reset & Variables ---- */
:root {
  --red: #C41E3A;
  --red-dark: #9E1830;
  --green: #556B2F;
  --green-light: #6B8A3E;
  --cream: #FFF8F0;
  --gold: #D4A853;
  --charcoal: #2C2C2C;
  --charcoal-light: #4A4A4A;
  --white: #FFFFFF;
  --black: #000000;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-height: 80px;
  --section-pad: clamp(80px, 12vh, 160px);
  --side-pad: clamp(20px, 5vw, 80px);
}

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

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ---- Loader ---- */
#loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 10000;
  background: var(--charcoal);
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

#loader-container.loader-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ---- Transition Layer ---- */
#transition-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--side-pad);
  z-index: 1000;
  transition: transform 0.5s var(--ease-out-expo),
              background 0.4s ease,
              backdrop-filter 0.4s ease;
}

.nav-scrolled {
  background: rgba(44, 44, 44, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-hidden {
  transform: translateY(-100%);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--red-dark);
  transform: scale(1.05);
}

/* ---- Mobile nav toggle ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  padding: 4px 0;
  z-index: 1001;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active .nav-toggle-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .nav-toggle-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---- Mobile Menu Overlay ---- */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(44, 44, 44, 0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out-expo), visibility 0.5s;
}

body.menu-open .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-links {
  list-style: none;
  text-align: center;
}

.mobile-menu-links li {
  margin-bottom: 1.5rem;
}

.mobile-menu-links a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  font-weight: 700;
  transition: color 0.3s;
}

.mobile-menu-links a:hover {
  color: var(--gold);
}

.mobile-cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 2rem;
  background: var(--red);
  border-radius: 100px;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
}

.mobile-menu-info {
  margin-top: 3rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.mobile-phone {
  display: block;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--red);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 100px;
  transition: background 0.3s ease, transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s var(--ease-out-expo), height 0.6s var(--ease-out-expo);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary svg {
  transition: transform 0.3s var(--ease-out-expo);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s;
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.03);
}

/* ---- Section Tags ---- */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.2rem;
  height: 2px;
  background: var(--red);
  transform: translateY(-50%);
}

/* ---- Section Title ---- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--charcoal-light);
  max-width: 500px;
  line-height: 1.7;
}

/* ============================================
   SECTION: HERO
   ============================================ */
.section-hero {
  position: relative;
  height: 200vh;
  background: var(--charcoal);
  overflow: hidden;
}

.hero-3d-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.hero-content-inner {
  pointer-events: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(212, 168, 83, 0.15);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 100px;
  margin-bottom: 2rem;
  opacity: 0;
}

.hero-badge-star {
  color: var(--gold);
  font-size: 1rem;
}

.hero-badge-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 12rem);
  font-weight: 900;
  font-style: italic;
  color: var(--white);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 60px rgba(0, 0, 0, 0.3);
}

.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(80px) rotateX(-40deg);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.clip-reveal {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
}

.hero-horaires {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
  opacity: 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  opacity: 0;
}

.scroll-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-dot {
  width: 3px;
  height: 12px;
  background: var(--gold);
  border-radius: 3px;
  position: absolute;
  top: -12px;
  left: -1px;
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}

@keyframes scrollPulse {
  0% { top: -12px; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 60px; opacity: 0; }
}

/* ============================================
   SECTION: MENU
   ============================================ */
.section-menu {
  position: relative;
  background: var(--cream);
  padding-top: var(--section-pad);
}

.menu-header {
  padding: 0 var(--side-pad);
  margin-bottom: 3rem;
}

.menu-3d-container {
  width: 100%;
  height: 50vh;
  min-height: 300px;
}

.menu-horizontal-section {
  position: relative;
  overflow: hidden;
}

.menu-horizontal-wrapper {
  display: flex;
  gap: 0;
  width: max-content;
  padding: 3rem 0;
}

.menu-category-panel {
  width: 85vw;
  max-width: 700px;
  flex-shrink: 0;
  padding: 0 var(--side-pad);
  display: flex;
  flex-direction: column;
}

.menu-category-header {
  margin-bottom: 2rem;
  position: relative;
}

.menu-category-visual {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.menu-category-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-category-visual .distortion-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.menu-category-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.9);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.menu-category-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
}

.menu-category-count {
  font-size: 0.8rem;
  color: var(--charcoal-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.menu-items-list {
  flex: 1;
}

.menu-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(44, 44, 44, 0.08);
  transition: background 0.3s ease;
  cursor: default;
}

.menu-item:hover {
  background: rgba(212, 168, 83, 0.05);
}

.menu-item-top {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}

.menu-item-dots {
  flex: 1;
  border-bottom: 2px dotted rgba(44, 44, 44, 0.15);
  min-width: 20px;
  margin-bottom: 4px;
}

.menu-item-price {
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
  font-size: 1rem;
}

.menu-item-price small {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--charcoal-light);
}

.menu-item-desc {
  font-size: 0.85rem;
  color: var(--charcoal-light);
  line-height: 1.5;
}

.menu-badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-top: 0.3rem;
  font-weight: 600;
}

.badge-popular {
  background: rgba(212, 168, 83, 0.15);
  color: #9A7B2E;
}

.badge-veg {
  background: rgba(85, 107, 47, 0.12);
  color: var(--green);
}

.badge-spicy {
  background: rgba(196, 30, 58, 0.1);
  color: var(--red);
}

/* ============================================
   SECTION: HISTOIRE
   ============================================ */
.section-histoire {
  position: relative;
  padding: var(--section-pad) var(--side-pad);
  min-height: 100vh;
  overflow: hidden;
}

.histoire-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  will-change: transform;
}

.parallax-layer-1 {
  top: -5%;
  right: -10%;
  width: 45%;
  opacity: 0.15;
  border-radius: 20px;
  overflow: hidden;
}

.parallax-layer-2 {
  bottom: 10%;
  left: -5%;
  width: 35%;
  opacity: 0.1;
  border-radius: 20px;
  overflow: hidden;
}

.parallax-layer-3 {
  top: 40%;
  right: 5%;
  width: 25%;
  opacity: 0.12;
  border-radius: 16px;
  overflow: hidden;
}

.histoire-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.histoire-timeline {
  margin-top: 3rem;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-left: 2px solid rgba(44, 44, 44, 0.1);
  padding-left: 2rem;
  margin-left: 1rem;
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 2.5rem;
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  border: 3px solid var(--cream);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  width: 100px;
}

.timeline-text h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.timeline-text p {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  line-height: 1.7;
}

/* ============================================
   SECTION: GALERIE
   ============================================ */
.section-galerie {
  padding: var(--section-pad) var(--side-pad);
  background: var(--charcoal);
}

.galerie-header {
  margin-bottom: 3rem;
}

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

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  grid-auto-rows: 280px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .distortion-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out-expo);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-item-lg {
  grid-column: span 2;
}

.gallery-item-wide {
  grid-column: span 3;
  grid-row: span 1;
}

/* ============================================
   SECTION: AVIS
   ============================================ */
.section-avis {
  padding: var(--section-pad) 0;
  background: var(--cream);
  overflow: hidden;
}

.avis-header {
  padding: 0 var(--side-pad);
  margin-bottom: 3rem;
}

.avis-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.avis-stat {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.avis-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.avis-label {
  font-size: 0.85rem;
  color: var(--charcoal-light);
}

.avis-stars {
  display: flex;
  gap: 0.2rem;
}

.star {
  font-size: 1.5rem;
  color: rgba(44, 44, 44, 0.15);
}

.star.filled {
  color: var(--gold);
}

.star.half {
  background: linear-gradient(90deg, var(--gold) 50%, rgba(44, 44, 44, 0.15) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.avis-carousel {
  overflow: hidden;
  padding: 1rem 0;
}

.avis-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 var(--side-pad);
  animation: marquee 40s linear infinite;
  width: max-content;
}

.avis-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.avis-card {
  flex-shrink: 0;
  width: 380px;
  padding: 2rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(44, 44, 44, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}

.avis-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.avis-card-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.avis-card-text {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  border: none;
  padding: 0;
}

.avis-card-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-style: normal;
}

.avis-card-author strong {
  font-size: 0.9rem;
  color: var(--charcoal);
}

.avis-card-author span {
  font-size: 0.75rem;
  color: var(--charcoal-light);
}

.avis-disclaimer {
  text-align: center;
  font-size: 0.7rem;
  color: var(--charcoal-light);
  opacity: 0.5;
  margin-top: 2rem;
  padding: 0 var(--side-pad);
}

/* ============================================
   SECTION: ÉVÉNEMENTS
   ============================================ */
.section-evenements {
  padding: var(--section-pad) var(--side-pad);
  background: var(--white);
}

.evenements-header {
  margin-bottom: 3rem;
}

.evenements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
}

.event-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--cream);
  border-radius: 16px;
  border: 1px solid rgba(44, 44, 44, 0.05);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.event-date {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
}

.event-day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1.2;
}

.event-freq {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal-light);
}

.event-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.event-desc {
  font-size: 0.85rem;
  color: var(--charcoal-light);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.event-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   SECTION: RÉSERVATION
   ============================================ */
.section-reservation {
  padding: var(--section-pad) var(--side-pad);
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.reservation-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 20vw;
  font-weight: 900;
  font-style: italic;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.reservation-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

.reservation-info .section-tag {
  color: var(--gold);
}

.reservation-info .section-tag::before {
  background: var(--gold);
}

.reservation-text {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.reservation-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

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

.reservation-phone svg {
  color: var(--gold);
}

.reservation-horaires {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.reservation-horaires h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.horaire-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.horaire-closed {
  color: var(--red);
  opacity: 0.7;
}

/* ---- Form ---- */
.reservation-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group-full {
  margin-bottom: 1.5rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 0.3s ease, background 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--charcoal);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.field-error {
  border-color: var(--red) !important;
  animation: fieldShake 0.4s ease;
}

@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.form-shake {
  animation: formShake 0.6s ease;
}

@keyframes formShake {
  0%, 100% { transform: translateX(0); }
  10%, 50%, 90% { transform: translateX(-4px); }
  30%, 70% { transform: translateX(4px); }
}

.btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.form-success {
  text-align: center;
  padding: 3rem 1rem;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin: 1rem 0 0.5rem;
}

.form-success p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

/* ============================================
   SECTION: LOCALISATION
   ============================================ */
.section-localisation {
  position: relative;
  padding: var(--section-pad) var(--side-pad);
  padding-bottom: calc(var(--section-pad) + 40vh);
  background: var(--cream);
}

.localisation-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.localisation-address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--charcoal-light);
  margin-bottom: 1rem;
}

.localisation-address strong {
  color: var(--charcoal);
  font-size: 1.1rem;
}

.localisation-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}

.localisation-phone:hover {
  color: var(--red-dark);
}

.localisation-acces {
  margin-top: 1.5rem;
}

.localisation-acces h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal-light);
  margin-bottom: 1rem;
}

.localisation-acces p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--charcoal-light);
  margin-bottom: 0.8rem;
}

.localisation-acces strong {
  color: var(--charcoal);
}

.localisation-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.water-3d-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40vh;
  z-index: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--charcoal);
  padding: var(--section-pad) var(--side-pad) 2rem;
  text-align: center;
}

.footer-cta {
  margin-bottom: 4rem;
}

.footer-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  font-style: italic;
  color: var(--white);
  line-height: 1;
  margin-bottom: 1rem;
}

.footer-title .char {
  display: inline-block;
  opacity: 0;
}

.footer-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2rem;
}

.footer-btn {
  display: inline-flex;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-info {
  text-align: right;
}

.footer-info p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.8;
}

.footer-credits a {
  color: var(--gold);
  font-weight: 500;
  transition: color 0.3s;
}

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

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  cursor: zoom-out;
}

.lightbox.lightbox-active {
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 1;
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  cursor: default;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* ============================================
   SELECTION & SCROLLBAR
   ============================================ */
::selection {
  background: var(--red);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: rgba(44, 44, 44, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(44, 44, 44, 0.4);
}
