/* ============================================================
   ORIHERE Activity — styles.css
   Design polynésien chaud & premium
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
  color-scheme: light;
  --color-primary:   #006E6E;
  --color-primary-dark: #004F4F;
  --color-primary-light: #00918F;
  --color-accent:    #D4A040;
  --color-accent-light: #E8B85A;
  --color-warm:      #FAF7F2;
  --color-warm-dark: #F2EDE4;
  --color-dark:      #1A2E35;
  --color-dark-mid:  #253D47;
  --color-text:      #2D1B0E;
  --color-text-light: #5C4030;
  --color-white:     #FFFFFF;
  --color-overlay:   rgba(26, 46, 53, 0.55);

  --font-title:   'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-accent:  'Dancing Script', cursive;

  --shadow-warm:  0 2px 8px rgba(212,160,64,0.10), 0 8px 24px rgba(212,160,64,0.16);
  --shadow-card:  0 1px 2px rgba(45,27,14,0.04), 0 4px 12px rgba(45,27,14,0.07), 0 12px 24px rgba(45,27,14,0.05);
  --shadow-hover: 0 2px 4px rgba(45,27,14,0.06), 0 8px 20px rgba(45,27,14,0.12), 0 20px 40px rgba(45,27,14,0.06);
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  32px;
  --radius-full: 9999px;

  --transition: 0.28s ease;
  --max-width: 1200px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; background-color: var(--color-primary-dark); scrollbar-color: var(--color-accent) var(--color-warm); scrollbar-width: thin; overflow-x: clip; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-warm);
  line-height: 1.65;
  overflow-x: clip;
}

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

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.2; text-wrap: balance; font-feature-settings: "liga" 1, "kern" 1; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 500; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { max-width: 65ch; }

/* ---- Container ---- */
.container {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(92vw, 960px);
  z-index: 100;
  /* Glass premium : translucide saturé + blur fort + border lumineuse + shadow softer flottante */
  background: linear-gradient(135deg, rgba(15, 50, 50, 0.32) 0%, rgba(10, 30, 30, 0.42) 100%);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  padding: 0.55rem 1.7rem;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 -1px 0 rgba(0, 0, 0, 0.18) inset;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition), padding var(--transition), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav--hidden {
  transform: translateX(-50%) translateY(calc(-100% - 1.5rem));
}

.nav .container {
  max-width: none;
  padding-inline: 0;
  width: auto;
}

.nav.scrolled {
  /* Au scroll : densité légèrement augmentée pour lisibilité, glass conservé */
  background: linear-gradient(135deg, rgba(15, 50, 50, 0.62) 0%, rgba(10, 30, 30, 0.72) 100%);
  border-color: rgba(255, 255, 255, 0.08);
  padding: 0.45rem 1.5rem;
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  width: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-white);
  transition: color var(--transition);
}

.nav.scrolled .nav__logo { color: var(--color-white); }

/* ============================================================
   LOGO BADGE — Cercle avec ring tournant au survol
   Technique : z-index:0 sur le parent + ::before z:-1 → ring
   derrière le fond blanc, mais visible en dehors du cercle
   ============================================================ */
.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: visible;       /* ring visible en dehors */
  background: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 0;              /* stacking context : ::before z:-1 passe derrière le bg */
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.4s ease,
    box-shadow 0.4s ease;
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  display: block;
  border-radius: 50%;      /* clip image au cercle (overflow:visible ne clippe plus) */
}

/* Anneau conic-gradient tournant — caché par défaut, activé au hover */
.logo-badge::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #D4A040 0deg,
    #006E6E 110deg,
    #7FC4C4 200deg,
    #D4A040 280deg,
    #fff    320deg,
    #D4A040 360deg
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s ease;
  animation: logoRingSpin 2.5s linear infinite paused;
}

@keyframes logoRingSpin {
  to { transform: rotate(360deg); }
}

/* --- HEADER nav badge --- */
.logo-badge--nav {
  width: 52px;
  height: 52px;
  box-shadow:
    0 0 0 2.5px rgba(255,255,255,0.88),
    0 4px 18px rgba(0,0,0,0.28);
}


/* --- HERO badge --- */
.logo-badge--hero {
  width: 140px;
  height: 140px;
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.25),
    0 12px 56px rgba(0,0,0,0.45);
  animation: logoBadgeFloat 3.8s ease-in-out infinite;
  margin-bottom: 2rem;
}

/* --- FOOTER badge --- */
.logo-badge--footer {
  width: 120px;
  height: 120px;
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.15),
    0 8px 32px rgba(0,0,0,0.45);
  margin-bottom: 1.25rem;
  animation: logoBadgeFloat 3.8s ease-in-out infinite;
}

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


@media (prefers-reduced-motion: reduce) {
  .logo-badge,
  .logo-badge--footer { animation: none !important; }
  .logo-badge { transition: box-shadow 0.3s ease; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.nav__link:hover { color: var(--color-primary); }

/* Desktop pill : liens en blanc sur fond sombre */
@media (min-width: 769px) {
  .nav__link { color: rgba(255, 255, 255, 0.9); }
  .nav__link:hover { color: var(--color-accent-light); }
  .nav.scrolled .nav__link { color: rgba(255, 255, 255, 0.9); }
  .nav.scrolled .nav__link:hover { color: var(--color-accent-light); }
}

.nav__cta {
  /* Pill cream premium — match capture, contraste fort sur fond teal sombre */
  padding: 0.5rem 1.5rem;
  background: var(--color-warm);
  color: var(--color-dark) !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.nav__cta:hover {
  background: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.nav__cta::after { display: none !important; }

/* Lang switcher */
.nav__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
  position: relative;
}

.nav__whatsapp:hover {
  background: #1ebe5d;
  transform: scale(1.1);
}


.lang-switcher {
  display: flex;
  align-items: center;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1);
  transition: background var(--transition), transform var(--transition), color var(--transition);
  position: relative;
}

.lang-toggle:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
  transform: scale(1.1);
}

.lang-toggle::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(26, 46, 53, 0.95);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}

.lang-toggle:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  z-index: 101;
}

.nav__burger span {
  display: block;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav.scrolled .nav__burger span { background: var(--color-white); }

.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Brand mobile-only (logo + nom) */
.nav__brand {
  /* Logo wordmark texte serif blanc — minimaliste premium (image badge masquée) */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-white);
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  transition: opacity var(--transition);
  white-space: nowrap;
}

.nav__brand:hover { opacity: 0.85; }

/* Image badge masquée : on garde uniquement le wordmark texte (match capture client) */
.nav__brand picture,
.nav__brand img { display: none; }

