/* =========================================================
   Rafael Dickel — Estrutura Solar de Captação
   Fontes via Google Fonts
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* =========================================================
   VARIÁVEIS
   ========================================================= */
:root {
  /* Cores */
  --bg:           #FFFFFF;  /* fundo branco */
  --bg-alt:       #F5F5F7;  /* cinza muito claro */
  --accent:       #7800FF;  /* roxo vibrante */
  --accent-hover: #6200CC;  /* roxo escuro */
  --accent-soft:  rgba(120, 0, 255, 0.10);
  --ink:          #1A1A1A;  /* texto principal */
  --ink-soft:     #555555;  /* texto secundário */
  --white:        #FFFFFF;
  --border:       #ECECEF;  /* borda suave */
  --offer-bg:     #1A0033;  /* roxo escuro da oferta */

  /* Tipografia */
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Movimento */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(26, 16, 8, 0.05);
  --shadow-md: 0 12px 32px rgba(26, 16, 8, 0.08);
  --shadow-lg: 0 24px 60px rgba(26, 16, 8, 0.12);
  --shadow-accent: 0 12px 30px rgba(120, 0, 255, 0.28);

  /* Layout */
  --radius: 20px;
  --radius-lg: 24px;
  --radius-sm: 14px;
  --maxw: 1180px;

  /* Ícone do WhatsApp (glyph oficial, usado como máscara) */
  --wpp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.2-157zM223.9 439.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.7 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.3-5-3.7-10.5-6.5z'/%3E%3C/svg%3E");
}

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

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

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* =========================================================
   LAYOUT BASE
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 820px; }

section { padding-block: 120px; }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 56px;
  max-width: 760px;
}

.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 8px 16px;
  border-radius: 100px;
}

/* Emoji/ícone inline ao lado de texto */
.emoji-inline {
  display: inline-block;
  height: 1.1em;
  width: auto;
  vertical-align: -0.18em;
  margin-left: 0.3em;
}

/* =========================================================
   BOTÕES
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: 100px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s var(--ease);
  white-space: nowrap;
  line-height: 1.15;
  text-align: center;
}
.btn--sm { font-size: 14px; padding: 11px 20px; }
.btn--lg { font-size: 17px; padding: 18px 32px; }

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(120, 0, 255, 0.36);
}

.btn--white {
  background: var(--white);
  color: var(--accent);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(0,0,0,0.32); }

.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Ícone do WhatsApp — glyph vetorial que herda a cor do texto (currentColor) */
.btn__wpp {
  flex-shrink: 0;
  width: 1.3em;
  height: 1.3em;
  background-color: currentColor;
  -webkit-mask: var(--wpp-icon) center / contain no-repeat;
  mask: var(--wpp-icon) center / contain no-repeat;
}

/* Pulso suave para chamar atenção (controlado via JS) */
.pulse-now { animation: ctaPulse 0.9s var(--ease); }
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(120,0,255,0.45); }
  100% { box-shadow: 0 0 0 18px rgba(120,0,255,0); }
}

/* =========================================================
   BARRA DE PROGRESSO DE SCROLL
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #a64dff);
  z-index: 1000;
  transition: width .1s linear;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 900;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
}
.header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}
.header.is-scrolled .header__inner { padding-block: 12px; }

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.nav { display: flex; gap: 36px; }
.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }

/* =========================================================
   GLASSMORPHISM
   ========================================================= */
.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
}

/* =========================================================
   BLOCO 1 — HERO
   ========================================================= */
.hero {
  padding-top: 150px;
  padding-bottom: 110px;
}
/* Layout centralizado: tag → foto+card → título → subtítulo → CTA → trust */
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 5.6vw, 50px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin: 28px 0 24px;
  max-width: 860px;
}
/* Destaque: caixa roxa atrás de cada linha, texto branco */
.hero__title .hl {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background: var(--accent);
  color: var(--white);
  padding: 0.1em 0.3em;
  border-radius: 10px;
  /* animação de entrada (fade — opacity funciona em elemento inline) */
  opacity: 0;
  transition: opacity .7s var(--ease);
}
.hero__title .hl.is-in { opacity: 1; }

