/* ------------------------------------------------------------------
   Tauri Overnight — estilos complementares
   Prefixo .tv- para nao colidir com as utilitarias compiladas.
------------------------------------------------------------------ */

:root {
  --tv-gold: #cfa966;
  --tv-gold-bright: #e2c188;
  --tv-gold-dim: #9b7c45;
  --tv-navy: #0e1e32;
  --tv-navy-deep: #091524;
  --tv-navy-line: #21497b;
  --tv-ink: #0a0d12;
  --tv-fog: #a8b3c7;
  --tv-mist: #f2f5fa;
  --tv-slate: #6c7386;
}

/* Gestão recebe a hierarquia institucional antes reservada aos perfis. */
.tv-gestao {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(207, 169, 102, 0.28);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(33, 73, 123, 0.55), transparent 42%),
    linear-gradient(145deg, var(--tv-navy), var(--tv-navy-deep));
  box-shadow: 0 28px 70px -42px rgba(9, 21, 36, 0.9);
}

.tv-gestao .title-md,
.tv-gestao strong {
  color: #fff;
}

.tv-gestao li > span:last-child {
  color: var(--tv-fog);
}

.tv-gestao li > span:first-child {
  background: var(--tv-gold);
}

.tv-gestao li svg {
  color: var(--tv-navy);
}

/* Perfis em um único painel sobre a fotografia natural do Perfil 2. */
.tv-perfis-unico {
  display: flex;
  min-height: 780px;
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
  background-color: var(--tv-navy-deep);
  background-image: url("img/perfis-background-v3.webp");
  background-position: 16% center;
  background-size: auto 92%;
  background-repeat: no-repeat;
}

.tv-perfis-unico-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
}

.tv-perfis-unico-intro,
.tv-perfis-card-unico {
  width: min(100%, 42rem);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1.25rem;
  background: rgba(9, 21, 36, 0.9);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
}

.tv-perfis-unico-intro {
  padding: clamp(1.75rem, 4vw, 3rem);
}

.tv-perfis-unico-intro > span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--tv-gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.tv-perfis-unico-intro h2 {
  color: #fff;
}

.tv-perfis-unico-intro h2 strong {
  color: var(--tv-gold);
  font-weight: inherit;
}

.tv-perfis-unico-intro p {
  max-width: 30rem;
  margin-top: 1.25rem;
  color: var(--tv-fog);
  font-size: 0.95rem;
  line-height: 1.7;
}

.tv-perfis-card-unico {
  overflow: hidden;
}

.tv-perfil-linha {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
}

