/* =====================================================
   LECARE — Visual v2 (site principal)
   Carregado só por includes/header.php, depois de style.css.
   As LPs (lp/) continuam apenas com style.css.
   ===================================================== */

:root {
  --v2-ink:       #0b2f4d;
  --v2-blue:      #15679e;
  --v2-blue-btn:  #0f4d7a;
  --v2-blue-soft: #9cc7e8;
  --v2-bg-soft:   #f6f8fb;
  --v2-text:      #111827;
  --v2-muted:     #4b5563;
  --v2-muted-2:   #6b7280;
  --v2-border:    #e5e7eb;
  --v2-serif:     'Fraunces', Georgia, 'Times New Roman', serif;
  --v2-ease:      cubic-bezier(.2, .7, .2, 1);

  /* Ajusta tokens antigos usados pelas páginas não reescritas */
  --primary:   #15679e;
  --text:      #111827;
  --text-muted:#4b5563;
  --border:    #e5e7eb;
  --bg:        #f6f8fb;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
}

body { color: var(--v2-text); }

h1, h2, h3,
.section-title,
.card-title,
.panel-title {
  font-family: var(--v2-serif);
  font-weight: 500;
  letter-spacing: -.01em;
}
.section-title { font-weight: 500; line-height: 1.15; }

.section-tag {
  background: none;
  padding: 0;
  border-radius: 0;
  color: var(--v2-blue);
  font-weight: 600;
  letter-spacing: .12em;
}

/* Superfícies sem sombra nas páginas antigas */
.problema-card, .etapa-card, .servico-card, .info-card, .beneficio-item,
.contact-form-card, .cta-final-card, .split-card, .case-card, .platform-card,
.soft-panel, .cta-panel, .media-frame, .hero-visual-frame, .quick-form {
  box-shadow: none !important;
}
.problema-card:hover, .etapa-card:hover, .servico-card:hover,
.beneficio-item:hover, .case-card:hover { transform: none; }

/* =====================================================
   Navbar
   ===================================================== */
.navbar,
.navbar.scrolled {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--v2-border);
  box-shadow: none;
}
.navbar-nav a {
  font-size: .875rem;
  color: var(--v2-text);
  padding: .45rem .7rem;
  border-radius: 6px;
}
.navbar-nav a:hover,
.navbar-nav a.active {
  background: none;
  color: var(--v2-blue);
}
/* Sublinhado animado abaixo do texto, igual nos estados transparente e branco */
.navbar-nav a { position: relative; border-radius: 0; }
.navbar-nav a::after {
  content: "";
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: .1rem;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s var(--v2-ease);
}
.navbar-nav a:hover::after,
.navbar-nav a:focus-visible::after,
.navbar-nav a.active::after { transform: scaleX(1); }

/* Seis itens + WhatsApp só cabem bem a partir de 1100px */
@media (min-width: 768px) and (max-width: 1099px) {
  .navbar-nav { display: none; }
  .burger { display: flex; }
}
@media (min-width: 1100px) {
  .navbar-nav { display: flex; }
  .burger { display: none; }
  .mobile-menu { display: none !important; }
}
.mobile-menu a:hover { background: var(--v2-bg-soft); color: var(--v2-blue); }

/* Menu hambúrguer: 4 linhas de larguras diferentes, alinhadas à direita; vira X ao abrir */
.burger { gap: 4px; align-items: flex-end; padding: .5rem .35rem; }
.burger span { height: 2px; transition: transform .3s var(--v2-ease, ease), width .3s var(--v2-ease, ease), opacity .2s; }
.burger span:nth-child(1) { width: 26px; }
.burger span:nth-child(2) { width: 16px; }
.burger span:nth-child(3) { width: 21px; }
.burger span:nth-child(4) { width: 11px; }
.burger:hover span { width: 26px; }
.burger.open span { width: 26px; }
.burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.open span:nth-child(2),
.burger.open span:nth-child(3) { opacity: 0; transform: none; }
.burger.open span:nth-child(4) { transform: translateY(-9px) rotate(-45deg); }

/* Cabeçalho transparente sobre a abertura escura até rolar a página (todas as páginas, exceto obrigado) */
header.over-hero .navbar:not(.scrolled):not(:has(.mobile-menu.open)) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
header.over-hero .navbar:not(.scrolled):not(:has(.mobile-menu.open)) .navbar-logo img { filter: brightness(0) invert(1); }
header.over-hero .navbar:not(.scrolled):not(:has(.mobile-menu.open)) .navbar-nav a { color: rgba(255, 255, 255, .86); }
header.over-hero .navbar:not(.scrolled):not(:has(.mobile-menu.open)) .navbar-nav a:hover,
header.over-hero .navbar:not(.scrolled):not(:has(.mobile-menu.open)) .navbar-nav a.active { color: #fff; }
header.over-hero .navbar:not(.scrolled):not(:has(.mobile-menu.open)) .burger span { background: #fff; }
header.over-hero .navbar:not(.scrolled):not(:has(.mobile-menu.open)) .btn-whatsapp {
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
}
/* Menu claro (páginas sem abertura escura ou após rolar): hover inverso ao do menu escuro,
   preenchendo de azul com texto branco */
.navbar .navbar-cta .btn-whatsapp:hover,
.navbar .navbar-cta .btn-whatsapp:focus-visible {
  background: var(--v2-blue);
  border-color: var(--v2-blue);
  color: #fff;
}
header.over-hero .navbar:not(.scrolled):not(:has(.mobile-menu.open)) .btn-whatsapp:hover,
header.over-hero .navbar:not(.scrolled):not(:has(.mobile-menu.open)) .btn-whatsapp:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--v2-blue-btn);
}
.navbar-logo img { transition: filter .25s ease; }

/* =====================================================
   Botões
   ===================================================== */
.btn {
  border-radius: 6px;
  font-weight: 600;
  box-shadow: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: none; box-shadow: none; }

.btn-primary,
.btn-cta {
  background: var(--v2-blue);
  border: 1px solid var(--v2-blue);
  color: #fff;
}
.btn-primary:hover,
.btn-cta:hover { background: var(--v2-blue-btn); border-color: var(--v2-blue-btn); color: #fff; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--v2-blue);
  color: var(--v2-blue-btn);
}
.btn-outline:hover { background: var(--v2-bg-soft); color: var(--v2-blue-btn); }

.btn-light {
  background: #fff;
  border: 1px solid #fff;
  color: var(--v2-blue-btn);
}
.btn-light:hover { background: #eaf2f9; border-color: #eaf2f9; color: var(--v2-blue-btn); }

.btn-outline-white {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .7);
  color: #fff;
}
.btn-outline-white:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* WhatsApp contornado (sem verde) */
.btn-whatsapp {
  background: transparent;
  border: 1px solid var(--v2-blue);
  color: var(--v2-blue-btn);
}
.btn-whatsapp:hover,
.btn-whatsapp:focus-visible { background: var(--v2-bg-soft); border-color: var(--v2-blue); color: var(--v2-blue-btn); }

