/* ============================================
   Defesa Digital — Landing Page
   Tema: cibersegurança / confiança
   ============================================ */

:root {
  --bg:        #0a0e1a;
  --bg-2:      #0e1424;
  --surface:   #131c30;
  --surface-2: #18233c;
  --border:    #243049;

  --text:      #e8edf6;
  --muted:     #9aa7c0;

  --primary:   #2dd4bf;   /* teal */
  --primary-d: #14b8a6;
  --accent:    #3b82f6;   /* azul confiança */
  --cta:       #f59e0b;   /* âmbar — botão de compra */
  --cta-d:     #d97706;
  --danger:    #ef4444;

  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1140px;
  --shadow:    0 20px 50px -20px rgba(0, 0, 0, .6);
  --shadow-glow: 0 0 60px -10px rgba(45, 212, 191, .35);

  --font:      "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", var(--font);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 800; }

.hl {
  color: var(--primary);
  background: linear-gradient(120deg, var(--primary), #6ee7d8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(45, 212, 191, .1);
  border: 1px solid rgba(45, 212, 191, .25);
  padding: 6px 14px;
  border-radius: 999px;
}
.eyebrow.center { display: block; width: fit-content; margin: 0 auto 18px; }

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  text-align: center;
  letter-spacing: -.02em;
}
.section-title.left { text-align: left; }

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 14px auto 0;
  font-size: 1.08rem;
}
.section-sub.left { text-align: left; margin-left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 26px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
  font-size: 1rem;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-d));
  color: #042620;
  box-shadow: 0 10px 30px -12px rgba(45, 212, 191, .7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(45, 212, 191, .8); }

.btn-cta {
  background: linear-gradient(120deg, var(--cta), var(--cta-d));
  color: #2b1500;
  box-shadow: 0 12px 34px -10px rgba(245, 158, 11, .7);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(245, 158, 11, .85); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-sm  { padding: 10px 18px; font-size: .92rem; }
.btn-lg  { padding: 17px 32px; font-size: 1.08rem; }
.btn-block { display: flex; width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 26, .8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.01em;
}
.brand strong { color: var(--primary); font-weight: 800; }
.brand-icon { color: var(--primary); flex-shrink: 0; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(60px, 9vw, 110px);
  background:
    radial-gradient(900px 500px at 75% -10%, rgba(45, 212, 191, .14), transparent 60%),
    radial-gradient(700px 500px at 10% 10%, rgba(59, 130, 246, .12), transparent 55%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  letter-spacing: -.03em;
  margin: 20px 0 18px;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 560px; }
.lead strong { color: var(--text); }

.hero-cta { display: flex; gap: 14px; margin: 30px 0 26px; flex-wrap: wrap; }

.hero-trust { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hero-trust li { color: var(--muted); font-size: .98rem; }

/* Hero art / book */
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }

.book {
  position: relative;
  width: 280px;
  height: 380px;
  transform: rotate(-6deg) perspective(1000px) rotateY(12deg);
  transition: transform .5s ease;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.55));
}
.book:hover { transform: rotate(-3deg) perspective(1000px) rotateY(6deg); }

