/*
Theme Name: South Wake Park
Theme URI: https://www.south-wake-park.fr
Author: South Wake Park
Author URI: https://www.south-wake-park.fr
Description: Thème WordPress sur-mesure pour South Wake Park — Wakeboard, Restaurant & Soirées au lac des Escaravatiers.
Version: 1.0.0
License: All Rights Reserved
Text Domain: south-wake-park
Requires at least: 6.0
Requires PHP: 7.4
*/
/* ═══════════════════════════════════════════════════════════════
   SOUTH WAKE PARK — Premium Wakeboard Park
   Design: Awwwards-level, editorial luxury
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   1. CSS VARIABLES
   ───────────────────────────────────────────── */
:root {
  /* Colors */
  --bg: #FFFCF0;
  --fg: #141414;
  --accent: #D2785A;
  --accent-2: #B5613C;
  --accent-light: rgba(210, 120, 90, .12);
  --cream: #FFEEDA;
  --dark: #141414;
  --white: #ffffff;
  --grey-100: #f5f5f0;
  --grey-200: #e8e6df;
  --grey-400: #9e9c96;
  --grey-600: #6b6963;

  /* Fonts — Arial everywhere */
  --font-display: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --font-body: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --font-ui: Arial, 'Helvetica Neue', Helvetica, sans-serif;

  /* Spacing */
  --space-xs: clamp(.5rem, 1vw, .75rem);
  --space-sm: clamp(.75rem, 1.5vw, 1.25rem);
  --space-md: clamp(1.25rem, 2.5vw, 2rem);
  --space-lg: clamp(2.5rem, 5vw, 4rem);
  --space-xl: clamp(4rem, 8vw, 7rem);
  --space-2xl: clamp(6rem, 12vw, 10rem);

  /* Navigation */
  --topbar-h: 0px;
  --nav-h: 72px;
  --header-h: var(--nav-h);

  /* Transitions */
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-out-quart: cubic-bezier(.25, 1, .5, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --ease-elastic: cubic-bezier(.68, -.6, .32, 1.6);
  --dur-fast: .3s;
  --dur-base: .5s;
  --dur-slow: .8s;
  --dur-slower: 1.2s;

  /* Misc */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --container-max: 1360px;
  --container-pad: clamp(20px, 4vw, 64px);
}


/* ─────────────────────────────────────────────
   2. RESET
   ───────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  overflow: hidden; /* unlocked by .loaded */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.loaded {
  overflow: visible;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

ul, ol {
  list-style: none;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
  -webkit-appearance: none;
  appearance: none;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--grey-400);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}


/* ─────────────────────────────────────────────
   3. TYPOGRAPHY
   ───────────────────────────────────────────── */

/* Labels & section counters — Arial uppercase */
h1, h2, h3, h4 {
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

/* Main section heading */
h2 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: .04em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(.85rem, 1.2vw, 1rem);
  margin-bottom: var(--space-xs);
  color: var(--grey-600);
}

h4 {
  font-size: clamp(.75rem, .9vw, .85rem);
  letter-spacing: .14em;
  margin-bottom: var(--space-xs);
}

p {
  margin-bottom: 1em;
  max-width: 62ch;
}

p:last-child {
  margin-bottom: 0;
}

.text-large {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.65;
  max-width: 50ch;
  color: var(--grey-600);
}

.text-accent {
  color: var(--accent);
}

.text-center {
  text-align: center;
}

.text-upper {
  text-transform: uppercase;
  letter-spacing: .12em;
}


/* ─────────────────────────────────────────────
   4. LAYOUT
   ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  position: relative;
  padding-block: clamp(2rem, 3.5vw, 3rem);
}

/* Tighter gap when same-background sections meet */
.section + .section:not(.section--dark):not(.section--cream) {
  padding-top: clamp(1rem, 2vw, 1.5rem);
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.section--dark h2 {
  color: var(--accent);
}

.section--dark p,
.section--dark .text-large {
  color: rgba(255, 255, 255, .7);
}

.section--cream {
  background: var(--cream);
  color: var(--fg);
}

.section--cream h2 {
  color: var(--accent-2);
}

.section__header {
  margin-bottom: var(--space-lg);
  text-align: center;
}

.section__header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* ─────────────────────────────────────────────
   5. LOADER
   ───────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transition: opacity .6s var(--ease-out-expo),
              transform .6s var(--ease-out-expo),
              visibility .6s;
}

.loader.done {
  opacity: 0;
  transform: scale(1.04);
  visibility: hidden;
  pointer-events: none;
}

.loader__scene {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 180px;
}

.loader__glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210,120,90,.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loader__board {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.loader__board img {
  width: clamp(120px, 18vw, 200px);
  height: auto;
  filter: brightness(0) invert(1);
}

.loader__spray {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.loader__spray i {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 252, 240, .3);
  border-radius: 50%;
  animation: spray 1.6s ease-out infinite;
}

@keyframes spray {
  0% { transform: translate(0, 0); opacity: 1; }
  100% { transform: translate(var(--sx, 20px), var(--sy, -15px)); opacity: 0; }
}

.loader__water {
  position: absolute;
  bottom: 0;
  left: -20%;
  width: 140%;
  z-index: 0;
}

.loader__waves {
  display: block;
  width: 100%;
  height: 50px;
}

.loader__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 3;
}

.loader__brand {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.loader__track {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, .12);
  border-radius: 2px;
  overflow: hidden;
}

.loader__logo {
  max-width: 180px;
  animation: logoBreathe 2.4s ease-in-out infinite;
  filter: brightness(0) invert(1);
}

.loader__progress {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 200px;
}

.loader__fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width .3s var(--ease-out-quart);
}

