:root {
  --bg: #060a08;
  --bg-raised: #0d1613;
  --bg-raised-2: #111c17;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f7f5;
  --text-dim: #a7b3ad;
  --text-dimmer: #6f7d76;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --radius: 16px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.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;
}

a {
  color: inherit;
}

::selection {
  background: rgba(74, 222, 128, 0.28);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(6, 10, 8, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--text);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  color: #04140b;
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.25), 0 8px 24px -6px rgba(34, 197, 94, 0.55);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

/* Glow backdrop, reused across sections */

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Hero */

.hero {
  position: relative;
  padding: 84px 0 100px;
  overflow: hidden;
}

.hero .glow {
  width: 640px;
  height: 640px;
  top: -220px;
  right: -160px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.28), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-300);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.08);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green-400);
  box-shadow: 0 0 8px 1px rgba(74, 222, 128, 0.8);
}

.hero h1 {
  font-size: 48px;
  line-height: 1.12;
  margin: 0 0 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  margin: 0 0 34px;
  max-width: 50ch;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-raised);
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
}

.waitlist-form input[type="email"]::placeholder {
  color: var(--text-dimmer);
}

.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.form-note {
  min-height: 22px;
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-dim);
}

.form-note.success {
  color: var(--green-300);
  font-weight: 600;
}

.form-note.error {
  color: #fca5a5;
  font-weight: 600;
}

/* Hero visual — mockup ilustrativo, não é screenshot real do app */

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mock {
  width: 270px;
  border-radius: 34px;
  background: linear-gradient(160deg, #14231c, #060a08);
  border: 1px solid var(--border-strong);
  padding: 14px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 60px -20px rgba(34, 197, 94, 0.35);
}

.phone-mock-notch {
  width: 60px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 auto 14px;
}

.phone-mock-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 340px;
}

.mock-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dimmer);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mock-row-title {
  height: 15px;
  width: 68%;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
}

.mock-row-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-check {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  color: #04140b;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-check-pending {
  background: rgba(255, 255, 255, 0.1);
  color: transparent;
}

.mock-bar {
  height: 11px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
  flex: 1;
}

.mock-bar-short {
  max-width: 68%;
}

.mock-divider {
  height: 1px;
  background: var(--border);
  margin: 2px 0;
}

.mock-pill {
  margin-top: auto;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.18), rgba(22, 163, 74, 0.1));
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: var(--green-300);
  font-weight: 700;
  font-size: 12.5px;
  padding: 11px 12px;
  border-radius: 10px;
  text-align: center;
}

/* Principles band */

.principles {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
}

.principles-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.principle {
  padding: 40px 32px;
  border-left: 1px solid var(--border);
}

.principle:first-child {
  border-left: none;
}

.principle-value {
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green-300), var(--green-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.principle-label {
  font-size: 14.5px;
  color: var(--text-dim);
  max-width: 32ch;
}

/* Sections */

.section {
  padding: 96px 0;
  position: relative;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
  max-width: 34ch;
}

.section-kicker {
  color: var(--green-300);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}

.section-body {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 62ch;
}

.section-head {
  margin-bottom: 48px;
}

/* Feature showcase */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card {
  padding: 30px 28px;
  background: var(--bg-raised);
  transition: background 0.2s ease;
}

.feature-card:hover {
  background: var(--bg-raised-2);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

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

.feature-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-dim);
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
}

/* Calculadoras (ferramentas gratuitas) */

.tool-hero {
  padding: 56px 0 0;
}

.tool-hero .section-title {
  max-width: 28ch;
}

.tool-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

.tool-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.field input[type="number"],
.field select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
}

.field input[type="number"]:focus,
.field select:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-option {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.pill-option.active {
  border-color: var(--green-500);
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-300);
}

.tool-result {
  background: var(--bg-raised-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: sticky;
  top: 96px;
}

.tool-result-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dimmer);
  margin: 0 0 10px;
}

.tool-result-value {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--green-300), var(--green-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.tool-result-unit {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dim);
  margin-left: 4px;
  -webkit-text-fill-color: var(--text-dim);
}

.tool-result-note {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.55;
}

.tool-result-breakdown {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tool-result-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 14.5px;
}

.tool-result-row strong {
  color: var(--text);
  font-size: 16px;
}

.tool-disclaimer {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-dimmer);
  line-height: 1.55;
}

.tool-cta {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px dashed var(--border-strong);
}

.tool-cta p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 0 14px;
}

.tools-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.tools-index a {
  display: block;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 14.5px;
}

.tools-index a span {
  display: block;
  margin-top: 4px;
  font-weight: 400;
  font-size: 13px;
  color: var(--text-dim);
}

.tools-index a:hover {
  border-color: var(--border-strong);
}

@media (max-width: 800px) {
  .tool-layout {
    grid-template-columns: 1fr;
  }

  .tool-result {
    position: static;
  }

  .tools-index {
    grid-template-columns: 1fr;
  }
}

/* Roadmap */

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.roadmap-card {
  position: relative;
  padding: 30px 28px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.roadmap-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  border: 1px dashed var(--border-strong);
  border-radius: 999px;
  padding: 5px 11px;
  margin-bottom: 18px;
}

.roadmap-card .feature-icon {
  opacity: 0.85;
}

.roadmap-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 700;
}

.roadmap-card p {
  color: var(--text-dim);
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
}

/* Acessibilidade */

.section-accent {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.accessibility-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.checklist li {
  position: relative;
  padding-left: 34px;
  font-size: 15.5px;
  color: var(--text-dim);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  color: #04140b;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Como funciona */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  color: #04140b;
  font-weight: 800;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 700;
}

.step p {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0;
}

/* FAQ */

.faq-list {
  max-width: 760px;
  border-top: 1px solid var(--border);
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  padding: 22px 4px;
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text-dim);
  transition: transform 0.2s ease;
}

.faq-item[data-open="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--green-300);
  border-color: rgba(74, 222, 128, 0.4);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}

.faq-item[data-open="true"] .faq-answer {
  max-height: 240px;
}

.faq-answer p {
  margin: 0 4px 22px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  max-width: 62ch;
}

/* CTA */

.section-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-cta .glow {
  width: 700px;
  height: 500px;
  bottom: -260px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(34, 197, 94, 0.22), transparent 70%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-inner .section-title {
  max-width: 40ch;
}

.waitlist-form-center {
  margin-top: 8px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a,
.footer-links button {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--text);
}

/* Cookie consent */

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  width: 360px;
  max-width: calc(100vw - 40px);
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.6);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-300);
  margin: 0 0 8px;
}

.cookie-banner p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 0 16px;
  line-height: 1.55;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner-actions .btn {
  padding: 10px 16px;
  font-size: 13.5px;
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-strong);
}

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

.cookie-prefs {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-prefs[hidden] {
  display: none;
}

.cookie-pref-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.cookie-pref-row strong {
  display: block;
  font-size: 13.5px;
  color: var(--text);
}

.cookie-pref-row span {
  color: var(--text-dimmer);
  font-size: 12.5px;
}

/* Responsive */

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero-inner,
  .accessibility-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero h1 {
    font-size: 34px;
  }

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

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

  .principles-inner {
    grid-template-columns: 1fr;
  }

  .principle {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .principle:first-child {
    border-top: none;
  }

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

  .waitlist-form {
    flex-direction: column;
  }

  .cookie-banner {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
  }
}