.tv-perfil-linha + .tv-perfil-linha {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tv-perfil-linha > span {
  color: var(--tv-gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.tv-perfil-linha h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.tv-perfil-linha p {
  margin-top: 0.5rem;
  color: var(--tv-fog);
  font-size: 0.82rem;
  line-height: 1.6;
}

.tv-perfis-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 1.5rem 1.5rem;
  padding: 0.9rem 1.2rem;
  border-radius: 0.65rem;
  color: var(--tv-navy);
  background: var(--tv-gold);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.tv-perfis-card-cta:hover {
  background: var(--tv-gold-bright);
}

@media (max-width: 899px) {
  .tv-perfis-unico {
    min-height: 0;
    padding-top: 22rem;
    padding-bottom: 3.5rem;
    background-position: 34% top;
    background-size: auto 19rem;
  }

  .tv-perfis-unico-grid { align-items: stretch; }
}

.tv-hero-subtitle {
  margin-top: 1.5rem;
  max-width: 40rem;
  font-size: clamp(0.95rem, 1.35vw, 1.125rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--tv-fog);
}

/* ==================================================================
   CTAs reutilizaveis (hero, secoes claras e linha de destaque)
   ================================================================== */

.tv-cta-principal,
.tv-cta-secundario {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  border-radius: 0.65rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tv-cta-principal {
  color: var(--tv-navy);
  background: var(--tv-gold);
  border: 1px solid var(--tv-gold);
}

.tv-cta-principal:hover {
  background: var(--tv-gold-bright);
  border-color: var(--tv-gold-bright);
}

.tv-cta-secundario {
  color: var(--tv-gold);
  background: transparent;
  border: 1px solid rgba(207, 169, 102, 0.5);
}

.tv-cta-secundario:hover {
  color: var(--tv-navy);
  background: var(--tv-gold);
  border-color: var(--tv-gold);
}

.tv-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.25rem;
}

/* Repeticao do CTA ao fim de uma secao clara. */
.tv-cta-linha {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

/* Frase de fechamento da jornada: uma linha unica com o CTA embaixo. */
.tv-linha-destaque {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(14, 30, 50, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}

.tv-linha-destaque p {
  max-width: 62rem;
  color: #152e4d;
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.tv-linha-destaque em {
  font-style: italic;
}

/* Faixa de newsletter clara acima do rodape escuro. */
.tv-newsletter {
  background: #fff;
  color: var(--tv-navy);
}

@media (max-width: 639px) {
  .tv-hero-ctas > a,
  .tv-cta-linha > a,
  .tv-linha-destaque > a {
    width: 100%;
  }
}

/* o atributo hidden precisa vencer as utilitarias de display */
[hidden] {
  display: none !important;
}

/* ==================================================================
   1. Paineis de imagem (Como a operacao e construida)
   ================================================================== */

.tv-media {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}

.tv-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.06) saturate(1.04);
  transform: scale(1.03);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.group:hover .tv-media img {
  transform: scale(1.09);
}

/* Pontos focais específicos para os recortes verticais das etapas 3 e 4. */
.tv-media .tv-img-cofre {
  object-position: 44% 50%;
}

.tv-media .tv-img-carimbo {
  object-position: 0% 62%;
}

.tv-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(20, 26, 34, 0.72) 0%, rgba(20, 26, 34, 0.2) 26%, transparent 52%),
    linear-gradient(180deg, transparent 58%, rgba(10, 13, 18, 0.38) 100%),
    radial-gradient(100% 70% at 85% 10%, rgba(207, 169, 102, 0.14), transparent 62%);
  transition: opacity 0.5s ease;
}

.group:hover .tv-media::after {
  opacity: 0.75;
}

/* empilhado, a foto fica ABAIXO do texto: o degrade tem que vir de cima,
   nao da esquerda, e o painel precisa de mais altura porque as fotos
   dessa secao sao verticais. */
@media (max-width: 639px) {
  /* zero recorte: a imagem volta ao fluxo e a altura do painel passa a ser
     a altura natural dela na largura do card. sem cover, sem aspect-ratio
     fixo — cada foto aparece inteira, na propria proporcao. */
  .tv-media {
    min-height: 0;
  }

  .tv-media img {
    position: static;
    width: 100%;
    height: auto;
    transform: none;
  }

  /* o scale de hover recortaria as bordas (e gruda apos o toque) */
  .group:hover .tv-media img {
    transform: none;
  }

  /* degrade so o suficiente para casar com o texto acima */
  .tv-media::after {
    background:
      linear-gradient(180deg, rgba(20, 26, 34, 0.55) 0%, rgba(20, 26, 34, 0.12) 18%, transparent 38%),
      linear-gradient(0deg, rgba(10, 13, 18, 0.28) 0%, transparent 24%);
  }
}

/* ==================================================================
   1b. Logotipos
   ================================================================== */

.tv-logo-header {
  height: 2.25rem;
  width: auto;
}

@media (min-width: 768px) {
  .tv-logo-header {
    height: 2.75rem;
  }
}

/* em coluna flex o item estica no eixo cruzado e deforma a imagem;
   width/height explicitos + self-start seguram a proporcao */
.tv-logo-footer {
  height: 1.75rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ==================================================================
   2. A quem a estrutura se destina — cards
   ================================================================== */

/* sem a animacao a secao nao precisa mais de folga para rolagem:
   encurtei respiro do topo, do rodape e entre os cards */
.tv-perfis-sec {
  padding-top: 4rem;
}

.tv-perfis-wrap {
  margin-top: 2rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .tv-perfis-sec {
    padding-top: 5rem;
  }

  .tv-perfis-wrap {
    margin-top: 2.5rem;
    padding-bottom: 5rem;
  }
}

.tv-perfil-bloco {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .tv-perfil-bloco {
    margin-bottom: 1.25rem;
  }
}

.tv-perfil-bloco:last-child {
  margin-bottom: 0;
}

.tv-perfis-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.tv-perfil {
  overflow: hidden;
  border-radius: var(--radius-card, 1.25rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--tv-navy-deep);
  box-shadow: 0 -8px 40px -12px rgba(0, 0, 0, 0.8), 0 26px 60px -30px rgba(0, 0, 0, 0.9);
}

.tv-perfil-head {
  position: relative;
  padding: 1.35rem 1.75rem;
  background: var(--tv-navy-deep);
}

@media (min-width: 768px) {
  .tv-perfil-head {
    padding: 1.5rem 2.5rem;
  }
}

.tv-perfil-head::after {
  content: "";
  position: absolute;
  inset-inline: 1.75rem;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(207, 169, 102, 0.45), rgba(255, 255, 255, 0.06));
}

@media (min-width: 768px) {
  .tv-perfil-head::after {
    inset-inline: 2.5rem;
  }
}

.tv-perfil-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(207, 169, 102, 0.85);
}

.tv-perfil-title {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .tv-perfil-title {
    font-size: 1.35rem;
    line-height: 1.18;
  }
}

.tv-perfil-body {
  display: grid;
  gap: 0;
}

@media (min-width: 768px) {
  .tv-perfil-body {
    grid-template-columns: 1.15fr 1fr;
  }
}

.tv-perfil-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem;
}

@media (min-width: 768px) {
  .tv-perfil-text {
    padding: 1.75rem 2.5rem 2.25rem;
  }
}

.tv-perfil-figure {
  position: relative;
  overflow: hidden;
  min-height: 240px;
}

/* painel mais alto = recorte vertical menor = cabeca inteira */
@media (min-width: 768px) {
  .tv-perfil-figure {
    min-height: 320px;
  }
}

.tv-perfil-figure img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.88) sepia(0.3) saturate(0.9) hue-rotate(354deg) brightness(0.82) contrast(1.08);
}

.tv-perfil-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(207, 169, 102, 0.2);
  mix-blend-mode: color;
}

.tv-perfil-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(100deg, var(--tv-navy-deep) 0%, rgba(9, 21, 36, 0.5) 16%, rgba(9, 21, 36, 0.06) 42%, transparent 62%),
    linear-gradient(200deg, rgba(207, 169, 102, 0.12), transparent 58%);
}

@media (prefers-reduced-motion: reduce) {
  .tv-faq-a,
  .tv-media img,
  .tv-media::after {
    transition: none;
  }
}

/* ==================================================================
   2b. Citacao (historia do Overnight) e ilustracao do Family Office
   ================================================================== */

/* silhueta como marca d'agua, atras do texto centralizado */
.tv-einstein {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  z-index: 0;
  width: min(46rem, 128%);
  height: auto;
  transform: translateX(-50%);
  opacity: 0.17;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 90%);
}

@media (max-width: 767px) {
  .tv-einstein {
    top: 3rem;
    width: 150%;
    opacity: 0.13;
  }
}

.tv-historia {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  max-width: 46rem;
  text-align: center;
}

.tv-historia p {
  text-wrap: pretty;
}

