/* 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; }

/* ======================================================================
   Vitrine 3005 · home 01 "Finance Investment" (tema finance: destaque claro #CEF79E)
   ====================================================================== */

/* Páginas internas que usam blocos da home Accounting (etapas, depoimentos): cores da vitrine */
:root {
  --tp-accounting-primary: var(--vt-dark);
  --tp-accounting-secondary: var(--vt-dark);
  --tp-accounting-3: var(--vt-dark);
  --tp-accounting-brown: var(--vt-dark);
  --tp-accounting-wood: #5B6768;
  --tp-accounting-gray: var(--vt-light);
}

/* Botão tp-btn-event usado como <a>/<button> com <span> no lugar de <div> */
.tp-btn-event .button-text, .tp-btn-event .button-icon-wrapper, .tp-btn-event .button-dot { font-style: normal; }
.tp-btn-event { white-space: nowrap; }
button.tp-btn-event { border: 0; }
.vt-reset-btn { border: 0; padding: 0; }

/* Cabeçalho: faixa de contato na cor de destaque */
.tp-header-info { flex-wrap: wrap; row-gap: 6px; }
.tp-header-info a span svg, .tp-header-social a svg { color: var(--vt-dark); }
.tp-header-social { display: inline-flex; align-items: center; }
.tp-header-action .tp-btn-event { margin-left: 0; }

/* Banner */
.tp-fi-hero-ptb { isolation: isolate; }
.vt-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -1; }
.tp-fi-hero-overlay::before { right: 25%; background: linear-gradient(90deg, #F7F7F5 0%, rgba(247,247,245,.92) 45%, rgba(247,247,245,0) 100%); }
.tp-fi-hero-sub p { max-width: 560px; }

/* Faixa de segmentos (texto no lugar dos logos) */
.vt-brand-text { opacity: .7; white-space: nowrap; }
.vt-brand-text a { font-size: 20px; font-weight: 500; color: var(--vt-dark); }
.vt-brand-text:hover { opacity: 1; }

/* Destaques */
.vt-stories-logo { width: 151px; height: auto; }
.vt-photo-card { position: relative; overflow: hidden; background-size: cover; background-position: center; }
.vt-photo-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34,47,48,.15) 0%, rgba(34,47,48,.35) 45%, rgba(34,47,48,.85) 100%); pointer-events: none; }
.vt-photo-card > * { position: relative; z-index: 1; }
.tp-fi-stories-item-content.style-2 .tp-fi-stories-item-title { color: var(--tp-finance-secondary); }
.tp-fi-stories-item-title.h4 { font-size: 48px; }
.vt-area-dots { display: flex; }
.vt-area-dots span { width: 45px; height: 45px; border-radius: 50%; display: inline-grid; place-content: center; font-size: 14px; font-weight: 600; background: var(--vt-accent); color: var(--vt-accent-text); border: 2px solid #F7F7F5; }
.vt-area-dots span + span { margin-left: -12px; }
.vt-area-dots span:nth-child(even) { background: var(--vt-dark); color: #fff; }

/* Sobre */
.vt-about-img { width: 100%; max-width: 619px; aspect-ratio: 619 / 560; object-fit: cover; }
.vt-about-badge { background: #fff; border-radius: 6px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; text-align: left; box-shadow: 0 10px 30px rgba(34,47,48,.08); }
.vt-about-badge svg { margin-bottom: 8px; }
.vt-about-badge strong { font-weight: 600; color: var(--vt-dark); font-size: 16px; line-height: 1.2; }
.vt-about-badge span { font-size: 14px; color: var(--vt-dark); opacity: .7; }

/* Serviços */
.tp-fi-service-item-2-title.h3 { font-size: 24px; }

/* Faixas com foto */
.tp-fi-banner-wrapper > img.vt-banner-img { width: 100%; height: 680px; max-height: 80vh; object-fit: cover; display: block; }
.tp-fi-banner-wrapper > img.vt-banner-img-2 { height: 588px; }
.tp-fi-banner-title { font-size: 30px; }
.tp-fi-banner-text .video a { color: var(--vt-dark); }
.tp-fi-banner-text .video a svg { width: 18px; height: 18px; }

/* Como trabalhamos */
.tp-fi-value-thumb-main img { width: 100%; object-fit: cover; }
.tp-fi-value-graph-title.h3 { font-size: 20px; margin-bottom: 4px; }

/* Depoimentos */
h2.tp-section-sub.vt-sub-heading { line-height: 1.4; letter-spacing: normal; }
.tp-fi-testimonial-title.h3 { margin: 0; line-height: 1.3; }
.tp-fi-testimonial-slider-thumb img { aspect-ratio: 234 / 250; object-fit: cover; }

/* Escritório registrado */
.vt-partner-img { width: 100%; max-width: 618px; aspect-ratio: 618 / 540; object-fit: cover; }
.vt-partner-badge { background: #fff; border-radius: 6px; padding: 22px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.vt-partner-badge img { width: 150px; height: auto; }
.vt-partner-badge span { font-size: 13px; color: var(--vt-dark); opacity: .7; }
.tp-fi-partner-wrap p { color: rgba(255,255,255,.8); }

/* Equipe */
.tp-fi-team-item-social a { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-content: center; background: #fff; color: var(--vt-dark); }

/* Newsletter */
.vt-cta-form { position: relative; }
.vt-cta-form .privacy-consent { margin: 6px 0 12px; color: var(--vt-dark); }
.vt-cta-img { width: 100%; max-width: 465px; aspect-ratio: 465 / 340; object-fit: cover; }
@media (max-width: 575px) { .tp-fi-cta-input { flex-wrap: wrap; } .tp-fi-cta-input input { width: 100%; height: 52px; padding: 0 16px; } }

/* Rodapé claro (tp-footer-area) */
.vt-footer-light .tp-footer-widget-title.h4 { text-transform: uppercase; }
.vt-footer-light .tp-footer-widget-social a { color: var(--vt-dark); }
.vt-footer-light .tp-footer-text p { color: var(--vt-dark); opacity: .8; }
.vt-footer-light .vt-footer-mail { display: block; word-break: break-word; }
.vt-footer-light .vt-btn-whatsapp { color: var(--vt-dark); padding: 13px 22px; }
.vt-footer-light .vt-btn-whatsapp:hover { background: #25d366; border-color: #25d366; color: #fff; }
.vt-footer-light .tp-footer-copyright-text p, .vt-footer-light .tp-footer-copyright-link a { color: var(--vt-dark); }
.tp-footer-contact-location a { color: var(--vt-dark); }

@media (max-width: 991px) {
  .tp-fi-banner-wrapper > img.vt-banner-img { height: 420px; }
  .tp-fi-hero-overlay::before { right: 0; }
}

/* 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; }

/* Banner da home: telefone ao lado do botão (quebra para baixo em telas estreitas) */
.tp-fi-hero-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
