/* ============================================================
   viverdefreelancer.com.br — style.css
   ============================================================ */

:root {
  --bg:      #0C0B0E;
  --card:    #1A1820;
  --border:  rgba(255,255,255,0.08);
  --text:    #F5F2EE;
  --muted:   #9A9590;
  --accent:  #E8C547;
  --accent2: #FF5733;
  --green:   #3DCA7A;
  --max:     1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── Layout ── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sec  { padding: 90px 0; }
.tc   { text-align: center; }

/* ── Tipografia ── */
h1,h2,h3 { font-family: 'Syne', 'Inter', 'Segoe UI', Arial, sans-serif; line-height: 1.15; }

.sec-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.sec-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}

.sec-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}
.tc .sec-sub { margin: 0 auto; }

/* ── Botões ── */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #111;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 18px 36px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}
.btn:hover {
  background: #d4b03e;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(232,197,71,0.4);
}
.btn-full { display: block; width: 100%; font-size: 1.05rem; padding: 20px; }
.btn-sub  { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 10px; }

/* ── Promo bar ── */
#promo-bar {
  background: var(--accent2);
  color: #fff;
  text-align: center;
  padding: 11px 16px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ── Hero ── */
#hero {
  padding: 80px 0 100px;
  background: var(--bg);
}
.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid     { flex-direction: row; gap: 72px; }
  .hero-copy     { flex: 1; }
  .hero-book     { flex: 0 0 300px; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,197,71,0.1);
  border: 1px solid rgba(232,197,71,0.3);
  border-radius: 100px;
  padding: 5px 14px 5px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero-h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero-sub strong { color: var(--text); }

.hero-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.97rem;
  color: var(--muted);
}
.hc-icon {
  width: 22px; height: 22px;
  background: rgba(61,202,122,0.12);
  border: 1px solid rgba(61,202,122,0.35);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  color: var(--green);
  flex-shrink: 0;
}

/* Book */
.book-wrap { position: relative; display: flex; justify-content: center; }
.book-img {
  width: 100%;
  max-width: 260px;
  border-radius: 10px;
  box-shadow:
    -6px 6px 0 rgba(0,0,0,0.5),
    0 24px 60px rgba(232,197,71,0.2),
    0 8px 24px rgba(0,0,0,0.6);
}
.book-badge {
  position: absolute;
  top: -10px; right: 10px;
  background: var(--accent2);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  transform: rotate(5deg);
}
.book-pages {
  position: absolute;
  bottom: -14px; left: 10px;
  background: var(--card);
  border: 1px solid rgba(232,197,71,0.3);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

/* ── Pain ── */
#pain { background: var(--bg); }

.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 32px 0;
}
.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.97rem;
  color: var(--muted);
  transition: border-color 0.2s;
}
.pain-list li:hover { border-color: rgba(255,87,51,0.3); }
.pain-list li span { color: var(--accent2); flex-shrink: 0; font-size: 1rem; }

.pain-box {
  background: var(--card);
  border: 1px solid rgba(232,197,71,0.2);
  border-radius: 14px;
  padding: 30px;
  text-align: center;
  margin-top: 32px;
}
.pain-box p  { color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.pain-box strong { color: var(--text); }
.pain-big {
  display: block;
  margin-top: 14px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent);
}

/* ── Reality ── */
#reality { background: #121018; }

.reality-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 32px;
}
@media (min-width: 600px) { .reality-grid { grid-template-columns: 1fr 1fr; } }

.r-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  transition: border-color 0.2s;
}
.r-card:hover { border-color: rgba(232,197,71,0.3); }
.r-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: rgba(232,197,71,0.2);
  min-width: 34px;
}
.r-text { font-size: 0.93rem; color: var(--muted); }

/* ── Learn ── */
#learn { background: var(--bg); }

.learn-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}
@media (min-width: 640px)  { .learn-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px)  { .learn-grid { grid-template-columns: 1fr 1fr 1fr; } }

.l-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
  transition: border-color 0.2s, transform 0.2s;
}
.l-card:hover { border-color: rgba(232,197,71,0.3); transform: translateY(-4px); }
.l-icon { font-size: 1.8rem; margin-bottom: 14px; display: block; }
.l-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.l-card p  { font-size: 0.87rem; color: var(--muted); line-height: 1.6; }

