/* ==========================================================================
   lp.css : Landing pages (campagnes Google Ads, pages de comparaison)
   S'appuie sur base.css + components.css (hero, section, feature-card, boutons).
   ========================================================================== */

html { scroll-padding-top: 96px; }

.lp-page .section h2 { max-width: 780px; }
.lp-page .section-desc { max-width: 580px; }

/* ===== MARQUEURS (carré violet + libellé mono) ===== */
.lp-sq {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-purple);
  flex: none;
}
.lp-marker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  line-height: 1.2;
}

/* ===== HERO ===== */
.lp-hero { padding-bottom: 88px; }
.lp-hero .hero-content { max-width: 540px; }
.lp-hero h1 { font-size: clamp(34px, 4vw, 46px); line-height: 1.08; }
.lp-hero p.lp-lead {
  font-size: 17px;
  line-height: 1.55;
  max-width: 510px;
}
.lp-hero p.lp-note {
  font-size: 14px;
  margin: 14px 0 0;
  max-width: none;
}
.lp-markers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
}

/* Visuel : carte de simulation + bulle + scorecard */
.lp-visual {
  position: relative;
  height: 552px;
}
.lp-sim {
  position: absolute;
  left: 26%;
  top: 0;
  width: 272px;
  height: 384px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #2b3444;
  box-shadow: 0 24px 60px rgba(17, 25, 39, 0.16);
}
.lp-sim img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-live {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FF3633;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 20px;
  padding: 4px 10px;
}
.lp-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}
.lp-speaking {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(17, 25, 39, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  padding: 11px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.lp-speaking i {
  display: inline-flex;
  gap: 3px;
}
.lp-speaking i b {
  width: 4px;
  height: 4px;
  background: #fff;
}
.lp-bubble {
  position: absolute;
  right: 0;
  top: 196px;
  width: 236px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 12px 32px rgba(17, 25, 39, 0.08);
}
.lp-bubble-who {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-purple);
  font-weight: 600;
  margin-bottom: 6px;
}
.hero .lp-bubble p {
  margin: 0;
  max-width: none;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-primary);
}
.lp-scorecard {
  position: absolute;
  left: 0;
  top: 372px;
  width: 262px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 12px 32px rgba(17, 25, 39, 0.08);
}
.lp-scorecard-row { margin-top: 10px; }
.lp-scorecard-row > span {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  margin-bottom: 6px;
}
.lp-reglette {
  display: flex;
  gap: 3px;
}
.lp-reglette b {
  width: 8px;
  height: 8px;
  background: var(--text-quaternary);
}
.lp-reglette b.on { background: var(--accent-purple); }

/* ===== 01 : CARTES DIFFÉRENCES ===== */
.lp-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 16px 0 10px;
}
.lp-card p strong {
  color: var(--text-primary);
  font-weight: 500;
}
.lp-card p a,
.lp-faq details p a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: rgba(17, 25, 39, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}
.lp-card p a:hover,
.lp-faq details p a:hover { text-decoration-color: currentColor; }

/* ===== 02 : GRILLE DE COMPARAISON ===== */
.lp-cmp { border-top: 1px solid var(--border); }
.lp-cmp-head,
.lp-cmp-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 1.25fr;
  gap: 24px;
  align-items: center;
}
.lp-cmp-head { padding: 16px 0; }
.lp-cmp-head span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.lp-cmp-head span.lp-cmp-us-head {
  color: var(--accent-purple);
  font-weight: 600;
}
.lp-cmp-row {
  padding: 16px 0;
  position: relative;
}
.lp-cmp-row::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0, var(--border-strong) 6px, transparent 6px, transparent 14px);
}
.lp-cmp-q {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  display: flex;
  gap: 12px;
}
.lp-cmp-q em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-purple);
  font-weight: 600;
  padding-top: 2px;
}
.lp-cmp-why {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.lp-cmp-us {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  gap: 12px;
}
.lp-cmp-us .lp-sq { margin-top: 7px; }
.lp-cmp-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}
.lp-cmp-foot .btn-primary {
  padding: 12px 26px;
  font-size: 14.5px;
}
.lp-cmp-foot p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ===== 03 : PREUVES ===== */
.lp-proof-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 16px;
}
.lp-stat,
.lp-quote,
.lp-verbatim {
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.lp-stat {
  background: var(--bg-card);
  padding: 32px;
  min-height: 260px;
}
.lp-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  margin-top: auto;
}
.lp-stat p {
  margin-top: 14px;
  font-size: 16px;
  color: var(--text-primary);
}
.lp-quote {
  margin: 0;
  background: var(--bg-elevated);
  padding: 32px;
  gap: 24px;
}
.lp-quote blockquote {
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.lp-quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text-secondary);
}
.lp-quote-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 1px solid var(--border);
}
.lp-quote figcaption strong {
  display: block;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 15px;
}
.lp-verbatims {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.lp-verbatim {
  margin: 0;
  background: var(--bg-elevated);
  padding: 24px;
  gap: 18px;
}
.lp-verbatim p {
  font-size: 16px;
  line-height: 1.5;
}

/* ===== 04 : ÉTAPES ===== */
.lp-step-n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--accent-purple);
  line-height: 1;
}
.lp-step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 18px 0 10px;
}

