/* =============================================================
   TK RASTREADORES
   1. Tokens
   2. Base / tipografia
   3. Navbar
   4. Hero
   5. Índice de soluções
   6. Prova social
   7. Números
   8. Sistema das seções internas (.tk-*)
   9. Soluções — tabs e painéis
   (mockups de produto ficam no bloco seguinte, propositalmente escuros)
   ============================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Marca */
  --red: #eb0102;
  --red-dark: #b40001;
  --red-ink: #b80102; /* vermelho legível para texto pequeno sobre claro */

  /* Neutros — escala quente, evita o cinza-azulado padrão */
  --ink: #17181a;
  --ink-2: #4a4c50;
  --ink-3: #7a7c81;
  --paper: #ffffff;
  --paper-2: #faf9f7;
  --paper-3: #f2f0ec;
  --line: #e4e1db;
  --line-strong: #d2cfc7;

  /* Tipografia */
  --font-sans: "Inter", "Poppins", system-ui, -apple-system, sans-serif;
  --font-display: "Poppins", "Inter", system-ui, -apple-system, sans-serif;

  /* Ritmo vertical */
  --section-y: 96px;
  --gutter: 40px;

  /* Raio — escala curta e contida */
  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 10px;

  /* Compatibilidade com nomes antigos usados nos mockups */
  --primary-color: #eb0102;
  --secondary-color: #1e1e1e;
  --tk-red: #eb0102;
  --tk-red-dark: #b40001;
  --tk-red-soft: #ff3a3b;
  --tk-black: #0d0e11;
  --tk-black-2: #14161a;
  --tk-black-3: #1b1e23;
  --tk-border: rgba(255, 255, 255, 0.08);
  --tk-text: #e6e8ec;
  --tk-text-muted: #9aa0ab;
  --tk-glass: rgba(255, 255, 255, 0.04);
  --tk-glass-2: rgba(255, 255, 255, 0.06);
}

/* ---------- 2. Base ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* O reboot do Bootstrap dá padding-left: 2rem em ul/ol e vence o `*`
   por especificidade — isso desalinhava as listas com o resto da grade. */
ul,
ol,
dl {
  padding-left: 0;
  margin-bottom: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* evita scroll horizontal com a navbar fixed */
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.021em;
  color: var(--ink);
  text-wrap: balance;
}

/* Ênfase de marca: só onde importa, e sempre sólida */
em,
.accent {
  font-style: normal;
  color: var(--red);
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

a {
  color: inherit;
}

img,
video {
  max-width: 100%;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.container {
  max-width: 1200px;
  padding-left: 24px;
  padding-right: 24px;
}

/* Régua fina que separa seções claras sem trocar o fundo toda hora */
.rule-top {
  border-top: 1px solid var(--line);
}

/* Kicker textual — usado em 2 lugares no site inteiro, não em todos */
.kicker {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  margin-bottom: 14px;
}

/* ---------- 3. Navbar ---------- */
/* header > .navbar (em vez de só .navbar) para ter especificidade maior
   que a regra .navbar do Bootstrap e garantir que o position:fixed
   não seja sobrescrito. O !important no position é a rede de segurança
   final caso o CSS do CDN tenha alguma regra de mesmo peso.
   Como fixed tira o elemento do fluxo, o JS aplica padding-top no body
   igual à altura da navbar para que o conteúdo não fique escondido. */
header > .navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  padding: 0;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

/* Estado rolado: sombra e fundo mais opaco para o header se destacar
   quando o usuário rola a página. Aplicado via JS (classe .is-scrolled). */
.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: transparent;
  box-shadow: 0 6px 24px rgba(23, 24, 26, 0.08);
}

.navbar .navbar-brand img {
  max-width: 128px;
  height: auto;
  padding: 14px 0;
}

.navbar .nav-link {
  color: var(--ink-2);
  font-weight: 500;
  padding: 26px 14px !important;
  position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--ink);
}

.navbar .nav-link.active {
  color: var(--ink);
  font-weight: 600;
}

.cliente-dropdown {
  margin-left: 1rem;
}

.cliente-dropdown .btn-client {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.cliente-dropdown .btn-client:hover,
.cliente-dropdown .btn-client:focus,
.cliente-dropdown .btn-client.show {
  background: var(--red);
  color: #fff;
}

.cliente-menu,
.solucoes-menu {
  min-width: 210px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 6px;
  box-shadow: 0 16px 40px rgba(23, 24, 26, 0.1);
  margin-top: 0 !important;
}

.cliente-menu .dropdown-item,
.solucoes-menu .dropdown-item {
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
}

.cliente-menu .dropdown-item:hover,
.cliente-menu .dropdown-item:focus,
.solucoes-menu .dropdown-item:hover,
.solucoes-menu .dropdown-item:focus {
  background: var(--paper-3);
  color: var(--ink);
}
/* ----------------------------------------------------------------
   4-7. Hero, cards de soluções, empresas parceiras e números
   Revertido para o design original (pré-modernização), a pedido do
   cliente. Usa Poppins como fonte de destaque, grid do Bootstrap no
   hero, cunha diagonal vermelha e balões flutuantes com glow.
   ---------------------------------------------------------------- */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 60px 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  right: -12%;
  top: 0;
  width: 73%;
  height: 100%;
  background: linear-gradient(135deg, #ff0303 0%, #eb0102 100%);
  clip-path: polygon(84% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.hero-section::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -14%;
  width: 64%;
  height: 60%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(18px);
  border-radius: 50%;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--secondary-color);
  margin-bottom: 18px;
}

.hero-section p {
  font-size: 18px;
  color: var(--secondary-color);
  line-height: 1.6;
  margin-top: 20px;
}

.hero-section .text-highlight {
  color: var(--primary-color);
  font-weight: 700;
}

.hero-section .btn-solucoes {
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: #fff;
  border: 3px solid var(--primary-color);
  border-radius: 12px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
}

.hero-section .btn-solucoes:hover {
  background-color: #c80000;
}

.hero-section .btn-outline-solucoes {
  justify-content: center;
  padding: 10px 20px;
  background: linear-gradient(90deg, #fff0f0 0%, #ffb2b2 100%);
  color: var(--primary-color);
  border: 3px solid var(--primary-color);
  border-radius: 12px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
}

.hero-section .btn-outline-solucoes:hover {
  background: linear-gradient(90deg, #ffb2b2 0%, #fff0f0 100%);
}

.hero-section .img-fluid {
  max-width: 130%;
  height: auto;
}

/* ============================================
   HERO — IMAGEM QUE SEGUE O CURSOR (PARALLAX)
   ============================================ */
.hero-visual {
  position: relative;
  perspective: 1500px;
  perspective-origin: 50% 50%;
}

.hero-img-wrap {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.05, 0.5, 0, 1);
  will-change: transform;
  animation: hero-float 6s ease-in-out infinite;
}

.hero-img {
  position: relative;
  transform: translateZ(0);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.25));
  transition: transform 0.4s ease;
  will-change: transform;
  max-width: 130% !important;
  height: auto;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
  50% { transform: translateY(-12px) rotateX(0) rotateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img-wrap {
    animation: none;
    transition: none;
  }
}

/* ============================================
   HERO — CALLOUT "14 ANOS" + BALÕES DE ESTATÍSTICAS
   ============================================ */
.hero-text .tk-btn-ghost {
  color: var(--secondary-color);
  border: 1px solid rgba(30, 30, 30, 0.18);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

.hero-text .tk-btn-ghost:hover {
  background: rgba(30, 30, 30, 0.05);
  border-color: rgba(235, 1, 2, 0.45);
  color: var(--secondary-color);
}

.tk-hero-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(235, 1, 2, 0.06) 0%, rgba(235, 1, 2, 0.02) 100%);
  border: 1px solid rgba(235, 1, 2, 0.18);
  border-left: 3px solid var(--tk-red);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--secondary-color);
  font-weight: 500;
}

.hero-balloon {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 12px;
  background: linear-gradient(135deg, #15171c 0%, #0a0c10 100%);
  border: 1px solid rgba(235, 1, 2, 0.45);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(235, 1, 2, 0.15),
    0 12px 30px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(235, 1, 2, 0.18);
  color: #fff;
  white-space: nowrap;
  animation: hero-balloon-float 5s ease-in-out infinite;
  backdrop-filter: blur(4px);
}

.hero-balloon::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 90, 90, 0.55) 0%, rgba(235, 1, 2, 0.1) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.hero-balloon--tl {
  top: 4%;
  left: -2%;
  animation-delay: 0s;
}

.hero-balloon--tr {
  top: 8%;
  right: -4%;
  animation-delay: 0.8s;
}

.hero-balloon--bl {
  bottom: 6%;
  left: -4%;
  animation-delay: 1.6s;
}

.hero-balloon--br {
  bottom: 2%;
  right: -2%;
  animation-delay: 2.4s;
}

.hero-balloon-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2a2b 0%, #c80000 100%);
  color: #fff;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.06),
    0 6px 14px rgba(235, 1, 2, 0.4);
}

.hero-balloon-content {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.hero-balloon-number {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #ffffff 0%, #ffd0d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-balloon-label {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

@keyframes hero-balloon-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(0.5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-balloon {
    animation: none;
  }
  .tk-hero-callout-dot {
    animation: none;
  }
}

/* Responsivo — empilha e ajusta balões */
@media (max-width: 1199.98px) {
  .hero-balloon--tl { left: 0%; }
  .hero-balloon--tr { right: 0%; }
  .hero-balloon--bl { left: 0%; }
  .hero-balloon--br { right: 0%; }
  .hero-balloon-label {
    font-size: 10px;
  }
  .hero-balloon-number {
    font-size: 20px;
  }
  .tk-section h2{
    margin-top:35px;
  }
}

@media (max-width: 991.98px) {
  .hero-balloon {
    padding: 8px 14px 8px 10px;
    gap: 10px;
  }
  .hero-balloon-icon {
    width: 36px;
    height: 36px;
  }
  .hero-balloon-icon svg {
    width: 18px;
    height: 18px;
  }
  .hero-balloon-number {
    font-size: 18px;
  }
  .hero-balloon-label {
    font-size: 10px;
  }
}

@media (max-width: 767.98px) {
  .hero-text {
    text-align: center;
  }
  .tk-hero-callout {
    text-align: left;
  }
  /* Triângulo vira um retângulo vertical (faixa) atrás da imagem no mobile.
     Sem clip-path, ocupa toda a largura da área da imagem, com leve
     fade no topo para não brigar com o texto. */
  .hero-section::before {
    display: block;
    clip-path: none;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 46%;
    background: linear-gradient(
      180deg,
      rgba(235, 1, 2, 0) 0%,
      rgba(235, 1, 2, 0.28) 30%,
      rgba(235, 1, 2, 0.85) 100%
    );
  }
  .tk-btn-primary, .tk-btn-ghost {
    width: 100%;
    justify-content:center;
  }
  .hero-img{
    max-width: 110% !important;
  }
  .tk-section-detalhe--tl{
    left: -28px !important;
  }
  .tk-section-detalhe--tr{
    right: -25px !important;
  }
  /* Detalhe decorativo atrás da imagem do hero no mobile. */
  .hero-section::after {
    right: -15%;
    bottom: 6%;
    width: 55%;
    height: 30%;
    filter: blur(18px);
    opacity: 0.55;
  }
  /* Balões: alguns somem, os que ficam ficam menores e mais afastados
     das bordas para não cobrir o mockup. */
  .hero-balloon--tl,
  .hero-balloon--tr {
    display: none;
  }
  .hero-balloon--bl,
  .hero-balloon--br {
    transform: scale(0.78);
    transform-origin: bottom;
  }
  .hero-balloon--bl {
    left: 0%;
    bottom: -20%;
  }
  .hero-balloon--br {
    right: 40%;
    bottom: 5%;
  }
  /* Callout herda o texto à esquerda; balões seguem flutuando. */
  .hero-balloon {
    animation-duration: 4s;
  }
}

.cards-section {
  background-color: #f5f5f5;
  padding: 60px 0;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.cards-section h1 {
  font-size: 45px;
  font-weight: 700;
  color: var(--secondary-color);
  font-family: var(--font-display);
}

.cards-section p {
  font-size: 18px;
  color: var(--secondary-color);
  margin-top: 20px;
}

.cards-section .text-highlight {
  color: var(--primary-color);
  font-weight: 700;
}

.cards-section .card {
  position: relative;
  border: 2px solid #7e7e7e;
  border-radius: 25px;
  min-height: 253px;
  height: 100%;
  background: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cards-section .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--primary-color) 0%, #c80000 100%);
  transition: height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cards-section .card .card-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #b0b0b0;
  letter-spacing: 0.1em;
  z-index: 1;
  transition: color 0.3s ease;
}

.cards-section .card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
}

.cards-section .card .card-body h5 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-display);
}

.cards-section .card .card-body p {
  font-size: 16px;
  color: var(--secondary-color);
  margin: 0;
}

.cards-section .card .card-body .btn-solucoes {
  display: flex;
  justify-content: flex-end;
  align-self: flex-end;
  margin-top: auto;
}

.cards-section .card .card-body .btn-solucoes img {
  width: 30px;
  height: 30px;
}

