/* =====================================================================
   FAST LANGUAGE ACADEMY — style.css
   Palette : Bleu (#1A56DB) + Rouge (#E53E3E) — sans dégradé
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. RESET
--------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

/* ---------------------------------------------------------------------
   2. DESIGN TOKENS — Bleu + Rouge (sans dégradé)
--------------------------------------------------------------------- */
:root {
  /* Couleurs principales */
  --color-blue:        #1A56DB;
  --color-blue-dark:   #153E9E;
  --color-blue-light:  #4B7BE5;
  --color-red:         #E53E3E;
  --color-red-dark:    #C53030;
  --color-red-light:   #FC8181;
  
  /* Fond et texte */
  --color-bg:          #FFFFFF;
  --color-ink:         #1A202C;
  --color-ink-soft:    #4A5568;
  --color-white:       #FFFFFF;
  --color-surface:     #F7FAFC;
  --color-line:        rgba(26,32,44,0.08);
  --color-shadow:      rgba(26,86,219,0.20);

  /* Nuances par langue */
  --lang-en: #1A56DB;
  --lang-fr: #2B6BED;
  --lang-de: #153E9E;
  --lang-zh: #E53E3E;

  /* Typographie */
  --font-display: "Creato Display", "Manrope", "Segoe UI", sans-serif;
  --font-body:    "Base Neue", "Inter", "Segoe UI", sans-serif;

  /* Échelle */
  --fs-hero: clamp(2.6rem, 5.5vw, 4.6rem);
  --fs-h2:   clamp(2rem, 3.4vw, 2.9rem);
  --fs-h3:   1.25rem;
  --fs-body: 1.05rem;
  --fs-sm:   0.9rem;

  /* Rayons / ombres */
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 50px -20px var(--color-shadow);
  --shadow-lift: 0 30px 70px -25px var(--color-shadow);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --section-pad: clamp(4rem, 9vw, 8rem);
  --container-w: 1220px;
}

/* Respect des préférences de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
html.reduce-motion * {
  animation: none !important;
  transition: none !important;
}

/* ---------------------------------------------------------------------
   3. BASE
--------------------------------------------------------------------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--color-ink);
}
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.section { padding-block: var(--section-pad); position: relative; }
.section__head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head .section__text--center { margin-top: 0.75rem; }
.section__title { font-size: var(--fs-h2); margin-top: 0.6rem; }
.section__text { color: var(--color-ink-soft); margin-top: 1rem; max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow--blue { color: var(--color-blue); }
.eyebrow--red { color: var(--color-red); }
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
}
.eyebrow--blue::before { background: var(--color-blue); }
.eyebrow--red::before { background: var(--color-red); }
.text-blue { color: var(--color-blue); }
.text-red { color: var(--color-red); }
:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--color-red); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.glass {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--shadow-soft);
}

/* ---------------------------------------------------------------------
   4. LOADER
--------------------------------------------------------------------- */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--color-bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.25rem;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__mark {
  position: relative; width: 84px; height: 84px;
  display: flex; align-items: center; justify-content: center;
}
.loader__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid rgba(26,86,219,0.15);
  border-top-color: var(--color-blue);
  animation: spin 1s linear infinite;
}
.loader__ring::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  border: 3px solid rgba(229,62,62,0.12);
  border-bottom-color: var(--color-red);
  animation: spin 0.8s linear infinite reverse;
}
.loader__globe { font-size: 2rem; animation: pulseScale 1.6s ease-in-out infinite; }
.loader__text {
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.14em;
  font-size: 0.85rem; color: var(--color-blue);
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseScale { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }

/* ---------------------------------------------------------------------
   5. PROGRESS BAR + CURSOR
--------------------------------------------------------------------- */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--color-blue); z-index: 1000;
  transition: width 0.1s linear;
}
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 998;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor {
  width: 34px; height: 34px; border: 1.5px solid var(--color-blue);
  transition: transform 0.15s var(--ease), opacity 0.2s, width 0.2s, height 0.2s, background 0.2s, border-color 0.2s;
  opacity: 0;
}
.cursor-dot {
  width: 6px; height: 6px; background: var(--color-blue); opacity: 0;
  transition: opacity 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-dot { opacity: 1; }
}
.cursor.is-active {
  background: rgba(229,62,62,0.12);
  border-color: var(--color-red);
  transform: translate(-50%, -50%) scale(1.5);
}

