/* =============================================
   SCANDIUM BUSINESS CLUB — Custom CSS for Divi
   =============================================
   À coller dans : Divi > Options du thème > CSS personnalisé
   Ou dans : Apparence > Personnaliser > CSS additionnel
   ============================================= */

/* ---- VARIABLES GLOBALES ---- */
:root {
  --gold: #C5A55A;
  --gold-light: #D4B96A;
  --gold-dark: #A8893D;
  --black: #0D0D0D;
  --charcoal: #1A1A1A;
  --charcoal-light: #222222;
  --white: #FFFFFF;
  --grey-mid: #B0B0B0;
  --grey-dark: #666666;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
}

/* ---- POLICES ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ---- RESET DIVI ---- */
body {
  background: var(--black) !important;
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

#main-header {
  background: rgba(13, 13, 13, 0.92) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(197, 165, 90, 0.08) !important;
  box-shadow: none !important;
}

/* ---- HEADER NAV ---- */
#main-header .et-menu a {
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.85) !important;
  transition: color 0.3s ease !important;
}
#main-header .et-menu a:hover {
  color: var(--gold) !important;
  opacity: 1 !important;
}

/* ---- BOUTON ESPACE MEMBRE (header) ---- */
.et_pb_button.btn-espace-membre,
.header-cta-btn {
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  padding: 12px 28px !important;
  background: var(--gold) !important;
  color: var(--black) !important;
  border: 2px solid var(--gold) !important;
  border-radius: 0 !important;
  transition: all 0.35s ease !important;
}
.et_pb_button.btn-espace-membre:hover,
.header-cta-btn:hover {
  background: transparent !important;
  color: var(--gold) !important;
}

/* ---- BOUTON CTA OUTLINE (doré) ---- */
.btn-cta-outline {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  padding: 16px 36px !important;
  background: transparent !important;
  color: var(--gold) !important;
  border: 1.5px solid var(--gold) !important;
  border-radius: 0 !important;
  transition: all 0.4s ease !important;
}
.btn-cta-outline:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
}

/* ---- BOUTON CTA PLEIN (doré) ---- */
.btn-cta-gold {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  padding: 16px 36px !important;
  background: var(--gold) !important;
  color: var(--black) !important;
  border: 2px solid var(--gold) !important;
  border-radius: 0 !important;
  transition: all 0.4s ease !important;
}
.btn-cta-gold:hover {
  background: transparent !important;
  color: var(--gold) !important;
}

/* ---- LABELS DE SECTION ---- */
.section-label {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

/* ---- TITRES DE SECTION ---- */
.section-title,
.et_pb_module_header {
  font-family: var(--font-heading) !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: var(--white) !important;
}

/* ---- TEXTE PARAGRAPHE ---- */
.section-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--grey-mid);
}

/* ---- SÉPARATEUR DORÉ ---- */
.gold-separator {
  width: 40px;
  height: 1.5px;
  background: var(--gold);
  margin: 28px auto;
}

/* ---- SÉPARATEUR DE SECTION ---- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(197,165,90,0.25) 50%, transparent 100%);
}

/* ---- HERO LABEL ---- */
.hero-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- HERO TITLE ---- */
.hero-title-white {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--white);
}
.hero-title-gold {
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
}

/* ---- HERO SUBTITLE ---- */
.hero-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
}

/* ---- CARTES (piliers, membres, valeurs) ---- */
.scandium-card {
  padding: 36px 28px;
  background: rgba(13, 13, 13, 0.5);
  border: 1px solid rgba(197,165,90,0.08);
  transition: all 0.4s ease;
}
.scandium-card:hover {
  border-color: rgba(197,165,90,0.25);
  transform: translateY(-4px);
}

/* ---- ICÔNES DORÉES ---- */
.gold-icon-box {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(197,165,90,0.25);
  color: var(--gold);
}
.gold-icon-circle {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(197,165,90,0.25);
  border-radius: 50%;
  color: var(--gold);
}

