/* Ajustes da vitrine sobre o CSS original do Consora (main.css).
   As cores vêm de src/content/theme.ts (variáveis --vt-* definidas no <html>). */

/* As páginas internas do template usam as variáveis do tema "finance": aqui elas seguem a paleta da vitrine */
:root {
  --tp-finance-primary: var(--vt-accent);
  --tp-finance-secondary: var(--vt-dark);
  --tp-finance-white: var(--vt-light);
}

/* ---------- utilidades ---------- */
.vt-cover { width: 100%; height: 100%; object-fit: cover; }
.vt-cover-bg { background-size: cover; background-position: center; }
.vt-light-bg { background-color: var(--vt-light); }
.vt-dark-bg { background-color: var(--vt-dark) !important; }
.vt-accent-bg { background-color: var(--vt-accent) !important; }
.vt-accent-bg, .vt-accent-bg p, .vt-accent-bg span { color: var(--vt-accent-text) !important; }
.vt-icon-accent { color: var(--vt-accent); display: inline-flex; }
.vt-icon-lg svg { width: 44px; height: 44px; }
.h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--tp-ff-heading); }

/* Botão principal nas páginas internas e envios */
.tp-btn.vt-submit, .vt-blog-search .tp-btn { background-color: var(--vt-accent); color: var(--vt-accent-text); border: 0; }
.tp-btn.vt-submit:hover, .vt-blog-search .tp-btn:hover { background-color: var(--vt-dark); color: #fff; }

/* ---------- cabeçalho ---------- */
.tp-header-logo img, .tp-offcanvas-logo img { width: 177px; max-width: 46vw; height: auto; }
.tp-header-menu nav > ul > li > a { white-space: nowrap; }
.tp-offcanvas-title.h3 { font-size: 26px; }
.tp-offcanvas-title.sm.h3 { font-size: 18px; }

/* ---------- faixa de título das páginas internas ---------- */
.vt-breadcrumb { position: relative; }
.vt-breadcrumb .tp-cc-chose-bg img { width: 100%; height: 100%; object-fit: cover; }
.vt-breadcrumb .tp-cc-chose-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.15) 100%); }
.vt-breadcrumb .tp-breadcrumb-title, .vt-breadcrumb .tp-breadcrumb-content p, .vt-breadcrumb .tp-breadcrumb-list li, .vt-breadcrumb .tp-breadcrumb-list li a { color: #fff; }
.vt-breadcrumb .tp-breadcrumb-list { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-breadcrumb .tp-breadcrumb-list li a:hover { color: var(--vt-accent); }

/* ---------- home ---------- */
.tp-at-hero-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tp-at-hero-item-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,8,6,.72) 0%, rgba(20,8,6,.35) 60%, rgba(20,8,6,.1) 100%); pointer-events: none; }
.tp-at-hero-card-title.h3 { margin-bottom: 0; }
.tp-at-service-thumb img { object-fit: cover; aspect-ratio: 257 / 235; }
.tp-at-team-item-thumb img { aspect-ratio: 362 / 400; object-fit: cover; }
.vt-blog-thumb { aspect-ratio: 491 / 500; object-fit: cover; }
.tp-at-award-wrapper > img.vt-cover { height: 700px; max-height: 70vh; }
.tp-at-pricing-value { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.tp-at-pricing-title.h2 { font-size: 26px; }
.vt-plans-note { color: rgba(255,255,255,.7); font-size: 14px; margin-top: 10px; }
.tp-at-testimonial-user-name.h3 { font-size: 18px; margin-bottom: 2px; }
.tp-cc-fact-item-text.h3 { margin-bottom: 10px; }
a.tp-at-download-btn { display: inline-flex; align-items: center; gap: 8px; }
.vt-initials { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--vt-accent); color: var(--vt-accent-text); font-weight: 600; font-size: 16px; flex-shrink: 0; }

