/* Tilvo — site institucional
   Identidade visual v1.0 (verde #49DFDA, Satoshi). Tokens em :root; seções abaixo na ordem da página. */

@font-face {
  font-family: Satoshi;
  src: url(../assets/fonts/Satoshi-Regular.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Satoshi;
  src: url(../assets/fonts/Satoshi-Medium.woff2) format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Satoshi;
  src: url(../assets/fonts/Satoshi-Bold.woff2) format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Satoshi;
  src: url(../assets/fonts/Satoshi-Black.woff2) format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Verde Tilvo */
  --tilvo-primary: #49DFDA;
  --tilvo-primary-light: #1BAEA6;
  --tilvo-primary-lighter: #D4F7EF;
  --tilvo-primary-dark: #0C706F;
  --tilvo-primary-darker: #0C5959;

  /* Neutras */
  --tilvo-gray-900: #122625;
  --tilvo-gray-800: #1F3736;
  --tilvo-gray-700: #374151;
  --tilvo-gray-600: #4B5563;
  --tilvo-gray-500: #6B7280;
  --tilvo-gray-400: #9CA3AF;
  --tilvo-gray-300: #D1D5DB;
  --tilvo-gray-200: #E5E7EB;
  --tilvo-gray-100: #F3F4F6;
  --tilvo-gray-50: #F9FAFB;
  --tilvo-white: #FFFFFF;

  /* Funcionais */
  --tilvo-success: #1BAEA6;
  --tilvo-error: #DC2626;
  --tilvo-warning: #F59E0B;
  --tilvo-info: #2563EB;

  /* Específicos do site */
  --radius-panel: 22px;
}

/* ---- Base ---- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  background: var(--tilvo-gray-50);
  color: var(--tilvo-gray-900);
  font-family: Satoshi,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--tilvo-info);
  outline-offset: 5px;
}
::selection {
  background: var(--tilvo-primary-lighter);
  color: var(--tilvo-gray-900);
}
.wrap {
  width: calc(100% - 36px);
  margin: auto;
}
.skip {
  position: absolute;
  top: -100px;
  z-index: 30;
  padding: 15px;
  background: var(--tilvo-white);
}
.skip:focus {
  top: 10px;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.logo {
  display: block;
}
.dark-logo {
  display: none;
}
.arrow {
  font-size: 21px;
  line-height: 1;
}
.dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px #1BAEA615;
}
.check {
  font-weight: 700;
}
svg.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Botões ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 17px 24px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition: transform .2s,background .2s;
  line-height: 1.4;
}
.btn:hover {
  transform: translateY(-3px);
}
.btn:active {
  transform: translateY(0);
}
.btn-outline {
  border-color: var(--tilvo-gray-200);
  background: transparent;
}
.btn.small {
  padding: 10px 18px;
  font-size: 14px;
  gap: 10px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
/* Botão primário conforme o manual da marca: Verde Tilvo, texto branco; hover e clique em tons mais escuros. */
.btn-mint,
.btn-green {
  background: var(--tilvo-primary);
  color:#0E1726;
  font-weight: 700;
}
.btn-mint:hover,
.btn-green:hover {
  background: var(--tilvo-primary-dark);
}
.btn-mint:active,
.btn-green:active {
  background: var(--tilvo-primary-darker);
}
.btn-outline:hover {
  border-color: var(--tilvo-primary);
  background: var(--tilvo-primary-lighter);
}

/* ---- Navegação ---- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #FFFFFF16;
  background: var(--tilvo-white);
  border-color: var(--tilvo-gray-200);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  color: var(--tilvo-gray-900);
  gap: 16px;
}
.nav-links {
  display: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--tilvo-gray-900);
  gap: 4px;
}
.nav-actions {
  display: none;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  gap: 16px;
}
.menu-toggle {
  display: block;
  background: none;
  border: 1px solid #FFFFFF40;
  border-radius: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 9px;
  font-size: 18px;
  line-height: 1;
  color: var(--tilvo-gray-900);
  border-color: var(--tilvo-gray-200);
}
.nav>.brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav .logo {
  width: 92px;
  min-width: 92px;
  height: auto;
  filter: none;
}
.footer-brand .logo {
  width: 120px;
  min-width: 120px;
  height: auto;
  filter: none;
}
.nav-links a:hover {
  color: var(--tilvo-primary-dark);
}
.nav-actions .btn {
  color: var(--tilvo-white);
}

.nav-links .nav-mobile.btn {
  margin-top: 10px;
  padding: 15px 18px;
  color: var(--tilvo-white);
  font-size: 15px;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--tilvo-gray-900);
}
.hero:before {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero h1 em {
  font-style: normal;
}
.hero-v2 {
  background: var(--tilvo-white);
  isolation: isolate;
}
.hero-v2:before {
  width: 1200px;
  height: 700px;
  left: 50%;
  right: auto;
  top: 430px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  background: radial-gradient(ellipse,var(--tilvo-primary-lighter) 0%,#D4F7EF50 42%,transparent 72%);
  z-index: -1;
}
.hero-intro {
  text-align: center;
  max-width: 950px;
  margin: 0 auto;
  padding-top: 28px;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
}
.hero-kicker {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tilvo-primary-dark);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 21px;
  margin-top: 0;
  margin-right: 0;
  margin-left: 0;
}
.hero-v2 h1 {
  max-width: none;
  font-size: clamp(29px,9.4vw,34px);
  letter-spacing: -1.6px;
  line-height: 1.16;
  font-weight: 500;
  color: var(--tilvo-gray-900);
  margin-bottom: 21px;
  margin-top: 0;
  margin-right: auto;
  margin-left: auto;
}
.hero-v2 h1 em {
  color: var(--tilvo-primary);
}
.hero-description {
  max-width: 340px;
  margin: 0 auto;
  color: var(--tilvo-gray-600);
  font-size: 16px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}
.hero-primary {
  padding: 17px 26px;
  box-shadow: 0 6px 20px #49DFDA18;
  font-size: 15px;
}
.hero-secondary {
  background: var(--tilvo-white);
  border-color: var(--tilvo-gray-200);
  padding: 17px 22px;
  color: var(--tilvo-gray-900);
  font-size: 13px;
}
.hero-secondary:hover {
  border-color: var(--tilvo-primary);
  background: var(--tilvo-gray-50);
}
.hero-assurances {
  display: flex;
  justify-content: center;
  gap: 8px 16px;
  color: var(--tilvo-gray-600);
  font-size: 12px;
  margin-top: 17px;
}
.hero-assurances>span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.hero-assurances svg {
  width: 14px;
  height: 14px;
  color: var(--tilvo-primary-dark);
}
.hero-proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 19px;
  max-width: 285px;
  margin: auto;
  padding-top: 30px;
  padding-right: 0;
  padding-bottom: 32px;
  padding-left: 0;
}
.hero-proof>div {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}
.hero-proof p {
  margin: 0;
}
.hero-proof b {
  font-size: 12px;
  font-weight: 700;
  display: block;
}
.hero-proof p>span {
  font-size: 11px;
  color: var(--tilvo-gray-600);
  display: block;
  margin-top: 5px;
}
.proof-icon {
  color: var(--tilvo-primary-dark);
}
.proof-icon svg {
  width: 21px;
  height: 21px;
}
.hero-v2+.section {
  border-top: 1px solid var(--tilvo-gray-200);
}

/* ==== Hero: imagem dos aparelhos (início) ==== */
/* Celular e tablet: texto e imagem empilhados. A partir de 1101px: duas colunas (texto | aparelhos). */
.hero-media {
  position: relative;
  max-width: 580px;
  margin: 36px auto 0;
}
.hero-media:before {
  content: "";
  position: absolute;
  inset: -6% -8%;
  background: radial-gradient(ellipse at 55% 55%,rgba(172,238,226,.45) 0%,rgba(212,247,239,.22) 42%,rgba(212,247,239,0) 70%);
  pointer-events: none;
}
.hero-img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 1101px) {
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0,6fr) minmax(0,7fr);
    align-items: center;
    gap: 40px;
    padding: 16px 0 8px;
  }
  .hero-grid .hero-intro {
    max-width: 600px;
    margin: 0;
    padding-top: 0;
    text-align: left;
  }
  .hero-v2 .hero-grid h1 {
    font-size: clamp(42px,3.8vw,58px);
    letter-spacing: -2.4px;
  }
  .hero-grid .hero-description {
    max-width: 500px;
    margin: 0;
  }
  .hero-grid .hero-actions,
  .hero-grid .hero-assurances {
    justify-content: flex-start;
  }
  .hero-media {
    justify-self: end;
    width: 86%;
    max-width: 760px;
    margin: 0;
  }
}
/* ==== Hero: imagem dos aparelhos (fim) ==== */

/* ==== Aparelhos com gravação (home e páginas de segmento): a foto do notebook + celular com o mini tour da Visão 360
   tocando nas telas. Marcação em public/index.html e em tools/segmentos/gerar.mjs (topoAparelhos). ==== */
.sp-aparelhos {
  position: relative;
  margin: 0;
  animation: float 7s ease-in-out 1.2s infinite alternate; /* o mesmo balanço da home */
}
.sp-ap-foto {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 50px rgba(0,0,0,.55));
}
/* palco no tamanho da foto (1487 x 944): js/clipes.js põe a escala (--k) e mostra; sem JS fica só a foto */
.sp-ap-palco {
  position: absolute;
  left: 0;
  top: 0;
  width: 1487px;
  height: 944px;
  transform-origin: 0 0;
  transform: scale(var(--k,0));
  visibility: hidden;
  pointer-events: none;
}
.sp-aparelhos.is-pronto .sp-ap-palco {
  visibility: visible;
}
.sp-ap-video {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  object-fit: fill;
  background: #F8FAFC;
}
/* notebook: cantos da tela medidos na foto, (469,81) (1294,53) (1245,694) (401,621); a matriz leva o vídeo
   (1152 x 720) até eles em perspectiva. O recorte tira o pedaço que fica atrás do celular. */
.sp-ap-note {
  position: absolute;
  inset: 0;
  clip-path: path(evenodd,"M0 0H1487V944H0Z M1239 308H1431A42 42 0 0 1 1473 350V847A42 42 0 0 1 1431 889H1239A42 42 0 0 1 1197 847V350A42 42 0 0 1 1239 308Z");
}
.sp-ap-note .sp-ap-video {
  width: 1152px;
  height: 720px;
  transform-origin: 0 0;
  transform: matrix3d(0.5435995,-0.03136845,0,-0.0001335266,-0.1114679,0.7237775,0,-0.00004311949,0,0,1,0,469.04,80.62,0,1);
}
/* celular: a tela vai de (1220.4, 325) a (1458.6, 870.6), com cantos arredondados; o recorte deixa o entalhe da
   foto aparecer por cima da faixa de status */
.sp-ap-fone {
  position: absolute;
  left: 1220.4px;
  top: 325px;
  width: 238.2px;
  height: 545.6px;
  background: #FFFFFF;
  clip-path: path(evenodd,"M17 0H221.2A17 17 0 0 1 238.2 17V528.6A17 17 0 0 1 221.2 545.6H17A17 17 0 0 1 0 528.6V17A17 17 0 0 1 17 0Z M52.6 0H189.6V14A9 9 0 0 1 180.6 23H61.6A9 9 0 0 1 52.6 14Z");
}
.sp-ap-fone .sp-ap-video {
  top: 24px;
  width: 238.2px;
  height: 521.6px;
}
.sp-ap-status {
  position: absolute;
  left: 0;
  top: 0;
  width: 238.2px;
  height: 24px;
  color: #132626;
  fill: currentColor;
  font: 700 11px/1 Satoshi,system-ui,sans-serif;
}
.sp-aparelhos figcaption {
  margin-top: 6px;
  font-size: 12.5px;
  color: #94A3B8;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .sp-aparelhos {
    animation: none;
  }
}

/* ---- Seções e títulos ---- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.section {
  padding-top: 63px;
  padding-bottom: 63px;
  padding-right: 0;
  padding-left: 0;
}
.section-heading {
  display: block;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 30px;
}
h2 {
  font-size: 35px;
  line-height: 1.1;
  letter-spacing: -1.4px;
  font-weight: 500;
  margin: 0;
}
h2 em {
  font-style: normal;
  color: var(--tilvo-primary);
}
.section-intro {
  max-width: none;
  font-size: 14px;
  line-height: 1.65;
  color: var(--tilvo-gray-600);
  margin-top: 20px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}
.check {
  color: var(--tilvo-primary-dark);
}
.eyebrow {
  color: var(--tilvo-primary-dark);
  margin-bottom: 18px;
  margin-top: 0;
  margin-right: 0;
  margin-left: 0;
}

/* ---- Resultados ---- */
.outcomes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.outcome {
  border-top: 1px solid var(--tilvo-gray-400);
  padding-top: 20px;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
}
.outcome-num {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--tilvo-gray-400);
}
.round-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tilvo-primary-lighter);
  color: var(--tilvo-primary-dark);
}
.outcome h3 {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -.7px;
  max-width: 250px;
  margin-top: 0;
  margin-bottom: 13px;
  margin-right: 0;
  margin-left: 0;
}
.outcome p {
  color: var(--tilvo-gray-600);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.price-note {
  color: var(--tilvo-gray-600);
}

/* ---- Segmentos e migração ---- */
.segments {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}
.segments-intro p {
  color: var(--tilvo-gray-600);
  line-height: 1.7;
  max-width: 550px;
}
.segment-grid {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.segment {
  border-radius: 7px;
  border: 1px solid var(--tilvo-gray-200);
  background: transparent;
  font-size: 14px;
  padding-top: 12px;
  padding-right: 16px;
  padding-bottom: 12px;
  padding-left: 16px;
}
.segment:hover {
  border-color: var(--tilvo-primary);
}
.segment-answer {
  border-top: 1px solid var(--tilvo-gray-200);
  margin-top: 28px;
  padding-top: 24px;
  min-height: 130px;
}
.segment-answer strong {
  font-size: 19px;
  font-weight: 500;
}
.segment-answer p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--tilvo-gray-600);
  margin-bottom: 0;
}
.migration {
  border: 1px solid var(--tilvo-primary-lighter);
  border-radius: var(--radius-panel);
  display: grid;
  grid-template-columns: 1fr;
  gap: 27px;
  align-items: center;
  background: var(--tilvo-primary-lighter);
  border-color: var(--tilvo-primary-lighter);
  padding-top: 28px;
  padding-right: 28px;
  padding-bottom: 28px;
  padding-left: 28px;
  margin-top: 35px;
}
.migration h3 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 0 0 12px;
}
.migration p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  color: var(--tilvo-gray-600);
}
.migration-right {
  display: grid;
  gap: 19px;
}
.migration-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}
.migration-item b {
  font-weight: 500;
}
.number {
  border: 1px solid var(--tilvo-primary-light);
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--tilvo-primary-dark);
  border-color: #49DFDA50;
}
.segment[aria-pressed=true] {
  background: var(--tilvo-primary);
  border-color: var(--tilvo-primary);
  color:#0E1726;
}

/* ---- Planos ---- */
.prices {
  background: var(--tilvo-white);
  border-top: 1px solid var(--tilvo-gray-200);
}
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 27px;
}
.price-card {
  position: relative;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  padding-top: 28px;
  padding-right: 28px;
  padding-bottom: 28px;
  padding-left: 28px;
}
.price-card.featured {
  color: var(--tilvo-white);
  background: var(--tilvo-gray-900);
  border-color: var(--tilvo-gray-900);
}
.price-tag {
  position: absolute;
  top: -14px;
  background: var(--tilvo-primary-lighter);
  color: var(--tilvo-gray-900);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 7px 13px;
  border-radius: 20px;
}
.price-card h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 12px;
}
.price-card>p {
  font-size: 14px;
  color: var(--tilvo-gray-600);
  line-height: 1.6;
  min-height: 0;
  margin: 0 0 23px;
}
.price {
  display: flex;
  gap: 5px;
  align-items: baseline;
  margin: 0 0 22px;
}
.price small {
  font-size: 13px;
}
.price strong {
  font-size: 43px;
  line-height: 1;
  letter-spacing: -2px;
  font-weight: 500;
}
.price .consult {
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 43px;
}
.price span {
  font-size: 12px;
  color: var(--tilvo-gray-600);
}
.price-card ul {
  margin: 0 0 28px;
  padding: 19px 0 0;
  list-style: none;
  border-top: 1px solid var(--tilvo-gray-200);
  font-size: 13px;
  line-height: 2.1;
  flex: 1;
}
.featured ul {
  border-color: #FFFFFF25;
}
.price-card li:before {
  content: '✓';
  margin-right: 9px;
  color: var(--tilvo-primary);
}
.price-card .btn {
  font-size: 14px;
  gap: 10px;
  padding-top: 15px;
  padding-right: 15px;
  padding-bottom: 15px;
  padding-left: 15px;
}
.price-note {
  font-size: 11px;
  text-align: center;
  margin: 25px 0 0;
}
.featured>p,
.featured .price span {
  color: var(--tilvo-gray-200);
}
.featured .btn-mint {
  color: var(--tilvo-white);
}
.featured li:before {
  color: var(--tilvo-primary-light);
}

/* ---- Dúvidas (FAQ) ---- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.faq-intro>p {
  color: var(--tilvo-gray-600);
  font-size: 14px;
  line-height: 1.7;
  max-width: 500px;
  margin: 22px 0;
}
.faq-items details {
  border-bottom: 1px solid var(--tilvo-gray-200);
  padding-top: 20px;
  padding-bottom: 20px;
  padding-right: 0;
  padding-left: 0;
}
.faq-items details:first-child {
  padding-top: 0;
}
.faq-items summary {
  list-style: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.faq-items summary::-webkit-details-marker {
  display: none;
}
.faq-items summary:after {
  content: '+';
  font-size: 23px;
  color: var(--tilvo-gray-600);
  font-weight: 400;
}
.faq-items details[open] summary:after {
  content: '−';
}
.faq-items details p {
  font-size: 14px;
  color: var(--tilvo-gray-600);
  line-height: 1.8;
  margin-bottom: 0;
  max-width: 530px;
}

/* ---- Fechamento ---- */
.closing {
  color: var(--tilvo-white);
  overflow: hidden;
  position: relative;
  background: var(--tilvo-gray-900);
}
.closing:after {
  content: '↗';
  position: absolute;
  right: 5%;
  top: 10px;
  font-size: 350px;
  line-height: 1;
  pointer-events: none;
  color: #1BAEA615;
}
.closing-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-top: 58px;
  padding-bottom: 58px;
  padding-right: 0;
  padding-left: 0;
}
.closing h2 {
  font-size: 36px;
  max-width: 590px;
}
.closing h2 em {
  color: var(--tilvo-primary-lighter);
}
.closing p {
  font-size: 14px;
  margin: 20px 0 0;
}
.closing-actions {
  flex-shrink: 0;
}
.closing-actions small {
  font-size: 11px;
  display: block;
  text-align: center;
  margin-top: 13px;
}
.closing-actions small {
  color: var(--tilvo-gray-200);
}
.closing p {
  color: var(--tilvo-gray-200);
}
.closing .eyebrow {
  color: var(--tilvo-primary-lighter);
}