/* citacao centralizada, fechando a secao */
.tv-citacao {
  position: relative;
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(14, 30, 50, 0.14);
}

.tv-citacao-aspas {
  display: block;
  font-size: 3rem;
  line-height: 0.5;
  font-weight: 700;
  color: var(--tv-gold-dim);
  opacity: 0.5;
}

.tv-citacao blockquote p {
  margin-top: 1.25rem;
  margin-inline: auto;
  max-width: 34rem;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--tv-navy);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .tv-citacao blockquote p {
    font-size: 1.375rem;
  }
}

.tv-citacao figcaption {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--tv-slate);
}

.tv-citacao figcaption strong {
  font-weight: 600;
  color: var(--tv-gold-dim);
}

/* grid proprio: classes arbitrarias novas do Tailwind nao existem
   no CSS ja compilado, entao a coluna precisa ser definida aqui */
.tv-mfo-grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .tv-mfo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Painel fotografico do MFO. */
.tv-geracoes {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.tv-geracoes-foto {
  aspect-ratio: 6 / 5;
  background-color: var(--tv-navy-deep);
  background-image: url("img/multi-family-office.webp");
  background-size: cover;
  background-position: 50% 32%;
}

/* MFO imersivo: último capítulo antes do rodapé. */
.tv-mfo-section {
  display: flex;
  min-height: 100svh;
  align-items: center;
  padding-block: clamp(6rem, 12vh, 10rem);
  background: var(--tv-ink);
}

.tv-mfo-overlay { position: absolute; inset: 0; }
.tv-mfo-overlay {
  background: radial-gradient(circle at 80% 35%, rgba(33,73,123,.24), transparent 42%);
}
.tv-mfo-content { display: grid; width: 100%; align-items: center; gap: 3rem; }
.tv-mfo-copy { max-width: 43rem; }
.tv-mfo-kicker, .tv-mfo-modal-kicker { display: block; color: var(--tv-gold); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.tv-mfo-content h2 { margin-top: 1rem; color: #fff; font-size: clamp(2.75rem,6vw,5.25rem); font-weight: 500; line-height: .96; letter-spacing: -.05em; text-wrap: balance; }
.tv-mfo-content h2 span { color: var(--tv-gold); }
.tv-mfo-lead { margin-top: 2rem; max-width: 38rem; color: rgba(255,255,255,.76); font-size: clamp(1rem,1.5vw,1.15rem); line-height: 1.75; }
.tv-mfo-pillars { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.tv-mfo-pillars span { padding: .55rem .85rem; border: 1px solid rgba(207,169,102,.28); border-radius: 999px; color: rgba(255,255,255,.78); background: rgba(9,21,36,.48); font-size: .75rem; backdrop-filter: blur(10px); }
.tv-mfo-cta { margin-top: 2.5rem; padding: 1rem 1.5rem; border: 1px solid var(--tv-gold); border-radius: .65rem; color: var(--tv-gold-bright); background: var(--tv-navy-deep); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.tv-mfo-cta:hover { color: var(--tv-navy-deep); background: var(--tv-gold-bright); transform: translateY(-2px); }

.tv-hero-title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
}

.tv-mfo-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.tv-mfo-modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(3,8,14,.82); backdrop-filter: blur(12px); cursor: default; }
.tv-mfo-modal-panel { position: relative; width: min(100%,34rem); max-height: calc(100svh - 2rem); overflow-y: auto; padding: clamp(1.5rem,4vw,2.75rem); border: 1px solid rgba(207,169,102,.3); border-radius: 1.25rem; color: #fff; background: linear-gradient(145deg,#10233b,var(--tv-navy-deep)); box-shadow: 0 35px 100px rgba(0,0,0,.65); }
.tv-mfo-modal-close { position: absolute; top: 1rem; right: 1rem; display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #fff; background: rgba(255,255,255,.06); cursor: pointer; }
.tv-mfo-modal-close svg { width: 1.1rem; height: 1.1rem; }
.tv-mfo-modal-panel h2 { margin-top: .75rem; padding-right: 2rem; font-size: clamp(1.75rem,4vw,2.5rem); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.tv-mfo-modal-panel > p { margin-top: 1rem; color: var(--tv-fog); font-size: .9rem; line-height: 1.65; }
.tv-mfo-form { display: grid; gap: .9rem; margin-top: 1.5rem; }
.tv-mfo-form label { display: block; margin-bottom: .35rem; color: rgba(255,255,255,.72); font-size: .7rem; }
.tv-mfo-form input { width: 100%; padding: .85rem .95rem; border: 1px solid rgba(255,255,255,.15); border-radius: .65rem; color: #fff; background: rgba(255,255,255,.06); outline: none; }
.tv-mfo-form input:focus { border-color: var(--tv-gold); }
.tv-mfo-form button[type="submit"] { margin-top: .35rem; padding: .95rem 1.2rem; border: 0; border-radius: .65rem; color: var(--tv-navy); background: var(--tv-gold); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.tv-mfo-form small { color: rgba(255,255,255,.48); font-size: .63rem; line-height: 1.5; }
.tv-mfo-form small a { text-decoration: underline; }
.tv-mfo-form-error { color: #fecaca; font-size: .75rem; }
.tv-mfo-form-success { margin-top: 1.5rem; padding: 1.25rem; border: 1px solid rgba(207,169,102,.3); border-radius: .8rem; background: rgba(207,169,102,.1); }
.tv-mfo-form-success strong { color: var(--tv-gold-bright); }
.tv-mfo-form-success p { margin-top: .35rem; color: var(--tv-fog); font-size: .85rem; }

@media (max-width: 767px) {
  .tv-mfo-content h2 { font-size: clamp(2.5rem,12vw,4rem); }
}

@media (min-width: 1024px) {
  .tv-mfo-section { padding-block: 0; }
  .tv-mfo-content {
    min-height: 100svh;
    max-width: none;
    padding-inline: 0;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .tv-mfo-copy {
    max-width: none;
    padding-left: max(1.5rem, calc((100vw - 78rem) / 2 + 1.5rem));
    padding-right: clamp(3rem, 6vw, 7rem);
  }
  .tv-geracoes {
    align-self: stretch;
    min-height: 100svh;
  }
  .tv-geracoes-foto {
    width: 100%;
    height: 100%;
    min-height: 100svh;
    aspect-ratio: auto;
    background-position: 58% center;
  }
}

/* frestas do grid nas secoes claras (equivale ao bg-white/[0.06] das escuras) */
.tv-grade-clara {
  background-color: rgba(14, 30, 50, 0.1);
}

/* ==================================================================
   3. FAQ em acordeao
   ================================================================== */

.tv-faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 60rem;
}

.tv-faq-item {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(14, 30, 50, 0.1);
  background: #fff;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.tv-faq-item:hover {
  border-color: rgba(14, 30, 50, 0.2);
}

.tv-faq-item.is-open {
  border-color: rgba(155, 124, 69, 0.45);
  background: var(--tv-mist);
  box-shadow: 0 18px 40px -28px rgba(14, 30, 50, 0.55);
}

.tv-faq-a ul {
  margin: -0.35rem 1.5rem 1.5rem;
  padding-left: 1.2rem;
  list-style: disc;
  max-width: 52rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--tv-slate);
}

.tv-faq-a li + li {
  margin-top: 0.65rem;
}

.tv-faq-a strong {
  font-weight: 600;
  color: var(--tv-navy);
}

@media (min-width: 768px) {
  .tv-faq-a ul {
    margin-right: 1.75rem;
    margin-bottom: 1.75rem;
    margin-left: 1.75rem;
    font-size: 1rem;
  }
}

.tv-faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--tv-navy);
  background: none;
  border: 0;
  cursor: pointer;
}

@media (min-width: 768px) {
  .tv-faq-q {
    padding: 1.4rem 1.75rem;
    font-size: 1.0625rem;
  }
}

.tv-faq-q:focus-visible {
  outline: 2px solid var(--tv-gold-dim);
  outline-offset: -2px;
  border-radius: 1rem;
}

.tv-faq-item.is-open .tv-faq-q {
  color: var(--tv-gold-dim);
}

.tv-faq-icon {
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 30, 50, 0.18);
  transition: transform 0.3s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.tv-faq-item.is-open .tv-faq-icon {
  transform: rotate(135deg);
  border-color: transparent;
  background: var(--tv-gold);
}

.tv-faq-icon::before,
.tv-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.tv-faq-icon::before {
  width: 0.75rem;
  height: 1.5px;
}

.tv-faq-icon::after {
  width: 1.5px;
  height: 0.75rem;
}

.tv-faq-item.is-open .tv-faq-icon::before,
.tv-faq-item.is-open .tv-faq-icon::after {
  background: var(--tv-navy);
}

.tv-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s cubic-bezier(0.3, 0.8, 0.3, 1);
}

.tv-faq-item.is-open .tv-faq-a {
  grid-template-rows: 1fr;
}

.tv-faq-a > div {
  overflow: hidden;
  min-height: 0;
  visibility: hidden;
  transition: visibility 0s linear 0.34s;
}

.tv-faq-item.is-open .tv-faq-a > div {
  visibility: visible;
  transition-delay: 0s;
}

.tv-faq-a p {
  padding: 0 1.5rem 1.5rem;
  max-width: 52rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--tv-slate);
  text-wrap: pretty;
}

@media (min-width: 768px) {
  .tv-faq-a p {
    padding: 0 1.75rem 1.75rem;
    font-size: 1rem;
  }
}

.tv-no-js .tv-faq-a,
.tv-reduced .tv-faq-a {
  transition: none;
}

.tv-no-js .tv-faq-a {
  grid-template-rows: 1fr;
}

.tv-no-js .tv-faq-a > div {
  visibility: visible;
}

/* FAQ invertida */
.tv-faq-dark {
  color: #fff;
  background: #0a0d12;
}

.tv-faq-dark h2 { color: #fff; }
.tv-faq-dark h2 span { color: var(--tv-gold); }

.tv-faq-dark .tv-faq-item {
  border-color: rgba(255, 255, 255, 0.1);
  background: #111821;
}

.tv-faq-dark .tv-faq-item:hover {
  border-color: rgba(207, 169, 102, 0.38);
}

.tv-faq-dark .tv-faq-item.is-open {
  border-color: rgba(207, 169, 102, 0.5);
  background: #121e2c;
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.8);
}

.tv-faq-dark .tv-faq-q {
  color: rgba(255, 255, 255, 0.9);
}

.tv-faq-dark .tv-faq-item.is-open .tv-faq-q {
  color: var(--tv-gold-bright);
}

.tv-faq-dark .tv-faq-icon {
  border-color: rgba(255, 255, 255, 0.22);
}

.tv-faq-dark .tv-faq-a p,
.tv-faq-dark .tv-faq-a ul {
  color: var(--tv-fog);
}

.tv-faq-dark .tv-faq-a strong {
  color: var(--tv-gold-bright);
}

/* ==================================================================
   4. Imagem da secao de contato
   ================================================================== */

/* a foto vira o fundo da secao inteira */
.tv-contato-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.tv-contato-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: blur(1.5px) saturate(0.9) brightness(0.86);
  transform: none;
}

.tv-contato-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      92deg,
      var(--tv-navy-deep) 0%,
      rgba(9, 21, 36, 0.82) 36%,
      rgba(9, 21, 36, 0.48) 60%,
      rgba(9, 21, 36, 0.2) 84%,
      rgba(9, 21, 36, 0.12) 100%
    ),
    linear-gradient(180deg, rgba(9, 21, 36, 0.3) 0%, transparent 22%, transparent 78%, rgba(9, 21, 36, 0.3) 100%);
}

/* empilhado, o conteudo cobre toda a largura: o degrade vira vertical,
   mas sem apagar a foto — ela continua legivel atras do titulo. */
@media (max-width: 1023px) {
  .tv-contato-bg img {
    object-position: 78% center;
  }

  .tv-contato-bg::after {
    background: linear-gradient(
      180deg,
      rgba(9, 21, 36, 0.76) 0%,
      rgba(9, 21, 36, 0.66) 42%,
      rgba(9, 21, 36, 0.78) 100%
    );
  }
}

/* no celular a secao fica estreita e muito alta: o recorte horizontal e
   extremo, entao ancoro no predio em vez de meio rosto ampliado. */
@media (max-width: 767px) {
  .tv-contato-bg img {
    object-position: center top;
    filter: blur(1px) saturate(0.88) brightness(0.82);
    transform: none;
  }

  .tv-contato-bg::after {
    background: linear-gradient(
      180deg,
      rgba(9, 21, 36, 0.72) 0%,
      rgba(9, 21, 36, 0.8) 55%,
      rgba(9, 21, 36, 0.88) 100%
    );
  }
}

.tv-form-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95);
}

