/* ============================================================
   Landing page styles — scoped under #lp
   Relies on design tokens defined in bootstrap-overrides.css.
   ============================================================ */

/* ── Wrapper ── */
#lp {
  background: var(--bs-body-bg);
  color: var(--bs-heading-color);
  overflow-x: hidden;
}

.lp-page-shell {
  padding-top: 64px !important;
}

/* ── Sticky navbar ── */
#lp-nav {
  position: fixed;
  top: 0;
  z-index: 200;
  width: 100%;
  background: rgba(253, 248, 241, 0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.07);
}

#lp-nav .lp-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 1.5rem;
}

/* Brand link */
.lp-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.lp-brand img {
  height: 28px;
  width: auto;
}

.lp-brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--bs-heading-color);
}

/* Nav links */
.lp-nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex: 1;
}

.lp-navlink {
  text-decoration: none;
  color: var(--bs-body-color);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}

.lp-navlink:hover,
.lp-navlink:focus {
  color: var(--bs-primary);
}

/* Lang switcher in navbar */
.lp-lang-switcher {
  display: flex;
  align-items: center;
  margin-right: 0.25rem;
}

.lp-lang-switcher .project-column__locale-menu {
  display: flex;
  align-items: center;
}

.lp-lang-switcher .project-column__locale-dropdown {
  right: 0;
}

/* Mobile menu - caché par défaut en desktop */
.lp-mobile-menu {
  display: none;
}

/* Mobile nav elements - cachés par défaut */
.lp-mobile-nav,
.lp-mobile-link,
.lp-mobile-actions,
.lp-burger {
  display: none;
}

/* Desktop elements */
#lp-nav .lp-nav-links { display: flex; }
#lp-nav .lp-lang-switcher { display: flex; }
#lp-nav .lp-nav-actions { display: flex; }

.lp-btn-ghost {
  text-decoration: none;
  color: var(--bs-body-color);
  font-size: 0.875rem;
  font-weight: 500;
  margin-right: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--bs-border-radius);
  border: 1px solid rgba(17, 24, 39, 0.15);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.lp-btn-ghost:hover,
.lp-btn-ghost:focus {
  background: rgba(17, 24, 39, 0.05);
  color: var(--bs-heading-color);
}

.lp-btn-primary {
  text-decoration: none;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: var(--bs-border-radius);
  background: var(--bs-primary);
  transition: background 0.15s;
  white-space: nowrap;
}

.lp-btn-primary:hover,
.lp-btn-primary:focus {
  background: #4338CA;
  color: #fff;
}

/* ── Sections layout ── */
.lp-section {
  padding: 7rem 1.5rem;
}

.lp-section--alt {
  background: rgba(255, 255, 255, 0.6);
}

.lp-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Hero ── */
.lp-hero {
  padding: 10rem 1.5rem 5rem;
  background: radial-gradient(ellipse 1400px 600px at 60% -80px, rgba(79, 70, 229, 0.08), transparent);
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  align-items: center;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 54px;
}

.lp-hero-sub {
  padding-top: 1rem;
}

/* SEO h1 — full-width, visually subtle, sits flush under the navbar */
.lp-seo-h1 {
  grid-column: 1 / -1;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0;
  margin: -10.5rem 0 2.5rem;
  line-height: 1.4;
  text-align: center;
}

.lp-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(79, 70, 229, 0.07);
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--bs-primary);
  letter-spacing: 0.02em;
}

.lp-hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--bs-heading-color);
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.lp-hero-h1 .lp-accent {
  color: var(--bs-primary);
}

.lp-hero-h1--dark {
  color: var(--bs-heading-color);
}

/* Lignes introductives (noires) — légèrement plus petites que les lignes colorées */
.lp-hero-h1--sm {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

.lp-hero-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--bs-body-color);
  margin-bottom: 2rem;
  max-width: 430px;
}

.lp-hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.lp-hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  background: var(--bs-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  transition: background 0.15s;
}

.lp-hero-cta-primary:hover,
.lp-hero-cta-primary:focus {
  background: #4338CA;
  color: #fff;
}

.lp-hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--bs-body-color);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  border: 1px solid rgba(17, 24, 39, 0.15);
  transition: background 0.15s;
}

.lp-hero-cta-secondary:hover,
.lp-hero-cta-secondary:focus {
  background: rgba(17, 24, 39, 0.04);
  color: var(--bs-heading-color);
}

.lp-hero-note {
  font-size: 0.8rem;
  color: #9ca3af;
  margin: 0;
}

/* ── Trust bar ── */
.lp-trust-bar {
  border-top: 1px solid rgba(17, 24, 39, 0.07);
  border-bottom: 1px solid rgba(17, 24, 39, 0.07);
  background: rgba(255, 255, 255, 0.55);
  padding: 1.5rem;
}

