/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --violet: #7c3aed;
  --violet-dark: #5b21b6;
  --violet-light: #ede9fe;
  --noir: #0f172a;
  --gris: #64748b;
  --gris-clair: #f1f5f9;
  --blanc: #ffffff;
  --rouge-live: #dc2626;
  --border: #e2e8f0;
  --dark-bg: #f8fafc;
  --dark-card-bg: #ffffff;
  --dark-card-border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--blanc); color: var(--noir); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* ── Gradient text helpers ────────────────────────────── */
.purple-gradient-text {
  background: linear-gradient(90deg, #9b59b6, #7c3aed);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pink-gradient-text {
  background: linear-gradient(90deg, #e91e8c, #f06292);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cyan-gradient-text {
  background: linear-gradient(90deg, #00d2d3, #0abde3);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Navigation ───────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-text { font-weight: 800; font-size: 18px; color: var(--violet); letter-spacing: -0.5px; }
.nav-cta {
  background: var(--violet); color: #fff;
  padding: 9px 20px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  transition: background 0.15s;
  display: flex; align-items: center; gap: 6px;
}
.nav-cta:hover { background: var(--violet-dark); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 100px 24px 60px;
  background: linear-gradient(160deg, #faf8ff 0%, #fff 60%, #f8fafc 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-logo { width: min(280px, 70vw); margin-bottom: 32px; animation: fadeInUp 0.7s ease both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--violet-light); color: var(--violet);
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 20px;
  animation: fadeInUp 0.7s 0.1s ease both;
}
.hero-title {
  font-size: clamp(28px, 6vw, 52px); font-weight: 900;
  line-height: 1.1; letter-spacing: -1px; color: var(--noir);
  margin-bottom: 20px; animation: fadeInUp 0.7s 0.15s ease both;
}
.hero-title span { color: var(--violet); }
.hero-subtitle {
  font-size: clamp(15px, 2.5vw, 18px); color: var(--gris);
  max-width: 560px; line-height: 1.65; margin-bottom: 36px;
  animation: fadeInUp 0.7s 0.2s ease both;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; animation: fadeInUp 0.7s 0.25s ease both; }
.btn-primary {
  background: var(--violet); color: #fff; padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 700; border: none; cursor: pointer;
  transition: all 0.15s; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 14px rgba(124,58,237,0.35);
}
.btn-primary:hover { background: var(--violet-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,58,237,0.4); }
.btn-secondary {
  background: #fff; color: var(--noir); padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600; border: 1.5px solid var(--border); cursor: pointer;
  transition: all 0.15s; display: flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-1px); }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--gris); font-size: 11px; font-weight: 500;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }

/* ── Section wrapper ──────────────────────────────────── */
.section { padding: 80px 24px; max-width: 1180px; margin: 0 auto; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.section-title-group { display: flex; align-items: center; gap: 12px; }
.section-icon { font-size: 22px; }
.section-title { font-size: clamp(20px, 3vw, 26px); font-weight: 800; color: var(--noir); }
.section-count { font-size: 12px; color: var(--gris); background: var(--gris-clair); border-radius: 10px; padding: 2px 10px; }

/* ── Scroll horizontal ────────────────────────────────── */
.scroll-wrap { position: relative; }
.cards-scroll {
  display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.cards-scroll::-webkit-scrollbar { height: 4px; }
.cards-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.scroll-btn {
  position: absolute; top: 40%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow);
  cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center;
  color: var(--gris); z-index: 5; transition: all 0.15s;
}
.scroll-btn:hover { background: var(--violet-light); color: var(--violet); border-color: var(--violet); }
.scroll-btn.left { left: -16px; }
.scroll-btn.right { right: -16px; }

/* ── Actu card ────────────────────────────────────────── */
.actu-card {
  flex-shrink: 0; width: 200px;
  background: var(--blanc); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.actu-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.actu-poster {
  position: relative; width: 100%; height: 266px;
  background: #0f172a; overflow: hidden; flex-shrink: 0;
}
.actu-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.actu-poster-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 12px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}
.actu-poster-placeholder span { font-size: 36px; }
.actu-poster-placeholder p { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.6); text-align: center; }
.actu-badge { position: absolute; top: 8px; left: 8px; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; color: #fff; }
.badge-match { background: #2563eb; }
.badge-live { background: #0891b2; }
.badge-concours { background: var(--violet); }
.actu-zoom { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.45); border-radius: 6px; padding: 3px 7px; font-size: 11px; color: #fff; cursor: zoom-in; }
.actu-body { padding: 10px 11px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.actu-streamers { display: flex; flex-direction: column; gap: 4px; }
.actu-streamer { display: flex; align-items: center; gap: 6px; }
.actu-avatar {
  width: 26px; height: 26px; border-radius: 50%; overflow: hidden;
  background: var(--violet-light); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--violet); position: relative;
}
.actu-avatar img { width: 100%; height: 100%; object-fit: cover; }
.live-dot { position: absolute; bottom: -1px; right: -1px; width: 9px; height: 9px; border-radius: 50%; background: var(--rouge-live); border: 2px solid #fff; }
.actu-streamer-name { font-size: 11px; font-weight: 600; color: var(--noir); }
.actu-streamer-live { font-size: 9px; color: var(--rouge-live); font-weight: 600; line-height: 1; }
.actu-title { font-size: 12px; font-weight: 700; color: var(--noir); line-height: 1.3; }
.actu-desc { font-size: 11px; color: var(--gris); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.actu-date { margin-top: auto; padding-top: 6px; border-top: 1px solid var(--gris-clair); font-size: 11px; font-weight: 600; color: var(--violet); }
.actu-register {
  margin-top: 6px; background: var(--violet); color: #fff;
  border: none; border-radius: 7px; padding: 7px 0;
  font-size: 11px; font-weight: 700; cursor: pointer; width: 100%;
  transition: background 0.15s;
}
.actu-register:hover { background: var(--violet-dark); }
.actu-register-overlay {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  z-index: 3; width: auto; margin-top: 0;
  background: rgba(124,58,237,0.93); color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
}
.actu-register-overlay:hover { background: rgba(109,40,217,0.97); }

/* ── Dark sections ────────────────────────────────────── */
.dark-section { background: var(--dark-bg); padding: 80px 24px; }
.dark-section-inner { max-width: 1180px; margin: 0 auto; }

/* Section 1 — Nos valeurs */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: var(--dark-card-bg); border: 1px solid var(--dark-card-border);
  border-radius: 18px; padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}
.value-card:hover { border-color: rgba(124,58,237,0.5); transform: translateY(-4px); }
.value-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.value-title { font-size: 22px; font-weight: 800; }
.value-bold { font-size: 15px; font-weight: 700; color: var(--noir); line-height: 1.4; }
.value-desc { font-size: 14px; color: var(--gris); line-height: 1.65; }

/* Section 2 — Pourquoi rejoindre */
.why-section { }
.why-header { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 10px; }
.why-icon { font-size: 26px; }
.why-title { font-size: clamp(22px, 4vw, 34px); font-weight: 900; color: var(--noir); text-align: center; }
.why-subtitle { text-align: center; color: var(--gris); font-size: 15px; margin-bottom: 48px; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-card {
  background: var(--dark-card-bg); border: 1px solid var(--dark-card-border);
  border-radius: 16px; padding: 24px 22px;
  display: flex; align-items: flex-start; gap: 16px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}
.why-card:hover { border-color: rgba(124,58,237,0.5); transform: translateY(-2px); }
.why-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.why-card-title { font-size: 15px; font-weight: 700; color: var(--noir); margin-bottom: 6px; line-height: 1.3; }
.why-card-desc { font-size: 13px; color: var(--gris); line-height: 1.6; }

/* ── Lightbox ─────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-out; animation: fadeIn 0.2s ease;
}
.lightbox img { max-width: 92vw; max-height: 92vh; object-fit: contain; border-radius: 10px; cursor: default; box-shadow: 0 8px 40px rgba(0,0,0,0.6); }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* ── Modale formulaire ────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.55); display: flex; align-items: center; justify-content: center; padding: 16px; animation: fadeIn 0.2s ease; }
.modal { background: var(--blanc); border-radius: 18px; width: 100%; max-width: 540px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.2); animation: slideUp 0.25s ease; }
.modal-header { padding: 22px 24px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.modal-title { font-size: 18px; font-weight: 800; color: var(--noir); }
.modal-subtitle { font-size: 13px; color: var(--gris); margin-top: 3px; }
.modal-close { width: 32px; height: 32px; border-radius: 50%; background: var(--gris-clair); border: none; cursor: pointer; font-size: 18px; color: var(--gris); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.modal-close:hover { background: var(--border); }
.modal-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.modal-footer { padding: 16px 24px 20px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }
.modal { display: flex; flex-direction: column; }
.modal-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.modal-aside { display: none; }

/* Inscription événement : plein écran 2 colonnes */
.modal-overlay.fullpage { padding: 0; }
.modal-overlay.fullpage .modal { flex-direction: row; max-width: none; width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; overflow: hidden; }
.modal-overlay.fullpage .modal-aside { display: flex; flex-direction: column; gap: 16px; width: 38%; max-width: 460px; background: var(--gris-clair); padding: 28px; overflow-y: auto; border-right: 1px solid var(--border); }
.modal-overlay.fullpage .modal-main { max-height: 100vh; overflow-y: auto; }
.modal-aside-poster { width: 100%; border-radius: 14px; object-fit: cover; box-shadow: 0 8px 28px rgba(0,0,0,0.14); }
.modal-aside-card { background: var(--blanc); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.modal-aside-card h4 { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: var(--violet); text-transform: uppercase; letter-spacing: .5px; }
.modal-aside-meta { font-size: 14px; color: var(--noir); margin-bottom: 6px; display: flex; gap: 8px; align-items: flex-start; }
.modal-aside-card ul { margin: 0; padding-left: 18px; }
.modal-aside-card li { font-size: 14px; color: var(--noir); line-height: 1.7; }
@media (max-width: 860px) {
  .modal-overlay.fullpage .modal { flex-direction: column; }
  .modal-overlay.fullpage .modal-aside { width: auto; max-width: none; max-height: 42vh; border-right: none; border-bottom: 1px solid var(--border); }
}
.field-group { display: flex; flex-direction: column; gap: 5px; }
.field-label { font-size: 13px; font-weight: 600; color: var(--noir); }
.field-required { color: var(--violet); }
.field-input, .field-textarea, .field-select { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; color: var(--noir); background: var(--blanc); transition: border-color 0.15s; font-family: inherit; resize: vertical; }
.field-input:focus, .field-textarea:focus, .field-select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }
.field-textarea { min-height: 80px; }
.field-options { display: flex; flex-direction: column; gap: 8px; }
.field-option { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.field-option input { accent-color: var(--violet); width: 16px; height: 16px; }
.field-option-label { font-size: 14px; color: var(--noir); }
.field-file-zone { width: 100%; }
.field-file { padding: 16px; border: 2px dashed var(--border); border-radius: 8px; text-align: center; font-size: 13px; color: var(--gris); cursor: pointer; transition: border-color 0.15s; }
.field-file:hover { border-color: var(--violet); color: var(--violet); }
.btn-submit { background: var(--violet); color: #fff; padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 700; border: none; cursor: pointer; transition: background 0.15s; }
.btn-submit:hover { background: var(--violet-dark); }
.btn-submit:disabled { background: var(--border); cursor: not-allowed; }
.btn-cancel { background: var(--gris-clair); color: var(--gris); padding: 12px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; }
.btn-cancel:hover { background: var(--border); }
.form-success { text-align: center; padding: 32px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.form-success-icon { font-size: 48px; }
.form-success-title { font-size: 20px; font-weight: 800; color: var(--noir); }
.form-success-text { font-size: 14px; color: var(--gris); }
.form-error { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; font-size: 13px; padding: 10px 12px; border-radius: 8px; }

/* ── Footer ───────────────────────────────────────────── */
.footer { background: #fff; color: var(--gris); padding: 48px 24px 32px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo-text { font-size: 16px; font-weight: 700; color: var(--violet); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--gris); transition: color 0.15s; }
.footer-links a:hover { color: var(--noir); }
.footer-copy { font-size: 12px; color: #94a3b8; }

/* ── Animations ───────────────────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 88px 20px 48px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .section { padding: 60px 16px; }
  .dark-section { padding: 60px 16px; }
  .actu-card { width: 172px; }
  .actu-poster { height: 230px; }
  .scroll-btn { display: none; }
  .nav { padding: 0 16px; }
  .nav-logo-text { display: none; }
  .why-title { font-size: 20px; }
}

/* ── Hero 3 colonnes : Événements | Hero | Matchs ─────── */
.hero-layout {
  width: 100%; max-width: 1340px; margin: 0 auto;
  display: grid; grid-template-columns: 300px minmax(0, 1fr) 300px;
  gap: 56px; align-items: start;
}
/* Recentre le hero quand l'une des asides est masquée (events/matches vide) */
.hero-layout.no-left  { grid-template-columns: minmax(0, 1fr) 300px; max-width: 1040px; }
.hero-layout.no-right { grid-template-columns: 300px minmax(0, 1fr); max-width: 1040px; }
.hero-layout.no-left.no-right { grid-template-columns: minmax(0, 1fr); max-width: 800px; }
.hero-center {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding-top: 8px;
}
/* "NOUVELLE GÉNÉRATION" sur une seule ligne en mode PC */
.hero-title { white-space: nowrap; }
.hero-aside {
  padding-top: 6px; min-width: 0;
  display: flex; flex-direction: column; align-items: center;
}
.hero-aside-left { order: 1; }
.hero-center { order: 2; }
.hero-aside-right { order: 3; }

.agenda-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; }
.agenda-list { width: 100%; max-width: 280px; margin: 0 auto; }
.hero-aside .section-title { font-size: 18px; }
.hero-aside .section-icon { font-size: 18px; }
.agenda-list { display: flex; flex-direction: row; gap: 14px; position: relative; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.agenda-list::-webkit-scrollbar { display: none; }
.agenda-list .actu-card { width: 100%; flex: 0 0 100%; scroll-snap-align: start; }
.agenda-dots { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 12px; }
.agenda-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.25); border: none; padding: 0; cursor: pointer; transition: all 0.25s ease; }
.agenda-dot:hover { background: rgba(255,255,255,0.5); }
.agenda-dot.active { width: 20px; border-radius: 4px; background: #7c3aed; }
/* Affiche entièrement visible (posters 9:16) */
.agenda-list .actu-poster { height: auto; aspect-ratio: 9 / 16; background: #0b0b14; }
.agenda-list .actu-poster img { object-fit: contain; }
.agenda-empty {
  color: #94a3b8; font-size: 13px; padding: 30px 12px; text-align: center;
  border: 1px dashed var(--border); border-radius: var(--radius); background: #fff;
}

/* Mobile / tablette : hero en haut pleine largeur, puis Événements | Matchs côte à côte */
@media (max-width: 1080px) {
  .hero-layout,
  .hero-layout.no-left,
  .hero-layout.no-right,
  .hero-layout.no-left.no-right { grid-template-columns: 1fr 1fr; gap: 24px 20px; max-width: 760px; }
  .hero-layout.no-left.no-right { grid-template-columns: 1fr; }
  .hero-center { grid-column: 1 / -1; order: 0; }
  .hero-aside-left { order: 1; }
  .hero-aside-right { order: 2; }
  .hero-aside .section-title { font-size: 15px; }
  .hero-title { white-space: normal; }
  .agenda-list { max-width: none; }
  /* "Découvrir" visible dès l'ouverture, au-dessus des cartes */
  .hero-scroll {
    position: static; transform: none; left: auto; bottom: auto;
    margin: 18px auto 2px;
  }
}
@media (max-width: 460px) {
  .hero-layout { gap: 20px 12px; }
  .hero-aside .section-title { font-size: 13px; }
  .agenda-head { gap: 6px; margin-bottom: 12px; }
}

/* ── Formulaires de candidature (modale blanche) ──────── */
.apply-intro {
  background: #f8fafc; border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; font-size: 14px; color: var(--noir); line-height: 1.6;
}
.apply-intro p { margin: 0 0 8px; }
.apply-intro p:last-child { margin-bottom: 0; }
.apply-intro ul { margin: 4px 0 10px; padding-left: 20px; }
.apply-intro li { margin-bottom: 4px; }
.apply-sep {
  font-size: 14px; font-weight: 700; color: var(--violet);
  text-align: center; margin: 4px 0 2px;
}
.apply-check {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; font-size: 14px; color: var(--noir); cursor: pointer;
}
.apply-check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--violet); }
.apply-check small { color: var(--gris); font-size: 12px; }

/* ── Pages de contenu (SEO) ───────────────────────────── */
.page { max-width: 820px; margin: 0 auto; padding: 110px 24px 70px; }
.page-eyebrow { display: inline-block; background: var(--violet-light); color: var(--violet);
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 16px; }
.page h1 { font-size: clamp(26px, 5vw, 40px); font-weight: 900; color: var(--noir);
  line-height: 1.15; margin-bottom: 14px; }
.page h1 span { color: var(--violet); }
.page .lead { font-size: 17px; color: var(--gris); line-height: 1.7; margin-bottom: 32px; }
.page h2 { font-size: clamp(19px, 3vw, 24px); font-weight: 800; color: var(--noir);
  margin: 36px 0 12px; }
.page h3 { font-size: 16px; font-weight: 700; color: var(--noir); margin: 22px 0 6px; }
.page p { color: #334155; font-size: 15.5px; line-height: 1.75; margin-bottom: 14px; }
.page ul { margin: 6px 0 18px; padding-left: 22px; }
.page li { color: #334155; font-size: 15.5px; line-height: 1.7; margin-bottom: 8px; }
.page strong { color: var(--noir); }
.page .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px;
  margin-bottom: 12px; background: #fff; }
.faq-item h3 { margin: 0 0 8px; }
.faq-item p { margin: 0; }
.page-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px;
  padding-top: 22px; border-top: 1px solid var(--border); font-size: 14px; }
.page-links a { color: var(--violet); font-weight: 600; }