.v2-dark .btn-whatsapp,
.v2-hero .btn-whatsapp,
.v2-page-hero .btn-whatsapp,
.page-hero .btn-whatsapp,
.hero .btn-whatsapp,
.section-autoridade .btn-whatsapp {
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
}
.v2-dark .btn-whatsapp:hover,
.v2-hero .btn-whatsapp:hover,
.v2-page-hero .btn-whatsapp:hover,
.page-hero .btn-whatsapp:hover,
.hero .btn-whatsapp:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .9); color: #fff; }

.wa-btn { background: var(--v2-blue); border-radius: 6px; }
.wa-btn:hover { background: var(--v2-blue-btn); transform: none; box-shadow: none; }
.wa-modal-header h3 { font-family: var(--v2-serif); font-weight: 500; }

/* Páginas antigas: abertura e destaques no novo tom */
.page-hero { background: var(--v2-ink); }
.page-hero .section-tag { background: none; color: var(--v2-blue-soft); }
.whatsapp-highlight { background: var(--v2-bg-soft); border-color: var(--v2-border); }
.whatsapp-highlight-title { color: var(--v2-blue-btn); }
.whatsapp-highlight-text { color: var(--v2-muted); }
.obrigado-icon { background: #eaf2f9; color: var(--v2-blue); }

/* =====================================================
   Rodapé
   ===================================================== */
.site-footer { background: #082539; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-address { margin-top: .75rem; font-size: .85rem; opacity: .75; }

/* =====================================================
   Estrutura de seção
   ===================================================== */
.v2-section { padding: 4rem 0; background: #fff; }
.v2-soft { background: var(--v2-bg-soft); }
.v2-dark { background: var(--v2-ink); color: #fff; }

.v2-kicker {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--v2-blue);
  margin-bottom: .9rem;
}
.v2-dark .v2-kicker,
.v2-hero .v2-kicker,
.v2-page-hero .v2-kicker { color: var(--v2-blue-soft); }

.v2-title {
  font-family: var(--v2-serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--v2-text);
  max-width: 24ch;
}
.v2-dark .v2-title { color: #fff; }

.v2-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--v2-muted);
  max-width: 60ch;
  margin-top: 1rem;
}
.v2-dark .v2-lead { color: rgba(255, 255, 255, .78); }

.v2-head { margin-bottom: 2.5rem; }
.v2-head.center { text-align: center; }
.v2-head.center .v2-title,
.v2-head.center .v2-lead { margin-inline: auto; }

.v2-closing {
  margin-top: 2.5rem;
  font-family: var(--v2-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.3;
  color: var(--v2-ink);
}

.v2-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.v2-actions.center { justify-content: center; }

/* Link com sublinhado animado */
.v2-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  color: var(--v2-blue-btn);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s var(--v2-ease);
  padding-bottom: 2px;
}
.v2-link:hover,
.v2-link:focus-visible { background-size: 100% 1px; }
.v2-link svg { transition: transform .35s var(--v2-ease); }
.v2-link:hover svg { transform: translateX(3px); }

/* =====================================================
   Abertura da home (vídeo sobre azul-escuro)
   ===================================================== */
.v2-hero {
  position: relative;
  overflow: hidden;
  background: var(--v2-ink);
  color: #fff;
  min-height: clamp(540px, 84vh, 800px);
  display: flex;
  align-items: center;
  padding: 5rem 0;
}
/* Abertura em tela cheia, por baixo do cabeçalho transparente */
body:has(header.over-hero) .v2-hero {
  margin-top: calc(-1 * var(--v2-nav-h, 73px));
  padding-top: calc(var(--v2-nav-h, 73px) + 3rem);
  min-height: 100vh;
  min-height: 100svh;
}
/* Brilho azul atrás da composição e textura de pontos */
.v2-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 60% at 74% 48%, rgba(31, 138, 192, .32), transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 100%, rgba(21, 103, 158, .25), transparent 70%);
  pointer-events: none;
}
.v2-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(156, 199, 232, .22) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 50% 65% at 75% 50%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 50% 65% at 75% 50%, #000 20%, transparent 75%);
  pointer-events: none;
}
.v2-hero.has-media::before,
.v2-hero.has-media::after { display: none; }

.v2-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.v2-hero-media video,
.v2-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
/* Película para leitura do texto */
.v2-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 47, 77, .96) 0%, rgba(11, 47, 77, .82) 38%, rgba(11, 47, 77, .2) 100%);
}
@media (max-width: 767px) {
  .v2-hero-media::after { background: rgba(11, 47, 77, .82); }
}

.v2-hero .container { position: relative; z-index: 1; }
.v2-hero-content { max-width: 640px; }
.v2-hero h1 {
  font-family: var(--v2-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: #fff;
}
.v2-hero p {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  max-width: 46ch;
}

/* Composição em CSS enquanto o vídeo não existe:
   blocos desalinhados que se organizam numa grade e uma linha de luz que percorre */
.v2-hero-grid {
  position: absolute;
  z-index: 0;
  right: max(2rem, calc((100vw - 1200px) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: min(42vw, 540px);
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  pointer-events: none;
  perspective: 900px;
  translate: var(--px, 0) var(--py, 0);
  transition: translate .6s var(--v2-ease);
}
.v2-hero-media { translate: var(--px2, 0) var(--py2, 0); scale: 1.03; transition: translate .8s var(--v2-ease); }
/* Cada quadrado traz o logo de uma plataforma. Ciclo em loop de 9s:
   desalinhados → a linha de luz desce e cada fileira se organiza quando a linha passa
   → a grade fica organizada → volta a se desalinhar → recomeça.
   Linha: começa em .6s e leva 2.4s → centro da fileira N em .9s + N × .6s.
   Linha e quadrados usam o mesmo período, então ficam sincronizados em todas as voltas. */
.v2-hero-grid span {
  display: grid;
  place-items: center;
  border: 1px solid rgba(156, 199, 232, .28);
  background: rgba(255, 255, 255, .03);
  border-radius: 8px;
  color: rgba(255, 255, 255, .9);
  animation: v2-organiza 9s var(--v2-ease) infinite both;
  animation-delay: calc(.9s + var(--row, 0) * .6s);
}
.v2-hero-grid span svg { width: 30%; height: auto; max-height: 34%; }
/* O helper remove a cor interna do "f"; recoloca o recorte no tom do fundo */
.v2-hero-grid .svg-icon-facebook path + path { fill: var(--v2-ink); }
.v2-hero-grid span:nth-child(3n)   { --dx: 42px;  --dy: -30px; --r: 16deg; }
.v2-hero-grid span:nth-child(3n+1) { --dx: -36px; --dy: 24px;  --r: -13deg; }
.v2-hero-grid span:nth-child(3n+2) { --dx: 20px;  --dy: 38px;  --r: 9deg; }
.v2-hero-grid span:nth-child(4n)   { --r: -19deg; }
.v2-hero-grid span:nth-child(5),
.v2-hero-grid span:nth-child(10),
.v2-hero-grid span:nth-child(15) {
  background: rgba(21, 103, 158, .22);
  border-color: rgba(156, 199, 232, .5);
}
.v2-hero-grid::after {
  content: '';
  position: absolute;
  left: -6%;
  right: -6%;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(156, 199, 232, .95), transparent);
  box-shadow: 0 0 14px 2px rgba(31, 138, 192, .55);
  opacity: 0;
  animation: v2-varredura 9s linear .6s infinite both;
}
/* 0–10% organiza (.9s) · 10–70% fica organizado · 70–82% desalinha · 82–100% espera a próxima linha */
@keyframes v2-organiza {
  0%, 82%, 100% {
    transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--r, 0)) scale(.92);
    opacity: .5;
  }
  10%, 70% { transform: none; opacity: 1; }
}
/* A descida dura 2.4s dos 9s do ciclo (26.7%); no resto do ciclo a linha fica oculta */
@keyframes v2-varredura {
  0%          { top: 0;    opacity: 0; }
  2%          { opacity: 1; }
  25%         { opacity: 1; }
  26.7%, 100% { top: 100%; opacity: 0; }
}
.v2-hero.has-media .v2-hero-grid { display: none; }
/* Celular e tablet: a grade fica ao fundo, atrás do texto, bem apagada, com o mesmo loop */
@media (max-width: 899px) {
  .v2-hero-grid {
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(118vw, 520px);
    gap: 10px;
    opacity: .22;
  }
  .v2-hero-grid span svg { width: 34%; }
  .v2-hero::before { background: radial-gradient(ellipse 80% 55% at 50% 50%, rgba(31, 138, 192, .28), transparent 70%); }
}

