/* IronSync — landing estilo Stripe (dark, gradientes, tipografia limpa) */

:root {
  --bg0: #0a0a0f;
  --bg1: #0f0f17;
  --bg2: #14141f;
  --surface: rgba(255, 255, 255, 0.04);
  --surface2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f8;
  --muted: rgba(244, 244, 248, 0.65);
  --muted2: rgba(244, 244, 248, 0.45);
  --accent-violet: #7c3aed;
  --accent-blue: #3b82f6;
  --accent-glow: rgba(124, 58, 237, 0.35);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg0);
  background-image: radial-gradient(ellipse 120% 80% at 50% -30%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, var(--bg0) 0%, #06060a 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.site-header__logo {
  display: block;
  height: 32px;
  width: auto;
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
}

.site-nav__toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  color: var(--text);
}

.site-nav__burger {
  display: block;
  width: 20px;
  height: 14px;
  background: linear-gradient(var(--text), var(--text)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--text), var(--text)) 0 6px / 100% 2px no-repeat,
    linear-gradient(var(--text), var(--text)) 0 12px / 100% 2px no-repeat;
  opacity: 0.85;
}

.site-nav__panel {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav__link {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.site-nav__link:hover {
  color: var(--text);
  background: var(--surface);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn--sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn--lg {
  padding: 14px 22px;
  font-size: 15px;
  border-radius: 12px;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-violet) 0%, #5b21b6 50%, var(--accent-blue) 100%);
  color: #fff;
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.45);
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--surface2);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124, 58, 237, 0.25) 0%, transparent 65%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted2);
  margin: 0 0 16px;
}

.hero__title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 16ch;
}

.hero__lead {
  margin: 0 0 28px;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.65;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.hero__note {
  margin: 0;
  font-size: 13px;
  color: var(--muted2);
}

/* Dashboard mock */
.hero__visual {
  position: relative;
  min-height: 380px;
}

.dash-float {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dash-float__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.dash-float__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.dash-float__dot:first-child {
  background: #ef4444;
}
.dash-float__dot:nth-child(2) {
  background: #eab308;
}
.dash-float__dot:nth-child(3) {
  background: #22c55e;
}

.dash-float__title {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted2);
}

.dash-float__body {
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 220px;
}

.dash-float__rail {
  padding: 12px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: var(--muted2);
}

.dash-float__rail-item.is-active {
  color: var(--text);
  font-weight: 600;
}

.dash-float__main {
  padding: 14px;
}

.dash-float__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.dash-kpi {
  padding: 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

.dash-kpi__l {
  display: block;
  font-size: 10px;
  color: var(--muted2);
  margin-bottom: 4px;
}

.dash-kpi__v {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dash-float__chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100px;
  padding-top: 8px;
}

.dash-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.8) 0%, rgba(59, 130, 246, 0.4) 100%);
  height: var(--h);
  min-height: 20%;
  animation: barGrow 1.2s ease-out both;
}

.dash-bar:nth-child(2) {
  animation-delay: 0.05s;
}
.dash-bar:nth-child(3) {
  animation-delay: 0.1s;
}
.dash-bar:nth-child(4) {
  animation-delay: 0.15s;
}
.dash-bar:nth-child(5) {
  animation-delay: 0.2s;
}
.dash-bar:nth-child(6) {
  animation-delay: 0.25s;
}
.dash-bar:nth-child(7) {
  animation-delay: 0.3s;
}

@keyframes barGrow {
  from {
    transform: scaleY(0);
    transform-origin: bottom;
  }
  to {
    transform: scaleY(1);
  }
}

.hero__card {
  position: absolute;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 15, 23, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  font-size: 12px;
}

.hero__card--a {
  right: -8px;
  top: 12%;
}

.hero__card--b {
  left: -12px;
  bottom: 18%;
}

.hero__card-k {
  display: block;
  color: var(--muted2);
  margin-bottom: 4px;
}