.tv-form-lamp {
  position: absolute;
  z-index: 4;
  top: 0;
  left: max(1rem, calc(50% - 46rem));
  width: clamp(17rem, 23vw, 22rem);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.38));
}

.tv-consultor-layout-section {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  padding-block: 5.5rem 4.5rem;
  color: var(--tv-navy);
  background: #f7f7f5;
}

.tv-contato-form-wrap {
  display: flex;
  min-height: 590px;
  align-items: center;
  justify-content: flex-end;
}

.tv-contato-heading {
  width: min(calc(100% - 15rem), 64rem);
  margin: 0 0 1.5rem auto;
}

.tv-contato-heading h2 {
  max-width: 58rem;
  color: var(--tv-navy);
  font-size: clamp(2.75rem, 4.8vw, 4.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.tv-contato-heading h2 span { color: var(--tv-gold-dim); }

.tv-contato-form-wrap .tv-form-card {
  width: min(calc(100% - 15rem), 64rem);
  min-height: 590px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--tv-navy);
  background: #e9eaeb;
  border-color: rgba(14, 30, 50, 0.1);
  box-shadow: 0 32px 70px -42px rgba(14, 30, 50, 0.48);
}

.tv-form-card-title {
  color: var(--tv-navy);
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.tv-form-card > p { color: var(--tv-slate); }
.tv-form-card input { background: rgba(255, 255, 255, 0.88); }
.tv-form-consent {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding-top: .5rem;
  color: rgba(14, 30, 50, 0.68);
  font-size: .72rem;
  line-height: 1.55;
  cursor: pointer;
}
.tv-form-consent input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  margin-top: .08rem;
  accent-color: var(--tv-gold-dim);
  cursor: pointer;
}
.tv-form-card [data-tv-form-sucesso] { color: var(--tv-navy); background: rgba(207, 169, 102, 0.12); }
.tv-form-card [data-tv-form-sucesso] p { color: var(--tv-navy); }

@media (max-width: 767px) {
  .tv-consultor-layout-section {
    min-height: 0;
    padding: 24rem 0 3.5rem;
  }

  .tv-form-lamp {
    right: auto;
    left: 50%;
    width: 15rem;
    transform: translateX(-50%);
    opacity: 1;
  }

  .tv-contato-heading { width: 100%; margin-bottom: 1.25rem; }
  .tv-contato-heading h2 { font-size: clamp(2.35rem, 11vw, 3.25rem); }
  .tv-contato-form-wrap { min-height: 0; }
  .tv-contato-form-wrap .tv-form-card { width: 100%; min-height: 0; }
}

/* ==================================================================
   5. Acesso direto ao WhatsApp
   ================================================================== */

.tv-topo {
  position: fixed;
  right: calc(1.25rem + env(safe-area-inset-right));
  bottom: calc(6rem + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(207, 169, 102, 0.55);
  border-radius: 999px;
  color: var(--tv-gold-bright);
  background: rgba(9, 21, 36, 0.94);
  box-shadow: 0 14px 32px -14px rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.75rem);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.tv-topo.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tv-topo:hover,
.tv-topo:focus-visible {
  color: var(--tv-navy);
  background: var(--tv-gold-bright);
}

.tv-topo:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.tv-topo svg {
  width: 1.35rem;
  height: 1.35rem;
}

.tv-whatsapp {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  width: 3.75rem;
  height: 3.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #fff;
  background: #25d366;
  box-shadow: 0 16px 35px -12px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.tv-whatsapp::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 0.75rem);
  width: max-content;
  padding: 0.6rem 0.85rem;
  border-radius: 0.65rem;
  color: #fff;
  background: var(--tv-navy-deep);
  box-shadow: 0 10px 25px -12px rgba(0, 0, 0, 0.8);
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateX(0.4rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tv-whatsapp:hover,
.tv-whatsapp:focus-visible {
  color: #fff;
  background: #1fbd59;
  box-shadow: 0 20px 42px -12px rgba(0, 0, 0, 0.7);
  transform: translateY(-2px);
}

.tv-whatsapp:hover::before,
.tv-whatsapp:focus-visible::before {
  opacity: 1;
  transform: translateX(0);
}

.tv-whatsapp:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.tv-whatsapp svg {
  width: 2rem;
  height: 2rem;
}

@media (max-width: 639px) {
  .tv-topo {
    right: calc(1rem + env(safe-area-inset-right));
    bottom: calc(5.5rem + env(safe-area-inset-bottom));
  }

  .tv-whatsapp {
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    width: 3.5rem;
    height: 3.5rem;
  }

  .tv-whatsapp::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tv-topo,
  .tv-whatsapp,
  .tv-whatsapp::before {
    transition: none;
  }
}

/* ==================================================================
   4b. Mobile — o conteudo empilha e os recortes mudam de eixo
   ================================================================== */

@media (max-width: 767px) {
  .tv-perfil-head {
    padding: 1.25rem 1.25rem 1.1rem;
  }

  .tv-perfil-head::after {
    inset-inline: 1.25rem;
  }

  .tv-perfil-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .tv-perfil-title {
    margin-top: 0.35rem;
    font-size: 1.02rem;
  }

  .tv-perfil-text {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  /* foto abaixo do texto: o degrade desce do topo */
  .tv-perfil-figure {
    min-height: 215px;
  }

  .tv-perfil-figure::after {
    background:
      linear-gradient(180deg, var(--tv-navy-deep) 0%, rgba(9, 21, 36, 0.45) 14%, rgba(9, 21, 36, 0.04) 38%, transparent 60%),
      linear-gradient(0deg, rgba(9, 21, 36, 0.3) 0%, transparent 26%);
  }
}

@media (max-width: 639px) {
  .tv-faq-q {
    gap: 0.9rem;
    padding: 1.05rem 1.15rem;
    font-size: 0.9375rem;
  }

  .tv-faq-icon {
    width: 1.6rem;
    height: 1.6rem;
  }

  .tv-faq-a p {
    padding: 0 1.15rem 1.15rem;
    font-size: 0.9rem;
  }
}

/* ==================================================================
   5. iPhone 17
   ================================================================== */

.tv-iphone {
  --tv-w: 250px;
  position: relative;
  width: var(--tv-w);
  margin-inline: auto;
  transform-style: preserve-3d;
  animation: phone-sway 11s ease-in-out infinite;
}

@media (min-width: 640px) {
  .tv-iphone {
    --tv-w: 276px;
  }
}

@media (min-width: 1024px) {
  .tv-iphone {
    --tv-w: 302px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tv-iphone {
    animation: none;
  }
}

/* corpo em titanio */
.tv-iphone-frame {
  position: relative;
  padding: calc(var(--tv-w) * 0.0125);
  border-radius: calc(var(--tv-w) * 0.185);
  background:
    linear-gradient(150deg, #6c6f76 0%, #babec7 9%, #4b4e55 22%, #9aa0aa 38%, #34373d 55%, #8f949e 72%, #3d4046 88%, #7d818a 100%);
  box-shadow:
    0 50px 90px -30px rgba(0, 0, 0, 0.95),
    0 0 0 0.5px rgba(255, 255, 255, 0.28),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.35);
}

.tv-iphone-bezel {
  position: relative;
  padding: calc(var(--tv-w) * 0.0115);
  border-radius: calc(var(--tv-w) * 0.173);
  background: #05070b;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12);
}

.tv-iphone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  border-radius: calc(var(--tv-w) * 0.162);
  background:
    radial-gradient(120% 60% at 50% 0%, #14304f 0%, transparent 55%),
    linear-gradient(180deg, #0b1a2c 0%, #091524 45%, #0a1729 100%);
  font-size: calc(var(--tv-w) * 0.0455);
  isolation: isolate;
}

/* brilho de vidro */
.tv-iphone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 24%, transparent 46%, rgba(255, 255, 255, 0.035) 78%, rgba(255, 255, 255, 0.09) 100%);
}

/* Dynamic Island */
.tv-island {
  position: absolute;
  z-index: 4;
  top: 0.72em;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 7.4em;
  height: 2.2em;
  padding-right: 0.55em;
  border-radius: 999px;
  background: #000;
}

.tv-island-cam {
  width: 0.78em;
  height: 0.78em;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 30%, #2b3d55 0%, #101a26 55%, #05080d 100%);
  box-shadow: inset 0 0 0 0.5px rgba(120, 150, 190, 0.5);
}

/* barra de status */
.tv-status {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15em 1.55em 0;
  color: #fff;
  font-size: 0.86em;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.tv-status-icons {
  display: flex;
  align-items: center;
  gap: 0.35em;
}

.tv-status-icons svg {
  display: block;
  height: 0.82em;
  width: auto;
}

/* conteudo do app */
.tv-app {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.82em;
  padding: 1.5em 1.05em 0;
  min-height: 0;
}

.tv-app-secao {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5em;
  padding-inline: 0.1em;
  font-size: 0.62em;
  color: rgba(255, 255, 255, 0.5);
}

.tv-app-secao span:first-child {
  font-size: 1.16em;
  font-weight: 600;
  color: #fff;
}

.tv-app-fill {
  flex: 1;
  min-height: 0.4em;
}

.tv-app-top {
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.tv-avatar {
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--tv-gold-bright), var(--tv-gold-dim));
  color: var(--tv-navy);
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tv-app-top-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.tv-app-top-txt small {
  font-size: 0.58em;
  color: rgba(255, 255, 255, 0.55);
}

.tv-app-top-txt strong {
  font-size: 0.72em;
  font-weight: 600;
  color: #fff;
}

.tv-app-bell {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
}

.tv-app-bell svg {
  width: 0.85em;
  height: 0.85em;
}

.tv-app-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.55em;
  border: 1px solid rgba(207, 169, 102, 0.55);
  padding: 0.45em 0.5em;
}

.tv-tabbar {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.7em 0.6em 0.15em;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 15, 27, 0.6);
}

.tv-tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28em;
  font-size: 0.55em;
  color: rgba(255, 255, 255, 0.42);
}

.tv-tabbar span svg {
  width: 1.5em;
  height: 1.5em;
}

.tv-tabbar span.is-active {
  color: var(--tv-gold);
}

.tv-card {
  border-radius: 0.85em;
  border: 1px solid rgba(146, 170, 205, 0.4);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  padding: 1.05em 0.95em;
}

.tv-card-gold {
  border-color: rgba(207, 169, 102, 0.75);
  background: linear-gradient(160deg, rgba(207, 169, 102, 0.16), rgba(255, 255, 255, 0.02));
}

.tv-card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
  font-size: 0.74em;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.005em;
}

.tv-yield-badge {
  flex: 0 0 auto;
  padding: 0.24em 0.55em;
  border: 1px solid rgba(207, 169, 102, 0.65);
  border-radius: 999px;
  color: var(--tv-gold-bright);
  background: rgba(207, 169, 102, 0.13);
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.tv-garantia-tile {
  display: flex;
  width: 5.4rem;
  height: 4.1rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.tv-garantia-tile svg {
  width: 1.45rem;
  height: 1.45rem;
}

.tv-garantia-tile span {
  color: var(--tv-gold-bright);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.tv-selo-conteudo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  text-align: center;
}

.tv-selo-conteudo svg {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
}

.tv-selo-conteudo span {
  max-width: 90%;
  font-size: 0.55rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.tv-card-sub {
  margin-top: 0.25em;
  font-size: 0.6em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.62);
}

.tv-card-valor {
  margin-top: 0.5em;
  font-size: 1.24em;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.tv-card-gold .tv-card-valor {
  color: var(--tv-gold-bright);
}

/* indicador inferior */
.tv-home {
  position: relative;
  z-index: 3;
  width: 34%;
  height: 0.32em;
  margin: 0.9em auto 0.65em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

/* botoes laterais */
.tv-btn {
  position: absolute;
  background: linear-gradient(180deg, #9aa0aa, #4a4d53 45%, #868b94);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.tv-btn-action {
  left: calc(var(--tv-w) * -0.0095);
  top: 15.5%;
  width: calc(var(--tv-w) * 0.0095);
  height: 4.6%;
  border-radius: 2px 0 0 2px;
}

.tv-btn-volup {
  left: calc(var(--tv-w) * -0.0095);
  top: 23%;
  width: calc(var(--tv-w) * 0.0095);
  height: 7.4%;
  border-radius: 2px 0 0 2px;
}

.tv-btn-voldn {
  left: calc(var(--tv-w) * -0.0095);
  top: 32.4%;
  width: calc(var(--tv-w) * 0.0095);
  height: 7.4%;
  border-radius: 2px 0 0 2px;
}

.tv-btn-power {
  right: calc(var(--tv-w) * -0.0095);
  top: 25.5%;
  width: calc(var(--tv-w) * 0.0095);
  height: 10.5%;
  border-radius: 0 2px 2px 0;
}

.tv-btn-cam {
  right: calc(var(--tv-w) * -0.008);
  top: 40.5%;
  width: calc(var(--tv-w) * 0.008);
  height: 5%;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, #cfd3da, #6f747c 50%, #b9bdc4);
}

/* halo atras do aparelho */
.tv-iphone-halo {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 132%;
  height: 118%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(207, 169, 102, 0.22), rgba(33, 73, 123, 0.16), transparent);
  pointer-events: none;
}

/* ==================================================================
   Paginas de documento e conteudo (juridico + hub educativo)
   Layout de leitura sobre a mesma paleta da home. Escopo .tv-doc para
   nao interferir nas utilitarias compiladas da landing page.
   ================================================================== */

.tv-doc {
  background: var(--tv-mist);
  color: #1c2431;
}

.tv-doc-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--tv-navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tv-doc-head .tv-doc-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.5rem;
  margin-inline: auto;
}

.tv-doc-head img { height: 1.75rem; width: auto; }

.tv-doc-back {
  font-size: 0.875rem;
  color: var(--tv-fog);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.tv-doc-back:hover { color: #fff; }

/* faixa de titulo */
.tv-doc-hero {
  background: var(--tv-navy-deep);
  color: #fff;
  padding-block: 3.5rem 4rem;
  background-image: radial-gradient(
    46rem 20rem at 78% -20%,
    rgba(207, 169, 102, 0.16),
    transparent
  );
}
.tv-doc-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--tv-gold);
  margin: 0 0 1rem;
}
.tv-doc-hero h1 {
  margin: 0;
  max-width: 24ch;
  letter-spacing: -0.025em;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
}
.tv-doc-lede {
  margin: 1.25rem 0 0;
  max-width: 60ch;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--tv-fog);
}
.tv-doc-meta {
  margin: 1.75rem 0 0;
  font-size: 0.8125rem;
  color: rgba(168, 179, 199, 0.75);
}

/* corpo de leitura */
.tv-doc-body {
  padding-block: 3.5rem 4.5rem;
}
.tv-prose {
  max-width: 44rem;
  font-size: 1.0125rem;
  line-height: 1.75;
  color: #2a3444;
}
.tv-prose > * + * { margin-top: 1.15rem; }
.tv-prose h2 {
  margin-top: 3rem;
  margin-bottom: 0.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(33, 73, 123, 0.16);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--tv-navy);
  text-wrap: balance;
}
.tv-prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.tv-prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.15rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--tv-navy);
}
.tv-prose strong { color: var(--tv-navy); font-weight: 600; }
.tv-prose a {
  color: var(--tv-gold-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(155, 124, 69, 0.4);
}
.tv-prose a:hover { color: var(--tv-navy); text-decoration-color: currentColor; }
.tv-prose ul, .tv-prose ol { padding-left: 1.35rem; }
.tv-prose li + li { margin-top: 0.5rem; }
.tv-prose ul { list-style: disc; }
.tv-prose ol { list-style: decimal; }
.tv-prose li::marker { color: var(--tv-gold-dim); }

/* destaque de definicao — resposta curta para busca e IA */
.tv-resumo {
  margin: 0 0 2.5rem;
  padding: 1.35rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(33, 73, 123, 0.16);
  border-left: 3px solid var(--tv-gold);
  border-radius: 0.5rem;
}
.tv-resumo p { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: #1c2431; }
.tv-resumo .tv-resumo-rot {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tv-gold-dim);
}

/* tabela */
.tv-tabela { margin-top: 1.5rem; overflow-x: auto; border: 1px solid rgba(33,73,123,.16); border-radius: .5rem; background: #fff; }
.tv-tabela table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .9375rem; }
.tv-tabela th, .tv-tabela td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid rgba(33,73,123,.1); vertical-align: top; }
.tv-tabela thead th { background: var(--tv-mist); font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em; color: var(--tv-slate); font-weight: 600; }
.tv-tabela tbody tr:last-child td { border-bottom: 0; }