/* =====================================================
   Abertura das páginas internas
   ===================================================== */
.v2-page-hero {
  background: var(--v2-ink);
  color: #fff;
  padding: 4.5rem 0 4rem;
}
.v2-page-hero h1 {
  font-family: var(--v2-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  color: #fff;
  max-width: 20ch;
}
.v2-page-hero p {
  margin-top: 1.1rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .8);
  max-width: 54ch;
}

/* =====================================================
   Grade dividida por linhas
   ===================================================== */
.v2-grid-lines {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 2.5rem;
}
.v2-grid-lines > * {
  border-top: 1px solid var(--v2-border);
  padding: 1.5rem 0 1.75rem;
}
.v2-grid-lines h3 {
  font-family: var(--v2-serif);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--v2-text);
  margin-bottom: .5rem;
}
.v2-grid-lines p { color: var(--v2-muted); font-size: .975rem; line-height: 1.6; }
.v2-grid-lines .v2-link { margin-top: .9rem; }
.v2-grid-lines .v2-index {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--v2-blue);
  margin-bottom: .6rem;
}
@media (min-width: 768px) {
  .v2-grid-lines.v2-cols-2,
  .v2-grid-lines.v2-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .v2-grid-lines.v2-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .v2-grid-lines.v2-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* =====================================================
   Etapas numeradas (01, 02, 03)
   ===================================================== */
.v2-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  counter-reset: v2step;
}
@media (min-width: 900px) {
  .v2-steps { grid-template-columns: repeat(3, 1fr); }
}
.v2-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
}
.v2-step::before {
  content: '';
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 2px;
  border-radius: 8px 8px 0 0;
  background: var(--v2-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s var(--v2-ease);
}
.v2-step.visible::before { transform: scaleX(1); }
.v2-step:nth-child(2)::before { transition-delay: .35s; }
.v2-step:nth-child(3)::before { transition-delay: .7s; }
.v2-step-num {
  font-family: var(--v2-serif);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--v2-blue);
  margin-bottom: 1.1rem;
}
.v2-step h3 {
  font-family: var(--v2-serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: .6rem;
  color: var(--v2-text);
}
.v2-step p { color: var(--v2-muted); line-height: 1.6; }
.v2-step ul { margin: 1rem 0 1.25rem; }
.v2-step li {
  position: relative;
  padding: .5rem 0 .5rem 1.1rem;
  border-top: 1px solid var(--v2-border);
  color: var(--v2-muted);
  font-size: .95rem;
}
.v2-step li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 6px;
  height: 1px;
  background: var(--v2-blue);
}
.v2-step .v2-link { margin-top: auto; align-self: flex-start; }

/* =====================================================
   Lista simples, comparação, nota, tags, FAQ
   ===================================================== */
.v2-list li {
  position: relative;
  padding: .85rem 0 .85rem 1.4rem;
  border-bottom: 1px solid var(--v2-border);
  color: var(--v2-muted);
  line-height: 1.55;
}
.v2-list li:first-child { border-top: 1px solid var(--v2-border); }
.v2-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 8px;
  height: 1px;
  background: var(--v2-blue);
}
.v2-list strong { color: var(--v2-text); font-weight: 600; }

.v2-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .v2-compare { grid-template-columns: 1fr 1fr; }
}
.v2-compare-col {
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  padding: 1.75rem;
  background: #fff;
}
.v2-compare-col.depois { border-color: var(--v2-blue); }
.v2-compare-col h3 {
  font-family: var(--v2-serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.v2-compare-col.antes h3 { color: var(--v2-muted-2); }
.v2-compare-col.depois h3 { color: var(--v2-blue-btn); }

.v2-note {
  border-left: 3px solid var(--v2-blue);
  background: var(--v2-bg-soft);
  border-radius: 0 8px 8px 0;
  padding: 1.75rem 1.75rem 1.75rem 2rem;
}
.v2-note h2,
.v2-note h3 {
  font-family: var(--v2-serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: .5rem;
  color: var(--v2-text);
}
.v2-note p { color: var(--v2-muted); line-height: 1.65; max-width: 64ch; }
.v2-note .v2-link { margin-top: 1rem; }

.v2-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .v2-split { grid-template-columns: 1fr 1.15fr; gap: 4rem; }
}

.v2-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.v2-tags span {
  border: 1px solid var(--v2-border);
  border-radius: 6px;
  padding: .45rem .85rem;
  font-size: .9rem;
  color: var(--v2-muted);
  background: #fff;
}

.v2-faq details { border-bottom: 1px solid var(--v2-border); }
.v2-faq details:first-child { border-top: 1px solid var(--v2-border); }
.v2-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
  font-family: var(--v2-serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--v2-text);
}
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq summary::after {
  content: '+';
  position: absolute;
  right: .25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--v2-blue);
  transition: transform .3s var(--v2-ease);
}
.v2-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.v2-faq details p {
  padding: 0 0 1.4rem;
  color: var(--v2-muted);
  line-height: 1.65;
  max-width: 68ch;
}

/* Credencial (selo) */
.v2-credential {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
}
.v2-credential img { width: 160px; height: auto; }

/* =====================================================
   CTA final
   ===================================================== */
.v2-cta { text-align: center; padding: 5rem 0; }
.v2-cta .v2-title { margin-inline: auto; max-width: 22ch; }
.v2-cta .v2-lead { margin-inline: auto; }

/* Faixa de logos */
.section-clientes { background: #fff; border-top: 1px solid var(--v2-border); border-bottom: 1px solid var(--v2-border); }
.clientes-heading { font-family: var(--v2-serif); font-weight: 500; }

/* =====================================================
   Movimento
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--v2-ease), transform .8s var(--v2-ease);
}
.reveal.visible { opacity: 1; transform: none; }

@media (min-width: 1024px) {
  .v2-section { padding: 6rem 0; }
  .v2-cta { padding: 6.5rem 0; }
  .v2-page-hero { padding: 6rem 0 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.visible { opacity: 1; transform: none; transition: none; }
  .v2-hero-grid span { animation: none; }
  .v2-hero-grid::after { animation: none; display: none; }
  .v2-hero-grid, .v2-hero-media { translate: none; transition: none; }
  .v2-step::before { transform: scaleX(1); transition: none; }
  .v2-link, .v2-link svg, .v2-faq summary::after { transition: none; }
  html { scroll-behavior: auto; }
}

.v2-list-title {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--v2-muted-2);
  margin-bottom: 1rem;
  font-family: 'Inter', system-ui, sans-serif;
}
.v2-credential > div { flex: 1 1 320px; }
/* Selo Google Partner abaixo da nuvem de logos da home */
.v2-credential-clientes {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--v2-border);
  max-width: 880px;
  margin-inline: auto;
}
.v2-section > .section-clientes { border: 0; background: transparent; }

