/* ========================================
   1. VARIÁVEIS CSS (DESIGN TOKENS) — PALETA ONYX
   ======================================== */
:root {
  /* Paleta de Cores — Identidade Onyx */
  --color-primary: #141118;          /* Ônix Profundo — preto com nuances escuras */
  --color-secondary: #1E1A1F;        /* Marrom-Escuro Veludo */
  --color-accent: #C9A961;            /* Dourado Luz (CTAs) — o dourado da pedra */
  --color-gold: #B8956A;              /* Dourado Areia (detalhes, divisores) */
  --color-sand: #D4C4A8;              /* Areia Clara (texto de apoio em fundo escuro) */
  --color-sand-light: #E8DCC4;       /* Areia Suave (destaques secundários) */
  --color-light: #F5F0E8;            /* Off-White Quente (fundos claros) */
  --color-dark: #0A0810;              /* Preto Ônix (footer, profundidade) */
  --color-brown: #6B4E3D;            /* Marrom Médio (elementos de apoio) */
  --color-amber: #B8893E;             /* Âmbar Escuro (hover de CTAs) */
  --color-text-light: #E8DCC4;       /* Areia Suave (texto sobre fundo escuro) */
  --color-text-dark: #2A2018;         /* Marrom-Escuro (texto sobre fundo claro) */
  --color-text-muted: #A89880;       /* Areia Esmaecida (texto secundário escuro) */
  --color-text-muted-dark: #6B5E4E;  /* Marrom Suave (texto secundário claro) */
  --color-danger: #8B3A3A;           /* Terracota Escuro (badge de escassez) */

  /* Tipografia */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --fs-h1: 52px;
  --fs-h2: 38px;
  --fs-h3: 26px;
  --fs-body: 18px;
  --fs-small: 15px;
  --fs-mobile-h1: 34px;
  --fs-mobile-h2: 26px;
  --fs-mobile-h3: 20px;
  --fs-mobile-body: 16px;
  --lh-body: 1.7;

  /* Espaçamentos */
  --container-max: 1200px;
  --container-padding: 32px;
  --section-gap: 100px;
  --section-gap-mobile: 60px;

  /* Transições */
  --transition: 0.3s ease;
  --transition-slow: 0.8s ease-out;
}

/* ========================================
   2. RESET E BASE
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text-light);
  background-color: var(--color-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ========================================
   3. TIPOGRAFIA GLOBAL
   ======================================== */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

strong {
  font-weight: 700;
}

/* ========================================
   4. LAYOUT GLOBAL
   ======================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

section, header.hero {
  padding: var(--section-gap) 0;
  position: relative;
}

/* Divisor dourado decorativo */
.section-divider {
  width: 60px;
  height: 1px;
  background: var(--color-accent);
  margin: 0 auto 32px;
}

.section-title {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 24px;
  color: var(--color-text-light);
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  color: var(--color-text-muted);
  font-size: var(--fs-body);
}

/* Fundos alternados — tons de Onyx */
.problem, .social-proof {
  background: var(--color-primary);
}

.solution, .value-stack, .faq {
  background: var(--color-secondary);
}

.guarantee-scarcity {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}

.final-cta {
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-dark) 100%);
}

.footer {
  background: var(--color-dark);
  padding: 40px 0;
  text-align: center;
}

/* Seções com fundo claro (respiro) */
.solution {
  background: var(--color-light);
  color: var(--color-text-dark);
}

.solution .section-title,
.solution .solution__intro,
.solution .pillar__title,
.solution .pillar__text,
.solution .solution__diferencial {
  color: var(--color-text-dark);
}

.solution .section-subtitle {
  color: var(--color-text-muted-dark);
}

.social-proof {
  background: var(--color-light);
  color: var(--color-text-dark);
}

.social-proof .section-title {
  color: var(--color-text-dark);
}

/* ========================================
   5. COMPONENTES REUTILIZÁVEIS
   ======================================== */

/* --- Botões --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 16px;
  padding: 18px 40px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-amber);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.3);
}

.btn--large {
  font-size: 18px;
  padding: 22px 52px;
}

/* --- Badge de Escassez --- */
.badge-scarcity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 58, 58, 0.12);
  border: 1px solid rgba(139, 58, 58, 0.3);
  color: var(--color-danger);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-danger);
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* --- Cards (Glassmorphism Dourado) --- */
.glass-card {
  background: rgba(201, 169, 97, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 169, 97, 0.15);
  border-radius: 8px;
  padding: 32px;
  transition: all var(--transition);
}

.glass-card:hover {
  border-color: rgba(201, 169, 97, 0.4);
}

/* ========================================
   6. SEÇÕES ESPECÍFICAS
   ======================================== */

