/* ═══════════════════════════════════════════════════
   ELAN — Section Club & Réunions
   ═══════════════════════════════════════════════════ */

.club-section {
  background: var(--bg);
}

.club-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

/* ──────────────────────────────── GRILLE CLUB */
.club-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
}

.club-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.club-intro {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.65;
}

/* ──────────────────────────────── VALEURS */
.club-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--yellow);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250, 180, 40, 0.04), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.value-card:hover {
  border-color: rgba(250, 180, 40, 0.3);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.value-card:hover::before { opacity: 1; }

[data-theme="light"] .value-card:hover {
  border-color: rgba(33, 50, 123, 0.25);
}

[data-theme="light"] .value-card::before {
  background: linear-gradient(135deg, rgba(33, 50, 123, 0.04), transparent);
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  margin: 0;
}

/* ──────────────────────────────── RÉUNIONS */
.meetings-block {
  background: var(--bg-2);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 70px);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.meetings-block::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}

[data-theme="light"] .meetings-block::before {
  background: linear-gradient(90deg, transparent, var(--blue-dark), transparent);
}

.meetings-header {
  margin-bottom: 40px;
}

/* ── Carrousel meetings ── */
.meetings-carousel-outer {
  position: relative;
}

.meetings-track-wrap {
  overflow: hidden;
}

.meetings-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.meetings-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.meetings-btn {
  width: 52px;
  height: 52px;
  background: var(--bg-card);
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-size: 1.3rem;
  font-family: var(--font-title);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.meetings-btn:hover {
  background: var(--yellow);
  color: #0d0f1a;
  transform: scale(1.08);
}

.meetings-btn:disabled {
  border-color: var(--border-strong);
  color: var(--text-3);
  cursor: not-allowed;
  transform: none;
}

.meetings-btn:disabled:hover {
  background: var(--bg-card);
  color: var(--text-3);
}

[data-theme="light"] .meetings-btn {
  border-color: var(--blue-dark);
  color: var(--blue-dark);
}

[data-theme="light"] .meetings-btn:hover {
  background: var(--blue-dark);
  color: #fff;
}

.meetings-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.meetings-dot {
  width: 28px;
  height: 3px;
  background: var(--border-strong);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.meetings-dot.active {
  width: 48px;
  background: var(--yellow);
}

[data-theme="light"] .meetings-dot.active {
  background: var(--blue-dark);
}

.meetings-dot:hover:not(.active) {
  background: var(--text-3);
}

.meeting-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
  position: relative;
  transition: all var(--transition-base);
  overflow: hidden;
  flex: 0 0 360px;
  width: 360px;
}

.meeting-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.meeting-card:hover::after { transform: scaleX(1); }

.meeting-card:hover {
  border-color: rgba(250, 180, 40, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

[data-theme="light"] .meeting-card:hover {
  border-color: rgba(33, 50, 123, 0.25);
}

[data-theme="light"] .meeting-card::after {
  background: var(--blue-dark);
}

.meeting-badge {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--yellow);
  color: #0d0f1a;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.badge-optional {
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid var(--border-strong);
}

.meeting-card h3 {
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.meeting-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.meta-tag {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(67, 180, 233, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(67, 180, 233, 0.2);
}

[data-theme="light"] .meta-tag {
  color: var(--blue-dark);
  background: rgba(33, 50, 123, 0.08);
  border-color: rgba(33, 50, 123, 0.2);
}

.meeting-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ──────────────────────────────── RESPONSIVE */
@media (max-width: 900px) {
  .club-grid { grid-template-columns: 1fr; gap: 40px; }
  .meetings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .meetings-block { padding: 28px 20px; }
  .meeting-card { padding: 24px; }
}

/* Valeurs : icône alternée en bleu clair */
.value-card:nth-child(2) .value-icon {
  color: var(--blue-light);
}

[data-theme="light"] .value-card:nth-child(2) .value-icon {
  color: var(--blue-dark);
}

/* Ligne de soulignement bleu clair sur hover valeur paire */
.value-card:nth-child(2):hover {
  border-color: rgba(67, 180, 233, 0.35);
}

/* Badge facultatif : bleu clair */
.badge-optional {
  background: rgba(67, 180, 233, 0.12) !important;
  color: var(--blue-light) !important;
  border: 1px solid rgba(67, 180, 233, 0.3) !important;
}

/* Barre latérale bleue sur la carte valeur centrale */
.value-card:nth-child(2) {
  border-left-color: var(--blue-light);
}

[data-theme="light"] .value-card:nth-child(2) {
  border-left-color: var(--blue-dark);
}

/* Meta-tag 2e élément de chaque réunion en bleu clair */
.meeting-meta .meta-tag:nth-child(2) {
  color: var(--blue-light);
  border-color: rgba(67, 180, 233, 0.35);
  background: rgba(67, 180, 233, 0.06);
}

[data-theme="light"] .meeting-meta .meta-tag:nth-child(2) {
  color: var(--blue-dark);
  border-color: rgba(33, 50, 123, 0.25);
  background: rgba(33, 50, 123, 0.05);
}

/* ── Illustration meeting cards ── */
.meeting-card-visual {
  margin: -32px -32px 28px -32px;
  overflow: hidden;
  line-height: 0;
  aspect-ratio: 400 / 260;
}

.meeting-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.meeting-card:hover .meeting-card-visual img {
  transform: scale(1.04);
}

/* Variante bleue du badge — remplace style="background: var(--blue-light)" (CSP) */
.meeting-badge--blue { background: var(--blue-light); }
