﻿/*
Theme Name: Auditajus
Theme URI: https://auditajus.com/
Author: Netfocus
Author URI: https://netfocus.com.br/
Description: Tema custom editorial para Auditajus — due diligence técnica de sites jurídicos. v3.2 hero full-viewport.
Version: 3.2.0
Requires PHP: 7.4
License: Proprietary
Text Domain: auditajus
*/

/* ============================================================
   v2.0 — DESIGN SYSTEM PREMIUM (top-tier law firm aesthetic)
   Reference: Mattos Filho · Pinheiro Neto · BMA · Mendes Jr.
   Disciplina cromatica brutal · tipografia editorial majestosa
   ============================================================ */

:root {
	--bone:        #F6F2EA;
	--bone-warm:   #EFE9DC;
	--ink:         #0B0A08;
	--ink-soft:    #2A2622;
	--ink-mute:    #6B645B;
	--rule:        #D8D0BF;
	--rule-strong: #B8AE99;
	--oxblood:     #6B0F1A;
	--brass:       #B8922E;
	--moss:        #4A6B3F;

	--serif: 'Fraunces', 'Times New Roman', Georgia, serif;
	--sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	--container: 1440px;
	--container-narrow: 980px;
	--gutter: clamp(1.5rem, 4vw, 4rem);

	--ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html {
	font-size: 15px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	scroll-behavior: smooth;
	scroll-padding-top: 5rem;
	text-rendering: optimizeLegibility;
}

body {
	margin: 0;
	background: var(--bone);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 400;
	line-height: 1.65;
	font-feature-settings: "ss01", "ss02", "cv11";
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color .3s var(--ease), opacity .3s var(--ease);
}

::selection { background: var(--ink); color: var(--bone); }

/* TIPOGRAFIA EDITORIAL */

h1, h2, h3, h4, h5 {
	font-family: var(--serif);
	font-weight: 300;
	letter-spacing: -0.025em;
	line-height: 1.02;
	color: var(--ink);
	margin: 0;
	font-feature-settings: "ss01";
}

h1 {
	font-size: clamp(2.2rem, 5.5vw, 4.75rem);
	font-weight: 300;
	line-height: 0.98;
	letter-spacing: -0.035em;
}

h2 {
	font-size: clamp(1.85rem, 4.2vw, 3.5rem);
	font-weight: 300;
	line-height: 1.02;
	letter-spacing: -0.03em;
}

h3 {
	font-size: clamp(1.15rem, 1.6vw, 1.45rem);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.015em;
}

h4 {
	font-size: 1.15rem;
	font-weight: 500;
	font-family: var(--sans);
	letter-spacing: -0.005em;
}

em {
	font-style: italic;
	font-variation-settings: "SOFT" 50, "WONK" 1;
	font-weight: 300;
	color: var(--oxblood);
}

p {
	margin: 0 0 1.4rem;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ink-soft);
}

/* LAYOUT */

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
	width: 100%;
}

.container--narrow { max-width: var(--container-narrow); }

.section {
	padding: clamp(6rem, 12vw, 11rem) 0;
	position: relative;
}

.section + .section { border-top: 1px solid var(--rule); }

/* EYEBROW */

.eyebrow {
	font-family: var(--sans);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--brass, #D4A84B);
	margin: 0 0 2.5rem;
	display: inline-flex;
	align-items: center;
	gap: 0.9rem;
}

.eyebrow::before {
	content: "";
	width: 32px;
	height: 1px;
	background: var(--brass, #D4A84B);
	display: inline-block;
}

.lead {
	font-size: clamp(1rem, 1.3vw, 1.2rem);
	line-height: 1.55;
	color: var(--ink-soft);
	max-width: 56ch;
	font-weight: 400;
}

/* BUTTONS */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.9rem;
	padding: 1.15rem 1.9rem;
	font-family: var(--sans);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	border: none;
	transition: all .35s var(--ease);
	position: relative;
}

.btn-primary {
	background: var(--ink);
	color: var(--bone);
}

.btn-primary:hover {
	background: var(--oxblood);
	transform: translateY(-1px);
}

.btn-ghost {
	background: transparent;
	color: var(--ink);
	border-bottom: 1px solid var(--ink);
	padding: 0.5rem 0;
	letter-spacing: 0.16em;
}

.btn-ghost:hover {
	color: var(--oxblood);
	border-color: var(--oxblood);
}

.btn-arrow::after {
	content: "→";
	font-family: var(--serif);
	font-size: 1.05rem;
	transition: transform .35s var(--ease);
}

.btn-arrow:hover::after { transform: translateX(6px); }

/* HEADER */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(246, 242, 234, 0.92);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--rule);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.7rem 0;
	gap: 2rem;
}

.site-logo {
	font-family: var(--serif);
	font-size: 1.55rem;
	font-weight: 400;
	letter-spacing: -0.025em;
	color: var(--ink);
	white-space: nowrap;
}

.site-logo span {
	font-style: italic;
	font-weight: 300;
	color: var(--oxblood);
	font-variation-settings: "WONK" 1;
}

.site-nav {
	display: flex;
	gap: 2.5rem;
	align-items: center;
}

.site-nav a {
	font-family: var(--serif);
	font-size: 1.45rem;
	font-weight: 300;
	letter-spacing: -0.02em;
	color: var(--ink-soft);
}

.site-nav a:hover { color: var(--oxblood); }

.site-header .btn-primary {
	padding: 0.85rem 1.5rem;
	font-size: 0.7rem;
}

@media (max-width: 900px) {
	.site-nav { display: none; }
}

/* HERO — Full-viewport cinematic edition (v3.3 redesign) */

.hero {
	min-height: auto;
	padding: clamp(5rem, 8vh, 8rem) 0 clamp(5rem, 8vh, 7rem);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: flex-start;
	color: var(--bone);
	isolation: isolate;
}

/* ---------- editorial watermark (top-right) ---------- */
.hero::before {
	content: "Auditajus — N\B0  01 / Auditoria tecnica de sites juridicos";
	position: absolute;
	top: 1.5rem;
	right: var(--gutter);
	font-family: var(--sans);
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(246, 242, 234, 0.68);
	z-index: 3;
}