.lp-trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
}

.lp-trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--bs-body-color);
  font-size: 0.85rem;
  font-weight: 500;
}

.lp-icon-primary {
  color: #4F46E5;
}

.lp-icon-check {
  color: #4F46E5;
  flex-shrink: 0;
  margin-top: 2px;
}

.lp-icon-check-sm {
  color: #4F46E5;
  flex-shrink: 0;
  margin-top: 1px;
}

.lp-icon-cta {
  color: #4F46E5;
}

.lp-section-center {
  text-align: center;
}

.lp-cta-container {
  max-width: 620px;
}

.lp-img-fluid-full {
  width: 100%;
  height: auto;
  display: block;
}

.lp-img-fluid-three-quarters {
  width: 75%;
  height: auto;
  display: block;
}

/* ── Feature sections (alternating 2-col grid) ── */
.lp-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Asymmetric: image 55%, text 45% — for sections where the screenshot needs more room */
.lp-feature-grid--img-left {
  grid-template-columns: 55fr 45fr;
  gap: 3.5rem;
}

.lp-cat-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(79, 70, 229, 0.07);
  border-radius: 6px;
  padding: 0.2rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--bs-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.lp-cat-pill--premium {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.07);
}

.lp-feature-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 700;
  color: var(--bs-heading-color);
  line-height: 1.25;
  margin-bottom: 0.9rem;
  letter-spacing: -0.015em;
}

.lp-feature-body {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--bs-body-color);
  margin-bottom: 1.4rem;
}

/* Checklist */
.lp-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.lp-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--bs-body-color);
}

/* Image placeholders */
.lp-img-placeholder {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(79, 70, 229, 0.13), 0 4px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(79, 70, 229, 0.14);
}

.lp-img-placeholder img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.lp-placeholder-label {
  font-size: 0.77rem;
  color: #9ca3af;
  font-style: italic;
  max-width: 280px;
  line-height: 1.55;
  margin: 0.75rem 0 0;
}

.lp-placeholder-label strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #6b7280;
  font-style: normal;
}

/* Column ordering for alternated layout */
.lp-order-img  { order: 1; }
.lp-order-text { order: 2; }

/* ── Secondary feature cards ── */
.lp-cards-section {
  padding: 7rem 1.5rem;
}

.lp-cards-header {
  text-align: center;
  margin-bottom: 4rem;
}

.lp-cards-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--bs-heading-color);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.lp-cards-subtitle {
  font-size: 1rem;
  color: #6b7280;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.65;
}

.lp-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}

.lp-card {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
}

.lp-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(79, 70, 229, 0.09);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.lp-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bs-heading-color);
  margin-bottom: 0.45rem;
  font-family: 'Inter', sans-serif;
}

.lp-card-badge {
  font-size: 0.7rem;
  color: #9ca3af;
  font-weight: 400;
}

.lp-card-body-text {
  font-size: 0.86rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}

.lp-evolution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.lp-evolution-card {
  display: flex;
  flex-direction: column;
}

.lp-evolution-card .lp-card-body-text {
  flex: 1;
}

.lp-evolution-card--discord {
  text-align: center;
}

.lp-evolution-card--discord .lp-card-icon {
  margin-left: auto;
  margin-right: auto;
}

.lp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--bs-primary);
  text-decoration: none;
  transition: color 0.15s;
}

.lp-card-link:hover,
.lp-card-link:focus {
  color: #4338CA;
}

.lp-card-link--primary {
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 0.75rem 1.2rem;
  border-radius: 10px;
  background: var(--bs-primary);
  color: #fff;
}

.lp-card-link--primary:hover,
.lp-card-link--primary:focus {
  color: #fff;
  background: #4338CA;
}

.lp-device-frame {
  position: relative;
}

.lp-device-frame--phone {
  max-width: 320px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 38px;
  border: 1px solid rgba(17, 24, 39, 0.18);
  background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
  box-shadow: 0 26px 60px rgba(17, 24, 39, 0.22), 0 8px 24px rgba(79, 70, 229, 0.14);
}

.lp-device-frame--phone::before {
  content: '';
  display: block;
  width: 84px;
  height: 6px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.lp-device-frame--phone img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
}

/* ── Pricing teaser ── */
.lp-pricing-section {
  padding: 7rem 1.5rem;
  background: rgba(255, 255, 255, 0.6);
}

.lp-pricing-header {
  text-align: center;
  margin-bottom: 3rem;
}

.lp-pricing-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--bs-heading-color);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.lp-pricing-subtitle {
  font-size: 1rem;
  color: #6b7280;
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.65;
}

