:root {
  --bg: #fff8fc;
  --surface: #ffffff;
  --surface-soft: #fff1f7;
  --ink: #2a2030;
  --muted: #6c6170;
  --pink: #ef3f86;
  --pink-dark: #cf2167;
  --teal: #11a99d;
  --teal-dark: #087f77;
  --green: #25d366;
  --green-dark: #128c7e;
  --green-btn-start: #25d366;
  --green-btn-end: #0f9d58;
  --yellow: #ffca42;
  --border: #eddce6;
  --shadow: 0 16px 40px rgba(129, 68, 103, 0.12);
  --shadow-soft: 0 8px 24px rgba(129, 68, 103, 0.08);
  --shadow-cta: 0 14px 32px rgba(18, 140, 126, 0.30);
  --shadow-cta-hover: 0 18px 40px rgba(18, 140, 126, 0.38);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 8%, rgba(239, 63, 134, 0.08), transparent 22rem),
    radial-gradient(circle at 90% 14%, rgba(17, 169, 157, 0.09), transparent 24rem),
    var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 74px; /* Garante que o CTA fixo não encubra o rodapé no mobile */
}

@media (min-width: 950px) {
  body {
    padding-bottom: 0;
  }
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width: min(calc(100% - 24px), var(--max-width));
  margin-inline: auto;
  padding: 14px 0 20px;
}

/* ============================================================
   HERO SECTION (Mobile-First: Badge -> H1 -> Sub -> CTA 1 -> Imagem)
   ============================================================ */
.hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 6px 0 26px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

/* 1. Badge */
.brand-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--pink-dark);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(129, 68, 103, 0.05);
  backdrop-filter: blur(8px);
  text-decoration: none;
  margin-bottom: 10px;
}

.brand-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 0.78rem;
}

/* 2. Headline */
h1, h2, p { margin-top: 0; }

h1 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 6.2vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 900;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
}

h1 span {
  color: var(--pink);
}

/* 3. Subheadline */
.lead {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: clamp(0.92rem, 3.8vw, 1.1rem);
  line-height: 1.4;
  font-weight: 500;
}

/* 4. PRIMEIRO CTA (Maior Destaque) */
.hero-cta-block {
  margin: 2px 0 6px;
}

.cta {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  min-height: 52px;
}

.cta:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
}

.cta:active {
  transform: translateY(1px);
}

.cta:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

/* CTA 1 (Primary - WhatsApp Green Hero) */
.cta-primary {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(15, 157, 88, 0.35);
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  box-shadow: var(--shadow-cta);
}

.cta-primary:hover {
  box-shadow: var(--shadow-cta-hover);
}

.cta-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.cta-primary .cta-title {
  font-size: clamp(0.88rem, 3.8vw, 1.02rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.cta-primary .cta-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.72rem, 3vw, 0.8rem);
  line-height: 1.25;
  font-weight: 500;
}

.cta-arrow {
  margin-left: auto;
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
  flex: 0 0 auto;
}

.trust-note {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.trust-note span {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.16);
  color: #0c8f50;
  font-size: 0.68rem;
  font-weight: 900;
}

/* 5. Imagem da marca */
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  margin: 10px auto 4px;
  max-width: 320px;
  width: 100%;
}

.hero-art::before {
  content: "";
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 214, 231, 0.65), rgba(213, 250, 244, 0.75));
  filter: blur(4px);
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: min(88%, 300px);
  height: auto;
  aspect-ratio: 838 / 900;
  filter: drop-shadow(0 16px 28px rgba(79, 46, 65, 0.12));
}

.art-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.art-glow-one { width: 50px; height: 50px; background: rgba(239, 63, 134, 0.12); top: 8%; right: 8%; }
.art-glow-two { width: 34px; height: 34px; background: rgba(255, 202, 66, 0.22); bottom: 10%; left: 8%; }

/* ============================================================
   6 e 7: BENEFÍCIOS + SEGUNDO CTA
   ============================================================ */
.benefits-section {
  padding: 18px 0 14px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.benefit-icon {
  font-size: 1.35rem;
  flex: 0 0 auto;
}

.benefit-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.benefit-text span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.cta-secondary-wrap {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

/* CTA Secundário (CTA 2 e CTA 3) */
.cta-secondary {
  width: 100%;
  max-width: 440px;
  padding: 12px 18px;
  border: 1px solid rgba(7, 130, 86, 0.25);
  background: linear-gradient(135deg, #17ba6b, #0aa25c);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(11, 154, 87, 0.22);
  justify-content: space-between;
}

.cta-secondary .cta-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
}

.cta-secondary .cta-title {
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.cta-secondary:hover {
  box-shadow: 0 14px 30px rgba(11, 154, 87, 0.28);
}

/* ============================================================
   8 e 9 e 10: COMO FUNCIONA + TERCEIRO CTA
   ============================================================ */
.how-it-works {
  padding: 26px 0 16px;
}

.section-heading {
  max-width: 600px;
  margin: 0 auto 18px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 4px;
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--pink-dark);
  font-weight: 900;
  font-size: 0.9rem;
}

.step strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

/* ============================================================
   11. AVISO PEQUENO
   ============================================================ */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 32px 0 18px;
  padding: 12px 14px;
  border: 1px solid #f0dd9a;
  border-radius: var(--radius-sm);
  background: #fffaf0;
  color: #64542b;
}

.notice-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: #f7d76c;
  color: #5e4a0d;
  font-weight: 900;
  font-size: 0.78rem;
}

