/* ==========================================================================
   Tratto Landing Pages — Cliente, Profissional & Empresas
   Apple HIG + Liquid Glass + Roxo Tratto (#AF52DE / #BF5AF2)
   ========================================================================== */

:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-alt: #f9f9fb;
  --glass: rgb(255 255 255 / 0.78);
  --text: #1c1c1e;
  --text-muted: #5a5a64;
  --hairline: rgb(60 60 67 / 0.12);
  --primary: #af52de;
  --primary-deep: #6e2fe0;
  --primary-text: #8944ab;
  --primary-tint: rgb(175 82 222 / 0.12);
  --green: #169c46;
  --green-tint: rgb(22 156 70 / 0.12);
  --blue: #0066cc;
  --blue-tint: rgb(0 102 204 / 0.12);
  --orange: #c96a00;
  --orange-tint: rgb(201 106 0 / 0.12);
  --red: #d92d20;
  --red-tint: rgb(217 45 32 / 0.12);
  --teal: #0f8a9e;
  --teal-tint: rgb(15 138 158 / 0.12);
  --shadow-sm: 0 4px 16px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 22px 54px rgb(24 14 48 / 0.11);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --container: 1140px;
}

:root[data-theme='dark'] {
  --bg: #08080c;
  --surface: #14141c;
  --surface-alt: #1b1b26;
  --glass: rgb(20 20 28 / 0.78);
  --text: #f5f5f7;
  --text-muted: #a9a9b5;
  --hairline: rgb(255 255 255 / 0.11);
  --primary: #bf5af2;
  --primary-deep: #8b46f6;
  --primary-text: #d896ff;
  --primary-tint: rgb(191 90 242 / 0.18);
  --green: #32d769;
  --green-tint: rgb(50 215 105 / 0.16);
  --blue: #52a8ff;
  --blue-tint: rgb(82 168 255 / 0.16);
  --orange: #ffab3d;
  --orange-tint: rgb(255 171 61 / 0.16);
  --red: #ff5d52;
  --red-tint: rgb(255 93 82 / 0.16);
  --teal: #45d2e8;
  --teal-tint: rgb(69 210 232 / 0.16);
  --shadow-sm: 0 4px 16px rgb(0 0 0 / 0.32);
  --shadow-lg: 0 24px 56px rgb(0 0 0 / 0.55);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter',
    'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* ==========================================================================
   Navbar Flutuante Liquid Glass
   ========================================================================== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 12px 18px 0;
}

.navbar {
  max-width: var(--container);
  margin: 0 auto;
  height: 62px;
  padding: 0 16px 0 18px;
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #af52de, #6e2fe0);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 4px 12px rgb(175 82 222 / 0.36);
}

.audience-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary-text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-links a {
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--text);
}

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

.lp-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--surface-alt);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 3px;
}

.lp-switch-link {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--text-muted);
  white-space: nowrap;
}

.lp-switch-link.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 8px 22px rgb(110 47 224 / 0.28);
}

.btn-glass {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--hairline);
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 15px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 46px 0 54px;
}

.hero-card {
  border-radius: 34px;
  padding: 44px;
  background:
    radial-gradient(circle at 85% 20%, rgb(175 82 222 / 0.18), transparent 45%),
    radial-gradient(circle at 12% 90%, rgb(16 185 129 / 0.12), transparent 42%),
    var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.hero-card.is-pro {
  background:
    radial-gradient(circle at 85% 20%, rgb(15 138 158 / 0.2), transparent 45%),
    radial-gradient(circle at 15% 85%, rgb(175 82 222 / 0.15), transparent 45%),
    var(--surface);
}

.hero-card.is-b2b {
  background:
    radial-gradient(circle at 85% 20%, rgb(0 102 204 / 0.18), transparent 45%),
    radial-gradient(circle at 15% 85%, rgb(110 47 224 / 0.16), transparent 45%),
    var(--surface);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary-text);
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.07;
  letter-spacing: -0.035em;
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 56ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.hero-visual {
  background: var(--surface-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 26px 22px;
  text-align: center;
  position: relative;
}

.hero-visual img {
  width: 196px;
  height: 196px;
  object-fit: contain;
  animation: tatoFloat 3.4s ease-in-out infinite;
}

@keyframes tatoFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-9px);
  }
}

