/**
 * Landing marketing : même header sticky que index + footer sombre.
 * Pages : inclure après les variables locales (:root) si besoin (--lv-blur défini ci-dessous).
 */
:root {
  --lv-blur: saturate(180%) blur(20px);
  --lv-landing-content-max: 1200px;
  --lv-landing-pad-x: clamp(18px, 5vw, 32px);
  --lv-landing-surface: rgba(246, 249, 252, 0.92);
  --lv-landing-hover: #eaf2fa;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 99999;
  padding: 10px 16px;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  overflow: visible;
}

    .container {
      width: 100%;
      max-width: var(--lv-landing-content-max);
      margin: 0 auto;
      padding-left: var(--lv-landing-pad-x);
      padding-right: var(--lv-landing-pad-x);
    }

    /* Coque sticky : z-index élevé pour rester au-dessus du menu mobile (voir #mobile-menu après cette coque dans le DOM). */
    .landing-nav-shell {
      position: sticky;
      top: 0;
      z-index: 10000;
      width: 100%;
      overflow: visible;
      flex-shrink: 0;
      transform: translateY(0);
      transition:
        transform 0.5s cubic-bezier(0.64, -0.01, 0, 1),
        border-color 0.5s cubic-bezier(0.64, -0.01, 0, 1);
      will-change: transform;
    }

    .landing-nav-shell.is-hidden-on-scroll {
      transform: translateY(-100%);
    }

    .landing-nav-head {
      position: relative;
      z-index: 1;
      background: var(--lv-landing-surface);
      backdrop-filter: var(--lv-blur);
      -webkit-backdrop-filter: var(--lv-blur);
      border-bottom: 0;
      transition:
        background 0.5s cubic-bezier(0.64, -0.01, 0, 1),
        box-shadow 0.5s cubic-bezier(0.64, -0.01, 0, 1);
    }

    .landing-nav-shell.is-scrolled .landing-nav-head,
    .landing-nav-shell.is-menu-open .landing-nav-head {
      background: var(--lv-landing-surface);
      box-shadow: 0 10px 28px rgba(16, 44, 76, 0.09);
    }

    .landing-nav-shell.is-menu-open .landing-nav-head {
      background: var(--lv-landing-surface);
      box-shadow: none;
    }

    .navbar {
      position: relative;
      z-index: 2;
      background: transparent;
      padding-top: 0;
    }

    .landing-nav-fade {
      display: none;
    }

    .navbar-inner {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: nowrap;
      gap: 12px;
      min-height: 52px;
      height: auto;
      padding: 2px 0;
    }

    .navbar-brand {
      position: static;
      transform: none;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      flex: 0 0 auto;
      min-width: 0;
      text-decoration: none;
      color: #111111;
    }

    .navbar-brand:hover {
      color: #111111;
    }

    .navbar-logo-mark {
      display: flex;
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      border-radius: 8px;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      line-height: 0;
    }

    .navbar-logo-mark img {
      width: 28px;
      height: 28px;
      display: block;
      object-fit: contain;
    }

    .navbar-brand-name {
      font-size: 19px;
      font-weight: 700;
      letter-spacing: -0.02em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .navbar-inner .navbar-brand-name {
      font-size: 26px;
    }

    @media (max-width: 768px) {
      .navbar-inner .navbar-brand-name {
        font-size: 22px;
      }

      /* Filet bas #e1e1e1 au scroll ; pas la grosse ombre du header mobile par défaut. */
      .landing-nav-head {
        border-bottom: 1px solid transparent;
        transition:
          background 0.35s ease,
          box-shadow 0.35s ease,
          border-bottom-color 0.35s ease;
      }

      .landing-nav-shell.is-scrolled:not(.is-menu-open) .landing-nav-head {
        box-shadow: none;
        border-bottom-color: #e1e1e1;
      }

      .landing-nav-head .container {
        padding-left: 16px;
        padding-right: 16px;
      }

      /* Header mobile : même rendu que l’accueil sur toutes les pages marketing. */
      .navbar {
        padding-top: 5px;
        padding-bottom: 5px;
      }

      .navbar-inner {
        min-height: 48px;
        padding-top: 4px;
        padding-bottom: 4px;
        gap: 10px;
      }

      .navbar-logo-mark,
      .navbar-logo-mark img {
        width: 28px;
        height: 28px;
      }

      .navbar-actions .btn-outline {
        padding: 8px 16px;
        font-size: 13px;
        font-weight: 600;
        border-radius: 10px;
        background: #111111;
        color: #ffffff;
        border: 1px solid #111111;
      }

      .navbar-actions .btn-outline:hover {
        background: #2a2a2a;
        border-color: #2a2a2a;
        color: #ffffff;
      }

      .menu-toggle {
        width: 44px;
        height: 44px;
      }
    }

    /*
      Burger visible jusqu’à 1023px : pas de translation « hide », et menu ouvert → header en fixed.
      Sinon body { overflow:hidden } casse sticky / fait disparaître la barre au-dessus du panneau.
    */
    @media (max-width: 1023px) {
      .landing-nav-shell.is-hidden-on-scroll {
        transform: translateY(0);
      }

      .landing-nav-shell.is-menu-open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        z-index: 10001;
      }
    }

    .navbar-brand-suffix {
      font-weight: 700;
      display: none;
    }

    .navbar-trailing {
      position: static;
      transform: none;
      display: flex;
      align-items: center;
      flex: 0 0 auto;
      gap: 8px;
    }

    .navbar-center {
      display: none;
    }

    .navbar-links {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0;
    }

    .navbar-links a {
      font-size: 16px;
      font-weight: 500;
      color: #344255;
      text-decoration: none;
      padding: 8px 12px;
      border-radius: 10px;
      transition: background 0.15s ease, color 0.15s ease;
    }

    .navbar-links a:hover {
      color: #111111;
      background: var(--lv-landing-hover);
    }

    .nav-dropdown {
      position: relative;
    }

    .nav-dropdown-trigger {
      font-size: 16px;
      font-weight: 500;
      color: #444444;
      text-decoration: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 8px 12px;
      border-radius: 8px;
      transition: background 0.15s ease, color 0.15s ease;
    }

    .nav-dropdown-trigger:hover {
      color: #111111;
      background: var(--lv-landing-hover);
    }

    .nav-dropdown-chevron {
      display: inline-flex;
      transition: transform 0.2s ease;
    }

    .nav-dropdown:hover .nav-dropdown-chevron {
      transform: rotate(180deg);
    }

    .nav-dropdown-menu {
      position: absolute;
      top: 100%;
      left: 0;
      margin-top: 12px;
      min-width: 220px;
      padding: 8px;
      display: flex;
      flex-direction: column;
      gap: 2px;
      background: var(--lv-landing-surface);
      border: 1px solid #e1e1e1;
      border-radius: 10px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.08);
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px) scale(0.98);
      transform-origin: top left;
      transition:
        opacity 0.24s ease,
        visibility 0.24s ease,
        transform 0.36s cubic-bezier(0.64, -0.01, 0, 1);
      z-index: 100;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }

    .nav-dropdown-menu a {
      display: block;
      padding: 4px 8px;
      font-size: 14px;
      color: #444444;
      text-decoration: none;
      border-radius: 6px;
      text-align: start;
    }

    .nav-dropdown-menu a:hover {
      background: var(--lv-landing-hover);
      color: #111111;
    }

    .navbar-actions {
      position: static;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
    }

    .navbar-actions .btn-primary {
      display: none;
    }

    .menu-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      padding: 0;
      border: none;
      background: none;
      cursor: pointer;
      color: #111111;
      border-radius: 8px;
      -webkit-tap-highlight-color: transparent;
      position: relative;
      z-index: 2;
      transition: transform 0.2s ease;
    }

    .menu-toggle:hover {
      background: transparent;
    }

    .menu-toggle:active {
      transform: scale(0.98);
    }

    .menu-toggle:focus-visible {
      outline: 2px solid rgba(37, 99, 235, 0.45);
      outline-offset: 2px;
      background: transparent;
    }

    /* Icône menu : 3 barres → ouverture : morph en X (même bouton = fermer). */
    .menu-toggle-bars {
      position: relative;
      width: 18px;
      height: 14px;
      flex-shrink: 0;
    }

    .menu-toggle-bars span {
      display: block;
      position: absolute;
      left: 0;
      right: 0;
      height: 2px;
      background: currentColor;
      border-radius: 9999px;
      transform-origin: center;
      transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.2s ease,
        top 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.2s ease;
    }

    .menu-toggle-bars span:nth-child(1) {
      top: 0;
    }

    .menu-toggle-bars span:nth-child(2) {
      top: 6px;
    }

    .menu-toggle-bars span:nth-child(3) {
      top: 12px;
      width: 50%;
    }

    .menu-toggle[aria-expanded='true'] .menu-toggle-bars span:nth-child(1) {
      top: 6px;
      transform: rotate(45deg);
    }

    .menu-toggle[aria-expanded='true'] .menu-toggle-bars span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0.2);
    }

    .menu-toggle[aria-expanded='true'] .menu-toggle-bars span:nth-child(3) {
      top: 6px;
      width: 100%;
      transform: rotate(-45deg);
    }

    @media (prefers-reduced-motion: reduce) {
      .menu-toggle-bars span {
        transition: none;
      }
    }

    /*
      Menu mobile : panneau sous la barre existante (logo Uplearn = même header que fermé).
      Ouverture / fermeture : seul l’icône du bouton (burger → X) change dans la navbar.
    */
    .mobile-menu-overlay {
      display: none;
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      min-height: 100dvh;
      /* Sous la barre (landing-nav-shell). Placé après la coque dans le HTML + z-index bas. */
      z-index: 100;
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      pointer-events: none;
    }

    .mobile-menu-overlay.open {
      display: block;
      pointer-events: auto;
    }

    .mobile-menu.mobile-menu--inner {
      position: fixed;
      inset: 0;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      width: 100%;
      max-width: none;
      height: 100%;
      min-height: 100dvh;
      max-height: none;
      margin: 0;
      box-sizing: border-box;
      /* Contenu sous la barre sticky (le fond passe toujours derrière le header). */
      padding: max(16px, calc(env(safe-area-inset-top, 0px) + 48px)) max(16px, env(safe-area-inset-right))
        max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
      display: flex;
      flex-direction: column;
      gap: 8px;
      min-height: 0;
      overflow: hidden;
      /* Même fond + flou que la barre (.landing-nav-head). */
      background: var(--lv-landing-surface);
      backdrop-filter: var(--lv-blur);
      -webkit-backdrop-filter: var(--lv-blur);
      border-radius: 0;
      box-shadow: none;
      transform-origin: top center;
      opacity: 0;
      transform: translateY(-100%);
      transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.24s ease;
      will-change: transform, opacity;
      z-index: 1;
    }

    .mobile-menu-overlay.mobile-menu-overlay--animate-in .mobile-menu.mobile-menu--inner {
      opacity: 1;
      transform: translateY(0);
      will-change: auto;
    }

    /* Cascade : lignes du nav + actions (pas de 2e header dans le panneau). */
    .mobile-menu.mobile-menu--inner .mobile-menu-nav > *,
    .mobile-menu.mobile-menu--inner .mobile-menu-actions {
      opacity: 0;
      transform: translateY(14px);
      transition:
        opacity 0.32s ease,
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .mobile-menu-overlay.mobile-menu-overlay--animate-in .mobile-menu.mobile-menu--inner .mobile-menu-nav > *:nth-child(1) {
      opacity: 1;
      transform: translateY(0);
      transition-delay: 0.06s;
    }

    .mobile-menu-overlay.mobile-menu-overlay--animate-in .mobile-menu.mobile-menu--inner .mobile-menu-nav > *:nth-child(2) {
      opacity: 1;
      transform: translateY(0);
      transition-delay: 0.1s;
    }

    .mobile-menu-overlay.mobile-menu-overlay--animate-in .mobile-menu.mobile-menu--inner .mobile-menu-nav > *:nth-child(3) {
      opacity: 1;
      transform: translateY(0);
      transition-delay: 0.14s;
    }

    .mobile-menu-overlay.mobile-menu-overlay--animate-in .mobile-menu.mobile-menu--inner .mobile-menu-nav > *:nth-child(4) {
      opacity: 1;
      transform: translateY(0);
      transition-delay: 0.18s;
    }

    .mobile-menu-overlay.mobile-menu-overlay--animate-in .mobile-menu.mobile-menu--inner .mobile-menu-nav > *:nth-child(5) {
      opacity: 1;
      transform: translateY(0);
      transition-delay: 0.22s;
    }

    .mobile-menu-overlay.mobile-menu-overlay--animate-in .mobile-menu.mobile-menu--inner .mobile-menu-nav > *:nth-child(6) {
      opacity: 1;
      transform: translateY(0);
      transition-delay: 0.26s;
    }

    .mobile-menu-overlay.mobile-menu-overlay--animate-in .mobile-menu.mobile-menu--inner .mobile-menu-nav > *:nth-child(7) {
      opacity: 1;
      transform: translateY(0);
      transition-delay: 0.3s;
    }

    .mobile-menu-overlay.mobile-menu-overlay--animate-in .mobile-menu.mobile-menu--inner .mobile-menu-actions {
      opacity: 1;
      transform: translateY(0);
      transition-delay: 0.34s;
    }

    @media (prefers-reduced-motion: reduce) {
      .mobile-menu.mobile-menu--inner {
        transition: none;
        opacity: 1;
        transform: none;
        will-change: auto;
      }

      .mobile-menu.mobile-menu--inner .mobile-menu-nav > *,
      .mobile-menu.mobile-menu--inner .mobile-menu-actions {
        opacity: 1;
        transform: none;
        transition: none;
      }
    }

    .mobile-menu a {
      display: block;
      padding: 14px 12px;
      font-size: 16px;
      font-weight: 500;
      color: #111111;
      text-decoration: none;
      border-radius: 10px;
    }

    .mobile-menu a:hover {
      background: var(--lv-landing-hover);
    }

    .mobile-menu-nav {
      display: flex;
      flex-direction: column;
      gap: 0;
      flex: 1 1 auto;
      min-height: 0;
      overflow-x: hidden;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      padding-top: 8px;
    }

    .mobile-menu-divider {
      flex-shrink: 0;
      height: 1px;
      margin: 0;
      border: 0;
      background: rgba(0, 0, 0, 0.038);
      width: 100%;
    }

    .mobile-menu-top-link {
      display: flex;
      align-items: center;
      padding: 14px 12px;
      font-size: 16px;
      font-weight: 600;
      color: #111111;
      text-decoration: none;
      border-radius: 10px;
    }

    .mobile-menu-top-link:hover {
      background: var(--lv-landing-hover);
    }

    .mobile-menu-disclosure {
      border-radius: 10px;
      overflow: hidden;
    }

    .mobile-menu-disclosure-summary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: 100%;
      box-sizing: border-box;
      padding: 14px 12px;
      font-size: 16px;
      font-weight: 600;
      color: #111111;
      cursor: pointer;
      list-style: none;
      user-select: none;
      border-radius: 10px;
    }

    .mobile-menu-disclosure-summary:hover {
      background: var(--lv-landing-hover);
    }

    .mobile-menu-disclosure-summary::-webkit-details-marker {
      display: none;
    }

    .mobile-menu-disclosure-summary::after {
      content: '';
      flex-shrink: 0;
      width: 8px;
      height: 8px;
      margin-top: 1px;
      border-right: 2px solid #555555;
      border-bottom: 2px solid #555555;
      transform: rotate(45deg);
      transition: transform 0.2s ease;
    }

    .mobile-menu-disclosure[open] .mobile-menu-disclosure-summary::after {
      transform: rotate(225deg);
    }

    .mobile-menu-panel {
      display: flex;
      flex-direction: column;
      gap: 2px;
      padding: 4px 0 8px 12px;
    }

    .mobile-menu-panel a {
      padding: 12px 12px;
      font-size: 15px;
      font-weight: 500;
      color: #333333;
      border-radius: 8px;
    }

    .mobile-menu-panel a:hover {
      background: var(--lv-landing-hover);
    }

    .mobile-menu-actions {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: stretch;
      gap: 10px;
      flex-shrink: 0;
      padding-top: 4px;
    }

    .mobile-menu.mobile-menu--inner .mobile-menu-cta-login,
    .mobile-menu.mobile-menu--inner .mobile-menu-cta-get-started {
      margin-top: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      flex: 1 1 0;
      min-width: 0;
      width: auto;
      text-align: center;
      box-sizing: border-box;
      padding: 16px 12px;
      font-size: 14px;
      font-weight: 600;
      border-radius: 8px;
      text-decoration: none;
      cursor: pointer;
    }

    .mobile-menu.mobile-menu--inner .mobile-menu-cta-login {
      border: 1px solid rgba(0, 0, 0, 0.12);
      background: var(--lv-landing-surface);
      color: #111111;
    }

    .mobile-menu.mobile-menu--inner .mobile-menu-cta-login:hover {
      background: var(--lv-landing-hover);
      border-color: rgba(0, 0, 0, 0.18);
    }

    .mobile-menu.mobile-menu--inner .mobile-menu-cta-get-started {
      border: 1px solid #111111;
      background: #111111;
      color: #ffffff;
    }

    .mobile-menu.mobile-menu--inner .mobile-menu-cta-get-started:hover {
      background: #2a2a2a;
      border-color: #2a2a2a;
      color: #ffffff;
    }

    .btn-outline {
      padding: 8px 18px;
      font-size: 14px;
      font-weight: 600;
      border-radius: 12px;
      border: 1px solid rgba(23, 42, 58, 0.16);
      background: var(--lv-landing-surface);
      color: #233247;
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
    }

    .btn-outline:hover {
      border-color: rgba(0, 122, 255, 0.5);
      background: var(--lv-landing-hover);
    }

    .btn-primary {
      padding: 8px 18px;
      font-size: 14px;
      font-weight: 600;
      border-radius: 12px;
      border: 1px solid #007aff;
      background: #007aff;
      color: #ffffff;
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
    }

    .btn-primary:hover {
      background: #0368d9;
      border-color: #0368d9;
    }

    @media (min-width: 1024px) {
      .landing-nav-head .container {
        padding-left: 34px;
        padding-right: 34px;
      }

      .navbar-inner {
        min-height: 58px;
      }

      .navbar-brand {
        gap: 8px;
        margin-right: 36px;
        line-height: 1;
      }

      .navbar-logo-mark,
      .navbar-logo-mark img {
        width: 30px;
        height: 30px;
      }

      .navbar-inner .navbar-brand-name {
        font-size: 26px;
        line-height: 1;
        display: inline-block;
      }

      /* Seuls les liens de premier niveau : centrer l’alignement du bloc cliquable ; pas les entrées des menus déroulants. */
      .navbar-links > a {
        padding: 6px 10px;
        font-size: 15px;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }

      .nav-dropdown-trigger {
        padding: 6px 10px;
        font-size: 15px;
      }

      .navbar-center {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 0;
        flex: 1 1 auto;
        min-width: 0;
      }

      .navbar-links {
        gap: 2px;
      }

      /* Header desktop : fond transparent ; au scroll → filet fin #e1e1e1 (pas d’ombre large). */
      .landing-nav-head {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        border-bottom: 1px solid transparent;
        transition:
          border-bottom-color 0.35s ease,
          background 0.35s ease,
          backdrop-filter 0.35s ease,
          box-shadow 0.35s ease,
          -webkit-backdrop-filter 0.35s ease;
      }

      .landing-nav-shell.is-scrolled .landing-nav-head {
        background: rgba(248, 248, 248, 0.92);
        backdrop-filter: saturate(160%) blur(14px);
        -webkit-backdrop-filter: saturate(160%) blur(14px);
        box-shadow: none;
        border-bottom-color: #e1e1e1;
      }

      /* CTA nav desktop : capsules comme la landing (outline clair + primary noir). */
      .navbar-actions {
        gap: 10px;
      }

      .navbar-actions .btn-outline {
        border-radius: 999px;
        background: #ffffff;
        color: #111111;
        border: none;
        padding: 8px 20px;
        font-weight: 600;
        font-size: inherit;
      }

      .navbar-actions .btn-outline:hover {
        background: #ffffff;
        color: #111111;
      }

      .navbar-actions .btn-primary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: #111111;
        color: #ffffff;
        border: 1px solid #111111;
        padding: 8px 20px;
        font-weight: 600;
        font-size: inherit;
      }

      .navbar-actions .btn-primary:hover {
        background: #222222;
        border-color: #222222;
        color: #ffffff;
      }

      .menu-toggle {
        display: none;
      }
    }