.notice p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
}

/* ============================================================
   12. RODAPÉ
   ============================================================ */
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 0 8px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer strong {
  display: block;
  color: var(--ink);
  margin-bottom: 2px;
}

.site-footer span {
  display: block;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

.site-footer a {
  text-underline-offset: 3px;
  color: var(--pink-dark);
  font-weight: 600;
}

.site-footer p {
  margin: 0;
}

/* ============================================================
   BARRA FIXA MOBILE (Floating Sticky Bottom Bar)
   ============================================================ */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 10px 14px max(10px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(42, 32, 48, 0.08);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), opacity 240ms ease;
}

.sticky-cta-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 480px;
  height: 48px;
  margin: 0 auto;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: transform 140ms ease, filter 140ms ease;
}

.sticky-cta-btn:hover {
  filter: saturate(1.08);
}

.sticky-cta-btn:active {
  transform: scale(0.98);
}

.sticky-cta-dot {
  font-size: 0.75rem;
  line-height: 1;
}

.sticky-cta-arrow {
  font-size: 1.15rem;
  line-height: 1;
  margin-left: 2px;
}

/* ============================================================
   PÁGINAS INSTITUCIONAIS (Privacidade e Termos) & 404
   ============================================================ */
.legal-page .hero {
  min-height: auto;
  padding-bottom: 20px;
}

.legal-page h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.legal-page .notice {
  margin-top: 0;
  background: #ffffff;
  border-color: var(--border);
  color: var(--muted);
}

.legal-page .steps {
  grid-template-columns: 1fr;
}

.back-link {
  margin-top: 24px;
}

.back-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pink-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.back-link a:hover {
  color: var(--pink);
}

.not-found .hero {
  min-height: 70vh;
}

/* ============================================================
   BREAKPOINTS RESPONSIVOS
   ============================================================ */

/* Telas muito pequenas (320px a 360px) */
@media (max-width: 360px) {
  .page-shell {
    width: calc(100% - 16px);
    padding-top: 10px;
  }

  .brand-badge {
    font-size: 0.78rem;
    padding: 5px 10px 5px 5px;
    margin-bottom: 8px;
  }

  .brand-dot {
    width: 20px;
    height: 20px;
    font-size: 0.72rem;
  }

  h1 {
    font-size: 1.38rem;
    line-height: 1.14;
    margin-bottom: 6px;
  }

  .lead {
    font-size: 0.86rem;
    margin-bottom: 12px;
  }

  .cta-primary {
    padding: 10px 10px;
    min-height: 48px;
    gap: 8px;
  }

  .cta-primary .cta-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  .cta-primary .cta-icon svg {
    width: 22px;
    height: 22px;
  }

  .cta-primary .cta-title {
    font-size: 0.8rem;
  }

  .cta-primary .cta-subtitle {
    font-size: 0.68rem;
  }

  .sticky-cta-btn {
    font-size: 0.8rem;
    height: 44px;
    padding: 0 10px;
  }
}

/* Tablet (≥ 768px) */
@media (min-width: 768px) {
  .benefit-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-art {
    max-width: 400px;
  }

  .hero-art img {
    width: min(88%, 380px);
  }

  .site-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

/* Desktop (≥ 950px): Hero 2 Colunas (Texto à esquerda, Imagem à direita) */
@media (min-width: 950px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
    padding: 24px 0 44px;
  }

  .hero-copy {
    justify-content: center;
  }

  h1 {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1.05;
    margin-bottom: 14px;
  }

  .lead {
    font-size: 1.18rem;
    margin-bottom: 22px;
  }

  .cta-primary {
    max-width: 460px;
    padding: 16px 18px;
  }

  .cta-primary .cta-title {
    font-size: 0.98rem;
  }

  .cta-primary .cta-subtitle {
    font-size: 0.82rem;
  }

  .hero-art {
    margin: 0;
    max-width: 480px;
  }

  .hero-art img {
    width: min(94%, 460px);
  }

  .sticky-cta-bar {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta, .sticky-cta-bar, .sticky-cta-btn {
    transition: none !important;
  }
  .cta:hover { transform: none !important; }
}
