/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --purple-dark: #2d0a3e;
  --purple-mid: #4a1060;
  --purple-light: #6b2080;
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --white: #ffffff;
  --text-light: #e0d0f0;
}

html {
  scroll-behavior: smooth;
  font-size: 17px; /* base rem — monte tous les textes proportionnellement */
}

/* ===== CURSEUR PERSONNALISÉ ===== */
#cursor-glow {
  position: fixed;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.35) 0%, rgba(201,168,76,0.08) 50%, transparent 70%);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
  opacity: 0;
  mix-blend-mode: screen;
}

#cursor-glow.visible {
  opacity: 1;
}

#cursor-glow.hover-grow {
  width: 56px;
  height: 56px;
  background: radial-gradient(circle, rgba(201,168,76,0.5) 0%, rgba(255,215,80,0.15) 50%, transparent 70%);
}

/* ===== FIL DORÉ SCROLL ===== */
#golden-thread {
  position: fixed;
  top: 0;
  left: 50%;
  width: 1px;
  height: 0%;
  background: linear-gradient(to bottom, transparent 0%, rgba(201,168,76,0.6) 30%, var(--gold) 50%, rgba(201,168,76,0.6) 70%, transparent 100%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  box-shadow: 0 0 8px rgba(201,168,76,0.3);
  transform: translateX(-50%);
}

/* ===== GOLD FOIL SHIMMER SUR TITRES ===== */
h2 {
  background: linear-gradient(
    120deg,
    #ffe57a 0%,
    #ffe57a 35%,
    #fff8e0 48%,
    #ffffff 50%,
    #fff8e0 52%,
    #ffe57a 65%,
    #ffe57a 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldFoil 5s ease-in-out infinite;
  will-change: background-position;
}

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

/* ===== ICÔNES ✦ ANIMÉES ===== */
@keyframes iconPulseRotate {
  0%   { transform: rotate(0deg)   scale(1);   opacity: 0.8; }
  25%  { transform: rotate(90deg)  scale(1.15); opacity: 1; }
  50%  { transform: rotate(180deg) scale(1);   opacity: 0.8; }
  75%  { transform: rotate(270deg) scale(1.15); opacity: 1; }
  100% { transform: rotate(360deg) scale(1);   opacity: 0.8; }
}

/* ===== AURORA GRADIENT SECTIONS ===== */
/* Animation via opacity sur ::before — composité GPU, zéro repaint */
.services,
.guidances,
.apropos,
.avis {
  position: relative;
}

.services::before,
.guidances::before,
.apropos::before,
.avis::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,   rgba(100,30,160,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(80,20,140,0.07) 0%, transparent 70%);
  animation: auroraGlow 10s ease-in-out infinite alternate;
}

.services > *,
.guidances > *,
.apropos > *,
.avis > * {
  position: relative;
  z-index: 1;
}

@keyframes auroraGlow {
  0%   { opacity: 0.7; }
  100% { opacity: 1; }
}

/* ===== SECTION DIVIDERS ===== */
.section-divider {
  position: relative;
}
.section-divider::after {
  content: '';
  display: block;
  width: 100%;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0,20 Q360,0 720,20 T1440,20' fill='none' stroke='rgba(201,168,76,0.3)' stroke-width='1.5'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  opacity: 0.7;
}

/* ===== TEXTURED BACKGROUND ===== */
.intro, .services, .apropos, .guidances, .galerie, .avis, .contact, .events, .modalites, .compteurs {
  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='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ===== LOADER ===== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0d0018;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.loader-inner img {
  height: 120px;
  width: auto;
  animation: loader-pulse 1.4s ease-in-out infinite alternate;
}

@keyframes loader-pulse {
  from { opacity: 0.6; transform: scale(0.95); }
  to   { opacity: 1;   transform: scale(1.05); }
}

.loader-bar {
  width: 180px;
  height: 2px;
  background: rgba(201,168,76,0.2);
  border-radius: 2px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: var(--gold);
  animation: loader-fill 1.2s ease forwards;
  box-shadow: 0 0 8px rgba(255,210,80,0.8);
}

@keyframes loader-fill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ===== BOUTON RETOUR EN HAUT ===== */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 46px;
  height: 46px;
  background: rgba(15,0,30,0.85);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 1.6rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background: rgba(201,168,76,0.15);
}

/* ===== BOUTON WHATSAPP FLOTTANT ===== */
#whatsapp-float {
  position: fixed;
  bottom: 88px;
  right: 32px;
  z-index: 900;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 32px rgba(37,211,102,0.65);
}