.nav__brand-name { display: inline; }

/* Mobile menu overlay */
.nav__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 46, 53, 0.5);
  z-index: 98;
}

@media (max-width: 768px) {
  /* Pill centré compact — logo + burger seulement */
  .nav {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: max-content;
    max-width: 80vw;
    border-radius: 9999px;
    padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  }

  .nav--hidden {
    transform: translateX(-50%) translateY(calc(-100% - 1.5rem));
  }

  /* Drawer — plein écran, fond ocean + texture tapa */
  .nav__links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background:
      repeating-linear-gradient(-45deg, transparent 0, transparent 39px, rgba(212,160,64,0.045) 39px, rgba(212,160,64,0.045) 40px),
      repeating-linear-gradient(45deg,  transparent 0, transparent 39px, rgba(212,160,64,0.045) 39px, rgba(212,160,64,0.045) 40px),
      linear-gradient(160deg, #091820 0%, #1A2E35 55%, #0D2229 100%);
    padding: 3.25rem 2.5rem 2rem;
    gap: 0;
    z-index: 99;
    align-items: center;
    justify-content: flex-start;
    position: fixed;
    overflow: hidden;
  }

  .nav__links.open { display: flex; }
  .nav__mobile-overlay.open { display: block; }

  /* Burger reste blanc (nav pill toujours sombre) */
  .nav__burger.open span { background: var(--color-white) !important; }

  .nav__inner {
    justify-content: space-between;
    gap: 0.75rem;
  }

  .nav__brand { display: inline-flex; }

  .nav__burger { display: flex; }

  .nav__cta {
    margin-top: 0.5rem;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }

  .lang-switcher { margin-top: 0; }

}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #004F4F 0%, #006E6E 40%, #5C4BA0 80%, #3D2E6E 100%);
  z-index: 0;
}

.hero__img,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%; /* sujet humain souvent dans le tiers haut */
  z-index: 1;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .hero__bg {
    background-image: url('../assets/video/hero-poster.webp');
    background-size: cover;
    background-position: center 25%;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* Gradient latéral : sombre à gauche pour la lisibilité du texte, transparent à droite pour libérer la vidéo */
  background: linear-gradient(
    100deg,
    rgba(0, 20, 20, 0.78) 0%,
    rgba(0, 20, 20, 0.55) 30%,
    rgba(0, 20, 20, 0.22) 58%,
    rgba(0, 20, 20, 0.06) 80%,
    transparent 100%
  );
  z-index: 2;
}

/* Tifare pattern supprimé — trop visible */
.hero__pattern { display: none; }

.hero__content {
  position: relative;
  z-index: 3;
  color: var(--color-white);
  padding-top: clamp(5.5rem, 12vw, 8rem);
  padding-bottom: 2.5rem;
  /* Cantonner le bloc texte à gauche pour libérer la vidéo en desktop */
  max-width: min(60ch, 56%);
}

.hero__weather {
  position: absolute;
  top: 5.5rem;
  right: clamp(1rem, 4vw, 2.5rem);
  z-index: 4;
}
/* ---- Hero : responsive mobile-first ---- */
@media (max-width: 767px) {
  /* Hero : libérer le 100dvh pour que le CTA ne soit pas tronqué sous Safari */
  .hero { min-height: auto; padding-block: clamp(5rem, 15vw, 7rem) 3rem; }
  /* Titre : réduire pour 2-3 lignes max (évite débordement 4 lignes) */
  .hero__title { font-size: clamp(1.9rem, 7vw, 3rem); }
  /* Masquer le <br> forcé du titre sur mobile — wrap CSS naturel */
  .hero__title br { display: none; }
  /* Respiration contenu sous la nav (nav fait ~80px) — pleine largeur sur mobile, padding-bottom 4rem pour laisser place aux badges absolute en bas */
  .hero__content { padding-top: 0; padding-bottom: 4rem; max-width: 100%; }
  /* Desc pleine largeur sur mobile */
  .hero__desc { max-width: 100%; margin-bottom: 1rem; }
  /* Sub-desc masqué sur petit écran : trop dense */
  .hero__sub-desc { display: none; }
  /* Trust badges mobile : restent en absolute bottom mais aligné gauche + scroll horizontal sans wrap */
  .hero__trust-badges {
    bottom: 1rem;
    padding: 0 1rem 0.25rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .hero__trust-badges::-webkit-scrollbar { display: none; }
  /* Boutons : pleine largeur pour confort tactile */
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
  .hero__weather { top: 5rem; right: 1rem; }
}

.hero__pretitle {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--color-accent-light);
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.hero__title {
  color: var(--color-white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  /* Plus compact que h1 global : libère de la place verticale et latérale */
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.hero__title em {
  font-style: normal;
  color: var(--color-accent-light);
  font-family: var(--font-accent);
  font-size: 1.1em;
}

.hero__desc {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
  max-width: 52ch;
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- Scroll indicator ---- */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.32s var(--ease-premium), box-shadow 0.32s var(--ease-premium), background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.08s; }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

.btn--primary {
  background: var(--color-accent);
  color: var(--color-dark);
  box-shadow: 0 4px 16px rgba(212, 160, 64, 0.35);
}
.btn--primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 160, 64, 0.45);
}

.btn--outline {
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--color-white);
  background: transparent;
}
.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn--outline-dark {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}
.btn--outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--teal {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 110, 110, 0.3);
}
.btn--teal:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 110, 110, 0.4);
}

.btn--lg { padding: 0.9rem 2.25rem; font-size: 1.05rem; }

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--warm { background: var(--color-warm); }
.section--white { background: #FDFBF7; }
.section--dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.section__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__pretitle {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  display: inline-block;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.section__pretitle::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 32px;
  height: 1px;
  background: var(--color-accent);
  opacity: 0.5;
}

.section__title {
  color: var(--color-dark);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.section--dark .section__title { color: var(--color-warm); }

.section__subtitle {
  margin-top: 1.25rem;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.7;
  color: var(--color-text-light);
  margin-inline: auto;
  max-width: 60ch;
}
.section--dark .section__subtitle { color: rgba(245,239,230,0.75); }

/* ---- Wave divider ---- */
.wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  display: block;
}

.wave svg { display: block; width: 100%; }

/* ============================================================
   ACTIVITÉS — CARDS
   ============================================================ */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.75rem;
}

.activity-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.activity-card__img {
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
}

.activity-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.activity-card__icon {
  font-size: 1.8rem;
  line-height: 1;
}

.activity-card__title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: var(--color-dark);
}

