/* ─── Typewriter cursor ─────────────────────────────────────── */
.tw-cursor {
  display: inline-block;
  color: var(--neon);
  font-weight: 300;
  margin-left: 1px;
  animation: twBlink .65s step-end infinite;
}
@keyframes twBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ─── Scroll Animations ─────────────────────────────────────── */
.anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.anim.visible {
  opacity: 1;
  transform: translateY(0);
}
.anim-delay-1 { transition-delay: .1s; }
.anim-delay-2 { transition-delay: .2s; }
.anim-delay-3 { transition-delay: .3s; }

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: #f6f6f4;
  color: #101820;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── Design Tokens ────────────────────────────────────────── */
:root {
  --black:       #101820;
  --black-2:     #17222e;
  --paper:       #f6f6f4;
  --paper-2:     #ebebe9;
  --brand:       #00b140;
  --neon:        #23d23c;
  --brand-deep:  #008a33;
  --ink:         #101820;
  --ink-soft:    #4a5563;
  --white:       #ffffff;
  --line:        rgba(0,177,64,0.16);
}

/* ─── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
section { padding-left: 24px; padding-right: 24px; }

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 30px;
  border-radius: 99px;
  box-shadow: 0 12px 30px -10px rgba(0,177,64,0.45);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .15s;
}
.btn:hover { opacity: .9; transform: translateY(-1px); }

/* ─── HEADER ───────────────────────────────────────────────── */
#header {
  background: rgba(16, 24, 32, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 24px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#header .logo img { width: 306px; height: 26px; object-fit: contain; }

/* ─── HERO ─────────────────────────────────────────────────── */
#hero {
  background: var(--black) url("../img/bg_hero.png") center center / cover no-repeat fixed;
  padding: 150px 24px 96px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 32, 0.72);
  z-index: 0;
}
#hero .container { position: relative; z-index: 1; }
/* dot grid */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
/* green glow behind form */
#hero::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -80px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(0,177,64,0.14) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
#hero .container { position: relative; z-index: 1; }
#hero .container {
  display: flex;
  align-items: flex-end;
  gap: 64px;
}
.hero-left {
  flex: 1;
  min-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 8px;
}
.hero-left h1 {
  font-size: 50px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.08;
}
.hero-left h1 .highlight { color: var(--neon); }
.hero-left .subhead {
  font-size: 19px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.52;
}
.hero-left .desc {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.66);
  line-height: 1.55;
}
.trust {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
}
.trust-item img { width: 14px; height: 14px; }
.trust-item span {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  white-space: nowrap;
}

/* ─── FORM CARD ────────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 28px 72px -22px rgba(0,0,0,0.35);
  width: 504px;
  min-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.22px;
  line-height: 1.2;
}
.form-divider {
  height: 2px;
  background: var(--paper-2);
  border-radius: 99px;
}
.form-row {
  display: flex;
  gap: 14px;
}
.form-row .field { flex: 1; min-width: 0; }
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.field input,
.field select {
  width: 100%;
  background: var(--paper);
  border: 1.5px solid var(--paper-2);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink);
  outline: none;
  appearance: none;
  transition: border-color .2s;
}
.field input::placeholder { color: rgba(74,85,99,0.68); }
.field input:focus,
.field select:focus { border-color: var(--brand); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5563' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  color: rgba(74,85,99,0.68);
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 4px;
}
.consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--ink-soft);
  border-radius: 5px;
  appearance: none;
  cursor: pointer;
  margin-top: 1px;
  transition: background .2s;
}
.consent input[type="checkbox"]:checked {
  background: var(--brand);
  border-color: var(--brand);
}
.consent label {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.48;
  cursor: pointer;
}
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 12px 30px -8px rgba(0,177,64,0.5);
}
.lgpd {
  font-size: 12px;
  font-weight: 500;
  color: rgba(74,85,99,0.72);
  text-align: center;
}
.req {
  color: var(--brand);
  font-weight: 700;
}
.form-required-note {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--ink-soft);
  margin-bottom: 2px;
}
.input-error { border-color: #e03535 !important; }
.input-ok    { border-color: var(--brand) !important; }
.field-error {
  font-size: 11.5px;
  font-weight: 500;
  color: #e03535;
  margin-top: 2px;
}

/* ─── STATS BAR ────────────────────────────────────────────── */
#stats-bar {
  background: var(--black-2);
  padding: 28px 24px;
}
#stats-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1.54px;
  text-transform: uppercase;
}
.stat-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stat-number {
  font-size: 30px;
  font-weight: 800;
  color: var(--neon);
  white-space: nowrap;
}
.stat-desc {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 52px;
  background: var(--line);
}

