/* ============================================================
   Startup Académie — Thème CLAIR (dérivé du thème d'origine)
   Fond blanc cassé légèrement teinté (lavande), mêmes couleurs
   de marque, mêmes effets. À charger APRÈS style.css.
   ============================================================ */

:root {
  --bg:        #f5f4fb;               /* blanc cassé, très légère teinte lavande */
  --bg-2:      #eceaf6;               /* variante pour sections / dégradés */
  --bg-card:   rgba(255,255,255,0.72);/* cartes "glass" claires */
  --border:    rgba(76,29,149,0.12);  /* bordure violette très douce */
  --text:      #1b1830;               /* indigo très sombre (pas noir pur) */
  --text-muted:#5c5872;               /* gris-violet */
}

body {
  background: var(--bg);
  color: var(--text);
}

/* Cartes vitrées : fond clair translucide + ombre douce */
.glass,
.certif-card,
.level-card,
.price-card,
.prof-card,
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(76,29,149,0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* Barre de navigation claire translucide */
.navbar {
  background: rgba(245,244,251,0.82);
  border-bottom: 1px solid var(--border);
}
.navbar.scrolled {
  background: rgba(245,244,251,0.95);
}
.nav-links a,
.nav-logo,
.hamburger span {
  color: var(--text);
}
.hamburger span {
  background: var(--text);
}
.mobile-menu {
  background: rgba(245,244,251,0.98);
}
/* Menu déroulant en clair */
.nav-links .dropdown {
  background: rgba(255,255,255,0.99);
  border: 1px solid var(--border);
  box-shadow: 0 20px 45px rgba(76,29,149,0.14);
}
.nav-links .dropdown a { color: var(--text); }
.nav-links .dropdown a:hover { background: rgba(124,58,237,0.08); }

/* Titres sombres, sous-titres atténués */
.hero-title,
.section-title,
h1, h2, h3 {
  color: var(--text);
}
.hero-subtitle,
.section-subtitle,
p {
  color: var(--text-muted);
}

/* Texte en dégradé : stops plus profonds pour le contraste sur fond clair */
.gradient-text {
  background: linear-gradient(135deg, #7c3aed, #3b82f6, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Bouton contour : texte sombre + bordure violette visible */
.btn-outline {
  color: var(--text);
  border: 1px solid rgba(76,29,149,0.25);
  background: transparent;
}

/* Petites étiquettes de section en violet */
.section-label {
  color: #7c3aed;
}

/* ============================================================
   Formulaire "Être contacté" (→ Telegram)
   ============================================================ */
.sa-form {
  max-width: 640px;
  margin: 2.5rem auto 0;
  padding: 2rem;
  text-align: left;
}
.sa-form .hp {                 /* honeypot anti-spam, invisible */
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}
.sa-form label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}
.sa-form .form-full { grid-column: 1 / -1; }
.sa-form input,
.sa-form select,
.sa-form textarea {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: .6rem;
  padding: .7rem .85rem;
  width: 100%;
  display: block;
  margin-top: .4rem;
  transition: border-color .2s, box-shadow .2s;
}
.sa-form textarea { resize: vertical; }
.sa-form input:focus,
.sa-form select:focus,
.sa-form textarea:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}
.sa-form .req { color: #ec4899; margin-left: 2px; }
.sa-form button[type="submit"] {
  margin-top: 1.25rem;
  width: 100%;
  justify-content: center;
}
.form-status {
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
  min-height: 1.2em;
}
.form-status.ok  { color: #10b981; }
.form-status.err { color: #ef4444; }
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .sa-form { padding: 1.5rem; }
}

/* ============================================================
   Images de section (illustrations)
   ============================================================ */
.section-image {
  max-width: 960px;
  margin: 0 auto 2.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(76,29,149,0.15);
  border: 1px solid var(--border);
}
.section-image img {
  width: 100%;
  height: auto;
  display: block;
}