.activity-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.65;
  flex: 1;
}

.activity-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-warm-dark);
}

.activity-card__duration {
  font-size: 0.85rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.activity-card__cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition), color var(--transition);
}

.activity-card:hover .activity-card__cta {
  gap: 0.6rem;
  color: var(--color-accent);
}

/* ============================================================
   FEATURED STRIP (home — apercu activités)
   ============================================================ */
/* Layout magazine 3+2 : 3 photos sur ligne 1, 2 plus larges sur ligne 2 */
.featured-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.featured-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

/* Ligne 1 : 3 cartes égales (2 colonnes chacune sur 6) */
.featured-item:nth-child(1),
.featured-item:nth-child(2),
.featured-item:nth-child(3) { grid-column: span 2; }

/* Ligne 2 : 2 cartes plus larges (3 colonnes chacune sur 6) */
.featured-item:nth-child(4),
.featured-item:nth-child(5) { grid-column: span 3; }

.featured-item picture {
  display: block;
  position: absolute;
  inset: 0;
}

.featured-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-item:hover img { transform: scale(1.06); }

.featured-item:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}

.featured-item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(to top, rgba(26,46,53,0.85), transparent);
  color: var(--color-white);
  font-family: var(--font-title);
  font-size: 1.05rem;
}

/* Mobile : 2 colonnes simples */
@media (max-width: 640px) {
  .featured-strip { grid-template-columns: repeat(2, 1fr); }
  .featured-item:nth-child(1),
  .featured-item:nth-child(2),
  .featured-item:nth-child(3),
  .featured-item:nth-child(4),
  .featured-item:nth-child(5) { grid-column: span 1; }
  .featured-item:nth-child(5) { grid-column: span 2; }
}

/* ============================================================
   WHY US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.why-item {
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius-md);
  border: 1px solid rgba(212,160,64,0.15);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.why-item::after {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.why-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-warm);
  border-color: rgba(212,160,64,0.28);
}

.why-item:hover::after {
  opacity: 1;
}

.why-item__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,110,110,0.08), rgba(212,160,64,0.05));
  border: 1.5px solid rgba(0,110,110,0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.why-item:hover .why-item__icon-wrap {
  background: linear-gradient(135deg, rgba(0,110,110,0.13), rgba(212,160,64,0.09));
  border-color: rgba(0,110,110,0.28);
  transform: scale(1.06);
}

.why-item__title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.why-item__desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0 auto;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(245,239,230,0.15);
  border-top: 2px solid rgba(212,160,64,0.45);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-title);
  font-size: 7rem;
  color: var(--color-accent);
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  line-height: 1;
  opacity: 0.32;
}

.testimonial-card__text {
  font-style: italic;
  font-size: 0.98rem;
  color: rgba(245,239,230,0.88);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  padding-top: 1rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-accent-light);
}

.testimonial-card__origin {
  font-size: 0.8rem;
  color: rgba(245,239,230,0.55);
}

.stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.75rem;
  color: var(--color-accent);
  font-size: 0.85rem;
}

.stars .star { width: 18px; height: 18px; display: block; }

.reviews-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.reviews-cta__hint {
  font-size: 0.75rem;
  color: rgba(245,239,230,0.35);
  letter-spacing: 0.06em;
  margin: 0;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.38), 0 0 0 1px rgba(212,160,64,0.2);
}

.testimonial-card .stars {
  filter: drop-shadow(0 0 5px rgba(212,160,64,0.38));
}

.testimonial-card__activity {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212,160,64,0.3);
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.reviews-aggregate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.reviews-aggregate .stars {
  margin-bottom: 0;
  filter: drop-shadow(0 0 6px rgba(212,160,64,0.55));
}

.reviews-aggregate__label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.5);
}

/* Testimonials — variante fond warm (cartes blanches, texte sombre) */
.section--warm[aria-labelledby="reviews-heading"] .testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(212,160,64,0.2);
  border-top: 2px solid rgba(212,160,64,0.55);
  box-shadow: 0 2px 8px rgba(45,27,14,0.07), 0 6px 20px rgba(45,27,14,0.10);
}

.section--warm[aria-labelledby="reviews-heading"] .testimonial-card:hover {
  box-shadow: 0 4px 12px rgba(45,27,14,0.09), 0 12px 28px rgba(45,27,14,0.13);
}

.section--warm[aria-labelledby="reviews-heading"] .testimonial-card__text {
  color: var(--color-text) !important;
}

.section--warm[aria-labelledby="reviews-heading"] .testimonial-card__name {
  color: var(--color-primary) !important;
}

.section--warm[aria-labelledby="reviews-heading"] .testimonial-card__origin {
  color: var(--color-text-light) !important;
}

.section--warm[aria-labelledby="reviews-heading"] .reviews-aggregate__label {
  color: var(--color-text-light) !important;
}

.section--warm[aria-labelledby="reviews-heading"] .reviews-cta__hint {
  color: var(--color-text-light) !important;
  opacity: 0.7;
}

/* ============================================================
   REVIEWS CAROUSEL
   ============================================================ */

/* Wrapper carousel */
.reviews-carousel {
  position: relative;
  margin-top: 0;
}

/* Viewport : scroll horizontal caché */
.reviews-carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.reviews-carousel__viewport::-webkit-scrollbar { display: none; }

/* Track : stretch = cartes à hauteur égale */
.reviews-carousel__track {
  display: flex;
  gap: 1.5rem;
  padding: 0.5rem 0.25rem 1.5rem;
  align-items: stretch;
}

