:root {
  --bg: #070a0f;
  --bg-soft: #0b1118;
  --surface: #101820;
  --surface-2: #142131;
  --text: #f8fafc;
  --text-soft: #dce5ea;
  --muted: #9aa8b2;
  --muted-2: #71808c;
  --teal: #5eead4;
  --teal-strong: #14b8a6;
  --gold: #f2c94c;
  --border: rgba(220, 229, 234, 0.1);
  --border-strong: rgba(94, 234, 212, 0.28);
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --nav-height: 76px;
  --section-gap: 104px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-width: 320px;
  font-family: var(--font);
  color: var(--text-soft);
  background:
    linear-gradient(180deg, rgba(11, 17, 24, 0.5), rgba(7, 10, 15, 0.94)),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--teal), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section {
  padding: var(--section-gap) 0;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-tag,
.hero-badge,
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 14px;
  border: 1px solid rgba(94, 234, 212, 0.18);
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.08);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  color: var(--text);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.section-desc {
  max-width: 580px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.btn--primary {
  color: #07100f;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  box-shadow: 0 14px 34px rgba(20, 184, 166, 0.22);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(20, 184, 166, 0.28);
}

.btn--ghost {
  color: var(--text);
  background: rgba(248, 250, 252, 0.08);
  border-color: rgba(248, 250, 252, 0.16);
}

.btn--ghost:hover {
  transform: translateY(-1px);
  background: rgba(248, 250, 252, 0.12);
  border-color: rgba(248, 250, 252, 0.28);
}

.btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.btn--lg {
  min-height: 50px;
  padding: 0 24px;
  font-size: 15px;
}

.btn--xl {
  min-height: 56px;
  padding: 0 34px;
  font-size: 16px;
}

.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-height);
  padding: 0 24px;
  display: flex;
  align-items: center;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.navbar.scrolled {
  background: rgba(7, 10, 15, 0.88);
  border-bottom: 1px solid rgba(220, 229, 234, 0.08);
  backdrop-filter: blur(18px);
}

.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-img {
  width: auto;
  height: 34px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-text small {
  color: rgba(220, 229, 234, 0.68);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.nav-links a {
  display: block;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  color: rgba(220, 229, 234, 0.68);
  font-size: 14px;
  font-weight: 650;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

#nav-cta {
  margin-left: 6px;
  flex-shrink: 0;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.burger span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92vh;
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/hero-students.jpg");
  background-position: center 30%;
  background-size: cover;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 10, 15, 0.92) 0%, rgba(7, 10, 15, 0.64) 48%, rgba(7, 10, 15, 0.22) 100%),
    linear-gradient(180deg, rgba(7, 10, 15, 0.08) 0%, rgba(7, 10, 15, 0.88) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  min-height: calc(92vh - var(--nav-height));
  margin: 0 auto;
  padding: 96px 32px 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(242, 201, 76, 0.12);
}

.hero-title {
  max-width: 820px;
  margin-bottom: 24px;
  color: var(--text);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-sub {
  max-width: 650px;
  margin-bottom: 36px;
  color: rgba(220, 229, 234, 0.84);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(248, 250, 252, 0.07);
  color: rgba(220, 229, 234, 0.76);
  font-size: 13px;
  font-weight: 650;
}

.hero-wave,
.glow,
.hero-orb,
.platform-glow,
.cta-glow {
  display: none;
}

.methode,
.ateliers,
.themes,
.footer {
  background: var(--bg);
}

.plateforme,
.cta-section {
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.86), rgba(7, 10, 15, 0.94)),
    var(--bg-soft);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(220, 229, 234, 0.08);
}

.step-card {
  position: relative;
  padding: 34px 26px;
  background: rgba(13, 20, 28, 0.92);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.step-num {
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.step-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(94, 234, 212, 0.18);
  border-radius: 12px;
  background: rgba(94, 234, 212, 0.08);
  color: var(--teal);
}

.step-icon--violet {
  border-color: rgba(242, 201, 76, 0.22);
  background: rgba(242, 201, 76, 0.08);
  color: var(--gold);
}

.step-name {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.step-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.step-arrow {
  display: none;
}

.ateliers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.atelier-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(13, 20, 28, 0.82);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.atelier-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.atelier-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.atelier-img-wrap img {
  width: 100%;
  height: 100%;
  transition: transform 320ms ease;
}

.atelier-card:hover .atelier-img-wrap img {
  transform: scale(1.025);
}

.atelier-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 15, 0.02), rgba(7, 10, 15, 0.58));
}

