/* =========================================================
   GuideIT — Landing page prodotto (usa le variabili di style.css)
   ========================================================= */

.lp { background: var(--paper); padding-bottom: 84px; }
.lp .section { padding: 80px 0; }
.lp h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 28px; }
.lp h3 { font-size: 1.1rem; }

/* barra superiore minimale */
.lp-top { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 2px solid var(--ink); }
.lp-top-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.lp-top-link { font-weight: 800; border-bottom: 2px solid transparent; }
.lp-top-link:hover { border-color: var(--ink); }

/* hero */
.lp-hero { padding: 64px 0 80px; border-bottom: 2px solid var(--ink); background: var(--white); overflow: hidden; }
.lp-hero-inner { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: center; }
.lp-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 22px; }
.lp-lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 640px; }
.lp-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 30px; }
.lp-buy-center { justify-content: center; }
.lp-format { font-size: 0.92rem; color: var(--ink-muted); font-weight: 700; }
.lp-note { margin-top: 16px; font-size: 0.9rem; color: var(--ink-muted); max-width: 560px; }
.lp-note a, .lp-guarantee a { color: var(--violet); font-weight: 700; text-decoration: underline; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.lp-trust li {
  font-size: 0.85rem; font-weight: 800; padding: 6px 12px;
  border: 2px solid var(--ink); border-radius: 100px; background: var(--paper);
}
.lp-trust li::before { content: '✓ '; color: var(--success); }
.lp-hero-cover { position: relative; justify-self: center; }
.lp-hero-cover img {
  width: min(360px, 100%); border: 3px solid var(--ink); border-radius: 6px 18px 18px 6px;
  box-shadow: var(--shadow-lg); transform: rotate(2deg);
}

/* sezioni */
.lp-narrow { max-width: 820px; }
.lp-problems li, .lp-outcomes li, .lp-includes li, .lp-yes li, .lp-no li {
  position: relative; padding: 14px 0 14px 44px; border-bottom: 2px dashed rgba(21,19,43,0.15); font-size: 1.05rem;
}
.lp-problems li::before, .lp-outcomes li::before, .lp-includes li::before, .lp-yes li::before, .lp-no li::before {
  position: absolute; left: 0; top: 13px; width: 28px; height: 28px; display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 50%; font-weight: 800; font-size: 0.85rem;
}
.lp-problems li::before { content: '?'; background: var(--sun); }
.lp-outcomes li::before, .lp-yes li::before { content: '✓'; background: var(--mint); }
.lp-includes li::before { content: '+'; background: var(--gold); color: var(--on-gold); }
.lp-no li::before { content: '✕'; background: var(--coral); }
.lp-bridge { margin-top: 28px; font-weight: 800; font-size: 1.1rem; }

.lp-chapters { list-style: none; display: grid; gap: 14px; }
.lp-chapter {
  display: flex; gap: 18px; align-items: flex-start; background: var(--white);
  border: 2px solid var(--ink); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.lp-chapter-num {
  font-family: var(--font-display); font-size: 1.3rem; color: var(--violet); min-width: 42px;
}
.lp-chapter p { color: var(--ink-soft); margin-top: 4px; font-size: 0.97rem; }

.lp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.lp-box { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.lp-box h3 { margin: 28px 0 6px; }

.lp-guarantee { display: flex; gap: 32px; align-items: center; }
.lp-guarantee-seal {
  flex-shrink: 0; width: 120px; height: 120px; border-radius: 50%; background: var(--sun);
  border: 3px solid var(--ink); box-shadow: var(--shadow-sm); display: grid; place-content: center; text-align: center;
  font-family: var(--font-display); font-size: 2.4rem; line-height: 1;
}
.lp-guarantee-seal small { display: block; font-family: var(--font-body); font-size: 0.8rem; font-weight: 800; }
.lp-guarantee h2 { margin-bottom: 12px; }

.lp-faq { display: grid; gap: 12px; }
.lp-faq-item { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 0 22px; }
.lp-faq-item summary { cursor: pointer; font-weight: 800; padding: 18px 0; list-style: none; position: relative; padding-right: 30px; }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 1.4rem; }
.lp-faq-item[open] summary::after { content: '–'; }
.lp-faq-item p { padding-bottom: 18px; color: var(--ink-soft); }
.lp-disclaimer { margin-top: 24px; font-size: 0.85rem; color: var(--ink-muted); border-left: 4px solid var(--coral); padding-left: 14px; }

.lp-final { background: var(--night, #08070C); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.lp-final h2 { color: var(--gold); }
.lp-final h2, .lp-final .lp-lead { margin-left: auto; margin-right: auto; }
.lp-final .lp-lead { color: var(--ink); }

.lp-related-title { text-align: center; }
.lp-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); gap: 24px; justify-content: center; }
.lp-related-card {
  display: flex; gap: 16px; align-items: center; background: var(--white); border: 2px solid var(--ink);
  border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); transition: transform var(--transition);
}
.lp-related-card:hover { transform: translate(-2px, -2px); }
.lp-related-card img { width: 72px; height: auto; border: 2px solid var(--ink); border-radius: 4px; }
.lp-related-card span { display: block; font-size: 0.78rem; color: var(--ink-muted); font-weight: 700; }
.lp-related-card strong { display: block; line-height: 1.25; }
.lp-related-card em { font-style: normal; color: var(--violet); font-weight: 800; }

.lp-sample { background: var(--white); border: 2px solid var(--gold); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.lp-sample p { color: var(--ink-muted); margin: 4px 0 14px; font-size: 0.95rem; }
.lp-sample .lp-sample-prose { font-family: var(--font-body); font-size: 1rem; }
.lp-sample pre { white-space: pre-wrap; font-family: var(--font-mono); font-size: 0.9rem; line-height: 1.55; background: var(--paper); border-radius: 10px; padding: 16px; color: var(--ink); overflow-x: auto; }

/* barra di acquisto fissa */
.lp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white);
  border-top: 2px solid var(--ink); display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px max(16px, calc((100vw - 1200px) / 2 + 24px));
}
.lp-sticky strong { display: block; line-height: 1.2; }
.lp-sticky span { color: var(--violet); font-weight: 800; }

.lp-footer { padding: 32px 0; text-align: center; font-size: 0.88rem; color: var(--ink-muted); }
.lp-footer a { text-decoration: underline; }

@media (max-width: 860px) {
  .lp-hero { padding: 36px 0 56px; }
  .lp-hero-inner, .lp-grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .lp-hero-cover { order: -1; }
  .lp-hero-cover img { width: 170px; }
  .lp .section { padding: 56px 0; }
  .lp-box { padding: 24px; }
  .lp-guarantee { flex-direction: column; align-items: flex-start; }
  .lp-sticky strong { font-size: 0.9rem; }
  .lp .btn-lg { width: 100%; white-space: normal; }
  .container { padding: 0 16px; }
}