/* Páginas internas: abertura por baixo do cabeçalho transparente */
body:has(header.over-hero) .v2-page-hero,
body:has(header.over-hero) .page-hero {
  margin-top: calc(-1 * var(--v2-nav-h, 73px));
}
body:has(header.over-hero) .v2-page-hero { padding-top: calc(var(--v2-nav-h, 73px) + 4.5rem); }
body:has(header.over-hero) .page-hero    { padding-top: calc(var(--v2-nav-h, 73px) + 4rem); }
@media (min-width: 1024px) {
  body:has(header.over-hero) .v2-page-hero { padding-top: calc(var(--v2-nav-h, 73px) + 6rem); }
}

@media (prefers-reduced-motion: reduce) {
  .navbar-nav a::after { transition: none; }
}

/* =====================================================
   Imagens geradas (images/v2/) — heros internos e seções
   Spec: .docs/superpowers/specs/2026-10-18-vida-nas-paginas-design.md
   ===================================================== */

/* Hero interno com imagem de fundo: imagem → película → conteúdo */
.v2-page-hero.has-bg { position: relative; overflow: hidden; }
.v2-page-hero.has-bg > .container { position: relative; z-index: 2; }
.v2-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  translate: var(--px2, 0) var(--py2, 0);
  transition: translate .8s var(--v2-ease);
  animation: v2-aproxima 20s ease-in-out infinite alternate;
}
.v2-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
}
.v2-page-hero.has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11, 47, 77, .96) 0%, rgba(11, 47, 77, .86) 34%, rgba(11, 47, 77, .25) 100%);
  pointer-events: none;
}
@media (max-width: 767px) {
  .v2-page-hero.has-bg::after { background: rgba(11, 47, 77, .85); }
}
@keyframes v2-aproxima {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}

/* Figura de seção: moldura fina, revelada de baixo para cima ao rolar */
.v2-figure {
  margin: 0;
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--v2-ink);
}
/* O recorte fica na imagem, não na figura: com clip-path na figura o IntersectionObserver
   não detecta a entrada na tela e a classe .visible nunca é aplicada */
.v2-figure img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.06);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s var(--v2-ease), transform 1.4s var(--v2-ease);
}
.v2-figure.reveal { transform: none; transition: opacity .6s ease; }
.v2-figure.reveal.visible img { clip-path: inset(0 0 0 0); transform: none; }

/* Seção com figura: cabeçalho à esquerda e imagem à direita, acima da grade/lista */
.v2-split.v2-com-figura { align-items: center; margin-bottom: 2.5rem; }
.v2-split.v2-com-figura .v2-head { margin-bottom: 0; }

/* Grades divididas por linhas: a linha de cima se desenha ao entrar na tela,
   com um trecho azul no início */
.v2-grid-lines > .reveal { position: relative; border-top-color: transparent; }
.v2-grid-lines > .reveal::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--v2-blue) 0 48px, var(--v2-border) 48px);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--v2-ease) .15s;
}
.v2-grid-lines > .reveal.visible::before { transform: scaleX(1); }

/* Cards: brilho azul suave que segue o cursor (variáveis gravadas pelo site-v2.js) */
.v2-step,
.v2-compare-col {
  background-image: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), rgba(31, 138, 192, .10), transparent 70%);
}

@media (prefers-reduced-motion: reduce) {
  .v2-hero-bg { animation: none; translate: none; transition: none; }
  .v2-figure.reveal { transition: none; }
  .v2-figure img { clip-path: none; transform: none; transition: none; }
  .v2-grid-lines > .reveal::before { transform: scaleX(1); transition: none; }
}

/* =====================================================
   Nuvem de logos (referência: 21st.dev logo-cloud-2)
   Grade 5 colunas × 4 linhas no desktop, 4 × 5 no celular.
   Células alternam branco/cinza (xadrez) e há uma cruz "+" em cada cruzamento interno.
   ===================================================== */
.section-clientes .clientes-carousel { display: none; }
.v2-logo-cloud {
  --cols: 4;
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  border-top: 1px solid var(--v2-border);
  border-left: 1px solid var(--v2-border);
  margin-top: 1.5rem;
}
.v2-logo-cell {
  position: relative;
  display: grid;
  place-items: center;
  height: 92px;
  padding: 1rem;
  background: #fff;
  border-right: 1px solid var(--v2-border);
  border-bottom: 1px solid var(--v2-border);
}
.v2-logo-cell img {
  max-width: 88%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: .85;
  transition: opacity .25s ease, transform .35s var(--v2-ease);
}
.v2-logo-cell:hover img { opacity: 1; transform: scale(1.05); }