/* Palavras animadas individualmente (fallback) */
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  white-space: pre;
}
.hero__title .word.is-in { opacity: 1; transform: none; }

.hero__subtitle {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 36px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}
.trust li { display: flex; align-items: center; gap: 8px; }
.trust__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

/* Foto: sem moldura, integrada ao fundo */
.hero__media {
  position: relative;
  width: 100%;
  max-width: 360px;
  /* margem-topo extra: a foto flutua e não pode sobrepor a tag acima */
  margin: 34px 0 6px;
}
.hero__photo { position: relative; }
/* Brilho suave atrás para integrar a foto ao fundo branco */
.hero__photo::before {
  content: '';
  position: absolute;
  inset: -6% -8% 2%;
  background: radial-gradient(58% 55% at 50% 42%, rgba(120, 0, 255, 0.16), transparent 70%);
  filter: blur(22px);
  z-index: -1;
  pointer-events: none;
}
.hero__photo img {
  width: 100%;
  height: auto;
  display: block;
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hero__badge {
  position: absolute;
  left: -36px;
  bottom: 48px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 220px;
  text-align: left;
  z-index: 2;
}
.hero__badge-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.hero__badge-sub { font-size: 13px; color: var(--ink-soft); line-height: 1.4; }

/* =========================================================
   BLOCO 2 — PROVA SOCIAL (marquee)
   ========================================================= */
.social { background: var(--bg-alt); padding-bottom: 100px; }
.social__title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  color: var(--ink-soft);
  margin-bottom: 56px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee + .marquee { margin-top: 28px; }
.marquee__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 45s linear infinite;
}
/* Segundo carrossel corre no sentido oposto */
.marquee__track--reverse { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__logo {
  height: 64px;
  width: 64px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.marquee__logo:hover { filter: grayscale(0); opacity: 1; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   CARDS (genérico)
   ========================================================= */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  margin: 16px 0 10px;
  letter-spacing: -0.01em;
}
.card__text { font-size: 15.5px; color: var(--ink-soft); line-height: 1.65; }
.card__icon { font-size: 22px; }
.card__icon img { width: 24px; height: 24px; object-fit: contain; }
.card__emoji img { width: 30px; height: 30px; object-fit: contain; }

/* =========================================================
   BLOCO 3 — PROBLEMA
   ========================================================= */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card--problem .card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.08);
  font-size: 18px;
}

/* =========================================================
   BLOCO 4 — SOLUÇÃO
   ========================================================= */
.solution { background: var(--bg-alt); }
.solution__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card--solution { position: relative; padding-top: 36px; }
.card__step {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.card__emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  font-size: 24px;
  margin: 14px 0 4px;
}

/* =========================================================
   BLOCO 5 — COMPARATIVO
   ========================================================= */
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 640px;
}
.compare__th, .compare__item, .compare__common, .compare__ours {
  text-align: left;
  padding: 20px 24px;
  vertical-align: middle;
}
.compare__th {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
}
.compare__th--common, .compare__common { color: var(--ink-soft); }

/* Coluna destacada (roxo suave) */
.compare__th--ours, .compare__ours {
  background: var(--accent-soft);
  position: relative;
}
.compare__th--ours {
  color: var(--accent);
  border-top-left-radius: var(--radius-sm);
  border-top-right-radius: var(--radius-sm);
  padding-top: 36px;
}
.compare__ours { font-weight: 600; color: var(--ink); }
tbody tr:last-child .compare__ours {
  border-bottom-left-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
}
.compare__badge {
  position: absolute;
  top: 12px; left: 24px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 100px;
}
.compare__table thead th { border-bottom: 2px solid var(--border); }
.compare__table tbody td { border-bottom: 1px solid var(--border); font-size: 15.5px; }
.compare__item { font-weight: 600; }