/* Chaque carte : 1 par viewport sur mobile */
.reviews-carousel__track > .testimonial-card {
  flex: 0 0 calc(100% - 1rem);
  scroll-snap-align: start;
  min-width: 0;
  /* Réinitialise le padding interne : la photo prend toute la largeur */
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 2 cartes côte à côte à partir de 900px */
@media (min-width: 900px) {
  .reviews-carousel__track > .testimonial-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

/* Zone photo */
.testimonial-card__media {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.testimonial-card__media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

/* Crédit photo */
.testimonial-card__photo-credit {
  display: block;
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.45);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

/* Lien "+3 photos" (carte Croixnono) */
.testimonial-card__photo-more {
  display: block;
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.52);
  text-decoration: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transition: background var(--transition);
}
.testimonial-card__photo-more:hover,
.testimonial-card__photo-more:focus-visible {
  background: rgba(212,160,64,0.75);
  color: #fff;
}

/* Body de la carte : réintroduit le padding supprimé sur la carte */
.testimonial-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.testimonial-card__body .stars { margin-bottom: 0.6rem; }
.testimonial-card__body .testimonial-card__text { flex: 1; }

/* Déplace le guillemet décoratif sur le body plutôt que la carte entière */
.reviews-carousel .testimonial-card::before { display: none; }
.testimonial-card__body { position: relative; }
.testimonial-card__body::before {
  content: '"';
  font-family: var(--font-title);
  font-size: 6rem;
  color: var(--color-accent);
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  line-height: 1;
  opacity: 0.22;
  pointer-events: none;
}

/* Désactive le hover translateY dans le carousel (évite le clip avec overflow) */
.reviews-carousel .testimonial-card:hover { transform: none; }

/* ---- Photo slideshow — Ken Burns premium ---- */
.photo-slideshow {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}
.photo-slideshow .photo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
/* Fallback no-JS : slide 1 visible */
.photo-slideshow .photo-slide:first-child { opacity: 1; }

.photo-slideshow .photo-slide picture { display: block; width: 100%; height: 100%; }
.photo-slideshow .photo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  will-change: transform;
}

/* Mode JS : cross-fade piloté par classe is-active */
.photo-slideshow.js-driven .photo-slide {
  opacity: 0;
  transition: opacity 0.7s ease;
  will-change: opacity;
}
.photo-slideshow.js-driven .photo-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Ken Burns — démarre à l'activation, redémarre à chaque boucle via JS */
.photo-slideshow.js-driven .photo-slide.is-active:nth-child(1) img { animation: ken-burns   5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
.photo-slideshow.js-driven .photo-slide.is-active:nth-child(2) img { animation: ken-burns-2 5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
.photo-slideshow.js-driven .photo-slide.is-active:nth-child(3) img { animation: ken-burns-3 5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
.photo-slideshow.js-driven .photo-slide.is-active:nth-child(4) img { animation: ken-burns-4 5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }

@keyframes ken-burns   { 0% { transform: scale(1.08) translate( 1.5%,  0.5%); } 100% { transform: scale(1.0) translate(-1.5%, -0.5%); } }
@keyframes ken-burns-2 { 0% { transform: scale(1.0)  translate(-1.0%, -1.0%); } 100% { transform: scale(1.08) translate(1.0%,  1.0%); } }
@keyframes ken-burns-3 { 0% { transform: scale(1.06) translate( 0.0%,  1.5%); } 100% { transform: scale(1.0)  translate(0.0%, -1.0%); } }
@keyframes ken-burns-4 { 0% { transform: scale(1.0)  translate( 1.5%, -1.0%); } 100% { transform: scale(1.07) translate(-1.0%,  1.0%); } }

/* Reduced motion : slide 1 fixe, zéro animation */
@media (prefers-reduced-motion: reduce) {
  .photo-slideshow.js-driven .photo-slide { transition: none; }
  .photo-slideshow.js-driven .photo-slide.is-active img { animation: none; }
}

/* ---- Logo TripAdvisor badge vert ---- */
.reviews-aggregate__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.ta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border-radius: 9999px;
  padding: 0.28rem 0.9rem 0.28rem 0.4rem;
  box-shadow: 0 0 0 1.5px #002B11;
  text-decoration: none;
}
.ta-badge__owl { width: 38px; height: auto; display: block; }
.ta-badge__wordmark {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: #002B11;
  letter-spacing: -0.01em;
}

/* Ajustements aggregate avec meta */
.reviews-aggregate {
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.reviews-aggregate .stars { margin-bottom: 0; }

/* Flèches de navigation */
.reviews-carousel__btn {
  display: none; /* Cachées sur mobile — swipe natif */
  position: absolute;
  top: calc(420px / 2 - 22px); /* centrées verticalement sur la photo (420px = hauteur img) */
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(212,160,64,0.3);
  color: var(--color-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.14);
  transition: background var(--transition), opacity var(--transition), transform var(--transition);
  padding: 0;
}
.reviews-carousel__btn svg { width: 20px; height: 20px; }
.reviews-carousel__btn--prev { left: -1rem; }
.reviews-carousel__btn--next { right: -1rem; }
.reviews-carousel__btn:hover { background: rgba(255,255,255,1); transform: scale(1.08); }
.reviews-carousel__btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.reviews-carousel__btn:disabled { opacity: 0.3; cursor: default; pointer-events: none; }

@media (min-width: 900px) {
  .reviews-carousel__btn { display: flex; }
  /* Desktop : 2 cartes visibles simultanément → navigation inutile si ≤ 2 avis */
  .reviews-carousel[data-count="2"] .reviews-carousel__btn { display: none; }
  .reviews-carousel[data-count="2"] .reviews-carousel__dots { display: none; }
}

/* Dots */
.reviews-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.reviews-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(212,160,64,0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.reviews-carousel__dot.is-active {
  background: var(--color-accent);
  transform: scale(1.35);
}
.reviews-carousel__dot:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Sur fond warm : harmonisation couleur dots et flèche */
.section--warm[aria-labelledby="reviews-heading"] .reviews-carousel__btn {
  background: rgba(255,255,255,0.95);
  color: var(--color-primary-dark);
}
.section--warm[aria-labelledby="reviews-heading"] .reviews-carousel__dot {
  background: rgba(45,27,14,0.18);
}
.section--warm[aria-labelledby="reviews-heading"] .reviews-carousel__dot.is-active {
  background: var(--color-accent);
}

/* Sur fond warm : texte de la carte reste lisible (dark) */
.section--warm[aria-labelledby="reviews-heading"] .testimonial-card__body .testimonial-card__text {
  color: var(--color-text) !important;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 1rem;
  background: linear-gradient(rgba(0,15,15,.45),rgba(0,15,15,.6)), url('../assets/cta-band-bg.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: none;
}

.cta-band__content { position: relative; z-index: 1; }

.cta-band__title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-band__sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  margin-inline: auto;
}

.cta-band__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band .btn--outline {
  border-color: rgba(255,255,255,0.5);
}

/* ============================================================
   ACTIVITÉS PAGE — DÉTAIL
   ============================================================ */
.page-hero {
  padding-top: 7rem;
  padding-bottom: 3rem;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-dark));
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.page-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='%23F5EFE6'%3E%3Cellipse cx='40' cy='40' rx='6' ry='14'/%3E%3Cellipse cx='40' cy='40' rx='14' ry='6'/%3E%3Cellipse cx='40' cy='40' rx='6' ry='14' transform='rotate(45 40 40)'/%3E%3Cellipse cx='40' cy='40' rx='14' ry='6' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px;
}

.page-hero__inner { position: relative; z-index: 1; }

.page-hero__pretitle {
  font-family: var(--font-accent);
  color: var(--color-accent-light);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.page-hero__title { color: var(--color-white); margin-bottom: 1rem; }

.page-hero__desc {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 55ch;
}

/* Activity detail layout */
.activity-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.activity-detail + .activity-detail {
  border-top: 1px solid var(--color-warm-dark);
}

.activity-detail:nth-child(even) .activity-detail__visual {
  order: -1;
}

@media (max-width: 768px) {
  .activity-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .activity-detail:nth-child(even) .activity-detail__visual {
    order: 0;
  }
}

.activity-detail__img {
  border-radius: var(--radius-md);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

/* ----- Video facade (Lite YouTube embed pattern) ----- */
.video-facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-dark);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font: inherit;
}

.video-facade::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.video-facade:hover,
.video-facade:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.20);
}

.video-facade:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.video-facade__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

.video-facade:hover .video-facade__thumb {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.video-facade__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 0.45rem 0.85rem 0.45rem 0.7rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.video-facade__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(212, 160, 64, 0.6);
  animation: video-pulse 2.4s ease-out infinite;
}

@keyframes video-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(212, 160, 64, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(212, 160, 64, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 160, 64, 0); }
}

