/* ==========================================================
   Gorgonho Consultoria — estilos principais
   Paleta e tipografia do enxoval de marketing
   ========================================================== */

:root {
	--gold: #D4AF37;
	--gold-hover: #E2C25A;
	--ink: #0B0C0D;
	--ink-deep: #08090A;
	--grafite: #111214;
	--ink-3: #141518;
	--ink-4: #16171A;
	--cinza: #33363A;
	--line: #1F2023;
	--line-2: #26282C;
	--line-3: #4A4C50;
	--white: #F5F5F5;
	--text: #E4E4E6;
	--text-2: #B9BABD;
	--text-3: #A9AAAD;
	--text-4: #D2D3D5;
	--text-5: #8E9094;
	--font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--wrap: 1200px;
	--radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--text); text-decoration: none; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, h4 { color: var(--white); font-weight: 600; line-height: 1.2; margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.hl { color: var(--gold); }
.break { word-break: break-all; }

/* Acessibilidade (padrão WordPress) */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto;
	left: 16px; top: 16px; z-index: 1000; padding: 12px 18px;
	background: var(--gold); color: var(--grafite); font-weight: 600;
}

/* ---------- Botões e links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 52px; padding: 0 28px;
	border: 1px solid transparent; border-radius: var(--radius);
	font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: .02em;
	cursor: pointer; text-align: center;
}
.btn--gold { background: var(--gold); color: var(--grafite); }
.btn--gold:hover { background: var(--gold-hover); color: var(--grafite); }
.btn--ghost { border-color: var(--line-3); color: var(--white); font-weight: 500; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--gold); font-weight: 600; font-size: 14px; }
.link-arrow:hover { color: var(--white); }

/* ---------- Tipografia de apoio ---------- */
.eyebrow { color: var(--gold); font-size: 13px; letter-spacing: .3em; font-weight: 600; text-transform: uppercase; }
.eyebrow--line { display: flex; align-items: center; gap: 14px; }
.eyebrow--line::before { content: ""; width: 40px; height: 1px; background: var(--gold); flex: none; }
.label { color: var(--gold); font-size: 12px; letter-spacing: .25em; font-weight: 600; text-transform: uppercase; }
.lead { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.role { color: var(--gold); font-weight: 500; }

.dash-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--text-4); }
.dash-list li { padding-left: 20px; position: relative; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--gold); }