/* aviso legal ao pe da pagina de conteudo */
.tv-aviso {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(33, 73, 123, 0.16);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--tv-slate);
}

/* navegacao entre artigos / cartoes do hub */
.tv-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
}
.tv-cards .tv-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(33, 73, 123, 0.16);
  border-radius: 0.75rem;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.tv-cards .tv-card:hover { border-color: var(--tv-gold); transform: translateY(-2px); }
.tv-cards .tv-card .tv-card-rot {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tv-gold-dim);
}
.tv-cards .tv-card h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--tv-navy);
  text-wrap: balance;
}
.tv-cards .tv-card p { margin: 0; font-size: 0.9125rem; line-height: 1.55; color: var(--tv-slate); }

/* chamada final */
.tv-cta-doc {
  margin-top: 3rem;
  padding: 1.75rem;
  background: var(--tv-navy-deep);
  border-radius: 0.75rem;
  color: #fff;
}
.tv-cta-doc h2 { margin: 0 0 .5rem; border: 0; padding: 0; font-size: 1.25rem; font-weight: 600; color: #fff; }
.tv-cta-doc p { margin: 0 0 1.25rem; font-size: .9375rem; line-height: 1.6; color: var(--tv-fog); max-width: 46ch; }
.tv-cta-doc a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.5rem; border-radius: .5rem;
  background: var(--tv-gold); color: var(--tv-navy-deep);
  font-size: .9375rem; font-weight: 500; text-decoration: none;
  transition: background-color .2s;
}
.tv-cta-doc a:hover { background: var(--tv-gold-bright); }

