/* ================================================================
   LE CLUB 33 — DESIGN SYSTEM
   Palette : Charbon #1A1A1A · Blanc chaud #F7F4EF · Or #C4965A
   ================================================================ */

/* === POLICE DU LOGO ============================================ */
@font-face {
  font-family: 'Hamilton';
  src: url('../fonts/Hamilton.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* === VARIABLES ================================================== */
:root {
  --dark:         #1A1A1A;
  --dark-mid:     #272421;
  --dark-soft:    #2E2B27;
  --off-white:    #F7F4EF;
  --warm-white:   #EFEBE4;
  --gold:         #C4965A;
  --gold-light:   #D4A96A;
  --text-light:   #E8E2D9;
  --text-muted:   #8A8077;
  --border-light: rgba(255, 255, 255, 0.10);
  --border-dark:  rgba(26, 26, 26, 0.10);

  --serif:  'Cormorant Garamond', Georgia, serif;
  --script: 'Great Vibes', cursive;
  --sans:   'Jost', system-ui, sans-serif;
  --body:   'DM Sans', system-ui, sans-serif;

  --max:    1280px;
  --nav-h:  80px;
  --pad:    clamp(5rem, 10vw, 10rem);
  --gap:    clamp(1.5rem, 3vw, 3rem);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--body);
  font-weight: 300;
  color: var(--dark);
  background: var(--off-white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
address { font-style: normal; }

/* === TYPOGRAPHY UTILITIES ======================================= */
.heading-serif {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.heading-light { color: var(--text-light); }

.label {
  display: block;
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.label-gold { color: var(--gold); }

.section-intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.section-intro.muted { color: rgba(232, 226, 217, 0.45); }

/* === BUTTONS ==================================================== */
.btn-ghost {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  border: 1px solid var(--gold);
  padding: 1rem 2.8rem;
  transition: background 0.3s ease, color 0.3s ease;
}

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

.btn-dark {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dark);
  border: 1px solid var(--dark);
  padding: 1rem 2.8rem;
  transition: background 0.3s ease, color 0.3s ease;
}

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

/* === CONTAINER ================================================== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* === SECTION HEADER ============================================= */
.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.section-header h2 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.45s ease;
}

.navbar.scrolled {
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand {
  font-family: 'Hamilton', var(--script);
  font-weight: 400;
  font-size: 1.9rem;
  color: var(--text-light);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.3s;
}

.nav-logo:hover .nav-brand {
  color: var(--gold);
}

.nav-logo:hover img { opacity: 0.75; }

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.3s;
}

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

.nav-cta {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.6rem 1.5rem;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 17px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text-light);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 999;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.mobile-link {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--text-light);
  transition: color 0.3s;
}

.mobile-link:hover { color: var(--gold); }

.mobile-reserve {
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-size: 0.78rem !important;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  padding: 0.85rem 2.2rem;
  margin-top: 0.5rem;
  transition: background 0.3s, color 0.3s !important;
}

.mobile-reserve:hover {
  background: var(--gold);
  color: var(--dark) !important;
}

/* ================================================================
   HERO
   ================================================================ */
#hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
}

.hero-swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-swiper .swiper-slide {
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 15, 12, 0.56);
  z-index: 2;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.8rem;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 6rem;
}