.video-facade__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0.5;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease, opacity 0.25s ease;
}

.video-facade:hover .video-facade__play,
.video-facade:focus-visible .video-facade__play {
  transform: scale(1.12);
  opacity: 1;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5));
}

.video-facade:active .video-facade__play {
  transform: scale(0.95);
}

.video-facade__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-md);
  background: #000;
}

.video-facade--loaded {
  cursor: default;
  transform: none !important;
}

@media (max-width: 768px) {
  .video-facade__play {
    width: 28px;
    height: 28px;
  }
  .video-facade__play svg {
    width: 28px;
    height: 28px;
  }
  .video-facade__badge {
    font-size: 0.65rem;
    padding: 0.35rem 0.7rem 0.35rem 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-facade,
  .video-facade__thumb,
  .video-facade__play {
    transition: none;
  }
  .video-facade:hover .video-facade__thumb,
  .video-facade:hover .video-facade__play,
  .video-facade:focus-visible .video-facade__play {
    transform: none;
  }
  .video-facade__badge::before {
    animation: none;
  }
}

/* Fallback "Voir sur YouTube" — toujours visible sous chaque vidéo
   pour garantir l'accès même si l'iframe est bloquée par bot check
   (Brave Shields, Safari ITP strict, ad blockers agressifs) */
.video-facade__fallback {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-light);
  background: rgba(0, 110, 110, 0.06);
  border: 1px solid rgba(0, 110, 110, 0.15);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

.video-facade__fallback svg {
  color: #FF0000;
  flex-shrink: 0;
}

.video-facade__fallback:hover,
.video-facade__fallback:focus-visible {
  color: var(--color-primary);
  background: rgba(0, 110, 110, 0.12);
  border-color: rgba(0, 110, 110, 0.3);
  transform: translateY(-1px);
}

.video-facade__fallback:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.activity-detail__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(0,110,110,0.25);
}

.activity-detail__title {
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.activity-detail__desc {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.activity-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: var(--color-warm-dark);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
}

.meta-badge--accent {
  background: rgba(212,160,64,0.15);
  color: var(--color-dark);
  border: 1px solid rgba(212,160,64,0.3);
}

/* ============================================================
   BOOKING PAGE
   ============================================================ */
.booking-section {
  padding-top: clamp(5rem, 10vw, 8rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  min-height: 100dvh;
  background: var(--color-warm);
}

/* Form fields */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-warm-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,110,110,0.12);
}

/* Mode contraste forcé Windows / lecteurs d'écran : outline visible explicite */
.form-input:focus-visible,
.form-select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

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

@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.form-hint {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 0.3rem;
}

/* Créneau horaire */
.slot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.slot-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.slot-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1rem;
  border: 2px solid var(--color-warm-dark);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  background: var(--color-white);
}

.slot-card__time {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-dark);
}

.slot-card__label {
  font-size: 0.82rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.slot-card:hover .slot-card__inner {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-card);
}

.slot-card input[type="radio"]:checked + .slot-card__inner {
  border-color: var(--color-primary);
  background: rgba(0, 110, 110, 0.06);
  box-shadow: 0 0 0 3px rgba(0, 110, 110, 0.15);
}

.slot-card input[type="radio"]:checked + .slot-card__inner .slot-card__time {
  color: var(--color-primary);
}

/* Participants counter */
.participants-counter {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 2px solid var(--color-warm-dark);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  width: fit-content;
}

.counter-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-warm-dark);
  color: var(--color-text);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-weight: 600;
}

.counter-btn:hover:not(:disabled) {
  background: var(--color-primary);
  color: white;
}

.counter-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.counter-val {
  font-size: 1.25rem;
  font-weight: 700;
  min-width: 2ch;
  text-align: center;
  color: var(--color-dark);
}

/* Summary */
.booking-summary {
  background: var(--color-warm);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--color-warm-dark);
}

.summary-row:last-child { border-bottom: none; }

.summary-row__label { color: var(--color-text-light); }
.summary-row__val { font-weight: 600; color: var(--color-dark); }

.summary-total .summary-row__label,
.summary-total .summary-row__val {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--color-dark);
}

#paypal-button-container {
  min-height: 45px;
  margin-top: 1rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info__title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.contact-info__desc {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0,110,110,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.contact-item__val {
  font-size: 0.95rem;
  color: var(--color-text);
}

.contact-item__val a:hover { color: var(--color-primary); }

/* Contact form card */
.contact-form-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-card);
}

.contact-form-card__title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.form-check label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Map embed */
.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 2.5rem;
}

.map-wrap iframe { display: block; }

/* ============================================================
   SOCIAL LINKS
   ============================================================ */
.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  color: #fff;
}

.social-link span { display: none; }