.loader__pct {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .15em;
  color: rgba(255, 255, 255, .4);
  text-align: center;
}


/* ─────────────────────────────────────────────
   6. TOPBAR
   ───────────────────────────────────────────── */
.topbar {
  display: none !important;
}
}

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

.topbar .container,
.topbar__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar__link,
.topbar__left a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: .7;
  transition: opacity var(--dur-fast);
}

.topbar__link:hover,
.topbar__left a:hover {
  opacity: 1;
}

.topbar__sep {
  opacity: .3;
  font-size: 10px;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar__icon {
  display: flex;
  align-items: center;
  opacity: .6;
  transition: opacity var(--dur-fast), color var(--dur-fast);
}

.topbar__icon:hover {
  opacity: 1;
  color: var(--accent);
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar__social a {
  display: flex;
  align-items: center;
  opacity: .6;
  transition: opacity var(--dur-fast), color var(--dur-fast);
}

.topbar__social a:hover {
  opacity: 1;
  color: var(--accent);
}

.topbar__social svg {
  width: 14px;
  height: 14px;
}


/* ─────────────────────────────────────────────
   7. NAVIGATION
   ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--dur-base) var(--ease-out-quart),
              box-shadow var(--dur-base) var(--ease-out-quart),
              top var(--dur-base) var(--ease-out-expo);
}

/* topbar removed — nav always at top */

.nav.scrolled {
  background: rgba(255, 252, 240, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.nav .container,
.nav__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  max-height: 56px;
  width: auto;
  transition: opacity var(--dur-fast);
}

.nav__logo:hover img {
  opacity: .7;
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 40px);
}

.nav__link,
.nav__links a {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--fg);
  position: relative;
  padding-block: 4px;
  transition: color var(--dur-fast);
}

.nav__link::after,
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-base) var(--ease-out-expo);
}

.nav__link:hover,
.nav__links a:hover {
  color: var(--accent);
}

.nav__link:hover::after,
.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link.active {
  color: var(--accent);
}

.nav__link.active::after {
  transform: scaleX(1);
}

/* Book button */
.nav__book {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: var(--accent);
  color: var(--white);
  padding: 10px 28px;
  border: 1px solid var(--accent);
  transition: background var(--dur-fast),
              border-color var(--dur-fast),
              transform var(--dur-fast);
}

.nav__book:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-1px);
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1002;
}

.nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--fg);
  transition: transform var(--dur-base) var(--ease-out-expo),
              opacity var(--dur-fast);
  transform-origin: center;
}

.nav__burger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__burger.open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(20, 20, 20, .98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-out-expo),
              visibility var(--dur-slow);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(2rem, 6vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--white);
  padding: 12px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-base) var(--ease-out-expo),
              transform var(--dur-base) var(--ease-out-expo),
              color var(--dur-fast);
}

.mobile-menu.open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal */
.mobile-menu.open .mobile-menu__link:nth-child(1) { transition-delay: .1s; }
.mobile-menu.open .mobile-menu__link:nth-child(2) { transition-delay: .15s; }
.mobile-menu.open .mobile-menu__link:nth-child(3) { transition-delay: .2s; }
.mobile-menu.open .mobile-menu__link:nth-child(4) { transition-delay: .25s; }
.mobile-menu.open .mobile-menu__link:nth-child(5) { transition-delay: .3s; }
.mobile-menu.open .mobile-menu__link:nth-child(6) { transition-delay: .35s; }
.mobile-menu.open .mobile-menu__link:nth-child(7) { transition-delay: .4s; }

.mobile-menu__link:hover {
  color: var(--accent);
}

.mobile-menu__cta {
  margin-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-base) var(--ease-out-expo) .45s,
              transform var(--dur-base) var(--ease-out-expo) .45s;
}

.mobile-menu.open .mobile-menu__cta {
  opacity: 1;
  transform: translateY(0);
}


/* ─────────────────────────────────────────────
   8. HERO
   ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding-bottom: var(--space-xl);
}

.hero__bg,
.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img,
.hero__bg video,
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.6s var(--ease-out-expo);
}

.hero--revealed .hero__bg img,
.hero--revealed .hero__bg video,
.hero--revealed .hero__image img {
  transform: scale(1);
}

.hero__overlay,
.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(20, 20, 20, .3) 0%,
      rgba(20, 20, 20, .05) 30%,
      rgba(20, 20, 20, .15) 60%,
      rgba(20, 20, 20, .75) 100%
    );
  pointer-events: none;
}

.hero__content,
.hero__text {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 var(--container-pad);
  text-align: center;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(.7rem, 1vw, .85rem);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.hero__btn {
  margin-top: var(--space-sm);
}

/* Hero page variants */
.hero--short {
  min-height: 60vh;
  min-height: 60svh;
}