/* ---------------------------------------------------------------------
   6. HEADER / NAV
--------------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding-block: 1.1rem;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.header.is-scrolled {
  padding-block: 0.65rem;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 30px -18px var(--color-shadow);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav__logo { display: flex; align-items: center; gap: 0.6rem; }
.nav__logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--color-blue);
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px -8px var(--color-shadow);
}
.nav__logo-text { font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em; }
.nav__logo-text strong { font-weight: 800; color: var(--color-blue); }
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  position: relative; font-size: 0.92rem; font-weight: 600; color: var(--color-ink);
  padding-bottom: 4px;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--color-red); transition: width 0.3s var(--ease);
}
.nav__link:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__burger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px;
}
.nav__burger span { width: 22px; height: 2px; background: var(--color-ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   7. BUTTONS
--------------------------------------------------------------------- */
/* ---------------------------------------------------------------------
   7. BUTTONS — Hovers en rouge
--------------------------------------------------------------------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; border: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, border-color 0.35s, color 0.35s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--sm { padding: 0.65rem 1.25rem; font-size: 0.85rem; }

/* Bouton principal — Bleu → Rouge au hover */
.btn--primary {
  background: var(--color-blue); color: #fff;
  box-shadow: 0 14px 30px -12px var(--color-shadow);
}
.btn--primary:hover {
  background: var(--color-red);
  transform: translateY(-3px);
  box-shadow: 0 20px 38px -14px rgba(229,62,62,0.6);
}

/* Bouton ghost — Bleu → Rouge au hover */
.btn--ghost {
  background: transparent; color: var(--color-blue);
  border: 1.5px solid rgba(26,86,219,0.35);
}
.btn--ghost:hover {
  background: rgba(229,62,62,0.10);
  border-color: var(--color-red);
  color: var(--color-red);
  transform: translateY(-3px);
}

/* Bouton outline — Bleu → Rouge au hover */
.btn--outline {
  background: transparent; color: var(--color-blue);
  border: 1.5px solid var(--color-line);
}
.btn--outline:hover {
  border-color: var(--color-red);
  background: rgba(229,62,62,0.08);
  color: var(--color-red);
  transform: translateY(-3px);
}

/* Bouton blanc — Bleu → Rouge au hover */
.btn--white {
  background: #fff; color: var(--color-blue);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.20);
}
.btn--white:hover {
  background: var(--color-red);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 20px 38px -14px rgba(229,62,62,0.5);
}

/* Bouton outline white — Transparent → Rouge au hover */
.btn--outline-white {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn--outline-white:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  transform: translateY(-3px);
}

/* Bouton rouge — Déjà rouge, devient plus foncé au hover */
.btn--red {
  background: var(--color-red); color: #fff;
  box-shadow: 0 14px 30px -12px rgba(229,62,62,0.40);
}
.btn--red:hover {
  background: var(--color-red-dark);
  transform: translateY(-3px);
  box-shadow: 0 20px 38px -14px rgba(229,62,62,0.6);
}

.btn__icon { transition: transform 0.3s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }

.btn .ripple {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.55);
  transform: scale(0); animation: rippleAnim 0.6s ease-out; pointer-events: none; z-index: -1;
}
@keyframes rippleAnim { to { transform: scale(3); opacity: 0; } }