.social-link--facebook  { background: #1877F2; }
.social-link--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-link--tiktok    { background: #010101; }
.social-link--youtube   { background: #FF0000; }

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  filter: brightness(1.1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-dark);
  color: rgba(245,239,230,0.8);
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer__brand-name {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.footer__brand-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 32ch;
  color: rgba(245,239,230,0.65);
  margin-bottom: 1.25rem;
}

.footer__heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__link {
  font-size: 0.9rem;
  color: rgba(245,239,230,0.7);
  transition: color var(--transition);
}

.footer__link:hover { color: var(--color-accent-light); }

.footer__bottom {
  border-top: 1px solid rgba(245,239,230,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(245,239,230,0.45);
}

.footer__bottom a {
  color: rgba(245,239,230,0.55);
  transition: color var(--transition);
}
.footer__bottom a:hover { color: var(--color-accent-light); }

.footer__credit {
  text-align: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(245,239,230,0.06);
  font-size: 0.75rem;
  color: rgba(245,239,230,0.4);
  letter-spacing: 0.02em;
}

.footer__credit a {
  color: rgba(245,239,230,0.6);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}

.footer__credit a:hover,
.footer__credit a:focus-visible { color: var(--color-accent-light); }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-dark));
  color: var(--color-white);
  padding: 2rem;
}

.error-page__code {
  font-family: var(--font-title);
  font-size: clamp(6rem, 20vw, 12rem);
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.6;
  margin-bottom: 0;
}

.error-page__title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--color-white);
}

.error-page__desc {
  color: rgba(255,255,255,0.7);
  max-width: 40ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

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

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   NOTIFICATIONS / TOASTS
   ============================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 0.9rem;
  box-shadow: var(--shadow-hover);
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.35s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast--success { background: var(--color-primary); }
.toast--error   { background: #c0392b; }

/* ============================================================
   INFOS PRATIQUES BORA BORA
   ============================================================ */
.info-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) { .info-tools { grid-template-columns: 1fr; } }

.info-tool {
  background: #fff;
  border: 1px solid rgba(0, 110, 110, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(26, 46, 53, 0.05);
}
.info-tool__title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}
.info-tool__note {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  color: #6b7280;
  text-align: center;
  letter-spacing: 0.02em;
}
.info-tool .widget-fx { margin: 0 auto; box-shadow: none; border: none; padding: 0; max-width: none; }
.info-tool .widget-fx__title { display: none; }
.info-tool .widget-fx__head { justify-content: flex-end; margin-bottom: 0.75rem; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .info-grid { grid-template-columns: 1fr; } }
.info-tile {
  background: #fff;
  border: 1px solid rgba(0, 110, 110, 0.1);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.info-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 46, 53, 0.08);
  border-color: rgba(212, 160, 64, 0.4);
}
.info-tile__icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.info-tile__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.info-tile__value {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.info-tile__sub {
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.4;
}

.info-lexique {
  background: linear-gradient(135deg, rgba(0, 110, 110, 0.05), rgba(212, 160, 64, 0.06));
  border: 1px solid rgba(0, 110, 110, 0.12);
  border-radius: 18px;
  padding: 2rem 1.5rem;
}
.info-lexique__title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.info-lexique__sub {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.info-lexique__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
@media (max-width: 768px) { .info-lexique__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .info-lexique__grid { grid-template-columns: 1fr; } }
.info-lexique__item {
  background: #fff;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  border: 1px solid rgba(0, 110, 110, 0.08);
}
.info-lexique__word {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.info-lexique__meaning {
  font-size: 0.85rem;
  color: var(--color-text);
  font-style: italic;
}

/* Widget weather-card (version étendue) */
.widget-weather-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(0, 110, 110, 0.06), rgba(212, 160, 64, 0.06));
  border-radius: 12px;
  font-family: var(--font-body);
  min-height: 110px;
}
.widget-weather-card__icon { font-size: 3rem; line-height: 1; }
.widget-weather-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.widget-weather-card__temp {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1;
}
.widget-weather-card__cond {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.01em;
}
.widget-weather-card__loc {
  font-size: 0.72rem;
  color: #6b7280;
  letter-spacing: 0.04em;
}

/* ============================================================
   GALERIE — masonry, filtres, lightbox
   ============================================================ */
.gallery-section {
  padding: 5rem 0 5rem;
}
@media (min-width: 768px) {
  .gallery-section { padding: 6.5rem 0 6rem; }
}

/* Filtres (chips) */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
}
.gallery-filter {
  appearance: none;
  border: 1.5px solid rgba(0, 110, 110, 0.25);
  background: #fff;
  color: #1A2E35;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.55rem 1.2rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.22s ease;
  min-height: 44px;
  letter-spacing: 0.01em;
}
.gallery-filter:hover {
  border-color: #006E6E;
  background: #F5EFE6;
  transform: translateY(-1px);
}
.gallery-filter.is-active {
  background: #006E6E;
  border-color: #006E6E;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 110, 110, 0.28);
}
.gallery-filter:focus-visible {
  outline: 2px solid #D4A040;
  outline-offset: 2px;
}

/* Compteur */
.gallery-count {
  text-align: center;
  font-size: 0.85rem;
  color: #6b6357;
  margin-bottom: 2rem;
  font-style: italic;
  min-height: 1.2em;
}

/* Grille masonry — CSS columns (vanilla, zéro JS de layout) */
.gallery-grid {
  column-count: 1;
  column-gap: 1rem;
}
@media (min-width: 560px) { .gallery-grid { column-count: 2; column-gap: 1.1rem; } }
@media (min-width: 900px) { .gallery-grid { column-count: 3; column-gap: 1.25rem; } }
@media (min-width: 1280px) { .gallery-grid { column-count: 4; column-gap: 1.4rem; } }