.hero-brand {
  font-family: 'Hamilton', var(--script);
  font-weight: 400;
  font-size: clamp(3.8rem, 9vw, 7rem);
  color: #FFFFFF;
  letter-spacing: 0.02em;
  animation: textIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  color: var(--text-light);
  letter-spacing: 0.06em;
  animation: textIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero-content .btn-ghost {
  animation: textIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

/* Bouton Réserver agrandi et plus lisible (hero) */
.btn-hero {
  font-size: clamp(0.9rem, 1.6vw, 1.15rem);
  letter-spacing: 0.26em;
  padding: 1.5rem 4.5rem;
  border-width: 2px;
  color: #FFFFFF;
  background-color: rgba(26, 26, 26, 0.35);
}

.btn-hero:hover {
  background-color: var(--off-white);
  color: var(--dark);
}

/* Swiper pagination dots */
.hero-pagination {
  bottom: 2.5rem !important;
}

.hero-pagination .swiper-pagination-bullet {
  width: 5px;
  height: 5px;
  background: rgba(232, 226, 217, 0.4);
  opacity: 1;
  transition: background 0.3s, transform 0.3s;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--gold);
  transform: scale(1.4);
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: textIn 1s ease 1.6s both;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2.2s ease-in-out 2s infinite;
}

/* ================================================================
   SECTION — LE CLUB 33
   ================================================================ */
.section-club {
  background: radial-gradient(130% 90% at 50% 0%, #FCFAF6 0%, var(--off-white) 60%, #EFEAE2 100%);
}

.club-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
}

.club-image {
  overflow: hidden;
  background: var(--dark);
}

.club-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.club-image:hover img { transform: scale(1.04); }

.club-text {
  padding: clamp(3.5rem, 8vw, 7rem) clamp(2.5rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.club-text .label {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.club-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: var(--gold);
  letter-spacing: 0.04em;
}

.club-divider {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 2.2rem 0;
  position: relative;
}

.club-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(28px, -50%) rotate(45deg);
}

.club-definition {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.6;
  color: #3C352E;
  max-width: 36ch;
}

.club-story {
  margin-top: 2rem;
}

.club-story p {
  font-size: 1.02rem;
  line-height: 1.95;
  color: #4A433C;
}

.club-story p + p { margin-top: 1rem; }

.club-text .btn-dark {
  margin-top: 2.6rem;
}

/* ================================================================
   SECTION — LA GALERIE
   ================================================================ */
.section-galerie {
  background: var(--off-white);
  padding: var(--pad) 0;
}

.gallery-swiper {
  padding: 2rem 0 1rem;
  margin-top: 1rem;
  overflow: hidden;
}

.gallery-swiper .swiper-slide {
  width: clamp(230px, 24vw, 330px);
  height: clamp(330px, 44vw, 470px);
  transition: transform 0.5s ease, filter 0.5s ease, opacity 0.5s ease;
  transform: scale(0.82);
  filter: grayscale(45%);
  opacity: 0.5;
}

/* Carte centrale mise en valeur */
.gallery-swiper .swiper-slide-active {
  transform: scale(1);
  filter: grayscale(0%);
  opacity: 1;
}

.gallery-item {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 6px;
}

.gallery-swiper .swiper-slide-active .gallery-item {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* === BOUTONS PREV / NEXT GALERIE ============================== */
.gallery-nav {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.gallery-btn {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dark);
  background: transparent;
  border: 1px solid var(--dark);
  border-radius: 999px;
  padding: 0.85rem 2.6rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.gallery-btn:hover {
  background: var(--dark);
  color: var(--off-white);
}

/* ================================================================
   SECTION — AVIS CLIENTS
   ================================================================ */
.section-avis {
  background: var(--dark-soft);
  padding: var(--pad) 0;
}

.avis-stars {
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
}

.avis-score {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(232, 226, 217, 0.35);
  margin-bottom: 3.5rem;
}

.avis-source {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 0.3rem;
  transition: opacity 0.3s;
}

.avis-source:hover { opacity: 0.75; }

.avis-swiper {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 3.5rem;
  position: relative;
}

.avis-quote {
  text-align: center;
  padding: 1.5rem 0;
}

.avis-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.55;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.avis-quote cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.avis-via {
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(196, 150, 90, 0.5);
}

.avis-prev,
.avis-next {
  color: var(--gold) !important;
  width: auto !important;
  height: auto !important;
  top: 50% !important;
}

.avis-prev::after,
.avis-next::after {
  font-size: 0.9rem !important;
}

/* ================================================================
   SECTION — NOS PRESTATIONS
   ================================================================ */
.section-soins {
  background: var(--off-white);
  padding: var(--pad) 0;
}

.prestations-wrap {
  max-width: 620px;
  margin: 0 auto;
}

.prestation-category {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-dark);
}

.prestation-category:first-child {
  border-top: none;
  padding-top: 0;
}

.prestation-packages {
  /* no override needed */
}

.cat-title {
  font-family: var(--sans);
  font-weight: 600;
  font-style: normal;
  font-size: 0.73rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.p-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.p-list li:last-child { border-bottom: none; }

.p-name {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--dark);
}

.p-name em {
  display: block;
  font-style: italic;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.p-price {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.prestations-footer {
  text-align: center;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.p-hours {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
}

/* ================================================================
   SECTION — RÉSERVATION CTA
   ================================================================ */
.section-reservation {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reservation-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 0.1s linear;
  will-change: transform;
}

.reservation-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 15, 12, 0.72);
  z-index: 1;
}

.reservation-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding: 4rem 1.5rem;
}

.reservation-content h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.reservation-sub {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 226, 217, 0.88);
  line-height: 2;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--dark);
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(3.5rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.footer-logo {
  width: 76px;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social a {
  color: var(--text-muted);
  transition: color 0.3s;
  display: flex;
}

.footer-social a:hover { color: var(--gold); }

.footer-heading {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-info p,
.footer-info address p {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.footer-info a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-info a:hover { color: var(--gold); }

.footer-hours {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-light);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 1.4rem clamp(1.5rem, 5vw, 4rem);
  padding-bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 100%;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.72rem;
  color: rgba(154, 144, 135, 0.4);
}

.footer-bottom a:hover { color: var(--gold); }

/* ================================================================
   RESPONSIVE — TABLET (≤1024px)
   ================================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ================================================================
   RESPONSIVE — MOBILE (≤768px)
   ================================================================ */
@media (max-width: 768px) {
  :root {
    --nav-h: 68px;
    --pad: clamp(3.5rem, 8vw, 5rem);
  }

  /* Nav */
  .nav-links,
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Club */
  .club-grid { grid-template-columns: 1fr; }
  .club-image { min-height: 60vw; }
  .club-text { padding: 3.5rem 1.5rem; }

  /* Gallery */
  .gallery-swiper .swiper-slide {
    width: 72vw;
    height: 90vw;
  }

  /* Avis */
  .avis-swiper { padding: 0 2.5rem; }
  .avis-quote p { font-size: 1.2rem; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ================================================================ */
@media (max-width: 480px) {
  .gallery-swiper { padding: 0 1rem; }
  .avis-swiper { padding: 0 1.5rem; }
}