/* ─── SECTION HEADS ────────────────────────────────────────── */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  width: 100%;
}
.section-head h2 {
  font-size: 43px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.645px;
  max-width: 880px;
}
.section-head p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  max-width: 720px;
}
.kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-deep);
}

/* ─── PROBLEMA ─────────────────────────────────────────────── */
#problema {
  background: var(--ink);
  padding: 96px 24px;
}
#problema .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}
#problema .section-head h2 { color: var(--neon); }
#problema .section-head p { color: rgba(255,255,255,0.72); padding: 0 40px; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}
.card-dor {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card-dor:hover {
  transform: translateY(-5px);
  border-color: rgba(0,177,64,0.45);
  box-shadow: 0 0 40px rgba(0,177,64,0.08);
}
.badge {
  width: 46px;
  height: 46px;
  background: var(--brand);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.card-dor h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.22;
}
.card-dor p {
  font-size: 15.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.66);
  line-height: 1.58;
}

/* ─── SOLUÇÃO ──────────────────────────────────────────────── */
#solucao {
  background: var(--paper);
  padding: 80px 24px;
  position: relative;
}
#solucao::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("../img/tex-bg.png") center center / cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
}
#solucao .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
#solucao .section-head h2 { color: var(--ink); }
#solucao .section-head p { color: var(--ink-soft); }
.card-pilar {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  box-shadow: 0 24px 60px -24px rgba(16,24,32,0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.card-pilar:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 32px 72px -20px rgba(16,24,32,0.18);
}
.card-pilar .inner {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}
.iconbox {
  width: 54px;
  height: 54px;
  background: var(--paper-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.iconbox img { width: 26px; height: 26px; object-fit: contain; }
.card-pilar h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.24;
}
.card-pilar p {
  font-size: 15.5px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.58;
}

/* ─── COMPARATIVO ──────────────────────────────────────────── */
#comparativo {
  background: var(--paper-2);
  padding: 60px 24px 80px;
}
#comparativo .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
#comparativo .section-head h2 { color: var(--ink); }
#comparativo .section-head p { color: var(--ink-soft); }
.tabela {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 24px 60px -24px rgba(16,24,32,0.18);
  overflow: hidden;
  width: 100%;
}
.row-head {
  display: flex;
  background: var(--black);
}
.row-head .cell-label {
  width: 300px;
  flex-shrink: 0;
  background: var(--black-2);
  padding: 22px 24px;
  display: flex;
  align-items: center;
}
.row-head .cell-label span {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}
.row-head .cell-plan {
  flex: 1;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.row-head .cell-plan h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}
.tag-brand { background: var(--brand); }
.tag-muted { background: rgba(255,255,255,0.12); }
.tabela-row {
  display: flex;
  border-top: 1px solid var(--paper-2);
}
.tabela-row.alt { background: var(--paper); }
.tabela-row .cell-label {
  width: 300px;
  flex-shrink: 0;
  padding: 18px 24px;
  display: flex;
  align-items: center;
}
.tabela-row .cell-label span {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}
.tabela-row .cell-data {
  flex: 1;
  padding: 18px 24px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.check {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-deep);
  flex-shrink: 0;
  line-height: 1.48;
}
.tabela-row .cell-data p {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.48;
}
.tabela-row .cell-data p.muted {
  color: var(--ink-soft);
  font-weight: 500;
}

/* ─── BENEFÍCIOS ───────────────────────────────────────────── */
#beneficios {
  background: var(--black);
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}
.beneficios-video-wrap {
  position: absolute;
  inset: -30%;
  z-index: 0;
}
.beneficios-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
  will-change: transform;
}
.beneficios-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(16,24,32,0.6) 0%,
    rgba(16,24,32,0.3) 50%,
    rgba(16,24,32,0.6) 100%
  );
}
#beneficios .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
  position: relative;
  z-index: 1;
}
#beneficios .section-head h2 { color: var(--white); }
.benef-rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.benef-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-benef {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 18px 46px -22px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.card-benef:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 24px 56px -16px rgba(0,177,64,0.2);
}
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 99px;
  background: linear-gradient(135deg, #23d23c 14.286%, #00b140 85.714%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-circle img { width: 26px; height: 26px; object-fit: contain; }
.card-benef h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.26;
}
.card-benef p {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  line-height: 1.56;
}