.hero--center {
  align-items: center;
  justify-content: center;
  text-align: center;
}


/* ─────────────────────────────────────────────
   9. BUTTONS
   ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: 16px 40px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color var(--dur-base) var(--ease-out-quart),
              border-color var(--dur-base) var(--ease-out-quart),
              transform var(--dur-fast) var(--ease-out-quart),
              box-shadow var(--dur-base);
}

/* Water fill wave */
.btn::before {
  content: '';
  position: absolute;
  left: -10%;
  bottom: 0;
  width: 120%;
  height: 0%;
  background: var(--accent);
  border-radius: 40% 45% 0 0;
  z-index: -1;
  transition: height .5s cubic-bezier(.4, 0, .2, 1);
  animation: waterIdle 3s ease-in-out infinite paused;
}
.btn:hover::before {
  height: 110%;
}
.btn:hover {
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-2px);
}

@keyframes waterIdle {
  0%   { border-radius: 40% 45% 0 0; transform: translateX(0); }
  25%  { border-radius: 45% 38% 0 0; transform: translateX(2%); }
  50%  { border-radius: 38% 48% 0 0; transform: translateX(-1%); }
  75%  { border-radius: 48% 40% 0 0; transform: translateX(1%); }
  100% { border-radius: 40% 45% 0 0; transform: translateX(0); }
}

.btn--fill {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--fill::before {
  background: var(--accent-2);
}

.btn--fill:hover {
  background: var(--accent);
  border-color: var(--accent-2);
  box-shadow: 0 8px 30px rgba(210, 120, 90, .3);
  color: var(--white);
}

.btn--white {
  color: var(--white);
  border-color: rgba(255, 255, 255, .6);
}
.btn--white::before {
  background: rgba(255, 255, 255, .15);
}
.btn--white:hover {
  color: var(--white);
  border-color: var(--white);
}

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

.btn--sm {
  padding: 10px 24px;
  font-size: 11px;
}

.btn--lg {
  padding: 20px 56px;
  font-size: 13px;
}


/* ─────────────────────────────────────────────
   10. TWO-COL
   ───────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

.two-col__image {
  overflow: hidden;
  border-radius: 0;
}

.two-col__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

.two-col__image:hover img {
  transform: scale(1.04);
}

.two-col__content,
.two-col__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.two-col__content h2,
.two-col__text h2 {
  margin-bottom: 0;
}

.two-col__content p,
.two-col__text p {
  color: var(--grey-600);
}

.two-col__text h4 {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0;
}

.two-col__text .text-large {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: var(--fg);
}


/* ─────────────────────────────────────────────
   IMAGES, GALLERY, EDITORIAL
   ───────────────────────────────────────────── */
.full-image {
  overflow: hidden;
  border-radius: 0;
}

.full-image img {
  width: 100%;
  height: auto;
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

.wide-image {
  overflow: hidden;
  width: 100%;
}

.wide-image img {
  width: 100%;
  height: clamp(300px, 40vw, 560px);
  object-fit: cover;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 24px);
}

.gallery-row__item {
  overflow: hidden;
}

.gallery-row__item img {
  width: 100%;
  height: clamp(200px, 22vw, 340px);
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

.gallery-row__item:hover img {
  transform: scale(1.04);
}

.editorial-block {
  position: relative;
  overflow: visible;
}

.editorial-title {
  position: relative;
  margin-top: -3rem;
  padding: 0 var(--container-pad);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.editorial-title h2 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: clamp(2rem, 5vw, 4rem);
}

.block-text {
  margin-bottom: var(--space-md);
  text-align: center;
}

.block-text h4 {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5em;
}

.section--compact {
  padding: var(--space-md) 0;
}

.section--flush {
  padding: 0;
}


/* ─────────────────────────────────────────────
   10b. PHOTO CAROUSEL
   ───────────────────────────────────────────── */
.carousel {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.carousel__track {
  display: flex;
  gap: clamp(10px, 1.2vw, 16px);
  width: max-content;
  animation: carouselScroll 40s linear infinite;
  will-change: transform;
}

.carousel__track:hover {
  animation-play-state: paused;
}

.carousel__slide {
  flex: 0 0 auto;
  width: clamp(260px, 28vw, 400px);
  height: clamp(180px, 20vw, 280px);
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.carousel__slide:hover img {
  transform: scale(1.06);
}

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

@media (max-width: 640px) {
  .carousel__slide {
    width: 220px;
    height: 160px;
  }
}


/* ─────────────────────────────────────────────
   11. RESTAURANT CARDS
   ───────────────────────────────────────────── */
.resto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.resto-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.resto-card__image {
  position: absolute;
  inset: 0;
}

.resto-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

.resto-card:hover .resto-card__image img {
  transform: scale(1.06);
}

.resto-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 20, 20, .75) 0%,
    rgba(20, 20, 20, .05) 60%
  );
  z-index: 1;
}

.resto-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(20px, 3vw, 40px);
  z-index: 2;
  color: var(--white);
  transform: translateY(0);
  transition: transform var(--dur-base) var(--ease-out-expo);
}

