.skip-link { position: absolute; top: -100px; left: 16px; z-index: 99999; padding: 14px 20px; background: #fff; color: #00142c; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.public-home { background: #00142c; }
.public-home :focus-visible, #nav-toggle:focus-visible { outline: 3px solid #9bd1ff; outline-offset: 4px; }
.public-home #banner h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.12; overflow-wrap: anywhere; }
.public-home #banner h2 { font-size: 1.1rem; line-height: 1.8; max-width: 56ch; }
.public-home #banner-content .col-38 { width: 52%; }
.public-home #banner h1 { max-width: 16ch; }
.public-home #banner .button { padding: 14px 22px; border-radius: 8px; min-height: 48px; background: #075eb8; border-color: #77b7f3; color: #fff; }
.public-home #banner { background-image: linear-gradient(90deg, rgba(0,20,44,.92), rgba(0,20,44,.25)), url("../images/banner-images/banner-image-1.jpg"); }
.public-home #content {
    background-color: #0a1c2d;
    background-image: radial-gradient(ellipse at 85% 12%, rgba(32, 99, 132, .24), transparent 38%),
        radial-gradient(ellipse at 8% 50%, rgba(26, 71, 109, .22), transparent 42%),
        repeating-linear-gradient(90deg, rgba(169, 210, 235, .025) 0 1px, transparent 1px 120px),
        linear-gradient(150deg, #10293d, #071827 60%, #10283a);
}
.public-home .caminho-digital { background: transparent !important; border-radius: 0; padding: 0; }
.public-home .caminho-digital p { max-width: none; margin: 0; text-align: justify !important; color: #d3e2ed; line-height: 1.8; }
.public-home #services > .row { display: flex; align-items: center; flex-wrap: wrap; gap: 40px; padding-top: 58px; padding-bottom: 58px; }
.public-home #services > .row + .row { border-top: 1px solid rgba(164, 199, 222, .16); }
.public-home #services > .row > .section-heading { width: 100%; }
.public-home #services > .row > .section-heading .section-title::after { width: 42px; height: 3px; margin: 22px auto 0; background: #5cb9df; }
.public-home #services .col-2 { float: none; width: calc(50% - 20px); min-width: 0; }
.public-home #services .card-about { margin-top: 0; padding: 0 4px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.public-home #services h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.3; }
.public-home #services .card-about h2 { color: #f3f8fc; padding: 0 0 12px; }
.public-home #services .card-about h2::before { content: ""; display: block; width: 42px; height: 3px; margin-bottom: 18px; background: #5cb9df; }
.public-home #services h4 { padding: 0 0 12px; font-size: 1rem; font-weight: 500; color: #a9d2ff; line-height: 1.6; }
.public-home #services p { margin: 0 0 14px; color: #d3e2ed; line-height: 1.8; text-align: left; }
.public-home #services .card-about p:last-child { margin-bottom: 0; }
.public-home .service-visual figure { position: relative; margin: 0; padding: 12px; background: linear-gradient(140deg, #173c61, #00142c); border: 1px solid #41688e; border-radius: 22px; box-shadow: 0 20px 45px #0005; }
.public-home .service-visual picture { display: block; overflow: hidden; border-radius: 14px; }
.public-home .service-visual img { display: block; width: 100%; height: auto; transition: transform .35s ease; }
.public-home .service-visual figcaption { padding: 14px 8px 4px; font-size: .85rem; color: #c5d9ef; text-align: center; }
@media (hover: hover) { .public-home .service-visual figure:hover img { transform: scale(1.025); } }
.public-home #contato .contato { background: transparent !important; }
.public-home #contato .form-control { min-height: 48px; font-size: 16px !important; padding: 10px 12px !important; border-radius: 6px !important; }
.public-home #contato input:not([type="hidden"]):not([type="checkbox"]), .public-home #contato select, .public-home #contato textarea { min-height: 48px; }
.public-home #contato label { font-size: .8rem; text-transform: none; margin-bottom: 8px !important; }
.public-home #contato .form-group-compact { margin-bottom: 18px !important; }
.public-home #contato .button-submit { min-height: 48px; border-radius: 6px; }
.public-home #contato .card-contato { padding: 28px !important; border: 1px solid #41688e; border-radius: 16px; background: #06213d; }
.public-home #contato .contact-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.public-home #contato .contact-form-full { grid-template-columns: minmax(0, 1fr); }
.public-home #contato .contact-form-row > div { width: auto; min-width: 0; float: none; padding: 0; margin: 0 !important; }
.public-home #contato .contact-form-row:last-child { margin-bottom: 0; }
.public-home #contato .button-submit { background: #075eb8; color: #fff; font-size: 1rem; margin-top: 18px; }
.public-home #contato .button-submit:hover { background: #084b8f; }
.captcha-panel { margin: 0; padding: 18px; border: 1px solid #41688e; border-radius: 10px; background: #00142c; text-align: left; min-width: 0; }
.captcha-panel label { display: block; color: #eee; font-size: 14px; text-transform: none; text-align: left; }
.captcha-panel .captcha-instructions, .captcha-panel .captcha-status { color: #c5d9ef; font-size: 13px; line-height: 1.6; text-align: left; margin: 8px 0 12px; }
.captcha-panel .captcha-status { margin-bottom: 0; }
.captcha-challenge { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.captcha-panel .captcha-image { width: 250px; max-width: 100%; height: auto; border-radius: 6px; flex-shrink: 0; }
.captcha-panel .captcha-refresh { min-height: 44px; max-width: 100%; padding: 10px 16px; border: 1px solid #527397; border-radius: 6px; background: #082640; color: #fff; font-size: 14px; line-height: 1.5; cursor: pointer; }
.captcha-panel .captcha-refresh:disabled { opacity: .65; cursor: wait; }
.captcha-panel #captcha-answer { display: block; width: 100%; min-height: 48px; padding: 10px 12px; background: #fff; color: #143553; border: 1px solid #ced4da; border-radius: 6px; font-size: 16px; }
.captcha-panel #captcha-answer:focus-visible, .captcha-panel .captcha-refresh:focus-visible { outline: 3px solid #9bd1ff; outline-offset: 3px; }
.public-home .public-whatsapp { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border: 1px solid #527397; border-radius: 8px; }
#nav-toggle { display: none; }
.post-container { overflow-wrap: anywhere; }
.post-container .post-meta { color: #a7b8cd; }
.post-content img { box-shadow: 0 12px 30px #0004; border-radius: 12px; }
.post-content table { display: block; max-width: 100%; overflow-x: auto; }
.conteudo-post img { max-width: 100%; height: auto; border-radius: 12px; }
.form-control-custom { min-height: 48px; font-size: 16px !important; }
.public-footer-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 24px; margin-bottom: 40px; }
.public-footer-grid > div { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 767px) { .public-footer-grid { grid-template-columns: minmax(0, 1fr); } .public-footer-grid > div { text-align: left !important; } }
#cookie-banner:has(form) { width: min(94%, 760px) !important; max-width: 760px !important; max-height: 45vh !important; background: #06213d !important; color: #eee !important; border-color: #527397 !important; text-align: left !important; box-shadow: 0 12px 40px #0006 !important; }
#cookie-banner:has(form) > div { max-height: 24vh; overflow-y: auto; text-align: left !important; padding-right: 8px; }
#cookie-banner:has(form) a { color: #a9d2ff !important; }
#cookie-banner:has(form) form { flex-shrink: 0; }
#cookie-banner:has(form) button { min-height: 44px; min-width: 100px; }
@media (max-width: 600px) { .post-container { padding: 24px 18px; } .hero-title { font-size: 2rem; } .search-box .input-group { flex-wrap: wrap; gap: 8px; } .search-box .input-group input { min-width: 0; } }
#nav-mobile, #nav-trigger { display: none !important; }
#header #logo img { height: auto; max-width: 190px; }
#banner h1 { font-size: clamp(2rem, 4vw, 3.5rem); overflow-wrap: anywhere; }
.blog-post-item { overflow-wrap: anywhere; }
#header.nav-solid { background: #00142cf5; border-bottom: 1px solid #365a80; }
#header.nav-solid #nav-main a { color: #eee; }
.public-home section[id], .public-home #services { scroll-margin-top: 95px; }
@media (max-width: 1024px) {
    #header { background: #00142cf5; height: auto; min-height: 76px; }
    #header .col-1 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 0; }
    #header #logo { height: auto; padding: 14px 0; float: none; }
    #header #logo img { max-width: 160px; }
    #header #nav-main { display: block; width: 100%; height: auto; float: none; }
    #header #nav-main ul { display: flex; flex-wrap: wrap; margin: 0; padding: 10px 0; }
    #header #nav-main li { display: block; margin: 0; float: none; width: 50%; }
    #header #nav-main a { display: block; padding: 12px 10px; min-height: 48px; line-height: 1.5; color: #eee; }
    .public-nav-ready #nav-toggle { display: flex; gap: 12px; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; background: #082640; color: #fff; border: 1px solid #527397; border-radius: 8px; }
    .public-nav-ready #header #nav-main { display: none; }
    .public-nav-ready #header #nav-main.public-nav-open { display: block; }
}
@media (max-width: 767px) {
    .public-home #services .col-2 { width: 100%; }
    .public-home #services > .row { gap: 24px; padding: 32px 18px !important; }
    .public-home #services .service-visual { order: 1; }
    .public-home #services .card-about { order: 2; padding: 0; }
    .public-home #banner-content.row { padding: 110px 20px 40px !important; }
    .public-home #banner .col-38 { width: 100%; }
    .public-home #contato .card-contato { padding: 20px !important; }
    .public-home #contato .col-2 { width: 100%; }
    .public-home #contato .contact-form-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .public-home #custom-footer .footer-nav a { display: inline-block; padding: 8px 0; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { .public-home .service-visual img { transition: none; } .public-home .service-visual figure:hover img { transform: none; } }

/* Visual mais leve: paleta suave, tipografia mais fina, sem ilustração pesada no topo. */
.public-home { background: #162a3b; }
.public-home #banner {
    background-image:
        radial-gradient(ellipse at 82% 30%, rgba(92, 185, 223, .16), transparent 45%),
        linear-gradient(160deg, #1d3a52 0%, #172f44 55%, #142838 100%);
}
.public-home #banner h1 { font-weight: 600; letter-spacing: .01em; text-transform: none !important; max-width: 18ch; }
.public-home #banner h2 { font-weight: 300; color: #d5e4ee; }
.public-home #banner .section-heading:before { background: #5cb9df; width: 44px; height: 3px; }
.public-home #banner .button { background: #2f7fb0; border: 0; border-radius: 999px; font-weight: 600; letter-spacing: .03em; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.public-home #banner .button:hover { background: #3b8fc2; }
#header.nav-solid { background: rgba(23, 47, 68, .96); border-bottom: 1px solid rgba(164, 199, 222, .22); }
.public-home #content {
    background-color: #1a3144;
    background-image: linear-gradient(180deg, #1a3144, #162a3b);
}
.public-home #services > .row + .row { border-top-color: rgba(164, 199, 222, .12); }
.public-home .service-visual figure { padding: 8px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(164, 199, 222, .18); border-radius: 16px; box-shadow: 0 10px 28px rgba(0, 0, 0, .18); }
.public-home .service-visual picture { border-radius: 10px; }
.public-home .service-visual img { opacity: .94; }
.public-home #services h2, .public-home #services .card-about h2 { font-weight: 600; }
.public-home #contato .card-contato { background: rgba(255, 255, 255, .04); border-color: rgba(164, 199, 222, .22); }
.captcha-panel { background: rgba(0, 0, 0, .14); border-color: rgba(164, 199, 222, .22); }
.public-home #contato .button-submit { background: #2f7fb0; border-radius: 999px; }
.public-home #contato .button-submit:hover { background: #3b8fc2; }
#header { background: rgba(23, 47, 68, .92); }
@media (max-width: 1024px) { #header { background: rgba(23, 47, 68, .96); } .public-nav-ready #nav-toggle { background: #24455f; border-color: rgba(164, 199, 222, .3); } }
#cookie-banner:has(form) { background: #1d3a52 !important; border-color: rgba(164, 199, 222, .3) !important; border-radius: 14px !important; }
#cookie-banner:has(form) button { border-radius: 999px; }
.public-home #banner {
    background-image:
        linear-gradient(90deg, #172f44 0%, rgba(23, 47, 68, .88) 34%, rgba(23, 47, 68, 0) 62%),
        url("../images/banner-images/banner-hero-soft.jpg");
    background-image:
        linear-gradient(90deg, #172f44 0%, rgba(23, 47, 68, .88) 34%, rgba(23, 47, 68, 0) 62%),
        image-set(url("../images/banner-images/banner-hero-soft.webp") type("image/webp"), url("../images/banner-images/banner-hero-soft.jpg") type("image/jpeg"));
    background-repeat: no-repeat;
    background-size: cover, auto 100%;
    background-position: left center, right center;
    background-color: #172f44;
}
@media (max-width: 767px) { .public-home #banner { background-size: cover, auto 70%; background-position: left center, right bottom; } }
.public-home #banner { background-size: cover, min(58%, 900px) auto; background-position: left center, right 3% center; }
@media (max-width: 767px) { .public-home #banner { background-size: cover, 100% auto; background-position: left center, center bottom; } }
.public-home #banner { background-image: radial-gradient(ellipse at 75% 45%, rgba(92, 185, 223, .14), transparent 50%), linear-gradient(160deg, #1d3a52 0%, #172f44 55%, #142838 100%) !important; position: relative; overflow: hidden; }
.public-home #banner::after {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    right: 2%; top: 54%; transform: translateY(-50%);
    width: min(56%, 860px); aspect-ratio: 3 / 2;
    background: url("../images/banner-images/banner-hero-soft.webp") center / contain no-repeat;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 52%, transparent 74%);
    mask-image: radial-gradient(ellipse at center, #000 52%, transparent 74%);
}
.public-home #banner-content { position: relative; z-index: 1; }
@media (max-width: 767px) { .public-home #banner::after { width: 100%; right: 0; top: auto; bottom: 0; transform: none; opacity: .35; } }
.public-home #banner::after {
    -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 98%);
    mask-image: radial-gradient(closest-side, #000 45%, transparent 98%);
}
/* Imagem do banner com transparência embutida: sem retângulo */
.public-home #banner::after { -webkit-mask-image: none; mask-image: none; }
/* Corrige caixa visível: todas as camadas do fundo cobrem o banner */
.public-home #banner { background-size: cover, cover !important; background-position: center, center !important; }
/* Fundo tecnológico: blocos em degradê, claros e escuros, com vazios */
.public-home #banner::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: url("../images/banner-images/banner-tech-tiles.svg") center / cover no-repeat;
    -webkit-mask-image: linear-gradient(100deg, rgba(0,0,0,.25) 0%, #000 55%, #000 100%);
    mask-image: linear-gradient(100deg, rgba(0,0,0,.25) 0%, #000 55%, #000 100%);
}
@media (max-width: 767px) { .public-home #banner::before { opacity: .6; } }
/* Logo dentro da barra do topo e notebook maior */
#header #logo { height: 71px; line-height: 71px; display: flex; align-items: center; }
#header #logo img { height: auto; max-height: 50px; width: auto; max-width: 170px; margin-right: 0; }
.public-home #banner::after { width: min(68%, 1050px); right: 0; top: 56%; }
@media (max-width: 767px) { .public-home #banner::after { width: 100%; right: 0; top: auto; bottom: 0; transform: none; opacity: .35; } }
/* Barra superior padrão: azul mais escuro, logo inteiro dentro dela, sem tocar o conteúdo */
:root { --topbar-bg: #0d1f2f; --topbar-h: 84px; }
#header, #header.nav-solid, .auditor-header, .public-topbar { background: var(--topbar-bg) !important; border-bottom: 0 !important; }
#header { height: var(--topbar-h) !important; display: flex; align-items: center; }
#header .row, #header .col-1 { height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; }
#header #logo { height: var(--topbar-h); line-height: 1; padding: 0; margin: 0; display: flex; align-items: center; }
#header #logo img { max-height: 52px; width: auto; max-width: 190px; }
#header #nav-main, #header nav { display: flex; align-items: center; height: var(--topbar-h); }
#header #nav-main ul { margin: 0; padding: 0; }
.public-home #banner-content, #banner-content { padding-top: calc(var(--topbar-h) + 40px); }
.auditor-header-inner { padding: 16px 0 !important; }
.auditor-header img { width: auto !important; max-height: 52px; max-width: 190px; }
.public-topbar { padding: 16px 0; margin-bottom: 8px; }
.public-topbar img { display: block; height: auto; max-height: 52px; width: auto; }
@media (max-width: 1024px) { #header { height: auto !important; min-height: var(--topbar-h); } #header .row, #header .col-1 { height: auto; } #header #logo { height: auto; padding: 16px 0; } #header #nav-main { height: auto; } }
/* Fundo padrão de todas as páginas públicas (exceto a home, que tem o próprio): degradê suave + quadrados tech transparentes */
body:not(.public-home) {
    background-color: #172b3d !important;
    background-image: url("../images/banner-images/banner-tech-tiles.svg"), linear-gradient(160deg, #1d3a52 0%, #172f44 55%, #142838 100%) !important;
    background-size: cover, cover !important; background-position: center top, center !important;
    background-repeat: no-repeat, no-repeat !important; background-attachment: fixed, fixed !important;
}
/* Blocos internos no padrão leve: planos, translúcidos, cantos suaves */
body:not(.public-home) .auditor-note, body:not(.public-home) .auditor-certificate, body:not(.public-home) .methodology-legal,
body:not(.public-home) main article, body:not(.public-home) .post-container, body:not(.public-home) .search-box {
    background: rgba(164, 199, 222, .07) !important; border: 1px solid rgba(164, 199, 222, .16) !important; border-radius: 12px; box-shadow: none !important;
}
body:not(.public-home) .auditor-portrait, body:not(.public-home) .auditor-preview { background: rgba(13, 31, 47, .45) !important; border-color: rgba(164, 199, 222, .16) !important; border-radius: 12px; }
body:not(.public-home) > main, body:not(.public-home) main { background: transparent !important; }
body:not(.public-home) .custom-footer, body:not(.public-home) footer { background: rgba(13, 31, 47, .85) !important; border-top: 0 !important; }
/* Blog: mesmo visual leve da home, sem a imagem do notebook */
.blog-page #banner::after { display: none; }
.blog-page #banner { min-height: 0; padding-bottom: 64px; }
.blog-page #banner-content { padding-top: calc(var(--topbar-h) + 48px); }
.blog-page #content, .blog-page main { background: transparent !important; }
.blog-page .blog-post-item { border-left: 3px solid #5cb9df !important; background: rgba(164, 199, 222, .07) !important; border-radius: 12px !important; }
.blog-page .search-box input { background: rgba(13, 31, 47, .6) !important; border-color: rgba(164, 199, 222, .3) !important; }
.blog-page .search-box button, .blog-page .blog-post-item .btn-way { background: #2f7fb0 !important; }
.blog-page, .blog-page #wrapper { margin: 0 !important; padding: 0 !important; width: 100% !important; max-width: none !important; }
/* Home: quadrados tech nas laterais das secoes abaixo do banner */
.public-home #content { position: relative; isolation: isolate; }
.public-home #content::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: url("../images/banner-images/banner-tech-outline.svg") left top / 1260px 900px repeat-y,
        url("../images/banner-images/banner-tech-outline.svg") right 40px top 300px / 1260px 900px repeat-y;
    opacity: .75;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 8%, transparent 18%, transparent 82%, #000 92%, #000 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 8%, transparent 18%, transparent 82%, #000 92%, #000 100%); }
@media (max-width: 1024px) { .public-home #content::before { opacity: .45; } }
/* Contornos laterais em todas as paginas publicas (exceto home, que usa #content) */
body:not(.public-home)::before, body.blog-page::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .75;
    background: url("../images/banner-images/banner-tech-outline.svg") left top / 1260px 900px repeat-y,
        url("../images/banner-images/banner-tech-outline.svg") right 40px top 300px / 1260px 900px repeat-y;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 8%, transparent 18%, transparent 82%, #000 92%, #000 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 8%, transparent 18%, transparent 82%, #000 92%, #000 100%); }
/* Textos justificados */
.public-home .caminho-digital p, .public-home #services p, .public-home #contato > .row > p,
main p, main li, article p, .post-container p, .post-content p, .auditor-note p, .methodology-legal p, .clients-intro p { text-align: justify; text-justify: inter-word; hyphens: auto; }
.public-home #banner p, footer p, .card-contato p, .error-card p, .error-page p { text-align: inherit; hyphens: manual; }
/* Barra superior: logo a esquerda, menu a direita, centralizados na vertical, sem sobreposicao */
@media (min-width: 1025px) {
    #header .row { width: 100%; max-width: none; margin: 0; padding: 0 max(24px, 3%); }
    #header .col-1 { width: 100%; max-width: none; float: none; padding: 0; gap: 28px; flex-wrap: nowrap; }
    #header #logo { flex: 0 0 auto; float: none; }
    #header #nav-main { flex: 1 1 auto; min-width: 0; justify-content: flex-end; float: none; width: auto; }
    #header #nav-main ul { display: flex; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: 2px; width: auto; height: auto; line-height: 1; }
    #header #nav-main li { float: none; display: block; margin: 0; }
    #header #nav-main a { display: block; padding: 10px 11px; white-space: nowrap; line-height: 1.2; font-size: 14.5px; }
}
@media (min-width: 1025px) and (max-width: 1200px) { #header #nav-main a { padding: 10px 6px; font-size: 13px; } #header .col-1 { gap: 12px; } #header .row { padding: 0 20px; } }
/* Menu centralizado (logo a esquerda, botoes no meio) */
@media (min-width: 1025px) {
    #header #logo { flex: 0 0 190px; }
    #header #nav-main { justify-content: center; padding-right: 190px; }
    #header #nav-main ul { justify-content: center; }
}
@media (min-width: 1025px) and (max-width: 1200px) { #header #logo { flex-basis: 150px; } #header #nav-main { padding-right: 150px; } }
/* Links de contato legiveis (brancos) */
.public-home #contato a, .public-home #contato a:visited, .public-home .public-whatsapp, .public-home .public-whatsapp * { color: #fff !important; }
.public-home #contato a:hover { color: #9bd1ff !important; }
.public-home .public-whatsapp { border-color: rgba(164, 199, 222, .45); }

.public-home #services > .row:first-child { row-gap: 8px; padding-top: 24px; }
.public-home #services > .row:first-child > .section-heading { margin-bottom: 24px; }
.public-home #services > .row:first-child > .section-heading .section-title { margin: 0; padding: 0; }