/* ---- Rodapé ---- */
footer {
  border-top: 1px solid #FFFFFF1a;
  background: var(--tilvo-white);
  color: var(--tilvo-gray-600);
  border-color: var(--tilvo-gray-200);
}
.footer-main {
  display: block;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0;
  gap: 25px;
}
.footer-brand {
  font-size: 11px;
  gap: 0;
  display: flex;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 15px;
  font-size: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #FFFFFF14;
  font-size: 12px;
  gap: 20px;
  border-color: var(--tilvo-gray-200);
  padding-bottom: 26px;
  padding-top: 21px;
  padding-right: 0;
  padding-left: 0;
}
.footer-legal {
  display: flex;
  gap: 15px;
}
.footer-brand>a {
  display: block;
  padding-left: 23px;
  padding-top: 41px;
  padding-right: 41px;
  padding-bottom: 41px;
}
.footer-brand span {
  margin: 0;
  font-size: 11px;
}
@media (min-width: 371px) {
  .hero-v2 h1 {
    font-size: clamp(30px,9.4vw,40px);
  }
}
@media (min-width: 601px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .nav {
    height: 72px;
  }
  .nav-actions {
    display: flex;
  }
  .hero-intro {
    padding-top: 40px;
  }
  .hero-v2 h1 {
    font-size: 60px;
    letter-spacing: -2.9px;
    line-height: 1.06;
    margin-bottom: 24px;
  }
  .hero-proof {
    grid-template-columns: repeat(3,1fr);
    padding-top: 40px;
    padding-bottom: 44px;
    gap: 20px;
    max-width: 1360px;
  }
  .price-card {
    padding-right: 18px;
    padding-left: 18px;
  }
  .closing h2 {
    font-size: 44px;
  }
  .footer-brand span {
    font-size: 12px;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.65;
    max-width: 590px;
  }
  .hero-proof>div {
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
  }
  .hero-proof b {
    font-size: 11px;
  }
  .hero-proof p>span {
    font-size: 10px;
  }
  .section {
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .section-heading {
    display: flex;
    margin-bottom: 50px;
  }
  .section-intro {
    max-width: 260px;
    margin-top: 0;
  }
  .outcomes {
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
  }
  .outcome h3 {
    font-size: 22px;
    max-width: 275px;
    margin-top: 24px;
    margin-bottom: 14px;
  }
  .outcome p {
    font-size: 13px;
  }
  .migration {
    padding: 35px;
    grid-template-columns: 1.05fr 1fr;
    gap: 30px;
    margin-top: 70px;
  }
  .price-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 28px 18px;
  }
  .price-card>p {
    font-size: 12px;
  }
  .closing-inner {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .nav .logo {
    width: 104px;
    min-width: 104px;
  }
  .hero-kicker {
    font-size: 11px;
    letter-spacing: 1.55px;
    gap: 11px;
    margin-bottom: 23px;
  }
  .hero-actions {
    gap: 13px;
    margin-top: 28px;
  }
  .hero-primary {
    font-size: 16px;
  }
  .hero-secondary {
    font-size: 14px;
  }
  .hero-assurances {
    font-size: 11px;
    gap: 22px;
    margin-top: 20px;
  }
  .hero-assurances svg {
    width: 14px;
    height: 14px;
  }
  .hero-assurances>span {
    gap: 6px;
  }
  .proof-icon svg {
    width: 23px;
    height: 23px;
  }
  .eyebrow {
    font-size: 11px;
    margin-bottom: 24px;
  }
  h2 {
    font-size: clamp(36px,3.9vw,52px);
    letter-spacing: -2px;
  }
  .outcome {
    padding-top: 30px;
  }
  .segment {
    padding: 13px 17px;
    font-size: 13px;
  }
  .migration h3 {
    font-size: 29px;
  }
  .price-card ul {
    font-size: 12px;
  }
  .price-card .btn {
    padding: 13px 10px;
    font-size: 12px;
  }
  .price-note {
    font-size: 12px;
  }
  .faq-items summary {
    font-size: 16px;
  }
  .faq-items details {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .closing p {
    font-size: 15px;
  }
  .footer-main {
    align-items: center;
    display: flex;
  }
  .footer-bottom {
    padding-bottom: 27px;
  }
  .footer-legal {
    gap: 20px;
  }
  .footer-brand>a {
    padding-left: 41px;
  }
  .footer-links {
    gap: 25px;
  }
  .footer-bottom {
    font-size: 10px;
  }
  .footer-links {
    font-size: 12px;
  }
  .nav-mobile {
    display: none;
  }
}
@media (min-width: 851px) {
  .nav-links {
    display: flex;
    gap: 16px;
    color: var(--tilvo-gray-600);
  }
  .hero-v2 h1 {
    font-size: 70px;
    letter-spacing: -3.9px;
  }
  .hero-proof {
    gap: 18px;
  }
  .segments {
    grid-template-columns: .85fr 1.15fr;
    gap: 45px;
  }
  .faq-grid {
    grid-template-columns: .8fr 1.2fr;
    gap: 50px;
  }
  .closing h2 {
    max-width: 700px;
  }
  .menu-toggle {
    display: none;
  }
  .hero-description {
    font-size: 17px;
    max-width: 660px;
  }
  .hero-proof>div {
    align-items: center;
    gap: 13px;
  }
  .hero-proof b {
    font-size: 12px;
  }
  .section {
    padding-top: 108px;
    padding-bottom: 108px;
  }
  .section-heading {
    gap: 60px;
  }
  .section-intro {
    max-width: 340px;
    font-size: 16px;
  }
  .outcomes {
    gap: 38px;
  }
  .outcome h3 {
    font-size: 24px;
  }
  .outcome p {
    font-size: 15px;
  }
  .segments-intro p {
    max-width: 370px;
  }
  .migration {
    padding: 45px 50px;
    gap: 70px;
  }
  .price-grid {
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
  }
  .price-card>p {
    min-height: 40px;
  }
  .faq-intro>p {
    max-width: 290px;
  }
}
@media (min-width: 1101px) {
  .wrap {
    width: min(1500px,calc(100% - 2 * clamp(32px,5vw,80px)));
  }
  .nav {
    gap: 32px;
  }
  .nav-links {
    gap: 32px;
  }
  .nav-actions {
    gap: 20px;
  }
  .hero-intro {
    padding-top: 48px;
  }
  .hero-v2 h1 {
    font-size: clamp(52px,6vw,80px);
  }
  .hero-proof {
    padding-right: 22px;
    padding-left: 22px;
    gap: 35px;
  }
  .segments {
    gap: 100px;
  }
  .price-card {
    padding: 30px 25px;
  }
  .faq-grid {
    gap: 95px;
  }
  .closing h2 {
    font-size: 51px;
  }
}
@media (max-width: 1100px) {
  .nav-actions .login {
    display: none;
  }
  .nav-actions .btn {
    padding-top: 9px;
    padding-right: 14px;
    padding-bottom: 9px;
    padding-left: 14px;
  }
  .footer-brand span {
    max-width: 110px;
  }
}
@media (min-width: 601px) and (max-width: 1100px) {
  .footer-brand span {
    max-width: 120px;
  }
}
@media (min-width: 851px) and (max-width: 1100px) {
  .footer-brand span {
    max-width: 130px;
  }
}
@media (max-width: 850px) {
  .nav-links {
    top: 64px;
    position: absolute;
    left: 0;
    right: 0;
    padding-top: 16px;
    padding-right: 24px;
    padding-bottom: 20px;
    padding-left: 24px;
    background: var(--tilvo-white);
    border-bottom: 1px solid var(--tilvo-gray-200);
    flex-direction: column;
  }
  .nav-actions {
    margin-left: auto;
  }
  .footer-brand span {
    display: block;
  }
  .nav-links.open {
    display: flex;
  }
  .hero-proof p>span {
    line-height: 1.5;
  }
  .closing-inner {
    flex-direction: column;
    text-align: center;
  }
  .nav-links a {
    padding: 12px 0;
    font-size: 17px;
  }
}
@media (min-width: 601px) and (max-width: 850px) {
  .nav-links {
    top: 72px;
  }
}
@media (max-width: 600px) {
  .nav-actions .btn {
    font-size: 11px;
  }
  .footer-brand span {
    line-height: 1.6;
  }
  .menu-toggle {
    margin-left: auto;
  }
  .segments-intro p {
    font-size: 14px;
  }
  .price-card>p {
    max-width: 260px;
  }
  .desktop-break {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    padding-top: 15px;
    padding-right: 18px;
    padding-bottom: 15px;
    padding-left: 18px;
  }
  .hero-assurances {
    flex-wrap: wrap;
  }
  .outcome-num {
    float: right;
  }
  .outcome-num>span {
    display: none;
  }
  .price-note {
    line-height: 1.6;
  }
  .closing p {
    line-height: 1.7;
  }
  .closing-actions {
    width: 100%;
  }
  .closing-actions .btn {
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    line-height: 1.7;
  }
  .footer-links {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 28px;
    padding-left: 0;
  }
}

/* ============================================================
   Conversão (mobile-first): anúncio, cabeçalho ao rolar, fundo animado do hero,
   dores, solução em cartões, 3 passos, teste sem risco, fechamento, WhatsApp flutuante e animações de entrada
   ============================================================ */

/* ---- Cabeçalho: vidro e sombra depois que a página rola ---- */
.nav-wrap {
  transition: background .25s,box-shadow .25s;
}
.nav-wrap.is-scrolled {
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 30px -20px rgba(18,38,37,.35);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
}

/* ---- Botões de conversão: brilho que passa de tempos em tempos ---- */
.hero-primary,
.nav-cta,
.system-cta .btn,
.steps-cta .btn,
.guarantee-card .btn,
.closing-actions .btn {
  position: relative;
  overflow: hidden;
}
.hero-primary:after,
.nav-cta:after,
.system-cta .btn:after,
.steps-cta .btn:after,
.guarantee-card .btn:after,
.closing-actions .btn:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.45),rgba(255,255,255,0));
  transform: skewX(-20deg);
  animation: shine 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0%,72% {
    left: -60%;
  }
  100% {
    left: 130%;
  }
}
.hero-secondary .icon {
  color: #1F9A6E;
}

/* ---- Hero: fundo com manchas verdes em movimento lento e entrada dos elementos ---- */
.hero-v2:before {
  display: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  animation: blob 18s ease-in-out infinite alternate;
}
.hero-bg span:nth-child(1) {
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: #ACEEE2;
}
.hero-bg span:nth-child(2) {
  bottom: -200px;
  left: -160px;
  width: 460px;
  height: 460px;
  background: #D4F7EF;
  animation-duration: 23s;
}
.hero-bg span:nth-child(3) {
  top: 35%;
  left: 40%;
  width: 380px;
  height: 380px;
  background: #CFF5F8;
  opacity: .45;
  animation-duration: 28s;
}
@keyframes blob {
  from {
    transform: translate(0,0) scale(1);
  }
  to {
    transform: translate(50px,30px) scale(1.15);
  }
}
.hero-intro>* {
  animation: rise .7s cubic-bezier(.2,.7,.2,1) both;
}
.hero-intro>:nth-child(2) {
  animation-delay: .08s;
}
.hero-intro>:nth-child(3) {
  animation-delay: .16s;
}
.hero-intro>:nth-child(4) {
  animation-delay: .24s;
}
.hero-intro>:nth-child(5) {
  animation-delay: .32s;
}
.hero-media {
  animation: rise 1s .15s cubic-bezier(.2,.7,.2,1) both;
}
.hero-img {
  animation: float 7s ease-in-out 1.2s infinite alternate;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

/* ---- Provas logo abaixo do hero: 2 colunas no celular, 4 no desktop ---- */
.hero-proof {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px 16px;
  max-width: 460px;
  padding: 28px 0 36px;
}
.hero-proof>div {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}

/* ---- Títulos de seção centralizados ---- */
.section-heading.center {
  display: block;
  text-align: center;
}
.section-heading.center .eyebrow {
  justify-content: center;
}
.section-heading.center .section-intro {
  max-width: 560px;
  margin: 18px auto 0;
}

/* ---- Hero v2: grade de fundo, título com destaque, provas em faixa (sobrepõe as regras anteriores do hero) ---- */
.hero-bg:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(73,223,218,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(73,223,218,.08) 1px,transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%,#000 30%,transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%,#000 30%,transparent 78%);
}
.hero-v2 .hero-intro {
  padding-top: 36px;
}
.hero-v2 .hero-kicker {
  gap: 9px;
  margin: 0 0 22px;
  padding: 7px 14px 7px 12px;
  border: 1px solid #ACEEE2;
  border-radius: 999px;
  background: rgba(237,252,249,.9);
  font-size: 11px;
  letter-spacing: 1.1px;
}
.hero-v2 .hero-kicker .dot {
  box-shadow: 0 0 0 0 rgba(27,174,166,.5);
  animation: kicker-dot 2s ease-out infinite;
}
@keyframes kicker-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(27,174,166,.55);
  }
  100% {
    box-shadow: 0 0 0 9px rgba(27,174,166,0);
  }
}
.hero-v2 h1 {
  margin: 0 auto 20px;
  font-size: clamp(38px,10.6vw,48px);
  line-height: 1.05;
  letter-spacing: -2px;
}
.hero-v2 h1 em {
  color: var(--tilvo-gray-900);
}
.hl {
  position: relative;
  display: inline-block;
  color: var(--tilvo-primary);
}
.hl-line {
  position: absolute;
  left: -2%;
  bottom: -.2em;
  width: 104%;
  height: .3em;
  overflow: visible;
  fill: none;
  stroke: #3FC8BC;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: hl-draw .9s .55s cubic-bezier(.6,.05,.3,1) forwards;
}
@keyframes hl-draw {
  to {
    stroke-dashoffset: 0;
  }
}
.hero-v2 .hero-description {
  max-width: 34em;
  font-size: 16px;
  line-height: 1.65;
  color: var(--tilvo-gray-600);
}
.hero-v2 .hero-actions {
  margin-top: 26px;
}
.hero-v2 .hero-primary {
  min-height: 56px;
  box-shadow: 0 14px 30px -12px rgba(73,223,218,.7);
}
.hero-v2 .hero-secondary {
  min-height: 56px;
  border-color: var(--tilvo-gray-300);
}
.hero-v2 .hero-assurances {
  gap: 8px 18px;
  font-size: 13px;
  color: var(--tilvo-gray-600);
}
.hero-v2 .hero-assurances svg {
  width: 16px;
  height: 16px;
  color: var(--tilvo-primary);
}
.hero-media:before {
  inset: -10% -8% 0;
  background: radial-gradient(ellipse at 50% 52%,rgba(27,174,166,.34) 0%,rgba(63,200,188,.14) 38%,rgba(212,247,239,0) 68%);
}
.hero-media:after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: -3%;
  height: 7%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,rgba(18,38,37,.22),rgba(18,38,37,0) 70%);
  filter: blur(6px);
  pointer-events: none;
}
/* provas: faixa com divisórias (2x2 no celular, 4 colunas no computador) */
.hero-v2 .hero-proof {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1px;
  max-width: none;
  margin: 36px 0 44px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 20px;
  background: var(--tilvo-gray-200);
  box-shadow: 0 24px 50px -34px rgba(18,38,37,.35);
}
.hero-v2 .hero-proof>div {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 14px;
  background: rgba(255,255,255,.96);
}
.hero-v2 .proof-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #EDFCF9;
  color: var(--tilvo-primary-dark);
}
.hero-v2 .proof-icon svg {
  width: 20px;
  height: 20px;
}
.hero-v2 .hero-proof b {
  font-size: 14px;
  line-height: 1.3;
}
.hero-v2 .hero-proof p>span {
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.4;
}
@media (min-width: 601px) {
  .hero-v2 .hero-intro {
    padding-top: 48px;
  }
  .hero-v2 h1 {
    font-size: clamp(48px,7vw,60px);
    letter-spacing: -2.6px;
  }
  .hero-v2 .hero-description {
    font-size: 17px;
  }
}
@media (min-width: 851px) {
  .hero-v2 .hero-proof {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
  .hero-v2 .hero-proof>div {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px 18px;
  }
}
@media (min-width: 1101px) {
  .hero-v2 .hero-intro {
    padding-top: 0;
  }
  .hero-v2 .hero-grid h1 {
    font-size: clamp(50px,4.4vw,66px);
    letter-spacing: -2.8px;
  }
  .hero-v2 .hero-grid {
    padding-top: 40px;
  }
  .hero-v2 .hero-proof {
    margin-top: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hl-line {
    stroke-dashoffset: 0;
    animation: none;
  }
  .hero-v2 .hero-kicker .dot {
    animation: none;
  }
}

/* ---- Automações: demonstrações animadas (CPF/CNPJ, código de barras, XML da nota) ---- */
.auto-section {
  position: relative;
  background: radial-gradient(ellipse 70% 45% at 50% 0%,rgba(212,247,239,.75),rgba(212,247,239,0) 70%),var(--tilvo-gray-50);
  border-top: 1px solid var(--tilvo-gray-200);
}
/* celular: um cartão embaixo do outro (só rolar a página); a partir de 701px vira grade */
.auto-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 14px;
}
.auto-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 22px;
  background: var(--tilvo-white);
  box-shadow: 0 1px 2px rgba(18,38,37,.04),0 18px 40px -30px rgba(18,38,37,.3);
  transition: border-color .35s,box-shadow .35s,transform .25s;
}
.auto-card.is-busy,
.auto-card.is-done {
  border-color: #76DFD2;
  box-shadow: 0 0 0 4px rgba(27,174,166,.12),0 26px 50px -30px rgba(73,223,218,.5);
}
.auto-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.auto-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--tilvo-gray-100);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--tilvo-gray-500);
  transition: background .3s,color .3s;
}
.auto-status:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tilvo-primary-light);
  animation: kicker-dot 1.6s ease-out infinite;
}
.auto-status:after {
  content: "Ao vivo";
}
.auto-card.is-busy .auto-status:after {
  content: "Preenchendo";
}
.auto-card.is-done .auto-status {
  background: #EDFCF9;
  color: var(--tilvo-primary-dark);
}
.auto-card.is-done .auto-status:before {
  animation: none;
  background: var(--tilvo-primary);
}
.auto-card.is-done .auto-status:after {
  content: "Pronto";
}
.auto-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--tilvo-primary-lighter);
  color: var(--tilvo-primary-dark);
}
.auto-icon .icon {
  width: 22px;
  height: 22px;
}
.auto-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.4px;
}
.auto-card>p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--tilvo-gray-600);
}
.auto-demo {
  margin-top: auto;
  padding: 14px;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 16px;
  background: linear-gradient(180deg,#F8FAFC,#F1F5F9);
}
.auto-input-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--tilvo-gray-500);
}
.auto-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 12px;
  overflow: hidden;
  border: 1.5px solid var(--tilvo-gray-200);
  border-radius: 11px;
  background: var(--tilvo-white);
  font-size: 15px;
  font-weight: 500;
  color: var(--tilvo-gray-900);
  font-variant-numeric: tabular-nums;
  transition: border-color .2s,box-shadow .2s;
}
.auto-input .icon {
  width: 18px;
  height: 18px;
  color: var(--tilvo-gray-400);
}
.auto-card.is-busy .auto-input,
.auto-card.is-done .auto-input {
  border-color: var(--tilvo-primary);
  box-shadow: 0 0 0 3px rgba(73,223,218,.15);
}
.auto-input [data-type]:after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -.15em;
  background: var(--tilvo-primary);
  animation: caret 1s steps(1) infinite;
}
.auto-card.is-done .auto-input [data-type]:after {
  display: none;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.auto-input:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--tilvo-primary);
}
.auto-card.is-busy .auto-input:after {
  width: 100%;
  transition: width .6s ease;
}
.auto-outs {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.auto-out {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--tilvo-white);
  font-size: 13px;
  opacity: 0;
  translate: 0 6px;
  transition: opacity .35s ease,translate .35s ease;
}
.auto-out.is-on {
  opacity: 1;
  translate: none;
}
.auto-out span {
  flex-shrink: 0;
  color: var(--tilvo-gray-500);
}
.auto-out b {
  overflow: hidden;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--tilvo-gray-900);
}
.auto-photo {
  width: 26px;
  height: 26px;
  margin: -5px 0;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--tilvo-gray-200);
}
.auto-done {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--tilvo-primary-dark);
  opacity: 0;
  transition: opacity .35s ease;
}
.auto-done .icon {
  width: 18px;
  height: 18px;
}
.auto-card.is-done .auto-done {
  opacity: 1;
}
@media (min-width: 701px) {
  .auto-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
  }
  .auto-card:hover {
    transform: translateY(-4px);
  }
}
@media (min-width: 1300px) {
  .auto-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
  }
  .auto-card {
    padding: 22px 20px;
  }
  .auto-card h3 {
    font-size: 18px;
  }
  .auto-card>p {
    font-size: 14px;
  }
  .auto-demo {
    padding: 12px;
  }
  .auto-input {
    padding: 0 10px;
    font-size: 14px;
  }
  .auto-out {
    padding: 8px 10px;
    font-size: 12.5px;
  }
}

