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

:root {
  --navy: #060a08;
  --cobalt: #22c55e;
  --cyan: #4ade80;
  --accent: #86efac;
  --mist: #0c1610;
  --paper: #040705;
  --ink: #e7f5ec;
  --muted: #8eab99;
  --line: #1b2f23;
  --high: #C4661A;
  --ok: #34d399;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 12px;
}

html[data-theme="light"] {
  --navy: #f4fbf6;
  --cobalt: #15803d;
  --cyan: #22c55e;
  --accent: #16a34a;
  --mist: #e7f5eb;
  --paper: #f8fcf9;
  --ink: #0b1a11;
  --muted: #3f5b4a;
  --line: #c8dfcf;
  --ok: #0f7a5a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: .22;
}

body::before {
  background: radial-gradient(circle, rgba(34, 197, 94, .7) 0%, rgba(34, 197, 94, 0) 66%);
  top: -18vw;
  left: -10vw;
}

html[data-theme="light"] body::before,
html[data-theme="light"] body::after {
  opacity: .12;
}

body::after {
  background: radial-gradient(circle, rgba(74, 222, 128, .55) 0%, rgba(74, 222, 128, 0) 68%);
  bottom: -20vw;
  right: -10vw;
}

a {
  color: inherit;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.section-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  min-height: 42px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.btn-primary {
  background: var(--cobalt);
  color: #031308;
}

.btn-primary:hover {
  background: var(--cyan);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.theme-toggle {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 7px 10px;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.theme-toggle:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  background: var(--mist);
}

html[data-theme="light"] .site-header {
  background: rgba(248, 252, 249, .88);
  border-bottom-color: var(--line);
}

html[data-theme="light"] .site-header.scrolled {
  background: rgba(248, 252, 249, .98);
  border-bottom-color: rgba(21, 128, 61, .35);
  box-shadow: 0 10px 22px rgba(9, 30, 16, .12);
}

html[data-theme="light"] .showcase-card {
  background: #ffffff;
}

html[data-theme="light"] .repo-strip {
  background: linear-gradient(135deg, #ebf8ef 0%, #dbf1e2 100%);
  border-color: rgba(21, 128, 61, .25);
}

html[data-theme="light"] .repo-strip p {
  color: #1f3829;
}

html[data-theme="light"] .domain-list a {
  background: #ffffff;
}

/* ─── Header ─────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(4, 7, 5, .82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  background: rgba(4, 7, 5, .94);
  border-bottom-color: rgba(34, 197, 94, .35);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.header-nav a:hover {
  color: var(--cobalt);
  border-color: var(--line);
  background: var(--mist);
}

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

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.brand-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* ─── Hero ───────────────────────────────── */
.hero {
  padding: 64px 0 56px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.18;
  max-width: 680px;
}

.hero-title .dim {
  color: var(--muted);
}

.hero-sub {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 540px;
}

.hero-cta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-cta-note {
  font-size: 12.5px;
  color: var(--muted);
}

.hero-focus {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-focus span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--cobalt);
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .25);
  border-radius: 999px;
  padding: 5px 10px;
}

/* ─── Verifier teaser ────────────────────── */
.verifier {
  margin-top: 36px;
  background: linear-gradient(135deg, #08130d 0%, #0f2117 100%);
  color: #f2fff7;
  border: 1px solid rgba(34, 197, 94, .35);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.verifier-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.verifier-text {
  font-size: 14.5px;
  color: rgba(255, 255, 255, .85);
  max-width: 420px;
}

.verifier .btn-primary {
  background: var(--cyan);
  color: #041007;
  white-space: nowrap;
}

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

/* ─── Symptom cards ──────────────────────── */
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 30px;
}

.symptom-card {
  padding: 22px 22px 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 4px 12px;
}

.symptom-card:nth-child(odd) {
  padding-left: 0;
  border-right: 1px solid var(--line);
  padding-right: 22px;
}

.symptom-card:nth-child(even) {
  padding-left: 22px;
}

.symptom-rank {
  font-family: var(--mono);
  font-size: 20px;
  color: var(--line);
  line-height: 1.4;
}

.symptom-card h3 {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 6px;
  grid-column: 2;
}

.symptom-card p {
  font-size: 14px;
  color: var(--muted);
  grid-column: 2;
}

/* ─── Pricing ────────────────────────────── */
.pricing-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.plan {
  border-top: 3px solid var(--line);
  padding: 18px 4px 0;
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.plan.is-pick {
  border-top-color: var(--cyan);
}

.plan-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 6px;
}

.plan h4 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.plan .price {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.plan .price em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.plan ul {
  margin: 14px 0 0;
  padding-left: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--muted);
}

.plan li {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.plan li.no {
  color: var(--line);
}

.plan a.btn {
  margin-top: 18px;
  width: 100%;
}

.fine-print {
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 640px;
}

/* ─── Produtos / Portfólio ─────────────── */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.showcase-card {
  border: 1px solid var(--line);
  background: #09140e;
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 10px;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease;
}

.showcase-card:hover {
  border-color: rgba(34, 197, 94, .6);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
  transform: translate3d(0, calc(var(--parallax-y, 0) - 2px), 0);
}

.showcase-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.showcase-card h3 {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.showcase-card p {
  font-size: 14px;
  color: var(--muted);
}

.showcase-status {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ok);
  background: rgba(15, 122, 90, .1);
  border: 1px solid rgba(15, 122, 90, .3);
  border-radius: 999px;
  padding: 4px 9px;
  white-space: nowrap;
}

.showcase-status.is-soon {
  color: var(--high);
  background: rgba(196, 102, 26, .1);
  border-color: rgba(196, 102, 26, .35);
}

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.showcase-tags span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cobalt);
  background: rgba(34, 197, 94, .1);
  border-radius: 999px;
  padding: 3px 8px;
  border: 1px solid rgba(34, 197, 94, .2);
}

.showcase-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.repo-strip {
  margin-top: 20px;
  background: linear-gradient(135deg, #08130d 0%, #0f2117 100%);
  border: 1px solid rgba(34, 197, 94, .35);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.repo-strip p {
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  max-width: 620px;
}

.repo-strip .btn {
  white-space: nowrap;
}

.domain-list {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.domain-list a {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  background: #08100c;
}

.domain-list a:hover {
  color: var(--cobalt);
  border-color: var(--cobalt);
}

/* ─── About ──────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 30px;
}

.about img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.about p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 560px;
}

.about-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-tags span {
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 4px 10px;
  background: rgba(34, 197, 94, .1);
  border-radius: 20px;
  color: var(--cobalt);
  border: 1px solid rgba(34, 197, 94, .2);
}

/* ─── FAQ ────────────────────────────────── */
.faq {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 4px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

.faq-item summary::after {
  content: '+';
  font-family: var(--mono);
  font-size: 18px;
  color: var(--cobalt);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 4px 18px;
  font-size: 14px;
  color: var(--muted);
  max-width: 620px;
}

/* ─── Closing ────────────────────────────── */
.closing {
  text-align: center;
  padding: 80px 0;
  border-bottom: none;
}

.closing h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 600;
  margin-bottom: 10px;
}

.closing p {
  font-size: 15px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 26px;
}

/* ─── Footer ─────────────────────────────── */
.site-footer {
  padding: 28px 0 96px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cobalt);
}

/* ─── Reveal Layer (inspirado na arquitetura motion) ─── */
.reveal,
.mask-in,
.zoom-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s cubic-bezier(.2, .65, .2, 1), transform .9s cubic-bezier(.2, .65, .2, 1);
  transition-delay: var(--stagger, 0ms);
  will-change: transform, opacity;
}

.mask-in {
  clip-path: inset(0 0 100% 0 round 8px);
  transform: translateY(14px);
}

.zoom-in {
  transform: scale(.94);
  transform-origin: center center;
}

.reveal.visible,
.mask-in.visible,
.zoom-in.visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0 round 8px);
}