/* rodape das paginas de documento */
.tv-doc-foot {
  background: var(--tv-navy-deep);
  color: var(--tv-fog);
  padding-block: 2.5rem 3rem;
  font-size: 0.8125rem;
  line-height: 1.7;
}
.tv-doc-foot a { color: var(--tv-fog); text-decoration: none; transition: color .2s; }
.tv-doc-foot a:hover { color: #fff; }
.tv-doc-foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-bottom: 1.5rem; }
.tv-doc-foot address { font-style: normal; color: rgba(168,179,199,.7); }
.tv-doc-foot .tv-doc-copy { margin-top: 1.25rem; color: rgba(168,179,199,.55); }

@media (max-width: 640px) {
  .tv-doc-hero { padding-block: 2.5rem 3rem; }
  .tv-doc-body { padding-block: 2.5rem 3.5rem; }
}

/* ==================================================================
   Faixa de consentimento de cookies (analytics.js)
   So aparece quando ha um ID de medicao configurado.
   ================================================================== */

.tv-consent {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(9, 21, 36, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(207, 169, 102, 0.28);
  animation: tv-consent-entra 0.35s ease-out;
}

@keyframes tv-consent-entra {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.tv-consent-texto p {
  margin: 0;
  max-width: 62ch;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--tv-fog);
}
.tv-consent-texto a {
  color: var(--tv-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tv-consent-texto a:hover { color: var(--tv-gold-bright); }

.tv-consent-acoes {
  display: flex;
  gap: 0.625rem;
  flex: none;
}

.tv-consent-btn {
  padding: 0.6rem 1.35rem;
  border: 1px solid var(--tv-gold);
  border-radius: 0.5rem;
  background: var(--tv-gold);
  color: var(--tv-navy-deep);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.tv-consent-btn:hover { background: var(--tv-gold-bright); border-color: var(--tv-gold-bright); }

.tv-consent-btn-fantasma {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--tv-fog);
}
.tv-consent-btn-fantasma:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.tv-consent-btn:focus-visible {
  outline: 2px solid var(--tv-gold-bright);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .tv-consent { animation: none; }
}

@media (max-width: 560px) {
  .tv-consent { flex-direction: column; align-items: stretch; }
  .tv-consent-acoes { justify-content: stretch; }
  .tv-consent-acoes .tv-consent-btn { flex: 1; }
}

/* ==================================================================
   Trilha de navegacao (breadcrumb) das paginas de documento
   Espelha o BreadcrumbList do JSON-LD — o Google usa a trilha no lugar
   da URL crua no resultado de busca.
   ================================================================== */

.tv-trilha {
  margin: 0 0 1.15rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(168, 179, 199, 0.7);
}
.tv-trilha ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tv-trilha li { display: inline-flex; align-items: center; gap: 0.4rem; }
.tv-trilha li + li::before {
  content: "/";
  color: var(--tv-gold-dim);
  font-size: 0.75rem;
}
.tv-trilha a {
  color: var(--tv-fog);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.tv-trilha a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.35); }
.tv-trilha [aria-current="page"] { color: rgba(168, 179, 199, 0.85); }