.cards-section .card .card-body .btn-solucoes:hover {
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.cards-section .card .card-body .icone-card {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.cards-section .card .card-body .icone-card:hover {
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.cards-section .card:hover {
  box-shadow: 0 12px 28px rgba(235, 1, 2, 0.15);
  transform: translateY(-5px);
  border-color: rgba(235, 1, 2, 0.3);
  transition: all 0.3s ease;
}

.cards-section .card:hover::before {
  height: 100%;
}

.cards-section .card:hover .card-num {
  color: var(--primary-color);
}

.empresas-parceiras {
  padding: 60px 0;
  background: #f8f8f8;
}

.empresas-parceiras h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0;
  font-family: var(--font-display);
}

.empresas-parceiras .review-layout {
  gap: 40px;
  align-items: center;
}

.empresas-parceiras .text-highlight {
  color: var(--primary-color);
  font-weight: 700;
}

.empresas-parceiras .circles {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.empresas-parceiras .circles img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  margin-left: -20px;
  transition: all 0.3s ease;
  background-color: #fff;
}

.empresas-parceiras .circles img:first-child {
  margin-left: 0;
}

.empresas-parceiras .circles img:hover {
  transform: translateY(-3px);
  border: 3px solid #ffcc00;
}

/*
 * Avatares preenchidos com fotos reais de clientes (enviadas pelo admin no
 * cadastro de depoimentos). O estilo base do .circles img ja aplica
 * border-radius circular e object-fit cover, entao aqui so reforcamos
 * contraste da borda e suavizamos o background para fotos com fundo
 * transparente.
 */
.empresas-parceiras .circles--clients .circles-photo {
  border-color: #f8f8f8;
  background-color: #f1f1f1;
}

.empresas-parceiras .review-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.empresas-parceiras .stars {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.empresas-parceiras .stars img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
}

.empresas-parceiras .stars img.is-empty {
  filter: grayscale(1) brightness(1.6);
  opacity: 0.55;
}

.empresas-parceiras .stars span {
  margin-left: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary-color);
}

.empresas-parceiras p {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--secondary-color);
  margin: 0;
}

/* ----------------------------------------------------------------
   4-7b. Clientes (carrossel de depoimentos)
   ---------------------------------------------------------------- */
.clientes-section {
  position: relative;
  padding: 70px 0 90px;
  background: #ffffff;
  /*
   * overflow: hidden aqui evita que o stage do Owl (que e muito mais
   * largo que a viewport por causa dos clones de loop) force um scroll
   * horizontal na pagina inteira - o que antes puxava o header fixo e
   * outras secoes (contato, dados) para fora da largura visivel,
   * fazendo a logo do header se mover junto com o carrossel.
   */
  overflow: hidden;
}

.clientes-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 38px;
}

.clientes-section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1e1e1e;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  font-family: var(--font-display, 'Poppins', system-ui, sans-serif);
}

.clientes-section-header h2 .text-highlight {
  color: var(--primary-color, #eb0102);
  font-weight: 700;
}

.clientes-section-subtitle {
  margin: 0;
  font-size: 17px;
  color: #4b4b4b;
}

.clientes-section-subtitle strong {
  color: var(--primary-color, #eb0102);
  font-weight: 800;
  font-size: 19px;
}

.clientes-carousel {
  max-width: 100%;
  width: 100%;
  /*
   * Por padrao o Owl 2 poe overflow:hidden no .owl-stage-outer. No
   * desktop mantemos visible aqui para as setas e sombras laterais
   * poderem sair do stage; no mobile (definido na media query 767px)
   * voltamos para hidden para o stage largo nao gerar scroll
   * horizontal na pagina.
   */
  overflow: visible;
}

.clientes-carousel .owl-stage-outer {
  /*
   * overflow:hidden no stage-outer impede que o .owl-stage (largo,
   * pois contem N clones para o loop) force a pagina a ficar mais
   * larga que a viewport. As setas de navegacao ficam em
   * .owl-carousel, nao em .owl-stage-outer, entao nao sao cortadas.
   */
  overflow: hidden;
  padding: 4px 4px 12px;
}

.clientes-carousel .owl-stage {
  /*
   * O Owl usa translate3d no .owl-stage para deslizar; sem align-items
   * flex-start os cards podem esticar e a sombra inferior ficar
   * parcialmente fora do stage.
   */
  display: flex;
  align-items: stretch;
}

.clientes-carousel .owl-item {
  display: flex;
  /*
   * Espaco lateral entre cards alem do margin do Owl: evita que a borda
   * arredondada e a sombra colidam com o vizinho quando o gap do Owl e
   * zerado em transicoes.
   */
}

.cliente-card {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid rgba(30, 30, 30, 0.08);
  border-radius: 18px;
  padding: 24px 24px 22px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  /*
   * margin interno no card (via gap no .owl-item com padding generoso)
   * garante que borda e box-shadow nao encostem na borda do stage.
   * Usamos width: 100% + box-sizing para ocupar toda a largura do
   * .owl-item sem estourar.
   */
  width: 100%;
  box-sizing: border-box;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  /* Garante que a borda arredondada respeite o overflow:visible pai */
  overflow: hidden;
}

.cliente-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.cliente-card-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.cliente-card-photo,
.cliente-card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f1f1f1;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

/*
 * Foto real (enviada pelo admin em Depoimentos): precisa ser bloco para o
 * object-fit:cover croppar corretamente. O aspect-ratio 1/1 garante que
 * fotos nao quadraticas sejam limitadas pelo menor lado ate que o crop
 * server-side (depoimento -> quadrado) entre em vigor para os novos
 * uploads.
 */
.cliente-card-photo {
  display: block;
  object-fit: cover;
  object-position: center;
}

/*
 * Avatar com letra inicial (fallback quando o depoimento nao tem foto):
 * usa grid para centralizar o caractere.
 */
.cliente-card-avatar {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--primary-color, #eb0102);
  font-size: 22px;
}

.cliente-card-id {
  min-width: 0;
}

.cliente-card-id strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #1e1e1e;
  line-height: 1.2;
  /*
   * Permitimos wrap para nao cortar nomes/textos cadastrados como uma
   * unica string longa (sem espacos). word-break garante que mesmo
   * uma palavra gigante quebra em vez de estourar a coluna.
   */
  word-break: break-word;
  overflow-wrap: anywhere;
}

.cliente-card-id small {
  display: block;
  font-size: 12px;
  color: #777;
  margin-top: 2px;
}

.cliente-card-stars {
  display: inline-flex;
  gap: 2px;
}

.cliente-card-stars img {
  width: 16px;
  height: 16px;
  filter: drop-shadow(0 1px 2px rgba(255, 193, 7, 0.3));
}

.cliente-card-stars img.is-empty {
  filter: grayscale(1) brightness(1.6);
  opacity: 0.55;
}

.cliente-card-comment {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: #333;
  font-style: italic;
  position: relative;
  padding-left: 16px;
  /*
   * Quando o comentario e cadastrado como uma unica string sem espacos
   * (ex.: "testeeee..."), sem o overflow-wrap/word-break a palavra
   * "empurra" o card para fora do container. Aqui forçamos a quebra
   * dentro do card para o texto ficar sempre visivel, sem corte.
   */
  word-break: break-word;
  overflow-wrap: anywhere;
}

.cliente-card-comment::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -6px;
  font-size: 32px;
  color: var(--primary-color, #eb0102);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1;
}

/*
 * Wrapper do avatar/foto no header do card. Posicao relativa para
 * acomodar o badge de play em cima da foto quando o depoimento tem
 * video cadastrado.
 */
.cliente-card-identity {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

/*
 * Card com video cadastrado: vira um disparador do modal. Cursor de
 * maozinha + leve reforco no hover para sinalizar interatividade.
 * O outline de foco segue o padrao do navegador para usuarios de teclado.
 */
.cliente-card--has-video {
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cliente-card--has-video:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.10);
}

.cliente-card--has-video:focus-visible {
  outline: 3px solid var(--primary-color, #eb0102);
  outline-offset: 3px;
}

/*
 * Selo de "play" sobreposto na foto/avatar: mostra que ha video
 * disponivel. Bola vermelha com triangulo branco, com sombra leve.
 */
.cliente-card-play {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-color, #eb0102);
  color: #fff;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.cliente-card-play svg {
  margin-left: 1px;
}

/*
 * Tag "Assistir video" no rodape do card. Reforco textual da pista
 * visual do badge. Sempre no canto inferior direito.
 */
.cliente-card-watch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  align-self: flex-end;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(235, 1, 2, 0.08);
  color: var(--primary-color, #eb0102);
  font-size: 12.5px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.01em;
}

.cliente-card-watch svg {
  flex-shrink: 0;
}
.owl-carousel .owl-stage{
  min-height: 0;
  display: flex;
  justify-content: center;
}

/* Setas e bolinhas do Owl nesta secao (nao herdam das regras do carrossel
   de logos, que eh linear e sem controles). As setas ficam DENTRO do
   container para nao serem comidas pelo overflow:hidden do
   .owl-stage-outer (que foi liberado, mas mantemos a seta dentro para
   evitar que escape do layout quando nao ha overflow visivel). */
.clientes-carousel .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--primary-color, #eb0102) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  font-size: 22px !important;
  line-height: 1 !important;
}

.clientes-carousel .owl-nav button.owl-prev {
  left: 4px;
}

.clientes-carousel .owl-nav button.owl-next {
  right: 4px;
}

.clientes-carousel .owl-dots {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.clientes-carousel .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  background: #d8d8d8;
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.2s ease;
}

.clientes-carousel .owl-dots .owl-dot.active span {
  background: var(--primary-color, #eb0102);
  transform: scale(1.15);
}

@media (max-width: 1199.98px) {
  .clientes-section-header h2 {
    font-size: 30px;
  }
  .clientes-carousel .owl-nav button.owl-prev {
    left: -2px;
  }
  .clientes-carousel .owl-nav button.owl-next {
    right: -2px;
  }
}

@media (max-width: 991.98px) {
  .clientes-section {
    padding: 60px 0 80px;
  }
  .clientes-section-header {
    margin-bottom: 32px;
  }
  .clientes-section-header h2 {
    font-size: 28px;
  }
  .cliente-card {
    min-height: 200px;
    padding: 22px 22px 20px;
  }
  .cliente-card-comment {
    font-size: 15px;
  }
}

@media (max-width: 767.98px) {
  .clientes-section {
    padding: 50px 0 70px;
  }
  .clientes-section-header {
    margin-bottom: 28px;
    padding: 0 4px;
  }
  .clientes-section-header h2 {
    font-size: 25px;
    line-height: 1.25;
  }
  .clientes-section-subtitle {
    font-size: 15px;
  }
  .clientes-section-subtitle strong {
    font-size: 17px;
  }
  .clientes-carousel .owl-stage-outer {
    /*
    * Padding lateral generoso no mobile para os cards nao encostarem na
    * borda da viewport (com overflow:visible habilitado, a borda
    * arredondada do card fica exposta e precisa de respiro).
    */
    padding: 4px 18px 14px;
  }
  .cliente-card {
    min-height: 0;
    padding: 22px 20px 20px;
    gap: 14px;
  }
  .cliente-card-photo,
  .cliente-card-avatar {
    width: 46px;
    height: 46px;
    font-size: 19px;
  }
  .cliente-card-id strong {
    font-size: 16px;
  }
  .cliente-card-stars img {
    width: 14px;
    height: 14px;
  }
  .cliente-card-comment {
    font-size: 14.5px;
    line-height: 1.5;
  }
  .clientes-carousel .owl-nav button {
    width: 36px;
    height: 36px;
    font-size: 19px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }
  .clientes-carousel .owl-nav button.owl-prev {
    left: 2px;
  }
  .clientes-carousel .owl-nav button.owl-next {
    right: 2px;
  }
  .clientes-carousel .owl-dots {
    margin-top: 18px;
  }
}

@media (max-width: 575.98px) {
  .clientes-section {
    padding: 42px 0 56px;
  }
  .clientes-section-header h2 {
    font-size: 22px;
  }
  .clientes-section-header h2 br {
    display: none;
  }
  .clientes-section-subtitle {
    font-size: 14px;
    line-height: 1.5;
  }
  .clientes-section-subtitle strong {
    font-size: 16px;
  }
  .cliente-card {
    padding: 20px 18px;
  }
  .cliente-card-header {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 6px;
  }
  .cliente-card-stars {
    grid-column: 1 / -1;
  }
}

/* Owl Carousel 2 — Empresas Parceiras */
.empresas-parceiras .empresas-carousel {
  max-width: 100%;
  width: 100%;
}

.empresas-parceiras .empresas-carousel .owl-stage {
  display: flex;
  align-items: center;
}

.empresas-parceiras .empresas-carousel .owl-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.empresas-parceiras .empresas-carousel .item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.empresas-parceiras .empresas-carousel .item img {
  width: 100%;
  max-width: 110px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.58;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.empresas-parceiras .empresas-carousel .item img:hover {
  transform: translateY(-4px);
  filter: grayscale(0);
  opacity: 1;
}

.dados-section {
  position: relative;
  padding: 80px 0 90px;
  background: #f8f8f8;
  overflow: hidden;
}

.dados-title {
  margin: 0 0 42px;
  font-size: 35px;
  line-height: 1.08;
  font-weight: 700;
  color: #1e1e1e;
  max-width: 620px;
  letter-spacing: -0.05em;
  font-family: var(--font-display);
}

.dados-title .text-highlight {
  color: var(--primary-color);
}

.dados-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  min-height: 260px;
}

.dados-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 26px 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid rgba(30, 30, 30, 0.06);
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}

.dados-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color) 0%, rgba(235, 1, 2, 0) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.dados-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(235, 1, 2, 0.1);
  border-color: rgba(235, 1, 2, 0.2);
}