/* ─── Fixed WhatsApp button (mobile) ────── */
.wa-float {
  display: none;
}

@media (max-width: 980px) {
  .container {
    padding: 0 18px;
  }

  .site-header .container {
    height: 58px;
  }

  .header-actions {
    gap: 8px;
  }

  .hero {
    padding: 52px 0 44px;
  }

  .section {
    padding: 62px 0;
  }

  .plans,
  .showcase-grid {
    gap: 12px;
  }
}

@media (max-width: 760px) {
  .site-header .container {
    height: 56px;
  }

  .brand-name {
    font-size: 14px;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cta .btn,
  .verifier .btn,
  .repo-strip .btn,
  .plan .btn {
    width: 100%;
  }

  .verifier {
    padding: 16px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .theme-toggle {
    width: 34px;
    height: 34px;
    padding: 0;
    font-size: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .theme-toggle::before {
    content: "☀";
    font-size: 14px;
    line-height: 1;
  }

  html[data-theme="light"] .theme-toggle::before {
    content: "☾";
  }

  .header-nav {
    display: none;
  }

  .symptom-grid {
    grid-template-columns: 1fr;
  }

  .symptom-card:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }

  .symptom-card:nth-child(even) {
    padding-left: 0;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .about {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .about img {
    width: 96px;
    height: 96px;
  }

  .wa-float {
    display: flex;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 40;
    justify-content: center;
  }

  .wa-float .btn {
    width: 100%;
    box-shadow: 0 8px 24px rgba(10, 37, 64, .25);
  }

  .site-footer {
    padding-bottom: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* ─── Soluções prontas ───────────────────── */
.solution-feature {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(34, 197, 94, .35);
  background: #09140e;
  border-radius: var(--radius);
  padding: 22px;
}

.solution-feature-text {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.solution-feature h3 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.solution-feature p {
  font-size: 14.5px;
  color: var(--muted);
}

.solution-feature-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.solution-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.solution-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.solution-card h3 {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.3;
}

.solution-card p {
  font-size: 13.5px;
  color: var(--muted);
}

.solution-card a {
  font-size: 13px;
  font-weight: 600;
  color: var(--cobalt);
  text-decoration: none;
}

.solution-card a:hover {
  text-decoration: underline;
}

html[data-theme="light"] .solution-feature {
  background: #ffffff;
}

/* ─── Página de produto ──────────────────── */
.product-hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}

.product-back {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 20px;
}

.product-back:hover {
  color: var(--cobalt);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}

.product-hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

.product-hero .lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
}

.product-hero .hero-cta {
  margin-top: 26px;
}

.product-hero-img {
  justify-self: center;
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 22px;
  border: 8px solid #1b2f23;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
}

.screens {
  margin-top: 28px;
  display: grid;
  gap: 22px;
}

.screens figure {
  display: grid;
  gap: 8px;
}

.screens img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.screens figcaption {
  font-size: 13.5px;
  color: var(--muted);
}

.screens-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.steps {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: passo;
  list-style: none;
}

.steps li {
  border-top: 3px solid var(--line);
  padding-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.steps li::before {
  counter-increment: passo;
  content: "0" counter(passo);
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cobalt);
  margin-bottom: 6px;
}

.steps strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-list {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 28px;
  list-style: none;
}

.feature-list li {
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cobalt);
  font-weight: 700;
}

.feature-list li span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .solution-feature,
  .product-hero-grid {
    grid-template-columns: 1fr;
  }

  .solution-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 560px) {
  .solution-grid,
  .steps,
  .feature-list,
  .screens-pair {
    grid-template-columns: 1fr;
  }

  .solution-feature {
    padding: 18px;
  }
}