/* --- HERO SECTION --- */
.hero {
  background: radial-gradient(ellipse at center, var(--color-secondary) 0%, var(--color-primary) 70%);
  padding: 80px 0 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero__container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__title {
  font-size: var(--fs-h1);
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero__subtitle {
  font-size: var(--fs-body);
  color: var(--color-sand);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero__microcopy {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-top: 16px;
}

.hero__microcopy strong {
  color: var(--color-accent);
}

.hero__image img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  border: 1px solid rgba(201, 169, 97, 0.2);
}

/* --- PROBLEM SECTION --- */
.problem__container {
  max-width: 880px;
}

.problem__pains {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 48px 0;
}

.problem__pain {
  padding: 0;
}

.problem__pain-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.problem__pain p {
  color: var(--color-sand);
  font-size: var(--fs-body);
  line-height: 1.7;
}

.problem__pain strong {
  color: var(--color-sand-light);
}

.problem__consequence {
  text-align: center;
  font-size: 20px;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-sand-light);
  max-width: 700px;
  margin: 48px auto 0;
  padding: 24px;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
}

/* --- SOLUTION SECTION --- */
.solution__intro {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--color-text-dark);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}

.pillar {
  text-align: center;
  padding: 0 16px;
}

.pillar__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar__title {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--color-text-dark);
}

.pillar__text {
  font-size: var(--fs-small);
  color: var(--color-text-muted-dark);
  line-height: 1.7;
}

.solution__diferencial {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  font-size: 20px;
  font-family: var(--font-heading);
  font-style: italic;
  padding: 24px;
  border-top: 1px solid rgba(107, 78, 61, 0.15);
  color: var(--color-text-dark);
}

.solution__diferencial strong {
  color: var(--color-brown);
}

/* --- VALUE STACK SECTION --- */
.value-stack__container {
  max-width: 700px;
}

.value-stack__card {
  background: rgba(201, 169, 97, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 169, 97, 0.15);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 32px;
}

.value-stack__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value-stack__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}

.value-stack__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.value-stack__check {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1.5;
}

.value-stack__item-title {
  font-weight: 700;
  font-size: 17px;
  color: var(--color-sand-light);
  margin-bottom: 4px;
}

.value-stack__item-desc {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.value-stack__price {
  font-size: var(--fs-small);
  color: var(--color-gold);
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}

.value-stack__item--bonus .value-stack__item-title {
  color: var(--color-accent);
}

.value-stack__total {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid rgba(201, 169, 97, 0.2);
}

.value-stack__total-label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.value-stack__total-old {
  font-size: 20px;
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-bottom: 8px;
}

.value-stack__total-today {
  font-size: 18px;
  color: var(--color-sand-light);
}

.value-stack__total-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  margin-top: 4px;
}

.value-stack__justification {
  text-align: center;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.value-stack .btn {
  display: block;
  margin: 0 auto;
}

/* --- SOCIAL PROOF SECTION --- */
.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
}

