/* =====================================================
   PAGE STAGES VACANCES — FC Luy de Béarn
   ===================================================== */

/* ── Hero ── */
.page-stages .stages-hero {
  background: linear-gradient(135deg, #1B2618 0%, #2A5C1E 55%, #4A8C30 100%);
  padding: clamp(48px,6vw,72px) var(--fclb-gutter, clamp(20px,5vw,80px));
}
.page-stages .stages-hero__inner { max-width: 760px; }
.page-stages .stages-eyebrow { display:block; font-size:12px; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:rgba(159,223,106,0.8); margin-bottom:10px; }
.page-stages .stages-eyebrow--dark { display:block; font-size:12px; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:#2A5C1E; margin-bottom:6px; }
.page-stages .stages-hero__title { font-size:clamp(32px,4vw + 14px,56px); font-family:var(--font-heading); font-weight:700; color:#fff; line-height:1.05; letter-spacing:-0.02em; margin:0 0 10px; }
.page-stages .stages-hero__accroche { font-size:clamp(17px,1vw + 14px,20px); color:#9FDF6A; font-style:italic; margin:0 0 14px; }
.page-stages .stages-hero__intro { font-size:clamp(17px,1vw + 14px,18px); color:rgba(255,255,255,0.75); line-height:1.65; margin:0 0 24px; }
.page-stages .stages-hero__btn {
  display:inline-flex; align-items:center;
  background:#9FDF6A; color:#1B2618;
  font-size:clamp(17px,0.9vw + 14px,18px); font-family:var(--font-heading); font-weight:700;
  padding:13px 28px; border-radius:6px; text-decoration:none; transition:opacity 0.15s;
}
.page-stages .stages-hero__btn:hover { opacity:0.85; }
.page-stages .stages-hero__no-inscription {
  font-size:clamp(17px,0.9vw + 14px,18px); color:rgba(255,255,255,0.65); line-height:1.65;
  background:rgba(255,255,255,0.07); border:0.5px solid rgba(255,255,255,0.15);
  border-radius:8px; padding:14px 18px;
}
.page-stages .stages-hero__no-inscription strong { color:#9FDF6A; }
.page-stages .stages-hero__no-inscription a { color:#9FDF6A; text-decoration:none; font-weight:700; }

/* ── Sections ── */
.page-stages .stages-section { padding:clamp(48px,5vw,64px) var(--fclb-gutter, clamp(20px,5vw,80px)); }
.page-stages .stages-section--alt { background:#F5F8F2; }
.page-stages .stages-section h2 { font-size:clamp(22px,2vw + 14px,30px); font-family:var(--font-heading); font-weight:700; color:#111; margin:0 0 28px; }

/* ── Bouton générique ── */
.page-stages .stages-btn {
  display:inline-flex; align-items:center;
  background:#2A5C1E; color:#fff;
  font-size:clamp(17px,0.9vw + 14px,18px); font-family:var(--font-heading); font-weight:700;
  padding:12px 24px; border-radius:6px; text-decoration:none; transition:background 0.15s; margin-top:12px;
}
.page-stages .stages-btn:hover { background:#1B3D12; }

/* ── Prochaine session ── */
.page-stages .stages-prochaine { display:grid; grid-template-columns:300px 1fr; gap:32px; align-items:start; }
.page-stages .stages-prochaine__affiche { width:100%; height:auto; border-radius:12px; display:block; }
.page-stages .stages-prochaine__dates { font-size:clamp(20px,1.5vw + 14px,24px); font-family:var(--font-heading); font-weight:700; color:#2A5C1E; }

/* ── Infos pratiques ── */
.page-stages .stages-infos { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.page-stages .stages-info { background:#fff; border:0.5px solid #DDE8D5; border-radius:10px; padding:18px 16px; display:flex; gap:14px; align-items:flex-start; }
.page-stages .stages-info__icone { font-size:24px; line-height:1; flex-shrink:0; }
.page-stages .stages-info__titre { font-size:clamp(17px,0.9vw + 14px,18px); font-family:var(--font-heading); font-weight:700; color:#111; margin-bottom:4px; }
.page-stages .stages-info__texte { font-size:clamp(17px,0.9vw + 14px,18px); color:#555; line-height:1.55; margin:0; }

/* ── Programme ── */
.page-stages .stages-programme__intro { font-size:clamp(17px,1vw + 14px,18px); color:#555; line-height:1.65; margin-bottom:20px; }
.page-stages .stages-activites { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.page-stages .stages-activites li {
  font-size:clamp(17px,0.9vw + 14px,18px); color:#444; line-height:1.5;
  display:flex; align-items:flex-start; gap:10px;
  background:#fff; border:0.5px solid #DDE8D5; border-radius:8px; padding:12px 16px;
}
.page-stages .stages-activites li::before { content:'⚽'; flex-shrink:0; }

/* ── CTA contact ── */
.page-stages .stages-cta { background:#1B2618; padding:clamp(40px,5vw,56px) var(--fclb-gutter, clamp(20px,5vw,80px)); }
.page-stages .stages-cta__inner { display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.page-stages .stages-cta__contact { display:flex; align-items:center; gap:16px; }
.page-stages .stages-contact__avatar { width:52px; height:52px; border-radius:50%; background:rgba(255,255,255,0.15); display:flex; align-items:center; justify-content:center; font-size:16px; font-weight:700; color:#fff; flex-shrink:0; }
.page-stages .stages-contact__nom { font-size:clamp(17px,1vw + 14px,18px); font-family:var(--font-heading); font-weight:700; color:#fff; margin-bottom:2px; }
.page-stages .stages-contact__role { font-size:12px; color:rgba(255,255,255,0.55); margin:0; }
.page-stages .stages-cta__btns { display:flex; gap:10px; flex-wrap:wrap; }
.page-stages .stages-cta__btn { font-size:clamp(17px,0.9vw + 14px,18px); font-family:var(--font-heading); font-weight:600; padding:11px 22px; border-radius:6px; text-decoration:none; transition:opacity 0.15s; background:rgba(255,255,255,0.12); color:rgba(255,255,255,0.9); border:0.5px solid rgba(255,255,255,0.2); }
.page-stages .stages-cta__btn--outline { background:transparent; }
.page-stages .stages-cta__btn--green { background:#9FDF6A; color:#1B2618; border:none; }
.page-stages .stages-cta__btn:hover { opacity:0.85; }

/* ── Bloc stage actif (mis à jour à chaque période : Toussaint, Hiver, Printemps, Été…) ── */
.page-stages .stages-section--actif { background:#fff; }
.page-stages .stages-actif__meta {
  font-size:clamp(14px,0.8vw + 12px,15px); color:#555;
  margin:0 0 8px; line-height:1.8;
}
.page-stages .stages-actif__note {
  font-size:13px; color:#888; font-style:italic; margin:0 0 32px;
}

/* Bloc unique */
.page-stages .stages-actif__wrap {
  width: 100%;
}
.page-stages .stages-actif__bloc {
  background: #F5F8F2;
  border: 0.5px solid #DDE8D5;
  border-radius: 12px;
  overflow: hidden;
  padding: 24px clamp(20px,4vw,32px) 28px;
}
@media (min-width: 700px) {
  .page-stages .stages-actif__bloc {
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: clamp(24px,3vw,40px);
    align-items: start;
  }
}

/* Affiche : largeur maîtrisée et centrée sur mobile, pleine colonne sur desktop */
.page-stages .stages-actif__affiche-wrap {
  max-width: 380px;
  margin: 0 auto 24px;
}
@media (min-width: 700px) {
  .page-stages .stages-actif__affiche-wrap {
    max-width: none;
    margin: 0;
  }
}
.page-stages .stages-actif__affiche {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Contenu sous l'affiche */
.page-stages .stages-actif__contenu {
  padding: 0;
}
.page-stages .stages-actif__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.page-stages .stages-actif__badge {
  display: inline-block;
  background: #2A5C1E;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  align-self: flex-start;
}
.page-stages .stages-actif__cats {
  font-size: clamp(17px, 1vw + 14px, 20px);
  font-family: var(--font-heading);
  font-weight: 700;
  color: #111;
  margin: 6px 0 0;
}
.page-stages .stages-actif__dates {
  font-size: 14px;
  color: #2A5C1E;
  font-weight: 600;
  margin: 0;
}

/* Indication de glissement horizontal (mobile uniquement) */
.page-stages .stages-actif__scroll-hint {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #2A5C1E;
  margin: 0 0 8px;
}
.page-stages .stages-actif__scroll-arrow {
  display: inline-block;
  animation: stages-actif-scroll-arrow 1.4s ease-in-out infinite;
}
@keyframes stages-actif-scroll-arrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}
@media (min-width: 700px) {
  .page-stages .stages-actif__scroll-hint { display: none; }
}

/* Tableau programme */
.page-stages .stages-actif__tableau-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
}
.page-stages .stages-actif__tableau {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: clamp(13px, 0.8vw + 11px, 14px);
}
.page-stages .stages-actif__tableau thead th {
  background: #2A5C1E;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 12px;
  text-align: left;
}
.page-stages .stages-actif__tableau tbody tr { border-bottom: 0.5px solid #DDE8D5; }
.page-stages .stages-actif__tableau tbody td { padding: 9px 12px; vertical-align: middle; color: #333; line-height: 1.4; }

/* Zébrure */
.page-stages .stages-actif__row--pair td { background: rgba(0,0,0,0.03); }
.page-stages .stages-actif__repos-row td { background: rgba(0,0,0,0.05); color: #999; font-style: italic; }

/* Colonne jour en gras */
.page-stages .stages-actif__col-jour {
  font-weight: 700;
  font-family: var(--font-heading);
  color: #2A5C1E;
  white-space: nowrap;
  width: 90px;
}
/* Colonne catégorie */
.page-stages .stages-actif__col-cat {
  color: #2A5C1E;
  font-weight: 600;
  white-space: nowrap;
  width: 76px;
}
/* Colonne tarif alignée à droite */
.page-stages .stages-actif__col-tarif {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
  width: 56px;
  color: #1B2618;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .page-stages .stages-infos { grid-template-columns:1fr 1fr; }
  .page-stages .stages-prochaine { grid-template-columns:1fr; }
  .page-stages .stages-prochaine__affiche { max-width:280px; }
  .page-stages .stages-activites { grid-template-columns:1fr; }
}
@media (max-width: 560px) {
  .page-stages .stages-infos { grid-template-columns:1fr; }
  .page-stages .stages-cta__inner { flex-direction:column; align-items:flex-start; }
}