/* ===== BANDEAU RGPD ===== */
#rgpd-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: rgba(13,0,24,0.97);
  border-top: 1px solid rgba(201,168,76,0.3);
  padding: 18px 24px;
  transform: translateY(100%);
  transition: transform 0.45s ease;
}
#rgpd-banner.visible {
  transform: translateY(0);
}
.rgpd-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.rgpd-inner p {
  flex: 1;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  color: rgba(224,208,240,0.8);
  line-height: 1.6;
  margin: 0;
}
.rgpd-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.rgpd-btns button {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 8px 20px;
  cursor: pointer;
  border: 1px solid var(--gold);
  transition: background 0.3s, color 0.3s;
}
#rgpd-accept {
  background: var(--gold);
  color: #0d0018;
}
#rgpd-accept:hover {
  background: var(--gold-light);
}
#rgpd-refuse {
  background: transparent;
  color: var(--gold);
}
#rgpd-refuse:hover {
  background: rgba(201,168,76,0.1);
}

/* ===== AVIS CLIENTS ===== */
.avis {
  background: linear-gradient(180deg, #0d0018 0%, #1a0228 100%);
  text-align: center;
  padding: 80px 40px;
  overflow: hidden;
}

/* Avis carousel */
.avis-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: visible;
}

.avis-track-wrap {
  overflow: hidden;
}

.avis-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(15,0,30,0.7);
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold);
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  line-height: 1;
}
.avis-arrow:hover {
  background: rgba(201,168,76,0.2);
  transform: translateY(-50%) scale(1.1);
}
.avis-prev { left: -22px; }
.avis-next { right: -22px; }

.avis-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

.avis-card {
  min-width: 100%;
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.15);
  position: relative;
  overflow: hidden;
}

.avis-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.avis-card:hover::before {
  opacity: 1;
}

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

.avis-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.avis-author {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  opacity: 0.8;
}

.avis-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.8rem;
}

.avis-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201,168,76,0.3);
  border: 1px solid rgba(201,168,76,0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.avis-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Délais en cascade pour les grilles */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }
.reveal-delay-4 { transition-delay: 0.46s; }

/* ===== TYPOGRAPHIE ===== */
body {
  font-family: 'Cormorant Garamond', 'Lato', serif;
  background-color: var(--purple-dark);
  color: var(--white);
  line-height: 1.85;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

h1 {
  font-family: 'Cinzel', serif;
  color: #ffe57a;
  letter-spacing: 0.18em;
  font-weight: 700;
  line-height: 1.15;
  text-shadow:
    0 0 8px  rgba(255,215,80,0.95),
    0 0 20px rgba(255,200,50,0.8),
    0 0 45px rgba(201,168,76,0.65),
    0 0 80px rgba(180,130,20,0.4);
}

h2 {
  font-family: 'Cinzel', serif;
  color: #ffe57a;
  letter-spacing: 0.14em;
  font-weight: 600;
  filter: drop-shadow(0 0 6px rgba(255,215,80,0.7))
          drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  transition: filter 0.4s ease;
}

h2:hover {
  filter: drop-shadow(0 0 12px rgba(255,215,80,0.9))
          drop-shadow(0 4px 8px rgba(0,0,0,0.6))
          drop-shadow(0 0 30px rgba(201,168,76,0.4));
}

h3 {
  font-family: 'Cinzel', serif;
  color: #ffd966;
  letter-spacing: 0.1em;
  font-weight: 400;
  text-shadow:
    0 0 5px  rgba(255,210,70,0.85),
    0 0 14px rgba(201,168,76,0.6),
    0 0 30px rgba(180,130,20,0.3);
}

h4 {
  font-family: 'Cinzel', serif;
  color: #ffd966;
  letter-spacing: 0.1em;
  text-shadow:
    0 0 5px  rgba(255,210,70,0.8),
    0 0 14px rgba(201,168,76,0.5);
}

p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  line-height: 1.85;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  position: relative;
}

a {
  color: var(--gold);
  text-decoration: none;
}

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

section {
  padding: 80px 40px;
}

/* ===== PLUIE DÉCORATIVE ===== */
#rain-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Assure que tout le contenu passe au-dessus du canvas */
header, section, footer {
  position: relative;
  z-index: 1;
}

/* ===== LOGO FLOTTANT ===== */
.logo-floating {
  position: fixed;
  top: 6px;
  left: 30px;
  z-index: 1100;
  pointer-events: auto;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.logo-floating img {
  height: 140px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
}

.logo-floating.shrink img {
  height: 70px;
}

.logo-floating.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(45, 10, 62, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  transition: transform 0.4s ease, background 0.3s ease, box-shadow 0.3s ease;
}

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

#header.scrolled {
  background: rgba(30, 5, 45, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.header-inner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 60px;
}

.header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

nav ul li a {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.3s;
  white-space: nowrap;
}

nav ul li a:hover {
  color: var(--gold-light);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--gold);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,0,20,0.3) 0%, rgba(20,0,35,0.5) 60%, rgba(10,0,20,0.7) 100%);
  z-index: 1;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* ===== BOUGIES ===== */
