/* ══════════════════════════════════════════════
   NOCTAMBUS — ACTIVITES.CSS + SHARED PAGE STYLES
   Typographie correcte, hero border-radius asymétrique,
   grille 4 colonnes
══════════════════════════════════════════════ */

/* ════════════════════════════════════
   PAGE HERO — BLOC ROUGE ASYMÉTRIQUE
   border-radius: 20px 20px 150px 20px
   (top-left top-right bottom-right bottom-left)
   = coin inférieur droit = 150px, reste = 20px
════════════════════════════════════ */
.page-hero {
  position: relative;
  height: 500px;
  display: flex;
  align-items: flex-end;
  padding: 0 70px 50px;
  margin-top: 90px;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 48px);
  max-width: 1650px;
  overflow: hidden;
  background-image: url(/assets/Materials/Img/Activites.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px 20px 250px 20px;
  margin-bottom: 5rem;
}

/* Overlay gradient pour lisibilité sur image */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.15) 50%,
      transparent 100%);
  /* Même border-radius que le parent */
  border-radius: inherit;
}

/* Contenu positionné bas-gauche */
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1450px;
  width: 100%;
}

/* ── Titre Estrella — UNIQUEMENT pour l'entrée de page ── */
.page-title-estrella {
  font-family: var(--font-display);
  font-weight: normal;
  font-size: clamp(3.5rem, 9vw, 12rem);
  line-height: 0.9;
  color: var(--clr-blanc);
  margin-bottom: 16px;
  display: block;
}

/* ── Sous-titre — Roboto uppercase (h2 règle globale) ── */
.page-hero-sub {
  font-family: var(--font-body);
  font-weight: 100;
  font-size: clamp(0.75rem, 1.4vw, 2rem);
  color: rgba(238, 232, 226, 0.85);
  text-transform: uppercase;
  line-height: 1.1;
  max-width: 700px;
  margin-top: 50px;
}

.page-hero-sub strong {
  font-weight: 700;
}

/* ════════════════════════════════════
   ACTIVITÉS INTRO
════════════════════════════════════ */
.activites-intro {
  padding: var(--sp-md) 0;
  max-width: 900px;
  /* Aligné à gauche dans le container — pas centré */
}

.activites-intro p {
  /* hérite de la règle globale p */
  color: var(--clr-b4);
}

/* ════════════════════════════════════
   FILTRES
════════════════════════════════════ */
.activites-filters {
  padding: 0 var(--sp-md) var(--sp-md);
  max-width: 1450px;
  margin: 0 auto;
}

.filters-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--clr-b4);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--clr-b4);
  background: rgba(98, 98, 207, 0.15);
  border: 1px solid rgba(175, 175, 230, 0.18);
  border-radius: var(--r-full);
  padding: 9px 18px;
  cursor: pointer;
  transition: all var(--t-fast);
  text-transform: uppercase;
}

.filter-btn:hover {
  color: var(--clr-blanc);
  background: rgba(98, 98, 207, 0.3);
  border-color: rgba(175, 175, 230, 0.35);
}

.filter-btn.active {
  background: var(--clr-orange);
  border-color: var(--clr-orange);
  color: var(--clr-blanc);
}

/* ════════════════════════════════════
   STATUT "EN COURS"
════════════════════════════════════ */
.activites-status {
  padding: 0 var(--sp-md) var(--sp-sm);
  max-width: 1450px;
  margin: 0 auto;
}

.status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot-lg {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-orange);
  animation: blink 1.5s ease-in-out infinite;
}

.status-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--clr-b4);
  text-transform: uppercase;
}

/* ════════════════════════════════════
   GRILLE ÉVÉNEMENTS — 4 COLONNES
════════════════════════════════════ */
.activites-grid-section {
  padding: 0 var(--sp-md) var(--sp-lg);
  max-width: 1650px;
  margin: 0 auto;
}

/* Grille 4 colonnes (desktop) */
/* events-grid now in home.css */

/* ════════════════════════════════════
   CARTE ÉVÉNEMENT
════════════════════════════════════ */
/* ════════════════════════════════════
   CONCOURS — même bloc asymétrique
════════════════════════════════════ */
.concours-section {
  background: var(--clr-b2);
  overflow: hidden;
  padding: 0;
  margin: 0 auto var(--sp-lg);
  width: calc(100% - 48px);
  max-width: 1650px;
  border-radius: 20px 20px 150px 20px;
}