.dados-card:hover::before {
  opacity: 1;
}

.dados-number {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--primary-color);
  font-family: var(--font-display);
}

.stat-value {
  display: inline-block;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: left;
  color: inherit;
  font-family: var(--font-display);
}

.dados-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #1e1e1e;
  text-align: left;
  font-weight: 500;
  max-width: 320px;
  margin-top: 24px;
}

.dados-card:nth-child(3) p,
.dados-card:nth-child(4) p {
  margin-top: auto;

}

@media (max-width: 1199.98px) {
  .dados-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .empresas-parceiras {
    padding: 50px 0;
  }

  .empresas-parceiras h2 {
    font-size: 28px;
    text-align: center;
  }

  .empresas-parceiras .review-layout {
    gap: 20px;
  }

  .empresas-parceiras .circles {
    justify-content: center;
    margin-bottom: 10px;
  }

  .empresas-parceiras .circles img {
    width: 54px;
    height: 54px;
    margin-left: -16px;
  }

  .empresas-parceiras .review-content {
    align-items: center;
    text-align: center;
  }

  .empresas-parceiras .empresas-carousel {
    max-width: 100%;
    margin: 0 auto;
  }

  .empresas-parceiras p {
    font-size: 16px;
  }

  .dados-section {
    padding: 64px 0 72px;
  }

  .dados-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .dados-card {
    min-height: 200px;
    padding: 24px 20px 20px;
  }

  .dados-number {
    min-height: 56px;
  }

  .stat-value {
    font-size: 32px;
  }
}

@media (max-width: 575.98px) {
  /*
   * Em telas muito pequenas (ate 575px) o grid de 2 colunas fica
   * apertado demais - as estatisticas renderizam o numero grande
   * ("+3.000") e o texto nao cabe em paralelo sem truncar. Empilha
   * em 1 coluna para respiro visual.
   */
  .dados-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dados-card {
    min-height: 0;
    padding: 22px 20px;
  }

  .dados-title {
    font-size: 28px;
    margin-bottom: 28px;
  }

  .stat-value {
    font-size: 36px;
  }

  /* Avatares da secao "Empresas que confiam": 5 fotos de 54px com
     overlap ficam ~166px de largura - ainda assim confortavel em
     320px de viewport. Garantimos flex-wrap: nowrap e tamanho
     fixo para nao quebrar a disposicao circular. */
  .empresas-parceiras .circles {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 4px 0 8px;
    scrollbar-width: none;
  }
  .empresas-parceiras .circles::-webkit-scrollbar {
    display: none;
  }
  .empresas-parceiras .circles img {
    flex: 0 0 54px;
  }
}

/* ---------- 8. Sistema das seções internas ---------- */
.tk-section {
  color: var(--ink);
  position: relative;
  padding: var(--section-y) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow: clip; /* mantém o detalhe decorativo sempre dentro da section */
}

.tk-section h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 16px;
}

/* Detalhe decorativo do wifi ancorado na extremidade lateral da section
   (esquerda ou direita). O ícone fica com o foco encostado exatamente
   em x=0 (ou x=100%) e os arcos irradiando para dentro do conteúdo.
   Mantém o aspecto proporcional em qualquer largura de tela. */
.tk-section-detalhe {
  position: absolute;
  top: -37px;
  width: clamp(80px, 10vw, 160px);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.tk-section-detalhe--tr {
  right:-45px;
  rotate:-110deg;
 
  
}

.tk-section-detalhe--tl {
  left:-50px;
  rotate: 153deg;
}

.tk-section h3 {
  font-size: 20px;
}

/* Cabeçalho de seção: alinhado à esquerda por padrão.
   Só as duas seções de catálogo usam o modificador centralizado. */
.tk-decisoes-header,
.tk-fluxo-header,
.tk-unidades-header {
  max-width: 62ch;
  margin: 0 0 56px;
}

.tk-decisoes-header p,
.tk-fluxo-header p,
.tk-unidades-header p {
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-2);
  margin: 0;
  max-width: 54ch;
}

/* Botões */
.tk-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tk-btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

.tk-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.tk-btn-ghost:hover {
  background: var(--paper-3);
  border-color: var(--ink-3);
  color: var(--ink);
}

/* ---------- 9. Soluções — tabs e painéis ---------- */
.tk-decisoes {
  background: var(--paper-2);
  padding: var(--section-y) 0;
}

/* Tabs: quebram em linhas em vez de cortar no lado direito */
.tk-solucoes-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 48px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.tk-tab {
  /* não estica: senão a última linha de tabs vira dois botões gigantes */
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 16px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--line);
  border-bottom: 2px solid transparent;
  color: var(--ink-3);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
  margin-bottom: -1px;
  min-width:220px;
}

.tk-tab:last-child {
  border-right: none;
}

.tk-tab .tk-tab-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  opacity: 0.7;
}

.tk-tab .tk-tab-icon {
  display: flex;
  align-items: center;
}

.tk-tab:hover {
  color: var(--ink);
  background: var(--paper-3);
}

.tk-tab.active {
  color: var(--ink);
  border-bottom-color: var(--red);
  font-weight: 600;
}

.tk-tab.active .tk-tab-num {
  color: var(--red);
  opacity: 1;
}

.tk-solucoes-panels {
  position: relative;
}

.tk-panel {
  display: none;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}

.tk-panel.active {
  display: grid;
  animation: tk-fade-in 0.35s ease;
}

@keyframes tk-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tk-panel.active {
    animation: none;
  }
}

/* Rótulo do painel: texto simples, não pílula vermelha */
.tk-panel-info .tk-panel-num {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.tk-panel-info h3 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.06;
  color: var(--ink);
  margin-bottom: 16px;
}

.tk-panel-info p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 26px;
  max-width: 46ch;
}

/* Benefícios: lista de duas colunas com filetes, sem 8 pílulas de vidro */
.tk-panel-beneficios {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  border-top: 1px solid var(--line);
}

.tk-panel-beneficios li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}

/* Moldura do mockup: continua escura de propósito — é uma tela de produto.
   display:flex + flex:1 no filho fazem o <img>/<video> preencherem toda a
   área de conteúdo (descontando o padding de 18px) sem altura fixa, e o
   object-fit:cover garante que o vídeo cubra o retângulo sem distorcer
   mesmo quando a proporção da mídia difere do container. */
.tk-panel-visual {
  position: relative;
  display: flex;
  border-radius: var(--r-lg);
  background: #14161a;
  border: 1px solid rgba(23, 24, 26, 0.1);
  padding: 18px;
  box-shadow: 0 24px 64px rgba(23, 24, 26, 0.18);
  overflow: hidden;
  min-height: 440px;
}

.tk-panel-visual-inner {
  position: relative;
  z-index: 1;
  height: 100%;
}
.tk-panel-visual img,
.tk-panel-visual video {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;            /* libera o item flex a não estourar o container */
  height: auto;             /* em conjunto com object-fit:cover preenche tudo */
  object-fit: cover;
  border-radius: 10px;
  background: #000;         /* evita flash de fundo claro enquanto o vídeo carrega */
}
@keyframes tk-rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes tk-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

/* ============ MOCKUPS DE PRODUTO (telas do sistema — escuras de propósito) ============ */
/* ============ Mockup: Mapa de Rastreamento ============ */
.tk-mock-map {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0c1116 0%, #0a0d12 100%);
  overflow: hidden;
  border: 1px solid var(--tk-border);
}

.tk-mock-map svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tk-map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: tk-pin-bob 2.5s ease-in-out infinite;
}

.tk-map-pin::after {
  content: "";
  position: absolute;
  bottom: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(235, 1, 2, 0.35);
  filter: blur(4px);
  animation: tk-pin-shadow 2.5s ease-in-out infinite;
}

@keyframes tk-pin-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes tk-pin-shadow {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 0.8; transform: scale(1.2); }
}

