/*
Theme Name: Brant Engenharia
Theme URI: https://brantengenharia.com/
Author: Agência Lead Ads
Description: Landing page da Brant Engenharia para laudos, inspeções e projetos de estruturas de armazenagem.
Version: 0.1.0
Text Domain: brant
*/

:root {
	--brant-navy: #092238;
	--brant-ink: #102d43;
	--brant-blue: #188fc4;
	--brant-blue-dark: #147ba9;
	--brant-paper: #f8f7f3;
	--brant-white: #fff;
	--brant-muted: #5e7180;
	--brant-line: #cbd5d9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--brant-paper); color: var(--brant-ink); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, picture { display: block; max-width: 100%; }
.brant-hero-image picture, .brant-video-trigger picture, .brant-service-image picture, .brant-post-card-image picture { width: 100%; height: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif; font-weight: 700; line-height: .98; letter-spacing: -.025em; }
h1 { font-size: clamp(3.8rem, 6.1vw, 6.7rem); }
h2 { font-size: clamp(3.3rem, 5vw, 5.4rem); }
h3 { font-size: clamp(2rem, 2.8vw, 3rem); }
::selection { background: #8ed9f3; color: var(--brant-navy); }
:focus-visible { outline: 3px solid #e77c26; outline-offset: 4px; }
.brant-container { width: min(100% - 80px, 1420px); margin-inline: auto; }
.brant-skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--brant-navy); color: #fff; padding: 10px 14px; }
.brant-skip-link:focus { top: 12px; }
.brant-period { color: var(--brant-blue); }
.brant-index, .brant-small-label { color: var(--brant-blue); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .74rem; font-weight: 700; letter-spacing: .09em; line-height: 1.5; text-transform: uppercase; }
.brant-index { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.brant-index::after { content: ""; width: 50px; height: 1px; background: currentColor; opacity: .75; }
.brant-section { padding-block: clamp(70px, 8vw, 135px); scroll-margin-top: 95px; }
.brant-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; min-height: 56px; padding: 13px 20px; border: 1px solid var(--brant-blue); background: var(--brant-blue); color: #fff; font-size: .95rem; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.brant-button:hover { background: var(--brant-blue-dark); border-color: var(--brant-blue-dark); transform: translateY(-2px); }
.brant-button span { font-size: 1.25rem; font-weight: 400; }

/* Cabeçalho fixo: sticky onde houver suporte; em navegadores antigos volta a ser estático. */
.admin-bar .brant-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .brant-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .brant-header { top: 0; } }
[id] { scroll-margin-top: 100px; }
.brant-header { position: relative; position: -webkit-sticky; position: sticky; top: 0; z-index: 50; background: var(--brant-white); border-bottom: 1px solid #e3e8ea; }
.brant-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 35px; }
.brant-logo { flex: none; }
.brant-logo img { width: 167px; height: 60px; object-fit: contain; }
.brant-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 54px); }
.brant-nav > a { font-size: .89rem; font-weight: 650; text-decoration: none; }
.brant-nav > a:hover, .brant-footer a:hover { color: var(--brant-blue); }
.brant-nav .brant-header-cta { display: inline-flex; align-items: center; gap: 16px; padding: 11px 16px; border: 1px solid var(--brant-blue); color: var(--brant-blue-dark); }
.brant-nav .brant-header-cta:hover { background: var(--brant-blue); color: #fff; }
.brant-menu-toggle { display: none; }

.brant-hero { overflow: hidden; background: var(--brant-white); }
.brant-hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); min-height: 600px; }
.brant-hero-copy { align-self: center; padding: 54px min(5vw, 72px) 58px 0; }
.brant-hero-copy h1 { max-width: 760px; margin-bottom: 20px; color: var(--brant-navy); }
.brant-hero-lead { max-width: 530px; margin-bottom: 28px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.5; }
.brant-hero-note { margin: 24px 0 0; color: var(--brant-muted); font-size: .8rem; letter-spacing: .025em; }
.brant-hero-image { position: relative; min-height: 580px; margin: 0 calc((min(100vw - 80px, 1420px) - 100vw) / 2) 0 0; background: #d7e4e8; }
.brant-hero-image img { width: 100%; height: 100%; min-height: 580px; object-fit: cover; object-position: 58% center; }
.brant-hero-image figcaption { position: absolute; right: 26px; bottom: 0; padding: 6px 10px; background: var(--brant-white); color: var(--brant-blue-dark); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .64rem; font-weight: 700; letter-spacing: .08em; }

.brant-proof { background: #eff4f4; border-block: 1px solid #e0e9ea; }
.brant-proof-inner { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); align-items: stretch; padding-block: 25px; }
.brant-proof-inner > * { display: flex; flex-direction: column; justify-content: center; margin: 0; padding-inline: clamp(16px, 2vw, 35px); border-left: 1px solid #b5cbd3; }
.brant-proof-inner > :first-child { padding-left: 0; border: 0; }
.brant-proof-inner strong { color: var(--brant-blue-dark); font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif; font-size: 3.1rem; font-weight: 700; line-height: 1; }
.brant-proof-inner strong span { font-size: .6em; }
.brant-proof-inner div > span { font-size: .88rem; }
.brant-clients { padding-block: 38px; background: var(--brant-white); }
.brant-clients-inner { display: grid; grid-template-columns: minmax(220px, .9fr) 2fr; align-items: center; gap: 30px; }
.brant-clients h2 { margin: 0; font-size: clamp(1.8rem, 2.5vw, 2.55rem); }
.brant-clients .brant-small-label { margin-bottom: 6px; }
.brant-clients-more { display: inline-block; margin-top: 14px; }
.brant-clients ul { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 18px; margin: 0; padding: 0; list-style: none; }
.brant-clients li img { width: auto; max-width: min(100%, 150px); height: 52px; margin: 0 auto 14px; object-fit: contain; object-position: center bottom; }
.brant-clients li span { display: block; padding-top: 12px; border-top: 1px solid var(--brant-line); }
.brant-clients li { padding-block: 0; text-align: center; color: var(--brant-navy); font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif; font-size: clamp(1.2rem, 1.6vw, 1.7rem); font-weight: 700; line-height: 1.1; }

.brant-services { background: var(--brant-paper); }
.brant-section-head { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 40px; margin-bottom: 45px; }
.brant-section-head h2 { margin-bottom: 0; }
.brant-section-head > p { max-width: 350px; margin-bottom: 4px; color: var(--brant-muted); }
.brant-service-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--brant-line); }
.brant-service { display: grid; grid-template-rows: auto auto auto 1fr auto; min-height: 355px; padding: 35px clamp(24px, 3vw, 48px) 27px; border-right: 1px solid var(--brant-line); }
.brant-service:first-child { padding-left: 0; }
.brant-service:last-child { padding-right: 0; border-right: 0; }
.brant-service-image { height: clamp(190px, 17vw, 260px); margin: 0 0 26px; overflow: hidden; border: 1px solid var(--brant-line); background: #fff; }
.brant-service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.brant-service:hover .brant-service-image img { transform: scale(1.04); }
.brant-service-number { color: var(--brant-blue-dark); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .83rem; }
.brant-service h3 { max-width: 330px; margin: 20px 0 17px; }
.brant-service p { max-width: 330px; color: var(--brant-muted); font-size: .94rem; }
.brant-service { position: relative; }
.brant-service-link { color: inherit; text-decoration: none; }
.brant-service-link::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; }
.brant-service:hover .brant-service-link { color: var(--brant-blue-dark); }
.brant-service-link:focus-visible { outline: none; }
.brant-service-link:focus-visible::after { outline: 3px solid #e77c26; outline-offset: 4px; }
.brant-service-more { float: right; color: var(--brant-blue-dark); letter-spacing: .06em; }
.brant-service:hover .brant-service-more { text-decoration: underline; text-underline-offset: 4px; }
.brant-service-mark { display: block; padding-top: 20px; border-top: 1px solid var(--brant-line); color: var(--brant-blue-dark); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .7rem; font-weight: 700; letter-spacing: .1em; }

.brant-case { background: var(--brant-navy); color: #fff; }
.brant-case-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(35px, 5vw, 90px); }
.brant-case .brant-index { color: #70c8ea; }
.brant-case h2 { max-width: 500px; margin-bottom: 22px; }
.brant-case .brant-period { color: #70c8ea; }
.brant-case-copy > p:not(.brant-index):not(.brant-case-meta) { max-width: 350px; color: #d2e0e8; font-size: 1.1rem; }
.brant-case-meta { margin: 40px 0 12px; color: #81d3ee; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .76rem; font-weight: 700; letter-spacing: .1em; }
.brant-case-meta span { padding-inline: 12px; }
.brant-case-copy a { color: #fff; font-size: .88rem; text-decoration-color: #81d3ee; text-underline-offset: 5px; }
.brant-video-trigger, .brant-video-shell iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.brant-video-trigger { position: relative; overflow: hidden; padding: 0; background: #102b42; color: #fff; text-align: left; }
.brant-video-trigger img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.brant-video-trigger:hover img { transform: scale(1.03); }
.brant-video-trigger::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(9, 34, 56, .35) 0%, transparent 28%, transparent 42%, rgba(9, 34, 56, .92) 100%); }
.brant-video-tag { position: absolute; z-index: 1; top: 22px; left: 24px; padding: 6px 10px; background: #fff; color: var(--brant-blue-dark); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .68rem; font-weight: 700; letter-spacing: .1em; }
.brant-video-overlay { position: absolute; z-index: 1; right: 24px; bottom: 22px; left: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.brant-video-headline { max-width: 430px; font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif; font-size: clamp(1.7rem, 2.4vw, 2.5rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.brant-video-cta { display: flex; flex: none; align-items: center; gap: 12px; font-size: .95rem; font-weight: 700; }
.brant-play { display: flex; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: 50%; background: var(--brant-blue); color: #fff; font-size: 1.1rem; padding-left: 3px; transition: background .2s ease, transform .2s ease; }
.brant-video-trigger:hover .brant-play { background: #fff; color: var(--brant-blue-dark); transform: scale(1.08); }
.brant-video-caption { margin: 10px 0 0; color: #a5c7d7; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .67rem; letter-spacing: .12em; }

.brant-project { background: var(--brant-white); }
.brant-project-grid { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(55px, 9vw, 150px); }
.brant-project h2 { max-width: 500px; margin-bottom: 20px; }
.brant-project-intro { max-width: 430px; color: var(--brant-muted); font-size: 1.06rem; }
.brant-project-logo { display: flex; align-items: center; gap: 22px; width: fit-content; margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--brant-line); }
.brant-project-logo img { width: 130px; height: auto; }
.brant-project-logo figcaption { color: var(--brant-blue-dark); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .7rem; font-weight: 700; letter-spacing: .09em; }
.brant-project-facts { margin: 0; border-top: 1px solid var(--brant-line); }
.brant-project-facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--brant-line); }
.brant-project-facts dt { color: var(--brant-blue-dark); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.brant-project-facts dd { margin: 0; font-weight: 600; }
.brant-home-projetos { background: var(--brant-white); }

/* Páginas comuns (page.php): conteúdo do editor, inclusive galerias de logos como a de Clientes */
.brant-page-body { padding-top: clamp(50px, 6vw, 90px); }
.brant-page-entry { max-width: 1100px; }
.brant-page-entry > p, .brant-page-entry > ul, .brant-page-entry > ol { max-width: 760px; }
.brant-page-entry h2 { margin-top: 1.4em; color: var(--brant-navy); }
.brant-page-entry > h2:first-child { margin-top: 0; }
.brant-page-entry .wp-block-gallery { max-width: 920px; margin-bottom: 2.4em; }
.brant-page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 5vw, 80px); }
.brant-page-hero-image { margin: 0; }
.brant-page-hero-image img { width: 100%; height: auto; }
/* Na última linha, os logos mantêm o tamanho dos demais em vez de esticar. */
.brant-page-entry .wp-block-gallery.has-nested-images figure.wp-block-image { flex-grow: 0; margin: 0; padding: 10px; border: 1px solid var(--brant-line); background: #fff; }
.brant-page-entry .wp-block-gallery.is-cropped figure.wp-block-image img { height: auto; aspect-ratio: 236 / 130; object-fit: contain; }
.brant-page-entry .wp-block-gallery figcaption { color: var(--brant-muted); font-size: .8rem; }
.brant-home-projetos-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; margin-top: clamp(40px, 5vw, 64px); padding-top: 30px; border-top: 1px solid var(--brant-line); }
.brant-home-projetos-cta p { max-width: 560px; margin: 0; color: var(--brant-muted); font-size: 1.04rem; }

/* Projetos (archive-brant_projeto.php, single-brant_projeto.php, template-parts/project-card.php) */
.brant-projetos-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 980px; margin-top: 44px; border-top: 1px solid var(--brant-line); }
.brant-projetos-stats > div { display: flex; flex-direction: column; padding: 20px 20px 0 0; }
.brant-projetos-stats > div + div { padding-left: 22px; border-left: 1px solid var(--brant-line); }
.brant-projetos-stats strong { color: var(--brant-blue-dark); font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif; font-size: 3rem; font-weight: 700; line-height: 1; }
.brant-projetos-stats strong span { font-size: .6em; }
.brant-projetos-stats > div > span { color: var(--brant-muted); font-size: .9rem; }
.brant-projeto-destaque { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(36px, 4vw, 60px); border-top: 1px solid var(--brant-line); }
.brant-projeto-destaque:nth-of-type(even) .brant-projeto-destaque-media { order: 2; }
.brant-projeto-destaque.has-vertical-video .brant-projeto-destaque-media, .has-vertical-video .brant-projeto-hero-media { display: flex; justify-content: center; }
.brant-projeto-destaque-copy h3 { margin-bottom: 14px; font-size: clamp(2.2rem, 3vw, 3.2rem); }
.brant-projeto-destaque-copy h3 a { color: var(--brant-navy); text-decoration: none; }
.brant-projeto-destaque-copy h3 a:hover { color: var(--brant-blue-dark); }
.brant-projeto-destaque-copy > p { max-width: 520px; margin-bottom: 26px; color: var(--brant-muted); font-size: 1.04rem; }
.brant-projeto-destaque-copy .brant-project-facts { margin-bottom: 26px; }
.brant-video-shell.is-vertical { width: min(100%, 340px); }
.brant-video-shell.is-vertical .brant-video-trigger, .brant-video-shell.is-vertical iframe { aspect-ratio: 9 / 16; }
.brant-video-shell.is-vertical .brant-video-overlay { flex-direction: column; align-items: flex-start; }
.brant-video-shell.is-vertical .brant-video-headline { font-size: 1.6rem; }
.brant-projeto-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin: 0 0 28px; }
.brant-projeto-logos img { width: auto; max-width: 130px; height: 64px; object-fit: contain; }
.brant-projetos-outros { background: var(--brant-white); }
.brant-projeto-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); }
.brant-projeto-card { display: flex; flex-direction: column; }
.brant-projeto-card-image { position: relative; display: block; aspect-ratio: 16 / 10; margin-bottom: 20px; overflow: hidden; border: 1px solid var(--brant-line); background: var(--brant-navy); }
.brant-projeto-card-image picture { width: 100%; height: 100%; }
.brant-projeto-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.brant-projeto-card:hover .brant-projeto-card-image img { transform: scale(1.04); }
.brant-projeto-card-image.is-logo { display: flex; align-items: center; justify-content: center; background: #fff; }
.brant-projeto-card-image.is-logo img { width: auto; max-width: 55%; height: auto; max-height: 60%; object-fit: contain; }
.brant-projeto-card-video { position: absolute; top: 14px; left: 14px; padding: 5px 9px; background: #fff; color: var(--brant-blue-dark); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .64rem; font-weight: 700; letter-spacing: .1em; }
.brant-projeto-section-title { margin: 0 0 18px; color: var(--brant-navy); font-size: clamp(2rem, 3vw, 2.6rem); }
.brant-servico-article .brant-project-facts { margin-bottom: 30px; }
.brant-servico-article .brant-projeto-logos { margin-bottom: 40px; }
.brant-projeto-docs { margin: 0 0 40px; padding: 0; border-top: 1px solid var(--brant-line); list-style: none; }
.brant-projeto-docs li { position: relative; padding: 14px 0 14px 26px; border-bottom: 1px solid var(--brant-line); font-weight: 600; }
.brant-projeto-docs li::before { content: "/"; position: absolute; left: 4px; color: var(--brant-blue); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; }
.brant-projeto-entry { margin-bottom: 36px; }
.brant-projeto-entry figure { margin-inline: 0; }
.brant-projeto-entry .wp-block-gallery img, .brant-projeto-entry .wp-block-image img { border: 1px solid var(--brant-line); }

/* Blog: cards (Home, listagem e arquivos) */
.brant-text-link { color: var(--brant-blue-dark); font-size: .9rem; font-weight: 700; text-decoration-color: var(--brant-blue); text-underline-offset: 5px; }
.brant-text-link:hover { color: var(--brant-navy); }
.brant-home-blog { background: var(--brant-paper); }
.brant-home-blog .brant-section-head { align-items: end; }
.brant-home-blog .brant-section-head > .brant-text-link { justify-self: end; margin-bottom: 8px; }
.brant-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 48px); }
.brant-post-card { display: flex; flex-direction: column; }
.brant-post-card-image { display: block; aspect-ratio: 16 / 10; margin-bottom: 20px; overflow: hidden; border: 1px solid var(--brant-line); background: var(--brant-navy); }
.brant-post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.brant-post-card:hover .brant-post-card-image img { transform: scale(1.04); }
.brant-post-card-placeholder { display: flex; height: 100%; align-items: flex-end; padding: 22px; color: #fff; font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif; font-size: 2rem; font-weight: 700; letter-spacing: .02em; background: linear-gradient(135deg, var(--brant-navy) 0%, #0e3a5c 100%); }
.brant-post-card-placeholder span { margin-left: 8px; color: #70c8ea; }
.brant-post-card-meta { margin: 0 0 10px; color: var(--brant-blue-dark); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.brant-post-card-title { margin: 0 0 12px; font-size: clamp(1.6rem, 2vw, 2.05rem); line-height: 1.02; }
.brant-post-card-title a { color: var(--brant-navy); text-decoration: none; }
.brant-post-card-title a:hover { color: var(--brant-blue-dark); }
.brant-post-card-excerpt { flex: 1; margin-bottom: 18px; color: var(--brant-muted); font-size: .94rem; }
.brant-post-card-read { width: fit-content; color: var(--brant-blue-dark); font-size: .88rem; font-weight: 700; text-decoration: none; }
.brant-post-card-read:hover { text-decoration: underline; text-underline-offset: 4px; }

/* FAQ: <details> funciona sem JavaScript; navegadores sem suporte mostram as respostas abertas. */
.brant-faq { background: #eff4f4; border-top: 1px solid #e0e9ea; }
.brant-faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.brant-faq-head h2 { margin-bottom: 22px; }
.brant-faq-head > p:not(.brant-index) { max-width: 340px; color: var(--brant-muted); }
.brant-faq-head a { color: var(--brant-blue-dark); font-weight: 700; text-underline-offset: 4px; }
.brant-faq-list { border-top: 1px solid var(--brant-line); }
.brant-faq-item { border-bottom: 1px solid var(--brant-line); }
.brant-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; }
.brant-faq-item summary::-webkit-details-marker { display: none; }
.brant-faq-item summary::marker { content: ""; }
.brant-faq-item h3 { margin: 0; color: var(--brant-navy); font-size: clamp(1.35rem, 1.7vw, 1.7rem); line-height: 1.1; letter-spacing: -.01em; }
.brant-faq-item summary:hover h3 { color: var(--brant-blue-dark); }
.brant-faq-icon { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--brant-line); border-radius: 50%; transition: background .2s ease, border-color .2s ease; }
.brant-faq-icon::before, .brant-faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--brant-blue-dark); transition: transform .2s ease; }
.brant-faq-icon::after { transform: rotate(90deg); }
.brant-faq-item[open] .brant-faq-icon { border-color: var(--brant-blue); background: var(--brant-blue); }
.brant-faq-item[open] .brant-faq-icon::before, .brant-faq-item[open] .brant-faq-icon::after { background: #fff; }
.brant-faq-item[open] .brant-faq-icon::after { transform: rotate(0deg); }
.brant-faq-answer { max-width: 680px; padding: 0 58px 24px 0; color: var(--brant-muted); }
.brant-faq-answer p { margin: 0; }
.brant-faq-answer a { color: var(--brant-blue-dark); font-weight: 700; text-underline-offset: 3px; }
.brant-faq-answer strong { color: var(--brant-ink); }

/* Páginas do blog */
.brant-blog-hero { padding-block: clamp(60px, 7vw, 110px) clamp(40px, 5vw, 70px); background: var(--brant-white); border-bottom: 1px solid #e3e8ea; }
.brant-blog-hero h1 { max-width: 900px; margin-bottom: 20px; color: var(--brant-navy); font-size: clamp(3rem, 5.2vw, 5.4rem); }
.brant-blog-hero p:not(.brant-index):not(.brant-article-meta) { max-width: 560px; margin: 0; color: var(--brant-muted); font-size: 1.1rem; }
.brant-blog-back { display: inline-block; margin-bottom: 26px; color: var(--brant-blue-dark); font-size: .88rem; font-weight: 700; text-decoration: none; }
.brant-blog-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.brant-blog-list { background: var(--brant-paper); }
.brant-blog-empty { max-width: 560px; }
.brant-blog-empty h2 { margin-bottom: 14px; font-size: clamp(2.2rem, 3vw, 3rem); }
.brant-blog-empty p { margin-bottom: 26px; color: var(--brant-muted); }
.brant-blog .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 50px; }
.brant-blog .nav-links .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--brant-line); color: var(--brant-navy); font-weight: 700; text-decoration: none; }
.brant-blog .nav-links .page-numbers.current, .brant-blog .nav-links a.page-numbers:hover { border-color: var(--brant-blue); background: var(--brant-blue); color: #fff; }
.brant-article-narrow { max-width: 820px; }
.brant-article-header h1 { font-size: clamp(2.8rem, 4.6vw, 4.6rem); }
.brant-article-meta { margin: 0; color: var(--brant-muted); font-size: .88rem; }
.brant-article-header h1 { max-width: 980px; }
.brant-article-image { margin: 0 0 40px; }
.brant-article-image img { width: 100%; height: auto; }
.brant-article-image figcaption { margin-top: 8px; color: var(--brant-muted); font-size: .8rem; }
.brant-article-body { padding-block: 44px 90px; }
.brant-article-main { max-width: 820px; }
.brant-entry { font-size: 1.08rem; line-height: 1.75; }
.brant-entry > * { margin-top: 0; margin-bottom: 1.3em; }
.brant-entry h2 { margin-top: 1.6em; font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.05; }
.brant-entry h3 { margin-top: 1.4em; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.1; }
.brant-entry a { color: var(--brant-blue-dark); text-underline-offset: 3px; }
.brant-entry img { height: auto; }
.brant-entry ul, .brant-entry ol { padding-left: 1.3em; }
.brant-entry blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brant-blue); color: var(--brant-ink); font-size: 1.15rem; }
.brant-blog .post-navigation .nav-links { justify-content: space-between; margin-top: 0; }
.brant-blog .post-navigation a { color: var(--brant-blue-dark); font-weight: 700; text-decoration: none; }

/* Páginas de serviço (template-servico.php) */
.brant-servico-hero { overflow: hidden; background: var(--brant-white); border-bottom: 1px solid #e3e8ea; }
.brant-servico-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; padding-block: clamp(40px, 5vw, 70px); }
.brant-servico-hero-grid.is-text-only { grid-template-columns: minmax(0, 1fr); }
.brant-servico-hero h1 { margin-bottom: 20px; color: var(--brant-navy); font-size: clamp(3rem, 5vw, 5.2rem); }
.brant-servico-lead { max-width: 560px; margin-bottom: 28px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.5; }
.brant-servico-hero-image { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid var(--brant-line); background: #d7e4e8; }
.brant-servico-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.brant-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; padding: 0; list-style: none; color: var(--brant-muted); font-size: .82rem; }
.brant-breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--brant-line); }
.brant-breadcrumb a { color: var(--brant-blue-dark); font-weight: 700; text-decoration: none; }
.brant-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.brant-servico-body { padding-block: clamp(50px, 6vw, 90px); background: var(--brant-paper); }
.brant-servico-body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 100px); align-items: start; }
.brant-servico-article { max-width: 780px; }
.brant-servico-article > h2:first-child { margin-top: 0; }
.brant-servico-aside { position: -webkit-sticky; position: sticky; top: 120px; }
.admin-bar .brant-servico-aside { top: 152px; }
.brant-servico-aside-card { padding: 28px; background: var(--brant-navy); color: #fff; }
.brant-servico-aside-title { margin: 0 0 12px; font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif; font-size: 1.9rem; font-weight: 700; line-height: 1.02; }
.brant-servico-aside-card p:not(.brant-servico-aside-title) { margin-bottom: 22px; color: #d2e0e8; font-size: .94rem; }
.brant-servico-aside-card .brant-button { width: 100%; }
.brant-servico-others { display: flex; flex-direction: column; margin-top: 28px; border-top: 1px solid var(--brant-line); }
.brant-servico-others .brant-small-label { margin: 16px 0 6px; }
.brant-servico-others a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--brant-line); color: var(--brant-navy); font-weight: 700; text-decoration: none; }
.brant-servico-others a:hover { color: var(--brant-blue-dark); }
.brant-expertise { background: var(--brant-white); }
.brant-expertise-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.brant-expertise h2 { margin-bottom: 22px; font-size: clamp(2.6rem, 4vw, 4.2rem); }
.brant-expertise-grid > div:first-child > p:not(.brant-index) { max-width: 600px; color: var(--brant-muted); }
.brant-expertise-grid strong { color: var(--brant-ink); }
.brant-expertise-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--brant-line); }
.brant-expertise-stats > div { display: flex; flex-direction: column; padding: 22px 0; border-bottom: 1px solid var(--brant-line); }
.brant-expertise-stats strong { color: var(--brant-blue-dark); font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif; font-size: 3rem; font-weight: 700; line-height: 1; }
.brant-expertise-stats strong span { font-size: .6em; }
.brant-expertise-stats > div > span { color: var(--brant-muted); font-size: .9rem; }