.lp-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  max-width: 980px;
  margin: 0 auto;
}

.lp-plan-card {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 20px;
  padding: 2rem;
}

.lp-plan-card--featured {
  background: linear-gradient(160deg, rgba(79, 70, 229, 0.05) 0%, #fff 70%);
  border: 2px solid var(--bs-primary);
  position: relative;
}

.lp-plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bs-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}

.lp-plan-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.lp-plan-label--featured {
  color: var(--bs-primary);
}

.lp-plan-price {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--bs-heading-color);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.lp-plan-note {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.lp-plan-checklist {
  margin-bottom: 1.75rem;
}

.lp-plan-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}

.lp-plan-btn--outline {
  color: var(--bs-body-color);
  border: 1px solid rgba(17, 24, 39, 0.15);
}

.lp-plan-btn--outline:hover,
.lp-plan-btn--outline:focus {
  background: rgba(17, 24, 39, 0.04);
  color: var(--bs-heading-color);
}

.lp-plan-btn--filled {
  color: #fff;
  background: var(--bs-primary);
}

.lp-plan-btn--filled:hover,
.lp-plan-btn--filled:focus {
  background: #4338CA;
  color: #fff;
}

.lp-pricing-compare {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s;
  text-align: center;
}

.lp-pricing-compare:hover,
.lp-pricing-compare:focus {
  color: var(--bs-primary);
}

.lp-pricing-compare-wrap {
  text-align: center;
}

/* ── Final CTA ── */
.lp-cta-section {
  padding: 9rem 1.5rem;
  background: radial-gradient(ellipse 1000px 500px at 50% 50%, rgba(79, 70, 229, 0.09), transparent);
  text-align: center;
}

.lp-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.lp-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--bs-heading-color);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.lp-cta-subtitle {
  font-size: 1.05rem;
  color: var(--bs-body-color);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.lp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  background: var(--bs-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2.25rem;
  border-radius: 12px;
  transition: background 0.15s;
}

.lp-cta-btn:hover,
.lp-cta-btn:focus {
  background: #4338CA;
  color: #fff;
}

/* ── Footer ── */
.lp-footer {
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.4);
}

.lp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.lp-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.lp-footer-brand img {
  height: 24px;
  width: auto;
  opacity: 0.65;
}

.lp-footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bs-body-color);
}

.lp-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.lp-footer-link {
  text-decoration: none;
  font-size: 0.83rem;
  color: #6b7280;
  transition: color 0.15s;
}

.lp-footer-link:hover,
.lp-footer-link:focus {
  color: var(--bs-primary);
}

.lp-footer-copy {
  font-size: 0.78rem;
  color: #6b7280;
}

.lp-legal-hero-title {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: 0;
}

.lp-legal-hero-meta {
  font-size: 0.9rem;
}

.lp-legal-content {
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.lp-legal-content .card-body {
  padding: 2rem;
}

.lp-legal-content h1:first-child {
  display: none;
}

.lp-legal-content h2,
.lp-legal-content h3,
.lp-legal-content h4 {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: 0;
}

.lp-legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.9rem;
  font-size: 1.45rem;
}

.lp-legal-content h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.65rem;
  font-size: 1.1rem;
}

.lp-legal-content p,
.lp-legal-content li {
  line-height: 1.75;
}

.lp-legal-content ul {
  padding-left: 1.2rem;
}

.lp-legal-content hr {
  margin: 2rem 0;
}

