/* =====================================================
   style.css — COCKTAIL'S
   Sommaire :
   1. Variables & Reset
   2. Navbar
   3. Hero
   4. Section intro activités
   5. Sections activités (pleine largeur)
   6. Section réservation
   7. Footer
   8. Scroll reveal
   9. Responsive
===================================================== */


/* ─────────────────────────────────────────
   1. VARIABLES & RESET
───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --mango:       #ff8c00;
  --mango-light: #ffe0a0;
  --papaya:      #ff5040;
  --kiwi:        #5db82e;
  --kiwi-light:  #d6f5b0;
  --passion:     #7b2d8b;
  --passion-lt:  #fff3b0;
  --peche:       #ff5f40;
  --peche-light: #ffe0d8;
  --coco:        #a0784a;
  --coco-light:  #f5e8d0;
  --ocean:       #064a62;
  --ocean-mid:   #0d6e7a;
  --ocean-light: #17b8c8;
  --ocean-foam:  #c8f7fb;
  --sand:        #fff8ee;
  --white:       #ffffff;
  --dark:        #0a2a30;
  --mid:         #2e6870;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--sand);
  color: var(--dark);
  overflow-x: hidden;
}


/* ─────────────────────────────────────────
   2. NAVBAR
───────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  background: rgba(6, 74, 98, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,140,0,0.2);
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  color: var(--ocean-foam);
  text-decoration: none;
}
.nav-logo span { color: var(--mango); }

.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: rgba(200,247,251,0.75);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  position: relative; padding-bottom: 2px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--mango);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--mango); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(90deg, var(--mango), var(--papaya));
  color: white;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.5rem 1.4rem;
  border-radius: 2rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(255,140,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: scale(1.05); box-shadow: 0 8px 28px rgba(255,140,0,0.5); }


/* ─────────────────────────────────────────
   3. HERO
───────────────────────────────────────── */
#accueil {
  position: relative;
  height: 100vh; min-height: 580px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

/* Balise vidéo (décommenter dans le HTML quand tu as le fichier) */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(1.4);
}

/* Fallback gradient animé */
.hero-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(150deg,
    var(--ocean) 0%,
    var(--ocean-mid) 40%,
    #0c9fb5 68%,
    #1dcfb0 100%);
  animation: tropicPulse 9s ease-in-out infinite alternate;
}
@keyframes tropicPulse {
  from { filter: hue-rotate(0deg) brightness(1); }
  to   { filter: hue-rotate(15deg) brightness(1.1); }
}

/* Fruits flottants générés par JS */
.hero-fruits {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.fruit-float {
  position: absolute;
  animation: fruitRise linear infinite;
  opacity: 0;
}
@keyframes fruitRise {
  0%   { transform: translateY(105vh) rotate(0deg);   opacity: 0; }
  8%   { opacity: 0.15; }
  92%  { opacity: 0.08; }
  100% { transform: translateY(-10vh) rotate(320deg); opacity: 0; }
}

/* Vignette sombre sur les bords */
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(6,74,98,0.6) 100%);
}

/* Vague SVG en bas du hero */
.hero-wave {
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23fff8ee' d='M0,60 C240,100 480,20 720,60 C960,100 1200,20 1440,60 L1440,120 L0,120Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

/* Contenu texte du hero */
.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: white;
  padding: 0 2rem;
  animation: heroIn 1.2s ease both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mango-light);
  border: 1px solid rgba(255,140,0,0.45);
  background: rgba(255,140,0,0.12);
  padding: 0.35rem 1.1rem; border-radius: 2rem;
  margin-bottom: 1.6rem;
  backdrop-filter: blur(6px);
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  letter-spacing: 0.04em; line-height: 0.95;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.hero-title .accent { color: var(--mango); }
.hero-title .line2 {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 2rem);
  font-weight: 300; font-style: italic;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.8);
  margin-top: 0.4rem;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 300; color: rgba(255,255,255,0.78);
  max-width: 520px; margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
}
.btn-hero-primary {
  background: linear-gradient(90deg, var(--mango), var(--papaya));
  color: white;
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.06em;
  padding: 0.85rem 2.2rem; border-radius: 3rem;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(255,80,60,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(255,80,60,0.55); }

.btn-hero-outline {
  border: 1.5px solid rgba(255,255,255,0.55);
  color: white;
  font-size: 0.88rem; font-weight: 400; letter-spacing: 0.06em;
  padding: 0.85rem 2.2rem; border-radius: 3rem;
  text-decoration: none; backdrop-filter: blur(6px);
  transition: border-color 0.25s, background 0.25s;
}
.btn-hero-outline:hover { border-color: var(--mango); background: rgba(255,140,0,0.12); }

/* Indicateur de scroll */
.scroll-hint {
  position: absolute; bottom: 140px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}
.scroll-hint .arrow {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}


/* ─────────────────────────────────────────
   4. SECTION INTRO ACTIVITÉS
───────────────────────────────────────── */
.section-intro {
  background: var(--sand);
  text-align: center;
  padding: 5rem 5vw 2rem;
}

.label-sup {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mango); margin-bottom: 0.6rem;
}