/* ─── Footer marketing (référence type Manus : tagline + grille + séparateur) ─── */

.lv-footer-shell {
  position: relative;
  margin-top: 0;
  padding: clamp(64px, 10vw, 100px) clamp(16px, 4vw, 24px) clamp(48px, 6vw, 72px);
  background: #151311 !important;
  color: #ffffff;
}

.lv-footer-shell::before {
  display: none !important;
}

.lv-footer-glow,
.lv-footer-glow-ring {
  display: none !important;
}

.footer.lv-footer-card,
main.landing + .lv-footer-shell .footer {
  background: transparent !important;
  padding: 0 !important;
}

.lv-footer-inner {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
}

.lv-footer-tagline {
  margin: 0 0 clamp(40px, 6vw, 48px);
  font-family:
    Georgia,
    "Times New Roman",
    Times,
    ui-serif,
    serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.75rem, 3.8vw + 0.85rem, 2.375rem);
  line-height: 1.08;
  color: #ffffff;
}

.lv-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 32px);
  margin-bottom: clamp(40px, 5vw, 48px);
}

@media (min-width: 768px) {
  .lv-footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 24px;
  }
}

.lv-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.lv-footer-heading {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff !important;
}

.lv-footer-col a {
  display: block;
  font-size: 14px;
  line-height: 1.36;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
  color: rgba(255, 255, 255, 0.7) !important;
}