/* ---- Demonstração: prévia na página + modal (computador: telas com menu lateral; celular: app com gaveta) ---- */
.demo-section {
  position: relative;
  overflow: hidden;
  background: #0E1D1C;
  color: var(--tilvo-white);
}
.demo-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 1100px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse,rgba(27,174,166,.28),rgba(27,174,166,0) 65%);
  transform: translateX(-50%);
  pointer-events: none;
}
.demo-section .wrap {
  position: relative;
}
.demo-section .eyebrow {
  color: #76DFD2;
}
.demo-section h2 {
  color: var(--tilvo-white);
}
.demo-section h2 em {
  color: #76DFD2;
}
.demo-section .section-intro {
  color: var(--tilvo-gray-300);
}
.demo-section .system-cta {
  margin-top: 28px;
}
.demo-launch {
  display: flex;
  justify-content: center;
}
.dl-card {
  position: relative;
  display: block;
  width: min(100%,300px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 0 0 8px #1F3736,0 0 0 9px rgba(255,255,255,.12),0 40px 80px -30px rgba(0,0,0,.8),0 0 120px -30px rgba(27,174,166,.5);
  cursor: pointer;
}
.dl-shot img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(.9);
  transition: transform .5s ease,filter .3s;
}
.dl-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg,rgba(14,29,28,.35),rgba(14,29,28,.72));
  color: var(--tilvo-white);
  text-align: center;
  transition: background .3s;
}
.dl-play {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--tilvo-primary);
  box-shadow: 0 14px 34px -10px rgba(73,223,218,.9);
  transition: transform .25s;
}
.dl-play:before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(118,223,210,.55);
  animation: dl-ring 2.2s ease-out infinite;
}
.dl-play svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
  fill: #fff;
}
.dl-label {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.3px;
}
.dl-sub {
  font-size: 13px;
  color: var(--tilvo-gray-200);
}
.dl-card:hover .dl-shot img {
  transform: scale(1.03);
}
.dl-card:hover .dl-play {
  transform: scale(1.08);
}
@keyframes dl-ring {
  0% {
    transform: scale(.85);
    opacity: 1;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* modal */
.demo-open {
  overflow: hidden;
}
.demo-modal {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0E1D1C;
  color: var(--tilvo-white);
  overflow: hidden;
}
.demo-modal[open] {
  display: flex;
  flex-direction: column;
  animation: dm-in .3s ease;
}
.demo-modal::backdrop {
  background: rgba(7,14,14,.75);
}
@keyframes dm-in {
  from {
    opacity: 0;
    transform: scale(.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.dm-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 8px 10px 8px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.dm-logo {
  display: none;
  width: 80px;
  height: auto;
}
.dm-title {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.dm-title strong {
  font-size: 14px;
}
.dm-title span {
  overflow: hidden;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #76DFD2;
}
.dm-cta.btn {
  flex-shrink: 0;
  padding: 10px 14px;
  font-size: 13px;
  gap: 6px;
}
.dm-close {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  height: 42px;
  padding: 0 10px 0 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  font-size: 14px;
  font-weight: 600;
  color: var(--tilvo-white);
}
.dm-close .icon {
  width: 18px;
  height: 18px;
}
/* atalho Esc: só no computador, onde há teclado */
.dm-esc {
  display: none;
  padding: 2px 6px;
  border: 1px solid rgba(255,255,255,.28);
  border-bottom-width: 2px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255,255,255,.85);
}
@media (hover: hover) and (pointer: fine) {
  .dm-esc {
    display: inline-block;
  }
}
.dm-close:hover {
  background: rgba(255,255,255,.14);
}
.dm-stage {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 10px;
}
.dm-desk,
.dm-phone {
  display: none;
}
.demo-modal[data-mode=desk] .dm-desk,
.demo-modal[data-mode=phone] .dm-phone {
  display: block;
}
.dm-screen {
  position: relative;
  overflow: hidden;
  background: #F4F6F8;
}
.dm-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .25s ease;
}
.dm-img.is-on {
  opacity: 1;
}
.dm-hots {
  position: absolute;
  inset: 0;
}
.dm-hot {
  position: absolute;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: background .15s,box-shadow .15s;
}
.dm-hot:hover,
.dm-hot:focus-visible {
  background: rgba(73,223,218,.12);
  box-shadow: inset 0 0 0 1.5px rgba(73,223,218,.55);
  outline: 0;
}

/* computador: janela do navegador que cabe na tela */
.dm-desk {
  width: min(100%,1400px,calc((100dvh - 150px) * 1360 / 765));
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1),0 30px 80px -20px rgba(0,0,0,.8);
}
.dm-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--tilvo-gray-200);
  background: var(--tilvo-gray-100);
}
.dm-dots {
  display: flex;
  gap: 6px;
}
.dm-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF5F57;
}
.dm-dots i:nth-child(2) {
  background: #FEBC2E;
}
.dm-dots i:nth-child(3) {
  background: #28C840;
}
.dm-url {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
  padding: 4px 14px;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  color: var(--tilvo-gray-600);
}
.dm-url .icon {
  width: 12px;
  height: 12px;
  color: var(--tilvo-primary-dark);
}
.dm-desk .dm-screen {
  aspect-ratio: 1360 / 765;
}

/* celular: a própria tela do app, do tamanho que couber */
.dm-phone {
  height: 100%;
  max-height: 100%;
  aspect-ratio: 720 / 1564;
  max-width: 100%;
}
.dm-phone .dm-screen {
  --u: calc(100cqw / 440);
  container-type: inline-size;
  height: 100%;
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12),0 24px 60px -20px rgba(0,0,0,.8);
}
.dm-menu-btn:after {
  content: "";
  position: absolute;
  inset: 8% 22%;
  border-radius: 14px;
  box-shadow: 0 0 0 0 rgba(73,223,218,.6);
  animation: dm-pulse 1.8s ease-out infinite;
  pointer-events: none;
}
.is-touched .dm-menu-btn:after {
  display: none;
}
@keyframes dm-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(73,223,218,.65);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(73,223,218,0);
  }
}
.pm-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(19,38,38,.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s,visibility 0s linear .25s;
}
.drawer-open .pm-scrim {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s;
}
.pm-drawer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: calc(278 * var(--u));
  overflow-y: auto;
  background: #fff;
  color: var(--tilvo-gray-900);
  box-shadow: 10px 0 30px -10px rgba(0,0,0,.35);
  transform: translateX(-100%);
  transition: transform .26s cubic-bezier(.2,.7,.2,1);
  scrollbar-width: none;
}
.drawer-open .pm-drawer {
  transform: none;
}
.pm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(64 * var(--u));
  padding: 0 calc(10 * var(--u)) 0 calc(14 * var(--u));
  border-bottom: 1px solid var(--tilvo-gray-200);
}
.pm-head img {
  width: calc(150 * var(--u));
  height: auto;
}
.pm-close {
  display: grid;
  place-items: center;
  width: calc(36 * var(--u));
  height: calc(36 * var(--u));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--tilvo-gray-700);
}
.pm-close .icon {
  width: calc(20 * var(--u));
  height: calc(20 * var(--u));
}
.pm-list {
  margin: 0;
  padding: calc(12 * var(--u)) calc(8 * var(--u));
  list-style: none;
}
.pm-item {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--u));
  width: 100%;
  height: calc(46 * var(--u));
  margin-bottom: calc(4 * var(--u));
  padding: 0 calc(12 * var(--u));
  border: 0;
  border-radius: calc(10 * var(--u));
  background: transparent;
  font-size: calc(16 * var(--u));
  font-weight: 500;
  color: var(--tilvo-gray-900);
  text-align: left;
}
.pm-item .icon {
  width: calc(21 * var(--u));
  height: calc(21 * var(--u));
}
.pm-chev {
  margin-left: auto;
  color: var(--tilvo-gray-400);
  transition: transform .25s;
}
.pm-group.is-open .pm-chev {
  transform: rotate(180deg);
}
.pm-item.is-current,
.pm-sub.is-current {
  background: #E8F5F2;
  color: var(--tilvo-primary-dark);
}
.pm-group.is-open>.pm-parent {
  color: var(--tilvo-primary-dark);
}
.pm-sep {
  height: 1px;
  margin: calc(6 * var(--u)) calc(14 * var(--u)) calc(10 * var(--u));
  background: var(--tilvo-gray-200);
}
.pm-subwrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}
.pm-group.is-open .pm-subwrap {
  grid-template-rows: 1fr;
}
.pm-subs {
  min-height: 0;
  margin: 0 0 0 calc(22 * var(--u));
  padding: 0 0 0 calc(10 * var(--u));
  overflow: hidden;
  border-left: 1px solid var(--tilvo-gray-200);
  list-style: none;
}
.pm-sub {
  display: block;
  width: 100%;
  height: calc(40 * var(--u));
  margin-bottom: calc(2 * var(--u));
  padding: 0 calc(12 * var(--u));
  border: 0;
  border-radius: calc(8 * var(--u));
  background: transparent;
  font-size: calc(15 * var(--u));
  color: var(--tilvo-gray-600);
  text-align: left;
}
.dm-toast {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 5;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--tilvo-gray-900);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1),0 16px 40px -16px rgba(0,0,0,.6);
  color: var(--tilvo-white);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  transform: translate(-50%,8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s,transform .25s,visibility 0s linear .25s;
}
.dm-toast.is-on {
  transform: translate(-50%,0);
  opacity: 1;
  visibility: visible;
  transition: opacity .25s,transform .25s;
}
.dm-toast a {
  font-weight: 700;
  color: #76DFD2;
  text-decoration: underline;
}
.dm-foot {
  display: none;
  flex-shrink: 0;
  margin: 0;
  padding: 0 16px 14px;
  text-align: center;
  font-size: 14px;
  color: var(--tilvo-gray-300);
}
@media (min-width: 761px) {
  .dl-card {
    width: min(100%,1040px);
    border-radius: 16px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.1),0 40px 90px -30px rgba(0,0,0,.7),0 0 120px -40px rgba(27,174,166,.45);
  }
  .dl-play {
    width: 92px;
    height: 92px;
  }
  .dl-play svg {
    width: 36px;
    height: 36px;
  }
  .dl-label {
    font-size: 26px;
  }
  .dl-sub {
    font-size: 14px;
  }
  .dm-top {
    gap: 14px;
    padding: 10px 16px;
  }
  .dm-logo {
    display: block;
  }
  .dm-title {
    padding-left: 14px;
    border-left: 1px solid rgba(255,255,255,.14);
  }
  .dm-title strong {
    font-size: 15px;
  }
  .dm-title span {
    font-size: 13px;
  }
  .dm-stage {
    padding: 14px 20px 8px;
  }
  .dm-foot {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dl-play:before,
  .dm-menu-btn:after {
    animation: none;
  }
}

/* ---- Menu lateral do computador em HTML (por cima do menu da foto): categoria abre e fecha no clique ---- */
.dm-desk .dm-screen {
  --u: calc(100cqw / 1280);
  container-type: inline-size;
}
.ds-side {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: calc(243 * var(--u));
  overflow: hidden;
  border-right: 1px solid var(--tilvo-gray-200);
  background: #fff;
  font-family: Satoshi,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
.ds-head {
  height: calc(64 * var(--u));
  overflow: hidden;
  border-bottom: 1px solid var(--tilvo-gray-200);
}
.ds-head img {
  display: block;
  width: 100%;
  height: auto;
}
.ds-list {
  margin: 0;
  padding: calc(12 * var(--u)) calc(8 * var(--u)) 0;
  list-style: none;
}
.ds-item {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--u));
  width: 100%;
  height: calc(40 * var(--u));
  margin-bottom: calc(6.5 * var(--u));
  padding: 0 calc(12 * var(--u));
  border: 0;
  border-radius: calc(8 * var(--u));
  background: transparent;
  font-size: calc(15.5 * var(--u));
  font-weight: 500;
  color: var(--tilvo-gray-900);
  text-align: left;
  cursor: pointer;
  transition: background .15s,color .15s;
}
.ds-item .icon {
  width: calc(20 * var(--u));
  height: calc(20 * var(--u));
}
.ds-chev {
  margin-left: auto;
  color: var(--tilvo-gray-400);
  transition: transform .25s;
}
.ds-group.is-open .ds-chev {
  transform: rotate(180deg);
}
.ds-item:hover,
.ds-sub:hover {
  background: var(--tilvo-gray-100);
}
.ds-item.is-current,
.ds-sub.is-current {
  background: #E8F5F2;
  color: var(--tilvo-primary-dark);
}
.ds-group.has-current>.ds-parent {
  color: var(--tilvo-primary-dark);
}
.ds-sep {
  height: 1px;
  margin: calc(-1 * var(--u)) calc(14 * var(--u)) calc(9 * var(--u));
  background: var(--tilvo-gray-200);
}
.ds-subwrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}
.ds-group.is-open .ds-subwrap {
  grid-template-rows: 1fr;
}
.ds-subs {
  min-height: 0;
  margin: 0 0 0 calc(19 * var(--u));
  padding: 0 0 0 calc(8 * var(--u));
  overflow: hidden;
  border-left: 1px solid var(--tilvo-gray-200);
  list-style: none;
}
.ds-group.is-open .ds-subs {
  margin-bottom: calc(6 * var(--u));
}
.ds-sub {
  display: block;
  width: 100%;
  height: calc(35 * var(--u));
  margin-bottom: calc(3.5 * var(--u));
  padding: 0 calc(10 * var(--u));
  border: 0;
  border-radius: calc(8 * var(--u));
  background: transparent;
  font-size: calc(14.5 * var(--u));
  color: var(--tilvo-gray-600);
  text-align: left;
  cursor: pointer;
  transition: background .15s,color .15s;
}

/* ---- Demonstração: dica do primeiro clique (anel + balão) e pontinhos no que falta ver ---- */
.dm-ring {
  position: absolute;
  z-index: 6;
  border-radius: 10px;
  box-shadow: 0 0 0 3px #1BAEA6,0 0 0 0 rgba(27,174,166,.45);
  pointer-events: none;
  animation: dm-ring 1.5s ease-out infinite;
  transition: left .3s ease,top .3s ease,width .3s ease,height .3s ease;
}
@keyframes dm-ring {
  0% {
    box-shadow: 0 0 0 3px #1BAEA6,0 0 0 0 rgba(27,174,166,.5);
  }
  100% {
    box-shadow: 0 0 0 3px #1BAEA6,0 0 0 12px rgba(27,174,166,0);
  }
}
.dm-bubble {
  position: absolute;
  z-index: 7;
  width: max-content;
  max-width: min(232px,calc(100% - 20px));
  padding: 7px 5px 7px 8px;
  border-radius: 10px;
  background: #0E1D1C;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08),0 10px 24px -10px rgba(0,0,0,.55);
  color: var(--tilvo-white);
  font-size: 13px;
  line-height: 1.35;
  transition: left .3s ease,top .3s ease;
  animation: dm-bub-in .25s ease;
}
.dm-ring[hidden],
.dm-bubble[hidden] {
  display: none;
}
@keyframes dm-bub-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.dm-bubble:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #0E1D1C;
}
.dm-bubble.is-right:before {
  left: -5px;
  top: var(--ay);
  transform: translateY(-50%) rotate(45deg);
}
.dm-bubble.is-below:before {
  top: -5px;
  left: var(--ax);
  transform: translateX(-50%) rotate(45deg);
}
.dm-bubble.is-above:before {
  bottom: -5px;
  left: var(--ax);
  transform: translateX(-50%) rotate(45deg);
}
.db-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.db-text {
  flex: 1;
  margin: 0;
}
.db-text b {
  color: #76DFD2;
}
.db-x {
  display: grid;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--tilvo-gray-400);
  cursor: pointer;
}
.db-x:hover {
  background: rgba(255,255,255,.1);
  color: var(--tilvo-white);
}
.db-x .icon {
  width: 12px;
  height: 12px;
}
.is-guided .dm-menu-btn:after {
  display: none;
}
/* pontinhos verdes: áreas que o visitante ainda não abriu */
.ds-item,
.pm-item {
  position: relative;
}
.ds-item.has-dot:after,
.pm-item.has-dot:after,
.dm-hot.has-dot:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1BAEA6;
  box-shadow: 0 0 0 2px #fff;
  pointer-events: none;
  animation: dm-dot 2.2s ease-out infinite;
}
.ds-item.has-dot:after {
  top: calc(7 * var(--u));
  left: calc(27 * var(--u));
}
.pm-item.has-dot:after {
  top: calc(9 * var(--u));
  left: calc(28 * var(--u));
}
.dm-hot.has-dot:before {
  top: 12%;
  left: calc(50% + 7px);
}
.dm-desk .dm-hot.has-dot:before {
  top: 1px;
  right: 1px;
  left: auto;
}
@keyframes dm-dot {
  0% {
    box-shadow: 0 0 0 2px #fff,0 0 0 2px rgba(27,174,166,.55);
  }
  70%,
  100% {
    box-shadow: 0 0 0 2px #fff,0 0 0 9px rgba(27,174,166,0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dm-ring,
  .ds-item.has-dot:after,
  .pm-item.has-dot:after,
  .dm-hot.has-dot:before {
    animation: none;
  }
}

/* ---- Comparativo minimalista "Sem o Tilvo" x "Com o Tilvo" ---- */
.pain-section {
  background: var(--tilvo-white);
}
.versus {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.vs-col {
  padding: 26px 24px;
  border-radius: 24px;
}
.vs-after {
  background: #F1FCF7;
}
.vs-label {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--tilvo-gray-400);
}
.vs-after .vs-label {
  color: var(--tilvo-primary-dark);
}
.vs-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.vs-col li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  font-size: 16px;
  line-height: 1.45;
}
.vs-col li+li {
  border-top: 1px solid var(--tilvo-gray-200);
}
.vs-after li+li {
  border-top-color: #D4F7EF;
}
.vs-col .icon {
  width: 20px;
  height: 20px;
  margin-top: 1px;
}
.vs-before li {
  color: var(--tilvo-gray-500);
}
.vs-before .icon {
  color: var(--tilvo-gray-300);
}
.vs-after li {
  font-weight: 500;
  color: var(--tilvo-gray-900);
}
.vs-after .icon {
  color: var(--tilvo-primary);
}
.pain-section .system-cta {
  margin-top: 36px;
}

/* ---- Solução: resultados em cartões ---- */
.solution-section .outcome {
  padding: 26px 24px;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 20px;
  background: var(--tilvo-white);
}

/* ---- Cartões que sobem no hover ---- */
.solution-section .outcome,
.step,
.price-card {
  transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.solution-section .outcome:hover,
.step:hover,
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -26px rgba(18,38,37,.35);
}
.solution-section .outcome:hover,
.step:hover {
  border-color: #ACEEE2;
}

/* ---- Telas reais: chamada abaixo do painel ---- */
.system-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--tilvo-gray-600);
  text-align: center;
}

/* ---- Três passos ---- */
.steps-section {
  background: var(--tilvo-white);
  border-top: 1px solid var(--tilvo-gray-200);
}
.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  padding: 20px;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 20px;
  background: var(--tilvo-gray-50);
}
.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tilvo-primary);
  color:#0E1726;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 8px 18px -8px rgba(73,223,218,.7);
}
.step-num {
  grid-row: span 2;
}
.step h3 {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.3px;
}
.step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--tilvo-gray-600);
}
.steps-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 13px;
  color: var(--tilvo-gray-600);
  text-align: center;
}
.steps-cta .btn,
.system-cta .btn {
  width: 100%;
  max-width: 360px;
}

/* ---- Planos: destaque com brilho ---- */
.price-card.featured {
  box-shadow: 0 30px 60px -32px rgba(73,223,218,.75);
}

/* ---- Teste sem risco ---- */
.guarantee {
  padding: 0 0 64px;
  background: var(--tilvo-white);
}
.guarantee-card {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 30px 24px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg,#0B4849 0%,#0C5959 55%,#0C706F 100%);
  color: var(--tilvo-white);
}
.guarantee-card:before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(118,223,210,.35),rgba(118,223,210,0) 70%);
  animation: blob 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.guarantee-card>* {
  position: relative;
}
.guarantee .eyebrow {
  margin-bottom: 14px;
  color: #76DFD2;
}
.guarantee h2 {
  font-size: 30px;
  letter-spacing: -1.2px;
  color: var(--tilvo-white);
}
.guarantee h2 em {
  color: #76DFD2;
}
.guarantee-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.5;
}
.guarantee-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.guarantee-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: #76DFD2;
}
.guarantee-card .btn {
  justify-self: start;
  background: var(--tilvo-white);
  color: var(--tilvo-primary-darker);
}
.guarantee-card .btn:hover {
  background: var(--tilvo-primary-lighter);
}

/* ---- Fechamento ---- */
.closing-glow {
  position: absolute;
  top: -40%;
  left: -10%;
  width: 70%;
  height: 180%;
  background: radial-gradient(ellipse,rgba(27,174,166,.28),rgba(27,174,166,0) 65%);
  animation: blob 20s ease-in-out infinite alternate;
  pointer-events: none;
}
.closing-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.closing-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--tilvo-gray-200);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.closing-wa .icon {
  width: 16px;
  height: 16px;
}

/* ---- WhatsApp flutuante ---- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 26;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 14px;
  border-radius: 999px;
  background: #1EA952;
  color:#0E1726;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 30px -10px rgba(30,169,82,.7);
  transition: transform .2s;
}
.wa-float:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: wa-pulse 2.8s ease-out infinite;
  pointer-events: none;
}
.wa-float:hover {
  background: #188E44;
  transform: translateY(-2px);
}
/* no celular, só depois que o topo sai da tela */
.js .wa-float {
  opacity: 0;
  visibility: hidden;
  scale: .8;
  transition: opacity .3s,scale .3s,visibility 0s linear .3s,transform .2s;
}
.past-hero .wa-float {
  opacity: 1;
  visibility: visible;
  scale: 1;
  transition: opacity .3s,scale .3s,transform .2s;
}
.wa-float .icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}
.wa-label {
  display: none;
}
@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(30,169,82,.5);
  }
  70%,100% {
    box-shadow: 0 0 0 16px rgba(30,169,82,0);
  }
}