/* ---------------------------------------------------------------------
   8. HERO
--------------------------------------------------------------------- */
.hero {
  position: relative; padding-top: clamp(7rem, 14vw, 10rem); padding-bottom: 5rem;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(26,86,219,0.05) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(229,62,62,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 60% 20%, black, transparent 70%);
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.40;
  animation: blobMove 16s ease-in-out infinite;
}
.blob--1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--color-blue), transparent 70%);
  top: -140px; right: -80px;
}
.blob--2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--color-red), transparent 70%);
  bottom: -120px; left: -60px; animation-delay: -8s;
}
@keyframes blobMove {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.08); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}
.hero__inner {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(2rem, 6vw, 4rem);
}
.hero__title { font-size: var(--fs-hero); margin-top: 1rem; }
.hero__title .text-blue { color: var(--color-blue); }
.hero__title .text-red { color: var(--color-red); }
.hero__subtitle {
  margin-top: 1.4rem; color: var(--color-ink-soft); font-size: 1.1rem;
  max-width: 46ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__langs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.5rem; }
.hero__lang-pill {
  font-size: 0.85rem; font-weight: 600; padding: 0.4rem 0.9rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--color-line); box-shadow: var(--shadow-soft);
  animation: floatY 4s ease-in-out infinite;
}
.hero__lang-pill:nth-child(2) { animation-delay: -1s; }
.hero__lang-pill:nth-child(3) { animation-delay: -2s; }
.hero__lang-pill:nth-child(4) { animation-delay: -3s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Signature element : orbit */
.hero__visual { position: relative; display: flex; justify-content: center; }
.orbit {
  position: relative; width: min(440px, 100%); aspect-ratio: 1/1;
}
.orbit__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px dashed rgba(26,86,219,0.30);
}
.orbit__ring--2 {
  inset: 12%; border-style: solid; border-color: rgba(229,62,62,0.16);
}
.orbit__core {
  position: absolute; inset: 38%; border-radius: 50%;
  background: var(--color-blue);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 25px 60px -18px var(--color-shadow);
  animation: pulseScale 3.2s ease-in-out infinite;
}
.orbit__core-icon { font-size: 2rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2)); }
.orbit__satellite {
  position: absolute; width: 74px; height: 74px; top: 50%; left: 50%;
  margin: -37px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-lift);
  animation: orbitSpin 18s linear infinite;
  animation-delay: var(--delay);
}
.orbit__flag { font-size: 1.4rem; }
.orbit__label { font-size: 0.62rem; font-weight: 700; color: var(--color-ink-soft); }
@keyframes orbitSpin {
  from { transform: rotate(0deg) translateX(190px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(190px) rotate(-360deg); }
}
@media (max-width: 720px) {
  .orbit__satellite { animation-name: orbitSpinSmall; }
  @keyframes orbitSpinSmall {
    from { transform: rotate(0deg) translateX(130px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(130px) rotate(-360deg); }
  }
}
.orbit__card {
  position: absolute; display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; padding: 0.6rem 0.9rem; border-radius: 14px;
  animation: floatY 5s ease-in-out infinite;
}
.orbit__card--1 { top: 4%; left: -6%; animation-delay: -1.5s; border-left: 3px solid var(--color-blue); }
.orbit__card--2 { bottom: 6%; right: -8%; animation-delay: -3s; border-left: 3px solid var(--color-red); }

.orbit__mini { display: flex; gap: 0.5rem; font-size: 1.3rem; }
.orbit__mini span { animation: floatY 3s ease-in-out infinite; }
.orbit__mini span:nth-child(2) { animation-delay: -0.7s; }
.orbit__mini span:nth-child(3) { animation-delay: -1.4s; }
.orbit__mini span:nth-child(4) { animation-delay: -2.1s; }

.scroll-cue {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(26,86,219,0.4); border-radius: 20px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 4px; background: var(--color-blue);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue { 0% { opacity: 1; top: 6px; } 80% { opacity: 0; top: 20px; } 100% { opacity: 0; } }

/* ---------------------------------------------------------------------
   9. SECTION DIVIDERS
--------------------------------------------------------------------- */
.divider { line-height: 0; color: var(--color-white); margin-top: -1px; }
.divider svg { width: 100%; height: 60px; }
.divider path { fill: currentColor; }
.divider--flip { transform: scaleY(-1); color: var(--color-bg); }

/* ---------------------------------------------------------------------
   10. À PROPOS — BLEU
--------------------------------------------------------------------- */
.about { background: var(--color-white); }
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__frame {
  position: relative; border-radius: var(--radius-lg); padding: 2.4rem; min-height: 340px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: rgba(26,86,219,0.04);
}
.about__frame-badge {
  display: flex; align-items: center; gap: 0.8rem; background: #fff; padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); width: fit-content;
}
.about__frame-icon { font-size: 1.6rem; }
.about__frame-badge strong {
  display: block; font-size: 0.9rem; color: var(--color-blue);
}
.about__frame-badge small { color: var(--color-ink-soft); font-size: 0.78rem; }
.about__frame-lines { align-self: flex-end; }

/* ---------------------------------------------------------------------
   11. POURQUOI NOUS — ALTERNANCE BLEU / ROUGE
--------------------------------------------------------------------- */
.why { background: var(--color-white); }
.why__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
.why__card {
  background: #fff; border-radius: var(--radius-md); padding: 1.8rem 1.5rem;
  border: 1px solid var(--color-line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.why__card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lift);
}
.why__card:nth-child(odd):hover { border-color: var(--color-blue); }
.why__card:nth-child(even):hover { border-color: var(--color-red); }
.why__icon {
  display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center;
  border-radius: 12px; font-size: 1.3rem; margin-bottom: 1rem;
}
.why__card:nth-child(odd) .why__icon { background: rgba(26,86,219,0.12); }
.why__card:nth-child(even) .why__icon { background: rgba(229,62,62,0.12); }
.why__card h3 {
  font-size: 1.02rem; font-family: var(--font-display); font-weight: 700; margin-bottom: 0.4rem;
}
.why__card:nth-child(odd) h3 { color: var(--color-blue); }
.why__card:nth-child(even) h3 { color: var(--color-red); }
.why__card p { color: var(--color-ink-soft); font-size: 0.92rem; }

/* ---------------------------------------------------------------------
   12. FORMATIONS — BLEU (sauf chinois en rouge)
--------------------------------------------------------------------- */
.formations { background: var(--color-white); }
.formations__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; perspective: 1200px; }
.lang-card {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: var(--color-surface); border: 1px solid var(--color-line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  transform-style: preserve-3d;
}
.lang-card:hover { box-shadow: var(--shadow-lift); }
.lang-card__inner { padding: 2rem 1.6rem; position: relative; z-index: 1; }
.lang-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.lang-card__flag { font-size: 2.2rem; }
.lang-card__icon { font-size: 1.3rem; opacity: 0.6; }
.lang-card h3 {
  font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.6rem;
}
.lang-card--en h3 { color: var(--color-blue); }
.lang-card--fr h3 { color: var(--color-blue); }
.lang-card--de h3 { color: var(--color-blue); }
.lang-card--zh h3 { color: var(--color-red); }
.lang-card p { color: var(--color-ink-soft); font-size: 0.92rem; margin-bottom: 1.4rem; }
.lang-card--en::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--lang-en); }
.lang-card--fr::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--lang-fr); }
.lang-card--de::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--lang-de); }
.lang-card--zh::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--lang-zh); }
.lang-card--zh .btn--outline { color: var(--color-red); border-color: rgba(229,62,62,0.3); }
.lang-card--zh .btn--outline:hover { border-color: var(--color-red); background: rgba(229,62,62,0.06); }

