/* ===== IMPORT FONT ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ===== VARIABLES CSS SCALE-IT ===== */

:root {
  /* Couleur primaire */
  --primary: #0c63ef;
  /* Bleu */

  /* Fonds */
  --bg-dark: #080d19;
  /* Slate-900 */
  --bg-card: #1e293b;
  /* Slate-800 */
  /* Slate-100 */
  --text-muted: #94a3b8;
  /* Slate-400 */

  /* Bordures */
  --border: #475569;
  /* Slate-600 */
}

/* ===== BASE ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: -500px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(12, 99, 239, 0.15) 0%, rgba(12, 99, 239, 0.08) 40%, rgba(8, 12, 25, 0.3) 60%, transparent 0%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1000px;
}

.fw-bold {
  font-weight: 600 !important;
}

/* ===== TYPOGRAPHIE ===== */

h1 {
  font-size: 2.5rem;
  /* 32px - Réduit */
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  /* 24px - Réduit */
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 0.875rem;
}

h3 {
  font-size: 1.5rem;
  /* 20px - Réduit */
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 0.75rem;
}

/* ===== RESPONSIVE TYPOGRAPHIE ===== */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    /* 24px sur mobile - Encore plus petit */
  }

  h2 {
    font-size: 1.5rem;
    /* 20px sur mobile */
  }

  h3 {
    font-size: 1.25rem;
    /* 18px sur mobile */
  }

  @media (max-width: 480px) {
    h1 {
      font-size: 1.75rem;
      /* 20px sur très petit écran */
    }

    h2 {
      font-size: 1.125rem;
      /* 16px sur très petit écran */
    }

    h3 {
      font-size: 1rem;
      /* 14px sur très petit écran */
    }
  }
}

p {}

/* ===== BOOTSTRAP OVERRIDES ===== */

.bg-light {
  background-color: var(--bg-card) !important;
}

.bg-white {
  background-color: var(--bg-dark) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-light {
  color: var(--text-light) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.border {
  border-color: var(--border) !important;
}

/* ===== COMPONENTS ===== */

.card {
  background-color: var(--bg-card);
  border-color: var(--border);
  color: var(--text-white);
}

.btn {
  border-radius: 10rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff !important;
}

.btn-primary:hover {
  background-color: #1d53c7;
  border-color: #1d53c7;
  color: #ffffff !important;
}

.form-control {
  background-color: var(--bg-card);
  border-color: var(--border);
  color: var(--text-white);
}

.form-control:focus {
  background-color: var(--bg-card);
  border-color: var(--primary);
  color: var(--text-white);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* ===== NAVIGATION ===== */

.navbar {
  background-color: var(--bg-card) !important;
  border-bottom: 1px solid var(--border);
}

.navbar-brand {
  color: var(--text-white) !important;
}

.nav-link {
  color: var(--text-light) !important;
}

.nav-link:hover {
  color: var(--primary) !important;
}

/* ===== UTILITAIRES PERSONNALISES ===== */

.text-sm {
  font-size: 0.75rem !important;
  /* 12px */
  line-height: 1.5;
}

.text-md {
  font-size: 1.125rem !important;
  /* 18px */
  line-height: 1.6;
}

.text-lg {
  font-size: 1.25rem !important;
  /* 20px */
  line-height: 1.5;
}

u {
  text-decoration: none;
  color: var(--primary);
}

.text-decoration-underline {
  text-decoration-color: var(--primary) !important;
  text-underline-offset: 3px !important;
  color: #fff !important;
}

/* ===== SECTIONS PERSONNALISEES ===== */

.hero-section {
  min-height: 100vh;
  padding: 2rem 0;
}

/* Badge d'urgence */

.badge-urgency {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50px;
}

/* Section titre */
.main-title {
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.main-title u {
  text-decoration-color: var(--primary);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.subtitle {
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--text-light);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

/* Section description */
.program-details {
  max-width: 700px;
  margin: 0 auto;
}

.day-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.day-label {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
  text-align: left;
}

.day-number {
  color: #fff;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.highlight-text {
  color: #fff;
  font-weight: 600;
  position: relative;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #2563eb);
  border-radius: 1px;
}

/* Section CTA */
.cta-button {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(12, 99, 239, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(12, 99, 239, 0.6);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.spots-left {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 0.25rem;
}

/* Section partenaires */
.partners-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.partners-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.logo-container {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.logo-container:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.partner-logo {
  max-width: 150px;
  height: auto;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

.logo-container:hover .partner-logo {
  filter: brightness(1.1);
}

.expert-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
  .hero-section {
    padding: 1rem 0;
  }

  .main-title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .day-item {
    padding: 1rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 1.75rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .day-item {
    padding: 0.75rem;
  }

  .cta-button {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  .partner-logo {
    max-width: 120px;
  }
}