.book-cover {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 6px 14px 14px 6px;
  background:
    radial-gradient(120% 80% at 30% 0%, rgba(45,212,191,.25), transparent 55%),
    linear-gradient(160deg, #16233e, #0c1426);
  border: 1px solid rgba(45, 212, 191, .3);
  box-shadow: var(--shadow-glow), inset 0 0 0 1px rgba(255,255,255,.03);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.book-spine {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 14px;
  background: linear-gradient(90deg, #050a14, #0e1830);
  border-radius: 6px 0 0 6px;
  z-index: 3;
}
.book-shield { color: var(--primary); margin-bottom: auto; }
.book-kicker { color: var(--primary); font-weight: 700; letter-spacing: .35em; font-size: .72rem; }
.book-title { font-size: 2.5rem; line-height: 1.02; margin: 6px 0 12px; color: #fff; letter-spacing: -.02em; }
.book-sub { color: var(--muted); font-size: .95rem; }
.book-edition {
  margin-top: 18px;
  font-size: .72rem;
  color: var(--primary);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  width: 100%;
}

.floating-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: .9rem;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.badge-lock { top: 8%; left: -4%; color: var(--primary); }
.badge-pdf  { bottom: 10%; right: -6%; color: var(--accent); animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ===== Stats ===== */
.stats { padding: 30px 0 10px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--primary);
  letter-spacing: -.02em;
}
.stat-label { color: var(--muted); font-size: .95rem; display: block; margin-top: 6px; }
.stats-note { text-align: center; color: #5e6b85; font-size: .78rem; margin-top: 16px; }

/* ===== Section spacing ===== */
.pain, .benefits, .content, .audience, .bonus, .testimonials, .offer, .faq, .final-cta {
  padding: clamp(56px, 8vw, 96px) 0;
}

/* ===== Pain ===== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 40px 0 30px;
}
.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .2s, border-color .2s;
}
.pain-card:hover { transform: translateY(-4px); border-color: rgba(45,212,191,.4); }
.pain-emoji { font-size: 2rem; display: block; margin-bottom: 12px; }
.pain-card p { color: var(--muted); font-size: .96rem; }
.pain-cta { text-align: center; font-size: 1.2rem; font-weight: 600; color: var(--text); margin-top: 10px; }

/* ===== Benefits ===== */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.benefit {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.benefit:hover {
  transform: translateY(-5px);
  border-color: rgba(45,212,191,.45);
  box-shadow: var(--shadow);
}
.benefit-ico {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  background: rgba(45,212,191,.12);
  border: 1px solid rgba(45,212,191,.25);
  border-radius: 14px;
  margin-bottom: 18px;
}
.benefit h3 { font-size: 1.2rem; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: .97rem; }

/* ===== Content / Chapters ===== */
.content { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.content-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.content-intro { position: sticky; top: 90px; }
.content-intro .btn { margin-top: 24px; }

.chapters { list-style: none; display: flex; flex-direction: column; gap: 12px; counter-reset: ch; }
.chapters li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  transition: border-color .2s, transform .2s;
}
.chapters li:hover { border-color: rgba(45,212,191,.4); transform: translateX(4px); }
.ch-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
  min-width: 34px;
}
.chapters h4 { font-size: 1.08rem; margin-bottom: 3px; }
.chapters p { color: var(--muted); font-size: .94rem; }

/* ===== Audience ===== */
.audience-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  margin-top: 44px;
}
.aud-col {
  border-radius: var(--radius);
  padding: 32px 30px;
  border: 1px solid var(--border);
}
.aud-yes { background: rgba(45, 212, 191, .07); border-color: rgba(45,212,191,.3); }
.aud-no  { background: rgba(239, 68, 68, .05); border-color: rgba(239,68,68,.22); }
.aud-col h3 { font-size: 1.25rem; margin-bottom: 18px; }
.aud-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.aud-col li { color: var(--muted); padding-left: 4px; }
.aud-yes li::marker { content: ""; }

/* ===== Bonus ===== */
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.bonus-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px 28px;
}
.bonus-tag {
  position: absolute;
  top: -13px; left: 26px;
  background: linear-gradient(120deg, var(--accent), #6366f1);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.bonus-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.bonus-card p { color: var(--muted); font-size: .95rem; }

/* ===== Testimonials ===== */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.test-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.stars { color: #fbbf24; letter-spacing: .15em; margin-bottom: 14px; }
.test-card blockquote { font-size: 1.02rem; color: var(--text); margin-bottom: 14px; }
.test-card figcaption { color: var(--muted); font-size: .9rem; font-weight: 600; }

/* ===== Offer ===== */
.offer { background: radial-gradient(800px 400px at 50% 0%, rgba(45,212,191,.1), transparent 60%); }
.offer-card {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(45,212,191,.35);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow), var(--shadow-glow);
  position: relative;
}
.offer-flag {
  position: absolute;
  top: -16px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(120deg, var(--cta), var(--cta-d));
  color: #2b1500;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .82rem;
  padding: 7px 20px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.offer-card h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 10px; }
.offer-desc { color: var(--muted); margin-bottom: 28px; }

.price-block { margin: 0 0 28px; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 1rem; }
.price-now { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 6px 0; }
.price-cents { color: var(--muted); font-size: 1.05rem; }
.price-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  color: var(--primary);
  letter-spacing: -.03em;
}
.price-cash { color: var(--text); font-size: 1rem; }

.offer-includes {
  list-style: none;
  display: grid;
  gap: 12px;
  text-align: left;
  max-width: 360px;
  margin: 0 auto 28px;
}
.offer-includes li { color: var(--text); font-size: 1rem; }

.offer-secure { color: var(--muted); font-size: .88rem; margin-top: 14px; }

.guarantee {
  display: flex;
  gap: 20px;
  align-items: center;
  text-align: left;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.guarantee-seal {
  flex-shrink: 0;
  width: 76px; height: 76px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary);
  background: rgba(45,212,191,.1);
  border: 2px dashed rgba(45,212,191,.5);
  line-height: 1;
  flex-direction: column;
}
.guarantee-seal small { font-size: .6rem; letter-spacing: .1em; }
.guarantee h4 { font-size: 1.1rem; margin-bottom: 4px; }
.guarantee p { color: var(--muted); font-size: .92rem; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 760px; }
.faq-list { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--muted); }

/* ===== Final CTA ===== */
.final-cta {
  text-align: center;
  background:
    radial-gradient(700px 360px at 50% 120%, rgba(59,130,246,.18), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--border);
}
.final-cta h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); letter-spacing: -.02em; }
.final-cta p { color: var(--muted); max-width: 560px; margin: 16px auto 32px; font-size: 1.1rem; }

/* ===== Footer ===== */
.site-footer { background: #070b14; border-top: 1px solid var(--border); padding: 56px 0 30px; }
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--muted); margin-top: 12px; max-width: 280px; font-size: .95rem; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .2s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: #5e6b85; font-size: .85rem; }
.footer-legal { max-width: 480px; }

/* ===== Sticky mobile CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(10, 14, 26, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}
.sticky-cta span { font-size: .95rem; color: var(--muted); }
.sticky-cta strong { color: var(--primary); font-size: 1.15rem; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================
   Responsivo
   ============================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; min-height: 320px; }
  .content-grid { grid-template-columns: 1fr; gap: 36px; }
  .content-intro { position: static; }
  .pain-grid, .benefit-grid, .bonus-grid, .test-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .pain-grid, .benefit-grid, .bonus-grid, .test-grid { grid-template-columns: 1fr; }
  .offer-card { padding: 40px 24px; }
  .guarantee { flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column; }
  .sticky-cta { display: flex; }
  main { padding-bottom: 72px; }
  .book { width: 230px; height: 320px; }
}

/* ===== Checkout modal (PIX) ===== */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}
.checkout-modal[hidden] { display: none; }

