/* ==========================================================================
   Tiago Herani — Black Friday 4em1
   Sistema de design: azul-marinho + verde da logo, tipografia Archivo (condensada/itálica nos títulos).
   Mobile-first. Sem frameworks.
   ========================================================================== */

/* ---------- Fontes self-hosted ---------- */
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-italic-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: italic;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--navy: #08182a;
	--navy-2: #0d2540;
	--navy-3: #16365c;
	--navy-deep: #050f1c;
	--green: #0c983a;
	--green-deep: #087a2f;
	--green-bright: #22c55e;

	--color-primary: #22c55e;
	--color-primary-hover: #4ade80;
	--color-primary-contrast: #04140a;
	--color-accent: #0c983a;
	--color-bg: #ffffff;
	--color-surface: #f2f6fa;
	--color-surface-alt: #08182a;
	--color-text: #08182a;
	--color-text-muted: #4a5a70;
	--color-border: #dbe3ec;
	--color-input-bg: #ffffff;
	--color-input-border: #c4d0de;
	--color-input-text: #08182a;
	--color-success: #087a2f;
	--color-error: #b91c1c;

	--font-heading: "Archivo", "Arial Narrow", system-ui, sans-serif;
	--font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--fs-xs: 0.8125rem;
	--fs-sm: 0.9375rem;
	--fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
	--fs-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
	--fs-h4: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	--fs-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
	--fs-h2: clamp(1.875rem, 1.3rem + 2.6vw, 3.25rem);
	--fs-h1: clamp(2rem, 1.2rem + 3.4vw, 3.75rem);

	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--space-8: clamp(3.5rem, 6vw, 5rem);
	--space-section: clamp(4.5rem, 8vw, 7.5rem);

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow-sm: 0 1px 2px rgb(8 24 42 / 8%);
	--shadow: 0 18px 40px -18px rgb(8 24 42 / 35%);

	--container: 1180px;
	--container-narrow: 720px;
	--gutter: clamp(1.25rem, 5vw, 2rem);
	--header-h: 68px;

	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--dur: 200ms;
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.6; color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 var(--space-4); text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
a { color: var(--green-deep); text-underline-offset: 0.15em; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; }

/* ---------- Acessibilidade ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: var(--space-2); left: var(--space-2); z-index: 1000; width: auto; height: auto; padding: var(--space-3) var(--space-4); clip: auto; background: var(--navy); color: #fff; border-radius: var(--radius-sm); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--space-section); }
.section--light { background: #fff; }
.section--soft { background: var(--color-surface); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark a { color: var(--green-bright); }
.section__header { max-width: 720px; margin-bottom: var(--space-7); }
.section__header--center { margin-inline: auto; text-align: center; }
.eyebrow { margin-bottom: var(--space-3); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-deep); }
.eyebrow--light { color: var(--green-bright); }
.grid { display: grid; gap: var(--space-5); }

/* Respiro obrigatório após grids de cards: impede que blocos fiquem colados nos cards acima */
.grid + *,
.feature-grid + *,
[class*="-grid"] + [class*="-vault"],
[class*="-grid"] + [class*="-showcase"],
[class*="-grid"] + [class*="-card"],
.faq-block + .coverage-block,
.coverage-block {
	margin-top: var(--space-8);
}

/* Títulos no estilo da marca: itálico, condensado, caixa-alta */
.display { font-weight: 800; font-style: italic; font-stretch: 78%; text-transform: uppercase; letter-spacing: -0.005em; line-height: 1.02; }
h1.display { font-size: var(--fs-h1); }
h2.display { font-size: var(--fs-h2); }
.hl { color: var(--green-bright); }
.section--light .hl, .section--soft .hl { color: var(--green); }