/* ---------- Barra superior e cabeçalho ---------- */
.topbar { background: var(--ink-deep); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; padding-top: 10px; padding-bottom: 10px; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.topbar a { color: var(--text-3); }
.topbar a:hover, .topbar__social { color: var(--gold); }
@media (max-width: 720px) { .topbar { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 12, 13, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand svg { flex: none; }
.brand__text { display: flex; flex-direction: column; gap: 5px; }
.brand__name { color: var(--white); font-size: 20px; letter-spacing: .28em; font-weight: 500; line-height: 1; }
.brand__tag { color: var(--gold); font-size: 9px; letter-spacing: .3em; font-weight: 500; line-height: 1; }
.brand:hover .brand__name { color: var(--white); }
.custom-logo-link img { max-height: 56px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.site-nav__list a { display: inline-flex; align-items: center; min-height: 44px; }
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a { color: var(--gold); }
.site-nav__list .sub-menu { display: none; }

.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--white); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

@media (max-width: 1020px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 20px;
		padding: 8px 24px 28px; background: var(--ink); border-bottom: 1px solid var(--line);
	}
	.site-nav.is-open { display: flex; }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; font-size: 16px; }
	.site-nav__list a { display: flex; min-height: 52px; border-bottom: 1px solid var(--line); }
	.site-nav__list .sub-menu { display: block; list-style: none; padding-left: 16px; }
	.site-nav__cta { align-self: flex-start; }
}

/* ---------- Seções ---------- */
.section { padding: 112px 0; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--grafite); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--cta { padding-top: 0; }
@media (max-width: 720px) {
	.section { padding: 72px 0; }
	.section--tight { padding: 56px 0; }
	.section--cta { padding-top: 0; }
}

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.section-head > div { max-width: 640px; }
.section-head > p { max-width: 420px; color: var(--text-3); }
.section-head__title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; margin-top: 18px; }
.split__body .section-head__title, .story__head .section-head__title { margin-top: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent); }
.hero__mark { position: absolute; right: -140px; top: 20px; width: 720px; height: 720px; opacity: .06; pointer-events: none; }
.hero__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 112px; padding-bottom: 128px; }
.hero__content { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__title { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.08; letter-spacing: -.01em; }
.hero__lead { max-width: 560px; font-size: 18px; line-height: 1.65; color: var(--text-2); }
.hero .btn-row { padding-top: 8px; }

.hero--page .hero__mark { width: 560px; height: 560px; right: -100px; top: -60px; }
.hero--page .hero__inner { padding-top: 96px; padding-bottom: 104px; }
.hero--page .hero__content { gap: 24px; }
.hero--page .hero__title { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.1; max-width: 860px; }
.hero--page .hero__lead { max-width: 680px; }

@media (max-width: 720px) {
	.hero__inner { padding-top: 72px; padding-bottom: 80px; gap: 40px; }
	.hero--page .hero__inner { padding-top: 64px; padding-bottom: 72px; }
	.hero__mark { width: 420px; height: 420px; right: -160px; }
}

.apex-card { flex: 1 1 340px; max-width: 400px; padding: 36px; border: 1px solid var(--gold); background: var(--grafite); display: flex; flex-direction: column; gap: 18px; }
.apex-card__title { font-size: 26px; line-height: 1.3; color: var(--white); font-weight: 500; }
.apex-card__text { font-size: 15px; line-height: 1.6; color: var(--text-3); }

/* ---------- Pilares ---------- */
.band { background: var(--grafite); border-bottom: 1px solid var(--line); }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.pillar { display: flex; gap: 18px; align-items: flex-start; color: var(--gold); }
.pillar .icon { flex: none; }
.pillar__title { color: var(--gold); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 6px; }
.pillar p { font-size: 15px; line-height: 1.5; color: var(--text-2); }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 24px; }
.card { background: var(--ink-3); border: 1px solid var(--line-2); padding: 36px; display: flex; flex-direction: column; gap: 18px; transition: border-color .2s ease; }
.card:hover { border-color: var(--line-3); }
.card > p { font-size: 15px; line-height: 1.6; color: var(--text-3); }
.card .link-arrow { margin-top: auto; }
.card__num { color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: .15em; }
.card__title { font-size: 22px; line-height: 1.3; }
.card__title a { color: var(--white); }
.card__title a:hover { color: var(--gold); }
.card--accent { background: var(--grafite); border-color: var(--gold); justify-content: space-between; }
.card--accent:hover { border-color: var(--gold); }
.card--accent .btn { align-self: flex-start; }
p.card--accent__text { font-size: 24px; line-height: 1.35; color: var(--white); font-weight: 500; }
.card--dark { background: var(--ink); color: var(--gold); padding: 40px; }
.card__statement { font-size: 18px !important; line-height: 1.55 !important; color: var(--white) !important; }
.value-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.value-list strong { color: var(--white); font-weight: 600; }

/* ---------- Manifesto ---------- */
.manifesto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px; }
.manifesto__item { font-size: 24px; line-height: 1.4; font-weight: 500; color: var(--white); }
.manifesto__item::before { content: ""; display: block; width: 48px; height: 2px; background: var(--gold); margin-bottom: 16px; }

/* ---------- Cases ---------- */
.case { display: flex; flex-wrap: wrap; border: 1px solid var(--line-2); background: var(--grafite); }
.case + .case { margin-top: 24px; }
.case__body { flex: 999 1 520px; min-width: 0; padding: 44px; display: flex; flex-direction: column; gap: 20px; }
.case__body > p:not(.case__tag) { font-size: 15px; line-height: 1.65; color: var(--text-2); }
.case__body .label { margin-bottom: 10px; }
.case__tag { color: var(--text-3); font-size: 12px; letter-spacing: .25em; font-weight: 600; text-transform: uppercase; }
.case__title { font-size: 26px; line-height: 1.3; }
.case__results { flex: 1 1 360px; padding: 44px; background: var(--ink-4); border-left: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 28px 24px; align-content: center; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__value { font-size: 44px; font-weight: 600; color: var(--gold); line-height: 1; }
.stat__label { font-size: 14px; line-height: 1.45; color: var(--text-2); }
@media (max-width: 900px) {
	.case__results { border-left: 0; border-top: 1px solid var(--line-2); }
}
@media (max-width: 600px) {
	.case__body, .case__results { padding: 28px 24px; }
}

/* ---------- Números ---------- */
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.number { display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--gold); padding-left: 24px; }
.number__value { font-size: 44px; font-weight: 600; color: var(--white); line-height: 1; }
.number__label { font-size: 13px; letter-spacing: .2em; color: var(--text-3); font-weight: 600; text-transform: uppercase; }