/* Conteúdo editável: FAQ (bloco Detalhes), tabelas e destaques */
.brant-entry .wp-block-details, .brant-entry details { margin: 0; border-bottom: 1px solid var(--brant-line); }
.brant-entry h2 + .wp-block-details, .brant-entry h2 + details { border-top: 1px solid var(--brant-line); }
.brant-entry details summary { position: relative; padding: 18px 48px 18px 0; color: var(--brant-navy); cursor: pointer; font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif; font-size: 1.4rem; font-weight: 700; line-height: 1.15; list-style: none; }
.brant-entry details summary::-webkit-details-marker { display: none; }
.brant-entry details summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px; border: 1px solid var(--brant-line); border-radius: 50%; color: var(--brant-blue-dark); font-family: system-ui, sans-serif; font-size: 1.1rem; line-height: 28px; text-align: center; }
.brant-entry details[open] summary::after { content: "–"; border-color: var(--brant-blue); background: var(--brant-blue); color: #fff; }
.brant-entry details > :not(summary) { margin: 0 0 18px; color: var(--brant-muted); }
.brant-entry details + h2, .brant-entry details + h3, .brant-entry .wp-block-details + h2 { margin-top: 1.8em; }
.brant-entry table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.brant-entry th, .brant-entry td { padding: 12px 14px; border: 1px solid var(--brant-line); text-align: left; vertical-align: top; }
.brant-entry th { background: #eff4f4; color: var(--brant-navy); }
.brant-entry .wp-block-table { margin-inline: 0; overflow-x: auto; }
.brant-entry .wp-block-table figcaption { margin-top: 10px; color: var(--brant-muted); font-size: .84rem; }
.brant-entry strong { color: var(--brant-ink); }

.brant-contact { background: var(--brant-blue); color: #fff; }
.brant-contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: clamp(45px, 8vw, 130px); }
.brant-contact .brant-index { color: #e8f8ff; }
.brant-contact h2 { max-width: 560px; margin-bottom: 0; }
.brant-contact-action > p { max-width: 430px; margin-bottom: 28px; font-size: 1.08rem; }
.brant-button-light { border-color: #fff; background: #fff; color: var(--brant-blue-dark); }
.brant-button-light:hover { border-color: var(--brant-navy); background: var(--brant-navy); color: #fff; }

/*
 * Modal de contato. Sem JavaScript abre por :target; com JavaScript (classe leadads-js no <html>)
 * passa a depender só de .is-open. O layout interno evita grid e gap para servir a navegadores antigos.
 */
[hidden] { display: none !important; }
.brant-modal { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 24px 16px; }
.brant-modal:target, .brant-modal.is-open { display: block; }
.leadads-js .brant-modal:target { display: none; }
.leadads-js .brant-modal.is-open { display: block; }
.leadads-modal-open, .leadads-modal-open body { overflow: hidden; }
.brant-modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: #092238; background: rgba(9, 34, 56, .82); cursor: default; }
.brant-modal-panel { position: relative; max-width: 480px; margin: 6vh auto; padding: 44px 40px 34px; background: #fff; color: #102d43; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); -webkit-animation: brant-modal-in .22s ease-out; animation: brant-modal-in .22s ease-out; }
@-webkit-keyframes brant-modal-in { from { opacity: 0; -webkit-transform: translateY(14px); } to { opacity: 1; -webkit-transform: none; } }
@keyframes brant-modal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.brant-modal-close { position: absolute; top: 8px; right: 8px; display: block; width: 44px; height: 44px; color: #5e7180; font-size: 2rem; line-height: 44px; text-align: center; text-decoration: none; }
.brant-modal-close:hover { color: #092238; }
.brant-modal .brant-index { margin-bottom: 18px; }
.brant-modal-title { margin: 0 0 12px; color: #092238; font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif; font-size: 2.9rem; font-weight: 700; line-height: .98; letter-spacing: -.025em; }
.brant-modal-lead, .brant-modal-success > p:not(.brant-index):not(.brant-modal-title) { margin-bottom: 26px; color: #5e7180; }
.brant-field { margin-bottom: 18px; }
.brant-field label { display: block; margin-bottom: 8px; font-size: .86rem; font-weight: 650; }
.brant-field label span { color: #147ba9; }
.brant-field input { display: block; width: 100%; min-height: 52px; padding: 13px 14px; border: 1px solid #cbd5d9; border-radius: 0; background: #fff; color: #092238; font-size: 1rem; -webkit-appearance: none; appearance: none; }
.brant-field input:focus { border-color: #188fc4; outline: 3px solid #8ed9f3; outline-offset: 0; }
.brant-field input[aria-invalid="true"] { border-color: #c2410c; }
.brant-field-error { margin: 7px 0 0; color: #b23a0b; font-size: .82rem; font-weight: 600; }
.brant-modal-submit { width: 100%; margin-top: 8px; }
.brant-modal-submit[disabled] { opacity: .7; cursor: wait; transform: none; }
.brant-modal-note { margin: 14px 0 0; color: #5e7180; font-size: .76rem; line-height: 1.45; }
.brant-modal-note a { color: #147ba9; }
.brant-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.brant-form-message { margin: 0 0 20px; padding: 12px 14px; border-left: 3px solid #c2410c; background: #fff4ed; color: #7c2d12; font-size: .9rem; font-weight: 600; }

.brant-footer { background: var(--brant-navy); color: #fff; }
.brant-footer-main { display: grid; grid-template-columns: 1.35fr .65fr 1fr; gap: clamp(30px, 5vw, 90px); padding-block: 76px; }
.brant-footer-logo { display: inline-block; padding: 9px 14px; background: #fff; }
.brant-footer-logo img { width: 167px; height: 60px; object-fit: contain; }
.brant-footer-identity p { max-width: 300px; margin: 22px 0 0; color: #a9c0ce; font-size: .92rem; }
.brant-footer-label { margin: 0 0 20px; color: #6bc6e8; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.brant-footer nav, .brant-footer-contact { display: flex; flex-direction: column; gap: 9px; }
.brant-footer nav .brant-footer-label, .brant-footer-contact .brant-footer-label { margin-bottom: 11px; }
.brant-footer a { text-decoration: none; }
.brant-footer-contact a { overflow-wrap: anywhere; }
.brant-footer address { margin-top: 7px; color: #a9c0ce; font-size: .88rem; font-style: normal; line-height: 1.6; }
.brant-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px 28px; border-top: 1px solid #315067; color: #a9c0ce; font-size: .74rem; }
.brant-footer-bottom small { font-size: inherit; }
@media (max-width: 760px) { .brant-footer-bottom { flex-direction: column; justify-content: center; text-align: center; } .brant-footer-bottom small { width: 100%; } }
.brant-social { display: flex; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.brant-social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #315067; color: #fff; transition: background .2s ease, border-color .2s ease; }
.brant-social a:hover { border-color: var(--brant-blue); background: var(--brant-blue); color: #fff; }
.brant-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.brant-social .brant-icon-fill { fill: currentColor; stroke: none; }
.brant-simple-page { min-height: 60vh; padding-block: 80px; background: #fff; }
.brant-simple-page h1 { font-size: clamp(3rem, 5vw, 5rem); }

@media (max-width: 1100px) {
	.brant-container { width: min(100% - 48px, 1420px); }
	.brant-hero-grid { min-height: 520px; }
	.brant-hero-image { margin-right: -24px; min-height: 520px; }
	.brant-hero-image img { min-height: 520px; }
	.brant-hero-copy { padding-right: 28px; }
	.brant-hero h1 { font-size: clamp(3.6rem, 5.8vw, 5.7rem); }
	.brant-clients-inner { grid-template-columns: 1fr; }
	.brant-post-grid { grid-template-columns: repeat(2, 1fr); }
	.brant-projeto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	.brant-container { width: min(100% - 36px, 1420px); }
	.brant-header-inner { min-height: 75px; }
	.brant-logo img { width: 142px; height: auto; }
	.brant-menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
	.brant-menu-toggle span { display: block; height: 2px; width: 100%; background: var(--brant-navy); }
	.brant-nav { display: none; position: absolute; top: 75px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 18px; border-bottom: 1px solid var(--brant-line); background: #fff; box-shadow: 0 18px 25px rgba(8, 35, 57, .1); }
	.brant-nav.is-open { display: flex; }
	.brant-nav > a { padding: 14px 6px; }
	.brant-nav .brant-header-cta { justify-content: space-between; margin-top: 9px; padding: 12px 14px; }
	.brant-hero-grid, .brant-section-head, .brant-case-grid, .brant-project-grid, .brant-contact-grid, .brant-faq-grid { grid-template-columns: 1fr; }
	.brant-post-grid { grid-template-columns: 1fr; gap: 44px; }
	.brant-projeto-grid { grid-template-columns: 1fr; gap: 44px; }
	.brant-page-hero-grid { grid-template-columns: 1fr; }
	.brant-projeto-destaque { grid-template-columns: 1fr; gap: 26px; }
	.brant-projeto-destaque:nth-of-type(even) .brant-projeto-destaque-media { order: 0; }
	.brant-projetos-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
	.brant-projetos-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.brant-projetos-stats strong { font-size: 2.5rem; }
	.brant-home-blog .brant-section-head > .brant-text-link { justify-self: start; }
	.brant-faq-grid { gap: 30px; }
	.brant-servico-hero-grid, .brant-servico-body-grid, .brant-expertise-grid { grid-template-columns: 1fr; }
	.brant-servico-aside { position: static; }
	.brant-servico-hero-image { margin-inline: -18px; border-inline: 0; }
	.brant-faq-answer { padding-right: 0; }
	.brant-contact-grid { align-items: start; }
	.brant-hero-copy { padding: 55px 0 44px; }
	.brant-hero h1 { max-width: 600px; font-size: clamp(3.9rem, 12.2vw, 5.9rem); }
	.brant-hero-image { min-height: 270px; margin: 0 -18px; }
	.brant-hero-image img { min-height: 270px; height: 330px; object-position: center; }
	.brant-proof-inner { grid-template-columns: repeat(2, 1fr); gap: 0; row-gap: 20px; }
	.brant-proof-inner > div:nth-child(4) { padding-left: 0; border: 0; }
	.brant-proof-inner .brant-small-label { grid-column: 1 / -1; margin-bottom: 15px; padding: 0; }
	.brant-proof-inner > div:first-of-type { padding-left: 0; border: 0; }
	.brant-proof-inner strong { font-size: 2.5rem; }
	.brant-clients ul { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
	.brant-section-head { gap: 10px; }
	.brant-service-list { grid-template-columns: 1fr; }
	.brant-service, .brant-service:first-child, .brant-service:last-child { min-height: 0; padding: 27px 0; border: 0; border-bottom: 1px solid var(--brant-line); }
	.brant-service h3 { margin: 12px 0; }
	.brant-service-image { height: auto; margin-bottom: 20px; aspect-ratio: 16 / 10; }
	.brant-service p { margin-bottom: 24px; }
	.brant-service-mark { padding-top: 13px; }
	.brant-case-grid { gap: 38px; }
	.brant-case h2 { max-width: 560px; }
	.brant-case-meta { margin-top: 20px; }
	.brant-video-tag { top: 12px; left: 12px; font-size: .6rem; }
	.brant-video-overlay { right: 14px; bottom: 12px; left: 14px; gap: 12px; }
	.brant-video-headline { font-size: clamp(1.15rem, 5.4vw, 1.6rem); }
	.brant-video-cta { font-size: .85rem; gap: 8px; }
	.brant-play { width: 44px; height: 44px; font-size: .9rem; }
	.brant-project-grid { gap: 30px; }
	.brant-contact-grid { gap: 28px; }
	.brant-contact h2 { max-width: 580px; }
	.brant-footer-main { grid-template-columns: 1fr 1fr; gap: 42px; }
	.brant-footer-identity { grid-column: 1 / -1; }
	.brant-footer-bottom { flex-wrap: wrap; }
}

@media (max-width: 480px) {
	.brant-container { width: min(100% - 30px, 1420px); }
	.brant-hero h1 { font-size: clamp(3.35rem, 13.4vw, 4.25rem); }
	.brant-hero-image { margin-inline: -15px; }
	.brant-hero-image img { height: 240px; min-height: 240px; }
	.brant-button { width: 100%; }
	.brant-proof-inner strong { font-size: 2.35rem; }
	.brant-clients ul { gap: 30px 14px; }
	.brant-clients li { font-size: 1.22rem; }
	.brant-modal { padding: 0; }
	.brant-modal-panel { min-height: 100%; margin: 0; padding: 56px 20px 28px; }
	.brant-modal-title { font-size: 2.5rem; }
	.brant-footer-main { grid-template-columns: 1fr; padding-block: 55px; }
	.brant-footer-identity { grid-column: auto; }
	.brant-footer-bottom { display: grid; gap: 13px; justify-items: center; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
