/* =============================================
   livro.css — Landing Page de Livros
   Prefixo: lp- para evitar conflito com Bootstrap
   ============================================= */

/* ---- RESET / BASE ---- */

.lp-page * { box-sizing: border-box; }

/* ---- CONTAINER ---- */

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

/* ---- BREADCRUMB ---- */

.lp-breadcrumb {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 0;
  font-size: 13px;
  color: #64748b;
}

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

.lp-breadcrumb__list li + li::before {
  content: "›";
  color: #94a3b8;
  margin-right: 6px;
}

.lp-breadcrumb__list a {
  color: #22c55e;
  text-decoration: none;
}

.lp-breadcrumb__list a:hover { text-decoration: underline; }

/* ---- HERO ---- */

.lp-hero {
  background: #fff;
  padding: 50px 20px 60px;
}

.lp-hero__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: center;
}

/* Cover */

.lp-hero__cover {
  position: relative;
}

.lp-hero__cover img {
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.18), 0 10px 30px rgba(0,0,0,.10);
}

.lp-hero__badge {
  position: absolute;
  top: -14px;
  right: 30px;
  background: #f59e0b;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* Copy */

.lp-hero__copy { }

.lp-eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: .5px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-hero__h1 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 16px;
}

.lp-hero__sub {
  font-size: 17px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 22px;
}

/* Benefits */

.lp-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}

.lp-benefits li {
  font-size: 15px;
  color: #1e293b;
  padding: 7px 0 7px 28px;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
}

.lp-benefits li:last-child { border-bottom: none; }

.lp-benefits li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 900;
  font-size: 14px;
}

/* Price block */

.lp-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.lp-price--original {
  font-size: 16px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

.lp-price--current {
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
}

.lp-price--installment {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

/* CTA Button */

.lp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  font-size: 17px;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: center;
  letter-spacing: .2px;
}

.lp-cta--primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 12px 36px rgba(34,197,94,.38);
}

.lp-cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(34,197,94,.48);
  color: #fff;
}

.lp-cta--pulse {
  animation: lp-pulse 2.2s infinite;
}

@keyframes lp-pulse {
  0%, 100% { box-shadow: 0 12px 36px rgba(34,197,94,.38); }
  50%       { box-shadow: 0 12px 50px rgba(34,197,94,.65); }
}

.lp-cta--xl {
  font-size: 20px;
  padding: 22px 48px;
}

/* Trust inline */

.lp-trust-inline {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 13px;
  color: #64748b;
}

.lp-trust-inline span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ---- TRUST BAR ---- */

.lp-trust-bar {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 18px 20px;
}

.lp-trust-bar__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.lp-trust-bar__label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.lp-trust-bar__inner img {
  height: 34px;
  width: auto;
  opacity: .75;
  filter: grayscale(40%);
  transition: opacity .2s, filter .2s;
}

.lp-trust-bar__inner img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ---- SECTION TITLES ---- */

.lp-section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 16px;
}

.lp-section-title--red { color: #dc2626; }

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

.lp-section-subtitle {
  font-size: 17px;
  color: #475569;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.65;
}

/* ---- COPY SECTION ---- */

.lp-copy {
  background: #fff;
  padding: 80px 20px;
  border-top: 1px solid #f1f5f9;
}

.lp-copy__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.lp-copy__headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: #dc2626;
  line-height: 1.1;
  margin-bottom: 40px;
}

.lp-copy__text {
  font-size: 17px;
  line-height: 1.75;
  color: #1e293b;
  text-align: left;
}

.lp-copy__text p { margin-bottom: 20px; }

.lp-copy__text strong { font-weight: 800; }

.lp-copy__text .lp-highlight {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  background: #fef9c3;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ---- AUTHOR SECTION ---- */

.lp-author {
  background: #f8fafc;
  padding: 80px 20px;
  border-top: 1px solid #e2e8f0;
}

.lp-author__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: center;
}

.lp-author__photo img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border: 5px solid #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}

.lp-author__label {
  font-size: 12px;
  font-weight: 700;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 8px;
}

.lp-author__name {
  font-size: 28px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 14px;
}

.lp-author__text {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
}

.lp-author__creds {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lp-author__creds li {
  font-size: 14px;
  color: #1e293b;
  padding-left: 22px;
  position: relative;
  font-weight: 500;
}

.lp-author__creds li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 900;
  font-size: 13px;
}

/* ---- LEARN SECTION ---- */

.lp-learn {
  background: #fff;
  padding: 80px 20px;
  border-top: 1px solid #f1f5f9;
}

.lp-learn__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 70px;
  align-items: flex-start;
}

/* YouTube facade */

.lp-yt-facade {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.14);
  cursor: pointer;
  background: #000;
}