.candles-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Bougie générique */
.candle {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wax {
  background: linear-gradient(to right, #e8d9c0, #f5ecd8, #d4c4a0, #f5ecd8, #e0ccaa);
  border-radius: 3px 3px 2px 2px;
  position: relative;
}

.glow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 180, 60, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.flame {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: -2px;
  z-index: 2;
}

.flame > div {
  border-radius: 50% 50% 20% 20% / 60% 60% 40% 40%;
  transform-origin: center bottom;
  animation: flicker 2.5s ease-in-out infinite alternate;
}

.flame-inner {
  position: absolute;
  border-radius: 50% 50% 20% 20% / 60% 60% 40% 40%;
  background: radial-gradient(ellipse at 50% 80%, #fff 0%, #ffe566 30%, transparent 75%);
  transform-origin: center bottom;
  animation: flicker-inner 1.8s ease-in-out infinite alternate;
}

@keyframes flicker {
  0%   { transform: scaleX(1)   scaleY(1)   rotate(-1deg); opacity: 1; }
  25%  { transform: scaleX(0.9) scaleY(1.05) rotate(1.5deg); opacity: 0.97; }
  50%  { transform: scaleX(1.05) scaleY(0.97) rotate(-0.5deg); opacity: 1; }
  75%  { transform: scaleX(0.95) scaleY(1.03) rotate(1deg); opacity: 0.95; }
  100% { transform: scaleX(1.02) scaleY(1)   rotate(-1.5deg); opacity: 1; }
}

@keyframes flicker-inner {
  0%   { transform: scaleX(0.8) scaleY(0.9) translateY(2px); }
  50%  { transform: scaleX(0.7) scaleY(1.1) translateY(-1px); }
  100% { transform: scaleX(0.85) scaleY(0.95) translateY(1px); }
}

@keyframes glow-pulse {
  0%   { opacity: 0.6; transform: scale(1); }
  50%  { opacity: 0.9; transform: scale(1.08); }
  100% { opacity: 0.65; transform: scale(1.02); }
}

/* ---- Bougie 1 — grande, à gauche ---- */
.candle-1 { left: 5%; }
.candle-1 .wax    { width: 22px; height: 260px; }
.candle-1 .flame > div { width: 18px; height: 34px; background: linear-gradient(to top, #ff9500, #ffcc44, #fff8c0); animation-duration: 2.2s; }
.candle-1 .flame-inner { width: 10px; height: 22px; top: 4px; }
.candle-1 .glow   { width: 180px; height: 180px; top: -120px; left: 50%; transform: translateX(-50%); animation: glow-pulse 2.2s ease-in-out infinite alternate; }

/* ---- Bougie 2 — petite, à gauche ---- */
.candle-2 { left: 9%; }
.candle-2 .wax    { width: 14px; height: 160px; }
.candle-2 .flame > div { width: 12px; height: 24px; background: linear-gradient(to top, #ff8800, #ffcc33, #fffacc); animation-duration: 1.9s; animation-delay: 0.3s; }
.candle-2 .flame-inner { width: 7px; height: 15px; top: 3px; }
.candle-2 .glow   { width: 110px; height: 110px; top: -80px; left: 50%; transform: translateX(-50%); animation: glow-pulse 1.9s ease-in-out infinite alternate; animation-delay: 0.3s; }

/* ---- Bougie 3 — moyenne, gauche centre ---- */
.candle-3 { left: 18%; }
.candle-3 .wax    { width: 18px; height: 200px; }
.candle-3 .flame > div { width: 15px; height: 29px; background: linear-gradient(to top, #ff9000, #ffcc44, #fff7bb); animation-duration: 2.6s; animation-delay: 0.7s; }
.candle-3 .flame-inner { width: 8px; height: 18px; top: 4px; }
.candle-3 .glow   { width: 150px; height: 150px; top: -100px; left: 50%; transform: translateX(-50%); animation: glow-pulse 2.6s ease-in-out infinite alternate; animation-delay: 0.7s; }

/* ---- Bougie 4 — grande, droite centre ---- */
.candle-4 { right: 18%; }
.candle-4 .wax    { width: 20px; height: 220px; }
.candle-4 .flame > div { width: 17px; height: 32px; background: linear-gradient(to top, #ff9200, #ffcb44, #fff9c0); animation-duration: 2.4s; animation-delay: 0.5s; }
.candle-4 .flame-inner { width: 9px; height: 20px; top: 4px; }
.candle-4 .glow   { width: 160px; height: 160px; top: -110px; left: 50%; transform: translateX(-50%); animation: glow-pulse 2.4s ease-in-out infinite alternate; animation-delay: 0.5s; }

/* ---- Bougie 5 — petite, droite ---- */
.candle-5 { right: 9%; }
.candle-5 .wax    { width: 14px; height: 140px; }
.candle-5 .flame > div { width: 12px; height: 23px; background: linear-gradient(to top, #ff8800, #ffcc33, #fffacc); animation-duration: 2s; animation-delay: 1s; }
.candle-5 .flame-inner { width: 7px; height: 14px; top: 3px; }
.candle-5 .glow   { width: 100px; height: 100px; top: -70px; left: 50%; transform: translateX(-50%); animation: glow-pulse 2s ease-in-out infinite alternate; animation-delay: 1s; }

/* ---- Bougie 6 — grande, à droite ---- */
.candle-6 { right: 4%; }
.candle-6 .wax    { width: 22px; height: 280px; }
.candle-6 .flame > div { width: 18px; height: 35px; background: linear-gradient(to top, #ff9500, #ffcc44, #fff8c0); animation-duration: 2.8s; animation-delay: 0.2s; }
.candle-6 .flame-inner { width: 10px; height: 22px; top: 4px; }
.candle-6 .glow   { width: 190px; height: 190px; top: -130px; left: 50%; transform: translateX(-50%); animation: glow-pulse 2.8s ease-in-out infinite alternate; animation-delay: 0.2s; }

/* ---- Bougie 7 — très petite, extrême gauche ---- */
.candle-7 { left: 1%; }
.candle-7 .wax    { width: 12px; height: 110px; }
.candle-7 .flame > div { width: 10px; height: 20px; background: linear-gradient(to top, #ff8000, #ffbb33, #fff8bb); animation-duration: 1.7s; animation-delay: 0.9s; }
.candle-7 .flame-inner { width: 6px; height: 13px; top: 2px; }
.candle-7 .glow   { width: 90px; height: 90px; top: -60px; left: 50%; transform: translateX(-50%); animation: glow-pulse 1.7s ease-in-out infinite alternate; animation-delay: 0.9s; }

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 40px rgba(201, 168, 76, 0.5);
}

.hero-initial {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.45em;
  font-weight: 700;
  color: #ffe57a;
  display: inline-block;
  line-height: 0.85;
  vertical-align: middle;
  margin-right: 0.02em;
  text-shadow:
    0 0 10px rgba(255,215,80,1),
    0 0 28px rgba(255,200,50,0.9),
    0 0 60px rgba(201,168,76,0.75),
    0 0 110px rgba(180,130,20,0.5);
}

.hero-tagline {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 8.5rem;
  line-height: 1.8;
}

/* Hero reveal animation */
.hero-reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1.2s ease-out forwards;
}
.hero-reveal-1 { animation-delay: 0.5s; }
.hero-reveal-2 { animation-delay: 1.1s; }
.hero-reveal-3 { animation-delay: 1.7s; }

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  background: transparent;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--purple-dark);
}

.btn-secondary {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
  margin-top: 1rem;
}

.btn-secondary:hover {
  background: rgba(201, 168, 76, 0.15);
}

.btn-whatsapp {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gold);
  color: #1a0030;
  border: 2px solid var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
  margin-top: 1rem;
}

.btn-whatsapp:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #1a0030;
}

.tarif-contact-text {
  color: var(--text-light);
  font-size: 0.82rem;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  font-style: italic;
}

.btn-whatsapp-green {
  display: inline-block;
  padding: 11px 28px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  transition: background 0.3s, color 0.3s;
}

.btn-whatsapp-green:hover {
  background: var(--gold);
  color: #0d0018;
}

/* ===== INTRO ===== */
.intro {
  background: rgba(0,0,0,0.3);
  text-align: center;
  padding: 40px;
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.intro p {
  font-size: 0.95rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 4px 0;
}

/* ===== VIDÉO ===== */
.video-section {
  background: #0d001a;
  padding: 40px 40px;
  text-align: center;
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.video-wrapper {
  max-width: 1050px;
  margin: 0 auto;
  border: 1px solid rgba(201,168,76,0.3);
  box-shadow: 0 0 60px rgba(100, 20, 120, 0.4);
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

/* ===== VAGUE DORÉE SERVICES ===== */
.wave-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.services > *:not(.wave-canvas) {
  position: relative;
  z-index: 1;
}

/* ===== SERVICES ===== */
.services {
  background: linear-gradient(180deg, var(--purple-dark) 0%, #1e0530 100%);
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.services-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.services-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.services-intro {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 1rem;
}

/* Offre spéciale */
.offre-speciale {
  max-width: 720px;
  margin: 0 auto 5rem;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, rgba(0,0,0,0.3) 100%);
  position: relative;
  padding: 3rem;
}

.offre-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--purple-dark);
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 20px;
  white-space: nowrap;
}

.offre-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.offre-text h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.offre-text p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.offre-prices {
  text-align: center;
  border-left: 1px solid rgba(201,168,76,0.3);
  padding-left: 3rem;
}

.offre-price-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.offre-price-old {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: rgba(201,168,76,0.4);
  text-decoration: line-through;
}

.offre-price-new {
  font-family: 'Cinzel', serif;
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
}

.offre-price-label {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* Sources de guidance */
.guidance-section {
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

.guidance-intro {
  max-width: 650px;
  margin: 0 auto 3rem;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.9;
}

.guidance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.guidance-card {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 2rem 1.5rem;
  transition: transform 0.3s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.guidance-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.guidance-card:hover::before {
  opacity: 1;
}

.guidance-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.12);
}

.guidance-icon {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-block;
  animation: iconPulseRotate 4s ease-in-out infinite;
}

.guidance-card h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.guidance-card p {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.7;
}

.guidance-conclusion {
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

.tagline-br-mobile { display: none; }

/* ===== À PROPOS ===== */
.apropos {
  background: var(--purple-dark);
}

.apropos-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1050px;
  margin: 0 auto;
  align-items: start;
}

.apropos-photo img {
  width: 100%;
  max-width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center 15%;
  filter: brightness(0.9) contrast(1.1);
  border: 2px solid rgba(0, 0, 0, 0.55);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.apropos-text h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.apropos-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* ===== EVENTS ===== */
.events {
  background: linear-gradient(135deg, #1a0528 0%, var(--purple-mid) 100%);
}

.events-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1050px;
  margin: 0 auto;
  align-items: start;
}

/* Carrousel events */
.events-carousel {
  position: relative;
  width: 100%;
}

.carousel-track-wrapper {
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.35);
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

.carousel-track img {
  min-width: 100%;
  width: 100%;
  height: 420px;
  image-orientation: from-image;
  object-fit: cover;
  filter: brightness(0.88);
  flex-shrink: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(15,0,30,0.65);
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold);
  font-size: 2.4rem;
  width: 48px;
  height: 64px;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carousel-btn:hover {
  background: rgba(201,168,76,0.2);
  border-color: var(--gold);
}

.carousel-prev { left: -24px; }
.carousel-next { right: -24px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.carousel-caption {
  margin-top: 1.4rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-light);
  text-align: center;
  line-height: 1.8;
  opacity: 0.9;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201,168,76,0.3);
  border: 1px solid rgba(201,168,76,0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dot.active {
  background: var(--gold);
}

.events-text p {
  color: var(--text-light);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.events-text ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.events-text ul li {
  color: var(--text-light);
  padding: 4px 0;
  font-size: 0.9rem;
}

.events-text ul li::before {
  content: "• ";
  color: var(--gold);
}

.events-cta-text {
  font-style: italic;
  color: var(--gold-light) !important;
  margin-top: 1rem;
}

/* ===== GUIDANCES / TARIFS ===== */
.guidances {
  background: url('Images/Deco/pngtree-mystic-blackberry-a-textured-design-on-an-abstract-dark-purple-background-image_13879614.webp') center / cover;
  position: relative;
}

.guidances::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30,5,50,0.85);
}

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

.guidances-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.9;
}

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1050px;
  margin: 0 auto;
}

.tarif-card {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 2rem;
  text-align: center;
  transition: transform 0.4s ease-out, box-shadow 0.4s;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tarif-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.tarif-card:hover::before {
  opacity: 1;
}

.tarif-card:hover {
  box-shadow: 0 15px 40px rgba(201, 168, 76, 0.15);
}

.tarif-card.featured {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
}

.tarif-img {
  height: 180px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.tarif-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tarif-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.tarif-label {
  color: var(--gold-light);
  font-style: italic;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.tarif-card p {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.tarif-price {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem !important;
  color: var(--gold) !important;
  margin: 1rem 0 !important;
  margin-top: auto !important;
}

.tarifs-note {
  max-width: 720px;
  margin: 2.5rem auto 0;
  text-align: center;
  font-style: italic;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== MODALITÉS ===== */
.modalites {
  background: rgba(0,0,0,0.4);
  background-image: url('Images/Deco/VOYANCEEEEEEEE.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 80px 40px;
}

.modalites::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30,5,50,0.88);
}

.modalites-layout {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.modalites-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border: 1px solid rgba(201,168,76,0.3);
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.modalites-inner {
  position: relative;
  z-index: 1;
  text-align: left;
}

.modalites-inner h2 {
  text-align: left;
}

.modalites-inner h2 {
  margin-bottom: 1.5rem;
}

.modalites-inner p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.modalites-inner ul {
  list-style: none;
  text-align: left;
  display: inline-block;
  margin-top: 1rem;
}

.modalites-inner ul li {
  color: var(--text-light);
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.modalites-inner ul li::before {
  content: "• ";
  color: var(--gold);
}

/* ===== GALERIE ===== */
.galerie {
  background: #0d0018;
}

.galerie-eyebrow {
  display: block;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* --- Lecteur vidéo --- */
.gal-player-wrap {
  max-width: 1050px;
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
  border: 1px solid rgba(201,168,76,0.25);
  box-shadow: 0 0 60px rgba(0,0,0,0.7);
}

.gal-player-screen {
  position: relative;
  background: #000;
}

.gal-player-screen video {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  background: var(--purple-dark);
}

.gal-player-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  pointer-events: none;
}

.gal-thumbs {
  background: #0a0016;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(201,168,76,0.15);
}

.gal-thumb {
  cursor: pointer;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  transition: background 0.3s;
  display: flex;
  gap: 12px;
  align-items: center;
}

.gal-thumb:hover { background: rgba(201,168,76,0.06); }
.gal-thumb.active { background: rgba(201,168,76,0.1); border-left: 3px solid var(--gold); }

.gal-thumb-preview {
  position: relative;
  flex-shrink: 0;
  width: 90px;
  height: 60px;
  overflow: hidden;
}

.gal-thumb-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.gal-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  color: var(--gold);
  font-size: 1rem;
}

.gal-thumb-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gal-thumb-num {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.7;
}

.gal-thumb-title {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
}

.gal-thumb.active .gal-thumb-title { color: var(--gold); }

/* --- Photos masonry --- */
.gal-photos-header {
  text-align: center;
  margin-bottom: 2rem;
}

.gal-photos-masonry {
  max-width: 1050px;
  margin: 0 auto;
  columns: 3;
  column-gap: 10px;
}

.gal-photo {
  break-inside: avoid;
  margin-bottom: 10px;
  overflow: hidden;
  position: relative;
}

.gal-photo img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.85) saturate(0.9);
  transition: filter 0.4s, transform 0.5s;
  cursor: pointer;
}

.gal-photo:hover img {
  filter: brightness(1) saturate(1.1);
  transform: scale(1.03);
}

.gal-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,168,76,0);
  transition: border-color 0.3s;
  pointer-events: none;
}

.gal-photo:hover::after { border-color: rgba(201,168,76,0.5); }

@media (max-width: 720px) {
  .gal-player-wrap { grid-template-columns: 1fr; }
  .gal-player-screen video { height: 260px; }
  .gal-thumbs { flex-direction: row; overflow-x: auto; border-left: none; border-top: 1px solid rgba(201,168,76,0.15); }
  .gal-thumb { min-width: 170px; border-bottom: none; border-right: 1px solid rgba(201,168,76,0.1); flex-direction: column; }
  .gal-thumb.active { border-left: none; border-top: 3px solid var(--gold); }
  .gal-photos-masonry { columns: 2; }
}

.galerie-editorial {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Ligne grande + stack */
.galerie-row-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  height: 440px;
}

.galerie-row-reverse {
  grid-template-columns: 1fr 2fr;
}

.galerie-featured {
  height: 100%;
}

.galerie-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.galerie-stack .galerie-item {
  flex: 1;
}

/* Ligne 4 colonnes */
.galerie-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  height: 260px;
}

/* Item générique */
.galerie-item {
  overflow: hidden;
  position: relative;
  height: 100%;
  cursor: pointer;
}

.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82);
  transition: filter 0.4s, transform 0.4s;
  display: block;
}

.galerie-item:hover img {
  filter: brightness(1);
  transform: scale(1.04);
}

/* Vidéo dans galerie éditoriale */
.galerie-video-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
  cursor: pointer;
}

.galerie-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82);
  transition: filter 0.4s;
  display: block;
}

.galerie-video-wrap:hover video {
  filter: brightness(1);
}

.gal-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  background: rgba(0,0,0,0.45);
  pointer-events: none;
  transition: opacity 0.3s;
}

.galerie-video-wrap:hover .gal-play {
  opacity: 0;
}

@media (max-width: 720px) {
  .galerie-row-1,
  .galerie-row-reverse {
    grid-template-columns: 1fr;
    height: auto;
  }
  .galerie-featured { height: 280px; }
  .galerie-stack { height: auto; }
  .galerie-stack .galerie-item { height: 180px; }
  .galerie-row-4 {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }
  .galerie-row-4 .galerie-item,
  .galerie-row-4 .galerie-video-wrap { height: 180px; }
}

/* ===== BARRE PROGRESSION ===== */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(to right, var(--gold), #fff8c0, var(--gold));
  z-index: 99998;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(255,210,80,0.8);
}

/* ===== COMPTEURS ===== */
.compteurs {
  background: rgba(0,0,0,0.35);
  padding: 60px 40px;
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.compteur-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

.compteur-item p {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.compteur-num {
  font-family: 'Cinzel', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #ffe57a;
  text-shadow: 0 0 18px rgba(255,210,80,0.7), 0 0 40px rgba(201,168,76,0.4);
  line-height: 1;
}

.compteur-suffix {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--gold);
}

/* ===== SELECT FORMULAIRE ===== */
.form-select {
  width: 100%;
  padding: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--text-light);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  outline: none;
  margin-bottom: 1rem;
  cursor: pointer;
  appearance: none;
}

.form-select:focus { border-color: var(--gold); }
.form-select option { background: #1a0030; color: var(--white); }

/* ===== CONFIRMATION FORMULAIRE ===== */
#form-confirm {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(0,0,0,0.75);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

#form-confirm.active { display: flex; }

.form-confirm-inner {
  background: linear-gradient(135deg, #1a0030, #2d0a3e);
  border: 1px solid var(--gold);
  padding: 3rem 3.5rem;
  text-align: center;
  max-width: 440px;
  box-shadow: 0 0 60px rgba(201,168,76,0.2);
}

.form-confirm-icon {
  font-size: 2.5rem;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255,210,80,0.8);
  margin-bottom: 1rem;
}

.form-confirm-inner h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.form-confirm-inner p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
}

.form-confirm-inner button {
  padding: 10px 28px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.3s;
}

.form-confirm-inner button:hover { background: rgba(201,168,76,0.15); }

/* ===== CONTACT ===== */
.contact {
  background: linear-gradient(135deg, #1a0528 0%, var(--purple-dark) 100%);
  text-align: center;
}

.contact-intro {
  max-width: 560px;
  margin: 0 auto 0.5rem;
  color: var(--text-light);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.8;
}

.contact-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.social-icon {
  padding: 16px 32px;
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--text-light);
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  transition: border-color 0.3s, color 0.3s;
}

.social-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.social-icon.whatsapp {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a0030;
  font-weight: 700;
}

.social-icon.whatsapp:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #1a0030;
}

/* Bloc WhatsApp hero */
.contact-wa-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 620px;
  margin: 2.5rem auto;
  padding: 2rem 2.5rem;
  background: rgba(37,211,102,0.07);
  border: 1px solid rgba(37,211,102,0.35);
  text-align: center;
}

.contact-wa-top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.contact-wa-icon {
  background: #25D366;
  border-radius: 50%;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(37,211,102,0.4);
}
.contact-wa-text {
  flex: 1;
}
.contact-wa-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  color: rgba(37,211,102,0.85);
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}
.contact-wa-number {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.contact-wa-btn {
  display: inline-block;
  background: #25D366;
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  padding: 13px 28px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
  align-self: center;
}
.contact-wa-btn:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
}

/* Section formulaire discret */
.contact-form-section {
  max-width: 620px;
  margin: 2.5rem auto 0;
}
.contact-form-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: rgba(224,208,240,0.55);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  cursor: pointer;
  padding: 0;
  width: 100%;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: color 0.3s;
}
.contact-form-toggle:hover { color: var(--gold-light); }
.toggle-arrow {
  font-style: normal;
  font-size: 1.1rem;
  transition: transform 0.3s;
}
.contact-form-wrap {
  display: none;
  text-align: left;
}
.contact-form-wrap.open { display: block; }

.contact-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form textarea {
  margin-bottom: 1rem;
  resize: vertical;
}

.contact-form button {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.contact-info {
  padding-top: 3.5rem;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

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

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

/* ===== LIGHTBOX ===== */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}

#lightbox.active {
  display: flex;
}

#lightbox-img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid rgba(201,168,76,0.3);
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 28px;
  background: none;
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold);
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10000;
}

.lightbox-close:hover {
  background: rgba(201,168,76,0.15);
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 2.5rem;
  width: 50px;
  height: 70px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(201,168,76,0.2);
}

/* ===== FOOTER ===== */
footer {
  background: #0d0018;
  padding: 30px 40px;
  border-top: 1px solid rgba(201,168,76,0.2);
}

.footer-inner {
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 2rem;
}

.footer-left p,
.footer-right p {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.footer-left a {
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}

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

.footer-right {
  text-align: right;
  max-width: 400px;
}

/* ===== RESPONSIVE ===== */
/* ============================================================
   RESPONSIVE MOBILE — tablettes (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  #cursor-glow, #golden-thread { display: none; }
  /* Logo flottant réduit */
  .logo-floating img { height: 80px; }
  .logo-floating { top: 4px; left: 16px; }

  /* Header */
  .header-inner {
    padding: 12px 24px 12px 100px;
  }

  /* Nav : masqué, ouvert via hamburger */
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 52px;
    left: 0;
    width: 100%;
    background: rgba(20,4,35,0.99);
    border-top: 1px solid rgba(201,168,76,0.25);
    padding: 20px 30px;
    gap: 1rem;
    z-index: 999;
  }
  nav ul.open { display: flex; }
  .menu-toggle { display: block; }

  /* Hero */
  .hero-content h1 { font-size: 2.4rem; }
  .hero-tagline { font-size: 1.1rem; }

  /* Guidance grid : 2 colonnes */
  .guidance-grid { grid-template-columns: 1fr 1fr; }

  /* Offre spéciale */
  .offre-content { grid-template-columns: 1fr; }
  .offre-prices {
    border-left: none;
    border-top: 1px solid rgba(201,168,76,0.3);
    padding-left: 0;
    padding-top: 2rem;
  }

  /* À propos, Events, Modalités : 1 colonne */
  .apropos-inner,
  .events-inner,
  .modalites-layout { grid-template-columns: 1fr; }
  .modalites-inner h2 { text-align: center; }
  .apropos-photo img { height: 380px; }

  /* Tarifs : 1 colonne */
  .tarifs-grid { grid-template-columns: 1fr; max-width: 420px; }

  /* Gallery player : stack vertical */
  .gal-player-wrap {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .gal-thumbs {
    flex-direction: row;
    border-left: none;
    border-top: 1px solid rgba(201,168,76,0.15);
    overflow-x: auto;
  }
  .gal-thumb {
    flex-direction: column;
    min-width: 120px;
    border-bottom: none;
    border-right: 1px solid rgba(201,168,76,0.1);
    gap: 8px;
    padding: 10px 12px;
  }
  .gal-thumb-preview { width: 100%; height: 70px; }
  .gal-player-screen video { height: 300px; }

  /* Gallery masonry : 2 colonnes */
  .gal-photos-masonry {
    columns: 2;
  }

  /* Carrousel : boutons dans la zone */
  .carousel-prev { left: 0; }
  .carousel-next { right: 0; }

  /* Contact WA hero */
  .contact-wa-hero {
    flex-direction: column;
    text-align: center;
    padding: 1.8rem 1.5rem;
  }
  .contact-wa-text { width: 100%; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 2rem; }
  .footer-right { text-align: left; }

  /* WhatsApp flottant + back-to-top */
  #whatsapp-float { bottom: 84px; right: 20px; width: 46px; height: 46px; }
  #back-to-top { bottom: 26px; right: 20px; width: 42px; height: 42px; }
}

/* ============================================================
   RESPONSIVE MOBILE — téléphones (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
  section { padding: 60px 18px; }

  h2 { font-size: 1.45rem; }

  /* Header compact */
  .header-inner { padding: 10px 16px 10px 80px; }
  .logo-floating img { height: 64px; }
  .logo-floating { top: 2px; left: 12px; }
  nav ul { top: 46px; padding: 16px 20px; }

  /* Hero */
  .hero { align-items: flex-start; }
  .hero-content h1 { font-size: 1.9rem; letter-spacing: 0.1em; }
  .hero-tagline { font-size: 1.2rem; margin-top: 9rem; margin-bottom: 12rem; }
  .hero-content { padding: 90px 16px 20px; }
  .tagline-br-mobile { display: block; }
  .tagline-br-desktop { display: none; }

  /* Compteurs : 2 colonnes */
  .compteur-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .compteur-num { font-size: 2.4rem; }

  /* Guidance grid : 1 colonne */
  .guidance-grid { grid-template-columns: 1fr; }

  /* Galerie masonry : 2 colonnes, plus petite */
  .gal-photos-masonry {
    columns: 2;
  }

  /* Formulaire */
  .form-row { grid-template-columns: 1fr; }

  /* Contact social */
  .contact-social { flex-direction: column; align-items: center; gap: 0.8rem; }

  /* Contact WA hero : numéro plus petit */
  .contact-wa-number { font-size: 1.1rem; }
  .contact-wa-icon { width: 54px; height: 54px; }

  /* RGPD banner */
  .rgpd-inner { flex-direction: column; gap: 12px; }
  .rgpd-btns { width: 100%; justify-content: center; }
}

/* ============================================================
   TRÈS PETITS TÉLÉPHONES (≤ 380px)
   ============================================================ */
@media (max-width: 380px) {
  .hero-content h1 { font-size: 1.55rem; }
  .header-inner { padding: 6px 12px 6px 70px; }
  .logo-floating img { height: 52px; }
  .logo-floating { left: 8px; }
}

/* ============================================================
   ACCESSIBILITÉ — réduction des animations
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #rain-canvas,
  #hero-canvas,
  .wave-canvas {
    display: none;
  }
  html { scroll-behavior: auto; }
}
