/* ============================================================
   Dr. Mauro — overrides do tema azul + player de vídeo nativo
   Carregado por último; sobrepõe a estrutura da referência.
   ============================================================ */

/* Nav CTA em navy sólido com texto claro */
.nav-cta {
  background: var(--ink);
  color: #eef3f9 !important;
}

/* ---- VSL: player de vídeo nativo em moldura 9:16 ---- */
.vsl {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: #05121f;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 30px 60px -24px rgba(13, 33, 56, 0.55),
    0 8px 20px -12px rgba(13, 33, 56, 0.4);
  border: 1px solid rgba(31, 116, 184, 0.28);
}
.vsl-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #05121f;
}

/* Botão de play sobreposto */
.vsl-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(5, 18, 31, 0.05) 0%, rgba(5, 18, 31, 0.35) 100%);
  border: 0;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.vsl-play svg {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 2;
  margin-left: 4px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}
.vsl-play::before {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: var(--clay);
  box-shadow: 0 10px 30px -6px rgba(31, 116, 184, 0.7);
  z-index: 1;
}
.vsl-play-ring {
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  animation: vsl-pulse 2.2s ease-out infinite;
  z-index: 1;
}
@keyframes vsl-pulse {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
.vsl.playing .vsl-play {
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .vsl-play-ring { animation: none; }
}

/* Tag "Dr. Mauro" no rodapé do vídeo */
.vsl-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #eaf3fb;
  background: rgba(5, 18, 31, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.vsl.playing .vsl-tag { opacity: 0; }

/* Caso único (removido o antes/depois de duas imagens) */
.case-media-single {
  display: block;
}
.case-media-single .stage {
  max-width: 420px;
}

/* ---- Identificação: bloco de resultado + CTA no fim da lista ---- */
.check-col { min-width: 0; }
#identify-outcome[hidden] { display: none; }
.check-result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.check-result-text { margin: 0; }
.check-result .btn { align-self: flex-start; }
@media (max-width: 560px) {
  .check-result .btn { align-self: stretch; justify-content: center; }
}

/* ============================================================
   Polimento (impeccable) — superfícies do navegador + foco a11y
   Aditivo: não altera o layout nem o mundo editorial azul.
   ============================================================ */

/* Seleção de texto na paleta (em vez do azul padrão do SO) */
::selection { background: color-mix(in oklab, var(--clay) 24%, transparent); color: var(--ink); }

/* Cursor de digitação nos campos */
input, textarea, [contenteditable] { caret-color: var(--clay); }

/* Foco visível de teclado — na marca, só para quem navega por teclado */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.faq-q:focus-visible,
.quiz-opt:focus-visible,
.check-item:focus-visible,
.nav-cta:focus-visible,
input:focus-visible,
[role="checkbox"]:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 8px;
}
:focus:not(:focus-visible) { outline: none; }

/* Numerais tabulares: contadores e estatísticas não "pulam" ao animar */
.stat-num, .identify-count .num, .hero-trust .num, .about-meta .n,
.cases-stat, .ctm-meta, .compare-meta dd {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Scrollbar sutil, tingida na paleta (ponteiro fino / desktop) */
@media (pointer: fine) {
  * { scrollbar-width: thin; scrollbar-color: color-mix(in oklab, var(--clay) 50%, var(--cream-deep)) transparent; }
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb {
    background: color-mix(in oklab, var(--clay) 42%, var(--cream-deep));
    border-radius: 999px;
    border: 3px solid var(--cream);
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--clay); }
}

/* Sublinhado de links com respiro (não colado no texto) */
.faq-side a, .footer a, .about-bio a { text-underline-offset: 3px; }

/* Marca no nav: logo com fundo transparente, sem caixa */
.brand-mark { background: transparent; }