/* Animação coluna por coluna */
.compare__table.cols-anim [data-col] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.compare__table.cols-anim.is-in [data-col="0"] { opacity: 1; transform: none; transition-delay: 0ms; }
.compare__table.cols-anim.is-in [data-col="1"] { opacity: 1; transform: none; transition-delay: 140ms; }
.compare__table.cols-anim.is-in [data-col="2"] { opacity: 1; transform: none; transition-delay: 280ms; }

/* =========================================================
   BLOCO 6 — SOBRE O RAFAEL
   ========================================================= */
.about { background: var(--bg-alt); }
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about__photo {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}
.about__title { margin-bottom: 28px; }
.about__text { color: var(--ink-soft); margin-bottom: 20px; max-width: 560px; }
.about__text:last-child { margin-bottom: 0; }

/* =========================================================
   BLOCO 7 — DEPOIMENTOS
   ========================================================= */
.testimonials { text-align: center; }
.testimonials .section-title { margin-inline: auto; text-align: center; }

.testimonials__carousel { max-width: 760px; margin: 0 auto; }
.testimonials__viewport {
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: center;
}
.testimonial {
  grid-area: 1 / 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 56px 48px;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s;
}
.testimonial.is-active { opacity: 1; visibility: visible; transform: none; }
.testimonial__quote {
  font-family: var(--font-head);
  font-size: clamp(18px, 3.5vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.testimonial__author { font-size: 15px; font-weight: 600; color: var(--accent); }

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: background .3s var(--ease), transform .3s var(--ease), width .3s var(--ease);
}
.dot.is-active { background: var(--accent); width: 28px; border-radius: 100px; }

/* =========================================================
   BLOCO 8 — OFERTA
   ========================================================= */
.offer {
  background: var(--offer-bg);
  color: var(--white);
  text-align: center;
}
.offer__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 720px;
  margin: 0 auto 56px;
}
.offer__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 32px;
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: left;
}
.offer__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16.5px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.offer__item:hover { transform: translateY(-3px); background: rgba(255,255,255,0.07); }
.offer__check { flex-shrink: 0; font-size: 17px; }
.offer__check img { width: 22px; height: 22px; object-fit: contain; display: block; }

.offer__price { margin-bottom: 40px; }
.offer__price-old {
  display: block;
  font-size: 18px;
  color: rgba(255,255,255,0.5);
  text-decoration: line-through;
  margin-bottom: 8px;
}
.offer__price-now {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(34px, 8vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.offer__price-now small { font-size: 20px; font-weight: 500; opacity: 0.8; }
.offer__price-note { font-size: 14px; color: rgba(255,255,255,0.55); margin-top: 10px; }

.offer__guarantee {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  max-width: 600px;
  margin: 0 auto 48px;
  padding: 24px 28px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
}
.offer__guarantee-icon { font-size: 32px; flex-shrink: 0; }
.offer__guarantee-icon img { width: 40px; height: 40px; object-fit: contain; display: block; }
.offer__guarantee p { font-size: 16px; line-height: 1.55; }

.offer__cta .btn {
  white-space: normal;
  max-width: 440px;
  margin-inline: auto;
  line-height: 1.3;
}
.offer__cta-note { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 18px; }

/* =========================================================
   BLOCO 9 — FAQ (accordion)
   ========================================================= */
.accordion { display: flex; flex-direction: column; gap: 14px; }
.accordion__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .3s var(--ease);
}
.accordion__item.is-open { box-shadow: var(--shadow-sm); }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.accordion__icon {
  position: relative;
  flex-shrink: 0;
  width: 20px; height: 20px;
}
.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .35s var(--ease);
}
.accordion__icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.accordion__icon::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.accordion__panel p {
  padding: 0 26px 24px;
  color: var(--ink-soft);
  font-size: 16px;
}

/* =========================================================
   BLOCO 10 — CTA FINAL
   ========================================================= */
