/* 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 3008: home Corporate Consulting (index-4) ---------- */
/* Destaque claro (#BEFF74): ícones e textos sobre fundo claro usam a cor escura para manter o contraste */
.vt-icon-accent, .vt-contact-icon, .vt-post-list li svg { color: var(--vt-dark); }
.vt-icon-ink { color: var(--vt-dark); display: inline-flex; }
.vt-error-code { color: var(--vt-dark); text-shadow: 6px 6px 0 var(--vt-accent); }
.vt-breadcrumb .tp-breadcrumb-list li a:hover { color: var(--vt-accent); }

/* Cabeçalho transparente só sobre o banner da home; nas páginas internas ele fica fixo no topo com fundo branco */
body:not(:has(.tp-cc-hero-ptb)) #header-sticky.header-transparent:not(.header-sticky) { position: relative; background: #fff; }
.tp-cc-header-style .tp-header-action .tp-btn { white-space: nowrap; }

/* Banner */
.vt-cc-hero-thumb img { width: 718px; max-width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: top;
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 50% 100%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 75% at 50% 100%, #000 55%, transparent 100%); }
.vt-hero-form-title.h3 { font-size: 26px; color: var(--vt-dark); margin-bottom: 8px; }
.vt-hero-form-text { font-size: 15px; line-height: 1.5; margin-bottom: 24px; color: #67797E; }
.tp-cc-hero-contact .privacy-consent { color: #67797E; }
.tp-cc-hero-contact .form-status { margin-bottom: 0; }

/* Serviços */
.vt-ring-text { display: block; }
.vt-icon-xl svg { width: 56px; height: 56px; color: var(--vt-dark); }
.tp-cc-service-item-btn a { display: inline-flex; align-items: center; gap: 8px; }

/* Quem somos */
.vt-about-photo { aspect-ratio: 619 / 560; object-fit: cover; width: 619px; max-width: 100%; }
.vt-about-text { max-width: 560px; }

/* Soluções, equipe, números e blog */
.vt-solution-photo { aspect-ratio: 491 / 580; object-fit: cover; }
.vt-team-photo { aspect-ratio: 362 / 400; object-fit: cover; }
.vt-cc-blog-thumb { aspect-ratio: 491 / 300; object-fit: cover; }
.tp-cc-project-bottom span a { color: inherit; }
.tp-cc-project-bottom span a:hover { text-decoration: underline; }
.vt-chose-bg img { object-position: right center; }
.vt-stories-icon { color: var(--vt-accent); }
.vt-stories-icon svg { width: 40px; height: 40px; }
.tp-fi-stories-item-title.h4 { font-size: 56px; color: #fff; margin-bottom: 6px; }
.tp-cc-fact-item-text.h3 { margin-bottom: 10px; }
.vt-radar-chart { width: 100%; max-width: 520px; height: auto; }

/* Rodapé (tp-footer-3) */
.vt-footer .tp-footer-widget-title.h4 { text-transform: uppercase; font-size: 16px; }
.vt-footer .tp-footer-3-text p { margin-bottom: 0; }
.vt-footer-news-text { color: rgba(255,255,255,.7); margin-bottom: 18px; }
.vt-footer-news .tp-footer-3-input { position: relative; max-width: 460px; }
.vt-footer-news .privacy-consent { max-width: 460px; }
.vt-footer-news .form-status--ok { color: var(--vt-accent); }
.tp-footer-3-privacy span { color: rgba(255,255,255,.5); }
.tp-footer-3-privacy span a { margin: 0 10px; }
.tp-footer-3-privacy span:first-child a { margin-left: 0; }
.vt-footer-hours { color: rgba(255,255,255,.7); margin: 6px 0 0; }
.tp-footer-3-style .tp-footer-widget-social a:hover { color: var(--vt-accent); }
.vt-footer .tp-footer-logo img { width: 177px; height: auto; }
/* Fundo do banner em CSS (no lugar do hero-bg.jpg do template): verde-claro com anéis sutis à esquerda */
.vt-cc-hero-bg { background-color: #C4FF7C;
  background-image: repeating-radial-gradient(circle at -6% 50%, transparent 0 7px, rgba(18,53,67,.05) 7px 8px), linear-gradient(135deg, #BEFF74 0%, #D9FFB0 100%);
  background-size: 34% 100%, 100% 100%; background-repeat: no-repeat; }

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