.tk-map-card {
  position: absolute;
  background: rgba(20, 22, 28, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.tk-map-card .label {
  display: block;
  color: var(--tk-text-muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.tk-map-card .value {
  font-weight: 700;
  font-size: 14px;
}

.tk-map-card .value.green { color: #4ade80; }
.tk-map-card .value.red { color: var(--tk-red-soft); }

/* ============ Mockup: Dashboard de Telemetria ============ */
.tk-mock-dash {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  height: 100%;
}

.tk-dash-tile {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--tk-border);
  border-radius: 12px;
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
}

.tk-dash-tile .tile-label {
  font-size: 10px;
  color: var(--tk-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tk-dash-tile .tile-value {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.tk-dash-tile .tile-value .unit {
  font-size: 12px;
  color: var(--tk-text-muted);
  font-weight: 500;
  margin-left: 3px;
}

.tk-dash-tile .tile-trend {
  font-size: 11px;
  color: #4ade80;
  margin-top: 2px;
}

.tk-dash-tile.wide { grid-column: span 2; }
.tk-dash-tile.tall { grid-row: span 2; }

.tk-gauge {
  position: relative;
  width: 100%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}

.tk-gauge svg { width: 100%; height: 100%; }

.tk-gauge-text {
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.tk-gauge-text .small {
  font-size: 10px;
  color: var(--tk-text-muted);
  letter-spacing: 0.1em;
  display: block;
  font-weight: 500;
}

.tk-spark {
  margin-top: 6px;
  height: 28px;
}

.tk-event-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 180px;
  overflow: hidden;
}

.tk-event-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  border-left: 2px solid;
  animation: tk-slide-in 0.6s ease;
}

.tk-event-list li.warn { border-color: #f59e0b; }
.tk-event-list li.crit { border-color: var(--tk-red); }
.tk-event-list li.ok { border-color: #4ade80; }

.tk-event-list li .time {
  color: var(--tk-text-muted);
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  flex-shrink: 0;
}

.tk-event-list li .text { color: #fff; }

@keyframes tk-slide-in {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============ Mockup: Vídeo Telemetria ============ */
.tk-mock-video {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 100%;
  min-height: 420px;
}

.tk-cam {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0d12;
  border: 1px solid var(--tk-border);
}

.tk-cam.main { grid-row: span 2; }

.tk-cam-feed {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1f26 0%, #0c0f14 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tk-cam-feed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 3px
  );
  pointer-events: none;
}

.tk-cam-feed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

.tk-cam-highway {
  background:
    linear-gradient(180deg, #1a2330 0%, #0e1419 60%, #050709 100%);
  position: relative;
}

.tk-cam-highway::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 65%;
  background:
    linear-gradient(180deg, transparent 0%, transparent 48%, #ffd54a 49%, #ffd54a 51%, transparent 52%, transparent 100%) 0 0/8px 60px,
    linear-gradient(180deg, #2a2f36 0%, #1a1f26 100%);
  background-repeat: no-repeat;
  clip-path: polygon(35% 0, 65% 0, 95% 100%, 5% 100%);
  opacity: 0.85;
}

.tk-cam-cabin {
  background: radial-gradient(ellipse at center, #2a1f1a 0%, #0e0a08 100%);
  position: relative;
}

.tk-cam-cabin::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(255, 200, 150, 0.3) 0%, transparent 70%);
  filter: blur(8px);
}

.tk-cam-rear {
  background:
    linear-gradient(180deg, #0e1419 0%, #1a1f26 100%);
  position: relative;
}

.tk-cam-rear::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #1a2330 0%, #2a3340 100%);
  clip-path: polygon(0 30%, 100% 20%, 100% 100%, 0 100%);
}

.tk-cam-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

.tk-cam-overlay .rec {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tk-red);
  animation: tk-blink 1.2s ease infinite;
}

@keyframes tk-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.tk-cam-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  font-size: 10px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.tk-cam-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tk-cam-tag.ai { background: rgba(124, 58, 237, 0.85); color: #fff; }
.tk-cam-tag.adas { background: rgba(235, 1, 2, 0.9); color: #fff; }
.tk-cam-tag.dms { background: rgba(245, 158, 11, 0.9); color: #000; }

.tk-cam-bbox {
  position: absolute;
  border: 2px solid #f59e0b;
  background: rgba(245, 158, 11, 0.08);
  z-index: 2;
  pointer-events: none;
  animation: tk-bbox-flicker 2s ease infinite;
}

.tk-cam-bbox.lbl::after {
  content: attr(data-label);
  position: absolute;
  top: -16px;
  left: 0;
  font-size: 9px;
  background: #f59e0b;
  color: #000;
  padding: 1px 5px;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

@keyframes tk-bbox-flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.tk-video-timeline {
  margin-top: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--tk-border);
  border-radius: 10px;
}

.tk-timeline-track {
  position: relative;
  height: 24px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 4px;
  margin-top: 8px;
}

.tk-timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(235, 1, 2, 0.6) 0%, rgba(235, 1, 2, 0.3) 100%);
  border-radius: 4px;
  width: 35%;
  animation: tk-timeline-slide 8s ease-in-out infinite;
}

@keyframes tk-timeline-slide {
  0% { width: 0%; }
  50% { width: 65%; }
  100% { width: 100%; }
}

.tk-timeline-event {
  position: absolute;
  top: -2px;
  width: 4px;
  height: 28px;
  background: #f59e0b;
  border-radius: 2px;
}

.tk-timeline-time {
  display: flex;
  justify-content: space-between;
  font-family: "Poppins", sans-serif;
  font-size: 9px;
  color: var(--tk-text-muted);
  margin-top: 4px;
}

/* ============ Mockup: Combustível ============ */
.tk-mock-fuel {
  display: grid;
  grid-template-columns: 3.2fr 1fr;
  gap: 12px;
  height: 100%;
  min-height: 420px;
}

.tk-fuel-chart {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--tk-border);
  border-radius: 12px;
  padding: 16px;
  position: relative;
}

.tk-fuel-chart h5 {
  font-size: 13px;
  color: var(--tk-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}

.tk-fuel-chart svg { width: 100%; height: calc(100% - 30px); }

.tk-fuel-stats {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
}

.tk-fuel-stat {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--tk-border);
  border-radius: 12px;
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
}

.tk-fuel-stat .lbl {
  font-size: 10px;
  color: var(--tk-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tk-fuel-stat .val {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.tk-fuel-stat .delta {
  font-size: 11px;
  margin-top: 2px;
}

.tk-fuel-stat .delta.up { color: #4ade80; }
.tk-fuel-stat .delta.down { color: var(--tk-red-soft); }
/* ============ Mockup: Manutenção ============ */
.tk-mock-maint {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  min-height: 420px;
}

.tk-maint-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tk-maint-stat {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--tk-border);
  border-radius: 10px;
  padding: 10px 12px;
}

.tk-maint-stat .lbl {
  font-size: 9px;
  color: var(--tk-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.tk-maint-stat .val {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.tk-maint-timeline {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--tk-border);
  border-radius: 12px;
  padding: 16px;
  position: relative;
}

.tk-maint-timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--tk-red) 0%, rgba(235, 1, 2, 0.2) 100%);
}

.tk-maint-item {
  position: relative;
  padding-left: 48px;
  padding-bottom: 16px;
}

.tk-maint-item:last-child { padding-bottom: 0; }

.tk-maint-item::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--tk-red);
  border: 3px solid #0a0d12;
  box-shadow: 0 0 0 1px var(--tk-red);
}

.tk-maint-item::after {
  content: attr(data-status);
  position: absolute;
  left: 44px;
  top: 2px;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: rgba(74, 222, 128, 0.85);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tk-maint-item.warn::before { background: #f59e0b; box-shadow: 0 0 0 1px #f59e0b; }
.tk-maint-item.warn::after { background: rgba(245, 158, 11, 0.85); }
.tk-maint-item.crit::before { background: var(--tk-red); }
.tk-maint-item.done::before { background: #4ade80; box-shadow: 0 0 0 1px #4ade80; }
.tk-maint-item.done::after { background: rgba(74, 222, 128, 0.85); }

.tk-maint-item .date {
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  color: var(--tk-text-muted);
  margin-bottom: 10px;
}

.tk-maint-item .title {
  font-size: 13px;
  color: #fff;
  font-weight: 600;
}

.tk-maint-item .desc {
  font-size: 11px;
  color: var(--tk-text-muted);
  margin-top: 2px;
}

/* ============ Mockup: Multas ============ */
.tk-mock-fines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  min-height: 420px;
}

.tk-fines-summary {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 8px;
}

.tk-fine-summary-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--tk-border);
  border-radius: 10px;
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
}

.tk-fine-summary-card .lbl {
  font-size: 10px;
  color: var(--tk-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tk-fine-summary-card .val {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.tk-fine-summary-card.warn .val { color: #f59e0b; }
.tk-fine-summary-card.crit .val { color: var(--tk-red-soft); }
.tk-fine-summary-card.ok .val { color: #4ade80; }

.tk-fines-table {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--tk-border);
  border-radius: 12px;
  padding: 14px 16px;
  overflow: hidden;
}

.tk-fines-table-header,
.tk-fines-table-row {
  display: grid;
  grid-template-columns: 70px 1fr 1fr 90px 90px;
  gap: 10px;
  padding: 8px 0;
  font-size: 11px;
  align-items: center;
}

.tk-fines-table-header {
  color: var(--tk-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 9px;
  font-weight: 600;
  border-bottom: 1px solid var(--tk-border);
  margin-bottom: 6px;
}

.tk-fines-table-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: background 0.2s ease;
}

.tk-fines-table-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.tk-fine-id {
  font-family: "Poppins", sans-serif;
  color: var(--tk-red-soft);
  font-weight: 600;
}

.tk-fine-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.tk-fine-status.pending { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.tk-fine-status.paid { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.tk-fine-status.expired { background: rgba(235, 1, 2, 0.15); color: var(--tk-red-soft); }

/* ============ Mockup: Identificação Motorista ============ */
.tk-mock-driver {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 420px;
}

.tk-driver-face {
  position: relative;
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1a1f26 0%, #0a0d12 100%);
  border: 1px solid var(--tk-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tk-face-scan {
  position: relative;
  width: 120px;
  height: 140px;
  border: 2px solid var(--tk-red);
  border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
  box-shadow: 0 0 30px rgba(235, 1, 2, 0.4);
  animation: tk-scan 3s ease-in-out infinite;
}

.tk-face-scan::before,
.tk-face-scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tk-red), transparent);
  box-shadow: 0 0 8px var(--tk-red);
  animation: tk-scan-line 2.5s ease-in-out infinite;
}

.tk-face-scan::before { top: 0; }
.tk-face-scan::after { bottom: 0; }

@keyframes tk-scan {
  0%, 100% { box-shadow: 0 0 20px rgba(235, 1, 2, 0.3); }
  50% { box-shadow: 0 0 40px rgba(235, 1, 2, 0.6); }
}

@keyframes tk-scan-line {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

.tk-face-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(235, 1, 2, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235, 1, 2, 0.1) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.tk-driver-card {
  flex: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--tk-border);
  border-radius: 12px;
  padding: 16px;
}

.tk-driver-card .name {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.tk-driver-card .id {
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  color: var(--tk-red-soft);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.tk-driver-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tk-driver-tag {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(235, 1, 2, 0.1);
  color: var(--tk-red-soft);
  border: 1px solid rgba(235, 1, 2, 0.2);
  font-weight: 600;
}

.tk-driver-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 12px;
  color: var(--tk-text);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.tk-driver-link .ic {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: rgba(235, 1, 2, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tk-red-soft);
}

/* ============ Mockup: Ranking ============ */
.tk-mock-rank {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  min-height: 420px;
}

.tk-rank-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tk-rank-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--tk-border);
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tk-rank-item:hover {
  border-color: rgba(235, 1, 2, 0.3);
  transform: translateX(4px);
}

.tk-rank-item.top-1 {
  background: linear-gradient(135deg, rgba(235, 1, 2, 0.12) 0%, rgba(255, 193, 7, 0.04) 100%);
  border-color: rgba(255, 193, 7, 0.3);
}

.tk-rank-item.top-1::before {
  content: "★";
  position: absolute;
  top: 15px;
  right: 45px;
  color: #ffc107;
  font-size: 14px;
}

.tk-rank-pos {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  text-align: center;
}

.tk-rank-item.top-1 .tk-rank-pos { color: #ffc107; }
.tk-rank-item.top-2 .tk-rank-pos { color: #c0c0c0; }
.tk-rank-item.top-3 .tk-rank-pos { color: #cd7f32; }

.tk-rank-info .nm {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.tk-rank-info .bar {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
  overflow: hidden;
}

.tk-rank-info .bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--tk-red) 0%, var(--tk-red-soft) 100%);
  border-radius: 3px;
  transition: width 1s ease;
}

.tk-rank-score {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.tk-rank-item.top-1 .tk-rank-score { color: #ffc107; }

.tk-gamif {
  background: linear-gradient(135deg, rgba(235, 1, 2, 0.08) 0%, rgba(0, 0, 0, 0) 100%);
  border: 1px solid rgba(235, 1, 2, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tk-gamif-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.tk-gamif-text {
  flex: 1;
  font-size: 12px;
  color: var(--tk-text);
  line-height: 1.4;
}

.tk-gamif-text strong { color: #fff; }

/* ============ Mockup: Limitador Velocidade ============ */
.tk-mock-speed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 420px;
}

.tk-speed-display {
  flex: 1;
  background: radial-gradient(circle at center, rgba(235, 1, 2, 0.12) 0%, transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0) 100%);
  border: 1px solid var(--tk-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.tk-speed-display svg { width: 165px; height: 130px; }

.tk-speed-value {
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: -28px;
}

.tk-speed-unit {
  font-size: 11px;
  color: var(--tk-text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 2px;
}

.tk-speed-limit {
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  color: var(--tk-red-soft);
  margin-top: 8px;
  padding: 3px 10px;
  background: rgba(235, 1, 2, 0.1);
  border: 1px solid rgba(235, 1, 2, 0.25);
  border-radius: 12px;
}

.tk-speed-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tk-speed-action {
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--tk-border);
  border-radius: 10px;
  font-size: 11px;
  color: var(--tk-text);
  text-align: center;
  transition: all 0.3s ease;
}

.tk-speed-action:hover {
  background: rgba(235, 1, 2, 0.06);
  border-color: rgba(235, 1, 2, 0.3);
}

.tk-speed-action .ic {
  color: var(--tk-red-soft);
  margin-bottom: 4px;
  font-size: 16px;
}


/* =============================================================
   10. Quem somos
   ============================================================= */
.tk-quem-somos {
  background: var(--paper);
}

.tk-quem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.tk-quem-content h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin-bottom: 26px;
  max-width: 20ch;
}

.tk-quem-content .lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 54ch;
}

.tk-quem-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 18px;
  max-width: 58ch;
}

/* Era um bloco vermelho sólido com texto branco em itálico. Agora é uma
   citação de destaque — mesma ênfase, sem gritar. */
.tk-quem-callout {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--red);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.018em;
  color: var(--ink);
  max-width: 42ch;
}

.tk-quem-missao {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.tk-quem-missao .lbl {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 10px;
}

/* Estava em caixa alta inteira, o que trava a leitura */
.tk-quem-missao p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
  max-width: 56ch;
  text-transform: none;
}

.tk-quem-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-3);
}

.tk-quem-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Carrossel "Quem somos": ocupa o container pai (que tem aspect-ratio
   4/5 no desktop e 16/9 no mobile) e fica atrás do gradiente/overlay.
   Crossfade entre 4 slides com setas de navegação. */
.tk-quem-visual .quem-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tk-quem-visual .quem-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms ease;
  pointer-events: none;
}

.tk-quem-visual .quem-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.tk-quem-visual .quem-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Setas de navegação: circulares, translúcidas, aparecem no hover do carrossel. */
.tk-quem-visual .quem-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(13, 14, 17, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 220ms ease, background 200ms ease, transform 200ms ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.tk-quem-visual:hover .quem-arrow,
.tk-quem-visual .quem-arrow:focus-visible {
  opacity: 1;
}

.tk-quem-visual .quem-arrow:hover {
  background: rgba(13, 14, 17, 0.85);
}

.tk-quem-visual .quem-arrow:active {
  transform: translateY(-50%) scale(0.94);
}

.tk-quem-visual .quem-arrow-prev { left: 12px; }
.tk-quem-visual .quem-arrow-next { right: 12px; }

@media (max-width: 640px) {
  .tk-quem-visual .quem-arrow {
    width: 36px;
    height: 36px;
  }
  .tk-quem-visual .quem-arrow-prev { left: 8px; }
  .tk-quem-visual .quem-arrow-next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .tk-quem-visual .quem-slide { transition: none; }
  .tk-quem-visual .quem-arrow  { transition: opacity 0ms, background 0ms; }
}

.tk-quem-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
/* =============================================================
   11. Do sensor à decisão
   ============================================================= */
/* Sem círculos numerados nem setas piscando: uma trilha com filetes
   e o número como marca d'água discreta. */
.tk-fluxo {
  background: var(--paper-2);
}

.tk-fluxo-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  counter-reset: etapa;
  border-top: 1px solid var(--line-strong);
}

.tk-fluxo-step {
  counter-increment: etapa;
  position: relative;
  padding: 28px 28px 0 0;
}

.tk-fluxo-step + .tk-fluxo-step {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.tk-fluxo-step::before {
  content: counter(etapa, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 18px;
}

.tk-fluxo-step h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.018em;
}

.tk-fluxo-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* =============================================================
   12. Segurança
   ============================================================= */
/* Única seção escura da página: o vídeo cobre o fundo inteiro e uma
   máscara radial preto/vermelho abre um clarão atrás do texto. */
.tk-seguranca {
  background: #08080b;
  color: #fff;
  border-top: none;
  overflow: hidden;
  padding: 128px 0;
  isolation: isolate;
}

.tk-seg-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.tk-seg-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.62);
}

/* Máscara em três camadas:
   1) clarão vermelho na origem, à esquerda, onde fica o texto
   2) vinheta preta fechando as bordas
   3) base preta translúcida garantindo contraste do corpo de texto */
.tk-seg-mask {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 90% at 22% 50%,
      rgba(235, 1, 2, 0.42) 0%,
      rgba(150, 2, 6, 0.28) 32%,
      rgba(8, 8, 11, 0.72) 62%,
      rgba(8, 8, 11, 0.94) 100%
    ),
    radial-gradient(
      ellipse 120% 100% at 50% 50%,
      transparent 30%,
      rgba(8, 8, 11, 0.85) 100%
    ),
    linear-gradient(90deg, rgba(8, 8, 11, 0.88) 0%, rgba(8, 8, 11, 0.35) 62%, rgba(8, 8, 11, 0.6) 100%);
}

.tk-seg-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr);
  gap: 64px;
  align-items: center;
}

.tk-seguranca h2 {
  color: #fff;
  max-width: 15ch;
}

.tk-seg-text .lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 34px;
  max-width: 48ch;
}

.tk-seg-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin: 0 0 36px;
  padding: 0;
  max-width: 620px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.tk-seg-features li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.tk-seguranca .tk-btn-primary {
  border-color: var(--red);
}

/* =============================================================
   13. Unidades
   ============================================================= */
.tk-unidades {
  background: var(--paper-2);
}

.tk-unidades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  /* antes sobravam ~200px de vazio até a próxima seção */
  margin-bottom: 0;
}

.tk-unidade-card {
  position: relative;
  text-align:center;
  overflow: hidden;
  /*
   * min-width: 0 libera a coluna do grid `repeat(3, 1fr)` a respeitar a
   * fracao. Sem isso, o conteudo sem quebra (badge "TESTEEEE..." ou
   * cidade/endereco exagerados) empurra a coluna para o min-content
   * (default `auto`), fazendo o card invadir o vizinho e quebrar o
   * layout visual de 3 colunas iguais.
   */
  min-width: 0;
}

.tk-unidade-card + .tk-unidade-card {
  border-left: 1px solid var(--line);
}

.tk-unidade-img-link {
  display: block;
  line-height: 0;
}
.border-img-left{
border-top-left-radius:30px;
}
.border-img-right{
  border-top-right-radius:30px;
}

.tk-unidade-card .badge {
  display: inline-block;
  padding: 0;
  background: none;
  border: none;
  color: var(--red-ink);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
  margin-top:30px;
  /*
   * Limites de largura + quebra de palavra para que um badge exagerado
   * (ex.: "TESTEEEEEEEEEEEE...") nao empurre o card nem invada o
   * vizinho. max-width 100% garante que o badge respeita a largura
   * do card; overflow-wrap/word-break quebram em qualquer ponto.
   */
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tk-unidade-card .city {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 2px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tk-unidade-card .state {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 18px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tk-unidade-card .address {
  /*
   * `inline-flex` faz o grupo (icone + texto) se comportar como um unico
   * bloco inline. Combinado com o `text-align: center` do card pai, o
   * grupo inteiro fica centralizado NA SUA LARGURA REAL, e o icone
   * permanece grudado no texto (com o `gap` definido abaixo) em vez de
   * ficar empurrado para a borda esquerda enquanto o texto fica no
   * centro - problema que aparecia no responsivo (e levemente no
   * desktop) com `display: flex` + `justify-content: center`.
   */
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  justify-content: center;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 22px;
  max-width: 100%;
  text-align: left;
}

.tk-unidade-card .address > span:last-child {
  /*
   * O segundo <span> do address contem o texto do endereco; ele precisa
   * quebrar dentro do card sem empurrar o icone (flex-shrink: 0) para
   * fora do layout.
   */
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
  flex: 1 1 auto;
}

.tk-unidade-card .address .ic {
  color: var(--ink-3);
  margin-top: 2px;
  flex-shrink: 0;
}

.tk-unidade-card .btn-map {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 0 3px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  transition: color 0.2s ease, border-color 0.2s ease;
  margin-bottom:30px;
}

.tk-unidade-card .btn-map:hover {
  color: var(--red);
  border-bottom-color: var(--red);
  background: none;
}
.tk-unidade-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  box-shadow: 0 4px 14px -4px rgba(212, 27, 27, 0.18);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.tk-unidade-card:hover img {
  transform: scale(1.04);
  box-shadow: 0 10px 26px -6px rgba(212, 27, 27, 0.32);
}
/* =============================================================
   14. Contato
   ============================================================= */
.tk-contato {
  background: #e1e1e1;
}

.tk-contato-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: start;
}

.tk-contato-info h2 {
  max-width: 22ch;
}

.tk-contato-info > p {
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-2);
  margin-bottom: 34px;
  max-width: 46ch;
}

.tk-contato-channels {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.tk-contato-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.2s ease;
}

.tk-contato-channel:hover {
  padding-left: 8px;
}

.tk-contato-channel .ic {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.tk-contato-channel:hover .ic {
  background: var(--red);
  color: #fff;
}

.tk-contato-channel .info {
  flex: 1;
}

.tk-contato-channel .info .lbl {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 1px;
}

.tk-contato-channel .info .val {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
}

.tk-contato-channel .arrow {
  color: var(--ink-3);
}

/* Wrapper para permitir um botão de "copiar" como ação secundária,
   sem violar a regra de <button> dentro de <a>. */
.tk-contato-channel-wrap {
  position: relative;
}

.tk-contato-channel-wrap > .tk-contato-channel {
  /* Estende o padding-right para abrir espaço para o botão de copiar
     sem cobrir o valor visível. */
  padding-right: 52px;
}

.tk-contato-channel-wrap > .tk-contato-channel:hover {
  /* Mantém o deslocamento original do hover (padding-left) sem conflitar
     com o padding-right que libera espaço para o botão. */
  padding-left: 0px;
}

/* Channel estático: telefone e e-mail ficaram apenas como informação
   visual (não abrem discador/cliente de e-mail). O usuário copia pelo
   botão à direita se precisar. Sem cursor pointer, sem hover de navegação. */
.tk-contato-channel--static {
  cursor: default;
}

.tk-contato-channel--static:hover {
  padding-left: 0;
}

.tk-contato-channel--static:hover .ic {
  background: transparent;
  color: var(--ink-2);
}

/* Botão de copiar — sempre visível, mas discreto; vira destaque no hover/focus. */
.tk-contato-copy {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink-2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.tk-contato-copy:hover,
.tk-contato-copy:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  outline: none;
  transform: translateY(-50%) scale(1.05);
}

.tk-contato-copy:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.18);
}

/* Estado "copiado": esconde o ícone de copiar e mostra o check + tooltip. */
.tk-contato-copy.is-copied {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.tk-contato-copy .ic-check {
  display: none;
}

.tk-contato-copy.is-copied .ic-copy {
  display: none;
}

.tk-contato-copy.is-copied .ic-check {
  display: inline-block;
}

.tk-contato-copy .tk-contato-copy-feedback {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 9px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.tk-contato-copy .tk-contato-copy-feedback::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 14px;
  border: 5px solid transparent;
  border-top-color: var(--ink);
}

.tk-contato-copy.is-copied .tk-contato-copy-feedback {
  opacity: 1;
  transform: translateY(0);
}

.tk-contato-copy.is-copied-fail {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Formulário */
.tk-contato-form {
  padding: 34px 32px 32px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.tk-contato-form h3 {
  font-size: 21px;
  color: var(--ink);
  margin-bottom: 6px;
}

.tk-contato-form .sub {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 26px;
}

.tk-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tk-form-group {
  margin-bottom: 16px;
}

.tk-form-group label {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  margin-bottom: 6px;
  text-transform: none;
  letter-spacing: 0;
}

.tk-form-group input,
.tk-form-group select,
.tk-form-group textarea {
  width: 100%;
  padding: 11px 13px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.tk-form-group input::placeholder,
.tk-form-group textarea::placeholder {
  color: #a8a9ad;
}

.tk-form-group input:focus,
.tk-form-group select:focus,
.tk-form-group textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(23, 24, 26, 0.07);
}

.tk-form-group textarea {
  min-height: 104px;
  resize: vertical;
}

.tk-form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237a7c81'><path d='M8 11L3 6h10z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 13px;
  padding-right: 34px;
}

.tk-form-error {
  display: block;
  font-size: 12px;
  color: #dc2626;
  margin-top: 4px;
  min-height: 16px;
}

.tk-form-group.has-error input,
.tk-form-group.has-error select,
.tk-form-group.has-error textarea {
  border-color: #dc2626;
  background-color: rgba(220, 38, 38, 0.03);
}

.tk-form-group.has-error input:focus,
.tk-form-group.has-error select:focus,
.tk-form-group.has-error textarea:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.tk-form-submit {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}

/* =============================================================
   15. Valor para a operação
   ============================================================= */
.tk-valor {
  background: var(--paper-2);
}

.tk-valor-header {
  max-width: 62ch;
  margin-bottom: 56px;
}

.tk-valor-header .left .eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 14px;
}

.tk-valor-header h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  margin-bottom: 16px;
}

.tk-valor-header h2 .red {
  color: var(--red);
}

.tk-valor-header p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.62;
  max-width: 54ch;
  margin: 0;
}

.tk-valor-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: none;
  border: none;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.tk-valor-card {
  padding: 28px 26px 0 0;
  border-right: none;
}

.tk-valor-card + .tk-valor-card {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.tk-valor-card:hover {
  background: none;
}

.tk-valor-card-head {
  display: block;
  margin-bottom: 20px;
}

.tk-valor-icon {
  width: auto;
  height: auto;
  display: block;
  color: var(--red);
}

.tk-valor-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.018em;
  text-transform: none;
  margin-bottom: 8px;
  line-height: 1.2;
}

.tk-valor-card p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

/* =============================================================
   16. Orientação consultiva (quiz)
   ============================================================= */
.tk-orientacao {
  background: var(--paper);
}

.tk-orientacao-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.tk-orientacao-info h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-bottom: 18px;
  max-width: 18ch;
}

.tk-orientacao-info h2 .red {
  color: var(--red);
}

.tk-orientacao-info p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.62;
  max-width: 48ch;
  margin: 0;
}

.tk-quiz {
  padding: 32px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  backdrop-filter: none;
}

.tk-quiz-question {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.018em;
}

.tk-quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.tk-quiz-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.18s ease;
  text-align: left;
  font-family: inherit;
}

.tk-quiz-option:hover {
  border-color: var(--ink-3);
}

.tk-quiz-option.selected {
  background: var(--paper);
  border-color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
}

.tk-quiz-option .check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tk-quiz-option.selected .check {
  background: var(--red);
  border-color: var(--red);
}

.tk-quiz-option.selected .check::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.tk-quiz-notice {
  padding: 0 0 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.tk-quiz-notice p {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0;
}

.tk-quiz-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.tk-quiz-cta:hover {
  background: var(--red-dark);
  color: #fff;
}

/* =============================================================
   17. Aplicativos — tema noturno com vermelho
   ============================================================= */
.tk-apps {
  background: #08080b;
  color: #fff;
  border-top: 1px solid rgba(235, 1, 2, 0.18);
  position: relative;
  overflow: hidden;
}

/* Brilho vermelho de fundo para reforçar a pegada tech/noturna */
.tk-apps::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 160%;
  background: radial-gradient(
    ellipse at center,
    rgba(235, 1, 2, 0.22) 0%,
    rgba(235, 1, 2, 0.08) 35%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}

.tk-apps .container {
  position: relative;
  z-index: 1;
}

.tk-apps-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}

.tk-apps-content h2 {
  max-width: 14ch;
  color: #fff;
}

.tk-apps-content h2 .accent {
  color: var(--red);
}

.tk-apps-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.62;
  margin-bottom: 30px;
  max-width: 46ch;
}

.tk-apps-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tk-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 20px;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: var(--r-md);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  min-width: 172px;
  box-shadow: 0 8px 24px rgba(235, 1, 2, 0.28);
}

.tk-app-badge:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
}

.tk-app-badge .ic {
  color: #fff;
  flex-shrink: 0;
  display: flex;
}

.tk-app-badge .text {
  display: flex;
  flex-direction: column;
}

.tk-app-badge .text .sm {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tk-app-badge .text .lg {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
  margin-top: 1px;
}

.tk-apps-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
}

.tk-phone {
  position: relative;
  width: 232px;
  height: 464px;
  background: #1b1e23;
  border-radius: 30px;
  border: 7px solid #1b1e23;
  box-shadow:
    0 0 0 1px rgba(235, 1, 2, 0.18),
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(235, 1, 2, 0.22);
  overflow: hidden;
  z-index: 2;
}

.tk-phone::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 20px;
  background: #000;
  border-radius: 11px;
  z-index: 3;
}