.section-intro h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: 0.05em; color: var(--ocean);
  line-height: 1; margin-bottom: 1rem;
}

.section-intro p {
  font-size: 1rem; font-weight: 300;
  color: var(--mid); max-width: 520px;
  margin: 0 auto; line-height: 1.7;
}


/* ─────────────────────────────────────────
   5. SECTIONS ACTIVITÉS — PLEINE LARGEUR
───────────────────────────────────────── */
.activite-section {
  display: flex;
  min-height: 480px;
}

/* Alternance : sections paires → image à droite */
.activite-section:nth-child(even) { flex-direction: row-reverse; }

/* Bloc coloré (emoji + prix) */
.act-visuel {
  flex: 1.1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 3rem 2rem;
  position: relative; overflow: hidden;
}

/* Grand emoji en filigrane via data-emoji */
.act-visuel::before {
  content: attr(data-emoji);
  position: absolute;
  font-size: 18rem; opacity: 0.1;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; line-height: 1;
  animation: filigrane 6s ease-in-out infinite alternate;
}
@keyframes filigrane {
  from { transform: translate(-50%,-50%) scale(1) rotate(-3deg); }
  to   { transform: translate(-50%,-50%) scale(1.06) rotate(3deg); }
}

.act-emoji {
  font-size: 5rem;
  position: relative; z-index: 1;
  animation: floatEmoji 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
}
@keyframes floatEmoji {
  from { transform: translateY(0); }
  to   { transform: translateY(-16px); }
}

.act-prix {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.5rem; letter-spacing: 0.04em; line-height: 1;
  position: relative; z-index: 1;
  margin-top: 0.6rem;
}

.act-duree {
  font-size: 0.82rem; font-weight: 400; letter-spacing: 0.1em;
  background: rgba(255,255,255,0.22);
  padding: 0.28rem 1rem; border-radius: 2rem;
  position: relative; z-index: 1;
  margin-top: 0.5rem;
}

/* Bloc texte (description) */
.act-texte {
  flex: 1; background: var(--white);
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 5rem;
  border-bottom: 1px solid rgba(10,61,69,0.06);
}

.act-tag {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.act-nom {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  letter-spacing: 0.04em; color: var(--ocean);
  line-height: 1; margin-bottom: 1.2rem;
}

.act-desc {
  font-size: 1rem; font-weight: 300;
  color: var(--mid); line-height: 1.75;
  max-width: 380px; margin-bottom: 2rem;
}

/* Bouton "Réserver" de chaque activité */
.btn-act {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.8rem; border-radius: 3rem;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em;
  text-decoration: none; color: white; align-self: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-act:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.22); }
.btn-act .arr { transition: transform 0.2s; }
.btn-act:hover .arr { transform: translateX(4px); }