/* ─── COBERTURA ────────────────────────────────────────────── */
#cobertura {
  background: var(--paper-2);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.cobertura-map {
  position: absolute;
  top: -60px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 200px);
  border: none;
  pointer-events: none;
}
#cobertura .container { position: relative; z-index: 1; }
.cobertura-box {
  background: var(--white);
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 28px 72px -22px rgba(16,24,32,0.18);
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.cobertura-box .kicker { margin-bottom: 0; }
.cobertura-box .cobertura-number {
  font-size: 72px;
  font-weight: 800;
  color: var(--brand-deep);
  letter-spacing: -1.44px;
  white-space: nowrap;
  line-height: normal;
}
.cobertura-box h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.48px;
  line-height: 1.14;
}
.cobertura-box p {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.58;
}
.cobertura-divider {
  height: 4px;
  background: var(--paper-2);
  border-radius: 99px;
}

/* ─── DEPOIMENTO ───────────────────────────────────────────── */
#depoimento {
  background: var(--black);
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}
.depoimento-video-wrap {
  position: absolute;
  inset: -30%;
  z-index: 0;
}
.depoimento-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
  will-change: transform;
}
.depoimento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(16,24,32,0.55) 0%,
    rgba(16,24,32,0.35) 50%,
    rgba(16,24,32,0.55) 100%
  );
}
#depoimento .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}
#depoimento .kicker { color: var(--neon); }
.quote-card {
  background: var(--white);
  border-radius: 18px;
  padding: 52px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.4);
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quote-logo {
  width: 160px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}
.quote-logo.logo-lg {
  width: 126px;
  height: 76px;
}

/* Carousel track */
.carousel-track {
  position: relative;
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  transition: height .38s ease;
}
.carousel-track .quote-card { display: none; }
.carousel-track .quote-card.active { display: flex; }

@keyframes cardEnterRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0);    }
}
@keyframes cardEnterLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0);     }
}
@keyframes cardExitLeft {
  from { opacity: 1; transform: translateX(0);     }
  to   { opacity: 0; transform: translateX(-40px); }
}
@keyframes cardExitRight {
  from { opacity: 1; transform: translateX(0);    }
  to   { opacity: 0; transform: translateX(40px); }
}
.quote-card.anim-enter-right { animation: cardEnterRight .38s ease forwards; }
.quote-card.anim-enter-left  { animation: cardEnterLeft  .38s ease forwards; }
.quote-card.anim-exit-left   { animation: cardExitLeft   .32s ease forwards; }
.quote-card.anim-exit-right  { animation: cardExitRight  .32s ease forwards; }

