/* ==========================================================================
   LASTBET — CSS MASTER DESIGN SYSTEM (PREMIUM LIGHT THEME)
   Tipografia calibrada sem distorções de acentuação (Plus Jakarta Sans + Inter)
   Paleta clara, editorial, acolhedora e de altíssima conversão (TSL Standard)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600;1,700&display=swap');

:root {
  /* Cores estruturais (Light Palette) */
  --bg-body: #FAF9F6;
  --bg-card: #FFFFFF;
  --bg-subtle: #F4F1EA;
  --bg-warm: #EFECE6;
  
  /* Textos e contrastes */
  --text-main: #18181B;
  --text-muted: #52525B;
  --text-light: #71717A;
  --text-faint: #A1A1AA;
  
  /* Acentos nobres */
  --gold-primary: #A67C1E;
  --gold-dark: #876214;
  --gold-light: #D4AF37;
  --gold-wash: #FBF6E9;
  --gold-border: #E8D8B5;
  
  --navy-dark: #0F172A;
  --navy-card: #1E293B;
  
  --red-accent: #991B1B;
  --red-bg: #FEF2F2;
  --red-border: #FECACA;
  
  --green-accent: #166534;
  --green-bg: #F0FDF4;
  --green-border: #BBF7D0;

  --border-light: #E4E4E7;
  --border-subtle: #ECE8E1;
  
  /* Tipografia */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Medidas */
  --container-max: 68rem;
  --reading-max: 42rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(24, 24, 27, 0.04);
  --shadow-md: 0 12px 32px -8px rgba(24, 24, 27, 0.08);
  --shadow-lg: 0 24px 60px -15px rgba(24, 24, 27, 0.12);
  --shadow-gold: 0 10px 25px -5px rgba(166, 124, 30, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-dark);
}

/* Envoltórios */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.reading-flow {
  max-width: var(--reading-max);
  margin: 0 auto;
}

/* Tipografia */
h1, h2, h3, h4, .headline {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.4em;
  color: var(--text-main);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 400;
}

strong {
  font-weight: 600;
  color: var(--text-main);
}

em {
  font-style: italic;
}

/* Topo / Header Minimalista (Sem botão de compra no topo) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-symbol {
  height: 28px;
  width: auto;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-main);
}

.header-status {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22C55E;
  display: inline-block;
}

/* Hero Section (Puramente Editorial e Conexão) */
.hero-editorial {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
}

.hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  background-color: var(--gold-wash);
  border: 1px solid var(--gold-border);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-hook {
  font-size: 1.22rem;
  line-height: 1.7;
  color: var(--text-muted);
  border-left: 3px solid var(--gold-primary);
  padding-left: 1.25rem;
  margin: 1.75rem 0 2rem;
  font-style: italic;
}

/* Blocos de Leitura Estilo TSL / Carta Editorial */
.narrative-block {
  padding: 2.5rem 0;
}

.dropcap-p::first-letter {
  font-family: var(--font-heading);
  font-size: 4rem;
  float: left;
  line-height: 0.8;
  margin: 0.1em 0.15em 0 0;
  color: var(--gold-primary);
  font-weight: 800;
}

.quote-highlight {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--gold-primary);
  padding: 1.75rem 2rem;
  border-radius: var(--radius-sm);
  margin: 2.5rem 0;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text-main);
}

.warning-box {
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  border-left: 4px solid var(--red-accent);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin: 2rem 0;
  font-size: 0.95rem;
  color: #7F1D1D;
}

.concept-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 1.75rem 0;
  box-shadow: var(--shadow-sm);
}

.concept-card h4 {
  color: var(--gold-dark);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

/* Tabela Comparativa de Ilusão vs Realidade */
.comparison-table-wrap {
  overflow-x: auto;
  margin: 2.5rem 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.98rem;
}

.comparison-table th, .comparison-table td {
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  background-color: var(--bg-subtle);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  font-size: 1rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .bad {
  color: #991B1B;
  font-weight: 500;
}

.comparison-table .good {
  color: #166534;
  font-weight: 600;
}

/* SEÇÃO DE OFERTA DO LIVRO (TSL ClickBank Style) */
.offer-section {
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg-body) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  margin: 3.5rem 0;
}

.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.offer-badge {
  position: absolute;
  top: 1.5rem;
  right: -2.5rem;
  background: var(--gold-primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 3rem;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.offer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (max-width: 860px) {
  .offer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.book-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.book-cover-img {
  max-width: 320px;
  width: 100%;
  filter: drop-shadow(0 20px 35px rgba(24, 24, 27, 0.25));
  transition: transform 0.3s ease;
}

.book-cover-img:hover {
  transform: translateY(-4px);
}

.pricing-box {
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 1.5rem 0;
  text-align: center;
}

.price-old {
  font-size: 1.05rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.price-current {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.price-current span {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-terms {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Botões de Ação (CTA) */
.btn-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #C49733 0%, #A67C1E 50%, #876214 100%);
  color: #FFFFFF !important;
  text-decoration: none;
  padding: 1.25rem 2.2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px -4px rgba(166, 124, 30, 0.4);
  color: #FFFFFF !important;
}

.btn-cta-sub {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.92;
  margin-top: 0.35rem;
}

.security-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-light);
}

.security-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.check-list {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.check-list li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.85rem;
  font-size: 1rem;
  color: var(--text-main);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-primary);
  font-weight: 800;
  font-size: 1.1rem;
}

/* Caixa de Garantia */
.guarantee-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 600px) {
  .guarantee-box {
    flex-direction: column;
    text-align: center;
  }
}

.guarantee-badge {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: var(--gold-wash);
  border: 2px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--gold-dark);
  text-align: center;
  line-height: 1.1;
}

/* Card de Transição para a Inscrição da Aplicação Futura */
.app-invitation-bridge {
  background: var(--navy-dark);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  margin: 4rem 0;
  position: relative;
}

.app-invitation-bridge h2, .app-invitation-bridge h3 {
  color: #FFFFFF;
}

.app-invitation-bridge p {
  color: #CBD5E1;
}

.app-invitation-bridge strong {
  color: #F8FAFC;
}

.bridge-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.btn-bridge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #FFFFFF;
  color: var(--navy-dark) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.btn-bridge:hover {
  background: var(--gold-wash);
  transform: translateY(-2px);
}

/* Seção de Perguntas Frequentes (FAQ Accordion) */
.faq-wrap {
  margin: 3.5rem 0;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--gold-border);
}

.faq-summary {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.5rem 1.35rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.faq-content p:last-child {
  margin-bottom: 0;
}

/* Rodapé Institucional */
.site-footer {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 3rem;
  margin-top: 5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

.disclaimer-card {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-light);
}

/* Banner de Cookies LGPD */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 44rem;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }
}

.cookie-btn {
  background: var(--gold-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.cookie-btn:hover {
  background: var(--gold-dark);
}

/* Formulário de Inscrição (/inscricao) */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(166, 124, 30, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.checkbox-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.checkbox-consent input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin-top: 0.2rem;
  accent-color: var(--gold-primary);
  flex-shrink: 0;
}

.channels-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin: 1rem 0 1.5rem;
}

.channels-options {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.channels-options label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  cursor: pointer;
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  display: none;
}

.form-alert.error {
  display: block;
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  color: var(--red-accent);
}

.form-alert.success {
  display: block;
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  color: var(--green-accent);
}