.hero__card-v {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Band */
.band {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.band--tight {
  padding: 32px 0;
}

.band__label {
  text-align: center;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted2);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.metric__v {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.metric__l {
  font-size: 13px;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 96px 0;
}

.section--deep {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head__title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head__sub {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
}

.section-head__title--left,
.section-head__sub--left {
  text-align: left;
  margin-left: 0;
}

.section-head__title--left {
  margin-bottom: 12px;
}

/* Pain */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pain-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s;
}

.pain-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateY(-2px);
}

.pain-card__icon {
  font-size: 14px;
  color: var(--accent-violet);
  margin-bottom: 12px;
}

.pain-card__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

.pain-card__text {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Feature blocks */
.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-block--reverse .feature-block__text {
  order: 2;
}
.feature-block--reverse .feature-block__mock {
  order: 1;
}

.feature-block__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 10px;
}

.feature-block__title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.feature-block__desc {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
}

.feature-block__link {
  display: inline-block;
  margin-top: 16px;
  line-height: 0;
  opacity: 0.95;
  transition: opacity 0.2s;
}

.feature-block__link:hover {
  opacity: 1;
}

.feature-block__asaas {
  height: 28px;
  width: auto;
}

.feature-block__mock {
  border-radius: var(--radius-lg);
}

.mock-window {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mock-window__bar {
  height: 36px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border);
}

.mock-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mock-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-blue));
  opacity: 0.7;
}

.mock-line {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.mock-line--long {
  max-width: 100%;
}
.mock-line--mid {
  max-width: 70%;
}
.mock-line--short {
  max-width: 45%;
}

.mock-pill {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface2);
  color: var(--muted);
}

.mock-pill--ok {
  color: #86efac;
}
.mock-pill--warn {
  color: #fcd34d;
}

.mock-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
}

.mock-pane {
  padding: 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
}

.mock-pane--accent {
  border-color: rgba(124, 58, 237, 0.4);
}

.mock-label {
  font-size: 11px;
  color: var(--muted2);
  display: block;
  margin-bottom: 10px;
}

.mock-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 8px auto 0;
  background: conic-gradient(from 180deg, var(--accent-violet), var(--accent-blue), var(--accent-violet));
  opacity: 0.5;
}

.mock-bars2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
}

.mock-stat {
  padding: 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted2);
}

.mock-stat strong {
  display: block;
  margin-top: 6px;
  font-size: 1.1rem;
  color: var(--text);
}

.mock-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 16px 16px;
}

.mock-table span {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.mock-spark {
  padding: 16px;
}

.mock-spark__svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Showcase */
.showcase {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.showcase__stack {
  position: relative;
  width: min(520px, 100%);
  height: 320px;
}

.showcase-card {
  position: absolute;
  left: 50%;
  width: 90%;
  max-width: 440px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(20, 20, 31, 0.95);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  transition: transform 0.35s ease;
}

.showcase-card__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted2);
  margin-bottom: 14px;
}

.showcase-card__chart {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(10, 10, 15, 0.5);
}

.showcase-card__chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-card--back {
  top: 0;
  z-index: 1;
  opacity: 0.65;
  transform: translateX(-50%) scale(0.92) translateY(0);
}

.showcase-card--mid {
  top: 48px;
  z-index: 2;
  opacity: 0.85;
  transform: translateX(-50%) scale(0.96);
}

.showcase-card--front {
  top: 100px;
  z-index: 3;
  transform: translateX(-50%) scale(1);
  border-color: rgba(124, 58, 237, 0.35);
}

.showcase:hover .showcase-card--back {
  transform: translateX(-52%) scale(0.92) translateY(-4px);
}
.showcase:hover .showcase-card--front {
  transform: translateX(-48%) scale(1.02) translateY(-4px);
}

/* Compare */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.compare__col {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.compare__col--muted {
  background: var(--surface);
}

.compare__col--accent {
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.12) 0%, rgba(59, 130, 246, 0.08) 100%);
  border-color: rgba(124, 58, 237, 0.35);
}

.compare__head {
  margin: 0 0 16px;
  font-size: 1.1rem;
}

.compare__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare__list li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.compare__list li:last-child {
  border-bottom: 0;
}

.compare__col--accent .compare__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #a78bfa;
  font-weight: 700;
}