/* ---------------------------------------------------------------------
   13. TIMELINE — ALTERNANCE BLEU / ROUGE
--------------------------------------------------------------------- */
.process { background: var(--color-white); }
.timeline { position: relative; max-width: 720px; margin-inline: auto; }
.timeline::before {
  content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px;
  background: var(--color-blue);
}
.timeline__item { display: flex; gap: 1.6rem; position: relative; padding-bottom: 2.6rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__num {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  color: #fff;
  font-family: var(--font-display); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.timeline__item:nth-child(odd) .timeline__num {
  background: var(--color-blue);
  box-shadow: 0 12px 24px -10px var(--color-shadow);
}
.timeline__item:nth-child(even) .timeline__num {
  background: var(--color-red);
  box-shadow: 0 12px 24px -10px rgba(229,62,62,0.4);
}
.timeline__body h3 {
  font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 0.3rem;
}
.timeline__item:nth-child(odd) .timeline__body h3 { color: var(--color-blue); }
.timeline__item:nth-child(even) .timeline__body h3 { color: var(--color-red); }
.timeline__body p { color: var(--color-ink-soft); font-size: 0.92rem; }

/* ---------------------------------------------------------------------
   14. MÉTHODE — BLEU
--------------------------------------------------------------------- */
.method { background: var(--color-white); }
.method__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.method__list { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.9rem; }
.method__list li { display: flex; align-items: flex-start; gap: 0.7rem; font-weight: 600; }
.method__bullet {
  color: var(--color-red); font-weight: 800; flex-shrink: 0;
}
.method__visual { position: relative; min-height: 320px; }
.method__card {
  position: absolute; width: 220px; padding: 1.3rem 1.4rem; border-radius: var(--radius-md);
  display: flex; flex-direction: column; gap: 0.3rem;
  animation: floatY 6s ease-in-out infinite;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--shadow-soft);
}
.method__card-icon { font-size: 1.4rem; margin-bottom: 0.3rem; }
.method__card p { font-size: 0.82rem; color: var(--color-ink-soft); }
.method__card strong { color: var(--color-blue); }
.method__card--1 { top: 0; left: 8%; border-left: 4px solid var(--color-blue); }
.method__card--2 { top: 38%; right: 0; animation-delay: -2s; border-left: 4px solid var(--color-red); }
.method__card--3 { bottom: 0; left: 20%; animation-delay: -4s; border-left: 4px solid var(--color-blue); }

/* ---------------------------------------------------------------------
   15. FAQ — BLEU
--------------------------------------------------------------------- */
.faq { background: var(--color-white); }
.faq__wrap { max-width: 760px; }
.accordion__item { border-bottom: 1px solid var(--color-line); }
.accordion__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; padding: 1.4rem 0.2rem; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--color-ink);
}
.accordion__trigger:hover { color: var(--color-blue); }
.accordion__icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-surface); color: var(--color-blue);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s;
  font-weight: 400;
}
.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
  background: var(--color-red); color: #fff;
}
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.accordion__panel p { padding: 0 0.2rem 1.4rem; color: var(--color-ink-soft); max-width: 60ch; }