/* CTA mid */
.cta-mid { padding: 60px 0; text-align: center; background: var(--bg); }

/* ── Inside ── */
#inside { background: #121018; }

.inside-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,197,71,0.08);
  border: 1px solid rgba(232,197,71,0.25);
  border-radius: 100px;
  padding: 8px 18px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 32px;
}

.chap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 600px) { .chap-grid { grid-template-columns: 1fr 1fr; } }

.chap-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--muted);
  transition: border-color 0.2s;
}
.chap-item:hover { border-color: rgba(232,197,71,0.2); }
.chap-n {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}

/* Preview quotes */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 32px;
}
@media (min-width: 640px) { .preview-grid { grid-template-columns: 1fr 1fr; } }

.preview-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 20px 22px;
}
.preview-card p { font-size: 0.87rem; color: var(--muted); line-height: 1.65; font-style: italic; }
.preview-src { font-size: 0.72rem; color: rgba(232,197,71,0.5); margin-top: 10px; font-weight: 600; }

/* ── Testimonials ── */
#social { background: var(--bg); }

.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}
@media (min-width: 640px) { .testimonials { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .testimonials { grid-template-columns: 1fr 1fr 1fr; } }

.t-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.2s;
}
.t-card:hover { border-color: rgba(232,197,71,0.2); }
.t-stars  { color: var(--accent); font-size: 0.82rem; letter-spacing: 2px; margin-bottom: 12px; }
.t-text   { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin-bottom: 16px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 10px; }
.t-av     { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem; color: #fff; flex-shrink: 0; }
.t-name   { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.t-role   { font-size: 0.73rem; color: var(--muted); }

/* ── Author ── */
#author { background: #121018; }

.author-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  margin-top: 40px;
  align-items: flex-start;
}
@media (min-width: 640px) { .author-card { flex-direction: row; align-items: center; } }

.author-photo {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid rgba(232,197,71,0.4);
  flex-shrink: 0;
}
.author-info h3   { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; color: var(--text); }
.author-role      { font-size: 0.75rem; color: var(--accent); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.author-info p    { font-size: 0.92rem; color: var(--muted); line-height: 1.7; }
.author-tags      { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.author-tag {
  background: rgba(61,202,122,0.08);
  border: 1px solid rgba(61,202,122,0.25);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.73rem;
  color: var(--green);
  font-weight: 600;
}

/* ── Offer ── */
#offer { background: var(--bg); }

.offer-box { max-width: 460px; margin: 0 auto; text-align: center; }

.price-card {
  background: var(--card);
  border: 2px solid rgba(232,197,71,0.3);
  border-radius: 18px;
  padding: 36px;
  margin: 28px 0;
}
.price-old   { font-size: 1rem; color: var(--muted); text-decoration: line-through; margin-bottom: 4px; }
.price-main  { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2.7rem; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.price-discount {
  display: inline-block;
  margin-bottom: 8px;
  background: rgba(61,202,122,0.14);
  border: 1px solid rgba(61,202,122,0.28);
  color: var(--green);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.price-label { font-size: 0.8rem; color: var(--muted); }

.offer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin: 0 auto 24px;
  max-width: 300px;
}
.offer-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--muted); }
.ok { color: var(--green); }

.scarcity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,87,51,0.08);
  border: 1px solid rgba(255,87,51,0.25);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--accent2);
  font-weight: 600;
  margin-bottom: 24px;
  font-family: 'Syne', sans-serif;
}

/* Erro checkout */
#checkout-erro {
  display: none;
  background: rgba(255,87,51,0.08);
  border: 1px solid rgba(255,87,51,0.3);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #ff8066;
  text-align: center;
  margin-top: 12px;
}

/* ── Guarantee ── */
#guarantee {
  background: #121018;
  border-top: 1px solid rgba(61,202,122,0.1);
  border-bottom: 1px solid rgba(61,202,122,0.1);
}
.guarantee-inner { max-width: 580px; margin: 0 auto; text-align: center; }
.g-icon { font-size: 3rem; display: block; margin-bottom: 16px; }
.guarantee-inner h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 14px; color: var(--text); }
.guarantee-inner p  { color: var(--muted); font-size: 0.97rem; line-height: 1.7; }