/* ---------- Fundador / história ---------- */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split__media { flex: 1 1 320px; max-width: 440px; }
.split__body { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.founder-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--line-2); }
.photo-placeholder { aspect-ratio: 4 / 5; border: 1px dashed var(--line-3); background: var(--ink-3); display: flex; align-items: center; justify-content: center; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-4); }

.story { display: flex; flex-wrap: wrap; gap: 64px; }
.story__head { flex: 1 1 280px; display: flex; flex-direction: column; gap: 18px; }
.story__body { flex: 999 1 560px; min-width: 0; font-size: 16px; line-height: 1.75; color: var(--text-2); }
.story__body p + p { margin-top: 22px; }
.story__body a { color: var(--gold); font-weight: 600; }
.story__body strong { color: var(--white); font-weight: 500; }

/* ---------- Serviços ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 40px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--cinza); border-radius: var(--radius); font-size: 14px; font-weight: 500; }
.chip:hover { border-color: var(--gold); }
.service { display: flex; flex-wrap: wrap; gap: 48px; padding: 64px 0; border-bottom: 1px solid var(--line); }
.service:last-of-type { border-bottom: 0; }
.service__intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.service__intro .link-arrow { align-self: flex-start; }
.service__title { font-size: 30px; line-height: 1.2; }
.service__lists { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.panel { background: var(--ink-3); border: 1px solid var(--line-2); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.services { padding-bottom: 64px; }

/* ---------- CTA Apex ---------- */
.cta-panel { border: 1px solid var(--gold); background: var(--grafite); padding: 56px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between; }
.cta-panel__body { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cta-panel__title { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; }
.cta-panel .btn-row { padding-top: 8px; }
.qr { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13px; color: var(--text-3); }
.qr img { width: 160px; height: 160px; background: #FFFFFF; padding: 8px; }
@media (max-width: 600px) { .cta-panel { padding: 32px 24px; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink-deep); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: var(--text-3); }
.footer-title { color: var(--gold); font-size: 12px; letter-spacing: .25em; font-weight: 600; text-transform: uppercase; margin: 0 0 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--text-4); }
.footer-list a { color: var(--text-4); }
.footer-list a:hover { color: var(--gold); }
.footer-widgets { margin-top: 24px; font-size: 14px; color: var(--text-3); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-5); }
.footer-top { color: var(--text-5); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 60;
	width: 56px; height: 56px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--gold); color: var(--grafite);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
.wa-float:hover { background: var(--gold-hover); color: var(--grafite); }

/* ---------- Conteúdo do editor (Gutenberg) ---------- */
.entry-content { max-width: 780px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: var(--text-2); }
.story__body .entry-content, .service-extra { max-width: none; margin-top: 32px; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: 30px; margin-top: 1.8em; }
.entry-content h3 { font-size: 22px; margin-top: 1.6em; }
.entry-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.entry-content strong { color: var(--white); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content blockquote { margin-left: 0; padding-left: 24px; border-left: 2px solid var(--gold); color: var(--white); font-size: 20px; }
.entry-content img { margin: 0 auto; }
.entry-content figcaption { font-size: 13px; color: var(--text-3); margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line-2); padding: 10px 8px; text-align: left; }
.entry-content .wp-block-button__link { background: var(--gold); color: var(--grafite); border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.entry-content .wp-block-separator { border: 0; height: 1px; background: var(--line-2); }
.entry-thumb { margin: 0 0 32px; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignwide { max-width: 1100px; }
.wp-caption-text { font-size: 13px; color: var(--text-3); }
.sticky, .bypostauthor, .gallery-caption { outline: 0; }

/* Formulários */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], textarea, select {
	width: 100%; min-height: 48px; padding: 10px 14px;
	background: var(--ink-3); color: var(--white);
	border: 1px solid var(--line-3); border-radius: var(--radius);
	font: inherit; font-size: 15px;
}
input:focus, textarea:focus, select:focus { border-color: var(--gold); outline: none; }
input[type="submit"], button[type="submit"] {
	min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--radius);
	background: var(--gold); color: var(--grafite); font: inherit; font-weight: 600; cursor: pointer;
}
.search-form { display: flex; gap: 10px; }
.search-form label { flex: 1; }

/* Blog */
.post-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card .case__tag { margin: 0; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); }
.pagination .page-numbers.current { border-color: var(--gold); color: var(--gold); }
.post-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 15px; }
.post-nav a { color: var(--gold); text-decoration: none; }
.comments { margin-top: 56px; }
.comment-list { padding-left: 0; list-style: none; }
.comment-list .comment { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
