/* ============================================================
   PAGE HERO — OVERRIDE
   ============================================================ */
.page-hero { padding: 160px 48px 90px; }

/* ============================================================
   SECTION ÉVÉNEMENTS
   ============================================================ */
.events-section { padding: 80px 48px 100px; background: var(--black); }

.events-list { margin-top: 48px; display: flex; flex-direction: column; gap: 2px; }

.event-item {
  background: var(--dark2);
  display: grid;
  grid-template-columns: 88px 1px 1fr;
  gap: 0 32px;
  padding: 28px 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.event-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.event-item:hover::after { transform: scaleX(1); }

/* Date block */
.event-date-block { text-align: center; flex-shrink: 0; }
.event-day  { display: block; font-family: 'Teko', sans-serif; font-size: 56px; line-height: 1; color: var(--white); }
.event-month { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-top: 2px; }

/* Séparateur vertical */
.event-vsep { width: 1px; background: rgba(255,255,255,0.07); align-self: stretch; margin: 4px 0; }

/* Corps */
.event-body { min-width: 0; }

.event-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 2px;
  margin-bottom: 10px;
}
.event-tag--competition { background: rgba(232,40,26,0.15);  color: var(--red); }
.event-tag--ouvert      { background: rgba(251,191,36,0.12); color: #FBBF24; }
.event-tag--stage       { background: rgba(59,130,246,0.12); color: #60a5fa; }
.event-tag--convivial   { background: rgba(34,197,94,0.12);  color: #22c55e; }

.event-title {
  font-family: 'Teko', sans-serif;
  font-size: 38px; line-height: 1;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 8px;
}
.event-desc { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.65; max-width: 600px; }

.event-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.event-meta-item { font-size: 12px; color: rgba(255,255,255,0.28); }

/* ============================================================
   SECTION CYCLE GYM
   ============================================================ */
.cycle-section {
  padding: 80px 48px 120px;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.cycle-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.cycle-month-title { color: var(--red); }

.cycle-focus { text-align: right; padding-top: 8px; }
.cycle-focus-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 6px;
}
.cycle-focus-value {
  font-family: 'Teko', sans-serif;
  font-size: 28px; letter-spacing: 0.04em;
  color: var(--white); line-height: 1;
  margin-bottom: 8px;
}
.cycle-focus-desc { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.55; }

.cycle-rows { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }

/* Ligne de cycle */
.cycle-row {
  display: grid;
  grid-template-columns: 90px 1fr 110px;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  background: var(--dark2);
  border-left: 2px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.cycle-row:hover { border-left-color: var(--red); background: rgba(255,255,255,0.02); }

.cycle-date {
  font-family: 'Teko', sans-serif;
  font-size: 16px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  white-space: nowrap;
}
.cycle-movement { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.4; }
.cycle-movement strong { color: var(--white); font-weight: 600; }

.cycle-row--current { border-left-color: var(--red); background: rgba(179,105,22,0.12); }
.cycle-row--current .cycle-date { color: var(--red); }
.cycle-row--current .cycle-movement { color: rgba(255,255,255,0.85); }
.cycle-row--current::after { content: 'Cette semaine'; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); border: 1px solid rgba(179,105,22,0.4); padding: 3px 8px; border-radius: 2px; white-space: nowrap; align-self: center; justify-self: end; }

.cycle-tag {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-align: right;
}
.cycle-tag--force     { color: #8F946D; }
.cycle-tag--technique { color: #5568D8; }
.cycle-tag--endurance { color: #FEFC3C; }
.cycle-tag--prepa     { color: rgba(255,255,255,0.25); }
.cycle-tag--bilan     { color: var(--red); }

/* ============================================================
   CHALLENGE DU MOIS
   ============================================================ */
.challenge-section {
  padding: 80px 48px 100px;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.challenge-eyebrow { margin-bottom: 40px; }

.challenge-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0 64px;
  align-items: start;
  background: var(--dark2);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.challenge-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--red);
}
.challenge-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.challenge-card:hover::after { transform: scaleX(1); }

.challenge-title {
  font-family: 'Teko', sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: var(--white);
}
.challenge-title span { color: var(--red); }

.challenge-name {
  font-family: 'Teko', sans-serif;
  font-size: 32px;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 16px;
}
.challenge-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 24px;
}
.challenge-meta { display: flex; flex-wrap: wrap; gap: 16px; }
.challenge-meta-item { font-size: 12px; color: rgba(255,255,255,0.28); }

/* ============================================================
   OVERRIDES CTA & FOOTER
   ============================================================ */
.cta-band { padding: 72px 48px; }
footer { padding: 56px 48px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .page-hero { padding: 130px 24px 64px; }
  .events-section { padding: 48px 24px 80px; }

  .event-item { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
  .event-vsep { display: none; }
  .event-date-block { display: flex; align-items: baseline; gap: 8px; }
  .event-day { font-size: 36px; }
  .event-title { font-size: 28px; }

  .cycle-section { padding: 48px 24px 80px; }
  .cycle-header { grid-template-columns: 1fr; gap: 24px; }
  .cycle-focus { text-align: left; }
  .cycle-row { grid-template-columns: 80px 1fr; }
  .cycle-tag { display: none; }
  .cycle-row--current::after { display: none; }

  .challenge-section { padding: 48px 24px 80px; }
  .challenge-card { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
  .challenge-title { font-size: 48px; }

  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 24px; }
  footer { grid-template-columns: 1fr; padding: 36px 20px; }
}