/* Fonds colorés + couleur texte des blocs visuels */
.act-mango    { background: linear-gradient(135deg, #ff8c00, #ffe0a0); color: #7a3800; }
.act-pasteque { background: linear-gradient(135deg, #e0257a, #ffd6ec); color: #6b0035; }
.act-kiwi     { background: linear-gradient(135deg, #5db82e, #d6f5b0); color: #244d10; }
.act-passion  { background: linear-gradient(135deg, #7b2d8b, #fff3b0); color: #3a0050; }
.act-peche    { background: linear-gradient(135deg, #ff5f40, #ffe0d8); color: #7a1a00; }
.act-coco     { background: linear-gradient(135deg, #a0784a, #f5e8d0); color: #3d2800; }

/* Couleurs des tags */
.tag-mango    { color: #ff8c00; }
.tag-pasteque { color: #e0257a; }
.tag-kiwi     { color: #5db82e; }
.tag-passion  { color: #7b2d8b; }
.tag-peche    { color: #ff5f40; }
.tag-coco     { color: #a0784a; }

/* Couleurs des boutons */
.btn-mango    { background: linear-gradient(90deg, #ff8c00, #ffad33); }
.btn-pasteque { background: linear-gradient(90deg, #e0257a, #ff5fa8); }
.btn-kiwi     { background: linear-gradient(90deg, #5db82e, #82e050); }
.btn-passion  { background: linear-gradient(90deg, #7b2d8b, #b84fc9); }
.btn-peche    { background: linear-gradient(90deg, #ff5f40, #ff8c70); }
.btn-coco     { background: linear-gradient(90deg, #a0784a, #c9a070); }

/* ─────────────────────────────────────────
   VIDÉO HOVER sur les blocs activités
───────────────────────────────────────── */
.act-visuel .act-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
  pointer-events: none;
}
.act-visuel:hover .act-video { opacity: 1; }

/* Emoji, prix, durée restent au-dessus de la vidéo */
.act-visuel .act-emoji,
.act-visuel .act-prix,
.act-visuel .act-duree { position: relative; z-index: 2; }

/* Overlay sombre au hover pour garder le texte lisible */
.act-visuel::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.6s ease;
  z-index: 1; pointer-events: none;
}
.act-visuel:hover::after { background: rgba(0,0,0,0.35); }

/* Le filigrane s'atténue quand la vidéo apparaît */
.act-visuel:hover::before { opacity: 0.04; }


/* ─────────────────────────────────────────
   6. SECTION RÉSERVATION
───────────────────────────────────────── */
#reserver {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-mid) 60%, #0d9e8a 100%);
  padding: 6rem 5vw;
  text-align: center;
}

#reserver .label-sup { color: var(--mango); }

#reserver h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.05em; color: white;
  line-height: 1; margin-bottom: 0.6rem;
}
#reserver h2 span { color: var(--mango); }

#reserver .sous-titre {
  font-size: 0.95rem; font-weight: 300;
  color: rgba(200,247,251,0.7);
  margin-bottom: 3rem;
}

/* Message de confirmation après soumission */
.resa-confirm {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,140,0,0.4);
  border-radius: 1.2rem;
  padding: 2.5rem;
  max-width: 500px;
  margin: 0 auto 2rem;
  text-align: center;
  color: white;
}

.resa-form {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,140,0,0.22);
  backdrop-filter: blur(14px);
  border-radius: 1.6rem; padding: 3rem;
  max-width: 640px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
}

.resa-form .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mango-light); margin-bottom: 0.4rem;
}

.field input,
.field select {
  width: 100%;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,140,0,0.28);
  border-radius: 0.6rem; padding: 0.75rem 1rem;
  color: white;
  font-family: 'DM Sans', sans-serif; font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.field input::placeholder { color: rgba(255,240,200,0.35); }
.field input:focus,
.field select:focus {
  border-color: var(--mango);
  background: rgba(255,255,255,0.15);
}
.field select option { background: var(--ocean); }

.resa-submit {
  grid-column: 1 / -1;
  background: linear-gradient(90deg, var(--mango), var(--papaya));
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.06em;
  border: none; cursor: pointer;
  padding: 1rem 2rem; border-radius: 0.8rem;
  box-shadow: 0 8px 28px rgba(255,100,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.resa-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255,100,0,0.55); }


/* ─────────────────────────────────────────
   7. FOOTER
───────────────────────────────────────── */
footer {
  background: var(--ocean);
  padding: 2.5rem 5vw;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; letter-spacing: 0.06em;
  color: var(--ocean-foam);
}
.footer-logo span { color: var(--mango); }

.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a {
  color: rgba(200,247,251,0.5);
  text-decoration: none; font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--mango); }

footer p { font-size: 0.78rem; color: rgba(200,247,251,0.4); }


/* ─────────────────────────────────────────
   8. SCROLL REVEAL
───────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: none; }


/* ─────────────────────────────────────────
   9. RESPONSIVE (mobile < 800px)
───────────────────────────────────────── */
@media (max-width: 800px) {
  .nav-links { display: none; }

  .activite-section,
  .activite-section:nth-child(even) { flex-direction: column; }
  .act-visuel  { min-height: 220px; }
  .act-texte   { padding: 2.5rem 2rem; }

  .resa-form             { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .resa-form .full       { grid-column: 1; }
  .resa-submit           { grid-column: 1; }
}