.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 18, .78);
  backdrop-filter: blur(4px);
}

.checkout-panel {
  position: relative;
  width: min(480px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(45, 212, 191, .35);
  border-radius: 20px;
  padding: 32px 28px 28px;
  box-shadow: var(--shadow), var(--shadow-glow);
}

.checkout-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.checkout-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  margin-bottom: 8px;
}

.checkout-panel h3 {
  font-size: 1.45rem;
  margin: 0 0 10px;
  letter-spacing: -.02em;
}

.checkout-desc {
  color: var(--muted);
  font-size: .95rem;
  margin: 0 0 18px;
  line-height: 1.5;
}

.checkout-price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary);
  margin: 0 0 18px;
}

.checkout-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 6px;
  text-align: left;
}

.checkout-input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
}

.checkout-input:focus {
  outline: 2px solid rgba(45, 212, 191, .45);
  border-color: var(--primary);
}

.checkout-error {
  color: #f87171;
  font-size: .9rem;
  margin: 0 0 12px;
  text-align: left;
}

.checkout-qr {
  display: block;
  width: min(240px, 80vw);
  margin: 0 auto 16px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}

.checkout-copy {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: .82rem;
  resize: none;
  word-break: break-all;
}

.checkout-status {
  margin-top: 14px;
  font-size: .92rem;
  color: var(--muted);
  text-align: center;
}

.checkout-status.ok { color: var(--primary); font-weight: 700; }
.checkout-status.err { color: #f87171; }

/* ===== Acessibilidade — reduzir movimento ===== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