.resto-card:hover .resto-card__content {
  transform: translateY(-8px);
}

.resto-card__label {
  font-family: var(--font-ui);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 8px;
}

.resto-card__title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 8px;
}

.resto-card__desc {
  font-size: 13px;
  opacity: .7;
  max-width: 40ch;
}


/* ─────────────────────────────────────────────
   12. SOIRÉES SECTION
   ───────────────────────────────────────────── */
.section--soiree {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section--soiree::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('') center / cover no-repeat;
  opacity: .15;
  z-index: 0;
}

.section--soiree > * {
  position: relative;
  z-index: 1;
}

.section--soiree .two-col__content p {
  color: rgba(255, 255, 255, .65);
}

.soiree-marquee {
  overflow: hidden;
  padding-block: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-block: var(--space-lg);
}

.soiree-marquee__track {
  display: flex;
  gap: clamp(40px, 5vw, 80px);
  animation: marquee 30s linear infinite;
  width: max-content;
}

.soiree-marquee__item {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(2rem, 5vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent);
  white-space: nowrap;
  opacity: .5;
  flex-shrink: 0;
}

.soiree-marquee__separator {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  color: var(--accent);
  opacity: .2;
  flex-shrink: 0;
}


/* ─────────────────────────────────────────────
   13. CARTE CADEAU
   ───────────────────────────────────────────── */
.gift-section {
  background: var(--cream);
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.gift-card {
  aspect-ratio: 3/2;
  background: var(--dark);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 2vw, 32px);
  transition: transform var(--dur-base) var(--ease-out-expo),
              box-shadow var(--dur-base);
}

.gift-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(210, 120, 90, .2) 0%,
    rgba(20, 20, 20, .0) 50%,
    rgba(181, 97, 60, .15) 100%
  );
  z-index: 0;
}

.gift-card::after {
  content: 'SWP';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-ui);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: .15em;
  color: rgba(255, 255, 255, .04);
  z-index: 0;
}

.gift-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(20, 20, 20, .35);
}

.gift-card > * {
  position: relative;
  z-index: 1;
}

.gift-card__brand {
  position: absolute;
  top: clamp(16px, 2vw, 24px);
  left: clamp(20px, 2vw, 32px);
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  z-index: 1;
}

.gift-card__value {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
  color: var(--white);
  margin-bottom: 4px;
}

.gift-card__label {
  font-family: var(--font-ui);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .5);
}

