/* ============================================================
   HOME — Home page module
   ============================================================
   Contents:
     - .hero / .hero-bg / .hero-grid / .hero-title*       : top banner
     - .hero-lede / .hero-ctas / .hero-stats              : hero content
     - .hero-scroll                                       : "Scroll" indicator
     - .section-head / .section-head h2                   : section headers
     - .profiles / .profile-grid / .profile-card*         : "You are…" (3 profiles)
     - .profile-icon / .profile-link                      : profile card elements
     - .featured / .featured-grid / .featured-side        : "Club spotlight"
     - .featured-main / .featured-tag / .featured-date    : featured card (static fallback)
   ============================================================ */

.hero {
  position: relative;
  background: var(--c-deep);
  color: white;
  overflow: hidden;
  padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg svg { width: 100%; height: 100%; }
.hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }
}
.hero .eyebrow { color: var(--c-cyan); }
.hero .eyebrow-icon { background: rgba(212, 162, 74, 0.18); box-shadow: 0 0 0 1px rgba(212, 162, 74, 0.25); }

.hero-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(46px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
}
.hero-title-accent {
  font-weight: 500;
  color: var(--c-cyan);
  position: relative;
  display: inline-block;
}
.hero-title-accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-cyan), transparent);
}
.hero-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
@media (min-width: 980px) {
  .hero-stats {
    grid-template-columns: 1fr;
    border-top: none;
    padding: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 40px;
  }
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1;
  color: white;
  letter-spacing: -0.03em;
}
.stat-sup {
  font-size: 0.5em;
  color: var(--c-gold);
  vertical-align: top;
  margin-left: 2px;
}
.stat-range {
  font-size: 0.55em;
  color: var(--c-gold);
  margin: 0 0.08em;
  vertical-align: 0.18em;
  font-weight: 400;
}
.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  z-index: 2;
}
.hero-scroll-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.4), transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--c-cyan), transparent);
  animation: slideLine 2.5s ease-in-out infinite;
}
@keyframes slideLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@media (max-width: 600px) { .hero-scroll { display: none; } }

.section-head {
  margin-bottom: 60px;
  max-width: 720px;
}
.section-head h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

/* Variante compacte pour les sections internes (articles, listes...) */
.featured .section-head {
  margin-bottom: 36px;
}
.featured .section-head h2,
.section-head h2.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
}

.profiles { padding: clamp(48px, 6vw, 80px) 0 clamp(60px, 8vw, 100px); }
.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) { .profile-grid { grid-template-columns: repeat(3, 1fr); } }
.profile-card {
  display: block;
  padding: 36px 32px 32px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 0;
  text-decoration: none;
  color: var(--c-ink);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.profile-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: var(--c-blue);
  transition: width 0.5s var(--ease);
}
.profile-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-blue);
  box-shadow: 0 20px 40px -20px rgba(35, 111, 168, 0.25);
}
.profile-card:hover::before { width: 100%; }
.profile-card--accent {
  background: var(--c-deep);
  color: white;
  border-color: var(--c-deep);
}
.profile-card--accent::before { background: var(--c-gold); }
.profile-card--accent .profile-link { color: var(--c-cyan); }
.profile-icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(35, 111, 168, 0.1);
  color: var(--c-blue);
  margin-bottom: 20px;
}
.profile-icon svg { width: 24px; height: 24px; }
.profile-card--accent .profile-icon {
  background: rgba(50, 188, 236, 0.15);
  color: var(--c-cyan);
}
.profile-card h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 12px;
}
.profile-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-mute);
  margin-bottom: 24px;
}
.profile-card--accent p { color: rgba(255, 255, 255, 0.7); }
.profile-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-blue);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.profile-link span { transition: transform 0.3s var(--ease); }
.profile-card:hover .profile-link span { transform: translateX(4px); }

.featured {
  background: var(--c-cream);
  padding: clamp(80px, 10vw, 140px) 0;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 900px) { .featured-grid { grid-template-columns: 1.6fr 1fr; gap: 80px; } }
.featured-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--c-gold);
  color: var(--c-deep);
  border-radius: 0;
  margin-bottom: 24px;
}
.featured-main h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.featured-date {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 24px;
}
.featured-main p:not(.featured-date) {
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-mute);
  margin-bottom: 32px;
  max-width: 540px;
}
.featured-side { display: flex; flex-direction: column; gap: 20px; }
.news-card {
  padding: 24px;
  background: var(--c-paper);
  border-radius: 0;
  border-left: 3px solid var(--c-cyan);
  transition: all 0.3s var(--ease);
}
.news-card:hover {
  transform: translateX(4px);
  border-left-color: var(--c-gold);
}
.news-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-mute);
}
.news-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 8px 0 8px;
  line-height: 1.3;
}
.news-card p {
  font-size: 13px;
  color: var(--c-mute);
  margin-bottom: 12px;
}
.news-card a {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-blue);
  text-decoration: none;
}

.partners {
  padding: 60px 0;
  border-top: 1px solid var(--c-line);
}
.partners-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: 20px;
  text-align: center;
}
.partners-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 40px;
}
.partners-list li {
  font-family: var(--f-display);

  font-weight: 500;
  font-size: 18px;
  color: var(--c-deep);
  opacity: 0.6;
}