.gallery-item {
  display: block;
  break-inside: avoid;
  margin: 0 0 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: #e8e0d2;
  cursor: zoom-in;
  position: relative;
  border: none;
  padding: 0;
  width: 100%;
  appearance: none;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.32s ease;
  box-shadow: 0 2px 8px rgba(26, 46, 53, 0.08);
}
.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(26, 46, 53, 0.18);
  outline: none;
}
.gallery-item:focus-visible {
  outline: 3px solid #D4A040;
  outline-offset: 3px;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery-item:hover img {
  transform: scale(1.04);
}

/* Tag d'activité au survol */
.gallery-item__tag {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  background: rgba(0, 110, 110, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}
.gallery-item:hover .gallery-item__tag,
.gallery-item:focus-visible .gallery-item__tag {
  opacity: 1;
  transform: translateY(0);
}

/* Animation d'apparition */
.gallery-item {
  opacity: 0;
  animation: galleryFadeIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes galleryFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* État vide */
.gallery-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #6b6357;
  font-style: italic;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 18, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.lightbox[hidden] {
  display: none;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__content {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox__caption {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-style: italic;
  text-align: center;
  max-width: 80ch;
}
.lightbox__counter {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

/* Boutons lightbox */
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.22s ease, transform 0.22s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}
.lightbox__close:focus-visible,
.lightbox__prev:focus-visible,
.lightbox__next:focus-visible {
  outline: 2px solid #D4A040;
  outline-offset: 2px;
}
.lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
}
.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
}
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
.lightbox__prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox__next:hover { transform: translateY(-50%) scale(1.05); }

@media (max-width: 640px) {
  .lightbox__prev, .lightbox__next {
    width: 44px;
    height: 44px;
  }
  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }
  .lightbox__close { top: 0.5rem; right: 0.5rem; width: 44px; height: 44px; }
}

/* Bloque scroll page quand lightbox ouverte */
body.lightbox-open {
  overflow: hidden;
}

/* ============================================================
   HERO SUB-DESC & TRUST BADGES
   ============================================================ */
.hero__sub-desc {
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  color: rgba(245,239,230,0.75);
  line-height: 1.65;
  max-width: 54ch;
  margin-top: 0.65rem;
  margin-bottom: 1.5rem;
}

.hero__trust-badges {
  /* Barre dédiée en bas du hero (sortie du bloc texte) — propre, structurée, full-width centrée */
  position: absolute;
  bottom: clamp(1.25rem, 3vh, 2rem);
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.85rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(212,160,64,0.45);
  border-radius: var(--radius-full);
  color: var(--color-accent-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ============================================================
   PARFAIT POUR
   ============================================================ */
.perfect-for-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 720px;
  margin-inline: auto;
}

.perfect-for-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: var(--color-white);
  border: 1.5px solid rgba(0,110,110,0.14);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--color-dark);
  font-weight: 500;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-card);
}

.perfect-for-item:hover {
  border-color: rgba(0,110,110,0.35);
  box-shadow: var(--shadow-warm);
  transform: translateY(-2px);
}

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

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__img,
  .hero__video { transform: none !important; }
}

/* ============================================================
   STORY CARD — Lettre de Brenda
   ============================================================ */
.section--story {
  background: linear-gradient(180deg, #FDF8EE 0%, #F5EFE6 100%);
  padding-block: clamp(4rem, 8vw, 6.5rem);
  position: relative;
}

.section--story::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,110,110,.18), transparent);
}

.story-card {
  max-width: 880px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid rgba(0, 110, 110, 0.10);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 3.5rem);
  box-shadow: 0 12px 48px rgba(45, 27, 14, 0.08), 0 2px 8px rgba(45, 27, 14, 0.04);
  position: relative;
}

.story-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 0 0 4px 4px;
}

.story-card__pretitle {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-align: center;
  margin-bottom: 1.25rem;
}

.story-card__greeting {
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: 2.2rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

.story-card__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
  border-radius: 16px;
  overflow: hidden;
}

.story-card__photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 5/6;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.story-card__body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.8;
  color: #3D2E2A;
  letter-spacing: 0.005em;
}

.story-card__body p {
  max-width: none;
  margin-bottom: 1.4rem;
}

.story-card__body p:last-child {
  margin-bottom: 0;
}

.story-card__body strong {
  font-weight: 600;
  color: var(--color-primary-dark);
}

.story-card__body em {
  font-style: italic;
  color: var(--color-text-light);
}

.story-card__farewell {
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--color-text-light);
  text-align: center;
  margin: 2.5rem auto 1.5rem;
  max-width: 560px;
  line-height: 1.5;
}

.story-card__signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding-top: 0.5rem;
}

.story-card__name {
  font-family: var(--font-accent);
  font-size: clamp(2.6rem, 4.5vw, 3.4rem);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.2rem;
  text-shadow: 0 1px 0 rgba(0, 110, 110, 0.06);
}