/* ---------- páginas internas ---------- */
.vt-faq-q { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
.vt-faq-q .accordion-buttons { text-align: left; }
.vt-detail-photo img { width: 100%; height: 620px; max-height: 70vh; object-fit: cover; border-radius: 6px; display: block; }
.vt-step-text { margin: 0; }
.vt-steps .tp-at-step-item { height: calc(100% - 30px); }
.tp-fi-value-thumb-main img { aspect-ratio: 613 / 520; }
.vt-value-text strong { font-weight: 600; }
.tp-about-thumb-wrap img { aspect-ratio: 491 / 560; }
.tp-about-thumb img { aspect-ratio: 362 / 440; }
.tp-fi-service-item { height: calc(100% - 30px); display: flex; flex-direction: column; }
.tp-fi-service-item-content { flex: 1; }
.tp-fi-service-item-btn a { display: inline-flex; align-items: center; gap: 8px; }
.vt-contact-icon { color: var(--vt-accent); display: inline-flex; align-items: center; justify-content: center; }
.vt-contact-icon svg { width: 22px; height: 22px; }
.vt-hours { color: var(--vt-dark); opacity: .75; }
.tp-contact-map-content iframe { width: 100%; height: 460px; border: 0; display: block; }
.vt-testimonial-card { background: #fff; border-radius: 6px; padding: 32px; height: calc(100% - 30px); display: flex; flex-direction: column; justify-content: space-between; }
.vt-cta-band .tp-cn-success-item { background-image: none; }
.vt-cta-band .tp-cn-success-item, .vt-cta-band .tp-cn-success-item * { color: #fff; }
.vt-cta-band .tp-cn-success-item-2 { min-height: 100%; }

/* ---------- formulários ---------- */
.privacy-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.privacy-consent input { margin-top: 4px; accent-color: var(--vt-accent); }
.privacy-consent a { text-decoration: underline; }
.privacy-consent--dark { color: #fff; }
.form-status { margin-top: 15px; font-size: 15px; }
.form-status--ok { color: #1c7c3c; }
.form-status--error { color: #b3261e; }

/* ---------- blog ---------- */
.vt-blog-filter { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.vt-blog-search { display: flex; gap: 10px; flex: 1 1 320px; max-width: 460px; }
.vt-blog-search input { flex: 1; height: 54px; border: 1px solid rgba(0,0,0,.12); border-radius: 6px; padding: 0 18px; }
.vt-blog-cats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.vt-blog-cats a { display: inline-block; padding: 8px 16px; border-radius: 30px; border: 1px solid rgba(0,0,0,.12); font-size: 14px; }
.vt-blog-cats a.active, .vt-blog-cats a:hover { background: var(--vt-accent); border-color: var(--vt-accent); color: var(--vt-accent-text); }
.vt-blog-card { height: calc(100% - 30px); display: flex; flex-direction: column; }
.vt-blog-card .description { flex: 1; }
.vt-blog-card-img { display: block; margin-bottom: 24px; overflow: hidden; border-radius: 6px; }
.vt-blog-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s; }
.vt-blog-card:hover .vt-blog-card-img img { transform: scale(1.04); }
.vt-post .tp-blog-details-thumb img { aspect-ratio: 1520 / 580; }
.vt-post-meta { margin-top: 15px; opacity: .7; }
.vt-post-lead { font-size: 19px; line-height: 1.6; }
.vt-post-list { list-style: none; padding: 0; }
.vt-post-list li { display: flex; gap: 10px; align-items: baseline; margin-bottom: 8px; }
.vt-post-list li svg { color: var(--vt-accent); flex-shrink: 0; }
.vt-quote-author { display: block; margin-top: 12px; font-weight: 600; font-size: 14px; }
.vt-post-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.vt-post-tags a { padding: 6px 14px; border-radius: 30px; background: var(--vt-light); font-size: 14px; }
.vt-post-aside { background: var(--vt-light); padding: 30px; border-radius: 6px; position: sticky; top: 120px; }
.vt-post-aside .h4 { font-size: 20px; margin-bottom: 12px; }
.vt-post-aside p { margin-bottom: 20px; }

/* ---------- legais e 404 ---------- */
.vt-legal-updated { opacity: .7; margin-bottom: 30px; }
.vt-error-code { font-size: clamp(110px, 20vw, 220px); line-height: 1; font-weight: 700; color: var(--vt-accent); margin-bottom: 20px; }

/* ---------- rodapé ---------- */
.vt-footer .tp-footer-widget-title.h4 { text-transform: uppercase; }
.vt-footer .tp-at-footer-contact a, .vt-footer .vt-footer-line { display: inline-flex; gap: 10px; align-items: flex-start; }
.vt-footer .tp-at-footer-contact svg { flex-shrink: 0; margin-top: 4px; color: #fff; }
.vt-footer .vt-footer-line { color: rgba(255,255,255,.8); }
.vt-credit { font-size: 14px; opacity: .85; margin-top: 4px; }
.vt-credit a { text-decoration: underline; }
.vt-btn-whatsapp { color: #fff; border-color: rgba(255,255,255,.4); }
.vt-btn-whatsapp:hover { background: #25d366; border-color: #25d366; color: #fff; }

@media (max-width: 991px) {
  .tp-at-award-wrapper > img.vt-cover { height: 420px; }
  .vt-detail-photo img { height: 380px; }
}

.tp-at-header-contact a, .tp-header-action .tp-btn { white-space: nowrap; }
.vt-growth-chart { width: 100%; max-width: 627px; height: auto; color: var(--vt-dark); }
.tp-fi-hero-sub p { max-width: 560px; }

/* Títulos das páginas internas na cor escura da vitrine (o tema do <body> deixaria todos na cor de destaque) */
.tp-section-title { color: var(--vt-dark); }
.tp-fa-control-item-title, .tp-fi-service-item-title a, .tp-about-vision-item-title, .postbox-details-title, .tp-at-step-item-title, .tp-contact-info-title, .tp-cn-blog-item-title a { color: var(--vt-dark); }
.tp-fi-value-list ul li { display: flex; align-items: flex-start; gap: 12px; } .vt-value-text { margin: 0; flex: 1; }
.tp-fi-value-list ul li > span { flex-shrink: 0; margin-top: 4px; }

/* ---------- home 03 "Financial Advisory" (vitrine 3007) ---------- */
/* Botão principal sólido na cor de destaque (no template, tp-btn-advisory-style só aparece junto de tp-btn-border) */
.tp-btn.tp-btn-advisory-style:not(.tp-btn-border) { background-color: var(--vt-accent); color: var(--vt-accent-text); border: 0; }
.tp-btn.tp-btn-advisory-style:not(.tp-btn-border):hover { color: var(--vt-accent-text); }
.tp-btn.tp-btn-advisory-style:not(.tp-btn-border) i::after { background-color: var(--vt-accent-text); }
.tp-fa-header-style .tp-header-action .tp-btn.tp-btn-border { color: var(--vt-dark); border-color: var(--vt-dark); }
.tp-fa-hero-title img { width: 44px; height: 44px; vertical-align: middle; }
/* Hero: o template deixa 185px abaixo do título e 120px abaixo do texto/lista em telas grandes */
@media (min-width: 1200px) {
  .tp-fa-hero-title { padding-bottom: 40px; }
  .tp-fa-hero-middle { margin-bottom: 48px; }
}
/* Hero: texto como parágrafo de destaque e lista em grade 2x2 abaixo dele */
.tp-fa-hero-middle { display: block; }
.tp-fa-hero-text p { font-size: 18px; line-height: 1.6; max-width: 540px; margin-bottom: 28px; }
.tp-fa-hero-list ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; max-width: 640px; transform: none; padding: 0; margin: 0; }
.tp-fa-hero-list ul li { align-items: center; gap: 12px; font-size: 15px; line-height: 1.35; font-weight: 500; }
.tp-fa-hero-list ul li:not(:last-of-type) { margin-bottom: 0; }
.tp-fa-hero-list ul li > span { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--vt-accent); color: var(--vt-accent-text); }
@media (max-width: 575px) {
  .tp-fa-hero-list ul { grid-template-columns: 1fr; }
}
/* Hero: telefone ao lado do botão; o link "trocar de contador" desce para a linha de baixo */
.tp-fa-hero-botom { flex-direction: column; align-items: flex-start; gap: 22px; }
.vt-hero-cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.tp-fa-hero-thumb-wrapper > img { width: 759px; max-width: 100%; object-fit: cover; }
.tp-fi-value-graph-title.h3 { font-size: 18px; margin-bottom: 4px; }
.vt-mini-card { width: 280px; padding: 22px 24px; border-radius: 10px; background: #fff; box-shadow: 0 0 20px 0 rgba(27, 38, 38, .08); color: var(--vt-dark); margin-left: 20px; }
.vt-mini-card-title { display: block; font-size: 15px; margin-bottom: 14px; }
.vt-mini-card-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.vt-mini-card-row strong { font-size: 34px; font-weight: 400; line-height: 1; }
.vt-mini-card-row em { font-style: normal; font-size: 12px; padding: 4px 10px; border-radius: 20px; background: var(--vt-light); }
.vt-mini-card-foot { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 10px 12px; border-radius: 6px; background: var(--vt-light); }
.vt-mini-card-foot svg { color: var(--vt-accent); }
.tp-fa-about-thumb-wrapper > img.vt-cover { display: block; }
.tp-fa-about-btn a { text-align: center; }
.tp-fa-service-thumb img { width: 100%; aspect-ratio: 491 / 436; object-fit: cover; }
.vt-banner-img { width: 100%; aspect-ratio: 1920 / 680; object-fit: cover; display: block; }
.tp-fi-banner-title a { color: inherit; }
.tp-fi-banner-title a:hover { color: var(--vt-accent); }
.vt-steps-chart { width: 266px; max-width: 100%; height: auto; display: block; }
.tp-fa-value-list-title.h3 { margin-bottom: 0; }
.vt-progress-full::before { width: 100%; }
.vt-fact-img { aspect-ratio: 491 / 453; object-fit: cover; }
.vt-strategy-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vt-gallery-img { aspect-ratio: 360 / 225; object-fit: cover; }
.vt-contact-home { background-position: right center; }
.vt-contact-home .privacy-consent { color: var(--vt-dark); }
.tp-fa-cta-thumb img { display: block; aspect-ratio: 1920 / 400; }
/* rodapé 3 */
.vt-footer3 .tp-footer-widget-title.h4 { text-transform: uppercase; font-size: 16px; }
.vt-footer3 .tp-footer-contact-location a, .vt-footer3 .tp-footer-contact-tel { color: #fff; }
.vt-footer3 .tp-footer-3-privacy a { white-space: nowrap; }
.vt-footer3 .tp-footer-copyright-text .vt-credit { color: #fff; }
.vt-footer3 .tp-footer-3-input form { position: relative; }
.vt-footer3 .tp-footer-3-input .privacy-consent { margin-top: 14px; font-size: 13px; }
@media (max-width: 991px) {
  .vt-mini-card { display: none; }
  .tp-fa-hero-thumb-wrapper > img { width: 100%; height: 460px; }
}
.vt-footer3-news-text { color: #88A5AD; margin-bottom: 18px; }
.vt-footer3-hours { color: #88A5AD !important; font-size: 15px; }

/* Largura do conteúdo: 1320px (o Consora usa 1545px a partir de 1400px) */
@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { max-width: 1320px; }
}

/* Duas seções brancas seguidas: remove o espaço de cima da segunda (o de baixo da anterior já separa) */
.tp-sec-ptb.vt-tight-top { padding-top: 0 !important; }
.tp-fi-value-ptb.vt-tight-top .tp-fi-value-thumb-wrapper { margin-top: 0 !important; }