/* Dots */
.carousel-dots-track { display: flex; align-items: center; gap: 7px; }
.carousel-dot {
  width: 9px; height: 9px;
  border-radius: 99px;
  background: var(--paper-2);
  border: 1.5px solid var(--brand-deep);
  cursor: pointer;
  transition: background .2s, width .2s;
}
.carousel-dot.active {
  background: var(--brand-deep);
  width: 22px;
}
.quote-mark {
  font-size: 72px;
  font-weight: 800;
  color: rgba(0,177,64,0.28);
  line-height: 0.56;
  height: 40px;
}
.quote-text {
  font-size: 23px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.115px;
  line-height: 1.48;
}
.quote-text strong { color: var(--brand-deep); font-weight: 400; }
.quote-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quote-author .name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.quote-author .role {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.carousel {
  display: flex;
  align-items: center;
  gap: 14px;
}
.carousel-arrow {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--brand-deep);
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-deep);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.carousel-arrow:hover { background: var(--brand-deep); color: var(--white); }
.carousel-dots img { width: 25px; height: 9px; }

/* ─── FECHAMENTO ───────────────────────────────────────────── */
#fechamento {
  background: var(--paper);
  padding: 104px 24px;
}
#fechamento .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.dash {
  width: 64px;
  height: 5px;
  background: var(--brand);
  border-radius: 99px;
}
#fechamento h2 {
  font-size: 44px;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  letter-spacing: -0.66px;
  line-height: 1.14;
  max-width: 820px;
}
#fechamento p {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.58;
  max-width: 640px;
}

/* ─── PRELOADER ────────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader img {
  width: 300px;
  height: auto;
  object-fit: contain;
}
.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.12);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ─── FOOTER ───────────────────────────────────────────────── */
#footer {
  background: var(--black-2);
  padding: 44px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
#footer img { width: 156px; height: 30px; object-fit: contain; }
#footer small {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVO
   Breakpoints: 1100px (tablet largo), 768px (tablet), 480px (mobile)
   ═══════════════════════════════════════════════════════════════ */