.testimonial {
  background: rgba(107, 78, 61, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(184, 149, 106, 0.15);
  border-radius: 8px;
  padding: 32px;
  transition: all var(--transition);
}

.testimonial:hover {
  border-color: rgba(184, 149, 106, 0.4);
  transform: translateY(-4px);
}

.testimonial__text {
  font-size: var(--fs-small);
  color: var(--color-text-muted-dark);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial__author {
  font-size: var(--fs-small);
  color: var(--color-text-muted-dark);
}

.testimonial__author strong {
  color: var(--color-text-dark);
}

.credentials {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 32px;
  border-top: 1px solid rgba(107, 78, 61, 0.1);
}

.credentials__text {
  font-size: var(--fs-small);
  color: var(--color-text-muted-dark);
  line-height: 1.7;
}

.credentials__text strong {
  color: var(--color-text-dark);
}

/* --- GUARANTEE + SCARCITY --- */
.guarantee-scarcity__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.guarantee-card {
  background: rgba(201, 169, 97, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 169, 97, 0.15);
  border-radius: 12px;
  padding: 40px;
}

.guarantee-card__title {
  font-size: 24px;
  color: var(--color-sand-light);
  margin-bottom: 16px;
}

.guarantee-card__text {
  font-size: var(--fs-small);
  color: var(--color-sand);
  line-height: 1.7;
  margin-bottom: 12px;
}

.guarantee-card__text strong {
  color: var(--color-sand-light);
}

.guarantee-card__micro {
  font-size: 13px;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 16px;
}

.scarcity {
  padding-top: 8px;
}

.scarcity__title {
  font-size: 24px;
  color: var(--color-sand-light);
  margin: 20px 0 16px;
}

.scarcity__text {
  font-size: var(--fs-small);
  color: var(--color-sand);
  line-height: 1.7;
  margin-bottom: 16px;
}

.scarcity__text strong {
  color: var(--color-sand-light);
}

.scarcity__bonus {
  font-size: var(--fs-small);
  color: var(--color-sand);
  line-height: 1.7;
  padding: 20px;
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 8px;
}

.scarcity__bonus strong {
  color: var(--color-accent);
}

/* --- FAQ SECTION --- */
.faq__container {
  max-width: 760px;
}

.faq__list {
  margin-top: 40px;
}

.faq__item {
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-sand-light);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}

.faq__question:hover {
  color: var(--color-accent);
}

.faq__question[aria-expanded="true"] {
  color: var(--color-accent);
}

.faq__arrow {
  font-size: 12px;
  color: var(--color-gold);
  transition: transform 0.4s ease;
  flex-shrink: 0;
}

.faq__arrow--open {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__answer p {
  font-size: var(--fs-small);
  color: var(--color-sand);
  line-height: 1.7;
  padding: 0 0 24px;
}

.faq__answer strong {
  color: var(--color-sand-light);
}

/* --- FINAL CTA SECTION --- */
.final-cta__container {
  text-align: center;
  max-width: 700px;
}

.final-cta__title {
  font-size: var(--fs-h2);
  color: var(--color-sand-light);
  margin-bottom: 24px;
  line-height: 1.3;
}

.final-cta__summary {
  font-size: 20px;
  color: var(--color-sand);
  margin-bottom: 32px;
}

.final-cta__summary strong {
  color: var(--color-accent);
  font-size: 24px;
}

.final-cta .btn {
  margin-bottom: 24px;
}

.final-cta__guarantee {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.final-cta__scarcity {
  font-size: 13px;
  color: var(--color-danger);
}

/* --- FOOTER --- */
.footer__brand {
  font-size: 18px;
  color: var(--color-sand-light);
  margin-bottom: 8px;
}

.footer__brand strong {
  color: var(--color-accent);
}

.footer__text {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.footer__copy {
  font-size: 12px;
  color: #5A4E3E;
}

/* ========================================
   7. ANIMAÇÕES (FADE-IN SCROLL)
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   8. RESPONSIVIDADE (MEDIA QUERIES)
   ======================================== */

/* --- TABLET (768px - 1024px) --- */
@media (max-width: 1024px) {
  :root {
    --fs-h1: 42px;
    --fs-h2: 32px;
    --section-gap: 80px;
  }

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

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__image {
    max-width: 400px;
    margin: 0 auto;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .guarantee-scarcity__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- MOBILE (< 768px) --- */
@media (max-width: 767px) {
  :root {
    --fs-h1: var(--fs-mobile-h1);
    --fs-h2: var(--fs-mobile-h2);
    --fs-h3: var(--fs-mobile-h3);
    --fs-body: var(--fs-mobile-body);
    --section-gap: var(--section-gap-mobile);
    --container-padding: 20px;
  }

  section, header.hero {
    padding: var(--section-gap-mobile) 0;
  }

  .hero {
    min-height: auto;
    padding: 60px 0;
  }

  .hero__title {
    font-size: var(--fs-mobile-h1);
  }

  .problem__pains {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .problem__consequence {
    font-size: 17px;
    padding: 20px 0;
  }

  .testimonials {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .value-stack__card {
    padding: 24px;
  }

  .value-stack__item {
    flex-direction: column;
    gap: 8px;
  }

  .value-stack__price {
    align-self: flex-start;
  }

  .value-stack__total-price {
    font-size: 28px;
  }

  .guarantee-card,
  .testimonial {
    padding: 24px;
  }

  .btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
  }

  .btn--large {
    font-size: 16px;
    padding: 18px 28px;
  }

  .section-title {
    font-size: var(--fs-mobile-h2);
  }

  .final-cta__title {
    font-size: var(--fs-mobile-h2);
  }

  .final-cta__summary {
    font-size: 17px;
  }

  .footer {
    padding: 32px 0;
  }
}

/* --- MOBILE PEQUENO (< 480px) --- */
@media (max-width: 479px) {
  :root {
    --fs-mobile-h1: 28px;
  }

  .hero__title {
    font-size: 28px;
  }

  .badge-scarcity {
    font-size: 12px;
    padding: 6px 12px;
  }

  .value-stack__total-price {
    font-size: 24px;
  }
}

/* ===== CORREÇÃO DE QUEBRA DE LINHA ===== */
h1, h2, h3 {
    hyphens: none;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.hero__title, .section-title, .final-cta__title,
.problem__pain-title, .pillar__title, .guarantee-card__title,
.scarcity__title, .value-stack__item-title {
    text-wrap: balance;
}

.hero__subtitle, .section-subtitle, .credentials__text,
.problem__pain p, .pillar__text, .value-stack__item-desc,
.faq__answer p, .guarantee-card__text, .scarcity__text,
.solution__intro, .solution__diferencial, .problem__consequence,
.value-stack__justification, .footer__text {
    hyphens: none;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-wrap: pretty;
}