.concours-inner {
  max-width: 1450px;
  margin: 0 auto;
  padding: var(--sp-lg) 48px;
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  min-height: 280px;
  position: relative;
}

.concours-content {
  position: relative;
  z-index: 2;
}

.concours-tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--clr-orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* h2 dans concours = règle globale Roboto uppercase */
.concours-content h2 {
  max-width: 440px;
  margin-bottom: var(--sp-md);
}

/* Image de fond concours */
.concours-visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  overflow: hidden;
  border-radius: 0 20px 150px 0;
}

.concours-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.concours-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--clr-b2) 0%, rgba(54, 54, 170, 0.25) 100%);
  z-index: 1;
}

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */

/* 3 colonnes sur tablette */
@media (max-width: 1100px) {
  .events-grid-full {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 2 colonnes sur petit écran */
@media (max-width: 768px) {
  .page-hero {
    height: 280px;
    padding: 0 24px 28px;
    margin-left: var(--sp-sm);
    margin-right: var(--sp-sm);
    border-radius: 16px 16px 100px 16px;
    width: calc(100% - 32px);
  }

  .page-title-estrella {
    font-size: 3rem;
  }

  .events-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }

  .concours-section {
    border-radius: 16px 16px 80px 16px;
  }

  .concours-visual {
    opacity: 0.2;
  }
}

/* 1 colonne mobile */
@media (max-width: 500px) {
  .events-grid-full {
    grid-template-columns: 1fr;
  }

  .page-hero {
    border-radius: 12px 12px 60px 12px;
  }
}

/* ════════════════════════════════════
   FILTRES — Page activités
   Style Figma : fond crème, icône + label, underline orange
════════════════════════════════════ */
.act-filters-section {
  padding: var(--sp-md) 0 0;
  background: var(--clr-bg);
}

.act-filters-wrap {
  background: var(--clr-cream);
  border-radius: 50px;
  padding: 18px 24px 0;
  margin-bottom: 0;
}

.act-filters-label {
  font-family: var(--font-body);
  font-size: 1em;
  color: var(--clr-bg);
  opacity: 0.6;
  margin-bottom: 14px;
  font-weight: 900;
}

.act-filters-row {
  display: flex;
  align-items: flex-end;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(27, 0, 105, 0.1);
  justify-content: space-between;
  flex-wrap: wrap;
}

.act-filters-row::-webkit-scrollbar {
  display: none;
}

.act-filter-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 20px 14px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: all var(--t-fast);
  flex-shrink: 0;
  color: var(--clr-b3);
  margin-bottom: 20px;
}

.act-filter-btn:hover {
  color: var(--clr-bg);
}

.act-filter-active {
  color: var(--clr-orange) !important;
  border-bottom-color: var(--clr-orange);
}

.act-filter-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.act-filter-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Indicateur EN COURS */
.act-status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 4px;
}

.act-status-check {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(27, 0, 105, 0.25);
  border-radius: 4px;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--t-fast);
  background-color: #F5F0E8;
}

.act-status-check.checked {
  background: var(--clr-orange);
  border-color: var(--clr-orange);
}

.act-status-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-blanc);
}

/* ── Grid section activités ── */
.activites-grid-section {
  padding: var(--sp-md) 0 var(--sp-lg);
  background: var(--clr-bg);
}

/* Hérite de .events-grid de home.css */

/* ── Pictos SVG dans les filtres ── */
.act-filter-picto {
  width: 24px;
  height: 24px;
  display: block;
  /* Couleur par défaut : bleu désactivé */
  filter: invert(35%) sepia(60%) saturate(400%) hue-rotate(210deg) brightness(0.8);
  transition: filter var(--t-fast);
}

.act-filter-active .act-filter-picto {
  /* Orange quand actif */
  filter: invert(40%) sepia(90%) saturate(600%) hue-rotate(355deg) brightness(1);
}

.act-filter-btn:hover .act-filter-picto {
  filter: invert(12%) sepia(70%) saturate(1200%) hue-rotate(235deg) brightness(0.7);
}