/* Xadrez com 4 colunas: linhas ímpares pintam as colunas 2 e 4; linhas pares, 1 e 3 */
.v2-logo-cell:nth-child(8n+2),
.v2-logo-cell:nth-child(8n+4),
.v2-logo-cell:nth-child(8n+5),
.v2-logo-cell:nth-child(8n+7) { background: #f4f5f7; }

/* Cruz "+" no canto inferior direito de cada célula interna */
.v2-logo-cell::after {
  content: '';
  position: absolute;
  right: -8px;
  bottom: -8px;
  z-index: 1;
  width: 15px;
  height: 15px;
  background:
    linear-gradient(var(--v2-text), var(--v2-text)) center / 1px 100% no-repeat,
    linear-gradient(var(--v2-text), var(--v2-text)) center / 100% 1px no-repeat;
  opacity: .55;
}
.v2-logo-cell:nth-child(4n)::after,
.v2-logo-cell:nth-last-child(-n+4)::after { display: none; }

@media (min-width: 768px) {
  .v2-logo-cloud { --cols: 5; }
  .v2-logo-cell { height: 120px; }
  /* Com 5 colunas (ímpar), as pares já formam o xadrez */
  .v2-logo-cell:nth-child(n) { background: #fff; }
  .v2-logo-cell:nth-child(even) { background: #f4f5f7; }
  .v2-logo-cell:nth-child(4n)::after { display: block; }
  .v2-logo-cell:nth-child(5n)::after,
  .v2-logo-cell:nth-last-child(-n+5)::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .v2-logo-cell img { transition: none; }
  .v2-logo-cell:hover img { transform: none; }
}

/* =====================================================
   Bento: cards com foto e cards com ícone de linha
   Spec: .docs/superpowers/specs/2026-10-18-cards-vivos-design.md (revisões 2 e 3)
   ===================================================== */
.v2-bento {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(300px, auto);
  gap: 1rem;
}
@media (min-width: 768px) {
  .v2-bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .v2-bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(260px, auto); }
  .v2-tile-grande { grid-column: span 2; grid-row: span 2; }
  .v2-tile-largo  { grid-column: span 2; }
}
@media (min-width: 900px) {
  .v2-bento.v2-bento-3 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(340px, auto); }
  .v2-bento.v2-bento-3 .v2-tile-grande,
  .v2-bento.v2-bento-3 .v2-tile-largo { grid-column: auto; grid-row: auto; }
}

.v2-tile {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  isolation: isolate;
}
.v2-tile-corpo { position: relative; z-index: 2; transition: transform .5s var(--v2-ease); }
.v2-tile h3 {
  font-family: var(--v2-serif);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: .35rem 0 .45rem;
}
.v2-tile p { font-size: .975rem; line-height: 1.55; }
.v2-tile-rotulo {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.v2-tile .v2-link { margin-top: .9rem; }
.v2-tile-grande h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }

/* Card com foto: imagem + película escura de baixo para cima */
.v2-tile-foto { color: #fff; background: var(--v2-ink); }
.v2-tile-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s var(--v2-ease), transform 1.2s var(--v2-ease);
}
.v2-tile-foto.visible .v2-tile-img { clip-path: inset(0 0 0 0); transform: none; }
.v2-tile-foto::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(11, 47, 77, .94) 0%, rgba(11, 47, 77, .78) 40%, rgba(11, 47, 77, .38) 72%, rgba(11, 47, 77, .18) 100%);
}
.v2-tile-foto h3 { color: #fff; }
.v2-tile-foto p { color: rgba(255, 255, 255, .78); }
.v2-tile-foto .v2-tile-rotulo { color: var(--v2-blue-soft); }
.v2-tile-foto .v2-link { color: #fff; }

/* Card com ícone de linha: escuro (padrão) ou claro */
.v2-tile-texto {
  background: var(--v2-ink);
  color: #fff;
  justify-content: space-between;
}
.v2-tile-texto h3 { color: #fff; }
.v2-tile-texto p { color: rgba(255, 255, 255, .74); }
.v2-tile-texto .v2-tile-rotulo { color: var(--v2-blue-soft); }
.v2-tile-texto .v2-link { color: var(--v2-blue-soft); }
.v2-tile-texto::before {
  /* textura de pontos discreta */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(156, 199, 232, .10) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%);
          mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
.v2-tile-texto.claro { background: var(--v2-bg-soft); color: var(--v2-text); border: 1px solid var(--v2-border); }
.v2-tile-texto.claro::before { background-image: radial-gradient(rgba(21, 103, 158, .08) 1px, transparent 1.2px); }
.v2-tile-texto.claro h3 { color: var(--v2-text); }
.v2-tile-texto.claro p { color: var(--v2-muted); }
.v2-tile-texto.claro .v2-tile-rotulo,
.v2-tile-texto.claro .v2-link { color: var(--v2-blue-btn); }
.v2-tile-icone {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(156, 199, 232, .22);
  color: var(--v2-blue-soft);
  margin-bottom: 2rem;
  transition: transform .5s var(--v2-ease), color .3s ease, border-color .3s ease;
}
.v2-tile-texto.claro .v2-tile-icone { border-color: var(--v2-border); color: var(--v2-blue); background: #fff; }
/* Frase de destaque (card de texto sem rótulo) */
.v2-tile-frase h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; }

/* Brilho que segue o cursor (variáveis do site-v2.js) */
.v2-tile > .v2-tile-corpo::before {
  content: '';
  position: absolute;
  pointer-events: none;
}
.v2-tile { background-image: radial-gradient(280px circle at var(--mx, -999px) var(--my, -999px), rgba(156, 199, 232, .14), transparent 70%); }
.v2-tile-texto.claro { background-image: radial-gradient(280px circle at var(--mx, -999px) var(--my, -999px), rgba(31, 138, 192, .08), transparent 70%); }

/* Hover (desktop com mouse) */
@media (hover: hover) and (pointer: fine) {
  .v2-tile-foto:hover .v2-tile-img { transform: scale(1.05); }
  .v2-tile:hover .v2-tile-corpo { transform: translateY(-6px); }
  .v2-tile-texto:hover .v2-tile-icone { transform: translateY(-4px); color: #fff; border-color: rgba(156, 199, 232, .5); }
  .v2-tile-texto.claro:hover .v2-tile-icone { color: var(--v2-blue-btn); border-color: var(--v2-blue); }
}

/* Palavra em contorno atrás do título da seção */
.v2-com-marca { position: relative; overflow: hidden; }
.v2-com-marca > .container { position: relative; z-index: 1; }
.v2-marca-dagua {
  position: absolute;
  top: 1.5rem;
  right: -1rem;
  z-index: 0;
  font-family: var(--v2-serif);
  font-weight: 500;
  font-size: clamp(6rem, 16vw, 13rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(21, 103, 158, .14);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.v2-soft .v2-marca-dagua { -webkit-text-stroke-color: rgba(21, 103, 158, .16); }

/* Custo em seguida a cada sinal (Organização) */
.v2-custo { display: block; margin-top: .3rem; font-size: .9rem; color: var(--v2-muted-2); }

/* FAQ: título fixo na coluna esquerda */
@media (min-width: 900px) {
  .v2-faq-fixo { position: sticky; top: calc(var(--v2-nav-h, 73px) + 2rem); }
}

@media (prefers-reduced-motion: reduce) {
  .v2-tile-img { clip-path: none; transform: none; transition: none; }
  .v2-tile-corpo, .v2-tile-icone { transition: none; }
  .v2-tile:hover .v2-tile-corpo,
  .v2-tile-foto:hover .v2-tile-img,
  .v2-tile-texto:hover .v2-tile-icone { transform: none; }
}

/* Tags dentro do card (Tráfego) */
.v2-tile-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.v2-tile-tags span {
  font-size: .78rem;
  padding: .3rem .65rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .9);
  background: rgba(11, 47, 77, .35);
}
.v2-tile-texto.claro .v2-tile-tags span { border-color: var(--v2-border); color: var(--v2-muted); background: #fff; }

/* =====================================================
   Organização: cards de sinais e antes/depois com marcadores
   ===================================================== */
.v2-sinais { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 600px) { .v2-sinais { grid-template-columns: repeat(2, 1fr); } }

.v2-sinal {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  background-image: radial-gradient(240px circle at var(--mx, -999px) var(--my, -999px), rgba(31, 138, 192, .08), transparent 70%);
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.4rem 1.75rem;
  transition: transform .4s var(--v2-ease), border-color .3s ease;
}
.v2-sinal::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--v2-blue);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--v2-ease);
}
.v2-sinal-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.v2-sinal-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--v2-border);
  background: var(--v2-bg-soft);
  color: var(--v2-blue);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.v2-sinal-num { font-size: .72rem; font-weight: 600; letter-spacing: .14em; color: var(--v2-muted-2); }
.v2-sinal h3 {
  font-family: var(--v2-serif);
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--v2-text);
}
.v2-sinal-custo {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px dashed var(--v2-border);
}
.v2-sinal-custo > span:first-child {
  display: block;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--v2-blue);
}
.v2-sinal-custo .v2-custo { margin-top: .25rem; }

