/* index.css — styles spécifiques (design system commun dans base.css) */
/* ── HERO ── */
.hero {
  background: var(--sla-dark); padding: 5rem 3rem 4rem;
  position: relative; overflow: hidden; min-height: 480px; display: flex; align-items: center;
}
.hero-blob { position: absolute; border-radius: 50%; opacity: 0.18; }
.blob1 { width: 420px; height: 420px; background: var(--sla-pink); top: -100px; right: 80px; }
.blob2 { width: 320px; height: 320px; background: var(--sla-blue); bottom: -80px; right: 280px; }
.blob3 { width: 200px; height: 200px; background: var(--sla-yellow); top: 60px; right: 320px; }
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-date { display: inline-block; background: var(--sla-yellow); color: var(--sla-dark); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 6px 14px; border-radius: 4px; margin-bottom: 1.5rem; }
.hero-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 72px; line-height: 0.95; color: white; text-transform: uppercase; margin-bottom: 0.8rem; }
.hero-title .yellow { color: var(--sla-yellow); }
.hero-title .pink { color: var(--sla-pink-light); }
.hero-sub { font-size: 17px; color: rgba(255,255,255,0.75); max-width: 480px; line-height: 1.6; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── ASSO BLOCK ── */
.asso-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-bottom: 1px solid #E2E6EA;
}
.asso-block-text { padding: 3.5rem 3rem; }
.asso-block-img {
  background: var(--sla-dark); overflow: hidden; min-height: 340px;
  position: relative;
}
.asso-block-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.asso-tag {
  display: inline-block; background: var(--sla-pink); color: white;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 4px; margin-bottom: 1rem;
}
.asso-block-text h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 36px; text-transform: uppercase; margin-bottom: 1rem; line-height: 1; }
.asso-block-text h2 span { color: var(--sla-pink); }
.asso-block-text p { font-size: 15px; color: #555; line-height: 1.75; margin-bottom: 0.6rem; }
.missions-list { margin: 1rem 0 1.5rem 0; padding: 0; list-style: none; }
.missions-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: #444; padding: 5px 0; font-weight: 600;
}
.missions-list li::before {
  content: ''; width: 6px; height: 6px; background: var(--sla-pink);
  border-radius: 50%; margin-top: 7px; flex-shrink: 0;
}
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.5rem; }

/* ── COURSES BLOCK ── */
.courses-strip {
  background: var(--sla-dark); padding: 4rem 3rem;
  position: relative; overflow: hidden;
}
.courses-strip-blob { position: absolute; border-radius: 50%; opacity: 0.1; }
.cs-blob1 { width: 500px; height: 500px; background: var(--sla-pink); top: -200px; left: -100px; }
.cs-blob2 { width: 300px; height: 300px; background: var(--sla-blue); bottom: -100px; right: 100px; }
.courses-strip-inner { position: relative; z-index: 1; }
.courses-strip h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 38px; text-transform: uppercase; color: white; margin-bottom: 0.5rem; }
.courses-strip h2 span { color: var(--sla-yellow); }
.courses-strip .lead { color: rgba(255,255,255,0.65); font-size: 15px; margin-bottom: 2.5rem; max-width: 760px; line-height: 1.65; }
.formats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 2.5rem; }
.format-mini {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 1.5rem;
  transition: background 0.18s;
}
.format-mini:hover { background: rgba(255,255,255,0.1); }
.format-mini-num { font-family: 'Barlow Condensed', sans-serif; font-size: 42px; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.fmt-pink { color: var(--sla-pink-light); }
.fmt-blue { color: var(--sla-blue); }
.fmt-green { color: #7EC850; }
.format-mini-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 18px; text-transform: uppercase; color: white; margin-bottom: 6px; }
.format-mini-detail { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.55; }
.format-mini-badge { display: inline-block; padding: 3px 10px; border-radius: 5px; font-size: 11px; font-weight: 700; margin-top: 10px; }
.badge-hard { background: rgba(212,34,110,0.25); color: var(--sla-pink-light); }
.badge-med { background: rgba(91,143,168,0.25); color: var(--sla-blue); }
.badge-easy { background: rgba(126,200,80,0.2); color: #7EC850; }
.courses-strip-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* photo à gauche + formats empilés à droite */
.courses-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; margin-bottom: 2.5rem; }
.courses-split-img { border-radius: 14px; overflow: hidden; min-height: 320px; }
.courses-split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.courses-split .formats-grid { grid-template-columns: 1fr; margin-bottom: 0; }

/* ── RESPONSIVE (mobile / tablette) ── */
@media (max-width: 860px) {
  .page-hero h1 { font-size: 40px; }
  .section-title, .courses-strip h2 { font-size: 30px; }
  .hero { padding: 3rem 1.25rem; min-height: 0; }
  .hero-title { font-size: 52px; }
  .asso-block { grid-template-columns: 1fr; }
  .asso-block-text { padding: 2.5rem 1.25rem; }
  .asso-block-text h2 { font-size: 30px; }
  .asso-block-img { min-height: 220px; }
  .courses-strip { padding: 3rem 1.25rem; }
  .formats-grid { grid-template-columns: 1fr; }
  .courses-split { grid-template-columns: 1fr; gap: 1.25rem; }
  .courses-split-img { min-height: 200px; }
}
@media (max-width: 520px) {
  .hero-title { font-size: 40px; }
  .hero-sub, .page-hero p { font-size: 15px; }
  .hero-cta, .courses-strip-cta, .btn-row { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary, .hero-cta .btn-outline,
  .courses-strip-cta .btn-primary, .courses-strip-cta .btn-outline,
  .btn-row .btn-primary, .btn-row .btn-outline-dark { width: 100%; text-align: center; }
}