.compare__col--muted .compare__list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--muted2);
}

/* CTA band */
.cta-band {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(124, 58, 237, 0.2) 0%, transparent 55%);
}

.cta-band__inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-band__title {
  margin: 0 0 28px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Pricing simple */
.pricing-intro {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.pricing-simple {
  max-width: 420px;
  margin: 0 auto;
}

.pricing-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
}

.pricing-card__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.pricing-card__price {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--text), var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-card__hint {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--muted);
}

/* Contact */
.section--contact {
  padding-bottom: 120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-meta {
  margin: 16px 0;
}

.contact-meta a {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--muted);
}

.field__input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

.field__input:focus {
  outline: none;
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.field__textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted2);
}

/* Footer */
.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
  background: #06060a;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.site-footer__logo {
  height: 28px;
  width: auto;
  margin-bottom: 12px;
}

.site-footer__tagline {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 280px;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.site-footer__h {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted2);
}

.site-footer__cols a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}

.site-footer__cols a:hover {
  color: var(--text);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer__asaas {
  display: inline-block;
  line-height: 0;
  opacity: 0.9;
  transition: opacity 0.2s, transform 0.2s;
}

.site-footer__asaas:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.site-footer__asaas img {
  height: 26px;
  width: auto;
}

.site-footer__copy {
  margin: 0;
  font-size: 13px;
  color: var(--muted2);
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 340px;
  }

  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-block,
  .feature-block--reverse {
    grid-template-columns: 1fr;
  }

  .feature-block--reverse .feature-block__text {
    order: 1;
  }
  .feature-block--reverse .feature-block__mock {
    order: 2;
  }

  .metrics {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav__panel {
    position: absolute;
    right: 24px;
    top: 58px;
    flex-direction: column;
    align-items: stretch;
    width: min(320px, calc(100vw - 48px));
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(10, 10, 15, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.98);
    transition: opacity 0.2s, transform 0.2s;
  }

  .site-nav__panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .site-nav__link {
    padding: 12px;
  }

  .site-nav__actions {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    padding-top: 8px;
    flex-direction: column;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .compare {
    grid-template-columns: 1fr;
  }

  .hero__card--a {
    right: 0;
  }
  .hero__card--b {
    left: 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__cols {
    grid-template-columns: 1fr;
  }
}

/* Legal pages (Termos de Uso / Privacidade) */
.legal {
  padding: 36px 0 80px;
}

.legal__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.legal__toc {
  position: sticky;
  top: 96px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(20, 20, 31, 0.85);
  backdrop-filter: blur(10px);
  padding: 16px;
  max-height: calc(100vh - 140px);
  overflow: auto;
}

.legal__toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted2);
  margin: 0 0 10px;
}

.legal__toc a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  border: 1px solid transparent;
}

.legal__toc a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.legal__toc a.is-active {
  color: var(--text);
  border-color: rgba(124, 58, 237, 0.35);
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.14) 0%, rgba(59, 130, 246, 0.08) 100%);
}

.legal__doc {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(20, 20, 31, 0.75);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.legal__cover {
  padding: 28px 28px 22px;
  background: radial-gradient(ellipse 80% 60% at 30% 0%, rgba(124, 58, 237, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(59, 130, 246, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-bottom: 1px solid var(--border);
}

.legal__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted2);
}

.legal__title {
  margin: 0 0 8px;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.legal__meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.legal__body {
  padding: 22px 28px 28px;
}

.legal__body h2 {
  margin: 28px 0 10px;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.legal__body h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
  color: rgba(244, 244, 248, 0.9);
}

.legal__body p,
.legal__body li {
  color: var(--muted);
}

.legal__body p {
  margin: 0 0 12px;
  line-height: 1.75;
}

.legal__body ul {
  margin: 0 0 14px;
  padding-left: 18px;
}

.legal__body ul.legal-list {
  margin: 0 0 14px;
  padding-left: 18px;
}

.legal__divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

@media (max-width: 960px) {
  .legal__grid {
    grid-template-columns: 1fr;
  }
  .legal__toc {
    position: relative;
    top: 0;
    max-height: none;
  }
}