/* Tint variants */
.gift-card--25 {
  background: linear-gradient(160deg, #1a1a1a, #252018);
}

.gift-card--50 {
  background: linear-gradient(160deg, #1a1a1a, #1e2025);
}

.gift-card--100 {
  background: linear-gradient(160deg, #1a1a1a, #201a1a);
}

.gift-card--150 {
  background: linear-gradient(160deg, #1a1a1a, #1a201a);
}

/* Glass / frosted edge */
.gift-card--frost {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(20, 20, 20, .85);
  border: 1px solid rgba(255, 255, 255, .06);
}


/* ─────────────────────────────────────────────
   14. GALLERY ROW
   ───────────────────────────────────────────── */
.gallery-row {
  display: flex;
  gap: clamp(8px, 1vw, 16px);
  overflow: hidden;
  padding-block: clamp(8px, 1vw, 16px);
}

.gallery-row__item {
  flex: 0 0 auto;
  height: clamp(220px, 30vw, 420px);
  overflow: hidden;
}

.gallery-row__item img {
  height: 100%;
  width: auto;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

.gallery-row__item:hover img {
  transform: scale(1.05);
}

/* Multiple row variant */
.gallery-row--tall {
  height: clamp(300px, 40vw, 560px);
}

.gallery-row--tall .gallery-row__item {
  height: 100%;
}

/* ─── Gallery Mosaic ─── */
.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(10px, 1.2vw, 16px);
  height: clamp(240px, 26vw, 380px);
}

.gallery-mosaic__large {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-mosaic__large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

.gallery-mosaic__large:hover img {
  transform: scale(1.03);
}

.gallery-mosaic__stack {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 16px);
}

.gallery-mosaic__item {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

.gallery-mosaic__item:hover img {
  transform: scale(1.04);
}

@media (max-width: 640px) {
  .gallery-mosaic {
    grid-template-columns: 1fr;
    height: auto;
  }
  .gallery-mosaic__large img {
    height: clamp(200px, 45vw, 280px);
  }
  .gallery-mosaic__stack {
    flex-direction: row;
  }
  .gallery-mosaic__item img {
    height: clamp(120px, 28vw, 180px);
  }
}


/* ─────────────────────────────────────────────
   15. FOOTER
   ───────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: var(--white);
  padding-top: var(--space-xl);
  padding-bottom: 0;
}

.footer__main {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.footer__grid,
.footer__wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: var(--space-lg);
}

.footer__col h4 {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.footer__col {
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.8;
}

.footer__col a {
  color: rgba(255, 255, 255, .6);
  transition: color var(--dur-fast);
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__spacer {
  height: 12px;
}

.footer__social {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  transition: color var(--dur-fast);
}

.footer__social a:hover {
  color: var(--accent);
}

.footer__social svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.footer__bottom,
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .08);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.footer__bottom-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
}

.footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, .35);
  letter-spacing: .04em;
}

.footer__legal {
  font-size: 12px;
  color: rgba(255, 255, 255, .3);
}

.footer__legal a {
  color: rgba(255, 255, 255, .3);
  transition: color var(--dur-fast);
}

.footer__legal a:hover {
  color: var(--accent);
}

.footer__logo {
  max-width: 180px;
  opacity: .8;
  margin-bottom: var(--space-md);
  filter: brightness(0) invert(1);
}

.footer__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  max-width: 30ch;
  line-height: 1.8;
}

.footer__heading {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  transition: color var(--dur-fast);
}

.footer__links a:hover {
  color: var(--accent);
}

/* Contact rows with icons */
.footer__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
}

.footer__contact-row svg,
.footer__contact-row i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
  opacity: .8;
}

/* Horaires table */
.footer__horaires {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.footer__horaires tr {
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.footer__horaires td {
  padding: 8px 0;
  color: rgba(255, 255, 255, .5);
}

.footer__horaires td:first-child {
  color: rgba(255, 255, 255, .7);
  padding-right: 16px;
}

/* Footer bar */
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, .35);
  letter-spacing: .04em;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__socials a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, .4);
  transition: color var(--dur-fast), transform var(--dur-fast);
}

.footer__socials a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.footer__socials svg {
  width: 18px;
  height: 18px;
}


/* ─────────────────────────────────────────────
   16. FILM GRAIN
   ───────────────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grain 8s steps(10) infinite;
  will-change: transform;
}


/* ─────────────────────────────────────────────
   17. SPLIT TEXT
   ───────────────────────────────────────────── */
[data-split] {
  overflow: hidden;
}

[data-split] .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

[data-split] .word-inner {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
  /* GSAP handles the animation — base state hidden */
}

[data-split].revealed .word-inner {
  transform: translateY(0);
}

/* Character-level splits */
[data-split] .char {
  display: inline-block;
  transform: translateY(100%);
  will-change: transform;
}

[data-split].revealed .char {
  transform: translateY(0);
}


/* ─────────────────────────────────────────────
   18. SCROLL REVEALS
   ───────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
  transition: opacity var(--dur-slow) ease-out,
              transform var(--dur-slow) ease-out;
}

.fade-in.in-view {
  opacity: 1;
  transform: none;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  will-change: opacity, transform;
  transition: opacity var(--dur-slow) ease-out,
              transform var(--dur-slow) ease-out;
}

.fade-in-left.in-view {
  opacity: 1;
  transform: none;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  will-change: opacity, transform;
  transition: opacity var(--dur-slow) ease-out,
              transform var(--dur-slow) ease-out;
}

.fade-in-right.in-view {
  opacity: 1;
  transform: none;
}

.scale-in {
  opacity: 0;
  transform: scale(.92);
  will-change: opacity, transform;
  transition: opacity var(--dur-slow) ease-out,
              transform var(--dur-slow) ease-out;
}

.scale-in.in-view {
  opacity: 1;
  transform: none;
}

/* Stagger delays (applied by JS or manually) */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }


/* ─────────────────────────────────────────────
   19. MAGNETIC CURSOR
   ───────────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--fg);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9990;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width var(--dur-base) var(--ease-out-expo),
              height var(--dur-base) var(--ease-out-expo),
              background var(--dur-base),
              border-color var(--dur-base),
              opacity var(--dur-fast);
  will-change: transform;
}

.cursor.hovering {
  width: 48px;
  height: 48px;
  background: rgba(210, 120, 90, .3);
  border-color: transparent;
}

.cursor.clicking {
  transform: translate(-50%, -50%) scale(.85);
}

.cursor.hidden {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Hide custom cursor on touch devices / hover:none */
@media (hover: none) {
  .cursor {
    display: none !important;
  }
}


/* ─────────────────────────────────────────────
   20. BOOKING CALENDAR
   ───────────────────────────────────────────── */
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.cal-header__title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--fg);
}

.cal-header__nav {
  display: flex;
  gap: 8px;
}

.cal-header__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--grey-200);
  border-radius: 0;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}

.cal-header__btn:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.cal-weekday {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-align: center;
  padding: 8px 0;
  color: var(--grey-400);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid transparent;
  border-radius: 0;
  transition: all var(--dur-fast);
  position: relative;
}

.cal-day--empty {
  pointer-events: none;
}

.cal-day--available {
  border-color: var(--accent);
  cursor: pointer;
  color: var(--fg);
}

.cal-day--available:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.cal-day--full {
  opacity: .35;
  text-decoration: line-through;
  pointer-events: none;
  color: var(--grey-400);
}

.cal-day--today {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  font-weight: 600;
}

.cal-day--selected {
  background: var(--accent-2);
  color: var(--white);
  border-color: var(--accent-2);
}

.cal-day--past {
  opacity: .25;
  pointer-events: none;
}

/* Slot picker */
.slot-picker {
  margin-top: var(--space-md);
}

.slot-picker__title {
  font-family: var(--font-ui);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--grey-600);
  margin-bottom: var(--space-sm);
}