.hero-floating-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.mini-badge {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Content Sections, Grids & Cards
   ========================================================================== */
.section {
  padding: 52px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-text);
  margin-bottom: 6px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-head p {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* Pain vs Solution Comparison */
.vs-card-pain {
  border-color: rgb(217 45 32 / 0.25);
  background: linear-gradient(180deg, rgb(217 45 32 / 0.04), var(--surface));
}

.vs-card-gain {
  border-color: rgb(22 156 70 / 0.28);
  background: linear-gradient(180deg, rgb(22 156 70 / 0.05), var(--surface));
}

.vs-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.vs-header img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.vs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.vs-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
}

.dot-x,
.dot-ok {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  margin-top: 2px;
}

.dot-x {
  background: var(--red-tint);
  color: var(--red);
}

.dot-ok {
  background: var(--green-tint);
  color: var(--green);
}

/* Step Cards */
.step-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.step-card img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  margin: 6px auto 10px;
  display: block;
}

.step-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary-text);
  margin-bottom: 6px;
}

.step-card h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
}

.step-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Interactive Scenario / Simulator Box */
.interactive-box {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.scenario-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.scenario-tab {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--surface-alt);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.scenario-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.scenario-stage {
  background: var(--surface-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 20px;
  align-items: center;
}

.scenario-stage img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Simulator Controls */
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.range-group {
  margin-bottom: 16px;
}

.range-head {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.range-head strong {
  color: var(--primary-text);
}

input[type='range'] {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
}

.sim-results {
  background: var(--surface-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.sim-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
}

.sim-metric:last-of-type {
  border-bottom: 0;
}

.sim-metric strong {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.sim-metric strong.is-green {
  color: var(--green);
}

.sim-metric strong.is-red {
  color: var(--red);
  text-decoration: line-through;
  font-size: 16px;
}

/* Category Pills */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cat-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-card strong {
  font-size: 15px;
}

.cat-card span {
  font-size: 13px;
  color: var(--text-muted);
}

/* B2B Lead Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: var(--surface-alt);
  color: var(--text);
  padding: 0 13px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.field textarea {
  height: 88px;
  padding: 10px 13px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint);
}

.form-status {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  display: none;
  align-items: center;
  gap: 12px;
}

.form-status.show {
  display: flex;
}

.form-status.ok {
  background: var(--green-tint);
  border: 1px solid rgb(22 156 70 / 0.25);
}

.form-status.err {
  background: var(--red-tint);
  border: 1px solid rgb(217 45 32 / 0.25);
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  text-align: left;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-a {
  display: none;
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.faq-item.open .faq-a {
  display: block;
}

/* Final CTA Banner & Footer */
.final-cta {
  background: linear-gradient(135deg, #6e2fe0, #af52de);
  color: #fff;
  border-radius: 30px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.final-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.15;
}

.final-cta p {
  margin: 0 0 18px;
  color: rgb(255 255 255 / 0.88);
  max-width: 58ch;
}

.final-cta img {
  width: 138px;
  height: 138px;
  object-fit: contain;
}

.footer {
  padding: 34px 0 46px;
  border-top: 1px solid var(--hairline);
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}

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

.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .hero-card,
  .sim-grid,
  .scenario-stage,
  .final-cta {
    grid-template-columns: 1fr;
  }
  .grid-4,
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .lp-switcher {
    display: none;
  }
  .hero-card {
    padding: 26px 20px;
  }
  .grid-2,
  .grid-4,
  .cat-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .final-cta {
    padding: 26px 20px;
    text-align: center;
  }
  .final-cta img {
    margin: 0 auto;
  }
}