.tk-phone-screen {
  position: absolute;
  inset: 0;
  background: #0d0e11;
  display: flex;
  flex-direction: column;
  padding: 46px 14px 18px;
  gap: 9px;
}

.tk-phone-app-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.tk-phone-app-header .dot {
  width: 26px;
  height: 26px;
  border-radius: var(--r-sm);
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.tk-phone-app-header .ttl {
  font-size: 13px;
  color: #fff;
  font-weight: 600;
}

.tk-phone-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-md);
  padding: 10px 12px;
}

.tk-phone-card .lbl {
  font-size: 9px;
  color: var(--tk-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.tk-phone-card .val {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.tk-phone-card .desc {
  font-size: 10px;
  color: var(--tk-text-muted);
  margin-top: 2px;
}

.tk-phone-mini-map {
  flex: 1;
  background: radial-gradient(ellipse at 30% 40%, rgba(235, 1, 2, 0.28) 0%, transparent 52%),
    #0a0b0e;
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}

.tk-phone-mini-map::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(235, 1, 2, 0.3), 0 0 0 10px rgba(235, 1, 2, 0.14);
}

.tk-phone-shadow {
  display: none;
}

/* Brilho vermelho embaixo do celular, reforçando o tema noturno */
.tk-apps-visual::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 80px;
  background: radial-gradient(
    ellipse at center,
    rgba(235, 1, 2, 0.4) 0%,
    rgba(235, 1, 2, 0.1) 50%,
    transparent 80%
  );
  filter: blur(20px);
  z-index: 1;
  pointer-events: none;
}

/* =============================================================
   18. Footer
   ============================================================= */
.tk-footer {
  position: relative;
  background: var(--paper-3);
  color: var(--ink);
  padding: 72px 0 0;
  border-top: 1px solid var(--line);
}

.tk-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 52px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line-strong);
  align-items: start;
}