.slot-picker__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot-btn {
  font-family: var(--font-body);
  font-size: 13px;
  padding: 10px 20px;
  border: 1px solid var(--grey-200);
  border-radius: 0;
  cursor: pointer;
  transition: all var(--dur-fast);
}

.slot-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.slot-btn.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.slot-btn:disabled {
  opacity: .3;
  cursor: not-allowed;
}

/* Booking modal */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 20, .6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base), visibility var(--dur-base);
}

.booking-modal.open {
  opacity: 1;
  visibility: visible;
}

.booking-modal__inner {
  background: var(--bg);
  max-width: 520px;
  width: 90%;
  padding: clamp(24px, 4vw, 48px);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--dur-base) var(--ease-out-expo);
}

.booking-modal.open .booking-modal__inner {
  transform: translateY(0);
}

.booking-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  color: var(--grey-400);
  transition: color var(--dur-fast);
}

.booking-modal__close:hover {
  color: var(--fg);
}


/* ─────────────────────────────────────────────
   21. GIFT CARD DESIGNS
   ───────────────────────────────────────────── */
.gift-card--25::before {
  background: linear-gradient(
    135deg,
    rgba(210, 120, 90, .25) 0%,
    transparent 50%,
    rgba(210, 120, 90, .1) 100%
  );
}

.gift-card--50::before {
  background: linear-gradient(
    135deg,
    rgba(181, 97, 60, .25) 0%,
    transparent 50%,
    rgba(181, 97, 60, .1) 100%
  );
}

.gift-card--100::before {
  background: linear-gradient(
    135deg,
    rgba(180, 145, 100, .2) 0%,
    transparent 50%,
    rgba(210, 120, 90, .15) 100%
  );
}

.gift-card--150::before {
  background: linear-gradient(
    135deg,
    rgba(220, 180, 130, .2) 0%,
    transparent 50%,
    rgba(220, 180, 130, .15) 100%
  );
}

.gift-card--150 {
  border: 1px solid rgba(220, 180, 130, .15);
}

/* Watermark pattern */
.gift-card__pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .03;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, .5) 10px,
    rgba(255, 255, 255, .5) 11px
  );
}

/* Frosted glass premium variant */
.gift-card--premium {
  background: rgba(30, 30, 30, .9);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .3),
              inset 0 1px 0 rgba(255, 255, 255, .05);
}


/* ─────────────────────────────────────────────
   22. CONTACT PAGE
   ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.form-group {
  margin-bottom: var(--space-md);
  position: relative;
}

.form-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--grey-400);
  margin-bottom: 8px;
  transition: color var(--dur-fast);
}

.form-group:focus-within .form-label {
  color: var(--accent);
}

.form-input {
  width: 100%;
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--grey-200);
  transition: border-color var(--dur-base);
}

.form-input:focus {
  border-bottom-color: var(--accent);
}

.form-input::placeholder {
  color: var(--grey-400);
  opacity: .6;
}

.form-textarea {
  width: 100%;
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--grey-200);
  resize: vertical;
  min-height: 120px;
  transition: border-color var(--dur-base);
}

.form-textarea:focus {
  border-bottom-color: var(--accent);
}

.form-submit {
  margin-top: var(--space-sm);
}

/* Map */
.contact-map {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  filter: grayscale(1) contrast(1.05);
  transition: filter var(--dur-slow);
}

.contact-map:hover {
  filter: grayscale(0) contrast(1);
}

.contact-map-wrapper {
  overflow: hidden;
  height: 100%;
  position: relative;
}


/* ─────────────────────────────────────────────
   23. MARQUEE
   ───────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  padding-block: 0;
  position: relative;
}

.marquee__track {
  display: flex;
  gap: clamp(40px, 6vw, 100px);
  animation: marquee 40s linear infinite;
  width: max-content;
}

.marquee__item {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(2.5rem, 6vw, 5rem);
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  opacity: .5;
  color: var(--fg);
  flex-shrink: 0;
  transition: opacity var(--dur-fast);
}

.marquee__item:hover {
  opacity: 1;
}

.marquee__separator {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--accent);
  opacity: .4;
  align-self: center;
  flex-shrink: 0;
}

/* Reversed direction variant */
.marquee--reverse .marquee__track {
  animation-direction: reverse;
}

/* Accent color variant */
.marquee--accent .marquee__item {
  color: var(--accent);
}

/* Fade edges */
.marquee--fade::before,
.marquee--fade::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee--fade::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.marquee--fade::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.section--dark .marquee--fade::before {
  background: linear-gradient(to right, var(--dark), transparent);
}

.section--dark .marquee--fade::after {
  background: linear-gradient(to left, var(--dark), transparent);
}


/* ─────────────────────────────────────────────
   25. ANIMATIONS / KEYFRAMES
   ───────────────────────────────────────────── */