/* Saída dinâmica do Hero com o scroll do mouse (controlado via main.js em [data-hero-scroll]) */
[data-hero-scroll] {
	will-change: transform, opacity;
	transform: translate3d(0, var(--hero-scroll-y, 0px), 0) scale(var(--hero-scroll-scale, 1));
	opacity: var(--hero-scroll-opacity, 1);
	transition: transform 80ms linear, opacity 80ms linear;
}

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3); min-height: 52px; padding: 0.85rem 1.75rem; border: 2px solid transparent; border-radius: 999px; font-weight: 800; font-stretch: 92%; letter-spacing: 0.03em; text-transform: uppercase; text-align: center; text-decoration: none; line-height: 1.15; cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.btn--xl { min-height: 62px; padding-inline: 2rem; font-size: 1.0625rem; }
.btn--cta, .btn--primary { background: linear-gradient(135deg, #ff7a18 0%, #ea580c 100%); color: #fff; box-shadow: 0 14px 34px -10px rgb(234 88 12 / 70%), 0 0 0 1px rgb(255 255 255 / 12%); }
.btn--cta:hover, .btn--primary:hover { background: linear-gradient(135deg, #fb923c 0%, #f97316 100%); color: #fff; transform: translateY(-2px); }
.btn--cta .icon, .btn--primary .icon { transition: transform var(--dur) var(--ease); }
.btn--cta:hover .icon, .btn--primary:hover .icon { transform: translateX(4px); }
.btn--wa { background: #25d366; color: #04140a; box-shadow: 0 14px 34px -10px rgb(37 211 102 / 65%); }
.btn--wa:hover { background: #4be083; color: #04140a; transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.65; cursor: wait; }
.icon { flex-shrink: 0; }

/* ---------- Header (linha única apenas no topo, sem acompanhar a rolagem) ---------- */
.site-header { position: relative; z-index: 20; background: var(--navy); border-bottom: 1px solid rgb(255 255 255 / 10%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; min-height: var(--header-h); gap: var(--space-5); }
.site-logo { display: inline-flex; align-items: center; flex-shrink: 0; line-height: 0; }
.site-logo__img { height: 44px; width: auto; }
.c-navy { fill: var(--navy); }
.site-logo .c-navy, .site-footer .c-navy, .hero .c-navy, .section--dark .c-navy, .funnel .c-navy { fill: #fff; }
.c-green { fill: var(--green-bright); }
.c-shape { fill: #fff; }
.site-header__date { display: flex; align-items: center; gap: var(--space-2); margin: 0; font-size: var(--fs-sm); font-weight: 700; font-stretch: 90%; letter-spacing: 0.04em; text-transform: uppercase; color: #d6e0ec; white-space: nowrap; }
.site-header__date-tag { padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--green-bright); color: var(--navy); font-size: 0.75rem; font-weight: 800; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 0 rgb(34 197 94 / 70%); animation: live-pulse 2s infinite; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 10px rgb(34 197 94 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(34 197 94 / 0%); } }
@media (max-width: 480px) { .site-header__date-tag { display: none; } .site-logo__img { height: 34px; } }

/* ---------- Dobra 1: Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(6rem, 11vw, 9rem); background: radial-gradient(60% 70% at 88% 18%, rgb(34 197 94 / 24%), transparent 62%), linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 0 55%, rgb(34 197 94 / 7%) 55% 58%, transparent 58% 62%, rgb(34 197 94 / 4%) 62% 63.5%, transparent 63.5%); }
.hero__inner { position: relative; display: grid; align-items: center; gap: var(--space-7); }
.hero__eyebrow { display: inline-block; margin-bottom: var(--space-5); padding: 0.5rem 1rem; border: 2px solid #ef4444; background: rgb(239 68 68 / 12%); border-radius: 999px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.hero__mark { width: min(100%, 250px); margin-bottom: var(--space-4); }
.hero__mark-img { width: 100%; height: auto; }
.hero__title { margin-bottom: var(--space-4); max-width: 22ch; font-size: clamp(1.85rem, 1.15rem + 2.2vw, 2.7rem); line-height: 1.12; text-wrap: balance; }
.hero__lead { margin: 0 0 var(--space-4); max-width: 48ch; font-family: var(--font-body); font-size: var(--fs-lg); font-weight: 400; font-style: normal; font-stretch: 100%; line-height: 1.55; letter-spacing: 0; text-transform: none; color: #d6e0ec; }
.hero__lead strong { font-weight: 800; color: #fff; }
.hero__note { display: flex; align-items: flex-start; gap: var(--space-3); max-width: 46ch; margin-top: var(--space-5); margin-bottom: 0; font-size: var(--fs-sm); color: #b9c8da; }
.hero__note .icon { margin-top: 2px; color: var(--green-bright); }
.hero__figure { position: relative; width: min(100%, 420px); margin: 0 auto; }
.hero__figure::before, .tiago__figure::before, .escalacao__figure::before { content: ""; position: absolute; inset: 0; transform: translate(clamp(10px, 2vw, 22px), clamp(10px, 2vw, 22px)); clip-path: polygon(11% 0, 100% 0, 89% 100%, 0 100%); background: linear-gradient(135deg, var(--green-bright), var(--green)); }
.hero__frame, .tiago__frame, .escalacao__frame { position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden; clip-path: polygon(11% 0, 100% 0, 89% 100%, 0 100%); background: var(--navy-3); }
.hero__photo, .tiago__photo, .escalacao__photo { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
	.hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--space-8); min-height: min(640px, calc(100svh - var(--header-h) - 8rem)); }
	.hero__figure { margin-inline: auto 0; }
}

/* ---------- Dobra 2: Live + contagem ---------- */
.live__grid { display: grid; gap: var(--space-7); align-items: center; }
.live__copy p { max-width: 52ch; }
.callout { margin-top: var(--space-5); padding: var(--space-4) var(--space-5); border-left: 4px solid var(--green); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: rgb(12 152 58 / 9%); font-weight: 700; color: var(--navy); }
.countdown { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; box-shadow: var(--shadow); text-align: center; }
.countdown__title { margin-bottom: var(--space-5); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-bright); }
.countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.countdown__cell { display: flex; flex-direction: column; align-items: center; padding: var(--space-4) var(--space-2); border-radius: var(--radius); background: rgb(255 255 255 / 7%); border: 1px solid rgb(255 255 255 / 10%); }
.countdown__num { font-family: var(--font-heading); font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem); font-weight: 800; font-style: italic; font-stretch: 80%; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__label { margin-top: var(--space-2); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #b9c8da; }
.countdown__when { margin: var(--space-5) 0 0; font-weight: 700; }
.countdown__when span { display: block; font-size: var(--fs-xs); font-weight: 400; color: #b9c8da; }
.countdown__live { margin: 0; font-size: var(--fs-lg); font-weight: 700; color: var(--green-bright); }
@media (min-width: 900px) { .live__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }

/* ---------- Dobra 3: O que você leva ---------- */
.cards { grid-template-columns: 1fr; }
.card-feature { padding: var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #fff; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.card-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-feature__icon, .card-person__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--space-4); border-radius: 16px; background: var(--navy); color: var(--green-bright); }
.card-feature h3, .card-person h3 { margin-bottom: var(--space-2); font-size: var(--fs-h3); font-weight: 800; font-style: italic; font-stretch: 80%; text-transform: uppercase; }
.card-feature p, .card-person p { margin: 0; color: var(--color-text-muted); }
.entrega__banner { padding: var(--space-5) clamp(var(--space-5), 5vw, var(--space-8)); background: linear-gradient(100deg, var(--navy), var(--navy-3)); color: #fff; clip-path: polygon(1.5% 0, 100% 0, 98.5% 100%, 0 100%); text-align: center; }
.entrega__banner-text { margin: 0; font-size: var(--fs-h3); font-weight: 800; font-style: italic; font-stretch: 78%; text-transform: uppercase; line-height: 1.1; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
	.entrega .cards { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Dobra 4: Para quem é ---------- */
.section--dark .section__header p { color: #c4d1e0; }
.card-person { padding: var(--space-6); border: 1px solid rgb(255 255 255 / 12%); border-radius: var(--radius-lg); background: rgb(255 255 255 / 5%); }
.card-person__icon { background: rgb(34 197 94 / 14%); }
.card-person p { color: #c4d1e0; }
@media (min-width: 1000px) { .cards--three { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Dobra 5: Escalação ---------- */
.escalacao__grid, .tiago__grid { display: grid; gap: var(--space-7); align-items: center; }
.escalacao__figure, .tiago__figure { position: relative; width: min(100%, 400px); margin: 0 auto; }
.check-list { list-style: none; margin: var(--space-5) 0; padding: 0; display: grid; gap: var(--space-4); }
.check-list li { display: flex; align-items: flex-start; gap: var(--space-3); }
.check-list .icon { margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--green-bright); color: var(--navy); }
.check-list--light .icon { background: var(--green-bright); }
@media (min-width: 900px) {
	.escalacao__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-8); }
	.tiago__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--space-8); }
	.escalacao__figure { margin-inline: 0 auto; }
	.tiago__figure { margin-inline: auto 0; }
}

/* ---------- Dobra 6: Quem é ---------- */
.tiago__lead { font-size: var(--fs-lg); font-weight: 600; color: var(--navy); }
.tiago__copy p { max-width: 50ch; }

/* ---------- Dobra 7: Formulário embedado na página ---------- */
.final { position: relative; overflow: hidden; text-align: left; scroll-margin-top: 2rem; background: radial-gradient(60% 90% at 50% 0%, rgb(34 197 94 / 20%), transparent 65%), var(--navy); }
.final__inner { max-width: 760px; }
.final__mark { width: min(260px, 70%); margin: 0 0 var(--space-5); }
.final__mark-img { width: 100%; height: auto; }
.final__lead { max-width: 52ch; font-size: var(--fs-lg); color: #d6e0ec; }

/* ---------- Botão fixo em todas as dobras ---------- */
.cta-fixed { position: fixed; inset: auto 0 0 0; z-index: 90; display: flex; justify-content: center; padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom)); pointer-events: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.cta-fixed.is-hidden { opacity: 0; transform: translateY(100%); pointer-events: none; }
.cta-fixed__btn { width: min(100%, 560px); pointer-events: auto; animation: cta-glow 3.2s ease-in-out infinite; }
@keyframes cta-glow { 0%, 100% { box-shadow: 0 14px 34px -10px rgb(234 88 12 / 65%), 0 0 0 0 rgb(249 115 22 / 45%); } 50% { box-shadow: 0 14px 34px -10px rgb(234 88 12 / 85%), 0 0 0 10px rgb(249 115 22 / 0%); } }
@media (max-width: 520px) { .cta-fixed__btn { font-size: 0.9375rem; padding-inline: 1.25rem; } }

/* ---------- Páginas do funil (formulário e obrigado) ---------- */
.funnel { position: relative; display: grid; align-items: center; min-height: calc(100svh - var(--header-h)); padding-block: clamp(2.5rem, 6vw, 5rem); color: #fff; background: radial-gradient(60% 70% at 90% 10%, rgb(34 197 94 / 20%), transparent 62%), linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); }
.funnel__grid { display: grid; gap: var(--space-7); align-items: center; }
.funnel__intro .display { max-width: 14ch; }
.funnel__lead { max-width: 46ch; font-size: var(--fs-lg); color: #d6e0ec; }
.funnel__card { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-lg); background: #fff; color: var(--color-text); box-shadow: 0 30px 60px -24px rgb(0 0 0 / 55%); }
.funnel__card-title { margin-bottom: var(--space-5); font-size: var(--fs-h3); font-weight: 800; font-style: italic; font-stretch: 80%; text-transform: uppercase; }
.funnel__secure { display: flex; align-items: center; justify-content: center; gap: var(--space-2); margin: var(--space-4) 0 0; font-size: var(--fs-xs); color: var(--color-text-muted); }
.funnel__center { text-align: center; }
.funnel__center .funnel__lead { margin-inline: auto; }
@media (min-width: 900px) { .funnel__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: var(--space-8); } }

.thanks__badge { display: inline-grid; place-items: center; width: 88px; height: 88px; margin-bottom: var(--space-5); border-radius: 50%; background: var(--green-bright); color: var(--navy); box-shadow: 0 0 0 12px rgb(34 197 94 / 18%); }
.redirect { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); margin-top: var(--space-7); }
.redirect__ring { position: relative; width: 96px; height: 96px; }
.redirect__ring svg { transform: rotate(-90deg); }
.redirect__track, .redirect__bar { fill: none; stroke-width: 7; }
.redirect__track { stroke: rgb(255 255 255 / 14%); }
.redirect__bar { stroke: var(--green-bright); stroke-linecap: round; stroke-dasharray: 276.46; stroke-dashoffset: 0; }
.redirect.is-running .redirect__bar { animation: redirect-ring var(--redirect-seconds, 10s) linear forwards; }
@keyframes redirect-ring { to { stroke-dashoffset: 276.46; } }
.redirect__num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-heading); font-size: 2rem; font-weight: 800; font-style: italic; font-stretch: 80%; }
.redirect__text { margin: 0; font-size: var(--fs-sm); color: #c4d1e0; }
.redirect__text strong { color: #fff; }

/* ---------- Páginas de texto (política de privacidade, 404) ---------- */
.doc { padding-block: var(--space-8) var(--space-section); }
.doc__title { margin-bottom: var(--space-6); }
.entry-content > * + * { margin-top: var(--space-4); }
.entry-content h2 { margin-top: var(--space-7); font-size: var(--fs-h3); }
.entry-content ul { padding-left: 1.25rem; }
.doc .btn { margin-top: var(--space-5); }

/* ---------- Formulários (NÃO REMOVA: classes geradas por template-parts/forms/form.php) ---------- */
.thbf-form { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 700px) { .thbf-form { grid-template-columns: 1fr 1fr; } .thbf-field--full { grid-column: 1 / -1; } }
.thbf-form--single { grid-template-columns: 1fr !important; }
.thbf-field { display: flex; flex-direction: column; gap: var(--space-2); }
.thbf-field label { font-size: var(--fs-sm); font-weight: 700; color: var(--color-text); }
.thbf-field__req { color: var(--color-error); }
.thbf-field input:not([type="checkbox"]), .thbf-field textarea, .thbf-field select { width: 100%; min-height: 52px; padding: var(--space-3) var(--space-4); border: 1.5px solid var(--color-input-border); border-radius: var(--radius-sm); background: var(--color-input-bg); color: var(--color-input-text); transition: border-color var(--dur), box-shadow var(--dur); }
.thbf-field input::placeholder { color: #8796aa; }
.thbf-field textarea { min-height: 120px; resize: vertical; }
.thbf-field input:focus, .thbf-field textarea:focus, .thbf-field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgb(34 197 94 / 25%); }
.thbf-field [aria-invalid="true"] { border-color: var(--color-error); }
.thbf-field--consent { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: var(--space-3); padding: var(--space-4); border: 1.5px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); }
.thbf-field--consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--green); }
.thbf-field--consent label { font-size: var(--fs-xs); font-weight: 400; line-height: 1.5; color: var(--color-text-muted); }
.thbf-field--consent .thbf-field__error { grid-column: 1 / -1; }
.thbf-field__error { margin: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--color-error); }
.thbf-form__footer { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-3); }
.thbf-form__footer .btn { width: 100%; }
.thbf-form__status { min-height: 1.25em; font-size: var(--fs-sm); text-align: center; }
.thbf-form__status.is-success { color: var(--color-success); font-weight: 700; }
.thbf-form__status.is-error { color: var(--color-error); font-weight: 600; }
.thbf-form[aria-busy="true"] { opacity: 0.85; }
.thbf-hp { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }

/* ---------- Footer ---------- */
.site-footer { padding-top: var(--space-8); background: var(--navy-deep); color: #9fb0c4; }
.home .site-footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--green-bright); }
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); text-align: center; }
.site-footer__logo { width: 150px; height: auto; }
.site-footer__copy { margin: 0; font-size: var(--fs-lg); font-weight: 800; font-style: italic; font-stretch: 80%; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-4); margin-top: var(--space-7); padding-block: var(--space-5); border-top: 1px solid rgb(255 255 255 / 10%); font-size: var(--fs-sm); text-align: center; }
.site-footer__bottom p { margin: 0; }
.site-footer__sep { margin-inline: var(--space-2); }
@media (max-width: 560px) { .site-footer__bottom { justify-content: center; text-align: center; } }

/* ---------- Revelação ao rolar (ativada por main.js) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Movimento reduzido ---------- */
@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; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.redirect.is-running .redirect__bar { animation: none; }
}