.final {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.final__decor {
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(120,0,255,0.22), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.final__inner { position: relative; z-index: 1; }
.final__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 5.2vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.final__subtitle { font-size: 18px; color: var(--ink-soft); margin-bottom: 40px; }
.final__note { font-size: 14px; color: var(--ink-soft); margin-top: 20px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #1A1A1A; color: var(--white); padding-block: 36px; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer__copy { font-size: 14px; color: rgba(255,255,255,0.7); }
.footer__link {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color .25s var(--ease);
}
.footer__link:hover { color: var(--white); }

/* =========================================================
   ANIMAÇÕES DE ENTRADA (Intersection Observer)
   ========================================================= */
.reveal, .reveal-stagger {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in, .reveal-stagger.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVIDADE
   ========================================================= */
@media (max-width: 980px) {
  section { padding-block: 90px; }
  .problem__grid { grid-template-columns: repeat(2, 1fr); }
  .solution__grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 140px; }
}

/* ---- Tablets e celulares ---- */
@media (max-width: 768px) {
  section { padding-block: 64px; }
  .container { padding-inline: 22px; }
  .hero { padding-top: 120px; padding-bottom: 56px; }

  .nav { display: none; }

  /* Header mais enxuto no mobile */
  .header__inner { padding-block: 14px; }
  .header.is-scrolled .header__inner { padding-block: 10px; }
  .logo { font-size: 18px; }
  .header .btn--sm { font-size: 13px; padding: 10px 16px; }

  .section-title { margin-bottom: 36px; }

  .about__grid { grid-template-columns: 1fr; gap: 36px; }

  .hero__media { max-width: 300px; }
  .hero__title { margin-top: 22px; }
  .hero__subtitle { margin-bottom: 28px; }

  /* Card menor e mais próximo da foto, mantendo-o à esquerda */
  .hero__badge {
    left: -18px;
    bottom: 28px;
    padding: 14px 16px;
    max-width: 180px;
  }
  .hero__badge-value { font-size: 20px; }
  .hero__badge-sub { font-size: 12px; }

  /* CTAs ocupam a largura toda — alvo de toque maior e sem estouro */
  .hero__inner .btn--lg,
  .offer__cta .btn,
  .final .btn--lg {
    display: flex;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }

  .about__media { max-width: 360px; margin-inline: auto; }

  .problem__grid,
  .solution__grid,
  .offer__list { grid-template-columns: 1fr; }

  .card { padding: 26px; }

  .offer__guarantee { flex-direction: column; text-align: center; }

  .testimonial { padding: 36px 24px; }
  .testimonials__viewport { min-height: 0; }

  .footer__inner { flex-direction: column; text-align: center; }
}

/* ---- Celulares ---- */
@media (max-width: 560px) {
  .btn--lg { font-size: 16px; padding: 16px 24px; }
  .trust { gap: 12px 18px; row-gap: 12px; }
  .compare__th, .compare__item, .compare__common, .compare__ours { padding: 16px 16px; }
  .compare__table { min-width: 520px; }
  .offer__item { font-size: 15.5px; padding: 16px 18px; }
  .marquee__logo { height: 52px; width: 52px; }
  .marquee__track { gap: 40px; }
}

/* ---- Celulares pequenos ---- */
@media (max-width: 380px) {
  .container { padding-inline: 16px; }
  .logo { font-size: 16px; }
  .header .btn--sm { font-size: 12px; padding: 9px 13px; gap: 6px; }
  .trust { gap: 10px; }

  .hero__media { max-width: 250px; }
  .hero__badge { left: -10px; bottom: 18px; max-width: 158px; }
}

/* =========================================================
   PREFERS-REDUCED-MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-stagger,
  .hero__title .word,
  .hero__title .hl,
  .compare__table.cols-anim [data-col] {
    opacity: 1 !important;
    transform: none !important;
  }
  .marquee__track { animation: none !important; }
  .testimonial { transition: opacity .2s ease !important; }
}