/* ---- Entrada dos blocos ao rolar (só com JavaScript; sem animação com "movimento reduzido") ---- */
.js [data-reveal],
.js [data-reveal-group]>* {
  opacity: 0;
  translate: 0 22px;
  transition: opacity .7s cubic-bezier(.2,.7,.2,1),translate .7s cubic-bezier(.2,.7,.2,1),transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.js [data-reveal].is-in,
.js [data-reveal-group].is-in>* {
  opacity: 1;
  translate: none;
}

@media (min-width: 601px) {
  .hero-proof {
    max-width: 640px;
  }
  .system-cta,
  .steps-cta {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
  .steps-cta .btn,
  .system-cta .btn {
    width: auto;
    max-width: none;
  }
  .wa-float {
    right: 22px;
    bottom: 22px;
    padding: 0 20px 0 16px;
  }
  .js .wa-float {
    opacity: 1;
    visibility: visible;
    scale: 1;
  }
  .wa-label {
    display: inline;
  }
  .guarantee {
    padding-bottom: 80px;
  }
  .guarantee h2 {
    font-size: 36px;
  }
  .step {
    display: block;
    padding: 24px;
  }
  .step h3 {
    margin: 16px 0 6px;
  }
}
@media (min-width: 851px) {
  .hero-proof {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 24px;
    max-width: 1360px;
  }
  .steps {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
  }
  .step:not(:last-child):after {
    content: "";
    position: absolute;
    top: 47px;
    right: -23px;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg,var(--tilvo-primary-light),rgba(27,174,166,.2));
  }
  .guarantee-card {
    grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
    align-items: center;
    gap: 26px 48px;
    padding: 44px 48px;
  }
  .guarantee-card .btn {
    grid-column: 1 / -1;
  }
  .closing-actions {
    align-items: center;
  }
  .versus {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .vs-col {
    padding: 34px 36px;
  }
  .vs-col li {
    padding: 15px 0;
    font-size: 17px;
  }
}
@media (min-width: 1101px) {
  .guarantee-card {
    grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) auto;
  }
  .guarantee-card .btn {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-reveal-group]>* {
    opacity: 1;
    translate: none;
  }
}

/* ============================================================
   Responsivo (prefers-reduced-motion:reduce)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---- Slogan abaixo da logo no cabeçalho ---- */
.nav>.brand-link {
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.brand-tag {
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .1px;
  white-space: nowrap;
  color: var(--tilvo-gray-500);
}
@media (min-width: 601px) {
  .brand-tag {
    font-size: 10px;
  }
}

/* ---- Seções 4, 6 e 7 (v3): "sem x com" que se transforma, passos com trilha, segmentos com painel ---- */
/* 4. Cada linha: o problema é riscado e a solução entra ao lado */
.swap {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 24px;
  background: var(--tilvo-white);
  box-shadow: 0 1px 2px rgba(18,38,37,.04),0 30px 60px -42px rgba(18,38,37,.4);
}
.swap-head {
  display: none;
}
.swap-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.swap-row {
  display: grid;
  gap: 10px;
  padding: 18px;
}
.swap-row+.swap-row {
  border-top: 1px solid rgba(18,38,37,.07);
}
.swap-old {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--tilvo-gray-400);
}
.swap-old .icon {
  flex: none;
  width: 20px;
  height: 20px;
  padding: 4px;
  border-radius: 50%;
  background: #FEF2F2;
  color: #EF4444;
  stroke-width: 2.4;
}
.swap-old s {
  text-decoration: none;
  background: linear-gradient(currentColor,currentColor) 0 56%/100% 1.5px no-repeat;
  transition: background-size .55s ease;
}
.swap-new {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #F1FCF7;
  font-size: 16px;
  line-height: 1.45;
  color: var(--tilvo-gray-700);
  transition: opacity .5s ease,translate .5s ease;
}
.swap-new strong {
  font-weight: 700;
  color: var(--tilvo-gray-900);
}
.swap-new>.icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 4px;
  border-radius: 50%;
  background: var(--tilvo-primary);
  color:#0E1726;
  stroke-width: 2.8;
}
.swap-arrow {
  display: none;
}
.js .swap:not(.is-in) .swap-old s {
  background-size: 0 1.5px;
}
.js .swap:not(.is-in) .swap-new {
  opacity: 0;
  translate: -10px 0;
}
.swap-row:nth-child(1) s { transition-delay: .25s; }
.swap-row:nth-child(1) .swap-new { transition-delay: .5s; }
.swap-row:nth-child(2) s { transition-delay: .4s; }
.swap-row:nth-child(2) .swap-new { transition-delay: .65s; }
.swap-row:nth-child(3) s { transition-delay: .55s; }
.swap-row:nth-child(3) .swap-new { transition-delay: .8s; }
.swap-row:nth-child(4) s { transition-delay: .7s; }
.swap-row:nth-child(4) .swap-new { transition-delay: .95s; }
.swap-row:nth-child(5) s { transition-delay: .85s; }
.swap-row:nth-child(5) .swap-new { transition-delay: 1.1s; }
.swap-row:nth-child(6) s { transition-delay: 1s; }
.swap-row:nth-child(6) .swap-new { transition-delay: 1.25s; }

/* 6. Passos: trilha que se preenche + mini telas */
.flow {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0 0 0 46px;
  list-style: none;
}
.flow:before,
.flow:after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 15px;
  width: 2px;
  border-radius: 2px;
  background: var(--tilvo-gray-200);
}
.flow:after {
  background: linear-gradient(var(--tilvo-primary-light),var(--tilvo-primary));
  transform-origin: top;
  transition: transform 1.6s cubic-bezier(.2,.7,.2,1) .2s;
}
.js .flow:not(.is-in):after {
  transform: scaleY(0);
}
.flow-step {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 14px 14px 18px;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 22px;
  background: var(--tilvo-white);
  box-shadow: 0 1px 2px rgba(18,38,37,.04),0 18px 40px -30px rgba(18,38,37,.3);
}
.flow-num {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: -46px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tilvo-primary);
  box-shadow: 0 0 0 5px var(--tilvo-white),0 8px 18px -6px rgba(73,223,218,.7);
  font-size: 14px;
  font-weight: 700;
  color:#0E1726;
}
.flow-text {
  padding: 0 6px;
}
.flow-text h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.3px;
}
.flow-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--tilvo-gray-600);
}
.flow-mock {
  overflow: hidden;
  border: 1px solid var(--tilvo-gray-100);
  border-radius: 14px;
  background: var(--tilvo-gray-50);
}
.fm-bar {
  display: flex;
  gap: 5px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--tilvo-gray-100);
  background: var(--tilvo-white);
}
.fm-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tilvo-gray-200);
}
.fm-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}
.fm-field {
  display: block;
  padding: 7px 10px;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 9px;
  background: var(--tilvo-white);
  font-size: 13px;
  color: var(--tilvo-gray-900);
}
.fm-field small {
  display: block;
  margin-bottom: 1px;
  font-size: 10.5px;
  color: var(--tilvo-gray-400);
}
.fm-btn {
  display: block;
  padding: 9px;
  border-radius: 9px;
  background: var(--tilvo-primary);
  font-size: 13px;
  font-weight: 700;
  color:#0E1726;
  text-align: center;
}
.fm-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 10px;
  background: var(--tilvo-white);
  font-size: 13px;
  font-weight: 600;
  color: var(--tilvo-gray-900);
}
.fm-row small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--tilvo-primary-dark);
}
.fm-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--tilvo-primary-lighter);
  color: var(--tilvo-primary-dark);
}
.fm-ico .icon {
  width: 16px;
  height: 16px;
}
.fm-ok {
  flex: none;
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: var(--tilvo-primary);
}
.fm-sale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 10px;
  background: var(--tilvo-white);
}
.fm-sale small,
.fm-chart small {
  display: block;
  font-size: 11px;
  color: var(--tilvo-gray-500);
}
.fm-sale strong {
  font-size: 20px;
  letter-spacing: -.3px;
  color: var(--tilvo-gray-900);
}
.fm-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 99px;
  background: #EDFCF9;
  font-size: 11px;
  font-weight: 700;
  color: var(--tilvo-primary-dark);
}
.fm-chip .icon {
  width: 12px;
  height: 12px;
}
.fm-chart {
  display: block;
  padding: 8px 12px 0;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 10px;
  background: var(--tilvo-white);
}
.fm-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 52px;
  margin-top: 4px;
}
.fm-bars i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--tilvo-primary-lighter);
  transform-origin: bottom;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.fm-bars i:nth-child(1) { height: 34%; transition-delay: .5s; }
.fm-bars i:nth-child(2) { height: 52%; transition-delay: .58s; }
.fm-bars i:nth-child(3) { height: 41%; transition-delay: .66s; }
.fm-bars i:nth-child(4) { height: 66%; transition-delay: .74s; }
.fm-bars i:nth-child(5) { height: 58%; transition-delay: .82s; }
.fm-bars i:nth-child(6) { height: 80%; transition-delay: .9s; }
.fm-bars i:nth-child(7) { height: 100%; transition-delay: .98s; background: var(--tilvo-primary); }
.js .flow:not(.is-in) .fm-bars i {
  transform: scaleY(0);
}

@media (min-width: 601px) {
  .swap-row {
    padding: 20px 24px;
  }
  
  
  .flow-step {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    align-items: center;
    gap: 22px;
    padding: 16px 16px 16px 16px;
  }
}
@media (min-width: 851px) {
  /* metade branca (sem) e metade verde (com), com a seta na divisa */
  .swap {
    background: linear-gradient(90deg,var(--tilvo-white) calc(64px + (100% - 128px) / 2.2),#F1FCF7 0);
  }
  .swap-head,
  .swap-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) 64px minmax(0,1.2fr);
    align-items: center;
    gap: 0;
    padding: 0 32px;
  }
  .swap-head {
    padding-top: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(18,38,37,.07);
  }
  .swap-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--tilvo-gray-400);
  }
  .swap-label.is-new {
    color: var(--tilvo-primary-dark);
  }
  .swap-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tilvo-primary-light);
    box-shadow: 0 0 0 4px rgba(27,174,166,.18);
  }
  .swap-row {
    padding-top: 19px;
    padding-bottom: 19px;
  }
  .swap-old {
    font-size: 16px;
  }
  .swap-new {
    padding: 0;
    background: none;
    font-size: 16.5px;
  }
  .swap-arrow {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: 0 auto;
    border: 1px solid var(--tilvo-gray-200);
    border-radius: 50%;
    background: var(--tilvo-white);
    box-shadow: 0 6px 14px -8px rgba(18,38,37,.35);
    color: var(--tilvo-primary);
    transition: opacity .4s ease,scale .4s ease;
  }
  .swap-arrow .icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.2;
  }
  .js .swap:not(.is-in) .swap-arrow {
    opacity: 0;
    scale: .6;
  }
  .swap-row:nth-child(1) .swap-arrow { transition-delay: .4s; }
  .swap-row:nth-child(2) .swap-arrow { transition-delay: .55s; }
  .swap-row:nth-child(3) .swap-arrow { transition-delay: .7s; }
  .swap-row:nth-child(4) .swap-arrow { transition-delay: .85s; }
  .swap-row:nth-child(5) .swap-arrow { transition-delay: 1s; }
  .swap-row:nth-child(6) .swap-arrow { transition-delay: 1.15s; }
  /* passos lado a lado, trilha horizontal com os números em cima */
  .flow {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
    padding: 50px 0 0;
  }
  .flow:before,
  .flow:after {
    top: 15px;
    right: calc((100% - 48px) / 6);
    bottom: auto;
    left: calc((100% - 48px) / 6);
    width: auto;
    height: 2px;
  }
  .flow:after {
    transform-origin: left;
  }
  .js .flow:not(.is-in):after {
    transform: scaleX(0);
  }
  .flow-num {
    top: -50px;
    left: 50%;
    translate: -50% 0;
  }
  .flow-step {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    padding: 14px 14px 22px;
  }
  .flow-text {
    padding: 0 8px;
  }
  .flow-text h3 {
    font-size: 20px;
  }
  
}

@media (prefers-reduced-motion: reduce) {
  .swap-old s,
.swap-new,
.swap-arrow,
.flow:after,
.fm-bars i {
    transition: none;
  }
  
}
/* 7. Segmentos (v5): no computador, segmentos e recursos no mesmo cartão à esquerda e a tela do sistema à direita.
   No celular e no tablet: segmentos, tela e recursos empilhados. */
.seg5 {
  background: radial-gradient(ellipse 55% 55% at 88% 20%,rgba(212,247,239,.65),rgba(212,247,239,0) 70%),var(--tilvo-gray-50);
  border-top: 1px solid var(--tilvo-gray-200);
}
/* título, e logo abaixo a frase dos recursos exclusivos */
.seg-head {
  margin-bottom: 22px;
}
.seg-head h2 {
  margin: 0;
}
.seg5 .seg-intro {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--tilvo-gray-600);
}
.seg5 .seg-intro strong {
  display: block;
  font-weight: 600;
  color: var(--tilvo-gray-900);
}
.seg5 .seg-intro .t-touch {
  display: none;
}
@media (hover: none) {
  .seg5 .seg-intro .t-click {
    display: none;
  }
  .seg5 .seg-intro .t-touch {
    display: inline;
  }
}
.seg-layout {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.seg5 .seg-card {
  display: contents;
}
/* botões dos segmentos: leves, o escolhido em verde; no celular quebram linha (nada de deslizar) */
.seg5 .seg-tabs {
  order: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.seg5 .segment {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px 0 12px;
  overflow: hidden;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 999px;
  background: var(--tilvo-white);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--tilvo-gray-700);
  cursor: pointer;
  transition: background .2s,border-color .2s,color .2s;
}
.seg5 .segment:hover {
  border-color: #ACEEE2;
  color: var(--tilvo-gray-900);
}
.seg5 .segment[aria-pressed="true"] {
  border-color: var(--tilvo-primary);
  background: var(--tilvo-primary);
  color:#0E1726;
}
.seg5 .seg-tab-ico {
  flex: none;
  width: 15px;
  height: 15px;
  color: var(--tilvo-primary);
}
.seg5 .segment[aria-pressed="true"] .seg-tab-ico {
  color: currentColor;
}
/* troca automática: barrinha de progresso no segmento ativo */
.seg-auto .segment[aria-pressed="true"]:after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,.7);
  transform-origin: left;
  animation: seg-progresso 2.8s linear forwards;
}
@keyframes seg-progresso {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
/* tela real do sistema */
.seg5 .seg-shot {
  order: 2;
  min-width: 0;
  margin: 0;
}
.seg-win {
  overflow: hidden;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 14px;
  background: var(--tilvo-white);
  box-shadow: 0 1px 2px rgba(18,38,37,.05),0 34px 60px -38px rgba(18,38,37,.5);
}
.seg-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-bottom: 1px solid var(--tilvo-gray-100);
  background: var(--tilvo-gray-50);
}
.seg-bar i {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF5F57;
}
.seg-bar i:nth-child(2) {
  background: #FEBC2E;
}
.seg-bar i:nth-child(3) {
  background: #28C840;
}
.seg-bar span {
  overflow: hidden;
  max-width: 62%;
  margin: 0 auto;
  padding: 2px 10px;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 6px;
  background: var(--tilvo-white);
  font-size: 10.5px;
  color: var(--tilvo-gray-500);
  white-space: nowrap;
  text-overflow: ellipsis;
  translate: -10px 0;
}
.seg-win img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1360/765;
  transition: opacity .3s ease;
}
.seg-shot.is-loading img {
  opacity: .35;
}
.seg-shot figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--tilvo-gray-500);
}
/* recursos do segmento */
.seg5 .seg-panel {
  order: 3;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 20px;
  background: radial-gradient(circle at 100% 0%,rgba(212,247,239,.75),rgba(212,247,239,0) 55%),var(--tilvo-white);
  box-shadow: 0 1px 2px rgba(18,38,37,.04),0 26px 50px -36px rgba(73,223,218,.45);
}
.seg-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.seg-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--tilvo-primary);
  box-shadow: 0 10px 20px -12px rgba(73,223,218,.9);
  color:#0E1726;
}
.seg-icon .icon {
  width: 20px;
  height: 20px;
}
.seg-name {
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--tilvo-primary-dark);
}
.seg-top strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.3px;
  color: var(--tilvo-gray-900);
}
.seg-feats {
  display: grid;
  flex: none;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.seg-feats li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--tilvo-gray-800);
}
.seg-feats li+li {
  border-top: 1px dashed var(--tilvo-gray-200);
}
.seg-feats .icon {
  flex: none;
  width: 19px;
  height: 19px;
  padding: 3.5px;
  border-radius: 50%;
  background: var(--tilvo-primary);
  color:#0E1726;
  stroke-width: 3;
}
.seg-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: auto;
}
.seg-name {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* marquinha discreta: recurso disponível a partir do plano Pro */
.seg-pro {
  flex: none;
  margin-left: 8px;
  padding: 1px 6px;
  border-radius: 5px;
  background: #EDFCF9;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .3px;
  line-height: 1.5;
  text-transform: none;
  color: var(--tilvo-primary-dark);
  cursor: help;
}
.seg-name .seg-pro {
  margin-left: 0;
  letter-spacing: .2px;
}
.seg-pro[hidden] {
  display: none;
}
.seg5 .seg-cta {
  gap: 14px;
  width: 100%;
  padding: 13px 20px;
  font-size: 14px;
}
.seg-panel.is-swap .seg-top,
.seg-panel.is-swap .seg-feats {
  animation: seg-in .4s ease;
}
@keyframes seg-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 601px) {
  .seg5 .seg-panel {
    padding: 24px;
  }
  .seg5 .seg-cta {
    width: auto;
  }
}
@media (min-width: 1101px) {
  .seg5 {
    padding-top: 64px;
    padding-bottom: 72px;
  }
  .seg-head {
    margin-bottom: 22px;
  }
  .seg-head h2 br {
    display: none;
  }
  .seg5 .seg-intro strong {
    display: inline;
  }
  .seg-layout {
    grid-template-columns: minmax(0,500px) minmax(0,1fr);
    align-items: center;
    gap: 36px;
  }
  /* um cartão só: segmentos em cima, recursos embaixo */
  .seg5 .seg-card {
    display: flex;
    flex-direction: column;
    padding: 16px 16px 18px;
    border: 1px solid var(--tilvo-gray-200);
    border-radius: 22px;
    background: radial-gradient(circle at 100% 100%,rgba(212,247,239,.6),rgba(212,247,239,0) 50%),var(--tilvo-white);
    box-shadow: 0 1px 2px rgba(18,38,37,.04),0 30px 60px -40px rgba(73,223,218,.5);
  }
  .seg5 .seg-tabs {
    order: 0;
    gap: 5px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--tilvo-gray-100);
  }
  .seg5 .segment {
    gap: 6px;
    height: 30px;
    padding: 0 11px 0 9px;
    border-color: transparent;
    background: transparent;
    font-size: 13px;
    color: var(--tilvo-gray-600);
  }
  .seg5 .segment:hover {
    border-color: transparent;
    background: #F1FCF7;
    color: var(--tilvo-primary-dark);
  }
  .seg5 .segment[aria-pressed="true"] {
    border-color: var(--tilvo-primary);
    background: var(--tilvo-primary);
    color:#0E1726;
  }
  .seg5 .seg-panel {
    order: 0;
    padding: 0 4px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .seg5 .seg-shot {
    order: 0;
  }
  .seg5 .seg-tab-ico {
    width: 14px;
    height: 14px;
  }
  .seg5 .seg-top {
    margin-bottom: 10px;
  }
  .seg5 .seg-feats {
    margin-bottom: 18px;
  }
  .seg5 .seg-feats li {
    padding: 10px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .seg-win img {
    transition: none;
  }
  .seg-auto .segment[aria-pressed="true"]:after,
  .seg-panel.is-swap .seg-top,
  .seg-panel.is-swap .seg-feats {
    animation: none;
  }
}
/* ---- Seção 5 (v4): recursos comuns a todos os ramos, em 4 cartões no padrão do site (carrossel no celular) ---- */
.solution-section.cap5 {
  position: relative;
  background: radial-gradient(ellipse 70% 45% at 50% 0%,rgba(212,247,239,.6),rgba(212,247,239,0) 70%),var(--tilvo-gray-50);
  border-top: 1px solid var(--tilvo-gray-200);
}
/* celular: um cartão embaixo do outro, como as automações */
.cap-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 14px;
}
.cap-card {
  position: relative;
  overflow: hidden;
  padding: 22px 20px 12px;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 22px;
  background: var(--tilvo-white);
  box-shadow: 0 1px 2px rgba(18,38,37,.04),0 18px 40px -30px rgba(18,38,37,.3);
  transition: border-color .3s,box-shadow .3s,transform .25s;
}
.cap-card:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg,var(--tilvo-primary-light),var(--tilvo-primary));
  opacity: 0;
  transition: opacity .3s;
}
.cap-card:hover {
  border-color: #ACEEE2;
  box-shadow: 0 0 0 4px rgba(27,174,166,.1),0 26px 50px -30px rgba(73,223,218,.45);
}
.cap-card:hover:before {
  opacity: 1;
}
.cap-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--tilvo-gray-100);
}
.cap-ico {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--tilvo-primary-lighter);
  color: var(--tilvo-primary-dark);
}
.cap-ico .icon {
  width: 22px;
  height: 22px;
}
.cap-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--tilvo-gray-900);
}
.cap-head p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--tilvo-gray-500);
}
.cap-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cap-card li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 0;
}
.cap-card li>.icon {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  padding: 3px;
  border-radius: 50%;
  background: #EDFCF9;
  color: var(--tilvo-primary);
  stroke-width: 2.8;
}
.cap-card strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--tilvo-gray-800);
}
.cap-card li span {
  display: block;
  margin-top: 1px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--tilvo-gray-400);
}
.feat-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 13px;
  color: var(--tilvo-gray-600);
  text-align: center;
}
.feat-cta .btn {
  width: 100%;
  max-width: 360px;
}
.feat-cta a {
  font-weight: 700;
  color: var(--tilvo-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 701px) {
  .cap-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
  }
  .cap-card {
    padding: 24px 24px 12px;
  }
}
@media (min-width: 601px) {
  .feat-cta {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
  .feat-cta .btn {
    width: auto;
    max-width: none;
  }
}
@media (min-width: 1101px) {
  .cap-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
  .cap-card {
    padding: 22px 20px 10px;
  }
}

/* ---- Rodapé: links legais ao lado do copyright (o WhatsApp flutuante fica à direita) ---- */
.footer-bottom {
  justify-content: flex-start;
  flex-wrap: wrap;
  column-gap: 28px;
}

/* ---- Páginas legais (Termos de Uso e Política de Privacidade), no visual do site ---- */
.legal-page {
  background: var(--tilvo-white);
}
.legal-top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--tilvo-gray-200);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
}
.legal-top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.legal-top .brand-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.legal-top .logo {
  width: 92px;
  height: auto;
}
.legal-back {
  font-size: 14px;
  font-weight: 600;
  color: var(--tilvo-gray-700);
}
.legal-back:hover {
  color: var(--tilvo-primary-dark);
}
.legal-main {
  padding: 40px 0 72px;
  background: radial-gradient(ellipse 70% 260px at 50% 0,rgba(212,247,239,.6),rgba(212,247,239,0) 70%);
}
.legal-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 18px;
}
.legal-wrap h1 {
  margin: 6px 0 4px;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--tilvo-gray-900);
}
.legal-date {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--tilvo-gray-500);
}
.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 26px;
  padding: 4px;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 12px;
  background: var(--tilvo-white);
}
.legal-tabs a {
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tilvo-gray-600);
}
.legal-tabs a:hover {
  color: var(--tilvo-gray-900);
}
.legal-tabs a[aria-current="page"] {
  background: #EDFCF9;
  font-weight: 600;
  color: var(--tilvo-primary-dark);
}
.legal-body {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--tilvo-gray-700);
}
.legal-body section {
  padding: 22px 0 10px;
  border-top: 1px solid var(--tilvo-gray-200);
}
.legal-body h2 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.3px;
  color: var(--tilvo-gray-900);
}
.legal-body p {
  margin: 0 0 12px;
}
.legal-body ul {
  margin: 0 0 12px;
  padding-left: 20px;
}
.legal-body li {
  margin-bottom: 6px;
}
.legal-body strong {
  font-weight: 600;
  color: var(--tilvo-gray-900);
}
.legal-body a {
  color: var(--tilvo-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 851px) {
  .legal-top-in {
    height: 72px;
  }
  .legal-top .logo {
    width: 104px;
  }
  .legal-main {
    padding: 56px 0 96px;
  }
  .legal-wrap h1 {
    font-size: 44px;
  }
}

/* ---- FAQ compacto: cabeçalho em linha e perguntas em 2 colunas, uma aberta por vez ---- */
.faq2 .section-heading {
  margin-bottom: 22px;
}
.faq2-side .section-intro {
  margin: 10px 0 8px;
}
.faq2-side .text-link {
  font-weight: 600;
  color: var(--tilvo-primary-dark);
}
.faq2-cols {
  display: grid;
}
.faq2 .faq-items details,
.faq2 .faq-items details:first-child {
  padding: 15px 0;
  border-bottom: 1px solid var(--tilvo-gray-200);
}
.faq2 .faq-col:first-child details:first-child {
  border-top: 1px solid var(--tilvo-gray-200);
}
.faq2 .faq-items summary {
  font-size: 15.5px;
  line-height: 1.4;
}
.faq2 .faq-items summary:after {
  flex: none;
  font-size: 21px;
  line-height: 1;
  color: var(--tilvo-primary);
}
.faq2 .faq-items summary:hover {
  color: var(--tilvo-primary-dark);
}
.faq2 .faq-items details p {
  max-width: none;
  margin: 8px 30px 0 0;
  font-size: 14px;
  line-height: 1.65;
}
@media (min-width: 851px) {
  .faq2 .section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
  }
  .faq2-side {
    max-width: 340px;
  }
  .faq2-side .section-intro {
    margin-top: 0;
  }
  .faq2-cols {
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-items: start;
    column-gap: 48px;
  }
  .faq2 .faq-col details:first-child {
    border-top: 1px solid var(--tilvo-gray-200);
  }
}

