/* Vincasse sobre o template Studiova – cores e fontes dos posts da Vincasse */
:root {
  --navy: #12153D;
  --navy-noite: #0C1035;
  --verde: #00D084;
  --verde-escuro: #0A6B46;
  --menta: #E3F7EE;
  --ambar: #F0B25A;
  --titulo: "Montserrat", "Segoe UI", sans-serif;
  --bs-body-color: #4A5070;
}
body { font-family: "Inter", "Segoe UI", sans-serif; color: #4A5070; }
h1, h2, h3, h4, h5, .btn .btn-text, .badge, .nav-link, .fw-bold { font-family: var(--titulo); }
h1, h2, h3 { letter-spacing: -.02em; color: var(--navy); }
::selection { background: var(--verde); color: var(--navy); }
:focus-visible { outline: 2px solid var(--ambar); outline-offset: 3px; }
.text-primary { color: var(--verde) !important; }

/* Cabeçalho */
.logo-vincasse { width: clamp(130px, 13vw, 168px); height: auto; }
.header.fixed-header { background-color: rgba(12, 16, 53, .96); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .7); }
.toggle-menu { background-color: #fff !important; }
.header.fixed-header .toggle-menu { background-color: var(--verde) !important; }
.header.fixed-header .toggle-menu .menu-icon { color: var(--navy) !important; }
.btn-whats-topo {
  color: #fff; text-decoration: none; font-family: var(--titulo); font-weight: 700; font-size: .95rem;
  padding: .7rem 1.2rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); transition: .3s;
}
.btn-whats-topo iconify-icon { color: var(--verde); }
.btn-whats-topo:hover { background: var(--verde); color: var(--navy); border-color: var(--verde); }
.btn-whats-topo:hover iconify-icon { color: var(--navy); }
.dropdown-menu { border-radius: 18px; min-width: 300px; }