.lp-yt-facade img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: opacity .2s;
}

.lp-yt-facade:hover img { opacity: .85; }

.lp-yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  backdrop-filter: blur(4px);
}

.lp-yt-facade:hover .lp-yt-play {
  background: #dc2626;
  transform: translate(-50%, -50%) scale(1.08);
}

.lp-yt-iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 16px;
}

/* Learn list */

.lp-learn__content .lp-section-title { margin-bottom: 28px; }

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

.lp-learn__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 15px;
  color: #1e293b;
  line-height: 1.55;
}

.lp-learn__list li:last-child { border-bottom: none; }

.lp-learn__list .lp-learn__icon {
  min-width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- REVIEWS ---- */

.lp-reviews {
  background: #f8fafc;
  padding: 80px 20px;
  border-top: 1px solid #e2e8f0;
}

.lp-reviews__avg {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 40px;
  margin-top: -8px;
}

.lp-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.lp-review-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #e2e8f0;
}

.lp-review-stars {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 2px;
}

.lp-review-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.lp-review-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.lp-review-author {
  font-size: 13px;
  font-weight: 700;
  color: #22c55e;
  margin-top: 4px;
}

/* ---- FORMATS / COMBO ---- */

.lp-formats {
  background: #fff;
  padding: 80px 20px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

.lp-formats__headline {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 900;
  color: #dc2626;
  line-height: 1.15;
  max-width: 900px;
  margin: 0 auto 50px;
}

.lp-formats__image {
  max-width: 900px;
  margin: 0 auto 50px;
}

.lp-formats__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.lp-formats__cta { max-width: 440px; margin: 0 auto; }

/* ---- GUARANTEE ---- */

.lp-guarantee {
  background: #0f172a;
  padding: 70px 20px;
  color: #fff;
}

.lp-guarantee__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 50px;
  align-items: center;
}

.lp-guarantee__badge {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.lp-guarantee__icon { font-size: 48px; }

.lp-guarantee__days {
  font-size: 52px;
  font-weight: 900;
  color: #22c55e;
  line-height: 1;
}

.lp-guarantee__label {
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.lp-guarantee__copy h2 {
  font-size: 26px;
  font-weight: 900;
  color: #f1f5f9;
  margin-bottom: 14px;
}

.lp-guarantee__copy p {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0;
}

/* ---- FAQ ---- */

.lp-faq {
  background: #f8fafc;
  padding: 80px 20px;
  border-top: 1px solid #e2e8f0;
}

.lp-faq__list {
  max-width: 820px;
  margin: 40px auto 0;
}

.lp-faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}

.lp-faq-item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.lp-faq-item summary::-webkit-details-marker { display: none; }

.lp-faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 700;
  color: #22c55e;
  flex-shrink: 0;
  transition: transform .2s;
}

.lp-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.lp-faq-item .lp-faq-answer {
  padding: 0 24px 22px;
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
}

/* ---- FINAL CTA ---- */

.lp-final-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 90px 20px;
  text-align: center;
  color: #fff;
}

.lp-final-cta__headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: #f1f5f9;
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 16px;
}

.lp-final-cta__sub {
  font-size: 17px;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.lp-final-cta__wrap { max-width: 440px; margin: 0 auto; }

.lp-final-cta__price {
  font-size: 14px;
  color: #64748b;
  margin-top: 14px;
}

/* ---- STICKY CTA MOBILE ---- */

.lp-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 12px 16px;
  background: rgba(15,23,42,.96);
  backdrop-filter: blur(8px);
  display: none;
  border-top: 1px solid rgba(255,255,255,.08);
}

.lp-sticky-cta__btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(34,197,94,.4);
}

/* ---- RESPONSIVE ---- */

@media (max-width: 1024px) {

  .lp-learn__inner {
    grid-template-columns: 340px 1fr;
    gap: 48px;
  }

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

}

@media (max-width: 900px) {

  .lp-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .lp-hero__cover img {
    max-width: 280px;
  }

  .lp-hero__badge {
    right: 50%;
    transform: translateX(50%);
  }

  .lp-eyebrow,
  .lp-trust-inline {
    justify-content: center;
  }

  .lp-benefits li { text-align: left; }

  .lp-price-block { justify-content: center; }

  .lp-author__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

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

  .lp-author__creds li { text-align: left; }

  .lp-learn__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lp-learn__video-wrap {
    max-width: 480px;
    margin: 0 auto;
  }

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

  .lp-guarantee__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

}

@media (max-width: 640px) {

  .lp-hero { padding: 36px 16px 48px; }

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

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

  .lp-sticky-cta { display: none; } /* controlado por JS */

}