/* ── FAQ ── */
#faq { background: var(--bg); }

.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 40px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; color: var(--text);
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.95rem;
  padding: 18px 22px; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q .arr { font-size: 1rem; transition: transform 0.25s; flex-shrink: 0; }
.faq-q.open .arr { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  padding: 0 22px; color: var(--muted); font-size: 0.92rem; line-height: 1.7;
}
.faq-a.open { max-height: 200px; padding: 0 22px 18px; }

/* ── Final CTA ── */
#final {
  background: #121018;
  border-top: 1px solid var(--border);
  text-align: center;
}
#final h2 { font-size: clamp(1.6rem,4vw,2.4rem); font-weight: 800; margin-bottom: 18px; color: var(--text); }
#final p  { color: var(--muted); font-size: 1rem; max-width: 440px; margin: 0 auto 32px; line-height: 1.65; }

/* ── Footer ── */
footer {
  background: #0a0909;
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}
footer a { color: rgba(255,255,255,0.35); text-decoration: none; margin: 0 10px; }
footer a:hover { color: var(--accent); }

/* ── Download page ── */
#dl-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
  background: var(--bg);
}
.dl-card {
  background: var(--card);
  border: 1px solid rgba(232,197,71,0.2);
  border-radius: 22px;
  padding: 48px 36px;
  max-width: 520px; width: 100%;
  text-align: center;
}
.dl-logo { font-family:'Syne',sans-serif; font-size:0.75rem; font-weight:700; letter-spacing:0.15em; text-transform:uppercase; color:var(--accent); margin-bottom:28px; display:block; }
.dl-pending { display:flex; flex-direction:column; align-items:center; gap:16px; padding:16px 0; }
.spinner { width:48px; height:48px; border:3px solid rgba(232,197,71,0.15); border-top-color:var(--accent); border-radius:50%; animation:spin 1s linear infinite; }
.dl-pending-title { font-family:'Syne',sans-serif; font-weight:700; font-size:1.05rem; color:var(--text); }
.dl-pending-sub   { font-size:0.85rem; color:var(--muted); line-height:1.5; }
.dl-attempt       { font-size:0.72rem; color:rgba(255,255,255,0.2); margin-top:6px; }
.dl-success-title { font-family:'Syne',sans-serif; font-weight:800; font-size:1.7rem; color:var(--green); margin-bottom:10px; }
.dl-success-sub   { color:var(--muted); font-size:0.93rem; margin-bottom:24px; line-height:1.6; }
.dl-btn {
  display:block; background:var(--green); color:#0C0B0E;
  font-family:'Syne',sans-serif; font-weight:700; font-size:1.02rem;
  padding:18px; border-radius:10px; text-decoration:none;
  text-align:center; margin-bottom:12px; transition:background 0.2s, transform 0.15s;
}
.dl-btn:hover { background:#2db86a; transform:translateY(-2px); }
.dl-note  { font-size:0.77rem; color:var(--muted); }
.dl-error { background:rgba(255,87,51,0.08); border:1px solid rgba(255,87,51,0.25); border-radius:10px; padding:18px 20px; font-size:0.9rem; color:#ff8066; line-height:1.6; text-align:left; }
.dl-error strong { color:var(--accent2); }

/* ── Animations ── */
@keyframes spin       { to { transform: rotate(360deg); } }
@keyframes checkDraw  { from { stroke-dashoffset:100; } to { stroke-dashoffset:0; } }
@keyframes fadeUp     { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes floatBook  { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }
@keyframes pulseBar   { 0%,100% { opacity:1; } 50% { opacity:0.85; } }

/* Hero animations */
.hero-copy     { animation: fadeUp 0.7s ease both; }
.hero-book     { animation: fadeUp 0.7s ease 0.2s both; }
.book-img      { animation: floatBook 4s ease-in-out 1s infinite; }
#promo-bar     { animation: pulseBar 3s ease-in-out infinite; }