.tk-footer-top-info .eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 12px;
}

.tk-footer-top-info .eyebrow::before {
  content: none;
}

.tk-footer-top-info h2 {
  font-size: clamp(26px, 3vw, 36px);
  color: var(--ink);
  margin-bottom: 10px;
}

.tk-footer-top-info p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
  max-width: 34ch;
}

.tk-footer-top-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.tk-footer-top-card:hover {
  border-color: var(--ink-3);
  background: var(--paper);
  transform: none;
}

.tk-footer-top-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.tk-footer-top-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 18px;
  flex: 1;
}

.tk-footer-top-card .arrow-link {
  display: inline-flex;
  align-items: center;
  color: var(--red);
  margin-top: auto;
}

.tk-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  padding-bottom: 44px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}

.tk-footer-brand .logo-row {
  margin-bottom: 20px;
}

.tk-footer-brand .logo-row img {
  width: 116px;
  height: auto;
}

/* Estava em caixa alta com tracking largo — vira uma linha legível */
.tk-footer-brand .slogan {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  line-height: 1.45;
  text-transform: none;
  margin-bottom: 22px;
}

.tk-footer-socials {
  display: flex;
  gap: 8px;
}

.tk-footer-social {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: transparent;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tk-footer-social:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: none;
}

.tk-footer-col h5 {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.tk-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tk-footer-col a {
  color: var(--ink-2);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.18s ease;
  font-weight: 400;
  /*
   * Quebra palavras longas sem espaco dentro do link do footer. Sem isso,
   * um nav_label exagerado (ex.: "eeeeeeeeeeeeeeeee...") estoura a coluna
   * e fica cortado/sobreposto aos itens vizinhos.
   */
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tk-footer-col a:hover {
  color: var(--red);
}

.tk-footer-atendimento h5 {
  color: var(--ink-3) !important;
}

.tk-footer-atendimento h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 10px;
  max-width: 24ch;
}

.tk-footer-atendimento p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 32ch;
}

.tk-footer-btn-boleto {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background:#000;
  border: none;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
  min-width: 0;
}

.tk-footer-btn-boleto:hover {
  background: var(--red-dark);
  color: #fff;
  transform: none;
}
.tk-footer-btn-boleto span{
  color: #fff;
}

.tk-footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.tk-footer-bottom p {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}

.tk-footer-bottom-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.tk-footer-bottom-links a {
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: none;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  transition: color 0.18s ease;
}

.tk-footer-bottom-links a:hover {
  color: var(--ink);
}

/* =============================================================
   19. Responsivo
   ============================================================= */
@media (max-width: 1199.98px) {
  :root {
    --section-y: 80px;
  }

  .tk-quem-grid,
  .tk-seg-content,
  .tk-contato-grid,
  .tk-apps-grid,
  .tk-orientacao-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tk-quem-visual {
    aspect-ratio: 16 / 9;
    max-height: 420px;
  }

  .tk-valor-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tk-valor-card:nth-child(3n + 1) {
    padding-left: 0;
    border-left: none;
  }

  .tk-valor-card:nth-child(n + 4) {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .tk-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 991.98px) {
  :root {
    --section-y: 68px;
  }

  .tk-panel {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .tk-panel-visual {
    min-height: 340px;
  }

  .tk-fluxo-grid,
  .tk-unidades-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tk-fluxo-step:nth-child(odd),
  .tk-unidade-card:nth-child(odd) {
    padding-left: 0;
    border-left: none;
  }

  .tk-fluxo-step:nth-child(n + 3),
  .tk-unidade-card:nth-child(n + 3) {
    margin-top: 24px;
    border-top: 1px solid var(--line);
  }

  .tk-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tk-footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .tk-footer-top-info {
    grid-column: span 2;
  }
  .border-img-left{
border-top-left-radius:30px;
border-top-right-radius:30px;
}
.border-img-right{
  border-top-right-radius:0px;
}
.tk-unidade-card img{
  width: 110%;
}
.tk-unidade-card:hover img{
  transform: none;
}
.tk-app-badge{
  width: 100%;
}
}

@media (max-width: 767.98px) {
  :root {
    --section-y: 56px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .navbar .nav-link {
    padding: 10px 0 !important;
  }

  .navbar .nav-link.active::after {
    display: none;
  }

  .tk-fluxo-grid,
  .tk-unidades-grid,
  .tk-valor-grid,
  .tk-seg-features,
  .tk-panel-beneficios,
  .tk-quiz-options {
    grid-template-columns: 1fr;
  }

  .tk-fluxo-step,
  .tk-unidade-card,
  .tk-valor-card {
    padding-left: 0 !important;
    border-left: none !important;
  }

  .tk-fluxo-step,
  .tk-unidade-card,
  .tk-valor-card {
    margin-top: 0 !important;
    border-top: 1px solid var(--line);
  }

  .tk-fluxo-step:first-child,
  .tk-unidade-card:first-child,
  .tk-valor-card:first-child {
    border-top: none;
  }

  .tk-solucoes-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .tk-tab {
    flex: 0 0 auto;
    padding: 12px 14px;
    font-size: 13px;
  }

  .tk-tab .tk-tab-num {
    display: none;
  }

  .tk-mock-dash {
    grid-template-columns: repeat(2, 1fr);
  }

  .tk-mock-video {
    grid-template-columns: 1fr;
  }

  .tk-cam.main {
    grid-row: auto;
    height: 180px;
  }

  .tk-mock-fuel {
    grid-template-columns: 1fr;
  }

  .tk-speed-display svg {
    width: 180px;
    height: 110px;
  }

  .tk-speed-value {
    font-size: 38px;
  }

  .tk-fines-table-header,
  .tk-fines-table-row {
    grid-template-columns: 60px 1fr 80px;
    font-size: 11px;
  }

  .tk-fines-table-header > :nth-child(2),
  .tk-fines-table-header > :nth-child(3),
  .tk-fines-table-row > :nth-child(2),
  .tk-fines-table-row > :nth-child(3) {
    display: none;
  }

  .tk-apps-visual {
    min-height: 400px;
  }

  .tk-phone {
    width: 200px;
    height: 400px;
  }

  .tk-contato-form {
    padding: 24px 20px;
  }

  /* ===========================================================
     Seção de contato — responsivo (mobile).
     - Centraliza o texto e os itens da coluna de informações
       (título, descrição e lista de canais) para evitar o
       "espaço vazio na esquerda" quando o grid empilha.
     - Reduz paddings, ícones e tipografia dos canais e do
       formulário para manter a proporção em telas pequenas.
     =========================================================== */
  .tk-contato-info {
    text-align: center;
  }

  .tk-contato-info h2 {
    margin-left: auto;
    margin-right: auto;
    max-width: 22ch;
  }

  .tk-contato-info > p {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
    max-width: 44ch;
    font-size: 16px;
  }

  .tk-contato-channels {
    align-items: stretch;
  }

  .tk-contato-channel {
    padding: 14px 0;
    gap: 12px;
  }

  .tk-contato-channel .ic {
    width: 30px;
    height: 30px;
  }

  .tk-contato-channel .ic svg {
    width: 18px;
    height: 18px;
  }

  .tk-contato-channel .info .lbl {
    font-size: 11px;
  }

  .tk-contato-channel .info .val {
    font-size: 15px;
  }

  .tk-contato-channel-wrap > .tk-contato-channel {
    padding-right: 46px;
  }

  .tk-contato-copy {
    width: 32px;
    height: 32px;
  }

  .tk-contato-form h3 {
    font-size: 19px;
  }

  .tk-contato-form .sub {
    font-size: 13px;
    margin-bottom: 22px;
  }

  .tk-form-group label {
    font-size: 12px;
  }

  .tk-form-group input,
  .tk-form-group select,
  .tk-form-group textarea {
    font-size: 14px;
    padding: 10px 12px;
  }

  .tk-contato-form .tk-form-submit {
    font-size: 14px;
    padding: 12px 18px;
  }

  .tk-footer-top,
  .tk-footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tk-footer-top-info {
    grid-column: auto;
  }

  .tk-footer-btn-boleto {
    width: 100%;
  }

  .tk-footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Footer — textos centralizados no mobile */
  .tk-footer-top-info,
  .tk-footer-top-card,
  .tk-footer-brand,
  .tk-footer-col,
  .tk-footer-atendimento {
    text-align: center;
  }

  .tk-footer-brand .logo-row {
    display: inline-flex;
  }

  .tk-footer-socials,
  .tk-footer-bottom-links {
    justify-content: center;
  }

  /* Section "Agir antes que o problema aconteça" — textos centralizados no mobile */
  .tk-seg-text {
    text-align: center;
  }

  .tk-seguranca h2,
  .tk-seg-text .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .tk-seg-features {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Slogan do footer: largura total e centralizado */
  .tk-footer-brand .slogan {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =============================================================
   20. Movimento — reveal no scroll
   ============================================================= */
/* Substitui o AOS. Um elemento só anima quando entra na viewport,
   uma vez, e a distância percorrida é curta de propósito. */
/* O estado escondido só existe quando o documento está marcado — a marcação
   acontece no <head>, antes da primeira pintura. Sem JS, nada fica oculto. */
/* Os filhos de um grupo são escondidos pelo próprio seletor, e não por um
   atributo que o JS acrescentaria depois — assim não há flash entre a
   primeira pintura e a execução do script. */
.reveal-ready [data-reveal],
.reveal-ready [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.62s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-ready [data-reveal="down"] {
  transform: translateY(-18px);
}

.reveal-ready [data-reveal="left"] {
  transform: translateX(26px);
}

.reveal-ready [data-reveal="right"] {
  transform: translateX(-26px);
}

.reveal-ready [data-reveal="scale"] {
  transform: scale(0.965);
}

.reveal-ready [data-reveal].is-revealed,
.reveal-ready [data-reveal-group] > .is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.tk-parallax {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =================================================================
   Páginas legais — Termos de Uso / Política de Privacidade
   ----------------------------------------------------------------
   Layout 2 colunas: sumário fixo à esquerda + artigo à direita.
   Em telas pequenas, o sumário vira um bloco expansível no topo.
   ================================================================= */

.tk-legal-page {
  background: var(--paper, #fff);
  color: var(--ink, #17181a);
  padding-top: 32px;
  padding-bottom: 96px;
}

.tk-legal-hero {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--line, #ececec);
  margin-bottom: 40px;
}

.tk-legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display, "Poppins", sans-serif);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-color, #eb0102);
  margin-bottom: 14px;
}

.tk-legal-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--primary-color, #eb0102);
  border-radius: 2px;
  display: inline-block;
}

.tk-legal-hero h1 {
  font-family: var(--font-display, "Poppins", sans-serif);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--secondary-color, #1e1e1e);
  margin: 0 0 16px;
  max-width: 820px;
}

.tk-legal-hero p.tk-legal-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2, #4a4c50);
  max-width: 720px;
  margin: 0;
}

.tk-legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-3, #7a7c81);
}

.tk-legal-meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f6f6f7;
  border: 1px solid #ececec;
  border-radius: 999px;
  font-family: var(--font-display, "Poppins", sans-serif);
  font-weight: 500;
}

.tk-legal-meta .pill strong {
  color: var(--ink, #17181a);
  font-weight: 600;
}

.tk-legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.tk-legal-toc {
  position: sticky;
  top: 110px;
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: var(--r-md, 6px);
  padding: 22px 22px 18px;
}

.tk-legal-toc h2 {
  font-family: var(--font-display, "Poppins", sans-serif);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3, #7a7c81);
  margin: 0 0 14px;
}

.tk-legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
}

.tk-legal-toc ol li {
  counter-increment: toc;
}

.tk-legal-toc a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 4px;
  color: var(--ink-2, #4a4c50);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  border-left: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tk-legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-display, "Poppins", sans-serif);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3, #7a7c81);
  min-width: 22px;
}

.tk-legal-toc a:hover {
  background: #fff;
  color: var(--ink, #17181a);
}

.tk-legal-toc a.is-active {
  background: #fff;
  color: var(--primary-color, #eb0102);
  border-left-color: var(--primary-color, #eb0102);
  font-weight: 600;
}

.tk-legal-toc a.is-active::before {
  color: var(--primary-color, #eb0102);
}

.tk-legal-content {
  max-width: 760px;
}

.tk-legal-section {
  padding: 28px 0 36px;
  border-bottom: 1px solid #f0f0f0;
  scroll-margin-top: 110px;
}

.tk-legal-section:last-child {
  border-bottom: none;
}

.tk-legal-section h2 {
  font-family: var(--font-display, "Poppins", sans-serif);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--secondary-color, #1e1e1e);
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.tk-legal-section h2 .num {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color, #eb0102);
  letter-spacing: 0.04em;
}

.tk-legal-section h3 {
  font-family: var(--font-display, "Poppins", sans-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink, #17181a);
  margin: 22px 0 8px;
}

.tk-legal-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2, #4a4c50);
  margin: 0 0 14px;
}

.tk-legal-section p strong {
  color: var(--ink, #17181a);
  font-weight: 600;
}

.tk-legal-section ul,
.tk-legal-section ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--ink-2, #4a4c50);
  font-size: 16px;
  line-height: 1.7;
}

.tk-legal-section ul li,
.tk-legal-section ol li {
  margin-bottom: 6px;
}

.tk-legal-section a {
  color: var(--primary-color, #eb0102);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tk-legal-callout {
  background: #fff7f7;
  border-left: 3px solid var(--primary-color, #eb0102);
  border-radius: 4px;
  padding: 16px 18px;
  margin: 18px 0 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2, #4a4c50);
}

.tk-legal-callout strong {
  color: var(--ink, #17181a);
}

.tk-legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 22px;
  font-size: 15px;
}

.tk-legal-table th,
.tk-legal-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #ececec;
  vertical-align: top;
}

.tk-legal-table th {
  font-family: var(--font-display, "Poppins", sans-serif);
  font-weight: 600;
  color: var(--ink, #17181a);
  background: #fafafa;
  font-size: 14px;
}

.tk-legal-table td {
  color: var(--ink-2, #4a4c50);
  line-height: 1.55;
}

.tk-legal-footer-cta {
  margin-top: 48px;
  padding: 28px;
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: var(--r-md, 6px);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.tk-legal-footer-cta p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2, #4a4c50);
  line-height: 1.5;
  max-width: 480px;
}

.tk-legal-footer-cta p strong {
  color: var(--ink, #17181a);
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
  font-family: var(--font-display, "Poppins", sans-serif);
}

.tk-legal-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tk-legal-cta-group .tk-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-md, 6px);
  border: 1px solid rgba(30, 30, 30, 0.18);
  color: var(--secondary-color, #1e1e1e);
  background: #fff;
  text-decoration: none;
  font-family: var(--font-display, "Poppins", sans-serif);
  font-weight: 600;
  font-size: 14px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.tk-legal-cta-group .tk-btn-ghost:hover {
  border-color: var(--primary-color, #eb0102);
  color: var(--primary-color, #eb0102);
}

@media (max-width: 991.98px) {
  .tk-legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tk-legal-toc {
    position: static;
    padding: 18px;
  }

  .tk-legal-toc ol {
    max-height: none;
  }

  .tk-legal-section {
    scroll-margin-top: 90px;
  }
}

@media (max-width: 575.98px) {
  .tk-legal-hero {
    padding: 40px 0 24px;
    margin-bottom: 28px;
  }

  .tk-legal-page {
    padding-bottom: 64px;
  }

  .tk-legal-footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  /* ===========================================================
     Seção de contato — telas muito pequenas (até 575px).
     Reduz paddings e tipografia para evitar overflow horizontal
     e manter a consistência visual com as demais seções.
     =========================================================== */
  .tk-contato {
    --section-y: 48px;
  }

  .tk-contato-info h2 {
    font-size: clamp(22px, 6.4vw, 28px);
    max-width: 18ch;
  }

  .tk-contato-info > p {
    font-size: 15px;
    line-height: 1.55;
    max-width: 36ch;
    margin-bottom: 22px;
  }

  .tk-contato-channel {
    padding: 12px 0;
    gap: 10px;
  }

  .tk-contato-channel .ic {
    width: 28px;
    height: 28px;
  }

  .tk-contato-channel .ic svg {
    width: 16px;
    height: 16px;
  }

  .tk-contato-channel .info .val {
    font-size: 14px;
  }

  .tk-contato-channel-wrap > .tk-contato-channel {
    padding-right: 42px;
  }

  .tk-contato-copy {
    width: 30px;
    height: 30px;
    right: 6px;
  }

  .tk-contato-copy .tk-contato-copy-feedback {
    font-size: 10px;
    padding: 4px 7px;
  }

  .tk-contato-form {
    padding: 20px 16px;
  }

  .tk-contato-form h3 {
    font-size: 18px;
  }

  .tk-contato-form .sub {
    font-size: 12.5px;
    margin-bottom: 18px;
  }

  .tk-form-group {
    margin-bottom: 12px;
  }

  .tk-form-group input,
  .tk-form-group select,
  .tk-form-group textarea {
    font-size: 13.5px;
    padding: 9px 11px;
  }

  .tk-form-group textarea {
    min-height: 88px;
  }
}


/* =============================================================
   18. Blog
   ============================================================= */
.tk-blog {
  background: var(--paper);
}

.tk-blog-header {
  max-width: 62ch;
  margin: 0 0 56px;
}

.tk-blog-header .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 14px;
}

.tk-blog-header .eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 10px;
  position: relative;
  top: -2px;
}

.tk-blog-header h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin-bottom: 16px;
}

.tk-blog-header h2 .text-highlight {
  color: var(--red);
  font-style: normal;
}

.tk-blog-header p {
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-2);
  margin: 0;
  max-width: 54ch;
}

.tk-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tk-blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
}

.tk-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(23, 24, 26, 0.08);
  border-color: rgba(235, 1, 2, 0.18);
}

.tk-blog-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-3);
}

.tk-blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tk-blog-card:hover .tk-blog-media img {
  transform: scale(1.04);
}

.tk-blog-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  border: 1px solid rgba(235, 1, 2, 0.18);
  backdrop-filter: blur(4px);
}

.tk-blog-body {
  display: flex;
  flex-direction: column;
  padding: 24px 26px 26px;
  flex: 1;
}

.tk-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.tk-blog-meta .dot {
  color: var(--line-strong);
  font-weight: 400;
  text-transform: none;
}

.tk-blog-body h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 12px;
}

.tk-blog-body h3 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.18s ease;
}

.tk-blog-body h3 a:hover {
  color: var(--red);
}

.tk-blog-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}

.tk-blog-card--feature {
  grid-column: span 2;
  flex-direction: row;
  border-color: var(--line-strong);
}

.tk-blog-card--feature .tk-blog-media {
  flex: 1.1;
  aspect-ratio: auto;
  min-height: 100%;
}

.tk-blog-card--feature .tk-blog-body {
  flex: 1;
  padding: 36px 36px 32px;
  justify-content: center;
}

.tk-blog-card--feature .tk-blog-body h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.18;
  margin-bottom: 16px;
}

.tk-blog-card--feature .tk-blog-body p {
  font-size: 16px;
  margin-bottom: 24px;
}

.tk-blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.tk-blog-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tk-blog-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.tk-blog-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.tk-blog-author span {
  display: flex;
  font-size: 12px;
  color: #ff0000;
  line-height: 1.3;
  margin-top: 2px;
}

.tk-blog-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.tk-blog-cta:hover {
  color: var(--red-dark);
  gap: 12px;
}

.tk-blog-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.tk-blog-cta-row p {
  font-size: 16px;
  color: var(--ink-2);
  margin: 0;
  max-width: 48ch;
}

@media (max-width: 991.98px) {
  .tk-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tk-blog-card--feature {
    grid-column: span 2;
  }
}

@media (max-width: 767.98px) {
  .tk-blog-grid {
    grid-template-columns: 1fr;
  }
  .tk-blog-card--feature {
    grid-column: span 1;
    flex-direction: column;
  }
  .tk-blog-card--feature .tk-blog-media {
    aspect-ratio: 16 / 9;
    min-height: auto;
  }
  .tk-blog-card--feature .tk-blog-body {
    padding: 24px 24px 26px;
  }
  .tk-blog-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Quando NÃO há artigo publicado em destaque, o card "nota" ocupa
   100% da largura disponível do container. */
.tk-blog-grid--solo {
  display: block;
}

.tk-blog-grid--solo .tk-blog-card--note {
  width: 100%;
}

.tk-blog-grid--solo .tk-blog-note-quote {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.45;
}

.tk-blog-grid--solo .tk-blog-note-foot p {
  font-size: 15px;
}


/* =============================================================
   19. Blog — página de listagem (blog.html)
   ============================================================= */
.tk-blog-page {
  padding-top: 24px;
  padding-bottom: 96px;
  background: var(--paper);
}

.tk-blog-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.tk-blog-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 18ch;
}

.tk-blog-hero p.tk-legal-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 64ch;
  margin: 0;
}

.tk-blog-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 28px;
}

