:root {
  --bg: #020409;
  --bg-elevated: rgba(14, 18, 24, 0.9);
  --panel: rgba(16, 20, 27, 0.86);
  --panel-strong: #0b1017;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f7fb;
  --muted: #a4aebe;
  --soft: #d7dde8;
  --accent: #ffffff;
  --accent-dark: #09111c;
  --glow: #2f80ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(47, 128, 255, 0.18), transparent 20%),
    radial-gradient(circle at 80% 8%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #04070c 0%, #020409 55%, #060b13 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 95%);
}

.background-glow {
  position: fixed;
  width: 38vw;
  height: 38vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  pointer-events: none;
}

.background-glow-left {
  top: 6vh;
  left: -10vw;
  background: #2f80ff;
}

.background-glow-right {
  top: 20vh;
  right: -12vw;
  background: #ffffff;
}

.page-shell {
  position: relative;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 20px auto 40px;
}

.snap-sections {
  display: grid;
  gap: 24px;
}

.page-main {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.section-note {
  margin-top: 20px;
}

.site-header,
.trust-strip,
.section-grid,
.split-section,
.founder-section,
.contact-section,
.site-footer {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand-text {
  display: grid;
  gap: 3px;
}

.brand-text strong {
  font-size: 0.96rem;
}

.brand-text small,
.site-nav a,
.hero-lead,
.section-intro p,
.info-card p,
.sector-card p,
.split-copy p,
.contact-copy p,
.contact-list span,
.contact-list p,
.form-note,
.site-footer p,
.founder-panel p,
.founder-copy p {
  color: var(--muted);
}

.site-nav {
  display: inline-flex;
  gap: 22px;
}

.site-nav a,
.header-cta,
.button,
.inline-link,
.contact-list a {
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.site-nav a,
.header-cta,
.inline-link,
.contact-list a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.inline-link:hover,
.inline-link:focus-visible,
.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--soft);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
}

.header-cta {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.hero,
.split-section,
.founder-section,
.contact-section {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero {
  padding: 96px 0 40px;
}

.page-hero,
.content-panel {
  padding: 56px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.page-hero h1 {
  max-width: 14ch;
}

.page-lead {
  text-align: left;
  margin-inline: 0;
}

.panel {
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.025));
}

.panel-hero::after,
.panel-split::after,
.panel-contact::after {
  content: "";
  position: absolute;
  inset: auto -10% -28% auto;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 128, 255, 0.16), transparent 70%);
  pointer-events: none;
  filter: blur(8px);
}

.eyebrow {
  margin: 0 0 14px;
  color: #d9e6ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.section-intro h2,
.split-copy h2,
.founder-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.hero h1 {
  max-width: 11.5ch;
  margin-inline: auto;
  text-align: center;
}

.hero-lead {
  max-width: 780px;
  margin: 24px auto 0;
  font-size: 1.08rem;
  line-height: 1.75;
  text-align: center;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 0;
}

.button {
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(180deg, #ffffff, #dce5f4);
  color: #05080d;
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 860px;
  padding: 0;
  margin: 34px auto 0;
  list-style: none;
}

.hero-metrics li {
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.hero-metrics strong,
.stat-card strong,
.founder-badge {
  display: block;
  color: var(--text);
}

.hero-metrics strong {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-stage {
  margin-top: 34px;
}

.hero-device {
  position: relative;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 18px;
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    #05080e;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 50px 120px rgba(0, 0, 0, 0.45);
}

.device-topline {
  width: 120px;
  height: 8px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.device-screen {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 48px;
  border-radius: 26px;
  background:
    radial-gradient(circle at center, rgba(47, 128, 255, 0.22), transparent 24%),
    linear-gradient(180deg, #0a1018 0%, #060a10 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.screen-label {
  color: #c9d8f5;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.screen-title {
  max-width: 11ch;
  margin-top: 18px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 620px);
  margin-top: 32px;
}

.screen-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.screen-card span,
.card-tag,
.stat-label {
  display: block;
  margin-bottom: 8px;
  color: #c8d7f5;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.screen-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
}

.drone-orbit {
  position: absolute;
  right: 10%;
  top: 50%;
  width: 300px;
  height: 300px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 66%);
}

.drone-body,
.drone-arm,
.rotor {
  position: absolute;
}

.drone-body {
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06));
  box-shadow: 0 0 40px rgba(47, 128, 255, 0.2);
}

.drone-arm {
  top: 50%;
  left: 50%;
  width: 190px;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
  transform-origin: center;
}

.arm-1 {
  transform: translate(-50%, -50%) rotate(0deg);
}

.arm-2 {
  transform: translate(-50%, -50%) rotate(90deg);
}

.rotor {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.rotor-1 {
  top: 28px;
  left: 123px;
}

.rotor-2 {
  top: 123px;
  right: 28px;
}

.rotor-3 {
  bottom: 28px;
  left: 123px;
}

.rotor-4 {
  top: 123px;
  left: 28px;
}

.trust-strip,
.section-grid,
.split-section,
.founder-section,
.contact-section,
.site-footer,
.page-hero,
.content-panel {
  margin-top: 24px;
  border-radius: var(--radius-xl);
}

.panel-hero,
.panel-grid,
.panel-split,
.panel-founder,
.panel-contact,
.panel-trust {
  min-height: min(88vh, 920px);
  align-content: center;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
}

.trust-strip article,
.info-card,
.sector-card,
.stat-card,
.contact-form,
.founder-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.trust-strip article {
  padding: 20px;
  backdrop-filter: blur(18px);
}

.trust-strip strong,
.info-card h3,
.sector-card h3 {
  display: block;
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.trust-strip p,
.info-card p,
.sector-card p,
.split-copy p,
.contact-list p,
.founder-copy p {
  margin: 0;
  line-height: 1.75;
}

.section-grid,
.split-section,
.founder-section,
.contact-section {
  padding: 34px;
}

.section-intro {
  max-width: 820px;
}

.section-intro.centered {
  margin: 0 auto;
  text-align: center;
}

.section-intro h2,
.split-copy h2,
.founder-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4.6vw, 4rem);
}

.section-intro p {
  margin: 16px auto 0;
  max-width: 62ch;
  line-height: 1.75;
}

.grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.cards-grid,
.sectors-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.sector-card,
.stat-card {
  padding: 24px;
  backdrop-filter: blur(18px);
}

.split-section {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.split-copy {
  max-width: 760px;
}

.split-copy p + p {
  margin-top: 16px;
}

.inline-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--text);
  font-weight: 700;
}

.certification-panel {
  display: grid;
  gap: 14px;
}

.founder-section {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.founder-panel {
  padding: 26px;
  backdrop-filter: blur(18px);
}

.founder-badge {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.founder-panel p {
  margin: 14px 0 0;
  line-height: 1.7;
}

.contact-section {
  grid-template-columns: minmax(0, 1fr) 420px;
}

.contact-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.contact-list li {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.contact-list a {
  color: var(--text);
  font-size: 1.06rem;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  backdrop-filter: blur(18px);
}

.price-grid,
.copy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.price-card,
.copy-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
}

.price-card h3,
.copy-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.price-card p,
.copy-card p,
.legal-copy p,
.legal-copy li,
.contact-notes p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.price-card p + p,
.copy-card p + p,
.contact-notes p + p {
  margin-top: 10px;
}

.price-amount {
  margin: 10px 0 12px;
  color: var(--text) !important;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.legal-panel {
  padding-top: 42px;
}

.legal-copy {
  max-width: 900px;
}

.legal-copy h2 {
  margin: 28px 0 12px;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

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

.contact-notes {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.page-contact {
  margin-top: 0;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(47, 128, 255, 0.28);
  border-color: rgba(47, 128, 255, 0.5);
}

.form-note {
  margin: 0;
  line-height: 1.6;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 22px 24px;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(38px) scale(0.985);
  transition: opacity 800ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (min-width: 981px) {
  html,
  body {
    scroll-snap-type: y proximity;
  }

  .panel {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .panel-hero {
    min-height: 94vh;
  }

  .panel-trust,
  .panel-grid,
  .panel-split,
  .panel-founder,
  .panel-contact {
    min-height: 86vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  html,
  body {
    scroll-snap-type: none;
  }

  .site-nav a,
  .header-cta,
  .button,
  .inline-link,
  .contact-list a {
    transition: none;
  }
}

@media (max-width: 1080px) {
  .site-header,
  .trust-strip,
  .cards-grid,
  .sectors-grid,
  .price-grid,
  .copy-grid,
  .split-section,
  .founder-section,
  .contact-section,
  .hero-metrics,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    border-radius: 26px;
  }

  .site-nav {
    display: none;
  }

  .hero h1,
  .hero-lead {
    text-align: left;
    margin-inline: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-metrics {
    max-width: none;
    margin-inline: 0;
  }

  .device-screen {
    min-height: 660px;
  }

  .drone-orbit {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin: 40px auto 0;
  }

  .panel-hero,
  .panel-grid,
  .panel-split,
  .panel-founder,
  .panel-contact,
  .panel-trust {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 18px), var(--max-width));
    margin-top: 10px;
  }

  .site-header,
  .trust-strip,
  .section-grid,
  .split-section,
  .founder-section,
  .contact-section,
  .site-footer,
  .page-hero,
  .content-panel {
    padding: 18px;
  }

  .brand-text small,
  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 72px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .page-lead {
    text-align: left;
  }

  .device-screen {
    min-height: auto;
    padding: 24px;
  }

  .screen-title {
    max-width: 12ch;
  }

  .drone-orbit {
    width: 220px;
    height: 220px;
  }

  .drone-arm {
    width: 146px;
  }

  .rotor {
    width: 44px;
    height: 44px;
  }

  .rotor-1 {
    top: 20px;
    left: 88px;
  }

  .rotor-2 {
    top: 88px;
    right: 20px;
  }

  .rotor-3 {
    bottom: 20px;
    left: 88px;
  }

  .rotor-4 {
    top: 88px;
    left: 20px;
  }
}

/* Correction centrage global des pages de cours - niveaux 1, 2 et 3 */
.course-shell,
.course-layout,
.learning-shell,
.learner-shell {
  width: 100%;
}

.course-main,
.lesson-main,
.training-main,
.learner-main {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.course-content,
.lesson-content,
.training-content,
.learner-content,
.lesson-card,
.module-card,
.course-card {
  width: min(100%, 980px);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .course-main,
  .lesson-main,
  .training-main,
  .learner-main {
    padding-left: 40px;
    padding-right: 40px;
  }
}