/* ─── Base: previne overflow global ───────────────────────── */
html, body { overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
input, select, button, textarea { max-width: 100%; }

/* Tabela: wrapper sempre contido */
.tabela-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ─── 1100px — Tablet largo ────────────────────────────────── */
@media (max-width: 1100px) {
  #hero .container { gap: 32px; }
  .hero-left { min-width: 0; flex: 1 1 0; }
  .form-card { width: 40%; min-width: 340px; max-width: 460px; }

  .section-head h2 { font-size: 34px; }

  .row-head .cell-label,
  .tabela-row .cell-label { width: 180px; }
}

/* ─── 900px — Hero empilha cedo ─────────────────────────── */
@media (max-width: 900px) {
  #hero .container { flex-direction: column; align-items: stretch; gap: 36px; }
  .hero-left { min-width: 0; }
  .form-card { width: 100%; max-width: 100%; min-width: 0; }

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

/* ─── 768px — Tablet ───────────────────────────────────────── */
@media (max-width: 768px) {

  /* Header */
  #header { padding: 16px 20px; }
  #header .logo img { width: 190px; height: auto; }
  #header .btn { display: none; }

  /* Hero */
  #hero { padding: 104px 20px 56px; }
  .form-card { padding: 24px; }
  .hero-left h1 { font-size: 30px; }
  .hero-left .subhead { font-size: 16px; }

  /* Stats bar — 2×2 */
  #stats-bar { padding: 28px 20px; }
  #stats-bar .container { flex-wrap: wrap; gap: 20px 0; }
  .stat { width: 50%; }
  .stat-divider { display: none; }
  .stat-number { font-size: 22px; }
  .stat-desc { font-size: 13px; white-space: normal; }

  /* Section heads */
  .section-head h2 { font-size: 28px; }
  .section-head p { font-size: 16px; }

  /* Seções — padding menor */
  #problema, #beneficios, #depoimento { padding: 56px 20px; }
  #solucao { padding: 48px 20px; }
  #comparativo { padding: 48px 20px 56px; }
  #cobertura { padding: 48px 20px; }
  #fechamento { padding: 64px 20px; }

  /* Cards — 1 coluna */
  .cards-grid { grid-template-columns: 1fr; gap: 14px; }
  .benef-row { grid-template-columns: 1fr; gap: 14px; }

  /* Tabela */
  .tabela { min-width: 520px; }

  /* Cobertura */
  .cobertura-box { max-width: 100%; }
  .cobertura-number { font-size: 52px; }
  .cobertura-box h2 { font-size: 24px; }

  /* Depoimento */
  .quote-card { padding: 28px; }
  .quote-text { font-size: 17px; }

  /* Fechamento */
  #fechamento h2 { font-size: 30px; }
  #fechamento p { font-size: 16px; }
}

/* ─── 480px — Mobile ───────────────────────────────────────── */
@media (max-width: 480px) {

  /* Header */
  #header { padding: 14px 16px; }
  #header .logo img { width: 150px; }
  .btn { font-size: 13px; padding: 12px 18px; }

  /* Hero */
  #hero { padding: 86px 16px 48px; }
  .hero-left h1 { font-size: 26px; letter-spacing: -0.5px; }
  .hero-left .subhead { font-size: 15px; }
  .hero-left .desc { font-size: 14px; }
  .trust { display: none; }
  .form-card { padding: 20px 16px; }
  .form-row { flex-direction: column; gap: 0; }
  .form-row .field { min-width: 0; }
  .field input, .field select { font-size: 16px; } /* evita zoom no iOS */

  /* Stats — oculto no mobile */
  #stats-bar { display: none; }

  /* Section heads */
  .section-head h2 { font-size: 24px; }
  .section-head p { font-size: 15px; }

  /* Seções */
  #problema, #beneficios, #depoimento { padding: 48px 16px; }
  #solucao { padding: 40px 16px; }
  #comparativo { padding: 40px 16px 48px; }
  #cobertura { padding: 40px 16px; }
  #fechamento { padding: 48px 16px; }

  /* Cards */
  .card-dor { padding: 20px; }
  .card-pilar .inner { padding: 20px; }
  .card-benef { padding: 20px; }
  .card-dor h3, .card-pilar h3, .card-benef h3 { font-size: 17px; }

  /* Tabela */
  .tabela { min-width: 480px; }
  .row-head .cell-label,
  .tabela-row .cell-label { width: 130px; }
  .row-head .cell-plan h3 { font-size: 15px; }
  .tabela-row .cell-data p { font-size: 13px; }
  .row-head .cell-plan,
  .tabela-row .cell-data { padding: 14px 14px; }
  .row-head .cell-label,
  .tabela-row .cell-label { padding: 14px 14px; }

  /* Cobertura */
  .cobertura-number { font-size: 44px; }
  .cobertura-box h2 { font-size: 20px; }
  .cobertura-box { padding: 24px; gap: 14px; }

  /* Depoimento */
  .quote-card { padding: 20px; }
  .quote-text { font-size: 15px; }
  .quote-mark { font-size: 48px; }

  /* Fechamento */
  #fechamento h2 { font-size: 24px; }
  #fechamento p { font-size: 15px; }

  /* Footer */
  #footer { padding: 28px 16px; }
}

/* ─── Modal de Sucesso ─────────────────────────────────────── */
#tp-success-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.tp-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 32, 0.75);
  backdrop-filter: blur(4px);
}
.tp-modal-box {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  padding: 48px 40px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  z-index: 1;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}
.tp-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-soft);
  opacity: 0.5;
  transition: opacity .2s;
}
.tp-modal-close:hover { opacity: 1; }
.tp-modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
#tp-success-modal h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
#tp-success-modal p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}
@media (max-width: 480px) {
  .tp-modal-box { padding: 40px 24px 32px; }
  #tp-success-modal h3 { font-size: 19px; }
}