.story-card__role {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .story-card__photos {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .story-card__photo {
    aspect-ratio: 4/5;
  }
}

/* ── Widgets dynamiques (météo + devises) ── */
.widget-weather { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .75rem; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; font: 500 .85rem/1 var(--font-body, system-ui, sans-serif); letter-spacing: .02em; }
.widget-weather__icon { font-size: 1.1em; line-height: 1; }
.widget-weather__temp { font-weight: 600; }
.widget-weather__label { opacity: .78; font-size: .78rem; }
@media (max-width: 480px) { .widget-weather__label { display: none; } }
.widget-fx { max-width: 480px; margin: 2rem auto; padding: 1.5rem; background: #fff; border: 1px solid rgba(0,110,110,.12); border-radius: 14px; box-shadow: 0 4px 20px rgba(26,46,53,.06); font-family: var(--font-body, system-ui, sans-serif); }
.widget-fx__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; gap: 1rem; flex-wrap: wrap; }
.widget-fx__title { font: 600 1rem/1.2 var(--font-title, Georgia, serif); color: var(--color-primary, #006E6E); }
.widget-fx__date { font-size: .72rem; color: #6b7280; letter-spacing: .02em; }
.widget-fx__row { display: grid; grid-template-columns: 1fr 1.3fr; gap: .75rem; margin-bottom: 1rem; }
@media (max-width: 420px) { .widget-fx__row { grid-template-columns: 1fr; } }
.widget-fx__label { display: flex; flex-direction: column; gap: .25rem; font-size: .78rem; color: #374151; }
.widget-fx__label input, .widget-fx__label select { padding: .55rem .65rem; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; font: 500 .95rem/1.2 inherit; color: #1A2E35; width: 100%; box-sizing: border-box; }
.widget-fx__label input:focus, .widget-fx__label select:focus { outline: 2px solid var(--color-primary, #006E6E); outline-offset: 1px; border-color: transparent; }
.widget-fx__result { padding: .85rem 1rem; background: linear-gradient(135deg, rgba(0,110,110,.08), rgba(212,160,64,.08)); border-radius: 10px; font: 600 1.05rem/1.3 var(--font-title, Georgia, serif); color: var(--color-dark, #1A2E35); text-align: center; letter-spacing: .01em; }
.widget-fx__note { margin-top: .65rem; font-size: .72rem; color: #6b7280; text-align: center; }

/* ── SimplyBook widget ── */
.simplybook-container { min-height: 500px; border-radius: 12px; overflow: hidden; margin-top: 1rem; }
.simplybook-fallback { text-align: center; padding: 1.5rem; background: rgba(0,110,110,.06); border: 1px dashed rgba(0,110,110,.3); border-radius: 12px; }
.simplybook-fallback p { font-size: .9rem; color: #5C4030; margin-bottom: 1rem; }

/* ============================================================
   VIEW TRANSITIONS API — navigation fluide entre pages
   ============================================================ */
@view-transition {
  navigation: auto;
}
@keyframes vt-fade-in {
  from { opacity: 0; translate: 0 12px; }
}
@keyframes vt-fade-out {
  to { opacity: 0; translate: 0 -6px; }
}
::view-transition-old(root) { animation: 220ms ease both vt-fade-out; }
::view-transition-new(root) { animation: 260ms ease both vt-fade-in; }
.nav { view-transition-name: orihere-nav; }
::view-transition-old(orihere-nav),
::view-transition-new(orihere-nav) { animation: none; }

/* ============================================================
   POPOVER API — nav drawer natif (progressive enhancement)
   Fallback : .open class (main.js) sur navigateurs sans support
   ============================================================ */
.nav__links[popover] {
  inset: unset;
  margin: 0;
  border: none;
  padding: 0;
  background: transparent;
}

@media (max-width: 768px) {
  .nav__links[popover] {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background:
      repeating-linear-gradient(-45deg, transparent 0, transparent 39px, rgba(212,160,64,0.045) 39px, rgba(212,160,64,0.045) 40px),
      repeating-linear-gradient(45deg,  transparent 0, transparent 39px, rgba(212,160,64,0.045) 39px, rgba(212,160,64,0.045) 40px),
      linear-gradient(160deg, #091820 0%, #1A2E35 55%, #0D2229 100%);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 3.25rem 2.5rem 2rem;
    z-index: 99;
    box-shadow: none;
    overflow: hidden;
  }

  .nav__links:popover-open {
    display: flex;
  }

  .nav__links[popover]::backdrop {
    background: transparent;
  }
}

@media (min-width: 769px) {
  .nav__links[popover] {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    inset: unset !important;
    overflow: visible !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
}

/* Overlay JS remplacé par ::backdrop natif */
.nav__links[popover] ~ .nav__mobile-overlay { display: none !important; }

/* ============================================================
   MOBILE DRAWER — LAGOON NOCTURNE DESIGN
   Mobile uniquement (@max-width: 768px)
   ============================================================ */

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

@media (max-width: 768px) {

  /* Barre dorée en haut du drawer */
  .nav__links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    border-radius: 0 0 3px 3px;
  }

  /* Lueur ambiante subtile en bas à droite */
  .nav__links::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0,110,110,0.18) 0%, transparent 70%);
    pointer-events: none;
  }

  /* Chaque item : animation staggerée */
  .nav__links > li {
    width: 100%;
    text-align: center;
    list-style: none;
    opacity: 0;
    transform: translateY(22px);
    animation: mobileNavIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .nav__links > li:nth-child(1) { animation-delay: 0.06s; }
  .nav__links > li:nth-child(2) { animation-delay: 0.12s; }
  .nav__links > li:nth-child(3) { animation-delay: 0.18s; }
  .nav__links > li:nth-child(4) { animation-delay: 0.24s; }
  .nav__links > li:nth-child(5) { animation-delay: 0.30s; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(212,160,64,0.15); }
  .nav__links > li:nth-child(6) { animation-delay: 0.36s; margin-top: 1.5rem; padding-top: 0; }
  .nav__links > li:nth-child(7) { animation-delay: 0.40s; margin-top: 0.6rem; }

  /* Liens nav : Cormorant Garamond, grand, centré */
  .nav__links .nav__link {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 2.6rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.15 !important;
    color: rgba(245, 239, 230, 0.82) !important;
    display: inline-block;
    padding: 0.35rem 0 0.5rem;
    position: relative;
    transition: color 0.22s ease;
  }

  /* Underline or animé au survol */
  .nav__links .nav__link::after {
    content: '';
    position: absolute;
    bottom: 0.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--color-accent);
    border-radius: 1px;
    transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav__links .nav__link:hover {
    color: rgba(245, 239, 230, 1) !important;
  }
  .nav__links .nav__link:hover::after { width: 70%; }
  .nav__links .nav__link.active {
    color: var(--color-accent) !important;
    font-style: italic;
  }
  .nav__links .nav__link.active::after { width: 45%; }

  /* CTA Réserver : pill or, uppercase, compact */
  .nav__links .nav__cta {
    font-family: var(--font-body) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: #0D1F26 !important;
    background: var(--color-accent) !important;
    border: 1.5px solid var(--color-accent) !important;
    padding: 0.9rem 2.8rem !important;
    border-radius: 9999px !important;
    display: inline-block !important;
    transition: background 0.22s ease, color 0.22s ease !important;
    font-style: normal !important;
  }
  .nav__links .nav__cta::after { display: none !important; }
  .nav__links .nav__cta:hover {
    background: transparent !important;
    color: var(--color-accent) !important;
  }

  /* WhatsApp : cercle discret vert */
  .nav__links .nav__whatsapp {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background: rgba(37,211,102,0.12) !important;
    border: 1px solid rgba(37,211,102,0.25) !important;
    color: #25D366 !important;
    transition: background 0.2s !important;
  }
  .nav__links .nav__whatsapp:hover {
    background: rgba(37,211,102,0.22) !important;
  }

  /* Lang-toggle : cercle sobre */
  .nav__links .lang-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background: rgba(245,239,230,0.07) !important;
    border: 1px solid rgba(245,239,230,0.15) !important;
    color: rgba(245,239,230,0.6) !important;
    transition: background 0.2s, color 0.2s !important;
  }
  .nav__links .lang-toggle:hover {
    background: rgba(245,239,230,0.14) !important;
    color: rgba(245,239,230,0.9) !important;
  }

  /* Réinitialiser les surcharges génériques du drawer */
  .nav__links .nav__link { font-size: 2.6rem; }

}

/* Centrage icônes bas du drawer */
@media (max-width: 768px) {
  .nav__links .lang-switcher {
    display: flex !important;
    justify-content: center !important;
  }
  .nav__links > li:nth-child(6) {
    display: flex !important;
    justify-content: center !important;
    margin-top: 1.5rem !important;
  }
}

/* ============================================================
   BOUTON CLOSE DRAWER — mobile uniquement
   ============================================================ */

/* Caché partout sauf dans le drawer mobile */
.nav__close-item {
  display: none;
}

@media (max-width: 768px) {
  .nav__links .nav__close-item {
    display: block;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    animation: mobileNavIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.02s both;
    opacity: 0;
    transform: translateY(0);
    text-align: left !important;
  }

  .nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(245, 239, 230, 0.08);
    border: 1px solid rgba(245, 239, 230, 0.18);
    color: rgba(245, 239, 230, 0.65);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .nav__close:hover,
  .nav__close:focus-visible {
    background: rgba(245, 239, 230, 0.16);
    color: rgba(245, 239, 230, 0.95);
    transform: rotate(90deg);
    outline: none;
  }
}