/* ---------- dark overlay ---------- */
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(105deg,
			rgba(11, 10, 8, 0.92) 0%,
			rgba(11, 10, 8, 0.78) 38%,
			rgba(11, 10, 8, 0.48) 72%,
			rgba(11, 10, 8, 0.30) 100%);
	pointer-events: none;
}

.hero .container {
	position: relative;
	z-index: 2;
	width: 100%;
}

.hero__grid {
	display: block;
	max-width: 68ch;
	margin-top: 0;
}

.hero__content {
	position: relative;
}

.hero__eyebrow {
	font-family: var(--sans);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--brass);
	display: inline-flex;
	align-items: center;
	gap: 0.9rem;
	margin-bottom: 1.5rem;
}

.hero__eyebrow::before {
	content: "01";
	font-family: var(--serif);
	font-style: italic;
	font-weight: 400;
	font-size: 0.95rem;
	letter-spacing: 0;
	color: var(--brass);
	text-transform: none;
}

.hero h1 {
	margin-bottom: 2rem;
	color: var(--bone);
	font-size: clamp(1.3rem, 2.5vw, 2.2rem);
}

.hero h1 em {
	color: var(--brass);
	font-style: italic;
}

.hero__sub {
	font-size: clamp(1.05rem, 1.3vw, 1.2rem);
	line-height: 1.65;
	max-width: 52ch;
	color: rgba(246, 242, 234, 0.86);
	margin-bottom: 2.5rem;
}

.hero__ctas {
	display: flex;
	gap: 2.5rem;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 4.5rem;
}

.hero .btn-primary {
	background: var(--bone);
	color: var(--ink);
	border-color: var(--bone);
}

.hero .btn-primary:hover {
	background: var(--brass);
	color: var(--ink);
	border-color: var(--brass);
}

.hero .btn-soft {
	color: rgba(246, 242, 234, 0.82);
	border-color: rgba(246, 242, 234, 0.32);
	border-bottom-width: 1px;
	border-bottom-style: solid;
	transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.hero .btn-soft:hover {
	color: var(--bone);
	border-color: var(--bone);
}

.hero .btn-ghost {
	color: var(--bone);
	border-color: rgba(246, 242, 234, 0.42);
}

.hero .btn-ghost:hover {
	color: var(--bone);
	border-color: var(--bone);
	background: rgba(246, 242, 234, 0.08);
}

.hero__meta {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	padding-top: 2.5rem;
	border-top: 1px solid rgba(246, 242, 234, 0.22);
	max-width: 68ch;
}

.hero__meta-item {
	font-family: var(--sans);
	font-size: 0.95rem;
	line-height: 1.55;
	color: rgba(246, 242, 234, 0.72);
}

.hero__meta-item strong {
	display: block;
	font-family: var(--serif);
	font-style: italic;
	font-weight: 400;
	font-size: 1.35rem;
	color: var(--bone);
	margin-bottom: 0.4rem;
	font-variation-settings: "WONK" 1;
}

.hero__visual {
	position: absolute;
	inset: 0;
	z-index: 0;
	aspect-ratio: auto;
	background: var(--ink);
	overflow: hidden;
}

.hero__visual-frame { display: none; }

.hero__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: grayscale(100%) contrast(1.08) brightness(0.58);
	transition: transform 3s var(--ease), filter 3s var(--ease);
}

.hero:hover .hero__visual img {
	transform: scale(1.03);
	filter: grayscale(100%) contrast(1.12) brightness(0.62);
}

.hero__visual-mark {
	position: absolute;
	bottom: 1.5rem;
	left: var(--gutter);
	right: var(--gutter);
	font-family: var(--sans);
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(246, 242, 234, 0.68);
	z-index: 3;
	display: flex;
	justify-content: space-between;
}

@media (max-width: 900px) {
	.hero {
		padding: clamp(5.5rem, 12vh, 8rem) 0 clamp(3rem, 6vh, 4.5rem);
		min-height: 92vh;
	}
	.hero__grid { grid-template-columns: 1fr; gap: 3rem; }
	.hero__meta { grid-template-columns: 1fr; gap: 1.5rem; }
	.hero::before { display: none; }
	.hero::after {
		background:
			linear-gradient(180deg,
				rgba(11, 10, 8, 0.55) 0%,
				rgba(11, 10, 8, 0.78) 45%,
				rgba(11, 10, 8, 0.94) 100%);
	}
	.hero__visual-mark {
		bottom: 0.9rem;
		font-size: 0.58rem;
	}
	.hero__ctas {
		gap: 1.5rem;
	}
}

/* [REMOVED] .problem section — não existe nos templates atuais */
/* [REMOVED] .reframe section — não existe nos templates atuais */

/* METHOD */

.method { background: var(--ink); color: var(--bone); }

.method h2, .method h3 { color: var(--bone); }
.method em { color: var(--brass); }

.method .eyebrow { color: rgba(246, 242, 234, 0.55); }
.method .eyebrow::before { background: rgba(246, 242, 234, 0.55); }

.method h2 { max-width: 18ch; margin-bottom: 3rem; }

.method-intro {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	max-width: 60ch;
	color: rgba(246, 242, 234, 0.72);
	font-size: 1.1rem;
	line-height: 1.7;
	margin-bottom: 6rem;
}

.method-layers {
	display: grid;
	grid-template-columns: 1fr;
	border-top: 1px solid rgba(246, 242, 234, 0.13);
}

.method-layer {
	display: grid;
	grid-template-columns: 90px 1fr 2.2fr;
	gap: 3rem;
	padding: 4.8rem 0;
	border-bottom: 1px solid rgba(246, 242, 234, 0.13);
	align-items: start;
	transition: background .4s var(--ease);
}

.method-layer:hover { background: rgba(246, 242, 234, 0.025); }

.method-layer__num {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 300;
	font-size: 2.2rem;
	color: var(--brass);
	line-height: 1;
}