@media (hover: hover) and (pointer: fine) {
  .v2-sinal:hover { transform: translateY(-3px); border-color: rgba(21, 103, 158, .35); }
  .v2-sinal:hover::before { transform: scaleY(1); }
  .v2-sinal:hover .v2-sinal-icone { background: var(--v2-blue); border-color: var(--v2-blue); color: #fff; }
}

/* Antes / depois */
.v2-compare-vivo { grid-template-columns: 1fr; align-items: stretch; gap: 1rem; }
@media (min-width: 768px) { .v2-compare-vivo { grid-template-columns: 1fr 48px 1fr; } }

.v2-compare-seta {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v2-blue);
}
.v2-compare-seta svg { animation: v2-seta 2.4s ease-in-out infinite; }
@media (max-width: 767px) { .v2-compare-seta svg { transform: rotate(90deg); animation-name: v2-seta-v; } }
@keyframes v2-seta   { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes v2-seta-v { 0%, 100% { transform: rotate(90deg) translateX(0); } 50% { transform: rotate(90deg) translateX(5px); } }

.v2-compare-vivo .v2-compare-col { padding: 2rem; }
.v2-compare-vivo .v2-compare-col.antes { background: #fff; }
.v2-compare-vivo .v2-compare-col.depois {
  background-color: var(--v2-ink);
  border-color: var(--v2-ink);
  background-image: radial-gradient(rgba(156, 199, 232, .10) 1px, transparent 1.2px);
  background-size: 22px 22px;
}
.v2-compare-vivo .v2-compare-col.depois h3 { color: #fff; }

.v2-marcas li {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--v2-border);
  color: var(--v2-muted);
  line-height: 1.45;
}
.v2-marcas li:first-child { border-top: 1px solid var(--v2-border); }
.v2-marca {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eef0f3;
  color: var(--v2-muted-2);
}
.depois .v2-marcas li { color: rgba(255, 255, 255, .88); border-color: rgba(255, 255, 255, .12); }
.depois .v2-marca { background: rgba(31, 138, 192, .28); color: var(--v2-blue-soft); }

/* Os itens do "depois" acendem um a um quando o card entra na tela */
.depois .v2-marcas li { opacity: .3; transition: opacity .5s ease; }
.depois .v2-marcas .v2-marca { transform: scale(.6); transition: transform .5s var(--v2-ease), background-color .5s ease; }
.depois.visible .v2-marcas li { opacity: 1; }
.depois.visible .v2-marcas .v2-marca { transform: none; background: rgba(31, 138, 192, .55); color: #fff; }
.depois.visible .v2-marcas li:nth-child(1), .depois.visible .v2-marcas li:nth-child(1) .v2-marca { transition-delay: .25s; }
.depois.visible .v2-marcas li:nth-child(2), .depois.visible .v2-marcas li:nth-child(2) .v2-marca { transition-delay: .45s; }
.depois.visible .v2-marcas li:nth-child(3), .depois.visible .v2-marcas li:nth-child(3) .v2-marca { transition-delay: .65s; }
.depois.visible .v2-marcas li:nth-child(4), .depois.visible .v2-marcas li:nth-child(4) .v2-marca { transition-delay: .85s; }

@media (prefers-reduced-motion: reduce) {
  .v2-sinal, .v2-sinal::before, .v2-sinal-icone { transition: none; }
  .v2-sinal:hover { transform: none; }
  .v2-compare-seta svg { animation: none; }
  .depois .v2-marcas li, .depois .v2-marcas .v2-marca { opacity: 1; transform: none; transition: none; }
}

/* =====================================================
   Como trabalhamos: fluxo do diagnóstico, segmentos e FAQ em cards
   ===================================================== */
.v2-selo {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.25rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  background: #e8f1f8;
  color: var(--v2-blue-btn);
  font-size: .82rem;
  font-weight: 600;
}

/* Fluxo de 4 etapas com linha que se preenche ao rolar */
.v2-fluxo {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  counter-reset: none;
}
.v2-fluxo-etapa {
  position: relative;
  background: #fff;
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  padding: 1.5rem 1.4rem 1.4rem 4.5rem;
  transition: border-color .3s ease, transform .4s var(--v2-ease);
}
.v2-fluxo-no {
  position: absolute;
  left: 1.25rem;
  top: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--v2-ink);
  color: #fff;
  font-family: var(--v2-serif);
  font-size: 1rem;
}
.v2-fluxo-icone { display: inline-flex; color: var(--v2-blue); margin-bottom: .6rem; }
.v2-fluxo-etapa h4 { font-family: var(--v2-serif); font-weight: 500; font-size: 1.15rem; color: var(--v2-text); margin-bottom: .35rem; }
.v2-fluxo-etapa p { color: var(--v2-muted); font-size: .95rem; line-height: 1.55; }
/* Linha vertical (celular) ligando os números */
.v2-fluxo::before {
  content: '';
  position: absolute;
  left: calc(1.25rem + 17px);
  top: 2rem;
  bottom: 2rem;
  width: 2px;
  background: var(--v2-border);
}
@media (min-width: 900px) {
  .v2-fluxo { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; padding-top: 3.25rem; }
  .v2-fluxo-etapa { padding: 2.25rem 1.4rem 1.5rem; }
  .v2-fluxo-no { left: 1.4rem; top: -3.25rem; width: 38px; height: 38px; }
  /* Linha horizontal acima dos cards, preenchida em azul quando a primeira etapa aparece */
  .v2-fluxo::before {
    left: 1.4rem;
    right: calc(25% - 1rem);
    top: 19px;
    bottom: auto;
    height: 2px;
    width: auto;
    background: linear-gradient(90deg, var(--v2-blue) 50%, var(--v2-border) 50%) right / 200% 100% no-repeat;
    transition: background-position 1.6s var(--v2-ease) .3s;
  }
  .v2-fluxo:has(.v2-fluxo-etapa.visible)::before { background-position: left; }
}
@media (hover: hover) and (pointer: fine) {
  .v2-fluxo-etapa:hover { border-color: rgba(21, 103, 158, .4); transform: translateY(-3px); }
}

/* Card "Atendemos todo o Brasil" */
.v2-brasil {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border-radius: 8px;
  background: var(--v2-ink);
  color: #fff;
}
.v2-brasil-icone {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(31, 138, 192, .3);
  color: var(--v2-blue-soft);
}
.v2-brasil strong { display: block; font-family: var(--v2-serif); font-weight: 500; font-size: 1.15rem; }
.v2-brasil span { color: rgba(255, 255, 255, .75); font-size: .92rem; }

/* Grade de segmentos */
.v2-segmentos { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 600px) { .v2-segmentos { grid-template-columns: repeat(3, 1fr); } }
.v2-segmento {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.25rem 1.1rem;
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  background: #fff;
  color: var(--v2-text);
  font-weight: 500;
  font-size: .95rem;
  transition: border-color .3s ease, transform .4s var(--v2-ease);
}
.v2-segmento-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--v2-bg-soft);
  color: var(--v2-blue);
  transition: background-color .3s ease, color .3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .v2-segmento:hover { border-color: rgba(21, 103, 158, .4); transform: translateY(-3px); }
  .v2-segmento:hover .v2-segmento-icone { background: var(--v2-blue); color: #fff; }
}

/* FAQ em cards + card de contato */
.v2-faq-contato {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-width: 360px;
}
.v2-faq-contato strong { font-family: var(--v2-serif); font-weight: 500; font-size: 1.2rem; color: var(--v2-text); }
.v2-faq-contato span { color: var(--v2-muted); font-size: .92rem; margin-bottom: .5rem; }
.v2-faq-contato .btn { align-self: flex-start; }

.v2-faq-cards { display: grid; gap: .75rem; }
.v2-faq-cards details {
  position: relative;
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  background: #fff;
  padding: 0 1.4rem;
  transition: border-color .3s ease, background-color .3s ease;
}
.v2-faq-cards details:first-child { border-top: 1px solid var(--v2-border); }
.v2-faq-cards details::before {
  content: '';
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: 3px;
  border-radius: 8px 0 0 8px;
  background: var(--v2-blue);
  transform: scaleY(0);
  transition: transform .35s var(--v2-ease);
}
.v2-faq-cards details[open] { border-color: rgba(21, 103, 158, .35); background: #f3f8fc; }
.v2-faq-cards details[open]::before { transform: scaleY(1); }
.v2-faq-cards summary { display: flex; align-items: baseline; gap: 1rem; padding-right: 2.5rem; }
.v2-faq-num { font-family: 'Inter', sans-serif; font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--v2-blue); }
.v2-faq-cards details p { padding-left: 2.35rem; }
@media (hover: hover) and (pointer: fine) {
  .v2-faq-cards details:hover { border-color: rgba(21, 103, 158, .35); }
}

@media (prefers-reduced-motion: reduce) {
  .v2-fluxo::before { transition: none; }
  .v2-fluxo-etapa, .v2-segmento, .v2-faq-cards details, .v2-faq-cards details::before { transition: none; }
  .v2-fluxo-etapa:hover, .v2-segmento:hover { transform: none; }
}
/* Celular (2 colunas): o último segmento, quando sobra sozinho, ocupa a linha toda */
@media (max-width: 599px) {
  .v2-segmento:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Organização, sinais: a coluna do título ganha um card com foto que preenche o vão até a base dos cards */
.v2-sinais-lado { display: flex; flex-direction: column; gap: 1.75rem; }
.v2-sinais-lado .v2-head { margin-bottom: 0; }
.v2-sinais-lado .v2-tile { min-height: 320px; }
@media (min-width: 900px) {
  .v2-split:has(> .v2-sinais-lado) { align-items: stretch; }
  .v2-sinais-lado .v2-tile { flex: 1; min-height: 380px; }
}
/* No celular, a chamada com foto vem depois dos sinais (a pessoa lê os sinais e então vê o convite) */
@media (max-width: 899px) {
  .v2-sinais-lado { display: contents; }
  .v2-split:has(> .v2-sinais-lado) > .v2-sinais { order: 1; }
  .v2-sinais-lado > .v2-tile { order: 2; }
}

/* =====================================================
   Como trabalhamos: diagnóstico com relatório vivo (sem imagem solta)
   Texto e entregas à esquerda; à direita um relatório ilustrativo em que a linha de luz
   passa e cada bloco sai de "analisando" para o resultado, um após o outro.
   ===================================================== */
.v2-diag-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .v2-diag-grid { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; } }
.v2-diag-texto .v2-selo { margin-top: 0; }
.v2-diag-texto .v2-actions { align-items: center; }
.v2-diag-recebe { margin-top: 1.75rem; }
.v2-diag-recebe li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .8rem 0;
  border-bottom: 1px solid var(--v2-border);
  color: var(--v2-muted);
  line-height: 1.5;
}
.v2-diag-recebe li:first-child { border-top: 1px solid var(--v2-border); }
.v2-diag-recebe svg { flex: 0 0 auto; color: var(--v2-blue); margin-top: 1px; }
.v2-diag-recebe strong { color: var(--v2-text); font-weight: 600; }

