/* EduLeap — « Le Tremplin » — 16 juillet 2026 */
:root {
  --indigo: #10132A;
  --slate: #1A2140;
  --mist: #EAECF5;
  --emerald: #2FD48A;
  --apricot: #FF9E64;
  --grey: #7F8598;
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --max: 1120px;
  --radius: 4px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--indigo);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { padding-left: 1.25rem; }
p { margin: 0 0 1rem; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 600; }

.surface-indigo { background: var(--indigo); color: var(--mist); }
.surface-mist { background: var(--mist); color: var(--indigo); }
.surface-slate { background: var(--slate); color: var(--mist); }
.surface-emerald { background: var(--emerald); color: var(--indigo); }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 0.75rem;
}

.accent-apricot { color: var(--apricot); }
.muted { color: var(--grey); }
.surface-indigo .muted,
.surface-slate .muted { color: rgba(234, 236, 245, 0.65); }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
.wrap-wide {
  width: min(100% - 2.5rem, 1280px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  background: transparent;
  color: var(--mist);
}
.site-header.is-sticky {
  background: var(--mist);
  color: var(--indigo);
  box-shadow: 0 1px 0 rgba(16, 19, 42, 0.08);
}
.site-header.is-sticky .nav-toggle span { background: var(--indigo); }

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  opacity: 0.9;
}
.nav a:hover { opacity: 1; text-decoration: underline; }
.nav-cta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 1rem;
  border: none;
  border-radius: var(--radius);
  text-decoration: none !important;
  display: inline-block;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--mist);
  margin: 5px 0;
  transition: background 0.2s;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 1.5rem;
    background: var(--mist);
    color: var(--indigo);
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 8px 24px rgba(16, 19, 42, 0.12);
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(16, 19, 42, 0.08);
  }
  .nav-cta { margin-top: 0.75rem; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  text-decoration: none !important;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--emerald);
  color: var(--indigo);
  border-color: var(--emerald);
}
.btn-secondary {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Hero LE SAUT */
.hero-saut {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 2.5rem;
  background-color: var(--indigo);
  background-image:
    linear-gradient(105deg, rgba(16, 19, 42, 0.92) 0%, rgba(16, 19, 42, 0.75) 45%, rgba(16, 19, 42, 0.35) 100%),
    url("/images/eduleap-01-hero-learning-studio.jpg");
  background-size: cover;
  background-position: center;
  color: var(--mist);
  overflow: hidden;
}
@media (max-width: 768px) {
  .hero-saut { min-height: 82vh; }
}
.hero-top {
  position: absolute;
  top: calc(var(--header-h) + 1rem);
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234, 236, 245, 0.75);
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
@media (max-width: 600px) {
  .hero-top { flex-direction: column; gap: 0.35rem; }
}
.hero-content { position: relative; z-index: 1; max-width: 38rem; }
.hero-content h1 { margin-bottom: 1.25rem; }
.hero-trust {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(234, 236, 245, 0.2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(234, 236, 245, 0.55);
}

/* Leap-arc motif */
.leap-arc {
  display: inline-block;
  vertical-align: middle;
}
.leap-arc svg { display: block; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-sm { padding: 3rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head p:last-child { margin-bottom: 0; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  .grid-2.split-media { grid-template-columns: 1fr; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-6 { grid-template-columns: 1fr 1fr; }
}

.metric {
  padding: 1.25rem 0;
  border-top: 1px solid currentColor;
  opacity: 0.95;
}
.metric strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}
.metric span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.stage {
  padding: 1.5rem 0;
  border-top: 2px solid currentColor;
}
.stage .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--emerald);
  margin-bottom: 0.5rem;
}
.surface-mist .stage .num { color: var(--indigo); opacity: 0.5; }

.capability {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(16, 19, 42, 0.12);
}
.surface-indigo .capability,
.surface-slate .capability {
  border-top-color: rgba(234, 236, 245, 0.15);
}
.capability .el-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--emerald);
  margin-bottom: 0.4rem;
}

.photo-frame {
  overflow: hidden;
  border-radius: var(--radius);
}
.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.photo-frame.portrait img { aspect-ratio: 3 / 4; }
.photo-frame.wide img { aspect-ratio: 16 / 9; }
.photo-caption {
  font-size: 0.8125rem;
  margin-top: 0.5rem;
  opacity: 0.7;
}

.teaser {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(234, 236, 245, 0.2);
}
.faq-item {
  padding: 1.25rem 0;
  border-top: 1px solid currentColor;
  border-color: rgba(16, 19, 42, 0.12);
}
.surface-indigo .faq-item,
.surface-slate .faq-item {
  border-color: rgba(234, 236, 245, 0.15);
}
.faq-item h3 { margin-bottom: 0.5rem; }

.service-block {
  padding: 2rem 0;
  border-top: 1px solid rgba(16, 19, 42, 0.12);
}
.service-block .price {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--grey);
  margin-top: 0.75rem;
}

.case-study {
  padding: 2rem 0;
  border-top: 1px solid rgba(16, 19, 42, 0.12);
}
.case-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.5rem;
}

.disclaimer {
  font-size: 0.875rem;
  line-height: 1.55;
  opacity: 0.85;
  padding: 1.25rem 0;
  border-top: 1px solid currentColor;
  border-color: rgba(16, 19, 42, 0.1);
}
.surface-indigo .disclaimer,
.surface-slate .disclaimer {
  border-color: rgba(234, 236, 245, 0.15);
}

/* Forms */
.form-grid {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid rgba(16, 19, 42, 0.2);
  border-radius: var(--radius);
  background: #fff;
  color: var(--indigo);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--emerald);
  outline-offset: 1px;
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}
.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.875rem;
}
.consent input { margin-top: 0.25rem; flex-shrink: 0; }

.contact-card {
  font-size: 0.95rem;
}
.contact-card p { margin-bottom: 0.5rem; }

/* Page hero (inner) */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 3rem;
}
.page-hero h1 { max-width: 22ch; }

/* Footer */
.site-footer {
  padding: 3.5rem 0 2rem;
  font-size: 0.875rem;
  line-height: 1.6;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li { margin-bottom: 0.4rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(234, 236, 245, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  opacity: 0.75;
}
.footer-disclaimer {
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  opacity: 0.8;
  max-width: 56rem;
}

/* Legal prose */
.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul { margin-bottom: 1rem; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1.25rem 1.5rem;
  background: var(--slate);
  color: var(--mist);
  box-shadow: 0 -4px 24px rgba(16, 19, 42, 0.3);
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: end;
}
@media (max-width: 720px) {
  .cookie-inner { grid-template-columns: 1fr; }
}
.cookie-banner p {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-actions .btn { font-size: 0.8125rem; padding: 0.65rem 1rem; }
.cookie-panel {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(234, 236, 245, 0.2);
  font-size: 0.875rem;
}
.cookie-panel.is-open { display: block; }
.cookie-panel label {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

/* Reveal — only when .js is on <html> */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Merci / 404 */
.centered-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 3rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