/* Botão do template: texto navy, ícone branco */
.btn .btn-text { color: var(--navy); }
.btn:hover { background-color: var(--navy); }
.btn:hover .btn-text { color: #fff; }
.services .btn:hover { background-color: var(--verde); }
.services .btn:hover .btn-text { color: var(--navy); }
.btn-escuro { background-color: var(--navy); }
.btn-escuro .btn-text { color: #fff; }
.btn-escuro:hover { background-color: #fff; }
.btn-escuro:hover .btn-text { color: var(--navy); }
.btn-contorno {
  display: inline-flex; align-items: center; gap: .55rem; padding: .95rem 1.5rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-family: var(--titulo); font-weight: 700; text-decoration: none; transition: .3s;
}
.btn-contorno:hover { border-color: var(--verde); color: var(--verde); }

/* Abertura */
.abertura {
  background: radial-gradient(ellipse 55% 60% at 85% 35%, rgba(0, 208, 132, .16), transparent 65%), var(--navy-noite);
  padding: clamp(8rem, 15vh, 10rem) 0 clamp(4rem, 9vh, 6rem);
  min-height: min(100svh, 980px);
  display: flex; align-items: center;
}
.abertura-fundo { position: absolute; left: 0; bottom: 0; width: min(38vw, 520px); opacity: .5; pointer-events: none; filter: invert(1) brightness(.35); }
.titulo-abertura { font-weight: 900; font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.6rem); line-height: 1.04; letter-spacing: -.03em; }
.lead-abertura { max-width: 60ch; line-height: 1.65; }
.parceiros img { height: auto; }
.parceiro-afpesp { width: 46px; }
.parceiro-corpe { width: 104px; }
.parceiro-vincasse { width: 118px; }
.parceiro-mais { color: var(--verde); font-family: var(--titulo); font-weight: 800; font-size: 1.3rem; }

.video-cartao {
  width: min(100%, 400px); aspect-ratio: 9 / 13.5; border-radius: 28px; overflow: visible;
}
.video-cartao video { border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 8px rgba(255, 255, 255, .06); }
.selo-flutuante {
  position: absolute; display: flex; align-items: center; gap: .65rem; background: #fff; color: var(--navy);
  border-radius: 18px; padding: .9rem 1.1rem; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55);
  font-family: var(--titulo); animation: flutuar 6s ease-in-out infinite;
}
.selo-vidas { left: -2.2rem; bottom: 12%; flex-direction: column; align-items: flex-start; gap: 0; background: var(--verde); }
.selo-vidas strong { font-size: 2rem; font-weight: 900; line-height: 1; }
.selo-vidas span { font-size: .85rem; font-weight: 700; }
.selo-anos { right: -1.6rem; top: 9%; font-size: .9rem; animation-delay: -3s; }
@keyframes flutuar { 50% { transform: translateY(-10px); } }

/* Títulos de seção */
.titulo-secao { font-weight: 800; font-size: clamp(1.7rem, 1.1rem + 1.9vw, 2.9rem); line-height: 1.12; max-width: 24ch; }
.titulo-secao .destaque { color: var(--verde-escuro); }
.bg-dark .titulo-secao .destaque, .services .titulo-secao .destaque { color: var(--verde); }
.badge.text-bg-dark { background-color: var(--navy) !important; }

/* Operadoras: faixa infinita */
.faixa-logos { overflow: hidden; mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.faixa-trilho { display: flex; gap: 1.2rem; width: max-content; animation: deslizar 45s linear infinite; }
.faixa-logos:hover .faixa-trilho { animation-play-state: paused; }
.faixa-trilho li {
  width: 200px; height: 120px; background: #fff; border-radius: 20px; display: grid; place-items: center; padding: 1rem 1.4rem;
  box-shadow: 0 10px 30px -18px rgba(18, 21, 61, .35); transition: transform .4s;
}
.faixa-trilho li:hover { transform: translateY(-4px); }
.faixa-trilho img { max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes deslizar { to { transform: translateX(-50%); } }
.numero { font-weight: 900; font-size: clamp(2.8rem, 1.8rem + 3vw, 4.4rem); line-height: 1; color: var(--navy); }
.numero small { font-size: .38em; font-weight: 800; color: var(--verde-escuro); letter-spacing: 0; }

/* Planos */
.plano-cartao { position: relative; display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; isolation: isolate; }
.plano-cartao img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.plano-cartao::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(12, 16, 53, .88)); z-index: 0; }
.plano-cartao:hover img { transform: scale(1.06); }
.plano-meio { transform: translateY(2.5rem); }
.plano-rodape { position: absolute; z-index: 1; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.6rem; }
.plano-rodape h3 { color: #fff; font-weight: 800; font-size: clamp(1.2rem, 1rem + .6vw, 1.55rem); }
.plano-seta { width: 52px; height: 52px; border-radius: 50%; background: var(--verde); color: var(--navy); display: grid; place-items: center; font-size: 1.4rem; flex: none; transition: transform .4s; }
.plano-cartao:hover .plano-seta { transform: rotate(45deg); }

/* Soluções */
.services { background-color: var(--navy) !important; }
.solucao-fotos img { border-radius: 24px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.services-tab .nav-tabs .nav-item .nav-link { color: rgba(255, 255, 255, .55); transition: color .3s; line-height: 1.15; }
.services-tab .nav-tabs .nav-item .nav-link.active, .services-tab .nav-tabs .nav-item .nav-link:hover { color: var(--verde); background: none; }
.services-tab .nav-tabs { border: 0; }
.tab-pane.active img { animation: aparecer .8s cubic-bezier(.16, 1, .3, 1); }
@keyframes aparecer { from { opacity: 0; transform: scale(.96); } }

/* Atendimento */
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: p; }
.passo { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.4; isolation: isolate; }
.passo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.passo:hover img { transform: scale(1.05); }
.passo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 16, 53, 0) 40%, rgba(12, 16, 53, .9)); z-index: 0; }
.passo-texto { position: absolute; z-index: 1; inset: auto 0 0; display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.4rem; }
.passo-num { width: 44px; height: 44px; border-radius: 50%; background: var(--verde); color: var(--navy); display: grid; place-items: center; font-family: var(--titulo); font-weight: 900; font-size: 1.15rem; flex: none; }
.passo-texto p { margin: 0; color: #fff; font-family: var(--titulo); font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.passo-final { outline: 3px solid var(--verde); outline-offset: -3px; }

/* Bento: não espere por imprevistos */
.cartao-imprevistos { border-radius: 28px; min-height: 420px; }
.cartao-imprevistos .card-body { padding: clamp(1.8rem, 3vw, 3rem); }
.titulo-imprevistos { font-weight: 900; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1.02; max-width: 12ch; color: var(--navy) !important; }
.foto-bento { border-radius: 24px; aspect-ratio: 1 / 1.05; object-fit: cover; }
.pilar { border-radius: 22px; }
.pilar h3 { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.card.border.pilar { background: #fff; }

/* Contato */
.contato-cartao { position: relative; border-radius: 28px; overflow: hidden; min-height: 460px; isolation: isolate; display: flex; }
.contato-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.contato-cartao::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 16, 53, .1), rgba(12, 16, 53, .92) 70%); }
.contato-conteudo { margin-top: auto; padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; width: 100%; }
.botao-whats {
  display: flex; align-items: center; justify-content: center; gap: .6rem; padding: 1.05rem 1.2rem; border-radius: 999px;
  background: var(--verde); color: var(--navy); font-family: var(--titulo); font-weight: 800; text-decoration: none; text-align: center;
  box-shadow: 0 16px 34px -14px rgba(0, 208, 132, .8); animation: pulsar 2.6s ease-out infinite;
}
@keyframes pulsar { 0% { box-shadow: 0 0 0 0 rgba(0, 208, 132, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(0, 208, 132, 0); } }
.contato-email { color: #fff; text-decoration: none; font-size: .95rem; word-break: break-all; }
.contato-email:hover { text-decoration: underline; }
.ficha-titulo { color: var(--navy); font-family: var(--titulo); font-size: 1.25rem !important; }
.ficha .form-control { color: var(--navy); font-size: 1.05rem; }
.ficha .form-control::placeholder { color: #6B7194; }
.ficha .form-control:focus { box-shadow: none; border-color: var(--verde) !important; }
.ficha [aria-invalid="true"] { border-color: #B3261E !important; }
.ficha-erro { color: #9C1C16; font-weight: 600; }

/* Rodapé */
.footer { background-color: var(--navy-noite) !important; }
.rodape-logo { width: 190px; }
.rodape-parceiros img { height: 46px; width: auto; }
.rodape-parceiros img + img { height: 40px; }

/* WhatsApp flutuante */
.whats-flutuante {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--verde); color: var(--navy); font-size: 2rem;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); transition: transform .3s;
}
.whats-flutuante:hover { transform: scale(1.08); }

/* Responsivo */
@media (max-width: 991.98px) {
  .abertura { min-height: auto; }
  .video-cartao { width: min(86%, 360px); margin-top: 1rem; }
  .selo-vidas { left: -.8rem; }
  .selo-anos { right: -.8rem; }
  .passos { grid-template-columns: repeat(2, 1fr); }
  .plano-meio { transform: none; }
}
@media (max-width: 767.98px) {
  .parceiro-corpe { width: 84px; } .parceiro-vincasse { width: 96px; } .parceiro-afpesp { width: 38px; }
  .passos { grid-template-columns: 1fr; }
  .passo { aspect-ratio: 16 / 10; }
  .plano-cartao { aspect-ratio: 16 / 13; }
  .faixa-trilho li { width: 160px; height: 100px; }
  .titulo-secao { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .faixa-trilho { flex-wrap: wrap; width: auto; justify-content: center; }
  .faixa-trilho li[aria-hidden="true"] { display: none; }
}

/* Ajustes finais */
.container { max-width: 1240px; padding-inline: clamp(1.25rem, 4vw, 2rem); }
.titulo-abertura { font-size: clamp(2.2rem, 1.2rem + 2.9vw, 3.9rem); }
.abertura { padding-top: clamp(7rem, 13vh, 8.5rem); }
.parceiros { margin-bottom: 1.6rem !important; }
.selo-vidas .count, .numero .count { font-size: inherit; font-weight: inherit; }
