/* Pages activités & hub multi-pages */

.page-hero {
  position: relative;
  padding: 3rem 1.25rem 2.5rem;
  overflow: hidden;
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--hero-a, var(--prune)) 0%, var(--hero-b, var(--fuchsia-soft)) 100%);
  z-index: 0;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
}

.page-hero .breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.page-hero .breadcrumb a {
  color: var(--gold-light);
}

.page-hero p.lead {
  max-width: 640px;
  font-size: 1.05rem;
  opacity: 0.95;
  margin: 0;
}

.logo-animated {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
}

.logo-animated img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  animation: logo-pulse 3s ease-in-out infinite;
}

.logo-animated .orbit {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(212, 35, 122, 0.5);
  animation: splash-spin 8s linear infinite;
}

.logo-animated .orbit-2 {
  inset: -16px;
  border-color: rgba(201, 169, 98, 0.45);
  animation-duration: 12s;
  animation-direction: reverse;
}

.logo-animated-lg {
  width: min(200px, 45vw);
  height: min(200px, 45vw);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.activity-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.activity-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 48px rgba(74, 25, 66, 0.16);
}

.activity-card__banner {
  height: 120px;
  background: linear-gradient(120deg, var(--card-a), var(--card-b));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.activity-card__banner--title,
.activity-card__banner--photo {
  display: block;
  height: 140px;
  padding: 0;
  background: #fff;
  font-size: inherit;
}

.activity-card__body {
  padding: 1.25rem;
}

.activity-card__body h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--prune);
}

.activity-card__sub {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fuchsia-soft);
}

.activity-card__body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.activity-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--prune);
  letter-spacing: 0.02em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.activity-card:hover .activity-card__link {
  color: var(--fuchsia);
  transform: translateX(3px);
}

.page-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.page-content .block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent, var(--fuchsia));
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--prune);
  cursor: pointer;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav-dropdown > button:hover {
  color: var(--fuchsia);
}

.nav-dropdown ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(74, 25, 66, 0.15);
  padding: 0.5rem 0;
  list-style: none;
  margin: 0.35rem 0 0;
  z-index: 200;
}

.nav-dropdown.is-open ul,
.nav-dropdown:hover ul,
.nav-dropdown:focus-within ul {
  display: block;
}

.nav-dropdown ul a {
  display: block;
  padding: 0.5rem 1rem;
  border-bottom: none;
  font-weight: 500;
}

.main-nav a.is-active {
  color: var(--fuchsia);
  border-bottom-color: var(--fuchsia);
}

.home-hub {
  text-align: center;
  padding: 2rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}

.home-hub .btn-row {
  justify-content: center;
  margin-top: 1.5rem;
}

.page-transition {
  animation: page-in 0.55s ease both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logo-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@media (max-width: 860px) {
  .nav-dropdown ul {
    position: static;
    box-shadow: none;
    border: 1px solid #eee;
    margin-top: 0.25rem;
  }
}

/* Menu header — aligné sur header-nav.css (pas la marque) */
.site-header .main-nav a,
.site-header .nav-dropdown > button {
  font-size: 0.75rem;
  padding: 0.32rem 0.38rem;
  border-bottom-width: 1.5px;
}

.site-header .nav-toggle {
  font-size: 0.625rem;
  height: 1.625rem;
  min-height: 1.625rem;
  max-height: 1.625rem;
  padding: 0 0.55rem;
}
