/* =============================================
   GOFORMIA — Feuille de style globale
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* VARIABLES */
:root {
  --purple: #7349F0;
  --purple-light: #9D7AF3;
  --purple-dark: #5A34CC;
  --purple-glow: rgba(115,73,240,0.25);
  --bg: #07070E;
  --bg2: #0F0F1A;
  --card: #111120;
  --card2: #17172A;
  --border: rgba(115,73,240,0.18);
  --border-light: rgba(255,255,255,0.06);
  --text: #F0EDFF;
  --muted: #8884A0;
  --muted2: #5C5A72;
  --green: #22C55E;
  --gold: #F59E0B;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* TYPOGRAPHY */
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.8px; line-height: 1.2; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { color: var(--muted); line-height: 1.75; }

.highlight {
  background: linear-gradient(135deg, #9D7AF3, #7349F0, #5A34CC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.highlight-gold {
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* LAYOUT */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-light);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--purple-light);
  border-radius: 2px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.22s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 4px 24px var(--purple-glow);
}
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(115,73,240,0.4); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--border); }
.btn-outline {
  background: transparent;
  color: var(--purple-light);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: rgba(115,73,240,0.1); }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(7,7,14,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
  color: var(--text);
  flex-shrink: 0;
}
.nav-logo svg { width: 36px; height: 36px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  transition: all 0.18s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-links .dropdown { position: relative; }
.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 240px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.nav-links .dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 0.65rem 1rem !important;
  border-radius: 8px;
  font-size: 0.88rem !important;
}
.dropdown-menu a span { display: block; font-size: 0.75rem; color: var(--muted2); font-weight: 400; margin-top: 0.1rem; }
.nav-cta { flex-shrink: 0; }
.hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--text); padding: 0.4rem; }

/* HERO */
.hero {
  padding: 7rem 0 6rem;
  background: radial-gradient(ellipse 90% 60% at 50% -5%, rgba(115,73,240,0.2) 0%, transparent 65%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237349F0' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(115,73,240,0.12);
  border: 1px solid rgba(115,73,240,0.3);
  color: var(--purple-light);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple-light); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(0.8)} }
.hero h1 { margin-bottom: 1.5rem; }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 620px; margin-bottom: 2.5rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust { margin-top: 3.5rem; }
.hero-trust p { font-size: 0.78rem; color: var(--muted2); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.2rem; }
.trust-logos { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.trust-logo {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: border-color 0.2s, color 0.2s;
}
.trust-logo:hover { border-color: var(--border); color: var(--text); }

/* STATS BAND */
.stats-band {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-num { font-size: 2.4rem; font-weight: 900; color: var(--purple-light); letter-spacing: -1px; line-height: 1; margin-bottom: 0.4rem; }
.stat-label { font-size: 0.8rem; color: var(--muted); font-weight: 500; }

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.22s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(115,73,240,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.card:hover { border-color: rgba(115,73,240,0.35); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(115,73,240,0.1); }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(115,73,240,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.card h3 { margin-bottom: 0.6rem; color: var(--text); }
.card p { font-size: 0.9rem; }

/* FORMATION CARDS (on home) */
.formation-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.formation-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.2rem;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.formation-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.25s;
}
.formation-card:hover { border-color: rgba(115,73,240,0.4); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(115,73,240,0.12); }
.formation-card:hover::after { opacity: 1; }
.formation-level {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1.2rem;
}
.level-1 { background: rgba(34,197,94,0.15); color: #22C55E; }
.level-2 { background: rgba(115,73,240,0.15); color: var(--purple-light); }
.level-3 { background: rgba(245,158,11,0.15); color: var(--gold); }
.formation-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.7rem; color: var(--text); }
.formation-card p { font-size: 0.88rem; margin-bottom: 1.5rem; flex: 1; }
.formation-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-light);
}
.formation-card-footer .duration { font-size: 0.82rem; color: var(--muted2); }
.formation-card-footer .arrow { color: var(--purple-light); font-size: 1.1rem; }

/* STEPS / PROGRAMME */
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 3rem; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem; padding-bottom: 2.5rem; }
.step:last-child { padding-bottom: 0; }
.step-num-col { display: flex; flex-direction: column; align-items: center; }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 16px var(--purple-glow);
}
.step-line { flex: 1; width: 1px; background: var(--border); margin-top: 0.5rem; }
.step:last-child .step-line { display: none; }
.step-content { padding-top: 0.65rem; }
.step-time { font-size: 0.72rem; color: var(--purple-light); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.35rem; }
.step-content h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text); }
.step-content p { font-size: 0.88rem; }
.step-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.8rem; }
.step-tag { font-size: 0.72rem; background: rgba(115,73,240,0.1); border: 1px solid var(--border); color: var(--purple-light); padding: 0.2rem 0.6rem; border-radius: 100px; font-weight: 600; }

