/* Global: loaded after page styles */
body header .nav {min-height:78px;}
body header .nav .brand {flex:0 1 260px;min-width:0;max-width:260px;}
body header .nav .brand img.official-logo {display:block;width:260px;max-width:100%;height:auto;aspect-ratio:auto;object-fit:contain;}
body footer .foot {grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr));}
body footer .foot > div {min-width:0;overflow-wrap:anywhere;}
body footer .foot .brand {max-width:160px;white-space:normal;}
body footer .foot .brand img.official-logo {display:block;width:160px;max-width:100%;height:auto;aspect-ratio:auto;object-fit:contain;}
body > a.cc-whatsapp-float {position:fixed;inset:auto 24px 24px auto;z-index:1000;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:#128c4a;color:white;overflow:hidden;box-shadow:0 5px 20px #0005;}
body > a.cc-whatsapp-float svg {display:block;width:26px;height:26px;max-width:26px;max-height:26px;}
@media(max-width:650px){body header .nav{min-height:70px;}body header .nav .brand{flex-basis:190px;max-width:190px;}body header .nav .brand img.official-logo{width:190px;}body footer .foot{grid-template-columns:repeat(2,minmax(0,1fr));}body footer .foot .brand,body footer .foot .brand img.official-logo{max-width:140px;}body > a.cc-whatsapp-float{width:44px;height:44px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));}body > a.cc-whatsapp-float svg{width:24px;height:24px;}}
@media(max-width:370px){body footer .foot{grid-template-columns:1fr;}}

@media(max-width:650px){body footer .cc-footer-map{max-width:140px!important;}}

/* Identidade visual da seção de projetos */
.home-page #projetos{background:#06182c;color:#fff;border-block:1px solid #19354e}
.home-page #projetos .heading h2,.home-page #projetos .project-card h3{color:#fff}
.home-page #projetos .heading p,.home-page #projetos .project-card p{color:#c5d2e3}
.home-page #projetos .eyebrow,.home-page #projetos .project-card small{color:#ffb000}
.home-page #projetos .project-card{background:#10263d;border-color:#29445e}
.home-page #projetos .project-card a,.home-page #projetos .review-controls button{display:inline-block;background:#ffb000;color:#06182c;border:1px solid #ffb000;border-radius:6px;padding:10px 14px;font-weight:700}
.home-page #projetos .project-card a:hover,.home-page #projetos .review-controls button:hover{background:#ffd064}

.tech .tech-logo{display:flex;align-items:center;justify-content:center;min-height:76px;background:#fff;border:1px solid #d5e0ed;border-radius:7px}.tech .tech-logo img{display:block;width:64px;height:44px;object-fit:contain;max-width:100%}

.home-page .technology-section .tech{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.home-page .technology-section .tech .tech-logo{background:#fff;min-height:88px;padding:12px;border:1px solid #29445e}.home-page .technology-section .tech .tech-logo img{display:block;width:72px;height:48px;object-fit:contain}.home-page .technology-section .muted{color:#c5d2e3}@media(max-width:900px){.home-page .technology-section .tech{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:480px){.home-page .technology-section .tech{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Header institucional unificado: Home, Quem Somos, Serviços, Blog e Contato */
body .topbar{background:#030b18;border-bottom:1px solid #19354e;color:#c4d2e2}
body header{background:#081529f5;border-bottom:1px solid #1a4871}
body .topbar .wrap,body header .wrap{width:min(1320px,94%)}
body header .nav nav a{color:#fff;background:transparent;border-radius:0;border-bottom:3px solid transparent}
body header .nav nav a.active,body header .nav nav a:hover{color:#ffb000;background:transparent;border-bottom-color:#ffb000;border-radius:0}
body header .nav .actions .btn{background:#ffb000;border:1px solid #ffb000;color:#06182c}
body header .nav .actions .btn:hover{background:#ffd064;color:#06182c}
body header .nav .actions .btn.outline{background:#071322;border-color:#ffb000;color:#fff}
body header .nav .actions .btn.outline:hover{background:#ffb000;color:#06182c}

/* Top bar exclusiva do desktop. */
@media (max-width: 767px) {
  body .topbar { display: none !important; }
}

/* Paleta institucional: ações e destaques das páginas públicas. */
body :is(main, .about, .sv, .blogpage, .ct, .home-page) {--cyan:#FFB000;--blue:#FFB000;}
body :is(.btn, .btn.outline, button[type="submit"], .sv-filters button):not(.cc-whatsapp-float) {background:#FFB000!important;color:#06182C!important;border-color:#FFB000!important;}
body :is(.btn, .btn.outline, button[type="submit"], .sv-filters button):hover {background:#FFD064!important;color:#06182C!important;border-color:#FFD064!important;}
body header .nav .actions .btn.outline {background:#FFB000!important;color:#06182C!important;}
body header .nav .actions .btn.outline:hover {background:#FFD064!important;}
body .ico {background:#10263D;color:#FFB000;box-shadow:none;}
body .timeline article {border-color:#FFB000;}
body .timeline article:before {background:#FFB000;}
body .timeline strong,body .about .identity .ico,body .about .commitment .ico,body .ct-form legend,body .sv-form legend {color:#FFB000;}
body .btag {background:#06182C;color:#FFB000;}
body .btag[aria-current],body .btag:hover {background:#FFB000;color:#06182C;}
body .bcard small,body .bcard strong,body .barticle a:not(.btn),body .ct-card a:not(.btn),body .sv-card>a {color:#835700;}
body .sv-pick b {background:#FFB000;color:#06182C;}
body input[type="checkbox"],body input[type="radio"] {accent-color:#FFB000;}
body :is(a,button,input,select,textarea):focus-visible {outline-color:#FFB000;}
