/* ============================================================
   hiver.css — Thème hiver : bleu nuit, glace, neige
   ============================================================ */

:root {
  --couleur-primaire:   #1a3a5c;   /* bleu nuit */
  --couleur-secondaire: #2a6096;   /* bleu glacier */
  --couleur-accent:     #7ecfef;   /* cyan glace */
  --couleur-clair:      #e8f4fd;   /* bleu très clair */
  --couleur-texte:      #1a2a3a;
  --bg-section-alt:     #f0f7ff;
}

/* ─── Navbar hiver ──────────────────────────────────────────*/
body.saison-hiver .navbar-meygal {
  background: rgba(20, 42, 72, .97);
  backdrop-filter: blur(10px);
}

body.saison-hiver .navbar-brand,
body.saison-hiver .navbar-meygal .nav-link {
  color: rgba(255,255,255,.9) !important;
}

body.saison-hiver .navbar-meygal .nav-link:hover,
body.saison-hiver .navbar-meygal .nav-link.active {
  color: var(--couleur-accent) !important;
}

body.saison-hiver .navbar-toggler { border-color: rgba(255,255,255,.3); }
body.saison-hiver .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Lien bulletin neige dans nav */
body.saison-hiver .nav-link-bulletin {
  color: var(--couleur-accent) !important;
  font-weight: 600 !important;
}

/* ─── Toggle saison ─────────────────────────────────────────*/
body.saison-hiver .btn-saison {
  color: rgba(255,255,255,.65);
}

body.saison-hiver .btn-saison.active,
body.saison-hiver .btn-saison:hover {
  color: #fff;
  background: rgba(126,207,239,.2);
  border-color: var(--couleur-accent);
}

/* ─── Hero hiver ────────────────────────────────────────────*/
body.saison-hiver .hero-bg {
  background-image: url('/assets/img/hiver/hiver-skieur-au-depart-du-chalet-du-meygal.jpg');
  background-position: center 30%;
}

/* Particules de neige animées */
body.saison-hiver .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 2px at 10% 20%, rgba(255,255,255,.6) 0%, transparent 50%),
    radial-gradient(circle 1px at 85% 15%, rgba(255,255,255,.5) 0%, transparent 50%),
    radial-gradient(circle 3px at 50% 70%, rgba(255,255,255,.4) 0%, transparent 50%),
    radial-gradient(circle 2px at 30% 80%, rgba(255,255,255,.5) 0%, transparent 50%),
    radial-gradient(circle 1px at 70% 50%, rgba(255,255,255,.6) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
  animation: snowFloat 8s ease-in-out infinite alternate;
}

@keyframes snowFloat {
  0%   { transform: translateY(0); opacity: .8; }
  100% { transform: translateY(-20px); opacity: 1; }
}

/* ─── Section title ─────────────────────────────────────────*/
body.saison-hiver .section-title::after {
  background: var(--couleur-accent);
}

/* ─── Section stats hiver ───────────────────────────────────*/
body.saison-hiver .stats-section {
  background: linear-gradient(135deg, var(--couleur-primaire) 0%, var(--couleur-secondaire) 100%);
  color: #fff;
}

body.saison-hiver .stat-number { color: var(--couleur-accent); }
body.saison-hiver .stat-label  { color: rgba(255,255,255,.7); }

/* ─── Bulletin d'enneigement ────────────────────────────────*/
body.saison-hiver .bulletin-card {
  background: #fff;
  border: 1px solid rgba(30,90,150,.12);
}

body.saison-hiver .bulletin-header {
  background: linear-gradient(135deg, var(--couleur-primaire), var(--couleur-secondaire));
  color: #fff;
}

body.saison-hiver .neige-cm { color: var(--couleur-accent); }

/* ─── Boutons hiver ─────────────────────────────────────────*/
body.saison-hiver .btn-meygal-primary {
  background: linear-gradient(135deg, var(--couleur-secondaire), var(--couleur-primaire));
  color: #fff;
}
body.saison-hiver .btn-meygal-accent {
  background: linear-gradient(135deg, var(--couleur-accent), var(--couleur-primaire));
  color: #fff;
}
body.saison-hiver .btn-meygal-outline {
  background: transparent;
  border: 2px solid var(--couleur-accent) !important;
  color: var(--couleur-accent);
}

body.saison-hiver .btn-meygal-outline:hover {
  background: var(--couleur-accent);
  color: var(--couleur-primaire);
}

/* ─── Cards activités hiver ─────────────────────────────────*/
body.saison-hiver .card-activite .card-header-bg {
  background: linear-gradient(135deg, var(--couleur-primaire), var(--couleur-secondaire));
  color: #fff;
}

/* ─── Sections alternées ────────────────────────────────────*/
body.saison-hiver .section-alt {
  background: var(--bg-section-alt);
}

/* ─── Service icons ─────────────────────────────────────────*/
body.saison-hiver .service-icon {
  background: rgba(42, 96, 150, .12);
  color: var(--couleur-secondaire);
}

/* ─── Event date badge ───────────────────────────────────────*/
body.saison-hiver .event-date-badge {
  background: linear-gradient(180deg, var(--couleur-secondaire), var(--couleur-primaire));
}

/* ─── Footer newsletter ─────────────────────────────────────*/
body.saison-hiver .footer-newsletter { background: rgba(126,207,239,.06); }

/* ─── Scroll top ─────────────────────────────────────────── */
body.saison-hiver #scroll-top {
  background: var(--couleur-secondaire);
  color: #fff;
}

/* ─── Ouverture piste horaires ───────────────────────────────*/
body.saison-hiver .horaires-box {
  background: var(--couleur-clair);
  border-left: 4px solid var(--couleur-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
}