/* ---- Aviso de cookies (LGPD), mesma estrutura do site da Fácil ---- */
.ck {
  position: fixed;
  bottom: 12px;
  left: 12px;
  z-index: 60;
  width: calc(100% - 24px);
  max-width: 380px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: #0E1D1C;
  box-shadow: 0 24px 60px -18px rgba(0,0,0,.6);
  color: var(--tilvo-white);
  font-size: 13px;
  line-height: 1.55;
  animation: ck-in .3s ease;
}
.ck[hidden] {
  display: none;
}
@keyframes ck-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.ck-ico {
  flex: none;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ck-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.ck-badge {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(27,174,166,.18);
  color: #76DFD2;
}
.ck-badge .ck-ico {
  width: 16px;
  height: 16px;
}
.ck .ck-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.1px;
  color: var(--tilvo-white);
}
.ck-text {
  margin: 0 0 10px;
  color: #D1D5DB;
}
.ck-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-bottom: 10px;
}
.ck-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #76DFD2;
}
.ck-links a:hover {
  color: #ACEEE2;
}
.ck-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  color: #9CA3AF;
  cursor: pointer;
}
.ck-more:hover {
  color: #E5E7EB;
}
.ck-chev {
  transition: transform .2s;
}
.ck.is-open .ck-chev {
  transform: rotate(180deg);
}
.ck-det {
  margin-bottom: 12px;
  padding: 4px 12px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
}
.ck-det[hidden] {
  display: none;
}
.ck-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  cursor: pointer;
}
.ck-row+.ck-row {
  border-top: 1px solid rgba(255,255,255,.1);
}
.ck-row b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--tilvo-white);
}
.ck-row small {
  display: block;
  font-size: 11.5px;
  color: #9CA3AF;
}
/* interruptor */
.ck-row input {
  flex: none;
  position: relative;
  width: 36px;
  height: 20px;
  margin: 0;
  border-radius: 99px;
  background: #374151;
  appearance: none;
  cursor: pointer;
  transition: background .2s;
}
.ck-row input:before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--tilvo-white);
  transition: transform .2s;
}
.ck-row input:checked {
  background: var(--tilvo-primary);
}
.ck-row input:checked:before {
  transform: translateX(16px);
}
.ck-row input:disabled {
  opacity: .55;
  cursor: default;
}
.ck-row input:focus-visible {
  outline: 2px solid #76DFD2;
  outline-offset: 2px;
}
.ck-actions {
  display: flex;
  gap: 8px;
}
.ck-btn {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s,border-color .2s;
}
.ck-yes {
  background: var(--tilvo-primary);
  color:#0E1726;
}
.ck-yes:hover {
  background: var(--tilvo-primary-dark);
}
.ck-yes:active {
  background: var(--tilvo-primary-darker);
}
.ck-no {
  border-color: #4B5563;
  background: transparent;
  color: #E5E7EB;
}
.ck-no:hover {
  background: rgba(255,255,255,.08);
}
.ck-save {
  width: 100%;
  margin-top: 6px;
  background: rgba(255,255,255,.1);
  color: var(--tilvo-white);
}
.ck-save:hover {
  background: rgba(255,255,255,.16);
}
.ck-law {
  margin: 10px 0 0;
  font-size: 10.5px;
  color: #6B7280;
  text-align: center;
}
/* botão para reabrir as preferências (só no computador; no celular fica o link do rodapé) */
.ck-fab {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 25;
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: #0E1D1C;
  box-shadow: 0 12px 26px -12px rgba(0,0,0,.6);
  color: #76DFD2;
  cursor: pointer;
  transition: transform .2s;
}
.ck-fab:hover {
  transform: scale(1.08);
}
.ck-fab .ck-ico {
  width: 20px;
  height: 20px;
}
.footer-legal button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.footer-legal button:hover {
  text-decoration: underline;
}
@media (min-width: 601px) {
  .ck {
    bottom: 22px;
    left: 22px;
  }
  .ck-fab:not([hidden]) {
    display: grid;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ck {
    animation: none;
  }
}

/* ---- Seção "Gestão no improviso" (v4): interruptor Sem o Tilvo / Com o Tilvo e cartões que viram do problema para a solução ---- */
.pain4 {
  background: var(--tilvo-white);
  border-top: 1px solid var(--tilvo-gray-200);
}
.pain-board {
  max-width: 1120px;
  margin: 0 auto;
}
.pain-toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%,340px);
  margin: 0 auto 22px;
  padding: 4px;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 999px;
  background: var(--tilvo-gray-50);
}
.pain-toggle button {
  position: relative;
  z-index: 1;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--tilvo-gray-500);
  cursor: pointer;
  transition: color .35s;
}
.pain-toggle button[aria-pressed="true"] {
  color: var(--tilvo-white);
}
.pain-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: #374151;
  box-shadow: 0 8px 18px -10px rgba(18,38,37,.7);
  transition: transform .5s cubic-bezier(.2,.7,.2,1),background .5s;
}
.pain-board[data-modo="com"] .pain-thumb {
  transform: translateX(100%);
  background: var(--tilvo-primary);
}
.pain-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pc {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 8px 14px;
  padding: 14px 16px;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 16px;
  background: var(--tilvo-white);
  box-shadow: 0 1px 2px rgba(18,38,37,.04);
  transition: border-color .45s,box-shadow .45s;
}
.pc-ico {
  display: grid;
  grid-row: span 2;
  place-items: center;
  align-self: start;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #FEF2F2;
  color: #DC2626;
  transition: background .45s,color .45s;
}
.pc-ico .icon {
  width: 21px;
  height: 21px;
}
/* texto e etiqueta: as duas versões ocupam o mesmo lugar e trocam com um fade */
.pc-txt,
.pc-chip {
  display: grid;
}
.pc-txt>span,
.pc-chip>* {
  grid-area: 1 / 1;
  transition: opacity .35s ease,translate .35s ease,visibility 0s linear .35s;
}
.pc-txt {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--tilvo-gray-800);
  text-wrap: balance;
}
.pc-chip {
  justify-self: start;
}
.pc-chip>* {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  padding: 3px 10px 3px 8px;
  border: 1px solid #FECACA;
  border-radius: 99px;
  background: #FEF2F2;
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #B91C1C;
}
.pc-chip>.pc-link {
  background: var(--tilvo-primary);
  border-color: var(--tilvo-primary);
  color:#0E1726;
}
.pc-chip>.pc-link:hover {
  background: var(--tilvo-primary-dark);
}
.pc-chip>.pc-com:not(.pc-link) {
  border-color: #ACEEE2;
  background: #EDFCF9;
  color: var(--tilvo-primary-dark);
}
.pc-chip .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.6;
}
.pain-board[data-modo="sem"] .pc-com,
.pain-board[data-modo="com"] .pc-sem {
  opacity: 0;
  translate: 0 6px;
  visibility: hidden;
}
.pain-board[data-modo="sem"] .pc-sem,
.pain-board[data-modo="com"] .pc-com {
  transition: opacity .35s ease,translate .35s ease,visibility 0s;
}
.pain-board[data-modo="sem"] .pc-txt {
  color: var(--tilvo-gray-600);
}
.pain-board[data-modo="com"] .pc {
  border-color: #ACEEE2;
  box-shadow: 0 0 0 3px rgba(27,174,166,.08),0 18px 36px -28px rgba(73,223,218,.5);
}
.pain-board[data-modo="com"] .pc-ico {
  background: var(--tilvo-primary-lighter);
  color: var(--tilvo-primary-dark);
}
/* cartões viram em sequência */
.pc:nth-child(2) .pc-txt>span,.pc:nth-child(2) .pc-chip>*,.pc:nth-child(2),.pc:nth-child(2) .pc-ico { transition-delay: .08s; }
.pc:nth-child(3) .pc-txt>span,.pc:nth-child(3) .pc-chip>*,.pc:nth-child(3),.pc:nth-child(3) .pc-ico { transition-delay: .16s; }
.pc:nth-child(4) .pc-txt>span,.pc:nth-child(4) .pc-chip>*,.pc:nth-child(4),.pc:nth-child(4) .pc-ico { transition-delay: .24s; }
.pc:nth-child(5) .pc-txt>span,.pc:nth-child(5) .pc-chip>*,.pc:nth-child(5),.pc:nth-child(5) .pc-ico { transition-delay: .32s; }
.pc:nth-child(6) .pc-txt>span,.pc:nth-child(6) .pc-chip>*,.pc:nth-child(6),.pc:nth-child(6) .pc-ico { transition-delay: .4s; }
/* fechamento: ponte para a próxima seção */
.pain-close {
  margin-top: 30px;
  text-align: center;
}
.pain-ponte {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--tilvo-gray-600);
}
.pain-ponte strong {
  font-weight: 600;
  color: var(--tilvo-gray-900);
}
.pain-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.pain-ctas .btn {
  width: 100%;
  max-width: 360px;
}
.pain-next {
  font-size: 15px;
  font-weight: 700;
  color: var(--tilvo-primary-dark);
}
.pain-next span {
  display: inline-block;
  animation: pain-desce 1.6s ease-in-out infinite;
}
@keyframes pain-desce {
  50% {
    transform: translateY(3px);
  }
}
@media (min-width: 601px) {
  .pain-ctas {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
  .pain-ctas .btn {
    width: auto;
    max-width: none;
  }
}
@media (min-width: 851px) {
  .pain-list {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
  }
  .pc {
    padding: 16px 18px;
  }
}
@media (min-width: 1101px) {
  .pain-list {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .pain-ponte {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pc,
  .pc-ico,
  .pc-txt>span,
  .pc-chip>*,
  .pain-thumb {
    transition: none;
  }
  .pain-next span {
    animation: none;
  }
}

/* ---- Menu do topo com todas as seções e destaque da seção visível ---- */
.nav-links a[aria-current="true"] {
  color: var(--tilvo-primary-dark);
}
@media (min-width: 851px) and (max-width: 1100px) {
  /* no tablet o menu vira ☰, com "Entrar" e "Testar grátis" à vista */
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 0;
    padding: 10px 32px 20px;
    border-bottom: 1px solid var(--tilvo-gray-200);
    background: var(--tilvo-white);
    box-shadow: 0 24px 30px -26px rgba(18,38,37,.35);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 11px 0;
    font-size: 16px;
    color: var(--tilvo-gray-900);
  }
  .nav-actions {
    margin-left: auto;
  }
  .menu-toggle {
    display: block;
    margin-left: 14px;
  }
}
@media (min-width: 1101px) {
  .nav-links {
    gap: 28px;
    font-size: 15px;
  }
  .nav-links a {
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
  }
  .nav-links a[aria-current="true"]:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--tilvo-primary);
  }
}
@media (min-width: 1361px) {
  .nav-links {
    gap: 34px;
  }
}