.atelier-body {
  flex: 1;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.atelier-tag {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.atelier-body h3 {
  color: var(--text);
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.atelier-body p {
  flex: 1;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.atelier-link {
  margin-top: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.atelier-link:hover {
  color: var(--text);
}

.plateforme-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.plateforme-desc {
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.plateforme-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 34px;
}

.plateforme-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-soft);
  font-size: 15px;
}

.feature-dot {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-dot--blue {
  background: var(--teal);
}

.feature-dot--violet {
  background: var(--gold);
}

.plateforme-visual {
  position: relative;
}

.platform-mockup {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(13, 20, 28, 0.92);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 10, 15, 0.7);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot--red {
  background: #ef4444;
}

.dot--yellow {
  background: #f59e0b;
}

.dot--green {
  background: #22c55e;
}

.mockup-title {
  margin-left: 8px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 700;
}

.platform-mockup img {
  width: 100%;
  height: auto;
}

.themes {
  padding-bottom: 72px;
}

.themes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.theme-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(13, 20, 28, 0.78);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 750;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.theme-pill:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: rgba(94, 234, 212, 0.08);
}

.theme-icon {
  font-size: 18px;
}

.cta-section {
  padding-bottom: var(--section-gap);
}

.cta-inner {
  position: relative;
  overflow: hidden;
  padding: 72px 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(94, 234, 212, 0.08), rgba(242, 201, 76, 0.06)),
    rgba(13, 20, 28, 0.9);
  text-align: center;
}

.cta-title {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  color: var(--text);
  font-size: clamp(30px, 4.5vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.cta-desc {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.cta-actions,
.cta-reassurance {
  position: relative;
  z-index: 1;
}

.cta-actions {
  margin-bottom: 22px;
}

.cta-reassurance {
  color: var(--muted-2);
  font-size: 13px;
}

.footer {
  padding: 64px 0 32px;
  border-top: 1px solid rgba(220, 229, 234, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 44px;
}

.footer-logo {
  width: auto;
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 280px;
  color: var(--muted);
  font-size: 14px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.footer-col strong {
  display: block;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--muted);
  font-size: 14px;
  transition: color 180ms ease;
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(220, 229, 234, 0.06);
  color: var(--muted-2);
  font-size: 13px;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

[data-animate="fade-left"] {
  transform: translateX(22px);
}

[data-animate="fade-right"] {
  transform: translateX(-22px);
}

[data-animate].visible {
  opacity: 1;
  transform: translate(0);
}

[data-delay="100"] {
  transition-delay: 80ms;
}

[data-delay="200"] {
  transition-delay: 140ms;
}

[data-delay="300"] {
  transition-delay: 200ms;
}

.legal-page {
  padding-top: var(--nav-height);
  background: var(--bg);
}

.legal-hero {
  min-height: calc(100vh - var(--nav-height));
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(13, 20, 28, 0.9);
}

.legal-content h2 {
  margin: 32px 0 12px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 10px 0;
  color: var(--muted);
}

.legal-content a {
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 1024px) {
  :root {
    --section-gap: 80px;
  }

  .nav-links,
  #nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav-links.open {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 10, 15, 0.98);
    backdrop-filter: blur(18px);
  }

  .nav-links.open a {
    padding: 14px 16px;
    color: var(--text-soft);
    font-size: 16px;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 88px;
  }

  .steps-grid,
  .ateliers-grid,
  .plateforme-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    max-width: 680px;
    margin: 0 auto;
  }

  .plateforme-inner {
    gap: 42px;
  }

  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 68px;
    --section-gap: 64px;
  }

  .container,
  .hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .navbar {
    padding: 0 16px;
  }

  .nav-links.open {
    padding: 18px 16px 22px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 88px;
    padding-bottom: 74px;
  }

  .hero-title {
    font-size: clamp(36px, 12vw, 48px);
  }

  .hero-sub {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .trust-item {
    width: 100%;
  }

  .section-header {
    margin-bottom: 34px;
    text-align: left;
  }

  .section-desc {
    margin-left: 0;
    margin-right: 0;
  }

  .step-card,
  .atelier-body {
    padding: 24px 20px;
  }

  .atelier-img-wrap {
    height: 190px;
  }

  .themes-grid {
    justify-content: flex-start;
  }

  .cta-inner {
    padding: 42px 20px;
    text-align: left;
  }

  .cta-desc {
    margin-left: 0;
    margin-right: 0;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .legal-content {
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