.tk-blog-filters .label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-right: 4px;
}

.tk-blog-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.tk-blog-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.tk-blog-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.tk-blog-chip .count {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.7;
}

.tk-blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tk-blog-search {
  position: relative;
  flex: 0 0 320px;
  max-width: 100%;
}

.tk-blog-search input {
  width: 100%;
  padding: 11px 14px 11px 42px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.tk-blog-search input::placeholder {
  color: var(--ink-3);
}

.tk-blog-search input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(235, 1, 2, 0.12);
}

.tk-blog-search .ic {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  display: inline-flex;
}

.tk-blog-listing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tk-blog-result-info {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0 0 22px;
}

.tk-blog-result-info strong {
  color: var(--ink);
  font-weight: 600;
}

.tk-blog-empty {
  text-align: center;
  padding: 64px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--paper-2);
  color: var(--ink-2);
}

.tk-blog-empty h3 {
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--ink);
}

.tk-blog-empty p {
  margin: 0;
  font-size: 14px;
}

.tk-blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.tk-blog-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.tk-blog-page-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.tk-blog-page-btn.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.tk-blog-page-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .tk-blog-listing {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .tk-blog-listing {
    grid-template-columns: 1fr;
  }
  .tk-blog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .tk-blog-search {
    flex: 1 1 auto;
  }
}


/* =============================================================
   20. Artigo — página de leitura (artigo.html)
   ============================================================= */
.tk-article-page {
  background: var(--paper);
  padding-top: 24px;
  padding-bottom: 96px;
}

.tk-article-hero {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.tk-article-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: 22px;
}

.tk-article-crumbs a {
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.15s ease;
}

.tk-article-crumbs a:hover {
  color: var(--red);
}

.tk-article-crumbs .sep {
  opacity: 0.6;
}

.tk-article-crumbs .current {
  color: var(--ink);
  font-weight: 600;
  max-width: 50ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tk-article-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(235, 1, 2, 0.08);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  margin-bottom: 20px;
}

.tk-article-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 22px;
  max-width: 22ch;
  text-wrap: balance;
}

.tk-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  font-size: 14px;
  color: var(--ink-2);
}

.tk-article-meta .dot {
  color: var(--line-strong);
}

.tk-article-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.tk-article-author-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tk-article-author-inline .tk-blog-avatar {
  width: 32px;
  height: 32px;
  font-size: 11px;
}

.tk-article-meta-divider {
  width: 1px;
  height: 18px;
  background: var(--line-strong);
}

.tk-article-cover {
  margin: 40px 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.tk-article-cover img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 520px;
}

.tk-article-cover figcaption {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--ink-3);
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.tk-article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  margin-top: 56px;
}

.tk-article-toc {
  position: sticky;
  top: 110px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 20px 16px;
}

.tk-article-toc h2 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.tk-article-toc.has-active h2 {
  color: var(--red);
}

.tk-article-toc .tk-article-toc-active {
  display: block;
  margin: 6px 0 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
  min-height: 18px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tk-article-toc.has-active .tk-article-toc-active {
  opacity: 1;
}

.tk-article-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
}

.tk-article-toc ol li {
  counter-increment: toc;
}

.tk-article-toc a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 4px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
  border-left: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tk-article-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  min-width: 22px;
  flex-shrink: 0;
}

.tk-article-toc a:hover {
  background: #fff;
  color: var(--ink);
}

.tk-article-toc a.is-active {
  background: #fff;
  color: var(--red);
  border-left-color: var(--red);
  border-left-width: 3px;
  font-weight: 700;
  padding-left: 9px;
}

.tk-article-toc a.is-active::before {
  color: var(--red);
}

.tk-article-content {
  max-width: 760px;
}

.tk-article-content section {
  scroll-margin-top: 110px;
  padding: 24px 0 32px;
  border-bottom: 1px solid #f0f0f0;
}

.tk-article-content section > h2[id] {
  scroll-margin-top: 110px;
}

.tk-article-content section:last-of-type {
  border-bottom: none;
}

.tk-article-content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.018em;
  margin: 0 0 18px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.tk-article-content h2 .num {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.04em;
}

.tk-article-content h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 10px;
}

.tk-article-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 18px;
}

.tk-article-content p strong {
  color: var(--ink);
  font-weight: 600;
}

.tk-article-content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(235, 1, 2, 0.4);
  transition: text-decoration-color 0.15s ease;
}

.tk-article-content a:hover {
  text-decoration-color: var(--red);
}

.tk-article-content ul,
.tk-article-content ol {
  margin: 0 0 22px 22px;
  padding: 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
}

.tk-article-content ul li,
.tk-article-content ol li {
  margin-bottom: 8px;
}

.tk-article-content blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--red);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.tk-article-content blockquote p {
  font-size: inherit;
  color: inherit;
  margin: 0;
}

.tk-article-callout {
  margin: 28px 0;
  padding: 22px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  border-left: 3px solid var(--red);
}

.tk-article-callout h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.tk-article-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}

.tk-article-callout p + p {
  margin-top: 10px;
}

.tk-article-data {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0 28px;
  padding: 24px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.tk-article-data .data-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

.tk-article-data .data-item .label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tk-article-data .data-item .value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.018em;
  line-height: 1.1;
}

.tk-article-data .data-item .value .delta {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  margin-left: 6px;
}

.tk-article-data .data-item .value .delta.is-positive {
  color: #16a34a;
}

.tk-article-data .data-item .desc {
  font-size: 12px;
  color: var(--ink-3);
}

.tk-article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.tk-article-table th,
.tk-article-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.tk-article-table th {
  background: #fafafa;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.tk-article-table tbody tr:last-child td {
  border-bottom: none;
}

.tk-article-table td strong {
  color: var(--ink);
  font-weight: 600;
}

.tk-article-table td .delta-pos {
  color: #16a34a;
  font-weight: 600;
}

.tk-article-table td .delta-neg {
  color: var(--red);
  font-weight: 600;
}