/* ===== 05 : FAQ (même rendu que la FAQ de la home, sans JS) ===== */
.lp-faq {
  max-width: 760px;
  margin-top: 32px;
}
.lp-faq details {
  background-image: linear-gradient(to right, rgba(17, 25, 39, 0.18) 6px, transparent 6px);
  background-size: 14px 1px;
  background-repeat: repeat-x;
  background-position: bottom;
}
.lp-faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.15s;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary h3 {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
}
.lp-faq summary:hover { color: var(--text-secondary); }
.lp-faq summary svg {
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.lp-faq details[open] summary svg { transform: rotate(45deg); }
.lp-faq details p {
  padding: 0 40px 20px 0;
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== 06 : RÉSERVER (fond Ink) ===== */
.lp-final {
  background: var(--text-primary);
  color: #fff;
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
}
.lp-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 8px 8px;
  pointer-events: none;
}
.lp-final-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.lp-final h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}
.lp-final-lead {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.55;
  max-width: 480px;
}
.lp-final ul {
  list-style: none;
  margin-top: 32px;
  display: grid;
  gap: 14px;
}
.lp-final li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
}
.lp-agenda {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  flex-direction: column;
}
.lp-agenda iframe {
  border: 0;
  width: 100%;
  flex: 1;
  min-height: 600px;
}
.lp-agenda-fallback {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.lp-agenda-fallback a {
  color: var(--text-primary);
  font-weight: 500;
}

/* ===== MENTION MARQUES (concurrents cités) ===== */
.lp-legal {
  padding: 20px 32px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-tertiary);
}

/* ===== BOUTON FLOTTANT (mobile) ===== */
.lp-mobile-cta { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .lp-hero { padding-bottom: 64px; }
  .lp-visual {
    order: 2;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
    height: 500px;
  }
  .lp-sim {
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 340px;
  }
  .lp-bubble { top: 150px; width: 200px; }
  .lp-scorecard { width: 230px; top: 326px; }
  .lp-proof-grid,
  .lp-verbatims,
  .lp-final-grid { grid-template-columns: 1fr; }
  .lp-cmp { border-top: 0; }
  .lp-cmp-head { display: none; }
  .lp-cmp-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 0;
  }
  .lp-final { padding: 72px 20px; }
  .lp-legal { padding: 16px 20px; }
}

@media (max-width: 640px) {
  .lp-mobile-cta {
    display: block;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 90;
    transition: opacity 0.25s, transform 0.25s;
  }
  .lp-mobile-cta .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 22px;
    font-size: 15px;
    box-shadow: 0 10px 30px rgba(17, 25, 39, 0.25);
  }
  .lp-mobile-cta.hide {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
  }
  body.lp-page { padding-bottom: 76px; }
  .lp-card h3 { font-size: 20px; }
  .lp-stat,
  .lp-quote { padding: 24px; }
  .lp-stat-num { font-size: 52px; }
  .lp-quote blockquote { font-size: 19px; }
  .lp-visual { height: 480px; }
  .lp-sim { width: 220px; height: 316px; left: 56%; }
  .lp-bubble { width: 176px; top: 140px; }
  .hero .lp-bubble p { font-size: 13px; }
  .lp-scorecard { width: 214px; padding: 14px; }
  .lp-faq details p { padding-right: 0; }
}