/* ---- Demonstração: pontinhos nos sub itens, botão "Próxima tela" e lembrete suave ---- */
.ds-sub,
.pm-sub {
  position: relative;
}
.ds-sub.has-dot:after,
.pm-sub.has-dot:after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(12 * var(--u));
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: #1BAEA6;
  box-shadow: 0 0 0 2px #fff;
  pointer-events: none;
  animation: dm-dot 2.2s ease-out infinite;
}
.dm-footbar {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  padding: 0 16px 12px;
}
.dm-footbar .dm-foot {
  padding: 0;
}
.dm-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(118,223,210,.45);
  border-radius: 999px;
  background: rgba(27,174,166,.14);
  font-size: 13px;
  font-weight: 600;
  color: #ACEEE2;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s,border-color .2s;
}
.dm-next b {
  font-weight: 700;
  color: var(--tilvo-white);
}
.dm-next:hover {
  border-color: #76DFD2;
  background: rgba(27,174,166,.26);
}
.dm-next.is-nudge {
  animation: dm-nudge 1.3s ease-in-out 3;
}
@keyframes dm-nudge {
  0%,100% {
    box-shadow: 0 0 0 0 rgba(27,174,166,0);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(27,174,166,.35);
    background: rgba(27,174,166,.32);
  }
}
.ds-item.is-next,
.ds-sub.is-next {
  animation: dm-next-item 1.3s ease-in-out 3;
}
@keyframes dm-next-item {
  0%,100% {
    background: transparent;
  }
  50% {
    background: #D4F7EF;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ds-sub.has-dot:after,
  .pm-sub.has-dot:after,
  .dm-next.is-nudge,
  .ds-item.is-next,
  .ds-sub.is-next {
    animation: none;
  }
}

/* ---- Demonstração no celular: "Próxima tela" é um botão grande, da largura do aparelho ---- */
.demo-modal[data-mode=phone] .dm-title span {
  display: none;
}
.demo-modal[data-mode=phone] .dm-footbar {
  padding: 2px 16px 14px;
}
.demo-modal[data-mode=phone] .dm-next {
  justify-content: space-between;
  gap: 12px;
  width: var(--pw,100%);
  max-width: 100%;
  height: 58px;
  padding: 0 9px 0 18px;
  border: 0;
  border-radius: 16px;
  background: #49DFDA;
  color:#0E1726;
  text-align: left;
  box-shadow: 0 14px 30px -14px rgba(27,174,166,.9);
}
.demo-modal[data-mode=phone] .dm-next:hover {
  background: #0C706F;
}
.demo-modal[data-mode=phone] .dm-next:active {
  background: #0C5959;
}
.dn-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.dn-txt span {
  font-size: 12px;
  font-weight: 500;
  color: #D4F7EF;
}
.dn-txt b {
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.dn-seta {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,.16);
  font-size: 20px;
  line-height: 1;
}
.demo-modal[data-mode=phone] .dm-next.is-nudge {
  animation: dm-nudge-cel 1.3s ease-in-out 3;
}
@keyframes dm-nudge-cel {
  0%,100% {
    box-shadow: 0 14px 30px -14px rgba(27,174,166,.9),0 0 0 0 rgba(27,174,166,0);
  }
  50% {
    box-shadow: 0 14px 30px -14px rgba(27,174,166,.9),0 0 0 7px rgba(27,174,166,.35);
  }
}
/* "Voltar" (só no celular): quadrado à esquerda do "Próxima tela"; a dupla ocupa a largura do aparelho */
.dm-back {
  display: none;
}
.demo-modal[data-mode=phone] .dm-footbar {
  flex-wrap: nowrap;
  gap: 8px;
}
.demo-modal[data-mode=phone] .dm-back:not([hidden]) {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 64px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  font-size: 11.5px;
  font-weight: 600;
  color: #E2E8F0;
  cursor: pointer;
}
.demo-modal[data-mode=phone] .dm-back:hover {
  border-color: #76DFD2;
  background: rgba(255,255,255,.1);
}
.dm-back .db-seta {
  font-size: 20px;
  line-height: 1;
}
.demo-modal[data-mode=phone] .dm-footbar.tem-volta .dm-next {
  width: calc(var(--pw,100%) - 72px);
}
/* convite até o primeiro toque: halo que pulsa, brilho que passa e a seta empurrando para a direita */
.demo-modal[data-mode=phone] .dm-next {
  position: relative;
  overflow: hidden;
}
.demo-modal[data-mode=phone] .dm-next.is-convite {
  animation: dm-convite 1.6s ease-out infinite;
}
@keyframes dm-convite {
  0% {
    box-shadow: 0 14px 30px -14px rgba(27,174,166,.9),0 0 0 0 rgba(63,200,188,.6);
  }
  70%,100% {
    box-shadow: 0 14px 30px -14px rgba(27,174,166,.9),0 0 0 14px rgba(63,200,188,0);
  }
}
.demo-modal[data-mode=phone] .dm-next.is-convite:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.35),rgba(255,255,255,0));
  transform: skewX(-20deg);
  animation: shine 2.4s ease-in-out infinite;
  pointer-events: none;
}
.demo-modal[data-mode=phone] .dm-next.is-convite .dn-seta {
  background: var(--tilvo-white);
  color: #0C706F;
  animation: dm-seta 1.1s ease-in-out infinite;
}
@keyframes dm-seta {
  50% {
    transform: translateX(5px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .demo-modal[data-mode=phone] .dm-next.is-nudge,
  .demo-modal[data-mode=phone] .dm-next.is-convite,
  .demo-modal[data-mode=phone] .dm-next.is-convite:after,
  .demo-modal[data-mode=phone] .dm-next.is-convite .dn-seta {
    animation: none;
  }
}

/* ---- Tema claro/escuro (computador e celular): cores sólidas, sem degradê nem manchas ----
   azul-noite #0E1D1C: cabeçalho, topo, automações, planos + "Experimente sem risco"; rodapé #0A1313
   verde-escuro #0B4849: demonstração, três passos e fechamento; verde vivo #0C706F: plano em destaque e garantia
   claras e lisas: "Menos cliques", recursos, segmentos e dúvidas (no celular também escurecem, no bloco seguinte)
   cartões escuros: #172F2E sobre azul, #0E1D1C sobre verde; mini telas do sistema em tema escuro (camadas translúcidas)
   textos no escuro: branco, #E2E8F0, #A3B1C6/#CBD5E1; destaques #76DFD2 */
.demo-glow,
.closing-glow,
.closing:after,
.guarantee-card:before {
  display: none;
}

/* logo branco no rodapé (escuro em todas as telas) */
footer .light-logo {
  display: none;
}
footer .dark-logo {
  display: block;
  width: auto;
  height: 31px;
  margin: 3px 0 4px;
}

/* fundos das seções */
.auto-section,
.prices,
.guarantee {
  border-top: 0;
  background: #0E1D1C;
}
.demo-section,
.steps-section,
.closing {
  border-top: 0;
  background: #0B4849;
}
.solution-section.cap5,
.seg5 {
  background: var(--tilvo-gray-50);
}.seg5 .seg-panel,
.seg5 .seg-card {
  background: var(--tilvo-white);
}
footer {
  border-color: rgba(255,255,255,.08);
  background: #0A1313;
  color: #CBD5E1;
}
footer a,
footer button {
  color: #CBD5E1;
}
footer a:hover,
footer button:hover {
  color: #76DFD2;
}
.footer-bottom {
  border-color: rgba(255,255,255,.1);
  color: #94A3B8;
}
.footer-brand span {
  color: #94A3B8;
}

/* títulos e textos nas seções escuras */
.auto-section .eyebrow,
.steps-section .eyebrow,
.prices .eyebrow,
.guarantee .eyebrow {
  color: #76DFD2;
}
.auto-section h2,
.steps-section h2,
.prices h2 {
  color: var(--tilvo-white);
}
.auto-section h2 em,
.steps-section h2 em,
.prices h2 em,
.closing h2 em {
  color: #76DFD2;
}
.auto-section .section-intro,
.prices .section-intro {
  color: #CBD5E1;
}
.steps-section .section-intro,
.steps-cta {
  color: #D4F7EF;
}

/* automações: cartões escuros */
.auto-card {
  border-color: rgba(255,255,255,.08);
  background: #172F2E;
  color: var(--tilvo-white);
  box-shadow: 0 24px 40px -28px rgba(0,0,0,.6);
}
.auto-card h3 {
  color: var(--tilvo-white);
}
.auto-card>p,
.auto-card .auto-head~p {
  color: #A3B1C6;
}
.auto-icon,
.auto-status {
  background: rgba(27,174,166,.16);
  color: #76DFD2;
}
.auto-card.is-done .auto-status {
  background: #1BAEA6;
  color: #08282B;
}
.auto-card.is-done .auto-status:before {
  background: #08282B;
}

/* três passos: cartões escuros sobre o verde */
.flow-step {
  border-color: rgba(118,223,210,.18);
  background: #0E1D1C;
  color: var(--tilvo-white);
  box-shadow: 0 24px 40px -28px rgba(0,0,0,.6);
}
.flow-text h3 {
  color: var(--tilvo-white);
}
.flow-text p {
  color: #A3B1C6;
}
.steps-section .flow:before {
  background: rgba(255,255,255,.18);
}
.steps-section .flow:after {
  background: #76DFD2;
}
.steps-section .flow-num {
  background: var(--tilvo-white);
  color: #0C5959;
  box-shadow: 0 0 0 5px #0B4849;
}

/* mini telas do sistema em tema escuro (servem sobre cartão azul ou verde) */
.auto-demo,
.flow-mock {
  border-color: rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}
.auto-input-label,
.auto-out span,
.fm-field small,
.fm-sale small,
.fm-chart small {
  color: #94A3B8;
}
.auto-input,
.auto-out,
.fm-field,
.fm-row,
.fm-sale,
.fm-chart {
  border-color: rgba(255,255,255,.1);
  background: rgba(0,0,0,.28);
  color: #E2E8F0;
}
.auto-input .icon {
  color: #64748B;
}
.auto-card.is-busy .auto-input,
.auto-card.is-done .auto-input {
  border-color: #1BAEA6;
  box-shadow: 0 0 0 3px rgba(27,174,166,.18);
}
.auto-input [data-type]:after,
.auto-input:after {
  background: #3FC8BC;
}
.auto-out b,
.fm-sale strong {
  color: var(--tilvo-white);
}
.auto-photo {
  box-shadow: 0 0 0 1px rgba(255,255,255,.12);
}
.auto-done,
.fm-row small {
  color: #76DFD2;
}
.fm-bar {
  border-color: rgba(255,255,255,.06);
  background: rgba(255,255,255,.04);
}
.fm-bar i {
  background: rgba(255,255,255,.18);
}
.fm-ico,
.fm-chip {
  background: rgba(27,174,166,.16);
  color: #76DFD2;
}
.fm-ok {
  color: #3FC8BC;
}
.fm-bars i {
  background: rgba(27,174,166,.28);
}
.fm-bars i:nth-child(7) {
  background: #1BAEA6;
}

/* planos: cartões escuros; o destaque em verde vivo */
.prices .price-card {
  border-color: rgba(255,255,255,.08);
  background: #172F2E;
  color: var(--tilvo-white);
}
.prices .price-card>p,
.prices .price-card .price span {
  color: #A3B1C6;
}
.prices .price-card ul {
  border-color: rgba(255,255,255,.1);
}
.prices .price-card li {
  color: #E2E8F0;
}
.prices .price-card li:before {
  color: #76DFD2;
}
.prices .price-card .btn-outline {
  border-color: rgba(255,255,255,.22);
  color: var(--tilvo-white);
}
.prices .price-card .btn-outline:hover {
  border-color: #76DFD2;
  background: rgba(255,255,255,.06);
}
.prices .price-card.featured {
  border-color: #0C706F;
  background: #0C706F;
  box-shadow: 0 30px 60px -30px rgba(27,174,166,.55);
}
.prices .featured>p,
.prices .featured .price span {
  color: #D4F7EF;
}
.prices .featured ul {
  border-color: rgba(255,255,255,.22);
}
.prices .featured li {
  color: var(--tilvo-white);
}
.prices .featured li:before {
  color: #ACEEE2;
}
.prices .featured .price-tag {
  background: var(--tilvo-white);
  color: #0C5959;
}
.prices .featured .btn-mint {
  background: var(--tilvo-white);
  color: #0C5959;
}
.prices .featured .btn-mint:hover {
  background: #EDFCF9;
}
.price-note {
  color: #94A3B8;
}
/* "Experimente sem risco": cartão verde vivo, liso, sobre o azul-noite dos planos */
.guarantee-card {
  background: #0C706F;
}
.guarantee h2 em,
.guarantee-list .icon {
  color: #ACEEE2;
}

/* ---- Cabeçalho e topo escuros (celular e computador) ---- */
@media (max-width: 600px) {
  .hero-bg {
    display: none;
  }
}
@media all {
  .hero-v2 {
    border-top: 0;
    background: #0E1D1C;
  }
  /* cabeçalho, logo branco e menu ☰ escuros */
  .nav-wrap .light-logo,
  footer .light-logo {
    display: none;
  }
  .nav-wrap .dark-logo,
  footer .dark-logo {
    display: block;
    width: auto;
    height: 31px;
    margin: 3px 0 4px;
  }
  .nav-wrap,
  .nav-wrap.is-scrolled {
    border-color: rgba(255,255,255,.08);
    background: rgba(14,29,28,.94);
  }
  .nav {
    color: var(--tilvo-white);
  }
  .brand-tag {
    color: #94A3B8;
  }
  .menu-toggle {
    border-color: rgba(255,255,255,.2);
    color: var(--tilvo-white);
  }
  .nav-links {
    color: #CBD5E1;
  }
  .nav-links a:hover,
  .nav-links a[aria-current="true"] {
    color: #76DFD2;
  }
  .nav-actions .login {
    color: var(--tilvo-white);
  }
  .nav-links {
    border-color: rgba(255,255,255,.08);
    background: #0E1D1C;
    box-shadow: 0 30px 40px -24px rgba(0,0,0,.7);
  }
  .nav-links a {
    border-color: rgba(255,255,255,.08);
    color: var(--tilvo-white);
  }
  .nav-links a:hover,
  .nav-links a[aria-current="true"] {
    color: #76DFD2;
  }
  .nav-links .nav-mobile.btn {
    color: var(--tilvo-white);
  }
  /* topo */
  .hero-v2 {
    color: var(--tilvo-white);
  }
  .hero-v2 .hero-kicker {
    border-color: rgba(118,223,210,.35);
    background: rgba(27,174,166,.12);
    color: #76DFD2;
  }
  .hero-v2 .hero-kicker .dot {
    background: #76DFD2;
  }
  .hero-v2 h1,
  .hero-v2 h1 em {
    color: var(--tilvo-white);
  }
  .hero-v2 h1 .hl {
    color: #3FC8BC;
  }
  .hero-v2 .hero-description,
  .hero-v2 .hero-assurances {
    color: #CBD5E1;
  }
  .hero-v2 .hero-assurances .icon {
    color: #76DFD2;
  }
  .hero-v2 .hero-secondary {
    border-color: rgba(255,255,255,.28);
    background: transparent;
    color: var(--tilvo-white);
  }
  .hero-v2 .hero-secondary:hover {
    border-color: #76DFD2;
    background: rgba(255,255,255,.06);
  }
  .hero-v2 .hero-secondary .icon {
    color: #54D4A6;
  }
  .hero-v2 .hero-proof {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.12);
    box-shadow: none;
  }
  .hero-v2 .hero-proof>div {
    background: #152A29;
  }
  .hero-v2 .hero-proof .proof-icon {
    background: rgba(27,174,166,.16);
    color: #76DFD2;
  }
  .hero-v2 .hero-proof b {
    color: var(--tilvo-white);
  }
  .hero-v2 .hero-proof p span {
    color: #CBD5E1;
  }
}

/* ---- Celular: versão mais escura que clara — "Menos cliques", recursos, segmentos e dúvidas também escurecem;
   automações passam para verde-escuro para alternar com o azul ---- */
@media (max-width: 600px) {
  .pain4,
  .solution-section.cap5 {
    border-top: 0;
    background: #0E1D1C;
  }
  .auto-section {
    background: #0B4849;
  }
  .auto-section .section-intro {
    color: #D4F7EF;
  }
  .auto-card {
    border-color: rgba(118,223,210,.18);
    background: #0E1D1C;
  }
  .seg5,
  .faq2 {
    border-top: 1px solid rgba(255,255,255,.06);
    background: #142928;
  }
  .pain4 .eyebrow, .cap5 .eyebrow, .seg5 .eyebrow, .faq2 .eyebrow,
  .pain4 h2 em, .cap5 h2 em, .seg5 h2 em, .faq2 h2 em,
  .pain4 .pain-next {
    color: #76DFD2;
  }
  .pain4 h2, .cap5 h2, .seg5 h2, .faq2 h2 {
    color: var(--tilvo-white);
  }
  .pain4 .section-intro,
  .pain4 .pain-ponte {
    color: #CBD5E1;
  }
  .pain4 .pain-ponte strong,
  .seg5 .seg-intro strong {
    color: var(--tilvo-white);
  }
  .cap5 .section-intro, .faq2 .section-intro, .seg5 .seg-intro .t-touch, .seg5 .seg-intro .t-click, .feat-cta {
    color: #A3B1C6;
  }
  .cap5 a:not(.btn), .faq2 .text-link {
    color: #76DFD2;
  }
  /* "Menos cliques": interruptor e cartões escuros; vermelho e verde suaves */
  .pain4 .pain-toggle {
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
  }
  .pain4 .pain-toggle button {
    color: #94A3B8;
  }
  .pain4 .pain-toggle button[aria-pressed="true"] {
    color: var(--tilvo-white);
  }
  .pc,
  .pain-board[data-modo="com"] .pc {
    border-color: rgba(255,255,255,.09);
    background: #172F2E;
    box-shadow: none;
  }
  .pain-board[data-modo="com"] .pc {
    border-color: rgba(118,223,210,.28);
  }
  .pc-txt {
    color: #E2E8F0;
  }
  .pain-board[data-modo="sem"] .pc-txt {
    color: #A3B1C6;
  }
  .pc-ico {
    background: rgba(239,68,68,.14);
    color: #F87171;
  }
  .pain-board[data-modo="com"] .pc-ico {
    background: rgba(27,174,166,.16);
    color: #76DFD2;
  }
  .pc-chip>* {
    border-color: rgba(248,113,113,.3);
    background: rgba(239,68,68,.12);
    color: #FCA5A5;
  }
  .pc-chip>.pc-com:not(.pc-link) {
    border-color: rgba(118,223,210,.3);
    background: rgba(27,174,166,.14);
    color: #76DFD2;
  }
  .pc-chip>.pc-link {
    border-color: var(--tilvo-primary);
    background: var(--tilvo-primary);
    color:#0E1726;
  }
  /* recursos */
  .cap-card {
    border-color: rgba(255,255,255,.08);
    background: #172F2E;
    box-shadow: none;
  }
  .cap-card h3,
  .cap-card strong {
    color: var(--tilvo-white);
  }
  .cap-card p,
  .cap-card li span {
    color: #A3B1C6;
  }
  .cap-card li {
    border-color: rgba(255,255,255,.08);
  }
  .cap-ico,
  .cap-card li>.icon {
    background: rgba(27,174,166,.16);
    color: #76DFD2;
  }
  /* segmentos */
  .seg5 .segment {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: #CBD5E1;
  }
  .seg5 .seg-tab-ico {
    color: #76DFD2;
  }
  .seg5 .segment[aria-pressed="true"] {
    border-color: var(--tilvo-primary);
    background: var(--tilvo-primary);
    color:#0E1726;
  }
  .seg5 .seg-panel {
    border-color: rgba(255,255,255,.08);
    background: #1A3635;
    box-shadow: none;
  }
  .seg-name {
    color: #76DFD2;
  }
  .seg-top strong {
    color: var(--tilvo-white);
  }
  .seg-feats li {
    color: #E2E8F0;
  }
  .seg-feats li+li {
    border-color: rgba(255,255,255,.1);
  }
  .seg5 figcaption {
    color: #A3B1C6;
  }
  /* dúvidas */
  .faq2 .faq-items details {
    border-color: rgba(255,255,255,.1);
  }
  .faq2 .faq-items summary {
    color: var(--tilvo-white);
  }
  .faq2 .faq-items summary:after {
    color: #76DFD2;
  }
  .faq2 .faq-items details p {
    color: #A3B1C6;
  }
}

/* ---- Planos: comparativo de recursos (abre e fecha sem JavaScript) ---- */
.cmp {
  margin: 28px auto 0;
}
.cmp summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 11px 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #E2E8F0;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.cmp summary::-webkit-details-marker {
  display: none;
}
.cmp summary:hover {
  border-color: #76DFD2;
  background: rgba(255,255,255,.05);
}
.cmp summary:focus-visible {
  outline: 3px solid #76DFD2;
  outline-offset: 3px;
}
.cmp summary .icon {
  width: 18px;
  height: 18px;
  color: #76DFD2;
  transition: transform .25s;
}
.cmp[open] summary .icon {
  transform: rotate(180deg);
}
.cmp-box {
  margin-top: 22px;
  padding: 6px 0 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: #172F2E;
  overflow: clip;
}
.cmp table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #E2E8F0;
  font-size: 13px;
}
.cmp thead th {
  position: sticky;
  top: 65px;
  z-index: 1;
  padding: 14px 1px 12px;
  background: #172F2E;
  color: var(--tilvo-white);
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}
.cmp thead th:first-child {
  width: 40%;
}
.cmp thead th.cmp-pro {
  color: #76DFD2;
}
.cmp th[scope="row"] {
  padding: 11px 8px 11px 16px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
}
.cmp td {
  padding: 11px 4px;
  text-align: center;
  vertical-align: middle;
}
.cmp td.cmp-pro,
.cmp thead th.cmp-pro {
  background: #193433;
}
.cmp tbody tr+tr th,
.cmp tbody tr+tr td {
  border-top: 1px solid rgba(255,255,255,.06);
}
.cmp-grupo th {
  padding: 22px 16px 8px;
  color: #76DFD2;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
}
.cmp tbody:first-of-type .cmp-grupo th {
  padding-top: 10px;
}
.cmp td .icon {
  width: 18px;
  height: 18px;
  color: #3FC8BC;
  vertical-align: middle;
}
.cmp-nao {
  display: inline-block;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: #475569;
  vertical-align: middle;
}
.cmp-val {
  color: var(--tilvo-white);
  font-size: 12px;
  line-height: 1.3;
}
.cmp-nota {
  margin: 0;
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #94A3B8;
  font-size: 12px;
  text-align: center;
}
@media (min-width: 601px) {
  .cmp thead th:not(:first-child),
  .cmp thead th:first-child {
    top: 71px;
  }
  .cmp table {
    font-size: 15px;
  }
  .cmp thead th {
    padding: 18px 8px 14px;
    font-size: 15px;
  }
  .cmp thead th:first-child {
    width: 40%;
  }
  .cmp th[scope="row"] {
    padding: 13px 16px 13px 28px;
  }
  .cmp td {
    padding: 13px 8px;
  }
  .cmp-grupo th {
    padding: 26px 28px 10px;
    font-size: 12px;
  }
  .cmp-val {
    font-size: 14px;
  }
  .cmp td .icon {
    width: 20px;
    height: 20px;
  }
}
@media (min-width: 1101px) {
  .cmp {
    max-width: 960px;
  }
}

/* ---- Computador: topo escuro com brilho verde atrás dos aparelhos ---- */
@media (min-width: 601px) {
  .nav-wrap {
    border-color: transparent;
    background: transparent;
  }
  .nav {
    height: 64px;
  }
  .nav-links {
    top: 64px;
  }
  .nav .brand-tag {
    font-size: 10px;
  }
  .nav-wrap.is-scrolled {
    border-color: rgba(255,255,255,.06);
    background: rgba(14,29,28,.88);
    box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
  }
  .nav-wrap {
    padding-top: 6px;
  }
  .nav-wrap .dark-logo {
    width: auto;
    max-width: none;
    height: 30px;
    margin: 0 0 3px;
  }
  .nav-links {
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #CBD5E1;
  }
  .nav-links a {
    color: #CBD5E1;
  }
  .nav-links a:hover,
  .nav-links a[aria-current="true"] {
    color: #76DFD2;
  }
  .hero-v2 {
    background:
      radial-gradient(900px 560px at 76% 46%, rgba(27,174,166,.20), transparent 62%),
      radial-gradient(700px 480px at 4% -6%, rgba(22,117,139,.16), transparent 60%),
      #0E1D1C;
  }
  .hero-v2:before {
    background: radial-gradient(ellipse, rgba(27,174,166,.10) 0%, transparent 70%);
  }
  .hero-bg span {
    opacity: .16;
    filter: blur(90px);
  }
  .hero-bg span:nth-child(1) {
    background: #1BAEA6;
  }
  .hero-bg span:nth-child(2) {
    background: #16758B;
  }
  .hero-bg span:nth-child(3) {
    left: 58%;
    background: #49DFDA;
    opacity: .12;
  }
  .hero-bg:before {
    background-image: linear-gradient(rgba(118,223,210,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(118,223,210,.05) 1px,transparent 1px);
  }
  .hero-media {
    position: relative;
  }
  .hero-media:before {
    content: "";
    position: absolute;
    inset: 22% 4% 2% 8%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(27,174,166,.38), transparent);
    filter: blur(30px);
  }
  .hero-img {
    filter: drop-shadow(0 40px 50px rgba(0,0,0,.55));
  }
  .hero-v2 .hero-primary {
    box-shadow: 0 16px 40px -14px rgba(27,174,166,.75);
  }
  .hero-v2 .hero-proof {
    border-color: rgba(255,255,255,.1);
    background: rgba(255,255,255,.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .hero-v2 .hero-proof>div {
    background: rgba(21,42,41,.88);
  }
  .hero-v2+.demo-section {
    border-top: 0;
  }
}

/* ---- Cabeçalho transparente sobre o topo até rolar (sem a linha entre os dois) ---- */
:root {
  --altura-menu: 65px;
}
@media (min-width: 601px) {
  :root {
    --altura-menu: 71px;
  }
}
.nav-wrap {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
.nav-wrap.is-scrolled {
  border-color: rgba(255,255,255,.06);
  background: rgba(14,29,28,.88);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.hero-v2 {
  margin-top: calc(-1 * var(--altura-menu));
}
.hero-v2>.hero-bg+.wrap {
  padding-top: var(--altura-menu);
}

/* logo branco do menu: sempre na proporção original (a largura mínima antiga achatava) */
.nav .dark-logo {
  width: auto;
  min-width: 0;
  max-width: none;
}

/* celular: no topo só o botão principal (o consultor continua no WhatsApp flutuante) */
@media (max-width: 600px) {
  .hero-v2 .hero-secondary {
    display: none;
  }
}

/* celular: botão e "7 dias grátis…" depois da imagem dos aparelhos (no computador a ordem não muda) */
@media (max-width: 600px) {
  .hero-v2 .hero-grid {
    display: flex;
    flex-direction: column;
    padding-top: 28px;
    text-align: center;
  }
  .hero-v2 .hero-intro {
    display: contents;
  }
  .hero-v2 .hero-kicker {
    order: 1;
    align-self: center;
  }
  .hero-v2 .hero-grid h1 {
    order: 2;
  }
  .hero-v2 .hero-description {
    order: 3;
    align-self: center;
  }
  .hero-v2 .hero-media {
    order: 4;
    margin-top: 36px;
  }
  .hero-v2 .hero-actions {
    order: 5;
    margin-top: 24px;
  }
  .hero-v2 .hero-assurances {
    order: 6;
  }
}

/* sem linha clara entre o topo e a demonstração (as duas seções são escuras) */
.hero-v2+.demo-section {
  border-top: 0;
}

/* topo: segunda ação discreta que abre a demonstração (no celular fica só o botão principal) */
.hero-demo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 14px;
  padding: 8px 10px 8px 4px;
  border: 0;
  background: none;
  color: #E2E8F0;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: color .2s;
}
.hero-demo-play {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(118,223,210,.4);
  border-radius: 50%;
  background: rgba(27,174,166,.12);
  color: #76DFD2;
  transition: background .2s,color .2s,border-color .2s,transform .2s;
}
.hero-demo-play svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
  fill: currentColor;
}
.hero-demo:hover {
  color: var(--tilvo-white);
}
.hero-demo:hover .hero-demo-play {
  border-color: #49DFDA;
  background: #49DFDA;
  color:#0E1726;
  transform: scale(1.06);
}
.hero-demo:focus-visible {
  outline: 3px solid #76DFD2;
  outline-offset: 4px;
  border-radius: 999px;
}
@media (max-width: 600px) {
  .hero-v2 .hero-actions {
    gap: 28px;
  }
  .hero-v2 .hero-demo {
    margin-left: 0;
    align-self: center;
  }
}

/* play do topo: o mesmo brilho do botão principal, logo depois dele */
.hero-demo-play {
  position: relative;
  overflow: hidden;
}
.hero-demo-play:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 50%;
  background: linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.5),rgba(255,255,255,0));
  transform: skewX(-20deg);
  animation: shine 5s ease-in-out .35s infinite;
  pointer-events: none;
}