.method-layer__title {
	font-family: var(--serif);
	font-weight: 300;
	font-size: clamp(1.6rem, 2.3vw, 2.1rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin-bottom: 0.6rem;
}

.method-layer__title-meta {
	font-family: var(--sans);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(246, 242, 234, 0.45);
}

.method-layer__desc {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.7;
	color: rgba(246, 242, 234, 0.78);
}

.method__foot {
	margin-top: 5rem;
	padding-top: 3rem;
	border-top: none;
}

.method .btn-ghost {
	color: var(--bone);
	border-color: var(--bone);
}

.method .btn-ghost:hover {
	color: var(--brass);
	border-color: var(--brass);
}

@media (max-width: 900px) {
	.method-layer { grid-template-columns: 60px 1fr; }
	.method-layer__num { font-size: 1.8rem; }
	.method-layer > div:nth-child(2) { grid-column: 2; }
	.method-layer__desc { grid-column: 1 / -1; padding-top: 0.5rem; }
}

/* [REMOVED] .evidence grid section — não existe nos templates atuais (não confundir com .evidence-strip) */
/* [REMOVED] .audience v2 section — substituída pela v4 em L2392 */
/* [REMOVED] .objections v2 grid layout — homepage usa layout diferente via hp-fullbg */

/* CTA FINAL */

.cta-final {
	background: var(--ink);
	color: var(--bone);
	padding: clamp(6rem, 12vw, 11rem) 0;
}

.cta-final h2, .cta-final h3, .cta-final h4 { color: var(--ink); }
.cta-final em { color: var(--brass); }
.cta-final .eyebrow { color: var(--brass, #D4A84B); opacity: 1; }
.cta-final .eyebrow::before { background: var(--brass, #D4A84B); }

.cta-final h2 { max-width: 18ch; margin-bottom: 2rem; }

.cta-final .lead {
	color: var(--ink-soft, #2A2622);
	margin-bottom: 5rem;
	max-width: 60ch;
}

.cta-form {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem 3rem;
	padding-top: 3rem;
	border-top: 1px solid var(--rule, #D8D0BF);
}

.cta-form__field { display: flex; flex-direction: column; }

.cta-form__field label {
	font-family: var(--sans);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink, #0B0A08);
	opacity: 0.55;
	margin-bottom: 1rem;
}

.cta-form__field input {
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--rule, #D8D0BF);
	padding: 0.6rem 0 1rem;
	color: var(--ink, #0B0A08);
	font-family: var(--serif);
	font-size: 1.15rem;
	font-weight: 300;
	transition: border-color .3s var(--ease);
}

.cta-form__field input::placeholder {
	color: var(--ink, #0B0A08);
	opacity: 0.3;
	font-style: italic;
}

.cta-form__field input:focus {
	outline: none;
	border-bottom-color: var(--brass);
}

.cta-form__select {
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(246, 242, 234, 0.25);
	padding: 0.6rem 0 1rem;
	color: var(--bone);
	font-family: var(--serif);
	font-size: 1.15rem;
	font-weight: 300;
	transition: border-color .3s var(--ease);
	appearance: none;
	cursor: pointer;
}

.cta-form__select:focus {
	outline: none;
	border-bottom-color: var(--brass);
}

.cta-form__submit {
	grid-column: 1 / -1;
	padding-top: 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 3rem;
	border-top: 1px solid var(--rule, #D8D0BF);
	margin-top: 1rem;
}

.cta-form__submit .btn-primary {
	background: var(--oxblood, #6B0F1A);
	color: var(--bone);
}

.cta-form__submit .btn-primary:hover {
	background: var(--brass);
	color: var(--ink);
}

.cta-form__micro {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.6;
	color: var(--ink, #0B0A08);
	opacity: 0.45;
	max-width: 42ch;
	text-align: right;
}

.cta-trust {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.5rem 2rem;
	margin-bottom: 2.5rem;
}

.cta-trust__item {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-family: var(--sans);
	font-size: 0.85rem;
	color: var(--bone);
}

.cta-trust__icon {
	color: #16A34A;
	font-size: 0.9rem;
	line-height: 1;
	flex-shrink: 0;
}

@media (max-width: 800px) {
	.cta-form { grid-template-columns: 1fr; }
	.cta-form__submit { flex-direction: column; align-items: flex-start; }
	.cta-form__micro { text-align: left; }
	.cta-trust { flex-direction: column; gap: 0.4rem; }
}

/* FOOTER */

.site-footer {
	background: var(--bone);
	border-top: 1px solid var(--rule);
	padding: 2.5rem 0 1.8rem;
	color: var(--ink-mute);
}

/* Linha principal: logo | nav | contato */
.site-footer__main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	padding-bottom: 1.8rem;
	border-bottom: 1px solid var(--rule);
	margin-bottom: 1.2rem;
}

.site-footer__logo svg,
.site-footer__logo img {
	height: 30px;
	width: auto;
	display: block;
}

.site-footer__nav {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
}

.site-footer__nav a,
.site-footer__contact a {
	font-family: var(--sans);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-mute);
	text-decoration: none;
	transition: color 0.2s;
}

.site-footer__nav a:hover,
.site-footer__contact a:hover { color: var(--oxblood); }

.site-footer__contact {
	display: flex;
	gap: 1.5rem;
}

/* Rodapé base */
.site-footer__base {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	font-family: var(--sans);
	font-size: 0.68rem;
	letter-spacing: 0.04em;
	color: var(--ink-mute);
	opacity: 0.7;
}

/* Políticas colapsável */
.site-footer__policies summary {
	cursor: pointer;
	list-style: none;
	color: var(--ink-mute);
	font-size: 0.68rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-footer__policies summary::-webkit-details-marker { display: none; }
.site-footer__policies summary:hover { color: var(--brass); }

.site-footer__policies-body {
	margin-top: 1rem;
	padding: 1.2rem 1.5rem;
	background: rgba(11,10,8,0.03);
	border: 1px solid var(--rule);
	border-radius: 4px;
	font-size: 0.72rem;
	line-height: 1.7;
	color: var(--ink-mute);
	max-width: 80ch;
}

.site-footer__policies-body p { margin: 0 0 0.6rem; }
.site-footer__policies-body p:last-child { margin: 0; }
.site-footer__policies-body a { color: var(--brass); }

@media (max-width: 768px) {
	.site-footer__main { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
	.site-footer__nav { gap: 1rem; }
	.site-footer__base { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   v3.0 — BLOCOS NOVOS (whatwedo, differentials, cost, process, proof)
   ============================================================ */

/* [REMOVED] .whatwedo / .contrast-grid — substituído por .metod-notus */
/* [REMOVED] .differentials section — não existe nos templates atuais */
/* [REMOVED] .cost section — não existe nos templates atuais */
/* [REMOVED] .process / .process-layer v2 — substituído por .audit-process em inner-process.css */
/* [REMOVED] .proof section — não existe nos templates atuais */

/* METHOD FOOT — adjustment */

.method__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 3rem;
	flex-wrap: wrap;
}

.method__foot-note {
	margin: 0;
	font-family: var(--serif);
	font-style: italic;
	font-weight: 300;
	font-size: 1rem;
	color: rgba(246, 242, 234, 0.55);
	max-width: 42ch;
}

/* CTA FORM — full field */
.cta-form__field--full { grid-column: 1 / -1; }

/* ============================================================
   DETECTOR — radar público editorial
   ============================================================ */

.detector {
  background: var(--bone-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.detector .container--narrow {
  max-width: var(--container-narrow);
}

.detector h2 {
  max-width: 22ch;
  margin-bottom: 2rem;
}

.detector .lead {
  margin-bottom: 4rem;
  max-width: 60ch;
}

.detector-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule-strong);
}

.detector-form__field {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.detector-form__label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1rem;
  text-align: center;
  display: block;
  width: 100%;
}

.detector-form__input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 0.6rem 0 1rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  transition: border-color .3s var(--ease);
  width: 100%;
  text-align: center;
}

.detector-form__input::placeholder {
  color: var(--ink-mute);
  font-style: italic;
  opacity: 0.55;
  text-align: center;
}

.detector-form__input:focus-visible {
  outline: none;
  border-bottom-color: var(--oxblood);
}

.detector-form__submit {
  white-space: nowrap;
  text-align: center;
}

.detector-form__note {
  margin: 2rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-mute);
  max-width: 58ch;
  text-align: center;
}

@media (max-width: 700px) {
  .detector-form {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ============================================================
   DETECTOR — progresso editorial (6 etapas)
   ============================================================ */

.detector-progress {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--rule-strong);
  animation: detector-fade .5s var(--ease);
}

.detector-progress[hidden] { display: none; }

.detector-progress__title {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 3rem;
}

.detector-progress__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.detector-step {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  color: var(--rule-strong);
  transition: color .4s var(--ease);
}

.detector-step:last-child {
  border-bottom: none;
}

.detector-step__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1;
  color: inherit;
}

.detector-step__label {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  color: inherit;
  margin: 0;
}

.detector-step__mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink-mute);
}

.detector-step.is-active {
  color: var(--ink);
}

.detector-step.is-active .detector-step__num {
  color: var(--oxblood);
  animation: detector-pulse 1.8s var(--ease) infinite;
}

.detector-step.is-complete {
  color: var(--ink-mute);
}

.detector-step.is-complete .detector-step__num {
  color: var(--ink-mute);
}

.detector-step.is-complete .detector-step__mark::before {
  content: "✓";
  color: var(--oxblood);
}

@keyframes detector-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes detector-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ============================================================
   DETECTOR — resultado (score + layers + findings + CTA)
   ============================================================ */

.detector-result {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--rule-strong);
  animation: detector-fade .7s var(--ease);
}

.detector-result[hidden] { display: none; }

.detector-result__head {
  margin-bottom: 4rem;
}

.detector-result__head h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.detector-result__score {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 4rem;
}

.detector-result__total {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.detector-result__total-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.85;
  color: var(--ink);
  letter-spacing: -0.05em;
  font-feature-settings: "ss01";
}

.detector-result__total-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 0.8rem;
}

.detector-result__layers {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detector-layer {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.detector-layer__head {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 1rem;
  align-items: baseline;
}

.detector-layer__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: var(--oxblood);
}

.detector-layer__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.detector-layer__score {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.detector-layer__bar {
  height: 2px;
  background: var(--rule);
  overflow: hidden;
  position: relative;
}

.detector-layer__fill {
  height: 100%;
  background: var(--oxblood);
  transition: width 1.2s var(--ease);
}

.detector-result__findings {
  padding-top: 3rem;
  border-top: 1px solid var(--rule);
}

.detector-findings {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  counter-reset: finding;
}

.detector-finding {
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
  counter-increment: finding;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
}

.detector-finding::before {
  content: counter(finding, lower-roman) ".";
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--oxblood);
  line-height: 1.2;
}

.detector-finding__head {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.6rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.detector-finding__sev {
  padding: 0.15rem 0.6rem;
  border: 1px solid currentColor;
  letter-spacing: 0.1em;
}

.detector-finding[data-severity="critical"] .detector-finding__sev { color: var(--oxblood); }
.detector-finding[data-severity="high"]     .detector-finding__sev { color: var(--brass); }
.detector-finding[data-severity="medium"]   .detector-finding__sev { color: var(--ink-mute); }
.detector-finding[data-severity="low"]      .detector-finding__sev { color: var(--rule-strong); }

.detector-finding__label {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 0.5rem;
}

.detector-finding__evidence {
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.detector-result__cta {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--rule-strong);
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 3rem;
  align-items: end;
}

.detector-result__note {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
}

@media (max-width: 800px) {
  .detector-result__score {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .detector-result__cta {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================================
   DETECTOR — erro editorial
   ============================================================ */

.detector-error {
  margin-top: 4rem;
  padding: 2.5rem;
  background: var(--bone);
  border-left: 2px solid var(--oxblood);
  animation: detector-fade .4s var(--ease);
}

.detector-error[hidden] { display: none; }

.detector-error__title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--oxblood);
  margin: 0 0 0.5rem;
}

.detector-error__body {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 1.2rem;
}

.detector-error__retry {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border: none;
  background: none;
  border-bottom: 1px solid var(--ink);
  padding: 0.4rem 0;
  cursor: pointer;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}

.detector-error__retry:hover {
  color: var(--oxblood);
  border-color: var(--oxblood);
}

/* ============================================================
   PLATES EDITORIAIS — N° por seção via [data-plate]
   ============================================================ */

.section[data-plate] {
  position: relative;
}

.section[data-plate]::before {
  content: attr(data-plate);
  position: absolute;
  top: 2rem;
  right: var(--gutter);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0.65;
  pointer-events: none;
  z-index: 5;
}

.section.method[data-plate]::before,
.section.problem[data-plate]::before,
.section.cost[data-plate]::before,
.section.proof[data-plate]::before {
  color: rgba(246, 242, 234, 0.55);
}

@media (max-width: 800px) {
  .section[data-plate]::before { display: none; }
}

/* ============================================================
   REFINAMENTOS FINAIS
   ============================================================ */

*:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 4px;
  border-radius: 1px;
}

input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-bottom: 2px solid var(--brass);
  box-shadow: 0 1px 0 0 var(--brass);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Mobile hamburger menu
   ============================================================ */
.site-header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.site-header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.site-header__toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.site-header__toggle.is-active span:nth-child(2) { opacity: 0; }
.site-header__toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .site-header__toggle { display: block; }
  .site-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bone);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    font-size: 1.25rem;
  }
}

@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .detector-form, .cta-form, .btn { display: none; }
  .section { padding: 2rem 0; break-inside: avoid; }
  h1, h2, h3 { color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #666; }
}

/* ============================================================
   FOOTER FISCAL — placeholders editoriais institucionais
   ============================================================ */

.site-footer__legal {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--ink-mute);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.site-footer__legal dt {
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.62rem;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}

.site-footer__legal dd {
  margin: 0 0 1.2rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.site-footer__compliance {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--ink-mute);
}

@media (max-width: 700px) {
  .site-footer__legal {
    grid-template-columns: 1fr;
  }
}

.site-footer__policy {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  max-width: 72ch;
}

.site-footer__policy h4 {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 1rem;
}

.site-footer__policy p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.site-footer__policy a {
  display: inline;
  padding: 0;
  color: var(--oxblood);
  border-bottom: 1px solid currentColor;
}

/* ============================================================
   RADAR AI — barra de progresso full-card + confirmação download
   ============================================================ */

/* Enquanto carrega: progress toma o espaço total do card */
.detector-progress {
  column-span: all;
}

/* Barra de progresso contínua acima dos steps */
.radar-progress-track {
  width: 100%;
  height: 8px;
  background: var(--rule-strong, #d0c8be);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.radar-progress-fill {
  height: 100%;
  width: 0%;
  background: #2E7D32;
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(.4,0,.2,1);
}

/* Estado de confirmação de download */
.radar-downloaded {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  animation: detector-fade .6s var(--ease);
}

.radar-downloaded__icon {
  font-size: 2.5rem;
  color: var(--brass, #D4A84B);
  margin-bottom: 1rem;
  line-height: 1;
  animation: radar-bounce .5s var(--ease);
}

@keyframes radar-bounce {
  0%   { transform: translateY(-8px); opacity: 0; }
  60%  { transform: translateY(3px); }
  100% { transform: translateY(0); opacity: 1; }
}

.radar-downloaded__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--ink);
  margin-bottom: .5rem;
}

.radar-downloaded__sub {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass, #D4A84B);
  margin-bottom: 1.5rem;
}

.radar-downloaded__note {
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 42ch;
  margin-bottom: 2rem;
}

.radar-downloaded__reset {
  margin-top: 1rem;
  font-size: .78rem;
  color: var(--ink-mute);
}

/* Garante que o detector-result usa 100% do grid quando é o download state */
.detector-result:has(.radar-downloaded) {
  grid-column: 1 / -1;
}

/* Visualizador inline do relatório */
.detector-result:has(.radar-inline) {
  grid-column: 1 / -1;
}
.radar-inline {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--rule, #D8D0BF);
}
.radar-inline__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: #23262B;
  flex-wrap: wrap;
}
.radar-inline__meta {
  font-family: var(--sans, sans-serif);
  font-size: 0.8125rem;
  color: #B0A898;
  letter-spacing: .04em;
}
.radar-inline__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.radar-inline__dl {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.45rem 1rem;
  background: #D4A84B;
  color: #23262B;
  font-family: var(--sans, sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 3px;
  text-decoration: none;
  transition: background .2s;
}
.radar-inline__dl:hover { background: #D4A84B; }
.radar-inline__reset {
  background: none;
  border: 1px solid #555;
  color: #aaa;
  font-family: var(--sans, sans-serif);
  font-size: 0.8125rem;
  padding: 0.45rem 0.9rem;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.radar-inline__reset:hover { border-color: #aaa; color: #fff; }
.radar-inline__frame {
  width: 100%;
  height: 82vh;
  min-height: 560px;
  border: none;
  display: block;
  background: #FAF8F5;
}

/* ============================================================
   THEME-DARK — inversão de paleta para páginas com fundo escuro
   Aplicar via class="theme-dark" no wrapper da página.
   Substitui os hacks inline hp-fullbg/blog-fullbg/etc.
   ============================================================ */

/* Base text inversion */
.theme-dark { color: var(--bone); }
.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4 { color: var(--bone); }
.theme-dark p, .theme-dark li, .theme-dark span, .theme-dark div { color: rgba(246,242,234,0.85); }
.theme-dark .lead { color: rgba(246,242,234,0.75); }
.theme-dark .hero__sub { color: rgba(246,242,234,0.86); }

/* Em/accent = brass */
.theme-dark em, .theme-dark h1 em, .theme-dark h2 em { color: var(--brass); }

/* Eyebrow = brass, no line */
.theme-dark .eyebrow { color: var(--brass); }
.theme-dark .eyebrow::before { display: none; }

/* Sections: transparent bg, no borders */
.theme-dark .section,
.theme-dark .detector,
.theme-dark .method,
.theme-dark .objections,
.theme-dark .social-proof,
.theme-dark .cta-final,
.theme-dark .evidence-strip { background: transparent; }

.theme-dark section,
.theme-dark .section,
.theme-dark section + section { border-color: transparent; }

/* Hero: transparent bg, no overlay */
.theme-dark .hero { background: transparent; }
.theme-dark .hero::after { display: none; }

/* Buttons: brass primary */
.theme-dark .btn-primary { background: var(--brass); color: var(--ink); border: none; }
.theme-dark .btn-arrow::after { color: var(--ink); }
.theme-dark .btn-primary:hover { background: #C49A3D; color: var(--ink); }

/* Evidence strip: white cards with brass left border */
.theme-dark .evidence-strip__item {
  background: #fff;
  border: none;
  border-left: 3px solid var(--brass);
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(11,10,8,0.18);
}
.theme-dark .evidence-strip__item::before { display: none; }
.theme-dark .evidence-strip__number,
.theme-dark .evidence-strip__number sup,
.theme-dark .evidence-strip__number small { color: var(--brass); }
.theme-dark .evidence-strip__label { color: var(--ink); }
.theme-dark .evidence-strip__desc { color: var(--ink-soft); }

/* Detector form: white card */
.theme-dark .detector-form {
  background: #fff;
  border: none;
  border-left: 3px solid var(--brass);
  border-radius: 6px;
  padding: 2.5rem 2.2rem;
  box-shadow: 0 8px 32px rgba(11,10,8,0.18);
}
.theme-dark .detector-form__label { color: var(--ink-mute); }
.theme-dark .detector-form__input {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--ink);
  padding: 1rem 1.2rem;
  margin-bottom: 1.25rem;
}
.theme-dark .detector-form__input:focus { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(212,168,75,0.15); }
.theme-dark .detector-form__input::placeholder { color: var(--rule-strong); font-style: italic; }
.theme-dark .detector-form__submit { background: var(--ink); color: var(--bone); }
.theme-dark .detector-form__note { color: rgba(255,255,255,0.7); font-size: 0.75rem; }

/* FAQ/Objections: white cards */
.theme-dark .objections-list { border-top: none; display: flex; flex-direction: column; gap: 1rem; }
.theme-dark .objection {
  background: rgba(246,242,234,0.97);
  border: none;
  border-radius: 10px;
  padding: 1.8rem 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  display: block;
}
.theme-dark .objection[open] { background: #fff; box-shadow: 0 8px 28px rgba(0,0,0,0.18); }
.theme-dark .objection__q {
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: var(--ink);
  padding-right: 2rem;
  line-height: 1.3;
}
.theme-dark .objection__q::-webkit-details-marker { display: none; }
.theme-dark .objection__q::after { content: "+"; float: right; color: var(--brass); font-size: 1.4rem; line-height: 1; }
.theme-dark .objection[open] .objection__q::after { content: "\2212"; }
.theme-dark .objection__a p { color: var(--ink-soft); margin-top: 1rem; }

/* Testimonials: glass dark */
.theme-dark .testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.theme-dark .testimonial {
  background: rgba(11,10,8,0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212,168,75,0.15);
  border-radius: 10px;
  padding: 2rem 1.8rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  margin: 0;
}
.theme-dark .testimonial__text { color: rgba(242,237,228,0.88); font-style: italic; }
.theme-dark .testimonial__footer { display: flex; flex-direction: column; gap: 0.2rem; }
.theme-dark .testimonial__author { color: var(--brass); font-weight: 600; font-size: 0.85rem; }
.theme-dark .testimonial__context { color: rgba(242,237,228,0.5); font-size: 0.78rem; }

/* CTA Final: centered, form card */
.theme-dark .cta-final h2 { max-width: 22ch; margin: 0 auto 2rem; text-align: center; }
.theme-dark .cta-final .eyebrow { text-align: center; display: flex; justify-content: center; }
.theme-dark .cta-final .container { text-align: center; }
.theme-dark .cta-final .lead { margin-left: auto; margin-right: auto; }
.theme-dark .cta-trust { justify-content: center; }
.theme-dark .cta-trust__item { color: #fff; }
.theme-dark .cta-form {
  background: rgba(246,242,234,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  border-radius: 14px;
  padding: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.theme-dark .cta-form__field label { color: var(--ink-mute); opacity: 1; }
.theme-dark .cta-form__field input { color: var(--ink); border-bottom: 1px solid var(--rule); }
.theme-dark .cta-form__field input::placeholder { color: var(--rule-strong); font-style: italic; opacity: 1; }
.theme-dark .cta-form__submit { border-top: 1px solid var(--rule); }
.theme-dark .cta-form__submit .btn-primary { background: var(--ink); color: var(--bone); }
.theme-dark .cta-form__submit .btn-primary:hover { background: var(--brass); color: var(--ink); }
.theme-dark .cta-form__micro { color: var(--ink-mute); opacity: 1; }

/* Method section centered */
.theme-dark .method .eyebrow,
.theme-dark .method h2 { text-align: center; }
.theme-dark .method h2 { margin-left: auto; margin-right: auto; max-width: 22ch; }
.theme-dark .method__foot { text-align: center; border: none; }
.theme-dark .method__foot-note { color: rgba(242,237,228,0.60); }

/* Detector grid: 2-col on desktop */
.theme-dark .detector__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.theme-dark .detector__intro { text-align: left; }
.theme-dark .detector__intro h2 { margin-left: 0; text-align: left; }

/* Page hero overrides for inner pages */
.theme-dark .page-hero { background: transparent; border-bottom: none; }
.theme-dark .page-hero h1 { color: var(--bone); }
.theme-dark .page-hero .lead { color: rgba(246,242,234,0.8); }
.theme-dark .page-hero .eyebrow { color: rgba(246,242,234,0.6); }
.theme-dark .page-hero .eyebrow::before { background: rgba(246,242,234,0.6); display: inline-block; }
.theme-dark .page-hero__content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.theme-dark .page-hero__content h1 { max-width: 32ch; }

/* Blog cards: glass dark */
.theme-dark .blog-card {
  background: rgba(11,10,8,0.50);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212,168,75,0.15);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.theme-dark .blog-card:hover { border-color: rgba(212,168,75,0.35); box-shadow: 0 12px 36px rgba(0,0,0,0.35); }
.theme-dark .blog-card__date { color: rgba(242,237,228,0.55); }
.theme-dark .blog-card__title, .theme-dark .blog-card__title a { color: var(--brass); }
.theme-dark .blog-card__title a:hover { color: #fff; }
.theme-dark .blog-card__excerpt { color: rgba(242,237,228,0.72); }
.theme-dark .blog-card__link { color: var(--brass); }

/* Coming-soon cards */
.theme-dark .blog-article-card {
  background: rgba(11,10,8,0.50);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212,168,75,0.15);
  border-radius: 10px;
  padding: 2rem 1.8rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.theme-dark .blog-article-card__category { color: var(--brass); border: 1px solid rgba(212,168,75,0.4); }
.theme-dark .blog-article-card__title { color: #fff; }
.theme-dark .blog-article-card__badge { background: rgba(212,168,75,0.2); border: 1px solid rgba(212,168,75,0.35); }

/* Centered container for dark pages */
.theme-dark .container--centered { text-align: center; }
.theme-dark .container--centered h2 { margin-left: auto; margin-right: auto; }
.theme-dark .container--centered .lead { margin-left: auto; margin-right: auto; }

/* Responsive dark theme */
@media (max-width: 900px) {
  .theme-dark .evidence-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .theme-dark .detector__grid { grid-template-columns: 1fr; }
  .theme-dark .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .theme-dark .evidence-strip__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   v4.0 — NEW COPY ARCHITECTURE SECTIONS
   ============================================================ */

/* --- Definition Block ("O que é") --- */
.definition { background: var(--bone); }
.definition__body {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2rem, 4vw, 3.5rem);
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 768px) {
	.definition__body {
		grid-template-columns: 3fr 2fr;
	}
}
.definition__main p {
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--ink-soft);
	margin-bottom: 1.25rem;
}
.definition__main p:first-child { font-size: 1.15rem; }
.definition__when {
	background: var(--bone-warm);
	border-radius: 12px;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	align-self: start;
}
.definition__when h3 {
	font-family: var(--serif);
	font-size: 1.15rem;
	font-weight: 400;
	margin-bottom: 1rem;
	color: var(--ink);
}
.definition__when ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.definition__when li {
	position: relative;
	padding-left: 1.25rem;
	margin-bottom: .75rem;
	font-size: .95rem;
	line-height: 1.6;
	color: var(--ink-soft);
}
.definition__when li::before {
	content: '—';
	position: absolute;
	left: 0;
	color: var(--brass);
	font-weight: 600;
}

/* --- Audience Block ("Para quem é") --- */
.audience { background: var(--bone-warm); }
.audience__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 640px) {
	.audience__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.audience__grid { grid-template-columns: repeat(3, 1fr); }
}
.audience__card {
	background: var(--bone);
	border: 1px solid var(--rule);
	border-radius: 12px;
	padding: clamp(1.5rem, 2.5vw, 2rem);
	transition: border-color .3s var(--ease);
}
.audience__card:hover { border-color: var(--brass); }
.audience__card h3 {
	font-family: var(--serif);
	font-size: 1.1rem;
	font-weight: 400;
	margin-bottom: .75rem;
	color: var(--ink);
}
.audience__card p {
	font-size: .95rem;
	line-height: 1.65;
	color: var(--ink-soft);
}

/* --- Authority Profile Block --- */
.authority__intro {
	max-width: var(--container-narrow);
	margin-bottom: clamp(2rem, 4vw, 3rem);
}
.authority__profile {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
	padding: clamp(1.5rem, 3vw, 2.5rem);
	background: var(--bone-warm);
	border-radius: 12px;
	border: 1px solid var(--rule);
}
@media (min-width: 768px) {
	.authority__profile {
		grid-template-columns: 280px 1fr;
		align-items: start;
	}
}
.authority__photo img {
	width: 100%;
	max-width: 280px;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 8px;
	filter: grayscale(20%);
}
.authority__bio h3 {
	font-family: var(--serif);
	font-size: 1.35rem;
	font-weight: 400;
	margin-bottom: .35rem;
	color: var(--ink);
}
.authority__role {
	font-size: .9rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--brass);
	margin-bottom: 1rem;
}
.authority__bio > p {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--ink-soft);
	margin-bottom: 1rem;
}
.authority__credentials {
	list-style: none;
	padding: 0;
	margin: 0;
}
.authority__credentials li {
	position: relative;
	padding-left: 1.25rem;
	margin-bottom: .5rem;
	font-size: .9rem;
	line-height: 1.5;
	color: var(--ink-mute);
}
.authority__credentials li::before {
	content: '·';
	position: absolute;
	left: 0;
	color: var(--brass);
	font-weight: 700;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
	padding: clamp(6rem, 12vw, 10rem) 0 clamp(3rem, 6vw, 5rem);
	background: var(--bone-warm);
	border-bottom: 1px solid var(--rule);
}
.page-hero--compact { padding: clamp(4rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero h1 {
	font-family: var(--serif);
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	font-weight: 300;
	line-height: 1.2;
	color: var(--ink);
	margin-bottom: 1rem;
	max-width: 48ch;
}
.page-hero .lead {
	max-width: 60ch;
	font-size: clamp(1rem, 1.5vw, 1.15rem);
	color: var(--ink-soft);
}

/* --- Metod: Layout "O que é" (grid 2 colunas) --- */
.metod-definition {
	padding: clamp(3rem, 5vw, 4rem) 0 !important;
	background: var(--bone-warm);
}
.metod-definition__grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 4rem;
	align-items: start;
}
.metod-definition__main h2 {
	font-size: clamp(1.6rem, 3.5vw, 2.6rem);
	line-height: 1.25;
	margin-bottom: 1.5rem;
	max-width: 26ch;
}
.metod-definition__main h2 em {
	color: var(--brass);
	font-style: italic;
}
.metod-definition__main .lead {
	font-size: clamp(1rem, 1.4vw, 1.1rem);
	color: var(--ink-soft);
	line-height: 1.7;
	margin-bottom: 1.5rem;
	border-left: 2px solid var(--brass);
	padding-left: 1.25rem;
}
.metod-definition__main p {
	font-size: 0.95rem;
	line-height: 1.75;
	color: var(--ink-mute);
	margin-bottom: 1rem;
}
.metod-definition__when {
	background: var(--bone);
	border: 1px solid var(--rule);
	padding: 2.5rem 2rem;
}
.metod-definition__when h3 {
	font-family: var(--sans);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-mute);
	margin-bottom: 1.5rem;
}
.metod-when-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.metod-when-list li {
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--ink-soft);
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--rule);
	padding-left: 1.25rem;
	position: relative;
}
.metod-when-list li:last-child {
	border-bottom: none;
}
.metod-when-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 1.05rem;
	width: 12px;
	height: 1px;
	background: var(--brass);
}
@media (max-width: 800px) {
	.metod-definition__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}

/* --- Page Hero com imagem de fundo --- */
.page-hero--img {
	position: relative;
	background-size: cover;
	background-position: 80% 30%;
	background-repeat: no-repeat;
	border-bottom: none;
	padding: clamp(10rem, 18vw, 16rem) 0 clamp(5rem, 8vw, 7rem);
}
.page-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(11, 10, 8, 0.65) 0%,
		rgba(11, 10, 8, 0.50) 50%,
		rgba(11, 10, 8, 0.72) 100%
	);
	z-index: 1;
}
.page-hero__content {
	position: relative;
	z-index: 2;
}
.page-hero--img h1 {
	color: var(--bone);
	font-size: clamp(2.2rem, 5vw, 3.8rem);
}
.page-hero--img .eyebrow {
	color: rgba(246, 242, 234, 0.6);
}
.page-hero--img .eyebrow::before {
	background: rgba(246, 242, 234, 0.6);
}
.page-hero--img .lead {
	color: rgba(246, 242, 234, 0.8);
}
.hero-brand {
	color: var(--brass);
	font-style: italic;
}

/* Metodologia hero — mesma altura que Como Funciona */
.page-template-page-metodologia .page-hero--img {
	min-height: 520px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background-position: 100% 85% !important;
}
.page-template-page-metodologia .page-hero--img .container {
	width: 100%;
}

/* --- Metod: "O que não é" — foto de fundo + cards centralizados --- */
.metod-notus {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	text-align: center;
	border-top: none !important;
	padding: clamp(3.5rem, 6vw, 5rem) 0 !important;
}
.metod-notus__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(11, 10, 8, 0.78) 0%,
		rgba(11, 10, 8, 0.68) 50%,
		rgba(11, 10, 8, 0.82) 100%
	);
	z-index: 1;
}
.metod-notus__content {
	position: relative;
	z-index: 2;
}
.metod-notus h2 {
	color: var(--bone);
	max-width: 22ch;
	margin: 0 auto 1.5rem;
}
.metod-notus h2 em {
	color: var(--brass);
}
.metod-notus .eyebrow {
	color: rgba(246, 242, 234, 0.55);
}
.metod-notus .eyebrow::before {
	background: rgba(246, 242, 234, 0.55);
}
.metod-notus .lead {
	color: rgba(246, 242, 234, 0.75);
	max-width: 58ch;
	margin: 0 auto 4rem;
}

/* Cards grid */
.metod-notus__cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	max-width: 1100px;
	margin: 0 auto;
}
.metod-notus__card {
	background: #fff;
	border: 1px solid var(--rule, #D8D0BF);
	border-radius: 3px;
	padding: 2.5rem 2rem;
	text-align: center;
	transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.metod-notus__card:hover {
	box-shadow: 0 8px 24px rgba(11,10,8,0.12);
	transform: translateY(-2px);
}
.metod-notus__card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0 auto 1.25rem;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--oxblood);
	border: 1px solid rgba(107, 15, 26, 0.3);
	border-radius: 50%;
	background: rgba(107, 15, 26, 0.06);
}
.metod-notus__card-icon--yes {
	color: var(--moss, #4A6B3F);
	border-color: rgba(74, 107, 63, 0.35);
	background: rgba(74, 107, 63, 0.08);
}
.metod-notus__card-label {
	font-family: var(--serif);
	font-size: 1.15rem;
	font-weight: 400;
	color: var(--ink);
	margin: 0 0 0.75rem;
	letter-spacing: -0.01em;
}
.metod-notus__card-text {
	font-size: 0.9rem;
	line-height: 1.65;
	color: var(--ink-mute, #6B645B);
	margin: 0;
}
.metod-notus__card--highlight {
	border-color: rgba(74, 107, 63, 0.3);
	background: #fff;
}
.metod-notus__card--highlight:hover {
	box-shadow: 0 8px 24px rgba(74, 107, 63, 0.15);
	transform: translateY(-2px);
}

/* ── Bordas coloridas: 3 primeiros vermelho, último verde ── */
.metod-notus__card:not(.metod-notus__card--highlight) {
	border: 2px solid #6B0F1A !important;
}
.metod-notus__card:not(.metod-notus__card--highlight) .metod-notus__card-label {
	color: #6B0F1A !important;
}
.metod-notus__card--highlight {
	border: 2px solid #4A6B3F !important;
}
.metod-notus__card--highlight .metod-notus__card-label {
	color: #4A6B3F !important;
}
.metod-notus__card-footnote {
	font-size: 0.75rem;
	font-style: italic;
	color: rgba(74,107,63,0.75);
	margin: auto 0 0;
	padding-top: 0.75rem;
	line-height: 1.4;
}

/* Responsive: cards stack on mobile */
@media (max-width: 900px) {
	.metod-notus__cards {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 560px) {
	.metod-notus__cards {
		grid-template-columns: 1fr;
		max-width: 400px;
	}
}

/* --- CTA Page Section --- */
.cta-page {
	background: var(--bone-warm);
	border-top: 1px solid var(--rule);
}
.cta-page h2 {
	font-family: var(--serif);
	font-weight: 300;
	font-size: clamp(1.4rem, 3vw, 2rem);
	margin-bottom: .75rem;
}
.cta-page .lead { margin-bottom: 1.5rem; }
.cta-page .lead a { color: var(--brass); text-decoration: underline; }

/* --- Page Content (inner pages text) --- */
.page-content h2 {
	font-family: var(--serif);
	font-size: clamp(1.3rem, 2.5vw, 1.8rem);
	font-weight: 300;
	margin: 2.5rem 0 1rem;
	color: var(--ink);
}
.page-content h3 {
	font-family: var(--serif);
	font-size: 1.15rem;
	font-weight: 400;
	margin: 2rem 0 .75rem;
	color: var(--ink);
}
.page-content p {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--ink-soft);
	margin-bottom: 1.25rem;
}
.page-content ul {
	margin-bottom: 1.5rem;
}
.page-content li {
	font-size: .95rem;
	line-height: 1.7;
	color: var(--ink-soft);
	margin-bottom: .5rem;
}