.v2-relatorio {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 1.6rem 1.6rem 2.4rem;
  background-color: var(--v2-ink);
  background-image:
    radial-gradient(ellipse 70% 60% at 85% 0%, rgba(31, 138, 192, .28), transparent 70%),
    radial-gradient(rgba(156, 199, 232, .09) 1px, transparent 1.2px);
  background-size: auto, 22px 22px;
  border: 1px solid rgba(156, 199, 232, .18);
  color: #fff;
}
.v2-relatorio.reveal { transform: none; }
.v2-rel-topo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.v2-rel-titulo { font-family: var(--v2-serif); font-size: 1.2rem; }
.v2-rel-status {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(156, 199, 232, .3);
  font-size: .75rem;
  color: var(--v2-blue-soft);
}
.v2-rel-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--v2-blue-soft); animation: v2-pulso 1.2s ease-in-out infinite; }
.v2-rel-status b { font-weight: 600; transition: opacity .4s ease; }
.v2-rel-status .pronto { position: absolute; left: 1.55rem; opacity: 0; }

.v2-rel-bloco { padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.v2-rel-rotulo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--v2-blue-soft);
  margin-bottom: .7rem;
}
.v2-rel-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.v2-rel-chips span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .32rem .7rem;
  border-radius: 6px;
  font-size: .82rem;
}
.v2-rel-chips .ok { background: rgba(31, 138, 192, .24); color: #fff; }
.v2-rel-chips .alerta { background: rgba(251, 191, 36, .12); color: #fcd98a; border: 1px solid rgba(251, 191, 36, .3); }
.v2-rel-prioridades { list-style: none; display: grid; gap: .45rem; counter-reset: prio; }
.v2-rel-prioridades li { display: flex; align-items: center; gap: .65rem; font-size: .9rem; color: rgba(255, 255, 255, .88); counter-increment: prio; }
.v2-rel-prioridades li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  font-size: .72rem;
  font-weight: 600;
}
.v2-rel-prioridades li span::before { content: counter(prio); }
.v2-rel-pronta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .95rem;
  border-radius: 6px;
  background: #fff;
  color: var(--v2-blue-btn);
  font-size: .88rem;
  font-weight: 600;
}
.v2-rel-nota { position: absolute; right: 1.6rem; bottom: .8rem; font-size: .7rem; color: rgba(255, 255, 255, .4); }

/* Linha de luz que varre o relatório (mesma linguagem da grade da home) */
.v2-rel-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(156, 199, 232, .95), transparent);
  box-shadow: 0 0 16px 3px rgba(31, 138, 192, .55);
  opacity: 0;
  pointer-events: none;
}

/* Estado inicial: blocos "em análise" (apagados, levemente deslocados) */
.v2-rel-bloco > :not(.v2-rel-rotulo) { opacity: .15; transform: translateY(6px); filter: blur(1.5px); transition: opacity .6s ease, transform .6s var(--v2-ease), filter .6s ease; }

