/* RESET SIMPLE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1b1020;
  background-color: #050208;
  line-height: 1.6;
}

/* VARIABLES */
:root {
  --bg-dark: #050208;
  --bg-darker: #020005;
  --bg-light: #f6f2fb;
  --bg-card: #120919;

  --primary: #8b5cff;
  --primary-soft: #b193ff;
  --accent: #f5b963;
  --accent-soft: #ffe0b5;

  --text-main: #fdf5ff;
  --text-muted: #d7cbe6;
  --text-dark: #170c1e;
}

/* LAYOUT GLOBAL */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 2, 8, 0.92), rgba(5, 2, 8, 0.7), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent);
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* NAVIGATION */
.nav {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
  opacity: 0.9;
}

.nav-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 185, 99, 0.7);
  color: var(--accent);
}

/* NAV TOGGLE (MOBILE) */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 20px;
  height: 2px;
  background: var(--text-main);
  display: block;
  margin: 4px 0;
  border-radius: 999px;
}

/* HERO */
.hero {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at top left, #2a1240 0, #050208 45%, #050208 100%);
  color: var(--text-main);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--accent-soft);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.3vw, 2.9rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 0.98rem;
  max-width: 32rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: radial-gradient(circle at top, #41215f 0, #210e32 60%, #120919 100%);
  border-radius: 1.3rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  max-width: 320px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 185, 99, 0.7);
  color: var(--accent-soft);
  margin-bottom: 0.9rem;
}

.hero-card-title {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.hero-card-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* BOUTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #050208;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.btn.ghost {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn.ghost:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
}

/* SECTIONS */
.section {
  padding: 4rem 0;
  background: var(--bg-dark);
  color: var(--text-main);
}

.bg-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.bg-dark {
  background: radial-gradient(circle at top left, #2b1141 0, #050208 50%, #020005 100%);
  color: var(--text-main);
}

.section-header {
  text-align: left;
  max-width: 650px;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section-header.light p {
  color: rgba(255, 255, 255, 0.7);
}

/* GRIDS */
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

/* LISTES */
.list-check {
  list-style: none;
  margin-top: 0.5rem;
}

.list-check li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 0.8rem;
  color: var(--accent);
}

.list-check.light li::before {
  color: var(--accent-soft);
}

.list-dash {
  list-style: none;
}

.list-dash li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.list-dash li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* PILIERS */
.pillars {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-card);
  border-radius: 1.1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pillar-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.pillar-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* CARDS GÉNÉRIQUES */
.card {
  background: var(--bg-card);
  border-radius: 1.1rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bg-light .card {
  background: #ffffff;
  border: 1px solid rgba(18, 9, 25, 0.08);
}

.card-highlight {
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.card-note {
  font-size: 0.8rem;
  margin-top: 0.7rem;
  color: var(--text-muted);
}

.bg-light .card-note {
  color: #61536e;
}

/* TAGS */
.program-highlights {
  margin-top: 2rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.tag {
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(139, 92, 255, 0.11);
  color: var(--primary-soft);
  border: 1px solid rgba(139, 92, 255, 0.35);
}

/* SECTION SOLIDAIRE DARK */
.bg-dark h3,
.bg-dark h2 {
  color: #fdf5ff;
}

/* FAQ */
.faq {
  margin-top: 2.2rem;
}

.faq h3 {
  margin-bottom: 0.8rem;
}

details {
  background: rgba(18, 9, 25, 0.8);
  border-radius: 0.8rem;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bg-light details {
  background: #ffffff;
  border: 1px solid rgba(18, 9, 25, 0.08);
}

summary {
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
}

details p {
  margin-top: 0.4rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.bg-light details p {
  color: #5b4e6b;
}

/* CTA SECTION */
.section-cta {
  background: radial-gradient(circle at top, #3a1b57 0, #120918 45%, #050208 100%);
  color: var(--text-main);
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}

.cta-inner p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.cta-form {
  text-align: left;
  background: rgba(5, 2, 8, 0.8);
  border-radius: 1.2rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.9rem;
}

label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

input[type="email"] {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 5, 16, 0.9);
  color: var(--text-main);
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  outline: none;
}

input[type="email"]::placeholder {
  color: rgba(215, 203, 230, 0.65);
}

input[type="email"]:focus {
  border-color: var(--accent-soft);
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FOOTER */
.site-footer {
  padding: 1.5rem 0 2rem;
  background: var(--bg-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  text-align: center;
}

.site-footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.2rem 0;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0.6rem 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 110%;
    right: 0;
    flex-direction: column;
    background: rgba(5, 2, 8, 0.97);
    padding: 0.9rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    min-width: 210px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero {
    padding-top: 4rem;
  }
}