/* ---------------------------------------------------------------------
   16. CTA — BLEU
--------------------------------------------------------------------- */
.cta { position: relative; padding-block: var(--section-pad); overflow: hidden; }
.cta__bg {
  position: absolute; inset: 0; background: var(--color-blue); z-index: 0;
}
.cta__bg::before, .cta__bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px);
}
.cta__bg::before {
  width: 380px; height: 380px; background: rgba(255,255,255,0.15);
  top: -120px; left: -80px; animation: blobMove 14s ease-in-out infinite;
}
.cta__bg::after {
  width: 320px; height: 320px; background: rgba(229,62,62,0.25);
  bottom: -100px; right: -60px; animation: blobMove 18s ease-in-out infinite reverse;
}
.cta__inner { position: relative; z-index: 1; text-align: center; max-width: 700px; margin-inline: auto; }
.cta__title { font-size: var(--fs-h2); color: #fff; }
.cta__text { color: rgba(255,255,255,0.85); margin-top: 1rem; }
.cta__actions { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   17. CONTACT — ALTERNANCE BLEU / ROUGE
--------------------------------------------------------------------- */
.contact { background: var(--color-white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.contact__list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.3rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact__list li:nth-child(odd) .contact__icon { background: rgba(26,86,219,0.12); }
.contact__list li:nth-child(even) .contact__icon { background: rgba(229,62,62,0.12); }
.contact__list strong {
  display: block; margin-bottom: 0.2rem; font-family: var(--font-display);
}
.contact__list li:nth-child(odd) strong { color: var(--color-blue); }
.contact__list li:nth-child(even) strong { color: var(--color-red); }
.contact__list p { color: var(--color-ink-soft); font-size: 0.92rem; }
.contact__list a { font-weight: 600; }
.contact__list li:nth-child(odd) a { color: var(--color-blue); }
.contact__list li:nth-child(even) a { color: var(--color-red); }
.contact__cta { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

.map-card {
  position: relative; border-radius: var(--radius-lg); min-height: 380px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.map-card__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(26,86,219,0.08) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(229,62,62,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.map-card__pin { position: relative; display: flex; align-items: center; justify-content: center; }
.map-card__pin-dot {
  width: 20px; height: 20px; border-radius: 50%; background: var(--color-red);
  box-shadow: 0 10px 22px -6px rgba(229,62,62,0.5); position: relative; z-index: 1;
}
.map-card__pin-pulse {
  position: absolute; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(229,62,62,0.3);
  animation: pinPulse 2.2s ease-out infinite;
}
@keyframes pinPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(4.2); opacity: 0; }
}
.map-card__label {
  position: absolute; bottom: 1.4rem; left: 1.4rem; background: #fff; padding: 0.8rem 1.1rem;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-soft);
}
.map-card__label strong {
  display: block; font-size: 0.88rem; color: var(--color-blue);
}
.map-card__label small { color: var(--color-ink-soft); font-size: 0.76rem; }

/* ---------------------------------------------------------------------
   18. FOOTER
--------------------------------------------------------------------- */
.footer {
  background: #0A1628;
  color: rgba(255,255,255,0.82); padding-top: 4rem;
}
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer .nav__logo-text { color: #fff; }
.footer .nav__logo-text strong { color: var(--color-blue); }
.footer__tagline { margin-top: 1rem; font-size: 0.92rem; color: rgba(255,255,255,0.65); max-width: 26ch; }
.footer__nav h3, .footer__contact h3, .footer__social h3 {
  font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: #8BA8D4; margin-bottom: 1rem;
}
.footer__nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__nav a, .footer__contact a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer__nav a:hover { color: var(--color-blue); }
.footer__contact a:hover { color: var(--color-red); }
.footer__contact p { font-size: 0.92rem; margin-bottom: 0.5rem; color: rgba(255,255,255,0.75); }
.footer__social-links { display: flex; gap: 0.7rem; }
.footer__social-links a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700;
  transition: background 0.3s, transform 0.3s, color 0.3s;
  color: rgba(255,255,255,0.6);
}
.footer__social-links a:nth-child(odd):hover {
  background: var(--color-blue); color: #fff; transform: translateY(-3px);
}
.footer__social-links a:nth-child(even):hover {
  background: var(--color-red); color: #fff; transform: translateY(-3px);
}
.footer__bottom { padding-block: 1.4rem; font-size: 0.8rem; color: rgba(255,255,255,0.55); text-align: center; }

/* ---------------------------------------------------------------------
   19. SCROLL REVEAL
--------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------------
   20. RESPONSIVE
--------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .why__grid, .formations__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav__menu {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 80vw);
    background: #fff; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.8rem; padding: 2rem; box-shadow: -20px 0 50px -20px rgba(0,0,0,0.2);
    transform: translateX(100%); transition: transform 0.4s var(--ease); z-index: 400;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__burger { display: flex; }
  .nav__actions .btn--red { display: none; }
  .about__grid, .method__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-rows: auto auto; }
  .about__visual { order: 2; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__cta { justify-content: center; }
  .hero__langs { justify-content: center; }
  .hero__visual { margin-top: 2rem; }
}

@media (max-width: 720px) {
  .why__grid, .formations__grid { grid-template-columns: 1fr; }
  .method__visual { min-height: 280px; }
  .method__card { position: static; width: 100%; animation: none; margin-bottom: 1rem; }
  .method__visual { display: flex; flex-direction: column; }
  .cursor, .cursor-dot { display: none; }
  .orbit__card { display: none; }
}

@media (max-width: 480px) {
  .hero { padding-top: 6.5rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}