/* ---- GALERIE ÉVÉNEMENTS (hover expand) ---- */
.events-gallery {
  display: flex;
  align-items: stretch;
  gap: 16px;
  height: 420px;
}
.event-img {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.event-img.side { flex: 1; }
.event-img.center { flex: 1.8; }
.events-gallery:hover .event-img.center { flex: 1.15; }
.events-gallery .event-img.side:hover { flex: 1.8; }

/* ---- NOM D'ÉVÉNEMENT SUR IMAGE ---- */
.event-name {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  opacity: 0.9;
  transition: all 0.45s ease;
}
.event-img:hover .event-name {
  color: var(--gold);
  text-shadow: 0 2px 20px rgba(197,165,90,0.3);
}

/* ---- MEMBRES FLOUTÉS ---- */
.member-card-blurred {
  position: relative;
  overflow: hidden;
}
.member-card-blurred .member-inner {
  filter: blur(6px);
  opacity: 0.5;
  pointer-events: none;
}
.lock-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}

/* ---- BADGES PUBLIC/PRIVÉ ---- */
.event-badge {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
}
.event-badge.public {
  background: rgba(197,165,90,0.9);
  color: var(--black);
}
.event-badge.private {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ---- BADGE PRIX ---- */
.event-price-badge {
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
}

/* ---- FORMULAIRE INPUTS ---- */
.scandium-input,
.et_pb_contact_form .input,
.et_pb_contact_form input[type="text"],
.et_pb_contact_form input[type="email"],
.et_pb_contact_form textarea {
  width: 100% !important;
  padding: 14px 18px !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0 !important;
  outline: none !important;
  transition: all 0.35s ease !important;
}
.scandium-input:focus,
.et_pb_contact_form input:focus,
.et_pb_contact_form textarea:focus {
  border-color: var(--gold) !important;
  background: rgba(197, 165, 90, 0.03) !important;
  box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.05) !important;
}

/* ---- ICÔNES RÉSEAUX SOCIAUX ---- */
.social-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(197,165,90,0.2);
  color: var(--grey-mid);
  transition: all 0.35s ease;
}
.social-icon-box:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(197,165,90,0.08);
}

/* ---- FOOTER ---- */
#main-footer {
  background: var(--charcoal) !important;
  border-top: 1px solid rgba(197,165,90,0.12) !important;
}
#main-footer .footer-widget h4 {
  font-family: var(--font-body) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
}
#main-footer .footer-widget a {
  color: var(--grey-mid) !important;
  transition: color 0.3s ease !important;
}
#main-footer .footer-widget a:hover {
  color: var(--white) !important;
}

/* ---- PARTICULES (canvas) ---- */
.particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ---- LIGNES DIAGONALES ---- */
.diagonal-lines-tr,
.diagonal-lines-bl {
  position: absolute;
  width: 300px; height: 300px;
  overflow: hidden;
  opacity: 0.06;
  pointer-events: none;
}
.diagonal-lines-tr { top: 0; right: 0; }
.diagonal-lines-bl { bottom: 0; left: 0; }

/* ---- PAGINATION ---- */
.scandium-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.scandium-pagination .page-btn {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(197,165,90,0.15);
  color: var(--grey-mid);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.35s ease;
}
.scandium-pagination .page-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.scandium-pagination .page-btn.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ---- PROCESSUS ÉTAPES ---- */
.step-number {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  color: rgba(197,165,90,0.3);
  line-height: 1;
}

/* ---- ACCENT COIN DORÉ (images) ---- */
.gold-corner-accent {
  position: relative;
}
.gold-corner-accent::before {
  content: '';
  position: absolute;
  top: -12px; right: -12px;
  width: 80px; height: 80px;
  border-top: 1.5px solid var(--gold);
  border-right: 1.5px solid var(--gold);
  pointer-events: none;
}

.gold-corner-accent2 {
  position: relative;
}
.gold-corner-accent2::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  width: 80px; height: 80px;
  border-top: 1.5px solid var(--gold);
  Border-left: 1.5px solid var(--gold);
  pointer-events: none;
}

/* ---- CITATION FONDATEUR ---- */
.founder-quote {
  font-family: var(--font-heading);
  font-size: 17.5px;
  font-style: italic;
  color: var(--gold);
  line-height: 1.6;
  padding-left: 24px;
  border-left: 2px solid rgba(197,165,90,0.3);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim-fade-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}
.anim-delay-1 { animation-delay: 0.2s; }
.anim-delay-2 { animation-delay: 0.4s; }
.anim-delay-3 { animation-delay: 0.6s; }
.anim-delay-4 { animation-delay: 0.8s; }
.anim-delay-5 { animation-delay: 1s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .events-gallery { flex-direction: column; height: auto; }
  .events-gallery .event-img { height: 200px; }
}