/* CHECK LIST */
.check-list { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.5rem; }
.check-item { display: flex; align-items: flex-start; gap: 0.8rem; font-size: 0.92rem; color: var(--text); }
.check-item .check { color: var(--green); font-size: 1rem; margin-top: 0.1rem; flex-shrink: 0; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: center; }
.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}
.avatar-block { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900; color: white; flex-shrink: 0;
}
.avatar-info .name { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.15rem; }
.avatar-info .role { font-size: 0.8rem; color: var(--purple-light); font-weight: 600; }
.about-card p { font-size: 0.9rem; margin-bottom: 1rem; }
.about-quote { border-left: 3px solid var(--purple); padding-left: 1.2rem; margin-top: 1.5rem; font-style: italic; color: var(--text); font-size: 0.92rem; line-height: 1.6; }
.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { margin-bottom: 1rem; font-size: 0.95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tag { background: rgba(115,73,240,0.1); border: 1px solid var(--border); color: var(--purple-light); font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.8rem; border-radius: 100px; }

/* FOR WHO */
.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; margin-top: 2.5rem; }
.audience-item {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.4rem;
  display: flex;
  gap: 1rem;
  transition: border-color 0.2s;
}
.audience-item:hover { border-color: var(--border); }
.audience-item .icon { font-size: 1.4rem; flex-shrink: 0; }
.audience-item strong { display: block; font-size: 0.9rem; color: var(--text); margin-bottom: 0.25rem; }
.audience-item span { font-size: 0.82rem; color: var(--muted); }

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 5rem 0 4rem;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(115,73,240,0.15) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}
.page-hero .level-badge { margin-bottom: 1.5rem; }
.page-hero h1 { margin-bottom: 1.2rem; }
.page-hero p { font-size: 1.1rem; max-width: 620px; margin-bottom: 2rem; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.meta-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.meta-item strong { color: var(--text); font-weight: 600; }

/* PRICING / CTA BOX */
.cta-box {
  background: linear-gradient(135deg, rgba(115,73,240,0.15), rgba(115,73,240,0.05));
  border: 1px solid rgba(115,73,240,0.3);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
}
.cta-box h2 { margin-bottom: 1rem; }
.cta-box p { max-width: 500px; margin: 0 auto 2rem; font-size: 1rem; }

/* TESTIMONIAL */
.testimonial-block {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 1.5rem;
}
.testimonial-block p { font-size: 1rem; font-style: italic; color: var(--text); margin-bottom: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; color: var(--purple-light);
}
.testimonial-author .info strong { display: block; font-size: 0.88rem; color: var(--text); }
.testimonial-author .info span { font-size: 0.78rem; color: var(--muted); }

/* TOOLS */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-top: 2rem; }
.tool-item {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
}
.tool-item .tool-icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.tool-item strong { display: block; font-size: 0.88rem; color: var(--text); margin-bottom: 0.25rem; }
.tool-item span { font-size: 0.78rem; color: var(--muted); }

/* BOTTOM CTA SECTION */
.section-cta {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
  text-align: center;
}
.section-cta h2 { margin-bottom: 1rem; }
.section-cta p { max-width: 560px; margin: 0 auto 2.5rem; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-item .c-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(115,73,240,0.15); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.82rem; color: var(--muted2); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.15rem; }
.contact-item a, .contact-item span { font-size: 0.95rem; color: var(--text); font-weight: 500; }
.contact-item a:hover { color: var(--purple-light); }
.contact-form-box { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; }
.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--muted); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--purple); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--card2); }

/* FOOTER */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border-light);
  padding: 3rem 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; color: var(--muted2); line-height: 1.7; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted2); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--muted); padding: 0.25rem 0; transition: color 0.18s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; border-top: 1px solid var(--border-light); font-size: 0.82rem; color: var(--muted2); gap: 1rem; flex-wrap: wrap; }
.footer-bottom a { color: var(--muted); transition: color 0.18s; }
.footer-bottom a:hover { color: var(--text); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  section { padding: 3.5rem 0; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero { padding: 5rem 0 4rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 44px 1fr; gap: 1rem; }
  .step-num { width: 40px; height: 40px; font-size: 0.85rem; }
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
}
.mobile-nav.open { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav a { padding: 0.6rem 0.8rem; border-radius: 8px; font-size: 0.9rem; color: var(--muted); font-weight: 500; transition: all 0.18s; }
.mobile-nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

/* UTILITIES */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.flex-gap { display: flex; gap: 1rem; flex-wrap: wrap; }
.divider { height: 1px; background: var(--border-light); margin: 4rem 0; }

/* SEO HIDDEN (accessible) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