.lv-footer-col a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.lv-footer-rule {
  height: 1px;
  width: 100%;
  margin: 0 0 22px;
  background: rgba(255, 255, 255, 0.12);
}

.lv-footer-tail-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

@media (min-width: 768px) {
  .lv-footer-tail-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #ffffff !important;
}

.footer-brand:hover {
  opacity: 0.9;
  color: #ffffff !important;
}

.lv-footer-wordmark.footer-brand {
  font-size: 20px;
}

.footer-copy {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6) !important;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.75) !important;
}

.footer-legal a:hover {
  color: #ffffff !important;
}

/* ─── Modale « Become a creator » (remplace la page affiliate) ─── */
.landing-creator-modal-root {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.landing-creator-modal-root.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.landing-creator-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  cursor: pointer;
}

.landing-creator-modal-panel {
  position: relative;
  z-index: 1;
  width: calc(100% - 2rem);
  max-width: 448px;
  max-height: min(90vh, 720px);
  overflow: auto;
  margin: 0;
  padding: 0;
  border-radius: 14px;
  border: 1px solid #e8e8e8;
  background: #ffffff;
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform: scale(0.97) translateY(8px);
  opacity: 0;
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
}

.landing-creator-modal-root.is-open .landing-creator-modal-panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .landing-creator-modal-root,
  .landing-creator-modal-panel {
    transition: none !important;
  }

  .landing-creator-modal-root.is-open .landing-creator-modal-panel {
    transform: none;
    opacity: 1;
  }
}

.landing-creator-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    opacity 0.15s ease;
}

.landing-creator-modal-close:hover {
  background: #f1f5f9;
  color: #111111;
  opacity: 1;
}

.landing-creator-modal-close:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.landing-creator-modal-inner {
  padding: 1.25rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.landing-creator-modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #111111;
  margin: 0;
  padding-right: 2.5rem;
  max-width: 90%;
}

.landing-creator-modal-subtitle {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
  color: #334155;
}

.landing-creator-modal-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0.5rem 0 0.25rem;
}

.landing-creator-modal-feature {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.landing-creator-modal-feature-head {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
}

.landing-creator-modal-feature-head > p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111111;
  line-height: 1.35;
  padding-top: 2px;
}

.landing-creator-modal-ico {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  color: #111111;
}

.landing-creator-modal-feature-body {
  margin: 0;
  padding-left: 1.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

.landing-creator-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 0.25rem;
  padding: 0 1rem;
  border-radius: 14px;
  border: none;
  background: #111111;
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  transition:
    background 0.15s ease,
    filter 0.15s ease;
}

.landing-creator-modal-cta:hover {
  background: #2a2a2a;
  filter: none;
}

.landing-creator-modal-cta:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

html.landing-creator-modal-open {
  overflow: hidden;
}