@keyframes logoBreathe {
  0%, 100% {
    transform: scale(.95);
    opacity: .7;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

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

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 25%); }
  90% { transform: translate(-10%, 10%); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulseAccent {
  0%, 100% { box-shadow: 0 0 0 0 rgba(210, 120, 90, .4); }
  50% { box-shadow: 0 0 0 12px rgba(210, 120, 90, 0); }
}


/* ─────────────────────────────────────────────
   26. WAKEBOARD PAGE SPECIFICS
   ───────────────────────────────────────────── */
.tarif-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.tarif-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  padding: clamp(24px, 3vw, 40px);
  transition: border-color var(--dur-base),
              box-shadow var(--dur-base),
              transform var(--dur-base);
  position: relative;
  overflow: hidden;
}

.tarif-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(210, 120, 90, .1);
  transform: translateY(-4px);
}

.tarif-card::before {
  content: '';
  position: absolute;
  left: -10%;
  bottom: 0;
  width: 120%;
  height: 0%;
  background: var(--accent);
  border-radius: 40% 45% 0 0;
  z-index: 0;
  opacity: .07;
  transition: height .6s cubic-bezier(.4, 0, .2, 1);
}
.tarif-card:hover::before {
  height: 110%;
}

.tarif-card__label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.tarif-card__price {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  color: var(--fg);
  margin-bottom: 4px;
}

.tarif-card__unit {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--grey-400);
  margin-bottom: var(--space-md);
}

.tarif-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.tarif-card__feature {
  font-size: 14px;
  color: var(--grey-600);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tarif-card__feature::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.tarif-card--featured {
  background: var(--dark);
  color: var(--white);
  border-color: transparent;
}

.tarif-card--featured .tarif-card__price {
  color: var(--white);
}

.tarif-card--featured .tarif-card__unit {
  color: rgba(255, 255, 255, .5);
}

.tarif-card--featured .tarif-card__feature {
  color: rgba(255, 255, 255, .7);
}

.tarif-card--featured:hover {
  box-shadow: 0 16px 50px rgba(0, 0, 0, .3);
}

/* Vitesse Réduite section */
.vr-section {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.vr-section::before {
  content: 'VR';
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-ui);
  font-size: clamp(12rem, 22vw, 28rem);
  font-weight: 800;
  color: rgba(210, 120, 90, .06);
  pointer-events: none;
  line-height: 1;
}

.vr-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 8px 16px;
  border-radius: 0;
  margin-bottom: var(--space-sm);
}


/* ─────────────────────────────────────────────
   WAVE DIVIDERS
   ───────────────────────────────────────────── */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: clamp(40px, 5vw, 80px);
}

.wave-divider--flip {
  transform: rotate(180deg);
}

.wave-divider--accent svg path {
  fill: var(--accent);
  opacity: .08;
}

.wave-divider--cream svg path {
  fill: var(--cream);
}

.wave-divider--dark svg path {
  fill: var(--dark);
}

.wave-divider--bg svg path {
  fill: var(--bg);
}

/* Animated wave background stripe */
.wave-stripe {
  position: relative;
  overflow: hidden;
  height: clamp(32px, 4vw, 56px);
}

.wave-stripe svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  animation: waveScroll 8s linear infinite;
}

.wave-stripe svg path {
  fill: var(--accent);
  opacity: .06;
}

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

/* ─────────────────────────────────────────────
   FOIL SECTION (reuses VR patterns)
   ───────────────────────────────────────────── */
.foil-section {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.foil-section::before {
  content: 'FOIL';
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-ui);
  font-size: clamp(10rem, 20vw, 26rem);
  font-weight: 800;
  color: rgba(210, 120, 90, .04);
  pointer-events: none;
  line-height: 1;
}

.foil-section .vr-grid__text h4 {
  color: var(--accent);
}

.foil-section .vr-grid__text h2 {
  color: var(--cream);
}

.foil-section .vr-grid__text p {
  color: rgba(255, 252, 240, .88);
}

.foil-section .vr-grid__text .btn {
  border-color: rgba(255, 252, 240, .65);
  color: var(--bg);
}

.foil-section .vr-grid__text .btn:hover {
  background: var(--bg);
  color: var(--fg);
}

.foil-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 8px 16px;
  border-radius: 0;
  margin-bottom: var(--space-sm);
}


/* ─────────────────────────────────────────────
   24. RESPONSIVE
   ───────────────────────────────────────────── */

