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

:root {
  --bg: #080810;
  --bg-card: #0f0f1e;
  --bg-card-2: #151528;
  --violet: #8b5cf6;
  --violet-light: #a78bfa;
  --violet-dark: #6d28d9;
  --orange: #f97316;
  --orange-light: #fb923c;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(139, 92, 246, 0.2);
  --gradient: linear-gradient(135deg, #8b5cf6 0%, #f97316 100%);
  --shadow-violet: 0 8px 30px rgba(139, 92, 246, 0.3);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.1;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-anim {
  background: linear-gradient(135deg, #8b5cf6, #f97316, #a78bfa, #f97316);
  background-size: 300% 300%;
  animation: gradient-shift 5s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(139, 92, 246, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
  border-color: var(--violet);
  color: var(--violet-light);
  transform: translateY(-3px);
}

/* === SECTION UTILITIES === */
.section-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-light);
  margin-bottom: 0.75rem;
}

.section-header { text-align: center; margin-bottom: 4rem; }

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--orange), transparent);
  opacity: 0.4;
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.35s ease;
}

.nav.scrolled {
  background: rgba(8, 8, 16, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  transition: all 0.3s ease !important;
}
.nav-cta-outline {
  background: transparent;
  color: var(--text) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.3s ease !important;
  text-decoration: none;
}
.nav-cta-outline:hover {
  border-color: var(--violet);
  color: var(--violet-light) !important;
  transform: translateY(-2px) !important;
}

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5) !important;
  color: #fff !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 2px;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(8, 8, 16, 0.97);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.85rem 0;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--text); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 9rem 1.5rem 5rem;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.32) 0%, transparent 70%);
  top: -180px; right: -120px;
  animation: blob-float 9s ease-in-out infinite;
}
.blob-2 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.22) 0%, transparent 70%);
  bottom: -120px; left: -80px;
  animation: blob-float 11s ease-in-out infinite reverse;
}
.blob-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.18) 0%, transparent 70%);
  top: 40%; left: 25%;
  animation: blob-float 7s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.04); }
  66% { transform: translate(-15px, 20px) scale(0.97); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-tag {
  display: inline-block;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: var(--violet-light);
  padding: 0.5rem 1.6rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  font-family: 'Montserrat', sans-serif;
}

.hero-title {
  font-size: clamp(4rem, 13vw, 9rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  animation: scroll-bounce 2.5s ease-in-out infinite;
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 45px;
  background: linear-gradient(to bottom, var(--violet), transparent);
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* === BIOGRAPHIE === */
.bio {
  padding: 8rem 0;
  position: relative;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}

.bio-image-wrap {
  position: relative;
  flex-shrink: 0;
}

.bio-image-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 23px;
  background: var(--gradient);
  z-index: 0;
}

.bio-image-wrap::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: var(--gradient);
  opacity: 0.12;
  bottom: -18px;
  right: -18px;
  z-index: -1;
  filter: blur(12px);
}

.bio-image-wrap img {
  width: 100%;
  border-radius: 20px;
  display: block;
  position: relative;
  z-index: 1;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.bio-content .section-tag { display: block; }

.bio-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.4rem;
}

.bio-role {
  color: var(--orange-light);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bio-text {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.bio-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* === COURS === */
.cours {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(15, 15, 30, 0.6) 50%, var(--bg) 100%);
}

.cours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.cours-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.35s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cours-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.35s;
}

.cours-card:hover {
  transform: translateY(-10px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 25px 60px rgba(139, 92, 246, 0.18);
}
.cours-card:hover::before { opacity: 1; }

.cours-card--featured {
  background: linear-gradient(160deg, rgba(139,92,246,0.13) 0%, rgba(249,115,22,0.08) 100%);
  border-color: rgba(139, 92, 246, 0.4);
}
.cours-card--featured::before { opacity: 1; }

.cours-badge {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: var(--gradient);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.28rem 0.8rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
}

.cours-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.cours-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.cours-type {
  color: var(--violet-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
}

.cours-list {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}
.cours-list li {
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 0.55rem 0 0.55rem 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cours-list li:last-child { border-bottom: none; }
.cours-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.4;
}

.cours-sublabel {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-light);
  margin: 1rem 0 0.5rem;
}

.cours-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.cours-btn-sub {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.zones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1.75rem 2rem;
  background: var(--bg-card);
  border-radius: 15px;
  border: 1px solid var(--border);
}

.zones-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 0.5rem;
}

.zone-tag {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.22);
  color: var(--violet-light);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* === TÉMOIGNAGES === */
.temoignages { padding: 8rem 0; }

.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.temoignage-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.temoignage-card::before {
  content: '"';
  position: absolute;
  top: -0.5rem; right: 1.5rem;
  font-size: 8rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: var(--violet);
  opacity: 0.08;
  line-height: 1;
}
.temoignage-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.15);
}

.stars {
  color: var(--orange);
  font-size: 1rem;
  margin-bottom: 1.1rem;
  letter-spacing: 3px;
}