/* Boutons hero - version mobile sous l'image */
.lp-hero-actions--mobile {
  display: none;
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .lp-hero-actions--desktop {
    display: none !important;
  }

  .lp-feature-grid > div:not(.lp-img-placeholder):not(.lp-device-frame),
  .lp-feature-grid .lp-order-text,
  .app-hero .row.align-items-center.g-3 > [class*='col-']:first-child,
  .app-hero .row.align-items-center.g-3 > [class*='col-']:first-child .app-hero__pill,
  .app-hero .row.align-items-center.g-3 > [class*='col-']:first-child .d-flex,
  .app-hero__content {
    text-align: center;
  }

  .app-hero .row.align-items-center.g-3 > [class*='col-']:last-child,
  .app-hero .row.align-items-center.g-3 > [class*='col-']:last-child .btn,
  .app-hero .row.align-items-center.g-3 > [class*='col-']:last-child .d-inline-flex {
    justify-content: center;
  }

  .lp-feature-grid .lp-cat-pill,
  .lp-feature-grid .lp-cat-pill--premium,
  .lp-cards-header .lp-cat-pill {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-checklist {
    width: min(100%, 28rem);
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .lp-checklist li {
    justify-content: flex-start;
    text-align: left;
  }
  
  .lp-hero-actions--mobile {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  /* Ajuster le padding du hero en mobile */
  .lp-hero {
    padding: 7rem 1.5rem 3rem;
  }

  /* ──────────────────────────────────────── */
  /* Le reste du responsive mobile existant   */
  /* ──────────────────────────────────────── */
  .lp-hero-grid,
  .lp-feature-grid,
  .lp-feature-grid--img-left {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .lp-pricing-grid {
    grid-template-columns: 1fr;
  }

  .lp-evolution-grid {
    grid-template-columns: 1fr;
  }

  .lp-evolution-card {
    text-align: center;
  }

  .lp-evolution-card .lp-card-icon,
  .lp-evolution-card .lp-card-link {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-img-fluid-three-quarters {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .lp-device-frame--phone img {
    height: 500px;
  }

  /* On mobile always show text before illustration */
  .lp-order-img  { order: 2; }
  .lp-order-text { order: 1; }

  /* Hide desktop nav, show burger */
  #lp-nav .lp-nav-links { display: none; }
  #lp-nav .lp-hide-sm { display: none !important; }

  /* Mobile burger button avec animation améliorée */
  .lp-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 6px;
    margin-left: auto;
    border-radius: 8px;
    transition: background 0.2s ease;
  }

  .lp-burger:hover {
    background: rgba(17, 24, 39, 0.04);
  }

  .lp-burger-line {
    width: 22px;
    height: 2px;
    background: var(--bs-heading-color);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.2s ease,
                width 0.2s ease;
    transform-origin: center;
  }

  /* Animation du burger en croix */
  .lp-burger.is-active .lp-burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    width: 24px;
  }

  .lp-burger.is-active .lp-burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .lp-burger.is-active .lp-burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 24px;
  }

  /* Mobile menu - animation moderne d'apparition/disparition */
  .lp-mobile-menu {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    background: rgba(253, 248, 241, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem 1.5rem;
    overflow-y: auto;
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    transition: 
      opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.35s;
    flex-direction: column;
    pointer-events: none;
  }

  .lp-mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  /* Animation stagger des liens */
  .lp-mobile-link {
    display: block !important;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: var(--bs-heading-color);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: background 0.15s ease, transform 0.2s ease, color 0.15s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    transition-delay: calc(var(--item-index, 0) * 0.05s);
  }

  .lp-mobile-menu.is-open .lp-mobile-link {
    opacity: 1;
    transform: translateX(0);
    transition-delay: calc(var(--item-index, 0) * 0.05s);
  }

  /* Réactiver la navigation mobile */
  .lp-mobile-nav {
    display: flex !important;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  /* Assigner les index pour l'animation stagger */
  .lp-mobile-link:nth-child(1) { --item-index: 1; }
  .lp-mobile-link:nth-child(2) { --item-index: 2; }
  .lp-mobile-link:nth-child(3) { --item-index: 3; }
  .lp-mobile-link:nth-child(4) { --item-index: 4; }
  .lp-mobile-link:nth-child(5) { --item-index: 5; }

  /* Hover/focus pour les liens mobiles */
  .lp-mobile-link:hover,
  .lp-mobile-link:focus {
    background: rgba(79, 70, 229, 0.08);
    color: var(--bs-primary);
  }

  /* Animation et layout des boutons */
  .lp-mobile-actions {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(17, 24, 39, 0.1);
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: 
      opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.2s,
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
  }

  .lp-mobile-menu.is-open .lp-mobile-actions {
    opacity: 1;
    transform: translateY(0);
  }

  .lp-mobile-actions .lp-btn-ghost,
  .lp-mobile-actions .lp-btn-primary {
    flex: 1;
    text-align: center;
    justify-content: center;
    transform: scale(0.95);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.15s ease;
  }

  .lp-mobile-menu.is-open .lp-mobile-actions .lp-btn-ghost,
  .lp-mobile-menu.is-open .lp-mobile-actions .lp-btn-primary {
    transform: scale(1);
  }

  /* Prevent body scroll when mobile menu is open */
  body.lp-menu-open {
    overflow: hidden;
  }

  /* Hide desktop elements in mobile */
  #lp-nav .lp-nav-links,
  #lp-nav .lp-lang-switcher,
  #lp-nav .lp-nav-actions {
    display: none !important;
  }

  /* Hide SEO H1 visually on mobile but keep it for SEO */
  .lp-seo-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /* Adjust hero grid padding since H1 is now hidden */
  .lp-hero-grid {
    padding-top: 0;
  }

  /* Adjust hero h1 font size for mobile */
  .lp-hero-h1 {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .lp-section,
  .lp-hero,
  .lp-cards-section,
  .lp-pricing-section,
  .lp-cta-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}