/* ── Tablet: ≤ 1024px ── */
@media (max-width: 1024px) {
  .footer__grid,
  .footer__wrap {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .gift-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav__links {
    gap: 16px;
  }
}

/* ── Mobile: ≤ 768px ── */
@media (max-width: 768px) {
  :root {
    --topbar-h: 0px;
    --nav-h: 64px;
  }

  /* Nav → burger */
  .nav__links {
    display: none;
  }

  .nav__book {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding-bottom: var(--space-lg);
  }

  .hero__title {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }

  .hero__content {
    padding-right: var(--space-sm);
  }

  /* Two col → stacked */
  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .two-col--reverse {
    direction: ltr;
  }

  .two-col__image {
    order: -1;
  }

  .two-col__image img {
    aspect-ratio: 16/10;
  }

  /* Foil section: stack on mobile */
  .foil-section .vr-grid {
    direction: ltr !important;
  }
  .foil-section .vr-grid > * {
    direction: ltr !important;
  }

  /* Restaurant */
  .resto-grid {
    grid-template-columns: 1fr;
  }

  .resto-card {
    aspect-ratio: 4/5;
  }

  /* Gift cards */
  .gift-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer__grid,
  .footer__wrap {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* Tarifs */
  .tarif-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    min-height: 320px;
  }

  /* Calendar */
  .cal-day {
    font-size: 12px;
  }

  /* Topbar hide on mobile */
  .topbar__left span:not(:first-child) {
    display: none;
  }

  /* Section spacing reduce */
  .section {
    padding-block: clamp(1.5rem, 3vw, 2rem);
  }
  .section + .section:not(.section--dark):not(.section--cream) {
    padding-top: clamp(.75rem, 1.5vw, 1rem);
  }

  /* Gallery */
  .gallery-row__item {
    height: clamp(160px, 25vw, 260px);
  }
}

/* ── Small mobile: ≤ 480px ── */
@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  h2 {
    font-size: clamp(1.8rem, 7vw, 3rem);
  }

  /* Gift cards single col */
  .gift-grid {
    grid-template-columns: 1fr;
  }

  /* Footer single col */
  .footer__grid,
  .footer__wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Buttons */
  .btn {
    padding: 14px 28px;
    width: 100%;
    text-align: center;
  }

  .btn--sm {
    width: auto;
  }

  /* Topbar compact */
  .topbar {
    font-size: 11px;
  }

  .topbar__social {
    gap: 10px;
  }

  /* Booking slots */
  .slot-picker__list {
    gap: 6px;
  }

  .slot-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  /* Calendar tighter */
  .cal-grid {
    gap: 2px;
  }

  .cal-day {
    font-size: 11px;
  }

  /* Container padding tighter */
  .container {
    padding-inline: 16px;
  }

  /* Marquee smaller */
  .marquee__item {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }
}

/* 
  ── Print ── 
*/
@media print {
  .nav, .topbar, .cursor, .grain, .loader, .mobile-menu {
    display: none !important;
  }

  body {
    overflow: visible;
    color: #000;
    background: #fff;
  }

  .section--dark {
    background: #fff;
    color: #000;
  }

  .hero {
    min-height: auto;
    page-break-after: always;
  }
}


/* ─────────────────────────────────────────────
   UTILITIES
   ───────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.overflow-hidden { overflow: hidden; }
.no-scroll { overflow: hidden !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.w-full { width: 100%; }
.mx-auto { margin-inline: auto; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.pb-0 { padding-bottom: 0; }
.pt-0 { padding-top: 0; }
.relative { position: relative; }
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in,
  .fade-in-left,
  .fade-in-right,
  .scale-in {
    opacity: 1;
    transform: none;
  }

  [data-split] .word-inner,
  [data-split] .char {
    transform: none;
  }
}


/* ─────────────────────────────────────────────
   CLASS ALIASES (HTML ↔ CSS naming bridge)
   ───────────────────────────────────────────── */

/* burger alias: HTML uses .burger, CSS uses .nav__burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1002;
  background: none;
  border: none;
  padding: 0;
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--fg);
  transition: transform var(--dur-base) var(--ease-out-expo),
              opacity var(--dur-fast);
  transform-origin: center;
}
.nav.scrolled .burger span { background: var(--fg); }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* mobile menu alias: HTML uses .mmenu, CSS uses .mobile-menu */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(20, 20, 20, .98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-out-expo),
              visibility var(--dur-slow);
}
.mmenu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mmenu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.mmenu__nav a {
  font-family: var(--font-display);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--white);
  padding: 12px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-base) var(--ease-out-expo),
              transform var(--dur-base) var(--ease-out-expo),
              color var(--dur-fast);
}
.mmenu.open .mmenu__nav a {
  opacity: 1;
  transform: translateY(0);
}
.mmenu.open .mmenu__nav a:nth-child(1) { transition-delay: .1s; }
.mmenu.open .mmenu__nav a:nth-child(2) { transition-delay: .15s; }
.mmenu.open .mmenu__nav a:nth-child(3) { transition-delay: .2s; }
.mmenu.open .mmenu__nav a:nth-child(4) { transition-delay: .25s; }
.mmenu.open .mmenu__nav a:nth-child(5) { transition-delay: .3s; }
.mmenu.open .mmenu__nav a:nth-child(6) { transition-delay: .35s; }
.mmenu.open .mmenu__nav a:nth-child(7) { transition-delay: .4s; }
.mmenu__nav a:hover { color: var(--accent); }
.mmenu__cta {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 36px;
  font-family: var(--font-ui);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--white);
  background: var(--accent);
  border: none;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.mmenu__cta:hover { background: var(--accent-2); }

/* nav__btn alias — HTML uses nav__btn */
.nav__btn {
  display: inline-block;
  padding: 10px 28px;
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: var(--accent);
  color: var(--white);
  border: none;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.nav__btn:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

/* Active nav link */
.nav__links a.active,
.nav__links .active {
  opacity: 1;
  color: var(--accent);
}
.nav__links a.active::after { transform: scaleX(1); }

/* Show burger on mobile */
@media (max-width: 768px) {
  .burger { display: flex; }
  .nav__links { display: none; }
  .nav__btn { display: none; }
  .nav__book { display: none; }
}