/* computador: títulos um pouco menores (cerca de 10%) */
@media (min-width: 1101px) {
  .hero-v2 .hero-grid h1 {
    font-size: clamp(46px,3.95vw,60px);
    letter-spacing: -2.5px;
  }
  h2 {
    font-size: clamp(34px,3.25vw,47px);
    letter-spacing: -1.8px;
  }
  .closing h2 {
    font-size: clamp(38px,3.2vw,46px);
  }
}

/* ==== Menu do site: "Segmentos" abre a lista das páginas de cada ramo (marcação em tools/segmentos/gerar.mjs,
   menuSite; js/main.js abre e fecha). No computador é um painel sob o item; no menu ☰ abre dentro da lista. ==== */
.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.nav-drop-btn .icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform .2s ease;
}
.nav-drop.is-open .nav-drop-btn .icon {
  transform: rotate(180deg);
}
.nav-drop-btn:hover,
.nav-drop.is-open .nav-drop-btn,
.nav-drop.is-atual .nav-drop-btn,
.nav-drop:has(a[aria-current="true"]) .nav-drop-btn {
  color: #76DFD2;
}
.nav-drop-painel {
  display: none;
}
.nav-drop.is-open .nav-drop-painel {
  display: block;
}
.nav-drop-tit {
  margin: 2px 10px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #76DFD2;
}
.nav-drop-painel ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links .nav-drop-painel li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  color: var(--tilvo-white);
  font-size: 15px;
  white-space: normal;
  transition: background .15s ease;
}
.nav-links .nav-drop-painel li a:hover,
.nav-links .nav-drop-painel li a[aria-current="page"] {
  background: rgba(255,255,255,.07);
  color: var(--tilvo-white);
}
.nav-links .nav-drop-painel a:after {
  display: none;
}
.nav-drop-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(27,174,166,.14);
  color: #76DFD2;
}
.nav-drop-ico .icon {
  width: 20px;
  height: 20px;
}
.nav-drop-txt b {
  display: block;
  font-weight: 700;
  line-height: 1.3;
}
.nav-drop-txt small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: #94A3B8;
}
.nav-links .nav-drop-painel .nav-drop-todos {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 10px 2px;
  padding: 12px 0 2px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 14px;
  font-weight: 600;
  color: #76DFD2;
}
.nav-drop-todos .icon {
  width: 16px;
  height: 16px;
}
/* menu ☰ (celular e tablet): "Segmentos" como os outros itens; a lista abre embaixo dele */
@media (max-width: 1100px) {
  .nav-drop-btn {
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    font-size: 17px;
    color: var(--tilvo-white);
    text-align: left;
  }
  .nav-drop-painel {
    margin: 0 0 8px;
    padding: 8px 6px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
  }
}
@media (max-width: 600px) {
  .nav-drop-btn {
    color: #CBD5E1;
  }
}
/* computador: painel flutuante sob o item, abre também ao passar o mouse */
@media (min-width: 1101px) {
  .nav-drop {
    position: relative;
  }
  .nav-drop-btn {
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
  }
  /* sublinhado só para a seção em que a pessoa está (na home); nas páginas de segmento "Segmentos" fica só verde */
  .nav-drop:has(a[aria-current="true"]) .nav-drop-btn:after {
    content: "";
    position: absolute;
    right: 20px;
    bottom: -2px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--tilvo-primary);
  }
  .nav-drop-painel {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 30;
    width: 360px;
    padding: 14px 10px 12px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 18px;
    background: #142928;
    box-shadow: 0 34px 60px -22px rgba(0,0,0,.75);
    transform: translateX(-50%);
  }
  /* faixa invisível entre o item e o painel: o mouse passa de um para o outro sem fechar */
  .nav-drop-painel:before {
    content: "";
    position: absolute;
    top: -16px;
    right: 0;
    left: 0;
    height: 16px;
  }
  .nav-drop:hover .nav-drop-painel {
    display: block;
  }
  .nav-drop:hover .nav-drop-btn .icon {
    transform: rotate(180deg);
  }
}

/* sem legendas de "tela real" nas imagens do sistema (dono, 27/10/2026) */
#segment-cap {
  display: none;
}

/* Menu "Segmentos" mais simples (dono, 27/10/2026: "cara de IA"): painel claro, só os nomes, sem selo, ícone nem
   descrição; "Todos os segmentos" separado embaixo. */
.nav-drop-tit,
.nav-drop-ico,
.nav-drop-txt small,
.nav-drop-todos .icon {
  display: none;
}
.nav-links .nav-drop-painel li a {
  padding: 9px 12px;
  border-radius: 8px;
}
.nav-drop-txt b {
  font-weight: 500;
}
@media (min-width: 1101px) {
  .nav-drop-painel {
    width: 230px;
    padding: 8px;
    border: 1px solid var(--tilvo-gray-200);
    border-radius: 12px;
    background: var(--tilvo-white);
    box-shadow: 0 18px 40px -16px rgba(19,38,38,.35);
  }
  .nav-links .nav-drop-painel li a {
    color: var(--tilvo-gray-900);
  }
  .nav-links .nav-drop-painel li a:hover,
  .nav-links .nav-drop-painel li a[aria-current="page"] {
    background: var(--tilvo-gray-100);
    color: var(--tilvo-gray-900);
  }
  .nav-links .nav-drop-painel .nav-drop-todos {
    margin: 6px 4px 2px;
    padding: 10px 8px 4px;
    border-top: 1px solid var(--tilvo-gray-200);
    font-weight: 500;
    color: var(--tilvo-gray-600);
  }
  .nav-links .nav-drop-painel .nav-drop-todos:hover {
    color: var(--tilvo-primary-dark);
  }
}

/* ==== Menu "Segmentos" em grupos (dono, 27/10/2026): "Para comércio" (duas colunas) e "Para serviços", cada ramo
   com nome e uma linha. Marcação: tools/segmentos/gerar.mjs (RAMOS_NO_MENU). ==== */
.nav-mega ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-mega li {
  break-inside: avoid;
}
.nav-mega-tit {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #94A3B8;
}
.nav-links .nav-mega li a {
  display: block;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  white-space: normal;
}
.nav-mega b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.nav-mega small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}
.nav-mega-2 ul {
  columns: 2;
  column-gap: 16px;
}
/* menu ☰: grupos um embaixo do outro, só os nomes */
@media (max-width: 1100px) {
  .nav-drop-painel.nav-mega {
    padding: 12px 10px;
  }
  .nav-mega-grupo + .nav-mega-grupo {
    margin-top: 12px;
  }
  .nav-mega-tit {
    margin-left: 10px;
  }
  .nav-mega small {
    display: none;
  }
  .nav-links .nav-mega li a {
    color: var(--tilvo-white);
  }
  .nav-mega b {
    font-weight: 500;
  }
}
/* computador: painel claro e largo, alinhado à direita do cabeçalho */
@media (min-width: 1101px) {
  .nav {
    position: relative;
  }
  .nav-drop {
    position: static;
  }
  .nav-drop-painel.nav-mega {
    top: calc(100% - 2px);
    right: 0;
    left: auto;
    width: min(900px, 100%);
    padding: 22px 22px 16px;
    border: 1px solid var(--tilvo-gray-200);
    border-radius: 16px;
    background: var(--tilvo-white);
    box-shadow: 0 30px 60px -24px rgba(19,38,38,.45);
    transform: none;
  }
  .nav-drop:hover .nav-drop-painel.nav-mega,
  .nav-drop.is-open .nav-drop-painel.nav-mega {
    display: grid;
    grid-template-columns: minmax(0,2fr) minmax(0,1fr);
    column-gap: 28px;
  }
  .nav-drop-painel.nav-mega:before {
    top: -22px;
    height: 22px;
  }
  .nav-mega-tit {
    margin: 0 10px 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--tilvo-gray-200);
    color: var(--tilvo-gray-500);
  }
  .nav-links .nav-mega li a {
    color: var(--tilvo-gray-900);
  }
  .nav-links .nav-mega li a:hover,
  .nav-links .nav-mega li a[aria-current="page"] {
    background: var(--tilvo-gray-50);
    color: var(--tilvo-gray-900);
  }
  .nav-links .nav-mega li a:hover b {
    color: var(--tilvo-primary-dark);
  }
  .nav-mega small {
    color: var(--tilvo-gray-500);
  }
}

/* ==== Home: "Feito para o seu segmento" com um cartão por ramo (dono, 27/10/2026: no lugar das abas com print). Ramo
   com página publicada: o cartão inteiro leva a ela. Marcação: tools/segmentos/gerar.mjs (vitrineDeRamos). ==== */
