/* ===================================================
   LANDING PAGE — Commande+ (Mailchimp-inspired)
   =================================================== */

:root {
  --navy: #1e2a3a;
  --rouge: #e63946;
  --rouge-dark: #c5303c;
  --blanc: #ffffff;
  --creme: #f5f3f0;
  --gris-clair: #f8f9fa;
  --gris-texte: #6c757d;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.container-landing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* ===== HEADER ===== */
.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: var(--blanc);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.lp-header .container-landing {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-header__logo img {
  height: 38px;
  width: auto;
}

.lp-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lp-header__nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

.lp-header__nav a:hover {
  color: var(--rouge);
}

.lp-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.lp-btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.lp-btn--outline:hover {
  background: var(--navy);
  color: var(--blanc);
}

.lp-btn--primary {
  background: var(--rouge);
  color: var(--blanc);
}

.lp-btn--primary:hover {
  background: var(--rouge-dark);
  color: var(--blanc);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.lp-btn--large {
  padding: 14px 36px;
  font-size: 16px;
}

.lp-btn--dark {
  background: var(--navy);
  color: var(--blanc);
}

.lp-btn--dark:hover {
  background: #2a3d52;
  color: var(--blanc);
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.lp-hero {
  padding: 130px 0 80px;
  background: var(--creme);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.lp-hero__content {
  max-width: 560px;
}

.lp-hero__badge {
  display: inline-block;
  background: rgba(30, 42, 58, 0.1);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lp-hero__title {
  font-size: 52px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.lp-hero__subtitle {
  font-size: 18px;
  color: rgba(30, 42, 58, 0.75);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.lp-hero__ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.lp-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lp-hero__phone {
  max-width: 280px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.2));
  position: relative;
  z-index: 2;
}

.lp-hero__dashboard {
  display: none;
  position: absolute;
  top: 40px;
  right: -30px;
  width: 230px;
  background: var(--blanc);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  z-index: 3;
}

.lp-hero__dashboard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.lp-hero__dashboard-header i {
  color: var(--rouge);
}

.lp-hero__mini-kpi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lp-hero__mini-kpi-item {
  background: var(--gris-clair);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.lp-hero__mini-kpi-item .kpi-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  display: block;
}

.lp-hero__mini-kpi-item .kpi-label {
  font-size: 11px;
  color: var(--gris-texte);
  margin-top: 2px;
  display: block;
}

/* ===== TRUST BANNER ===== */
.lp-trust {
  background: var(--navy);
  padding: 20px 0;
}

.lp-trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.lp-trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
}

.lp-trust__item i {
  font-size: 20px;
  color: var(--rouge);
}

.lp-trust__stars {
  color: var(--rouge);
  font-size: 14px;
  letter-spacing: 2px;
}

/* ===== FEATURES GRID ===== */
.lp-features {
  padding: 100px 0;
  background: var(--blanc);
}

.lp-section-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--rouge);
  margin-bottom: 12px;
}

.lp-section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.lp-section-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--gris-texte);
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.lp-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.lp-feature-card {
  background: var(--gris-clair);
  border-radius: 20px;
  padding: 40px 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lp-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.lp-feature-card__icon {
  width: 56px;
  height: 56px;
  background: var(--blanc);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.lp-feature-card__icon i {
  font-size: 24px;
  color: var(--rouge);
}

.lp-feature-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.lp-feature-card__text {
  font-size: 14px;
  color: var(--gris-texte);
  line-height: 1.7;
  margin-bottom: 16px;
}

.lp-feature-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s;
}

.lp-feature-card__link:hover {
  color: var(--rouge);
  gap: 10px;
}

/* ===== ADVANCED FEATURES ===== */
.lp-advanced {
  padding: 100px 0;
  background: var(--creme);
}

.lp-advanced__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.lp-advanced-card {
  background: var(--blanc);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lp-advanced-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.lp-advanced-card__visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.lp-advanced-card__visual--routes {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  color: #2e7d32;
}

.lp-advanced-card__visual--mobile {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: #1565c0;
}

.lp-advanced-card__visual--stats {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  color: #e65100;
}

.lp-advanced-card__body {
  padding: 28px 24px;
}

.lp-advanced-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.lp-advanced-card__text {
  font-size: 14px;
  color: var(--gris-texte);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ===== PARTNERS CAROUSEL ===== */
.lp-partners {
  padding: 60px 0;
  background: var(--blanc);
  overflow: hidden;
}

.lp-partners__track {
  display: flex;
  width: max-content;
  animation: lp-scroll 25s linear infinite;
}

.lp-partners__track:hover {
  animation-play-state: paused;
}

.lp-partner-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  height: 60px;
  font-size: 22px;
  font-weight: 700;
  color: rgba(30, 42, 58, 0.25);
  white-space: nowrap;
  user-select: none;
  letter-spacing: -0.5px;
}

@keyframes lp-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===== KPI SECTION ===== */
.lp-kpi {
  padding: 100px 0;
  background: var(--navy);
  color: var(--blanc);
}

.lp-kpi .lp-section-label {
  color: var(--rouge);
}

.lp-kpi .lp-section-title {
  color: var(--blanc);
}

.lp-kpi .lp-section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.lp-kpi__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.lp-kpi-card {
  text-align: center;
  padding: 32px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-kpi-card__value {
  font-size: 44px;
  font-weight: 800;
  color: var(--blanc);
  line-height: 1;
  margin-bottom: 8px;
}

.lp-kpi-card__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.lp-kpi-card__desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 8px;
  line-height: 1.5;
}

/* ===== CTA DOWNLOAD ===== */
.lp-cta {
  padding: 100px 0;
  background: var(--creme);
  text-align: center;
}

.lp-cta__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.lp-cta__subtitle {
  font-size: 16px;
  color: var(--gris-texte);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.lp-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.lp-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: 'Poppins', sans-serif;
  color: var(--blanc);
  background: var(--navy);
}

.lp-dl-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: var(--blanc);
}

.lp-dl-btn i {
  font-size: 28px;
}

.lp-dl-btn__text small {
  display: block;
  font-size: 11px;
  opacity: 0.7;
  line-height: 1;
}

.lp-dl-btn__text span {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

/* ===== FOOTER ===== */
.lp-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px;
}

.lp-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.lp-footer__logo img {
  height: 38px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.lp-footer__desc {
  font-size: 13px;
  line-height: 1.7;
  max-width: 300px;
}

.lp-footer__heading {
  font-size: 14px;
  font-weight: 600;
  color: var(--blanc);
  margin-bottom: 20px;
}

.lp-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lp-footer__links li {
  margin-bottom: 12px;
}

.lp-footer__links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s;
}

.lp-footer__links a:hover {
  color: var(--blanc);
}

.lp-footer__dl {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-footer__dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.15s, background 0.15s;
}

.lp-footer__dl-btn:hover {
  border-color: var(--blanc);
  background: rgba(255, 255, 255, 0.06);
  color: var(--blanc);
}

.lp-footer__dl-btn i {
  font-size: 20px;
}

.lp-footer__dl-btn small {
  font-size: 10px;
  opacity: 0.6;
  display: block;
  line-height: 1;
}

.lp-footer__dl-btn span {
  font-size: 14px;
  font-weight: 600;
  display: block;
}

.lp-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 60px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.lp-footer__bottom-links {
  display: flex;
  gap: 24px;
}

.lp-footer__bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.15s;
}

.lp-footer__bottom-links a:hover {
  color: var(--blanc);
}

/* ===== LEGAL PAGES (with landing header/footer) ===== */
.legal-wrapper {
  padding-top: 110px;
  padding-bottom: 60px;
  min-height: auto;
}

/* ===== AVANT / APRÈS ===== */
.lp-compare {
  padding: 100px 0;
  background: var(--gris-clair);
}

.lp-compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.lp-compare-col {
  background: var(--blanc);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.lp-compare-col--after {
  border: 2px solid var(--rouge);
  box-shadow: 0 12px 40px rgba(230, 57, 70, 0.1);
}

.lp-compare-col__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.lp-compare-col--before .lp-compare-col__head i {
  color: var(--gris-texte);
  font-size: 22px;
}

.lp-compare-col--after .lp-compare-col__head i {
  color: var(--rouge);
  font-size: 22px;
}

.lp-compare-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
}

.lp-compare-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gris-texte);
}