.temoignage-text {
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.85;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.temoignage-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.author-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  font-family: 'Montserrat', sans-serif;
  flex-shrink: 0;
  color: #fff;
}

.temoignage-author strong { display: block; font-size: 0.95rem; }
.temoignage-author span { color: var(--text-muted); font-size: 0.78rem; }

/* === INSCRIPTION === */
.inscription { padding: 8rem 0; }

.inscription-form {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.insc-group {
  margin-bottom: 1.25rem;
}

.insc-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}

.insc-group input,
.insc-group select,
.insc-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.insc-group input:focus,
.insc-group select:focus,
.insc-group textarea:focus { border-color: var(--violet); }

.insc-group input::placeholder,
.insc-group textarea::placeholder { color: var(--text-muted); }

.insc-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-right: 2.8rem;
}

.insc-group select option { background: var(--bg-card); }

.insc-group textarea { resize: vertical; min-height: 110px; }

.insc-submit { width: 100%; margin-top: 0.5rem; }
.insc-error { color: #fca5a5; font-size: 0.88rem; margin-bottom: 1rem; }
.insc-success { color: #86efac; font-weight: 600; font-size: 0.95rem; text-align: center; margin-top: 1rem; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .inscription-form { padding: 2rem 1.5rem; }
}

/* === RÉSERVATION === */
.reservation { padding: 8rem 0; }

.reservation-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.calendly-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* === FOOTER === */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--violet-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }
.footer-bottom a { color: var(--violet-light); text-decoration: none; }

/* === PHILOSOPHIE === */
.methode { padding: 8rem 0; }

.philo-intro {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.philo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.philo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2.25rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.philo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.philo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 20px 50px rgba(139,92,246,0.12);
}

.philo-card:hover::before { transform: scaleX(1); }

.philo-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 1.25rem;
}

.philo-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.philo-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* === FOOTER NEWSLETTER === */
.footer-newsletter {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, rgba(139,92,246,0.1) 0%, rgba(249,115,22,0.07) 100%);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 20px;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}
.footer-newsletter::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
}
.footer-nl-tag {
  display: inline-block;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.3);
  color: var(--orange-light);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  font-family: 'Montserrat', sans-serif;
}
.footer-nl-title {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.footer-nl-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}
.footer-nl-form {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.footer-nl-form input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}
.footer-nl-form input:focus { border-color: var(--violet); }
.footer-nl-form input::placeholder { color: var(--text-muted); }
.footer-nl-success { color: #86efac; font-weight: 600; font-size: 0.92rem; }
.footer-nl-error { color: #fca5a5; font-weight: 600; font-size: 0.88rem; }
.footer-nl-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.5rem; }

/* === ESPACE PERSONNEL === */
.ep-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.login-card h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.login-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.form-group { margin-bottom: 1.25rem; text-align: left; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}
.form-group input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus { border-color: var(--violet); }

.login-error {
  color: #f87171;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: none;
}
.login-error.show { display: block; }

.dashboard { display: none; }
.dashboard.show { display: block; }
.login-screen.hidden { display: none; }

.dashboard-nav {
  position: sticky;
  top: 0;
  background: rgba(8, 8, 16, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}
.dashboard-nav h2 { font-size: 1.2rem; }
.dashboard-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.dashboard-nav a:hover { color: var(--text); }

.dashboard-body { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }

.dashboard-welcome {
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(249,115,22,0.08));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.welcome-icon { font-size: 2.5rem; flex-shrink: 0; }
.dashboard-welcome h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.dashboard-welcome p { color: var(--text-muted); font-size: 0.92rem; }

.modules-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.3);
}

.module-thumb {
  height: 160px;
  background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(249,115,22,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}
.module-lock {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.module-info { padding: 1.25rem 1.5rem; }
.module-num {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--violet-light);
  margin-bottom: 0.3rem;
  font-family: 'Montserrat', sans-serif;
}
.module-info h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.module-status {
  display: inline-block;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: var(--orange-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .cours-grid { grid-template-columns: 1fr 1fr; }

  .temoignages-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bio-grid { gap: 3.5rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .bio-image-wrap::after { display: none; }

  .cours-grid { grid-template-columns: 1fr; }
  .temoignages-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }

  .philo-grid { grid-template-columns: 1fr; }
  .footer-newsletter { grid-template-columns: 1fr; gap: 1.75rem; padding: 2rem 1.5rem; }
  .footer-nl-form { flex-direction: column; }
  .footer-nl-form input { border-radius: 12px; }
  .footer-nl-form .btn { border-radius: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .bio-stats { gap: 1.5rem; }
  .zones { flex-direction: column; align-items: flex-start; }
  .zones-label { margin-bottom: 0.5rem; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 280px; text-align: center; }
  .login-card { padding: 2rem 1.5rem; }
  .bio-stats { flex-direction: column; gap: 1.25rem; }
  .dashboard-welcome { flex-direction: column; text-align: center; }
}