.tk-article-author-box {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 48px 0 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper-2);
}

.tk-article-author-box .tk-blog-avatar {
  width: 56px;
  height: 56px;
  font-size: 16px;
  flex-shrink: 0;
}

.tk-article-author-box .info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.tk-article-author-box .info p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

.tk-article-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 36px 0 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.tk-article-share {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tk-article-share span {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-right: 4px;
}

.tk-article-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.tk-article-share a:hover {
  border-color: var(--red);
  color: var(--red);
}

.tk-article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.18s ease, gap 0.18s ease;
}

.tk-article-back:hover {
  color: var(--red);
  gap: 12px;
}

.tk-article-related {
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.tk-article-related h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 32px;
  letter-spacing: -0.018em;
}

.tk-article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 991.98px) {
  .tk-article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tk-article-toc {
    position: static;
    padding: 18px;
  }
  .tk-article-toc ol {
    max-height: none;
  }
  .tk-article-content section {
    scroll-margin-top: 90px;
  }
  .tk-article-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================================
   Mobile (≤ 767.98px) — ajustes de leitura confortável, sem
   scroll horizontal e com sumário sempre visível.

   Pontos de atenção:
   - O sumário (.tk-article-toc) deixa de ser sidebar vertical e vira
     uma barra horizontal de "chips" sticky logo abaixo da navbar.
   - O scroll-margin-top das seções considera navbar + sumário.
   - A tabela recebe um wrapper com overflow-x:auto (definido em HTML)
     para não estourar a viewport.
   - O JS publica a altura real da navbar em --nav-h; o sticky do
     sumário usa essa variável para não cobrir o conteúdo.
   ============================================================= */
@media (max-width: 767.98px) {
  .tk-article-page {
    padding-top: 16px;
    padding-bottom: 64px;
  }

  /* Hero — menos respiro vertical, tipografia reduzida */
  .tk-article-hero {
    padding: 28px 0 22px;
    margin-bottom: 22px;
  }

  .tk-article-hero h1 {
    font-size: clamp(24px, 7vw, 30px);
    margin: 0 0 16px;
  }

  .tk-article-crumbs {
    font-size: 11px;
    gap: 6px;
    margin-bottom: 16px;
  }

  /* Em mobile o título da trilha é longo (nome do artigo); deixa quebrar
     em vez de cortar com ellipsis, evitando overflow horizontal. */
  .tk-article-crumbs .current {
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.35;
  }

  .tk-article-category {
    padding: 5px 10px;
    font-size: 10px;
    margin-bottom: 14px;
  }

  /* Meta — mais compacta e sem os divisores quebravam em linha sozinha */
  .tk-article-meta {
    font-size: 13px;
    gap: 8px 14px;
  }

  .tk-article-author-inline .tk-blog-avatar {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  .tk-article-meta-divider {
    display: none;
  }

  /* Cover image */
  .tk-article-cover {
    margin: 24px 0 0;
    border-radius: var(--r-md);
  }

  .tk-article-cover img {
    max-height: 320px;
  }

  .tk-article-cover figcaption {
    padding: 10px 14px;
    font-size: 12px;
    line-height: 1.4;
  }

  /* Layout — gap reduzido pois o sumário virou sticky bar */
  .tk-article-layout {
    margin-top: 20px;
    gap: 0;
  }

  /* ===== Sumário sticky (chips horizontais) =====
     A barra gruda abaixo da navbar e fica visível em toda a leitura.
     O item ativo é destacado pelo JS de scroll-spy (.is-active).

     min-width:0 nos itens do grid e no <ol> é essencial: sem isso
     os chips "esticam" a coluna do grid e causam overflow horizontal
     (problema clássico de flex + overflow:auto). */
  .tk-article-layout > .tk-article-toc,
  .tk-article-layout > .tk-article-content {
    min-width: 0;             /* libera o encolhimento dentro do grid 1fr */
  }

  .tk-article-toc {
    position: sticky;
    top: var(--nav-h, 72px);
    z-index: 999;
    margin: 0 -20px;          /* encosta nas bordas da viewport */
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: 0 4px 14px rgba(23, 24, 26, 0.04);
    /* blindagem extra contra estouro (caso algum ancestral
       tenha overflow visível em uma direção) */
    max-width: 100vw;
    overflow: hidden;
  }

  .tk-article-toc h2 {
    /* cabeçalho "Neste relatório" some no chip-bar para ganhar espaço */
    display: none;
  }

  .tk-article-toc ol {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;             /* permite encolher para ativar o scroll-x */
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 20px;        /* alinha com o container no scroll lateral */
    margin: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .tk-article-toc ol::-webkit-scrollbar {
    display: none;
  }

  .tk-article-toc ol li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .tk-article-toc a {
    padding: 7px 13px;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--ink-2);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    border-left: 0;
    gap: 6px;
    white-space: nowrap;
  }

  /* No chip-bar não mostramos o contador numérico (sem espaço) */
  .tk-article-toc a::before {
    display: none;
  }

  .tk-article-toc a:hover {
    background: #fff;
    color: var(--ink);
    border-color: var(--line-strong);
  }

  /* Item ativo — preenchimento vermelho para destaque imediato durante a leitura */
  .tk-article-toc a.is-active {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    border-left: 0;
    font-weight: 600;
  }

  /* Conteúdo — abaixo da barra sticky (navbar + toc) */
  .tk-article-content {
    padding-top: 16px;
  }

  .tk-article-content section {
    padding: 18px 0 22px;
    /* Compensa navbar (--nav-h) + altura do chip-bar (~50px) no scrollIntoView */
    scroll-margin-top: calc(var(--nav-h, 72px) + 54px);
  }

  .tk-article-content h2 {
    font-size: clamp(20px, 5.5vw, 24px);
    margin: 0 0 14px;
  }

  .tk-article-content h3 {
    font-size: 16px;
    margin: 22px 0 8px;
  }

  .tk-article-content p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 14px;
  }

  .tk-article-content ul,
  .tk-article-content ol {
    margin: 0 0 18px 20px;
    font-size: 15px;
    line-height: 1.65;
  }

  .tk-article-content blockquote {
    font-size: 17px;
    padding: 4px 0 4px 18px;
    margin: 22px 0;
  }

  .tk-article-callout {
    padding: 16px 18px;
    margin: 20px 0;
  }

  .tk-article-callout h4 {
    font-size: 12px;
    margin: 0 0 6px;
  }

  .tk-article-callout p {
    font-size: 14px;
    line-height: 1.55;
  }

  /* Data grid — 1 coluna e mais enxuto */
  .tk-article-data {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 10px;
    margin: 18px 0 22px;
  }

  .tk-article-data .data-item {
    padding: 12px 14px;
  }

  .tk-article-data .data-item .value {
    font-size: 20px;
  }

  .tk-article-data .data-item .value .delta {
    font-size: 13px;
  }

  /* Wrapper de scroll horizontal para a tabela (definido em HTML).
     O min-width do .tk-article-table força o scroll sem distorcer
     o layout de 5 colunas em telas estreitas. */
  .tk-article-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px -20px;
    padding: 0 20px;
  }

  .tk-article-table {
    min-width: 520px;
    font-size: 13px;
    margin: 0;
    border-radius: var(--r-md);
  }

  .tk-article-table th,
  .tk-article-table td {
    padding: 9px 12px;
  }

  .tk-article-table th {
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  /* Caixa do autor */
  .tk-article-author-box {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
    margin: 36px 0 0;
    padding: 20px;
  }

  .tk-article-author-box .tk-blog-avatar {
    width: 48px;
    height: 48px;
    font-size: 15px;
  }

  /* Compartilhar / voltar */
  .tk-article-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin: 28px 0 0;
    padding: 16px 0;
  }

  /* Relacionados */
  .tk-article-related {
    margin-top: 56px;
    padding-top: 40px;
  }

  .tk-article-related h2 {
    margin-bottom: 22px;
  }

  .tk-article-related-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Quando o cookie banner aparece no mobile, ele já cuida do
     padding-bottom via classe .tk-cookies-visible; nada a fazer. */
}

/* Tablets em pé (768px–991.98px) — tablet ainda usa o layout de 2
   colunas no desktop, então a sidebar nativa continua sticky. Apenas
   ajustamos o scroll-margin das seções para considerar a navbar. */
@media (min-width: 768px) and (max-width: 991.98px) {
  .tk-article-content section {
    scroll-margin-top: 90px;
  }
}


/* Card "em construção" — versão lateral sem link, só conteúdo explicativo.
   Diferencia-se do card de artigo por:
   - fundo paper-2 (claro) em vez de branco
   - sem .tk-blog-media (não tem imagem)
   - sem hover (não é clicável)
   - tipografia com mais respiro, peso de "manifesto" */
.tk-blog-card--note {
  background: var(--paper-2);
  border-style: dashed;
  border-color: var(--line-strong);
  cursor: default;
}

.tk-blog-card--note:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line-strong);
}

.tk-blog-card--note .tk-blog-note-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 30px;
  height: 100%;
  justify-content: space-between;
}
.tk-blog-note-quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
  /* aspas grandes decorativas */
  position: relative;
  padding-top: 28px;
}

.tk-blog-note-quote::before {
  content: "\201C";
  position: absolute;
  top: -8px;
  left: -2px;
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--red);
  font-weight: 700;
  pointer-events: none;
}

.tk-blog-note-foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.tk-blog-note-line {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.tk-blog-note-foot p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}

.tk-blog-note-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  padding: 9px 16px;
  border: 1px solid var(--red);
  border-radius: var(--r-md);
  transition: background 0.2s ease, color 0.2s ease, gap 0.2s ease;
}

.tk-blog-note-cta:hover {
  background: var(--red);
  color: #fff;
  gap: 12px;
}

/* Em mobile, mantém a ordem natural do grid: card em destaque em cima,
   card "em construção" embaixo. */
@media (max-width: 767.98px) {
  .tk-blog-card--note .tk-blog-note-inner {
    padding: 24px 22px;
  }

  .tk-blog-note-quote {
    font-size: 17px;
    padding-top: 22px;
  }

  .tk-blog-note-quote::before {
    font-size: 44px;
    top: -6px;
  }
}


/* =============================================================
   21. Cookies — banner de consentimento fixo no rodapé
   ============================================================= */
.tk-cookies {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080; /* acima da navbar fixa (1000) e dos dropdowns Bootstrap */
  background: #0d0e11;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.18);
  animation: tk-cookies-in 0.35s ease-out;
}

.tk-cookies[hidden] {
  display: none;
}

.tk-cookies-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.tk-cookies-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92) !important;
  max-width: 78ch;
}

.tk-cookies-text a {
  color: #eb0102;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 0.15s ease;
}

.tk-cookies-text a:hover,
.tk-cookies-text a:focus-visible {
  color: #ff3a3b;
}

.tk-cookies-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.tk-cookies-btn {
  appearance: none;
  border: 0;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.tk-cookies-btn--primary {
  background: #eb0102;
  color: #fff;
}

.tk-cookies-btn--primary:hover,
.tk-cookies-btn--primary:focus-visible {
  background: #b40001;
  transform: translateY(-1px);
}

.tk-cookies-btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.tk-cookies-btn--ghost:hover,
.tk-cookies-btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.tk-cookies-btn:focus-visible {
  outline: 2px solid #eb0102;
  outline-offset: 2px;
}

@keyframes tk-cookies-in {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Em telas estreitas empilha texto e botões para não cortar o aviso. */
@media (max-width: 720px) {
  .tk-cookies-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px 0;
  }

  .tk-cookies-text {
    font-size: 13px;
    text-align: left;
  }

  .tk-cookies-actions {
    width: 100%;
  }

  .tk-cookies-btn {
    flex: 1;
    text-align: center;
  }
}

/* Compensa o banner fixo no body quando ele está visível, para que o
   conteúdo do final da página não fique escondido atrás do aviso.
   A classe é adicionada pelo loader junto com a remoção do atributo hidden. */
body.tk-cookies-visible {
  padding-bottom: 96px;
}

@media (max-width: 720px) {
  body.tk-cookies-visible {
    padding-bottom: 200px;
  }
}

/*
 * Modal de video dos depoimentos. Abre em fullscreen overlay com um
 * cabecalho (titulo dinamico + botao fechar) e o player de video
 * centralizado. O backdrop recebe o clique para fechar (UX de modal
 * padrao). O atributo `hidden` esconde o conteudo sem tirar do fluxo
 * do leitor de tela quando o modal NAO esta aberto.
 */
.tk-video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.tk-video-modal.is-open {
  display: flex;
  animation: tk-video-modal-fade 0.18s ease-out;
}

@keyframes tk-video-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.tk-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.tk-video-modal-shell {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  background: #0e1014;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tk-video-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: #13161c;
  color: #f5f5f7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tk-video-modal-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #f0f0f0;
}

.tk-video-modal-close {
  appearance: none;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #f5f5f7;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.tk-video-modal-close:hover,
.tk-video-modal-close:focus-visible {
  background: rgba(235, 1, 2, 0.85);
  outline: none;
  transform: scale(1.05);
}

.tk-video-modal-frame {
  position: relative;
  width: 100%;
  background: #000;
  /* Aspect ratio 16:9 deixa o player do tamanho do video sem sobrar
     barras estranhas em telas widescreen. */
  aspect-ratio: 16 / 9;
}

.tk-video-modal-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

@media (max-width: 640px) {
  .tk-video-modal {
    padding: 12px;
  }
  .tk-video-modal-head h3 {
    font-size: 14px;
  }
}