.ramos-secao .section-heading {
  display: block;
}
.ramos-secao .section-intro {
  max-width: 560px;
  margin-top: 14px;
}
.ramos-grupos {
  display: grid;
  gap: 34px;
}
.ramos-tit {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--tilvo-gray-500);
}
.ramos {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ramo {
  display: flex;
  scroll-margin-top: 110px;
}
.ramo-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 18px 18px 16px;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 16px;
  background: var(--tilvo-white);
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.ramo-cab {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ramo-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--tilvo-primary-lighter);
  color: var(--tilvo-primary-darker);
}
.ramo-ico .icon {
  width: 19px;
  height: 19px;
}
.ramo-nome {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--tilvo-gray-900);
}
.ramo-frase {
  margin: 10px 0 10px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--tilvo-gray-700, #374151);
}
.ramo-rec {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.ramo-rec li {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--tilvo-gray-600);
}
.ramo-rec .icon {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--tilvo-primary);
}
.ramo-ir {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--tilvo-primary-dark);
}
.ramo-ir .icon {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}
.ramo:not(.ramo-pagina) .ramo-ir {
  color: var(--tilvo-gray-600);
  font-weight: 600;
}
.ramo:not(.ramo-pagina) .ramo-ir:hover {
  color: var(--tilvo-primary-dark);
}
/* ramo com página: o cartão é o link */
.ramo-pagina .ramo-card {
  border-color: #ACEEE2;
}
.ramo-pagina .ramo-card:hover {
  border-color: var(--tilvo-primary);
  box-shadow: 0 18px 34px -26px rgba(12,112,111,.55);
  transform: translateY(-2px);
}
.ramo-pagina .ramo-card:hover .ramo-ir .icon {
  transform: translateX(3px);
}
/* vindo do menu (/#ramo-...): o cartão do ramo pisca em verde */
.ramo:target .ramo-card {
  border-color: var(--tilvo-primary);
  box-shadow: 0 0 0 4px rgba(27,174,166,.18);
}
/* celular: cartões compactos (ícone, nome e frase); os recursos ficam para a página do ramo */
@media (max-width: 600px) {
  .ramos {
    gap: 10px;
  }
  .ramo-card {
    padding: 14px 14px 12px;
  }
  .ramo-rec {
    display: none;
  }
  .ramo-frase {
    margin: 6px 0 8px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ramo-pagina .ramo-card:hover {
    transform: none;
  }
}
/* celular: duas colunas, só ícone, nome e o link (a frase e os recursos ficam para a página do ramo) */
@media (max-width: 600px) {
  .ramos {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }
  .ramo-card {
    padding: 12px;
    border-radius: 12px;
  }
  .ramo-cab {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .ramo-ico {
    width: 32px;
    height: 32px;
  }
  .ramo-nome {
    font-size: 14.5px;
    line-height: 1.25;
  }
  .ramo-frase {
    display: none;
  }
  .ramo-ir {
    margin-top: 10px;
    font-size: 12.5px;
  }
  .ramos-grupos {
    gap: 24px;
  }
}
/* celular (seções escuras): cartões escuros, como os do resto do site no celular */
@media (max-width: 600px) {
  .ramos-secao .section-intro {
    color: #CBD5E1;
  }
  .ramos-tit {
    color: #94A3B8;
  }
  .ramo-card {
    border-color: rgba(255,255,255,.08);
    background: #172F2E;
  }
  .ramo-pagina .ramo-card {
    border-color: rgba(118,223,210,.35);
  }
  .ramo-ico {
    background: rgba(27,174,166,.16);
    color: #76DFD2;
  }
  .ramo-nome {
    color: var(--tilvo-white);
  }
  .ramo-ir,
  .ramo-pagina .ramo-ir {
    color: #76DFD2;
  }
  .ramo:not(.ramo-pagina) .ramo-ir {
    color: #94A3B8;
  }
}

/* ==== Home: faixa compacta de ramos (dono, 27/10/2026), no lugar da seção grande. Etiqueta por ramo; com página
   publicada leva a ela (verde), senão ao cartão em /segmentos/. Marcação: gerar.mjs (faixaDeRamos). ==== */
.ramos-faixa {
  padding-top: 56px;
  padding-bottom: 56px;
  background: var(--tilvo-gray-50);
}
.ramos-faixa-cab {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 22px;
}
.ramos-faixa h2 {
  font-size: clamp(26px,2.4vw,34px);
  letter-spacing: -1px;
}
.ramos-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ramo-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 999px;
  background: var(--tilvo-white);
  color: var(--tilvo-gray-700);
  font-size: 15px;
  font-weight: 500;
  transition: border-color .2s ease,color .2s ease,background .2s ease;
}
.ramo-tag .icon {
  width: 18px;
  height: 18px;
  color: var(--tilvo-gray-500);
}
.ramo-tag:hover {
  border-color: var(--tilvo-primary);
  color: var(--tilvo-primary-dark);
}
.ramo-tag:hover .icon,
.ramo-tag-pagina .icon {
  color: var(--tilvo-primary);
}
.ramo-tag-pagina {
  border-color: #ACEEE2;
  color: var(--tilvo-gray-900);
  font-weight: 600;
}
@media (max-width: 600px) {
  .ramos-faixa {
    padding-top: 44px;
    padding-bottom: 44px;
    background: #0E1D1C;
  }
  .ramo-tag {
    min-height: 40px;
    padding: 8px 13px;
    font-size: 14px;
    border-color: rgba(255,255,255,.12);
    background: #172F2E;
    color: #E2E8F0;
  }
  .ramo-tag .icon {
    color: #94A3B8;
  }
  .ramo-tag-pagina {
    border-color: rgba(118,223,210,.4);
    color: var(--tilvo-white);
  }
  .ramo-tag-pagina .icon {
    color: #76DFD2;
  }
}
/* /segmentos/: o topo é só texto (sem aparelhos) */
.ramos-topo .hero-intro {
  max-width: 720px;
  padding-bottom: 24px;
}
@media (max-width: 600px) {
  .ramos-faixa .eyebrow,
  .ramos-faixa h2 em,
  .ramos-faixa .text-link {
    color: #76DFD2;
  }
  .ramos-faixa h2 {
    color: var(--tilvo-white);
  }
  .ramos-tags {
    gap: 8px;
  }
  .ramo-tag {
    min-height: 38px;
    padding: 7px 12px;
    font-size: 13.5px;
  }
  .ramo-tag .icon {
    width: 16px;
    height: 16px;
  }
}
.ramos-topo .sp-trilha {
  justify-content: center;
}
.ramos-topo .hero-intro {
  margin: 0 auto;
  text-align: center;
}
/* /segmentos/: espaço entre o menu e o topo, como nas outras páginas */
.ramos-topo .hero-intro {
  padding-top: 56px;
  padding-bottom: 56px;
}
@media (max-width: 600px) {
  .ramos-topo .hero-intro {
    padding-top: 28px;
    padding-bottom: 40px;
  }
}

/* ==== Home: destaques de ramos com a tela real (dono, 27/10/2026: a faixa só de etiquetas ficou "pobre") ==== */
.ramos-faixa {
  padding-top: 72px;
  padding-bottom: 72px;
}
.ramos-faixa-cab {
  margin-bottom: 28px;
}
.ramos-faixa h2 {
  font-size: clamp(30px,2.8vw,40px);
}
.ramos-dest {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ramo-dest {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 18px;
  background: var(--tilvo-white);
  color: inherit;
  transition: border-color .2s ease,box-shadow .25s ease,transform .25s ease;
}
.ramo-dest:hover {
  border-color: #76DFD2;
  box-shadow: 0 26px 44px -30px rgba(12,112,111,.55);
  transform: translateY(-3px);
}
/* a tela do sistema, mostrada como uma janela */
.ramo-dest-tela {
  display: block;
  margin: 12px 12px 0;
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 10px;
  background: #F1F5F9;
}
.ramo-dest-tela img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  transition: transform .5s ease;
}
.ramo-dest:hover .ramo-dest-tela img {
  transform: scale(1.04);
}
.ramo-dest-txt {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px 18px;
}
.ramo-dest-nome {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--tilvo-gray-900);
}
.ramo-dest-nome .icon {
  width: 19px;
  height: 19px;
  color: var(--tilvo-primary);
}
.ramo-dest-frase {
  margin: 6px 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--tilvo-gray-600);
}
.ramo-dest-ir {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--tilvo-primary-dark);
}
.ramo-dest-ir .icon {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}
.ramo-dest:hover .ramo-dest-ir .icon {
  transform: translateX(3px);
}
.ramos-mais {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 26px;
}
.ramos-mais-tit {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--tilvo-gray-500);
}
.ramos-mais .ramo-tag {
  min-height: 38px;
  padding: 7px 13px;
  font-size: 14px;
}
@media (max-width: 1100px) {
  .ramos-dest {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 600px) {
  .ramos-faixa {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .ramos-dest {
    gap: 10px;
  }
  .ramo-dest {
    border-color: rgba(255,255,255,.1);
    border-radius: 14px;
    background: #172F2E;
  }
  .ramo-dest-tela {
    margin: 8px 8px 0;
    border-color: rgba(255,255,255,.1);
    border-radius: 8px;
  }
  .ramo-dest-txt {
    padding: 10px 12px 12px;
  }
  .ramo-dest-nome {
    font-size: 14.5px;
    color: var(--tilvo-white);
  }
  .ramo-dest-nome .icon {
    display: none;
  }
  .ramo-dest-frase {
    display: none;
  }
  .ramo-dest-ir {
    margin-top: 6px;
    font-size: 12.5px;
    color: #76DFD2;
  }
  .ramos-mais-tit {
    width: 100%;
    color: #94A3B8;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ramo-dest:hover,
  .ramo-dest:hover .ramo-dest-tela img {
    transform: none;
  }
}
/* cinco destaques numa linha no computador */
@media (min-width: 1101px) {
  .ramos-dest {
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 14px;
  }
  .ramo-dest-txt {
    padding: 14px 16px 16px;
  }
  .ramo-dest-nome {
    font-size: 16px;
  }
  .ramo-dest-frase {
    font-size: 13.5px;
  }
}
/* tablet e celular: duas colunas; o quinto ocupa a linha inteira */
@media (max-width: 1100px) {
  .ramos-dest li:nth-child(5) {
    grid-column: 1 / -1;
  }
  .ramos-dest li:nth-child(5) .ramo-dest-tela {
    aspect-ratio: 16/7;
  }
}

/* logo do rodapé do tamanho do logo do cabeçalho (dono, 27/10/2026: estava grande) */
footer .footer-brand .dark-logo {
  width: auto;
  min-width: 0;
  height: 30px;
}

/* ==== Menu ☰ (celular e tablet), pedido do dono em 27/10/2026: "Segmentos" primeiro; ao tocar, os ramos ocupam o
   menu inteiro (com "Voltar"), numa coluna de linhas de 48 px com ícone; "Entrar" e o teste grátis presos embaixo. ==== */
.nav-drop-voltar,
.nav-mega-ico {
  display: none;
}
@media (max-width: 1100px) {
  .nav-links.open {
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-links .nav-drop {
    order: -1;
  }
  .nav-drop-btn .icon {
    transform: rotate(-90deg);
  }
  .nav-drop.is-open .nav-drop-btn .icon,
  .nav-drop:hover .nav-drop-btn .icon {
    transform: rotate(-90deg);
  }
  /* 2º nível: só os ramos (os outros itens e o próprio botão somem) */
  .nav-links:has(.nav-drop.is-open) > :not(.nav-drop):not(.nav-menu-rodape),
  .nav-drop.is-open .nav-drop-btn {
    display: none;
  }
  .nav-drop-painel.nav-mega {
    margin: 0;
    padding: 0 0 8px;
    border-radius: 0;
    background: none;
  }
  .nav-drop-voltar {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 48px;
    margin: 0 0 4px;
    padding: 0;
    border: 0;
    background: none;
    color: #76DFD2;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
  }
  .nav-drop-voltar .icon {
    width: 18px;
    height: 18px;
    transform: rotate(90deg);
  }
  .nav-mega-grupo + .nav-mega-grupo {
    margin-top: 14px;
  }
  .nav-mega-tit {
    margin: 0 0 4px;
  }
  .nav-mega-2 ul {
    columns: 1;
  }
  .nav-links .nav-mega li a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 6px 4px;
    border-radius: 10px;
    font-size: 16px;
  }
  .nav-mega-ico {
    display: grid;
    flex: none;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(27,174,166,.14);
    color: #76DFD2;
  }
  .nav-mega-ico .icon {
    width: 17px;
    height: 17px;
  }
  .nav-links .nav-mega li a[aria-current="page"] {
    background: rgba(27,174,166,.12);
    color: #76DFD2;
  }
  /* rodapé do menu: sempre à vista */
  .nav-menu-rodape {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 8px -24px 0;
    padding: 12px 24px 16px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: #0E1D1C;
  }
  .nav-links .nav-menu-rodape a.nav-entrar {
    flex: none;
    padding: 12px 4px;
    font-size: 16px;
  }
  .nav-links .nav-menu-rodape .btn {
    display: flex;
    flex: 1;
    justify-content: center;
    margin: 0;
    padding: 14px 16px;
    font-size: 15px;
  }
}
@media (max-width: 1100px) {
  /* sem margem embaixo: o rodapé fixo encosta no fim do menu e nada passa por baixo dele */
  .nav-links.open {
    padding-bottom: 0;
  }
}

/* ==== /segmentos/: cartões com a tela real do ramo (dono, 27/10/2026: "não geram desejo de clicar") ==== */
.ramo-tela {
  display: none;
}
.ramos-secao .ramos {
  grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
  gap: 20px;
}
.ramos-secao .ramo-card {
  padding: 12px 12px 18px;
  border-radius: 18px;
}
.ramos-secao .ramo-tela {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
  margin-bottom: 16px;
  border: 1px solid var(--tilvo-gray-200);
  border-radius: 10px;
  background: #F1F5F9;
}
.ramos-secao .ramo-tela img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  transition: transform .5s ease;
}
.ramos-secao .ramo-cab,
.ramos-secao .ramo-frase,
.ramos-secao .ramo-rec {
  margin-left: 6px;
  margin-right: 6px;
}
.ramos-secao .ramo-nome {
  font-size: 18px;
}
/* botão do cartão */
.ramos-secao .ramo-ir {
  justify-content: center;
  margin: auto 6px 0;
  padding: 11px 14px;
  border: 1.5px solid var(--tilvo-primary);
  border-radius: 10px;
  color: var(--tilvo-primary-dark);
  transition: background .2s ease,color .2s ease;
}
.ramos-secao .ramo-pagina .ramo-ir {
  border-color: var(--tilvo-primary);
  background: var(--tilvo-primary);
  color:#0E1726;
}
.ramos-secao .ramo:not(.ramo-pagina) .ramo-ir {
  border-color: var(--tilvo-gray-200);
  color: var(--tilvo-gray-700);
}
.ramos-secao .ramo-card:hover .ramo-tela img {
  transform: scale(1.04);
}
.ramos-secao .ramo-pagina .ramo-card:hover .ramo-ir {
  background: var(--tilvo-primary-dark);
}
.ramos-secao .ramo:not(.ramo-pagina) .ramo-card:hover {
  border-color: #ACEEE2;
  box-shadow: 0 18px 34px -26px rgba(12,112,111,.4);
}
.ramos-secao .ramo:not(.ramo-pagina) .ramo-ir:hover {
  border-color: var(--tilvo-primary);
  color: var(--tilvo-primary-dark);
}
@media (max-width: 600px) {
  .ramos-secao .ramos {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ramos-secao .ramo-card {
    padding: 10px 10px 14px;
  }
  .ramos-secao .ramo-tela {
    aspect-ratio: 16/8;
    margin-bottom: 12px;
    border-color: rgba(255,255,255,.1);
  }
  .ramos-secao .ramo-cab {
    flex-direction: row;
    align-items: center;
  }
  .ramos-secao .ramo-frase {
    display: block;
    color: #CBD5E1;
  }
  .ramos-secao .ramo-ir {
    margin-top: 10px;
    font-size: 14px;
  }
  .ramos-secao .ramo-pagina .ramo-ir {
    color: var(--tilvo-white);
  }
  .ramos-secao .ramo:not(.ramo-pagina) .ramo-ir {
    border-color: rgba(255,255,255,.18);
    color: #E2E8F0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ramos-secao .ramo-card:hover .ramo-tela img {
    transform: none;
  }
}
/* /segmentos/ no celular: duas colunas compactas (tela, nome e botão) */
@media (max-width: 600px) {
  .ramos-secao .ramos {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
  }
  .ramos-secao .ramo-card {
    padding: 8px 8px 10px;
    border-radius: 14px;
  }
  .ramos-secao .ramo-tela {
    aspect-ratio: 16/10;
    margin-bottom: 10px;
    border-radius: 8px;
  }
  .ramos-secao .ramo-cab {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin: 0 4px;
  }
  .ramos-secao .ramo-ico {
    display: none;
  }
  .ramos-secao .ramo-nome {
    font-size: 14.5px;
    line-height: 1.25;
  }
  .ramos-secao .ramo-frase,
  .ramos-secao .ramo-rec {
    display: none;
  }
  .ramos-secao .ramo-ir {
    margin: 10px 4px 0;
    padding: 8px 6px;
    font-size: 12.5px;
  }
}
/* fotos dos ramos: enquadradas pelo centro (as telas do sistema eram pelo canto) */
.ramo-dest-tela img,
.ramos-secao .ramo-tela img {
  object-position: center;
}
.ramo-dest-tela,
.ramos-secao .ramo-tela {
  border: 0;
}

/* home: os 14 ramos estão no HTML; js/ramos.js escolhe 5 destaques e esconde os demais (dono, 27/10/2026) */
.ramos-dest > li[hidden],
.ramos-tags > li[hidden] {
  display: none;
}

/* Menu com "Seja revenda" (30/10/2026): em telas médias de computador os itens ficam mais juntos e
   "Entrar" / "Testar grátis" não quebram em duas linhas. */
.nav-actions a { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1360px) {
  .nav { gap: 20px; }
  .nav-links { gap: 20px; }
  .nav-actions { gap: 14px; }
}

/* Conheça a Lívia (todas as páginas): foto com balões de chat + o que ela faz */
.livia { background: radial-gradient(900px 520px at 20% 40%, rgba(27,174,166,.16), transparent 60%), #0E1D1C; border-bottom: 1px solid rgba(255, 255, 255, .08); color: var(--tilvo-white); }
.livia-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.livia-foto { position: relative; margin: 0; }
.livia-foto img { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(27,174,166,.16)); }
.livia-chat { position: absolute; left: -24px; bottom: 26px; display: flex; flex-direction: column; gap: 10px; max-width: 300px; }
.livia-bal { margin: 0; padding: 12px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .6); }
.livia-bal b { display: block; margin-bottom: 3px; font-size: 12px; color: var(--tilvo-primary-dark); }
.livia-bal-cliente { align-self: flex-end; max-width: 240px; background: var(--tilvo-primary); color:#0E1726; border-bottom-right-radius: 4px; }
.livia-bal-ia { background: var(--tilvo-white); color: var(--tilvo-gray-800); border-bottom-left-radius: 4px; }
.livia-selo { position: absolute; left: 0; top: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(14,29,28,.72); backdrop-filter: blur(6px); font-size: 12.5px; font-weight: 700; color: var(--tilvo-white); }
.livia-pulso { width: 9px; height: 9px; border-radius: 50%; background: #3FC8BC; box-shadow: 0 0 0 0 rgba(63,200,188,.7); animation: livia-pulso 1.8s infinite; }
@keyframes livia-pulso { 70% { box-shadow: 0 0 0 9px rgba(63,200,188,0); } 100% { box-shadow: 0 0 0 0 rgba(63,200,188,0); } }
.livia-texto h2 { color: var(--tilvo-white); }
.livia .livia-texto .livia-intro { margin: 18px 0 26px; max-width: 560px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.livia-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.livia-lista li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.livia-lista b { color: var(--tilvo-white); }
.livia-lista .icon { width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; background: rgba(27,174,166,.18); color: #76DFD2; }
@media (prefers-reduced-motion: reduce) { .livia-pulso { animation: none; } }
@media (max-width: 1100px) {
  .livia-grid { grid-template-columns: 1fr; gap: 40px; }
  .livia-foto img { max-width: 460px; }
  .livia-chat { left: 0; }
}
@media (max-width: 640px) {
  .livia-chat { position: static; max-width: none; margin-top: -40px; padding: 0 12px; }
  .livia-bal-cliente { max-width: 80%; }
}

.livia .eyebrow { color: rgba(255, 255, 255, .92); }

/* ---- "Menos cliques" (v5, dono 31/10/2026): comparativo lado a lado. À esquerda a rotina sem o Tilvo, apagada;
   à direita, em painel escuro, a mesma linha resolvida com o Tilvo. No celular, cada par vira um cartão. ---- */
@media (min-width: 601px) { .pain4 { background: linear-gradient(180deg, var(--tilvo-white) 0%, var(--tilvo-gray-50) 100%); } }
.vs { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); column-gap: 28px; max-width: 1120px; margin: 0 auto; }
.vs::before, .vs::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 0; border-radius: 26px; }
.vs::before { left: 0; width: calc((100% - 28px) * .46); background: var(--tilvo-gray-100, #F3F4F6); border: 1px solid var(--tilvo-gray-200); }
.vs::after { right: 0; width: calc((100% - 28px) * .54); background: radial-gradient(520px 320px at 85% 0%, rgba(27,174,166,.22), transparent 65%), #0E1D1C; box-shadow: 0 40px 80px -40px rgba(14,29,28,.55); }
.vs > * { position: relative; z-index: 1; }
.vs-cab { padding: 30px 34px 18px; }
.vs-rot { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .01em; }
.vs-rot .icon { width: 15px; height: 15px; }
.vs-cab.vs-sem .vs-rot { background: #FEE2E2; color: #B91C1C; }
.vs-cab.vs-com .vs-rot { background: rgba(27,174,166,.18); color: #76DFD2; }
.vs-sub { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.45; }
.vs-cab.vs-sem .vs-sub { color: var(--tilvo-gray-500); }
.vs-cab.vs-com .vs-sub { color: rgba(255, 255, 255, .62); }
.vs-item { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; margin: 0 34px; padding: 15px 0; }
.vs-item p { margin: 0; }
.vs-sem.vs-item { border-top: 1px solid var(--tilvo-gray-200); }
.vs-com.vs-item { border-top: 1px solid rgba(255, 255, 255, .08); }
.vs-item:nth-last-child(-n+2) { padding-bottom: 30px; }
.vs-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; }
.vs-ico .icon { width: 20px; height: 20px; }
.vs-sem .vs-ico { background: var(--tilvo-white); color: var(--tilvo-gray-400, #9CA3AF); border: 1px solid var(--tilvo-gray-200); }
.vs-com .vs-ico { background: rgba(27,174,166,.16); color: #76DFD2; }
.vs-txt { display: block; font-size: 16.5px; line-height: 1.4; }
.vs-sem .vs-txt { color: var(--tilvo-gray-500); }
.vs-com .vs-txt { font-weight: 600; color: var(--tilvo-white); }
.vs-chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13.5px; font-weight: 600; }
.vs-chip .icon { width: 13px; height: 13px; }
.vs-sem .vs-chip { color: #DC2626; }
.vs-com .vs-chip { padding: 4px 11px; border-radius: 999px; background: rgba(27,174,166,.14); color: #ACEEE2; }
.vs-com .vs-link { text-decoration: none; }
.vs-com .vs-link:hover { background: rgba(27,174,166,.26); color: var(--tilvo-white); }
@media (max-width: 900px) {
  .vs { grid-template-columns: 1fr; row-gap: 0; }
  .vs::before, .vs::after { display: none; }
  .vs-cab { display: none; }
  .vs-item { margin: 0; padding: 16px 18px; }
  .vs-sem.vs-item { margin-top: 14px; border: 1px solid var(--tilvo-gray-200); border-bottom: 0; border-radius: 18px 18px 0 0; background: var(--tilvo-gray-100, #F3F4F6); }
  .vs-sem.vs-item:first-of-type { margin-top: 0; }
  .vs-com.vs-item { border-top: 0; border-radius: 0 0 18px 18px; background: #0E1D1C; }
  .vs-item:nth-last-child(-n+2) { padding-bottom: 16px; }
  .vs-sem .vs-txt { font-size: 15px; text-decoration: line-through; text-decoration-color: rgba(220, 38, 38, .45); }
  .vs-sem .vs-chip { display: none; }
  .vs-sem .vs-ico { width: 34px; height: 34px; }
  .vs-sem.vs-item { grid-template-columns: 34px 1fr; align-items: center; }
}
@media (max-width: 600px) {
  .vs-sem.vs-item { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); }
  .vs-sem .vs-ico { background: transparent; border-color: rgba(255, 255, 255, .1); color: #64748B; }
  .vs-sem .vs-txt { color: #94A3B8; }
  .vs-com.vs-item { background: rgba(27,174,166,.1); border: 1px solid rgba(118,223,210,.18); border-top: 0; }
}

/* ---- Mini cadastro antes do WhatsApp (js/cliques.js; dono, 06/11/2026) ----
   Compacta, no tamanho do formulário da Fácil (dono, 07/11/2026); no celular a janela sobe de baixo, como uma folha. */
html.wa-cad-aberta {
  overflow: hidden;
}
.wa-cad {
  width: min(440px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-panel);
  background: var(--tilvo-white);
  color: var(--tilvo-gray-900);
  box-shadow: 0 24px 64px rgba(7,14,14,.28);
  overflow: auto;
  overscroll-behavior: contain;
}
.wa-cad[open] {
  animation: wa-cad-in .25s ease;
}
.wa-cad::backdrop {
  background: rgba(7,14,14,.6);
}
@keyframes wa-cad-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.wa-cad-caixa {
  position: relative;
  padding: 24px 24px 20px;
}
.wa-cad-fechar {
  position: absolute;
  top: 16px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--tilvo-gray-600);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.wa-cad-fechar:hover {
  background: var(--tilvo-gray-100);
  color: var(--tilvo-gray-900);
}
.wa-cad-fechar:focus-visible,
.wa-cad-voltar:focus-visible {
  outline: 3px solid var(--tilvo-primary-light);
  outline-offset: 2px;
}
.wa-cad-icone {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 0 14px;
  border-radius: 16px;
  background: var(--tilvo-primary-lighter);
  color: var(--tilvo-primary-dark);
}
.wa-cad-icone .icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
}
.wa-cad h2 {
  margin: 0 0 18px;
  padding-right: 44px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.01em;
}
.wa-cad h2:focus {
  outline: none;
}
.wa-cad-sub {
  margin: 0 0 22px;
  color: var(--tilvo-gray-600);
  font-size: 17px;
  line-height: 1.5;
}
.wa-cad-campo {
  display: block;
  margin: 0 0 14px;
}
.wa-cad-campo > span {
  display: block;
  margin-bottom: 6px;
  color: var(--tilvo-gray-800);
  font-size: 15px;
  font-weight: 600;
}
.wa-cad-campo em {
  color: var(--tilvo-gray-500);
  font-style: normal;
  font-weight: 400;
}
.wa-cad-campo input,
.wa-cad-campo select {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--tilvo-gray-300);
  border-radius: 12px;
  background: var(--tilvo-white);
  color: var(--tilvo-gray-900);
  font: inherit;
  font-size: 16px;
}
.wa-cad-campo select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%234B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.wa-cad-campo input::placeholder {
  color: var(--tilvo-gray-400);
}
.wa-cad-campo input:focus,
.wa-cad-campo select:focus {
  outline: none;
  border-color: var(--tilvo-primary);
  box-shadow: 0 0 0 4px rgba(73,223,218,.18);
}
.wa-cad-campo [aria-invalid=true] {
  border-color: var(--tilvo-error);
}
.wa-cad-erro {
  display: none;
  margin-top: 6px;
  color: var(--tilvo-error);
  font-size: 14px;
  line-height: 1.4;
}
.wa-cad-erro.is-on {
  display: block;
}
.wa-cad-isca {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.wa-cad-aviso {
  margin: 0 0 12px;
  color: var(--tilvo-error);
  font-size: 15px;
}
.wa-cad-enviar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--tilvo-primary);
  color:#0E1726;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}
.wa-cad-enviar:hover {
  background: var(--tilvo-primary-dark);
  color: var(--tilvo-white);
}
.wa-cad-enviar:focus-visible {
  outline: 3px solid var(--tilvo-primary-light);
  outline-offset: 3px;
}
.wa-cad-enviar .icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}
.wa-cad-enviar.is-carregando {
  opacity: .75;
  cursor: progress;
}
.wa-cad-enviar.is-carregando span:after {
  content: "…";
}
.wa-cad-lgpd {
  margin: 12px 0 0;
  color: var(--tilvo-gray-500);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.wa-cad-lgpd a {
  color: var(--tilvo-gray-700);
  text-decoration: underline;
  white-space: nowrap;
}
.wa-cad-voltar {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  border: 1px solid var(--tilvo-gray-300);
  border-radius: 12px;
  background: var(--tilvo-white);
  color: var(--tilvo-gray-800);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
@media (max-width: 599px) {
  .wa-cad {
    width: 100%;
    max-height: 94dvh;
    margin: auto 0 0;
    border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  }
  .wa-cad-caixa {
    padding: 20px 20px calc(18px + env(safe-area-inset-bottom));
  }
  .wa-cad-fechar {
    top: 14px;
    right: 14px;
  }
  .wa-cad h2 {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa-cad[open] {
    animation: none;
  }
}
.wa-cad-icone:empty {
  display: none;
}
.wa-cad-nb {
  white-space: nowrap;
}
.wa-cad-dupla {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ---- Página de parceiro: selo "Revenda autorizada" ao lado do logo do Tilvo ---- */
.pl-selo{display:inline-flex;align-items:center;gap:10px;margin-left:16px;padding-left:16px;border-left:1px solid rgba(255,255,255,.22);font-size:12px;font-weight:500;line-height:1.2;color:rgba(255,255,255,.75);white-space:nowrap;flex-shrink:0}
.pl-marca{display:flex;align-items:center;flex-shrink:0;min-width:0}
.pl-marca>.brand-link{display:flex;flex-direction:column;align-items:flex-start;gap:3px;flex-shrink:0}
/* tamanho automático (dono, 11/11/2026): o logo cabe numa caixa de altura e largura máximas, então quadrado fica alto e
   comprido fica baixo, sem nunca ficar gigante, seja qual for o arquivo enviado */
.pl-logo-topo{display:block;width:auto;height:auto;max-height:58px;max-width:170px}
.pl-branco{filter:brightness(0) invert(1)}
.pl-tilvo{display:block;height:20px;width:auto}
.pl-logo-rodape{display:block;width:auto;height:auto;max-height:54px;max-width:190px;margin:3px 0 6px}
.pl-rodape-selo{display:flex;align-items:center;gap:8px}
.pl-rodape-selo .pl-tilvo{height:16px}
.pl-inicial{width:26px;height:26px;border-radius:7px;background:var(--tilvo-primary);color:#0E1726;display:inline-grid;place-items:center;font-weight:900;font-size:14px;flex:none}
.pl-nome{font-weight:700;font-size:15px;color:#fff;max-width:220px;overflow:hidden;text-overflow:ellipsis}
@media (max-width:600px){.pl-selo{margin-left:10px;padding-left:10px;gap:7px;font-size:10.5px}.pl-logo-topo{max-height:44px;max-width:118px}.pl-tilvo{height:15px}.pl-nome{display:none}}
