/* ============================================================
   BizPlanMagic — Landing pages publicitaires (P6 Ads)
   Chargé uniquement en mode landing (header.inc.php, $landing_mode).
   Réutilise styles.css au maximum : ici, seulement les écarts landing.
   ============================================================ */

/* CTA d'en-tête en mode landing : toujours visible (pas de burger mobile). */
.lp-header-cta { white-space: nowrap; }

/* Conteneur de lecture resserré pour les landings. */
.container.lp-narrow { max-width: 820px; }

/* ---- Hero centré, focalisé sur une seule action ---- */
.lp-hero { text-align: center; padding: 64px 0 48px; }
.lp-hero h1 { margin-bottom: 18px; }
.lp-hero .lead { margin-bottom: 20px; }
.lp-cta-row { justify-content: center; margin-top: 10px; margin-bottom: 10px; }

/* CTA principal agrandi (hero + cta-band). */
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }

/* Flèche dans le CTA (hero illustré). */
.btn-arrow { vertical-align: middle; margin-left: 8px; transition: transform .15s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============================================================
   Hero ILLUSTRÉ (2 colonnes : texte à gauche + photo full-bleed à droite).
   Utilisé par la landing restauration. Mobile : photo en bandeau au-dessus.
   ============================================================ */
.lp-hero-media { width: 100%; background: #fff; overflow: hidden; }
.lp-hero-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 520px;
}
.lp-hero-media-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* aligne le texte sur la gouttière du .container (max-width 1140 + 24px) */
  padding: 56px 48px 56px max(24px, calc((100vw - 1140px) / 2 + 24px));
}
.lp-hero-media-copy .lead { margin-bottom: 18px; }
.lp-hero-media-copy .btn-row { margin: 6px 0 0; }
.lp-hero-media-copy .lp-secondary { margin-top: 14px; }

/* Filet orange sous le titre (accent mockup Iris). */
.lp-hero-rule {
  display: block;
  width: 64px; height: 4px;
  background: var(--color-orange);
  border-radius: 2px;
  margin: 4px 0 22px;
}

/* Photo : full-bleed à droite + fondu doux sur le bord gauche.
   L'image est portée par une classe modificatrice (1 par landing illustrée). */
.lp-hero-media-photo {
  position: relative;
  background-size: cover;
  background-position: center;
}
.lp-hero-media-photo--resto     { background-image: url('/img/landing/franchise-restauration-hero.jpg'); }
.lp-hero-media-photo--franchise { background-image: url('/img/landing/franchise-hero.jpg'); }
.lp-hero-media-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 16%);
  pointer-events: none;
}

@media (max-width: 860px) {
  .lp-hero-media-grid { grid-template-columns: 1fr; min-height: 0; }
  .lp-hero-media-photo { order: -1; min-height: 220px; }
  .lp-hero-media-photo::before {
    background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 35%);
  }
  .lp-hero-media-copy { padding: 28px 24px 8px; }
}

/* Lien secondaire discret vers l'exemple — jamais un 2e gros bouton. */
.lp-secondary { margin-top: 12px; font-size: 0.92rem; }
.lp-secondary a { color: var(--color-grey); text-decoration: underline; }
.lp-secondary a:hover { color: var(--color-orange-dark); }
.lp-secondary--center { text-align: center; margin-top: 18px; margin-bottom: 0; }

/* Sur la bande CTA sombre : lien exemple lisible (blanc, pas gris sur noir). */
.cta-band .lp-secondary a { color: #fff; }
.cta-band .lp-secondary a:hover { color: var(--color-orange); }

/* Checklists hors carte : bloc centré, items alignés à gauche. */
.lp-checklist { max-width: 640px; margin: 0 auto; }
.lp-checklist li { font-size: 1.02rem; }
@media (min-width: 620px) {
  .lp-checklist--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
    max-width: 680px;
  }
  .lp-checklist--2col li { margin-bottom: 12px; }
}

/* « Comment ça marche » : liste numérotée verticale, lisible sur mobile. */
.lp-steps { list-style: none; max-width: 600px; margin: 0 auto; padding: 0; }
.lp-steps li { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.lp-steps li:last-child { margin-bottom: 0; }
.lp-step-num {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