/* Quando o relatório entra na tela: a linha passa e os blocos se resolvem em sequência */
.v2-relatorio.visible .v2-rel-scan { animation: v2-rel-varre 2.6s ease-in-out .3s 1 both, v2-rel-varre 2.6s ease-in-out 9s infinite; }
.v2-relatorio.visible .v2-rel-bloco > :not(.v2-rel-rotulo) {
  opacity: 1;
  transform: none;
  filter: none;
  transition-delay: calc(.7s + var(--d, 0) * .55s);
}
.v2-relatorio.visible .v2-rel-status .analisando { opacity: 0; transition-delay: 3s; }
.v2-relatorio.visible .v2-rel-status .pronto { opacity: 1; transition-delay: 3s; }
.v2-relatorio.visible .v2-rel-status i { animation: none; background: #6ee7b7; transition: background-color .3s ease 3s; }

@keyframes v2-rel-varre {
  0%   { top: 0;    opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes v2-pulso { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

@media (prefers-reduced-motion: reduce) {
  .v2-rel-bloco > :not(.v2-rel-rotulo) { opacity: 1; transform: none; filter: none; transition: none; }
  .v2-rel-scan { display: none; }
  .v2-rel-status i { animation: none; }
  .v2-rel-status .analisando { opacity: 0; }
  .v2-rel-status .pronto { opacity: 1; }
}

/* =====================================================
   Heros internos com altura padronizada (a home não entra: usa .v2-hero)
   A altura mínima comporta o hero com mais conteúdo (Organização digital);
   o conteúdo fica centralizado na vertical, abaixo do cabeçalho transparente.
   ===================================================== */
.v2-page-hero {
  --v2-hero-int-h: 720px;
  display: flex;
  align-items: center;
  min-height: var(--v2-hero-int-h);
  padding-bottom: 3rem;
}
.v2-page-hero > .container { width: 100%; }
body:has(header.over-hero) .v2-page-hero { padding-top: calc(var(--v2-nav-h, 73px) + 3rem); }
@media (min-width: 768px) { .v2-page-hero { --v2-hero-int-h: 700px; } }
@media (min-width: 1024px) {
  .v2-page-hero { --v2-hero-int-h: 680px; padding-bottom: 3rem; }
  body:has(header.over-hero) .v2-page-hero { padding-top: calc(var(--v2-nav-h, 73px) + 3rem); }
}

/* =====================================================
   Tráfego: "Antes de anunciar" como checklist de decolagem interativo
   Três interruptores; o painel mostra "Pronto para anunciar" ou o que fica em risco.
   Sem JS, tudo aparece ligado (estado final); o JS anima a ligação e permite desligar.
   ===================================================== */
.v2-decolagem { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 900px) { .v2-decolagem { grid-template-columns: 1.35fr 1fr; gap: 2rem; } }
.v2-dec-itens { display: grid; gap: 1rem; }

.v2-dec-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  background: #fff;
  transition: border-color .35s ease, background-color .35s ease;
}
.v2-dec-item.desligado { border-color: rgba(217, 119, 6, .35); background: #fffaf2; }

.v2-dec-chave {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 999px;
  margin-top: .15rem;
}
.v2-dec-chave:focus-visible { outline: 2px solid var(--v2-blue); outline-offset: 3px; }
.v2-dec-trilho {
  position: relative;
  display: block;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: #cfd6df;
  transition: background-color .35s ease;
}
.v2-dec-bola {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: transform .35s var(--v2-ease);
}
.v2-dec-chave[aria-checked="true"] .v2-dec-trilho { background: var(--v2-blue); }
.v2-dec-chave[aria-checked="true"] .v2-dec-bola { transform: translateX(22px); }

.v2-dec-texto h3 {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--v2-serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--v2-text);
  margin-bottom: .45rem;
}
.v2-dec-icone { display: inline-flex; color: var(--v2-blue); }
.v2-dec-item.desligado .v2-dec-icone { color: #b45309; }
.v2-dec-texto p { font-size: .95rem; line-height: 1.55; color: var(--v2-muted); }
.v2-dec-texto strong { color: var(--v2-text); font-weight: 600; }
.v2-dec-sem { display: none; }
.v2-dec-item.desligado .v2-dec-com { display: none; }
.v2-dec-item.desligado .v2-dec-sem { display: block; color: #92400e; }
.v2-dec-item.desligado .v2-dec-sem strong { color: #92400e; }

/* Painel de status */
.v2-dec-painel {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: 12px;
  background-color: var(--v2-ink);
  background-image: radial-gradient(rgba(156, 199, 232, .09) 1px, transparent 1.2px);
  background-size: 22px 22px;
  color: #fff;
  text-align: center;
}
@media (min-width: 900px) { .v2-dec-painel { position: sticky; top: calc(var(--v2-nav-h, 73px) + 1.5rem); } }
.v2-dec-painel.reveal { transform: none; }
.v2-dec-painel-rotulo { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--v2-blue-soft); }
.v2-dec-luz {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 1.5rem auto 1.1rem;
  border-radius: 50%;
  border: 1px solid rgba(156, 199, 232, .25);
  display: grid;
  place-items: center;
}
.v2-dec-luz span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 22px 6px rgba(110, 231, 183, .45);
  transition: background-color .4s ease, box-shadow .4s ease;
}
.v2-dec-painel.risco .v2-dec-luz span {
  background: #fbbf24;
  box-shadow: 0 0 22px 6px rgba(251, 191, 36, .45);
  animation: v2-pulso 1.1s ease-in-out infinite;
}
.v2-dec-status { display: block; font-family: var(--v2-serif); font-weight: 500; font-size: 1.6rem; line-height: 1.2; }
.v2-dec-resumo { margin: .6rem auto 0; max-width: 32ch; font-size: .95rem; color: rgba(255, 255, 255, .78); }
.v2-dec-riscos { list-style: none; margin: 1rem 0 0; display: grid; gap: .45rem; text-align: left; }
.v2-dec-riscos li {
  padding: .55rem .8rem;
  border-radius: 6px;
  font-size: .88rem;
  background: rgba(251, 191, 36, .12);
  border: 1px solid rgba(251, 191, 36, .3);
  color: #fcd98a;
}
.v2-dec-painel .v2-link { margin-top: 1.5rem; color: var(--v2-blue-soft); }

@media (prefers-reduced-motion: reduce) {
  .v2-dec-item, .v2-dec-trilho, .v2-dec-bola, .v2-dec-luz span { transition: none; }
  .v2-dec-painel.risco .v2-dec-luz span { animation: none; }
}
/* Ícone alinhado à primeira linha quando o título quebra (celular) */
.v2-dec-texto h3 { align-items: flex-start; }
.v2-dec-icone { margin-top: .22rem; }
/* Desktop: o painel de status tem a mesma altura da coluna de interruptores, com o conteúdo centralizado */
@media (min-width: 900px) {
  .v2-decolagem { align-items: stretch; }
  .v2-dec-painel {
    position: relative;
    top: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .v2-dec-riscos { width: 100%; }
}

/* Palavra ao fundo (revisão): preenchimento sólido suave no lugar do contorno fino,
   inteira dentro da largura do conteúdo (sem corte na borda) e oculta no celular */
.v2-marca-dagua {
  top: 2.25rem;
  right: max(1.25rem, calc((100vw - var(--max-width, 1200px)) / 2 + 1.25rem));
  font-size: clamp(5rem, 11vw, 9.5rem);
  letter-spacing: -.03em;
  color: rgba(21, 103, 158, .07);
  -webkit-text-stroke: 0;
}
.v2-soft .v2-marca-dagua { color: rgba(21, 103, 158, .085); -webkit-text-stroke: 0; }
@media (max-width: 767px) { .v2-marca-dagua { display: none; } }