.lp-compare-col--before .lp-compare-list li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  top: 0;
  color: #c0392b;
  font-weight: 700;
}

.lp-compare-col--after .lp-compare-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #2e7d32;
  font-weight: 700;
}

.lp-compare-col__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 18px;
  border-radius: 12px;
  line-height: 1.4;
}

.lp-compare-col__foot--bad {
  background: rgba(192, 57, 43, 0.08);
  color: #c0392b;
}

.lp-compare-col__foot--good {
  background: rgba(46, 125, 50, 0.1);
  color: #2e7d32;
}

.lp-compare-col__foot i {
  font-size: 20px;
}

/* ===== ESPACE PRIVÉ ===== */
.lp-private {
  padding: 90px 0;
  background: var(--navy);
}

.lp-private__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.lp-private__icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(230, 57, 70, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-private__icon i {
  font-size: 40px;
  color: var(--rouge);
}

.lp-private__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--blanc);
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.lp-private__text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 760px;
}

/* ===== TARIFS ===== */
.lp-pricing {
  padding: 100px 0;
  background: var(--blanc);
}

.lp-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.lp-pricing-card {
  background: var(--gris-clair);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lp-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.lp-pricing-card--featured {
  border-color: var(--rouge);
  background: var(--blanc);
  box-shadow: 0 12px 40px rgba(230, 57, 70, 0.12);
}

.lp-pricing-card__name {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--rouge);
  margin-bottom: 16px;
}

.lp-pricing-card__price {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 10px;
}

.lp-pricing-card__price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--gris-texte);
}

.lp-pricing-card__vol {
  font-size: 14px;
  color: var(--gris-texte);
}

.lp-pricing__note {
  text-align: center;
  font-size: 13px;
  color: var(--gris-texte);
  margin-top: 32px;
}

/* ===== PRÉSENTATION / DECK PDF ===== */
.lp-deck {
  padding: 80px 0;
  background: var(--creme);
}

.lp-deck__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--blanc);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.lp-deck__icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(230, 57, 70, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-deck__icon i {
  font-size: 36px;
  color: var(--rouge);
}

.lp-deck__content {
  flex-grow: 1;
}

.lp-deck__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}

.lp-deck__text {
  font-size: 14px;
  color: var(--gris-texte);
  line-height: 1.6;
  margin: 0;
}

.lp-deck__btn {
  flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .lp-compare__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .lp-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .lp-private__inner {
    flex-direction: column;
    text-align: center;
  }

  .lp-private__text {
    max-width: none;
  }

  .lp-deck__inner {
    flex-direction: column;
    text-align: center;
  }

  .lp-header__nav {
    display: none;
  }

  .lp-hero {
    padding: 110px 0 60px;
    min-height: auto;
  }

  .lp-hero__title {
    font-size: 36px;
  }

  .lp-hero__visual {
    margin-top: 48px;
  }

  .lp-hero__dashboard {
    display: none;
  }

  .lp-features__grid,
  .lp-advanced__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .lp-kpi__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 575.98px) {
  .container-landing {
    padding: 0 16px;
  }

  .lp-hero__title {
    font-size: 30px;
  }

  .lp-hero__subtitle {
    font-size: 15px;
  }

  .lp-hero__phone {
    max-width: 200px;
  }

  .lp-hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .lp-hero__ctas .lp-btn {
    justify-content: center;
  }

  .lp-section-title {
    font-size: 28px;
  }

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

  .lp-kpi-card__value {
    font-size: 36px;
  }

  .lp-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lp-footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .lp-trust__inner {
    gap: 20px;
  }
}