/* ==========================================================================
   Dra. Elaine Tofeti — sistema visual

   Direção: a marca dela é uma pena, e o diferencial dela é traduzir
   juridiquês para português. Então o site é feito de papel, tinta e da
   textura da parede de cimento queimado do próprio escritório (assets/img/
   concreto.webp é um recorte real dessa parede). Uma cor de destaque só:
   o verde-água #51A8B1, extraído do logotipo dela.

   Ordem: tokens → reset → tipografia → layout → componentes → seções →
   movimento → utilidades → responsivo
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */

:root {
	/* Tinta — verde-preto dessaturado, nunca preto puro. */
	--ink: #1e2b2a;
	--ink-2: #4e605e;
	--ink-3: #7d8c8a;

	/* Verde-água da marca. --teal é decorativo (contraste 2.7:1, jamais
	   em texto); --teal-deep é a versão legível sobre fundo claro. */
	--teal: #51a8b1;
	--teal-deep: #2a6c72;
	--teal-dark: #17454a;
	--teal-wash: #e8f1f1;

	/* Papel e concreto. */
	--paper: #fcfbf9;
	--bg: #f5f3f0;
	--concrete: #e9e6e0;

	--line: rgba(30, 43, 42, 0.12);
	--line-strong: rgba(30, 43, 42, 0.22);
	--line-teal: rgba(81, 168, 177, 0.45);

	/* Tipografia. Newsreader tem opsz fixado em 34 no arquivo, então o
	   eixo variável em uso é só o peso. */
	--font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
	--font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--step--2: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
	--step--1: clamp(0.84rem, 0.81rem + 0.14vw, 0.92rem);
	--step-0: clamp(1rem, 0.97rem + 0.18vw, 1.08rem);
	--step-1: clamp(1.13rem, 1.06rem + 0.34vw, 1.31rem);
	--step-2: clamp(1.32rem, 1.18rem + 0.66vw, 1.7rem);
	--step-3: clamp(1.58rem, 1.32rem + 1.2vw, 2.28rem);
	--step-4: clamp(1.9rem, 1.42rem + 2.2vw, 3.15rem);
	--step-5: clamp(2.3rem, 1.5rem + 3.6vw, 4.4rem);

	/* Espaço */
	--gutter: clamp(1.15rem, 0.8rem + 1.6vw, 2.5rem);
	--section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
	--stack: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);

	/* Forma — cantos discretos; a suavidade vem da tipografia, não do raio. */
	--r-sm: 8px;
	--r: 12px;
	--r-lg: 18px;
	--r-xl: 26px;
	--r-pill: 999px;

	/* Profundidade — sombras esverdeadas, nunca cinza puro. */
	--shadow-1: 0 1px 2px rgba(23, 69, 74, 0.04), 0 4px 14px -8px rgba(23, 69, 74, 0.1);
	--shadow-2: 0 2px 4px rgba(23, 69, 74, 0.05), 0 14px 34px -16px rgba(23, 69, 74, 0.18);
	--shadow-3: 0 4px 10px rgba(23, 69, 74, 0.06), 0 30px 64px -26px rgba(23, 69, 74, 0.26);

	--ease: cubic-bezier(0.22, 0.68, 0.32, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);

	--wrap: 1220px;
	--wrap-narrow: 700px;
	--header-h: 78px;
}

/* --------------------------------------------------------------- 2. Reset */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

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

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

a {
	color: var(--teal-deep);
	text-decoration-color: rgba(81, 168, 177, 0.5);
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
	transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

a:hover {
	color: var(--teal-dark);
	text-decoration-color: currentColor;
}

:focus-visible {
	outline: 2px solid var(--teal-deep);
	outline-offset: 3px;
	border-radius: 3px;
}

::selection {
	background: var(--teal);
	color: #fff;
}

/* ----------------------------------------------------------- 3. Tipografia */

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 450;
	line-height: 1.14;
	letter-spacing: -0.014em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

h1 {
	font-size: var(--step-5);
	line-height: 1.02;
	letter-spacing: -0.024em;
}

h2 {
	font-size: var(--step-4);
	letter-spacing: -0.02em;
}

h3 {
	font-size: var(--step-2);
	line-height: 1.26;
}

h4 {
	font-size: var(--step-1);
	line-height: 1.32;
}

p {
	margin: 0 0 1.1em;
	text-wrap: pretty;
}

p:last-child {
	margin-bottom: 0;
}

strong {
	font-weight: 700;
}

.lead {
	font-size: var(--step-1);
	line-height: 1.6;
	color: var(--ink-2);
}

/* Rótulo curto acima do título. O traço é o "grampo" que prende o rótulo
   à seção — repetido em toda a página como elemento de estrutura. */
.eyebrow {
	font-size: var(--step--2);
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--teal-deep);
	margin: 0 0 1rem;
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.eyebrow::before {
	content: "";
	width: 1.75rem;
	height: 2px;
	background: var(--teal);
	flex: none;
	transform-origin: left center;
}

.section-head--center .eyebrow {
	justify-content: center;
}

.on-dark .eyebrow,
.section--ink .eyebrow,
.section--teal .eyebrow {
	color: var(--teal);
}

/* --------------------------------------------------------------- 4. Layout */

.container {
	width: min(100% - (var(--gutter) * 2), var(--wrap));
	margin-inline: auto;
}

.container--narrow {
	width: min(100% - (var(--gutter) * 2), var(--wrap-narrow));
	margin-inline: auto;
}

.section {
	padding-block: var(--section-y);
	position: relative;
}

.section--paper {
	background: var(--paper);
}

/* O grão da parede do escritório entra aqui como textura ambiente. A
   imagem é quase branca (247–255), então o multiply escurece de leve e o
   efeito é de reboco, não de padrão repetido. */
.section--concrete {
	background: var(--concrete);
	position: relative;
	isolation: isolate;
}

.section--concrete::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("../img/concreto.webp");
	background-size: 384px;
	mix-blend-mode: multiply;
	pointer-events: none;
	z-index: -1;
}

.section--wash {
	background: var(--teal-wash);
}

.section--ink {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.76);
}

.section--teal {
	background: var(--teal-dark);
	color: rgba(255, 255, 255, 0.8);
}

.section--ink h2,
.section--ink h3,
.section--teal h2,
.section--teal h3 {
	color: #fff;
}

.section--tight {
	padding-block: calc(var(--section-y) * 0.6);
}

.section-head {
	max-width: 44rem;
	margin-bottom: var(--stack);
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.section-head__title {
	margin-bottom: 0.45em;
}

.section-head__intro {
	font-size: var(--step-1);
	color: var(--ink-2);
	margin: 0;
}

.section--ink .section-head__intro,
.section--teal .section-head__intro {
	color: rgba(255, 255, 255, 0.72);
}

/* Grade que nunca deixa buraco na última linha.
   O número de colunas vem do PHP (et_grid_style), calculado a partir da
   quantidade de itens, de modo que toda linha feche cheia. --c-1/2/3 são
   celular / tablet / desktop. */
.grid {
	display: grid;
	gap: var(--grid-gap, clamp(1rem, 0.7rem + 1.2vw, 1.75rem));
	grid-template-columns: repeat(var(--c-1, 1), minmax(0, 1fr));
}

@media (min-width: 40em) {
	.grid {
		grid-template-columns: repeat(var(--c-2, 2), minmax(0, 1fr));
	}
}

@media (min-width: 62em) {
	.grid {
		grid-template-columns: repeat(var(--c-3, 3), minmax(0, 1fr));
	}
}

/* Rede de segurança para contagens que não fecham em nenhuma coluna
   (5, 7, 11 itens): vira flex e a última linha fica centralizada, sem
   deixar um vão à direita. */
.grid--center {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.grid--center > * {
	flex: 1 1 var(--flex-basis, 18rem);
	max-width: 100%;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -100%;
	z-index: 999;
	background: var(--teal-dark);
	color: #fff;
	padding: 0.75rem 1.25rem;
	border-radius: var(--r-sm);
	font-weight: 600;
	text-decoration: none;
	transition: top 0.2s var(--ease);
}

.skip-link:focus {
	top: 1rem;
	color: #fff;
}

/* ----------------------------------------------------------- 5. Componentes */

/* 5.1 Botões */

.btn {
	--btn-bg: var(--teal-deep);
	--btn-fg: #fff;
	--btn-border: transparent;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.95rem 1.6rem;
	background: var(--btn-bg);
	color: var(--btn-fg);
	border: 1px solid var(--btn-border);
	border-radius: var(--r-pill);
	font-weight: 700;
	font-size: 0.96rem;
	letter-spacing: -0.005em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	text-align: center;
	overflow: hidden;
	transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
		background-color 0.28s var(--ease), color 0.28s var(--ease),
		border-color 0.28s var(--ease);
	box-shadow: var(--shadow-1);
}

/* Brilho que atravessa o botão no hover — o único efeito "brilhante"
   do site, reservado para a ação que mais importa. */
.btn::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		transparent 20%,
		rgba(255, 255, 255, 0.22) 50%,
		transparent 80%
	);
	transform: translateX(-120%);
	transition: transform 0.7s var(--ease-out);
	pointer-events: none;
}

.btn:hover {
	color: var(--btn-fg);
	transform: translateY(-2px);
	box-shadow: var(--shadow-2);
}

.btn:hover::after {
	transform: translateX(120%);
}

.btn:active {
	transform: translateY(0);
}

.btn--primary {
	--btn-bg: var(--teal-deep);
}

.btn--primary:hover {
	--btn-bg: var(--teal-dark);
}

.btn--secondary {
	--btn-bg: var(--paper);
	--btn-fg: var(--ink);
	--btn-border: var(--line-strong);
}

.btn--secondary:hover {
	--btn-fg: var(--teal-dark);
	--btn-border: var(--teal);
}

.btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--ink);
	--btn-border: var(--line-strong);
	box-shadow: none;
}

.btn--ghost:hover {
	--btn-fg: var(--teal-dark);
	--btn-border: var(--teal);
	box-shadow: var(--shadow-1);
}

.btn--wide {
	width: 100%;
}

/* Especificidade de dois níveis de propósito: .icon é declarado depois, na
   seção de ícones, e com peso igual venceria pela ordem — o ícone sairia a
   1,5rem ao lado de um texto de 0,96rem. */
.btn .btn__icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	align-items: center;
}

.section-head--center + .btn-row,
.btn-row--center {
	justify-content: center;
}

.section--ink .btn--ghost,
.section--teal .btn--ghost {
	--btn-fg: #fff;
	--btn-border: rgba(255, 255, 255, 0.4);
}

.section--ink .btn--ghost:hover,
.section--teal .btn--ghost:hover {
	--btn-fg: #fff;
	--btn-border: #fff;
	--btn-bg: rgba(255, 255, 255, 0.12);
}

.section--ink .btn--primary,
.section--teal .btn--primary {
	--btn-bg: #fff;
	--btn-fg: var(--teal-dark);
}

.section--ink .btn--primary:hover,
.section--teal .btn--primary:hover {
	--btn-bg: var(--teal-wash);
}

/* 5.2 Ícones */

.icon {
	width: 1.5rem;
	height: 1.5rem;
	flex: none;
}

.icon-badge {
	width: 2.9rem;
	height: 2.9rem;
	border-radius: var(--r-sm);
	display: grid;
	place-items: center;
	background: var(--teal-wash);
	color: var(--teal-deep);
	flex: none;
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
		transform 0.35s var(--ease);
}

.icon-badge .icon {
	width: 1.45rem;
	height: 1.45rem;
}

.section--ink .icon-badge,
.section--teal .icon-badge {
	background: rgba(255, 255, 255, 0.1);
	color: var(--teal);
}

/* 5.3 Cards */

.card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
	box-shadow: var(--shadow-1);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
		border-color 0.35s var(--ease);
}

.card__title {
	font-size: var(--step-1);
	margin-bottom: 0.4em;
}

.card__body {
	color: var(--ink-2);
	margin: 0;
}

.card--hover:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-2);
	border-color: var(--line-teal);
}

.card--hover:hover .icon-badge {
	background: var(--teal-deep);
	color: #fff;
}

/* 5.4 Acordeão */

.accordion {
	display: grid;
	gap: 0.6rem;
}

.accordion__item {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r);
	overflow: hidden;
	transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.accordion__item[data-open="true"] {
	border-color: var(--line-teal);
	box-shadow: var(--shadow-1);
}

.accordion__heading {
	margin: 0;
	font-family: var(--font-body);
	font-size: inherit;
}

.accordion__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 1.15rem 1.35rem;
	background: none;
	border: 0;
	cursor: pointer;
	text-align: left;
	font-weight: 600;
	font-size: var(--step-0);
	color: var(--ink);
	line-height: 1.45;
	transition: color 0.25s var(--ease);
}

.accordion__trigger:hover {
	color: var(--teal-dark);
}

.accordion__chevron {
	width: 1.2rem;
	height: 1.2rem;
	flex: none;
	color: var(--teal-deep);
	transition: transform 0.35s var(--ease);
}

.accordion__trigger[aria-expanded="true"] .accordion__chevron {
	transform: rotate(180deg);
}

.accordion__panel[hidden] {
	display: none;
}

.accordion__answer {
	padding: 0 1.35rem 1.35rem;
	color: var(--ink-2);
	max-width: 62ch;
}

/* 5.5 Breadcrumbs */

.breadcrumbs {
	padding-block: 1.1rem 0;
}

.breadcrumbs__list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	font-size: var(--step--1);
	color: var(--ink-3);
}

.breadcrumbs__item {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.breadcrumbs a {
	color: var(--ink-2);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--teal-dark);
	text-decoration: underline;
}

.breadcrumbs__sep {
	color: var(--ink-3);
	opacity: 0.6;
}

/* 5.6 Marca — a pena real do logotipo dela + o nome composto em tipo.
   O arquivo de logo entregue estava cortado nas quatro bordas, então a
   pena vem do favicon (íntegra, 713px) e o nome é remontado em Manrope,
   que é a família mais próxima do lettering original. */

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.72rem;
	text-decoration: none;
	color: var(--ink);
}

.brand__mark {
	width: auto;
	height: 2.5rem;
	flex: none;
	transform-origin: 60% 80%;
	transition: transform 0.6s var(--ease-out);
}

.brand:hover .brand__mark {
	transform: rotate(-9deg) translateY(-1px);
}

.brand__text {
	display: grid;
	gap: 0.3rem;
}

.brand__name {
	font-family: var(--font-body);
	font-size: 1.24rem;
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0.005em;
	color: var(--ink-2);
	white-space: nowrap;
}

.brand__name strong {
	font-weight: 500;
	color: var(--ink);
}

/* "ADVOGADA" com o filete à esquerda, como no logotipo original. */
.brand__role {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.56rem;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--ink-3);
	font-weight: 600;
	line-height: 1;
}

.brand__role::before {
	content: "";
	width: 1.5rem;
	height: 1px;
	background: currentColor;
	opacity: 0.5;
	flex: none;
}

.brand__img {
	max-height: 54px;
	width: auto;
}

.site-footer .brand__name {
	color: rgba(255, 255, 255, 0.78);
}

.site-footer .brand__name strong {
	color: #fff;
}

.site-footer .brand__role {
	color: rgba(255, 255, 255, 0.5);
}

/* ------------------------------------------------------------ 6. Cabeçalho */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(245, 243, 240, 0.82);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
		box-shadow 0.3s var(--ease);
}

.site-header[data-stuck="true"] {
	border-bottom-color: var(--line);
	background: rgba(252, 251, 249, 0.94);
	box-shadow: 0 10px 34px -26px rgba(23, 69, 74, 0.55);
}

.site-header__inner {
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.nav-primary {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.nav-primary ul {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 0.1rem;
	margin: 0;
	padding: 0;
}

.nav-primary li {
	position: relative;
}

.nav-primary a {
	position: relative;
	display: block;
	padding: 0.55rem 0.8rem;
	font-size: 0.93rem;
	font-weight: 600;
	color: var(--ink-2);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.22s var(--ease);
}

/* Sublinhado que cresce do centro, em vez de pílula de fundo. */
.nav-primary > ul > li > a::after {
	content: "";
	position: absolute;
	left: 0.8rem;
	right: 0.8rem;
	bottom: 0.3rem;
	height: 2px;
	background: var(--teal);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s var(--ease);
}

.nav-primary a:hover,
.nav-primary a:focus-visible {
	color: var(--ink);
}

.nav-primary > ul > li > a:hover::after,
.nav-primary > ul > li > a:focus-visible::after,
.nav-primary > ul > .current-menu-item > a::after,
.nav-primary > ul > .current_page_item > a::after,
.nav-primary > ul > .current-menu-parent > a::after,
.nav-primary > ul > .current_page_parent > a::after {
	transform: scaleX(1);
}

.nav-primary .current-menu-item > a,
.nav-primary .current_page_item > a {
	color: var(--ink);
}

.nav-primary .sub-menu {
	position: absolute;
	top: calc(100% + 0.4rem);
	left: 0;
	min-width: 15rem;
	flex-direction: column;
	align-items: stretch;
	gap: 0.1rem;
	padding: 0.5rem;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r);
	box-shadow: var(--shadow-2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
		visibility 0.22s;
}

.nav-primary li:hover > .sub-menu,
.nav-primary li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-primary .sub-menu a {
	white-space: normal;
	border-radius: var(--r-sm);
}

.nav-primary .sub-menu a:hover {
	background: var(--teal-wash);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.header-actions .btn {
	padding: 0.68rem 1.2rem;
	font-size: 0.89rem;
}

.nav-toggle {
	display: none;
	width: 2.9rem;
	height: 2.9rem;
	align-items: center;
	justify-content: center;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	color: var(--ink);
	cursor: pointer;
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-toggle:hover {
	border-color: var(--teal);
	color: var(--teal-dark);
}

/* Menu no celular */

.nav-mobile {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	grid-template-rows: auto 1fr auto;
	background: var(--bg);
	padding: 1rem var(--gutter) 2rem;
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-1.5%);
	transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
		visibility 0.35s;
}

.nav-mobile[data-open="true"] {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.nav-mobile__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-h);
}

.nav-mobile nav ul {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.15rem;
	align-content: start;
}

.nav-mobile nav .sub-menu {
	margin: 0.25rem 0 0.5rem 0.9rem;
	padding-left: 0.9rem;
	border-left: 1px solid var(--line);
	gap: 0;
}

/* Escopado ao <nav> de propósito: como `.nav-mobile a` isto também pegava a
   marca no topo do painel e os dois botões do rodapé do menu, forçando
   `display: block` neles — o que desmontava o flex do botão e jogava o ícone
   para o canto. */
.nav-mobile nav a {
	display: block;
	padding: 0.7rem 0.25rem;
	font-family: var(--font-display);
	font-size: var(--step-2);
	font-weight: 450;
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--line);
}

.nav-mobile nav .sub-menu a {
	font-family: var(--font-body);
	font-size: var(--step-0);
	font-weight: 600;
	color: var(--ink-2);
	border-bottom: 0;
	padding-block: 0.5rem;
}

.nav-mobile__foot {
	display: grid;
	gap: 0.7rem;
	padding-top: 1.5rem;
}

body[data-nav-open="true"] {
	overflow: hidden;
}

/* --------------------------------------------------------------- 7. Hero */

.hero {
	position: relative;
	padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(3.5rem, 2rem + 5vw, 6.5rem);
	overflow: hidden;
	isolation: isolate;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("../img/concreto.webp");
	background-size: 384px;
	mix-blend-mode: multiply;
	pointer-events: none;
	z-index: -2;
}

/* A foto entra sangrando pela direita e se dissolve no papel. É o
   "mesclar" pedido: máscara em gradiente nos dois eixos. */
.hero__photo {
	position: absolute;
	inset-block: 0;
	inset-inline-end: 0;
	width: min(50%, 42rem);
	height: 100%;
	object-fit: cover;
	object-position: 50% 12%;
	z-index: -1;
	-webkit-mask-image: linear-gradient(
			to right,
			transparent 0%,
			rgba(0, 0, 0, 0.55) 22%,
			#000 52%
		),
		linear-gradient(to bottom, #000 62%, transparent 97%);
	mask-image: linear-gradient(
			to right,
			transparent 0%,
			rgba(0, 0, 0, 0.55) 22%,
			#000 52%
		),
		linear-gradient(to bottom, #000 62%, transparent 97%);
	-webkit-mask-composite: source-in;
	mask-composite: intersect;
}

/* A pena da marca, enorme e quase invisível, atrás de tudo. */
.hero__feather {
	position: absolute;
	top: -8%;
	inset-inline-end: 4%;
	width: min(38vw, 30rem);
	height: auto;
	opacity: 0.07;
	transform: rotate(14deg);
	z-index: -1;
	pointer-events: none;
}

/* O texto do topo mora numa coluna estreita à esquerda, e a segunda
   coluna existe só para reservar o espaço da foto. Uma grade resolve isso
   sem perder a centralização que .container dá — um max-width aqui
   centralizaria o bloco inteiro e jogaria o texto sobre o rosto dela. */
.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 34rem) 1fr;
}

.hero__inner > * {
	grid-column: 1;
}

.hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 1.3rem;
	margin: 0 0 1.5rem;
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--ink-2);
	letter-spacing: 0.02em;
}

.hero__meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.hero__meta .icon {
	width: 1rem;
	height: 1rem;
	color: var(--teal-deep);
}

.hero__title {
	margin-bottom: 0.5em;
	max-width: 22ch;
}

.hero__lead {
	font-size: var(--step-1);
	color: var(--ink-2);
	max-width: 34rem;
	margin-bottom: 2rem;
}

.hero .btn-row {
	margin-bottom: 2.25rem;
}

.hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 1.1rem 2.5rem;
	margin: 0;
	padding: 1.7rem 0 0;
	list-style: none;
	border-top: 1px solid var(--line);
	max-width: 34rem;
}

.hero__trust-item {
	display: grid;
	gap: 0.15rem;
}

.hero__trust-value {
	font-family: var(--font-display);
	font-size: var(--step-3);
	font-weight: 500;
	line-height: 1;
	color: var(--teal-dark);
	letter-spacing: -0.02em;
}

.hero__trust-label {
	font-size: 0.78rem;
	color: var(--ink-2);
	font-weight: 600;
}

/* Topo em duas colunas, para as páginas internas.
   A home usa a foto sangrando pela direita; aqui a foto é uma peça
   emoldurada na segunda coluna. Sem isto, o .hero__inner da home joga todo
   filho na coluna 1 e a foto desce para baixo do texto, deixando metade da
   tela vazia. */
.hero--split .hero__inner {
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	gap: clamp(2rem, 1rem + 3.5vw, 4.5rem);
	align-items: center;
}

.hero--split .hero__inner > * {
	grid-column: auto;
}

.hero__figure {
	position: relative;
	margin: 0;
	justify-self: end;
	width: min(100%, 25rem);
}

/* Mesmo passe-partout da seção "Prazer, sou a Elaine": filete verde-água
   deslocado, como moldura de quadro. */
.hero__figure::before {
	content: "";
	position: absolute;
	inset: -0.9rem;
	border: 1px solid var(--line-teal);
	/* Raio maior que o da foto: assim os dois cantos ficam concêntricos e a
	   moldura lê como passe-partout, não como borda dobrada. */
	border-radius: calc(var(--r-lg) + 0.9rem);
	pointer-events: none;
}

.hero__figure img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 16%;
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-2);
	background: var(--concrete);
}

/* ---------------------------------- 8. Tradutor (elemento de assinatura) */

/* O trabalho dela é traduzir juridiquês. Em vez de afirmar isso, o site
   demonstra: a expressão técnica aparece riscada e a frase em português
   claro entra embaixo. Alterna sozinho, para e responde ao teclado. */

.translate {
	position: relative;
	margin-bottom: 2.25rem;
	padding: 1.15rem 1.3rem 1.2rem;
	background: rgba(252, 251, 249, 0.72);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid var(--line);
	border-inline-start: 2px solid var(--teal);
	border-radius: 0 var(--r) var(--r) 0;
	max-width: 30rem;
}

.translate__label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.5rem;
	font-size: var(--step--2);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.translate__legal {
	margin: 0 0 0.45rem;
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--ink-3);
	letter-spacing: 0.01em;
}

.translate__legal span {
	text-decoration: line-through;
	text-decoration-color: var(--teal);
	text-decoration-thickness: 1.5px;
}

.translate__plain {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--step-1);
	font-weight: 450;
	font-style: italic;
	line-height: 1.34;
	color: var(--ink);
	letter-spacing: -0.008em;
}

/* Troca de conteúdo: sai para cima, entra de baixo. */
.translate__slot {
	display: block;
	transition: opacity 0.34s var(--ease), transform 0.34s var(--ease);
}

.translate[data-swapping="true"] .translate__slot {
	opacity: 0;
	transform: translateY(-6px);
}

.translate__dots {
	display: flex;
	gap: 0.4rem;
	margin: 0.9rem 0 0;
	padding: 0;
	list-style: none;
}

.translate__dot {
	width: 1.35rem;
	height: 3px;
	padding: 0;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--line-strong);
	cursor: pointer;
	transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.translate__dot[aria-current="true"] {
	background: var(--teal);
	transform: scaleY(1.6);
}

/* --------------------------------- 9. Busca de situações (autocompletar) */

.finder-section {
	position: relative;
	padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem);
	background: var(--paper);
	border-block: 1px solid var(--line);
}

.finder-head {
	max-width: 40rem;
	margin-bottom: 1.6rem;
}

.finder-head__title {
	font-size: var(--step-3);
	margin-bottom: 0.35em;
}

.finder-head__hint {
	margin: 0;
	color: var(--ink-2);
	font-size: var(--step-0);
}

.finder {
	max-width: 44rem;
}

/* O painel de sugestões se posiciona por este bloco, e não pelo .finder
   inteiro: senão ele abriria embaixo dos atalhos em vez de cobri-los. */
.finder__box {
	position: relative;
}

.finder__field {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.3rem 0.4rem 0.3rem 1.15rem;
	background: var(--paper);
	border: 1.5px solid var(--line-strong);
	border-radius: var(--r-pill);
	box-shadow: var(--shadow-1);
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.finder__field:focus-within {
	border-color: var(--teal);
	box-shadow: var(--shadow-2), 0 0 0 4px rgba(81, 168, 177, 0.16);
}

.finder__icon {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--teal-deep);
	flex: none;
}

.finder__input {
	flex: 1;
	min-width: 0;
	padding: 0.85rem 0;
	border: 0;
	background: none;
	font-size: var(--step-0);
	font-weight: 500;
	color: var(--ink);
}

.finder__input::placeholder {
	color: var(--ink-3);
	font-weight: 400;
}

.finder__input:focus {
	outline: none;
}

.finder__clear {
	display: grid;
	place-items: center;
	width: 2.1rem;
	height: 2.1rem;
	flex: none;
	border: 0;
	border-radius: 50%;
	background: var(--concrete);
	color: var(--ink-2);
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.finder__clear:hover {
	background: var(--teal-deep);
	color: #fff;
}

.finder__clear .icon {
	width: 0.95rem;
	height: 0.95rem;
}

.finder__clear[hidden] {
	display: none;
}

/* Painel de sugestões */

.finder__panel {
	position: absolute;
	top: calc(100% + 0.55rem);
	left: 0;
	right: 0;
	z-index: 40;
	padding: 0.5rem;
	margin: 0;
	list-style: none;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-3);
	max-height: 22rem;
	overflow-y: auto;
}

.finder__panel[hidden] {
	display: none;
}

.finder__option {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.72rem 0.85rem;
	border-radius: var(--r);
	cursor: pointer;
	color: inherit;
	text-decoration: none;
	transition: background-color 0.16s var(--ease);
}

.finder__option[aria-selected="true"],
.finder__option:hover {
	background: var(--teal-wash);
}

.finder__option-icon {
	display: grid;
	place-items: center;
	width: 2.1rem;
	height: 2.1rem;
	flex: none;
	border-radius: var(--r-sm);
	background: var(--concrete);
	color: var(--teal-deep);
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.finder__option[aria-selected="true"] .finder__option-icon,
.finder__option:hover .finder__option-icon {
	background: var(--teal-deep);
	color: #fff;
}

.finder__option-icon .icon {
	width: 1.1rem;
	height: 1.1rem;
}

.finder__option-text {
	display: grid;
	gap: 0.1rem;
	min-width: 0;
}

.finder__option-label {
	font-weight: 600;
	font-size: var(--step-0);
	line-height: 1.35;
	color: var(--ink);
}

.finder__option-label mark {
	background: none;
	color: var(--teal-dark);
	font-weight: 800;
	text-decoration: underline;
	text-decoration-color: var(--teal);
	text-underline-offset: 0.16em;
}

.finder__option-area {
	font-size: var(--step--2);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.finder__empty {
	padding: 1.1rem 0.9rem;
	margin: 0;
	color: var(--ink-2);
	font-size: var(--step--1);
}

.finder__empty a {
	font-weight: 700;
}

/* Atalhos abaixo do campo, para quem prefere clicar a digitar. */
.finder__quick {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.1rem 0 0;
	padding: 0;
	list-style: none;
	align-items: center;
}

.finder__quick-label {
	font-size: var(--step--1);
	color: var(--ink-3);
	font-weight: 600;
	margin-inline-end: 0.15rem;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 0.95rem;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	color: var(--ink-2);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: border-color 0.24s var(--ease), color 0.24s var(--ease),
		background-color 0.24s var(--ease), transform 0.24s var(--ease);
}

/* O 404 e os atalhos usam chip com ícone; sem isto o .icon padrão de
   1,5rem fica maior que o próprio texto. */
.chip .icon {
	width: 0.95rem;
	height: 0.95rem;
	color: var(--teal-deep);
}

.chip:hover,
.chip:focus-visible {
	color: var(--teal-dark);
	border-color: var(--teal);
	background: var(--teal-wash);
	transform: translateY(-1px);
}

/* ------------------------------------------------------- 10. Áreas de atuação */

.area-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: 0 0 clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
	text-decoration: none;
	color: inherit;
	box-shadow: var(--shadow-1);
	overflow: hidden;
	transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
		border-color 0.4s var(--ease);
	height: 100%;
}

.area-card:hover {
	color: inherit;
	transform: translateY(-5px);
	box-shadow: var(--shadow-2);
	border-color: var(--line-teal);
}

.area-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--concrete);
}

.area-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 18%;
	transition: transform 0.8s var(--ease-out);
}

.area-card:hover .area-card__media img {
	transform: scale(1.04);
}

.area-card__badge {
	position: absolute;
	inset-block-end: 0.85rem;
	inset-inline-start: 0.85rem;
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: var(--r-sm);
	background: rgba(252, 251, 249, 0.92);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: var(--teal-dark);
	box-shadow: var(--shadow-1);
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.area-card:hover .area-card__badge {
	background: var(--teal-deep);
	color: #fff;
}

.area-card__badge .icon {
	width: 1.35rem;
	height: 1.35rem;
}

.area-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	flex: 1;
	padding-inline: clamp(1.3rem, 1rem + 1vw, 1.8rem);
}

.area-card__title {
	font-size: var(--step-2);
	margin: 0;
}

.area-card__lead {
	color: var(--ink-2);
	margin: 0;
	flex: 1;
	font-size: 0.97rem;
}

.area-card__tags {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
}

.area-card__tags li {
	font-size: 0.74rem;
	font-weight: 600;
	padding: 0.28rem 0.65rem;
	border-radius: var(--r-pill);
	background: var(--bg);
	color: var(--ink-2);
	border: 1px solid var(--line);
}

.area-card__more {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--teal-deep);
}

.area-card__more .icon {
	width: 1.05rem;
	height: 1.05rem;
	transition: transform 0.3s var(--ease);
}

.area-card:hover .area-card__more .icon {
	transform: translateX(4px);
}

/* ------------------------------------------------------- 11. Sobre (resumo) */

.about-split {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 1.2rem + 3.5vw, 4.5rem);
	align-items: center;
}

.about-split__media {
	position: relative;
}

/* Passe-partout: filete verde-água deslocado, como moldura de quadro. */
.about-split__media::before {
	content: "";
	position: absolute;
	inset: -0.9rem;
	border: 1px solid var(--line-teal);
	border-radius: var(--r-lg);
	pointer-events: none;
}

.about-split__media img {
	position: relative;
	width: 100%;
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-2);
	background: var(--concrete);
}

.about-split__quote {
	position: relative;
	margin: 0 0 1.6rem;
	padding-left: 1.4rem;
	border-left: 2px solid var(--teal);
	font-family: var(--font-display);
	font-size: var(--step-2);
	font-weight: 450;
	font-style: italic;
	line-height: 1.36;
	color: var(--ink);
	text-wrap: balance;
}

.signature {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-top: 1.75rem;
	padding-top: 1.4rem;
	border-top: 1px solid var(--line);
}

.signature__mark {
	height: 2.1rem;
	width: auto;
	flex: none;
}

.signature__name {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: var(--step-1);
	line-height: 1.2;
}

.signature__role {
	font-size: 0.8rem;
	color: var(--ink-2);
	line-height: 1.3;
}

/* --------------------------------------------------------- 12. Diferenciais */

/* Malha de 1px: os cards compartilham as linhas, como uma tabela de
   documento. Menos "caixinhas flutuando", mais papel. */
.diff-list {
	display: grid;
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	overflow: hidden;
	grid-template-columns: repeat(var(--c-1, 1), minmax(0, 1fr));
}

@media (min-width: 40em) {
	.diff-list {
		grid-template-columns: repeat(var(--c-2, 2), minmax(0, 1fr));
	}
}

@media (min-width: 62em) {
	.diff-list {
		grid-template-columns: repeat(var(--c-3, 3), minmax(0, 1fr));
	}
}

.diff-item {
	position: relative;
	background: var(--paper);
	padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
	display: grid;
	gap: 0.8rem;
	align-content: start;
	transition: background-color 0.35s var(--ease);
}

.diff-item::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	inset-block-start: 0;
	height: 2px;
	background: var(--teal);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.45s var(--ease);
}

.diff-item:hover {
	background: var(--bg);
}

.diff-item:hover::after {
	transform: scaleX(1);
}

.diff-item:hover .icon-badge {
	background: var(--teal-deep);
	color: #fff;
	transform: translateY(-2px);
}

.diff-item__title {
	font-size: var(--step-1);
	margin: 0;
}

.diff-item__body {
	color: var(--ink-2);
	margin: 0;
	font-size: 0.96rem;
}

/* ---------------------------------------------------------- 13. Depoimentos */

.testimonial {
	position: relative;
	/* O navegador aplica `margin: 1em 40px` em <figure> por padrão. Sem zerar,
	   o cartão perdia 80px de largura em qualquer tela — no celular, um quinto
	   do espaço disponível. */
	margin: 0;
	display: grid;
	/* estrelas · texto · rodapé. As aspas não entram na conta: são
	   posicionadas absolutamente e não ocupam linha. O texto absorve a sobra,
	   então os rodapés dos três cartões alinham mesmo com depoimentos de
	   tamanhos diferentes. */
	grid-template-rows: auto 1fr auto;
	gap: 0.9rem;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
	box-shadow: var(--shadow-1);
	height: 100%;
	overflow: hidden;
	transition: box-shadow 0.28s var(--ease), transform 0.28s var(--ease);
}

.testimonial:hover {
	box-shadow: var(--shadow-2, 0 18px 40px -24px rgba(30, 43, 42, 0.4));
	transform: translateY(-2px);
}

/* As aspas viram marca d'água: com as estrelas no topo, mantê-las em tamanho
   cheio disputava atenção com a nota. */
.testimonial__quote-mark {
	position: absolute;
	inset-block-start: -0.4rem;
	inset-inline-end: -0.4rem;
	width: 5.5rem;
	height: 5.5rem;
	color: var(--teal);
	opacity: 0.09;
	pointer-events: none;
}

.testimonial__stars {
	display: flex;
	gap: 0.15rem;
	align-self: start;
}

.testimonial__star {
	width: 1.05rem;
	height: 1.05rem;
	fill: var(--concrete);
	stroke: none;
	color: var(--concrete);
}

.testimonial__star.is-on {
	fill: #e8a33d;
	color: #e8a33d;
}

.testimonial__text {
	margin: 0;
	font-size: var(--step-0);
	line-height: 1.6;
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 450;
	font-style: italic;
}

/* Retrato à esquerda, nome e cidade empilhados à direita. Antes tudo ficava
   numa linha só com um separador, e nome comprido quebrava em quatro linhas. */
.testimonial__meta {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 0.75rem;
	padding-top: 1rem;
	border-top: 1px solid var(--line);
}

.testimonial__foto,
.testimonial__monograma {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	flex: none;
}

.testimonial__foto {
	object-fit: cover;
	background: var(--concrete);
	box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--line-teal, rgba(81, 168, 177, 0.45));
}

.testimonial__monograma {
	display: grid;
	place-items: center;
	background: var(--teal-wash);
	color: var(--teal-dark);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	font-family: var(--font-body);
}

.testimonial__pessoa {
	display: grid;
	gap: 0.1rem;
	min-width: 0;
}

.testimonial__author {
	font-weight: 700;
	color: var(--ink);
	font-size: 0.92rem;
	line-height: 1.3;
}

.testimonial__city {
	font-size: 0.8rem;
	color: var(--ink-3);
	line-height: 1.3;
}

.testimonials__cta {
	margin-top: 2.5rem;
	text-align: center;
}

.testimonials__convite {
	margin: 0;
	font-size: var(--step--1);
	color: var(--ink-2);
}

.testimonials__link {
	color: var(--teal-deep);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(42, 108, 114, 0.35);
	padding-bottom: 1px;
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.testimonials__link:hover,
.testimonials__link:focus-visible {
	color: var(--teal-dark);
	border-bottom-color: currentColor;
}

.testimonials__fonte {
	margin: 1.4rem 0 0;
	text-align: center;
	max-width: 60ch;
	margin-inline: auto;
	font-size: var(--step--2);
	color: var(--ink-3);
}

.testimonials__fonte a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.testimonials__fonte a:hover {
	color: var(--teal-deep);
}

.testimonial__monograma {
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	flex: none;
}

.testimonial__foto {
	object-fit: cover;
	background: var(--concrete);
}

.testimonial__monograma {
	display: grid;
	place-items: center;
	background: var(--teal-wash);
	color: var(--teal-dark);
	font-weight: 700;
	font-size: 0.86rem;
	letter-spacing: 0.02em;
	font-family: var(--font-body);
}

/* ------------------------------------------------------------- 14. Timeline */

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

.timeline__item {
	position: relative;
	padding: 0 0 2rem 2.25rem;
	border-left: 1px solid var(--line);
}

.timeline__item:last-child {
	padding-bottom: 0;
	border-left-color: transparent;
}

.timeline__item::before {
	content: "";
	position: absolute;
	left: -0.4rem;
	top: 0.4rem;
	width: 0.78rem;
	height: 0.78rem;
	border-radius: 50%;
	background: var(--paper);
	border: 2px solid var(--teal);
	box-shadow: 0 0 0 4px var(--bg);
}

.timeline__label {
	font-size: var(--step--2);
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--teal-deep);
	margin: 0 0 0.35rem;
}

.timeline__text {
	margin: 0;
	color: var(--ink-2);
}

/* --------------------------------------------------- 15. Blocos de problema */

.problem-list {
	display: grid;
	gap: 0.9rem;
	grid-template-columns: repeat(var(--c-1, 1), minmax(0, 1fr));
}

@media (min-width: 40em) {
	.problem-list {
		grid-template-columns: repeat(var(--c-2, 2), minmax(0, 1fr));
	}
}

@media (min-width: 62em) {
	.problem-list {
		grid-template-columns: repeat(var(--c-3, 2), minmax(0, 1fr));
	}
}

.problem {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 1.35rem 1.45rem;
	display: grid;
	gap: 0.5rem;
	align-content: start;
	transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
		box-shadow 0.3s var(--ease);
}

.problem:hover {
	border-color: var(--line-teal);
	transform: translateY(-3px);
	box-shadow: var(--shadow-1);
}

.problem__q {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--step-1);
	font-weight: 450;
	font-style: italic;
	line-height: 1.34;
	color: var(--ink);
}

.problem__a {
	margin: 0;
	color: var(--ink-2);
	font-size: 0.96rem;
}

/* ------------------------------------------------------------ 16. Benefícios */

.benefit-list {
	display: grid;
	gap: 1.1rem 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
	grid-template-columns: repeat(var(--c-1, 1), minmax(0, 1fr));
}

@media (min-width: 40em) {
	.benefit-list {
		grid-template-columns: repeat(var(--c-2, 2), minmax(0, 1fr));
	}
}

@media (min-width: 62em) {
	.benefit-list {
		grid-template-columns: repeat(var(--c-3, 2), minmax(0, 1fr));
	}
}

.benefit {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.3rem 0.9rem;
	align-items: start;
}

.benefit__check {
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--teal-deep);
	color: #fff;
	display: grid;
	place-items: center;
	grid-row: span 2;
	flex: none;
	margin-top: 0.2rem;
}

.benefit__check .icon {
	width: 0.9rem;
	height: 0.9rem;
	stroke-width: 2.6;
}

.benefit__title {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--step-0);
	font-weight: 700;
	line-height: 1.4;
}

.benefit__body {
	margin: 0;
	color: var(--ink-2);
	font-size: 0.95rem;
	grid-column: 2;
}

/* -------------------------------------------------------------- 17. CTA */

.cta-band {
	position: relative;
	overflow: hidden;
	background: var(--teal-dark);
	color: #fff;
	border-radius: var(--r-xl);
	padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
	text-align: center;
	box-shadow: var(--shadow-2);
	isolation: isolate;
}

.cta-band__feather {
	position: absolute;
	inset-block-start: -18%;
	inset-inline-end: -6%;
	width: min(40%, 22rem);
	opacity: 0.12;
	transform: rotate(18deg);
	z-index: -1;
	pointer-events: none;
}

.cta-band__title {
	color: #fff;
	max-width: 24ch;
	margin-inline: auto;
	margin-bottom: 0.5em;
}

.cta-band__lead {
	color: rgba(255, 255, 255, 0.84);
	font-size: var(--step-1);
	max-width: 48ch;
	margin-inline: auto;
	margin-bottom: 2rem;
}

.cta-band .btn--primary {
	--btn-bg: #fff;
	--btn-fg: var(--teal-dark);
}

.cta-band .btn--primary:hover {
	--btn-bg: var(--teal-wash);
}

.cta-band .btn--ghost {
	--btn-fg: #fff;
	--btn-border: rgba(255, 255, 255, 0.45);
}

.cta-band .btn--ghost:hover {
	--btn-fg: #fff;
	--btn-border: #fff;
	--btn-bg: rgba(255, 255, 255, 0.12);
}

.cta-band__note {
	margin: 1.5rem 0 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.68);
}

/* --------------------------------------------- 18. Canais de conteúdo */

/* Produzir conteúdo é o diferencial dela, então esta seção ganha o
   palco escuro do site: fundo tinta, mídia grande, números à frente. */

.channels {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.channels__feather {
	position: absolute;
	inset-block-start: 6%;
	inset-inline-start: -7%;
	width: min(32vw, 24rem);
	opacity: 0.06;
	transform: rotate(-16deg);
	z-index: -1;
	pointer-events: none;
}

.channels__head {
	display: grid;
	gap: 1.5rem 3rem;
	align-items: end;
	margin-bottom: var(--stack);
}

@media (min-width: 62em) {
	.channels__head {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	}
}

.channels__title {
	margin: 0 0 0.4em;
	max-width: 26ch;
}

.channels__intro {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: var(--step-1);
}

/* Contadores: prova de volume de produção. */
.channels__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2.5rem;
	margin: 0;
	padding: 0;
}

.channels__stat {
	display: grid;
	gap: 0.1rem;
}

.channels__stat dt {
	order: 2;
	font-size: 0.8rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.6);
}

.channels__stat dd {
	order: 1;
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--step-4);
	font-weight: 500;
	line-height: 0.95;
	color: var(--teal);
	letter-spacing: -0.03em;
}

.channels__grid {
	display: grid;
	gap: clamp(1rem, 0.7rem + 1.5vw, 1.75rem);
}

@media (min-width: 62em) {
	.channels__grid {
		grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	}
}

.channel {
	/* Flex em coluna para o botão poder ser empurrado ao pé do cartão: os
	   dois canais têm quantidades diferentes de conteúdo, e sem isso o de
	   menos conteúdo fica com um vão solto embaixo. */
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	/* Sem isto o item da grade não encolhe abaixo do próprio min-content, e a
	   tira de capas empurra o cartão para além da tela no celular. */
	min-width: 0;
	padding: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
	border-radius: var(--r-lg);
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.045);
	transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease),
		transform 0.35s var(--ease);
}

.channel:hover {
	border-color: rgba(81, 168, 177, 0.55);
	background: rgba(255, 255, 255, 0.07);
}

.channel__top {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.channel__title {
	margin: 0;
	font-size: var(--step-2);
	color: #fff;
}

.channel__handle {
	margin: 0;
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--teal);
	letter-spacing: 0.02em;
}

.channel__body {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
}

/* O botão desce para o pé do cartão, distribuindo a folga em vez de
   deixá-la toda embaixo. */
.channel > .btn-row {
	margin-top: auto;
}

/* Vídeos: miniatura própria + play. O iframe só entra no clique. */
.video-grid {
	display: grid;
	/* Uma coluna por padrão: no celular, duas deixavam cada player com cerca
	   de 170px de largura — pequeno demais para assistir ou tocar nos
	   controles. As colunas do Personalizador só valem a partir do tablet. */
	grid-template-columns: minmax(0, 1fr);
	gap: 1.1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 40em) {
	.video-grid {
		grid-template-columns: repeat(var(--video-cols, 2), minmax(0, 1fr));
		gap: 0.8rem;
	}
}

.video {
	display: grid;
	gap: 0.45rem;
}

/* Link para o aplicativo do YouTube: tela cheia, legendas e a opção de se
   inscrever — coisas que o player embutido não oferece. */
.video__externo {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	justify-self: start;
	font-size: 0.8rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	padding: 0.35rem 0;
	min-height: 2.75rem;
	align-content: center;
	transition: color 0.2s var(--ease);
}

.video__externo:hover,
.video__externo:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.video__externo-icone {
	width: 0.85rem;
	height: 0.85rem;
}

.video-item {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--r);
	overflow: hidden;
	background: var(--teal-dark);
	border: 1px solid rgba(255, 255, 255, 0.16);
	cursor: pointer;
	padding: 0;
	display: block;
	width: 100%;
	text-align: left;
	color: #fff;
}

.video-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease-out), opacity 0.35s var(--ease);
}

.video-item:hover img {
	transform: scale(1.05);
	opacity: 0.82;
}

.video-item iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* Enquanto toca, a caixa é uma <div> e não um <button>: sem cursor de clique
   nem realce de foco, que confundiriam com um controle. */
.video-item--tocando {
	cursor: default;
}

.video-item__play {
	position: absolute;
	inset-block-end: 0.6rem;
	inset-inline-start: 0.6rem;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.8rem;
	border-radius: var(--r-pill);
	background: rgba(23, 69, 74, 0.86);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	font-size: 0.8rem;
	font-weight: 700;
	color: #fff;
	pointer-events: none;
	transition: background-color 0.25s var(--ease);
}

.video-item:hover .video-item__play {
	background: var(--teal);
}

.video-item__play .icon {
	width: 1rem;
	height: 1rem;
}

/* Tira de capas dos artigos: rola na horizontal quando não cabe, em vez de
   esticar o cartão. Quatro capas de 7,5rem passam de 460px, o que estourava
   a tela num celular de 360px. */
.channel__strip {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(7.5rem, 1fr);
	gap: 0.6rem;
	margin: 0;
	padding: 0 0 0.4rem;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.channel__strip li {
	border-radius: var(--r-sm);
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: rgba(255, 255, 255, 0.08);
}

.channel__strip img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease-out);
}

.channel__strip li:hover img {
	transform: scale(1.07);
}

/* Feed do Instagram (Smash Balloon), quando o plugin está ativo.
   O plugin monta o próprio grid com larguras em porcentagem; aqui ele é
   reescrito como grade, para seguir o mesmo ritmo da tira de capas que
   aparece quando não há plugin. Escopado ao cartão de canal de propósito:
   se o shortcode for usado em outra página, mantém o visual padrão dele. */
.channel #sb_instagram {
	padding: 0 !important;
	width: 100% !important;
}

/* Duas colunas: são 4 posts, então dá 2x2 — as duas fileiras fecham, o
   cartão do Instagram ganha altura parecida com a do YouTube (que tem 4
   vídeos em 2x2) e as miniaturas ficam grandes o bastante para se ver o
   que é. Em 4 colunas elas caíam para ~75px e sobrava um vão embaixo. */
.channel #sb_instagram #sbi_images {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.6rem;
	padding: 0 !important;
	width: 100% !important;
}

.channel #sb_instagram .sbi_item {
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
	border-radius: var(--r-sm);
	overflow: hidden;
	background: rgba(255, 255, 255, 0.08);
	aspect-ratio: 1 / 1;
}

.channel #sb_instagram .sbi_photo_wrap,
.channel #sb_instagram .sbi_photo {
	height: 100%;
}

/* O plugin entrega os itens com a classe .sbi_transition (opacity:0) e conta
   com o JavaScript dele para revelá-los. Se esse script falhar ou for
   bloqueado, o cartão fica vazio. Aqui a visibilidade não depende de JS — a
   entrada suave já vem do .reveal-stagger da própria seção. */
.channel #sb_instagram .sbi_item.sbi_transition {
	opacity: 1;
}

.channel #sb_instagram .sbi_photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease-out);
}

.channel #sb_instagram .sbi_item:hover .sbi_photo img {
	transform: scale(1.07);
}

/* O convite para seguir já existe como botão logo abaixo, no tema. */
.channel #sb_instagram #sbi_load,
.channel #sb_instagram .sb_instagram_header {
	display: none !important;
}



/* ---------------------------------------------------------- 19. Contato */

.contact-grid {
	display: grid;
	gap: clamp(1rem, 0.7rem + 1.5vw, 1.75rem);
	grid-template-columns: repeat(var(--c-1, 1), minmax(0, 1fr));
}

@media (min-width: 40em) {
	.contact-grid {
		grid-template-columns: repeat(var(--c-2, 2), minmax(0, 1fr));
	}
}

@media (min-width: 62em) {
	.contact-grid {
		grid-template-columns: repeat(var(--c-3, 3), minmax(0, 1fr));
	}
}

.contact-card {
	display: grid;
	gap: 0.85rem;
	align-content: start;
	padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	border-radius: var(--r-lg);
	border: 1px solid var(--line);
	background: var(--paper);
	box-shadow: var(--shadow-1);
	text-decoration: none;
	color: inherit;
	transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease),
		border-color 0.32s var(--ease);
}

a.contact-card:hover {
	color: inherit;
	transform: translateY(-4px);
	box-shadow: var(--shadow-2);
	border-color: var(--line-teal);
}

a.contact-card:hover .icon-badge {
	background: var(--teal-deep);
	color: #fff;
}

.contact-card__label {
	margin: 0;
	font-size: var(--step--2);
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--teal-deep);
}

.contact-card__value {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--step-1);
	font-weight: 500;
	line-height: 1.3;
}

.contact-card__note {
	margin: 0;
	font-size: 0.9rem;
	color: var(--ink-2);
}

/* ----------------------------------------------------------- 20. Rodapé */

.site-footer {
	position: relative;
	background: var(--ink);
	color: rgba(255, 255, 255, 0.72);
	padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem;
	font-size: 0.94rem;
	overflow: hidden;
}

/* Exclui .btn: o botão de WhatsApp do rodapé é um <a>, e sem isto ele
   herdava a cor esmaecida dos links e ganhava sublinhado no hover. */
.site-footer a:not(.btn) {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
}

.site-footer a:not(.btn):hover {
	color: #fff;
	text-decoration: underline;
}

/* Três colunas fixas, com pontos de quebra declarados.
   Antes isto era `repeat(auto-fit, minmax(min(100%, 11rem), 1fr))`, que
   nunca empilhava: o mínimo de 11rem sempre cabia duas vezes, e a coluna da
   marca ficava espremida em 38px no celular, com o logotipo e os ícones
   transbordando. auto-fit decide pela largura disponível, não pelo que o
   conteúdo precisa — aqui as três colunas são conhecidas, então declaramos. */
.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* A partir de 576px cabem duas colunas; a marca ocupa a linha inteira. */
@media (min-width: 36em) {
	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: clamp(2rem, 1.5rem + 2vw, 3rem);
	}

	.footer-grid > :first-child {
		grid-column: 1 / -1;
	}
}

@media (min-width: 62em) {
	.footer-grid {
		grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
	}

	.footer-grid > :first-child {
		grid-column: auto;
	}
}

.site-footer .brand {
	color: #fff;
	margin-bottom: 1.1rem;
}

.footer-col__title {
	font-family: var(--font-body);
	font-size: var(--step--2);
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--teal);
	margin: 0 0 1rem;
}

.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}

.footer-address {
	font-style: normal;
	display: grid;
	gap: 0.6rem;
	margin-bottom: 1.5rem;
}

.footer-address p {
	margin: 0;
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
}

.footer-address .icon {
	width: 1.05rem;
	height: 1.05rem;
	color: var(--teal);
	flex: none;
	margin-top: 0.25rem;
}

.footer-social {
	display: flex;
	gap: 0.6rem;
}

.footer-social a {
	width: 2.6rem;
	height: 2.6rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff;
	transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
		transform 0.25s var(--ease);
}

.footer-social a:hover {
	background: var(--teal-deep);
	border-color: var(--teal);
	transform: translateY(-2px);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 2rem;
	justify-content: space-between;
	align-items: center;
	padding-top: 2rem;
	font-size: 0.83rem;
	color: rgba(255, 255, 255, 0.55);
}

.footer-bottom ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
}

.footer-disclaimer {
	margin: 0 0 1.5rem;
	max-width: 62ch;
	font-size: 0.83rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.5);
}

.footer-credit {
	margin: 1.5rem 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.72rem;
	letter-spacing: 0.01em;
	color: rgba(255, 255, 255, 0.55);
	text-align: center;
}

.footer-credit a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.25s var(--ease);
}

.footer-credit a:hover {
	color: #fff;
}

/* ------------------------------------------------- 21. Botão flutuante */

.wa-float {
	position: fixed;
	inset-block-end: 1.15rem;
	inset-inline-end: 1.15rem;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.85rem 1.25rem;
	background: var(--teal-deep);
	color: #fff;
	border-radius: var(--r-pill);
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	box-shadow: var(--shadow-3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(1rem) scale(0.96);
	transition: opacity 0.35s var(--ease), transform 0.35s var(--ease-out),
		visibility 0.35s, background-color 0.25s var(--ease);
}

.wa-float[data-visible="true"] {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.wa-float:hover {
	color: #fff;
	background: var(--teal-dark);
}

.wa-float .icon {
	width: 1.3rem;
	height: 1.3rem;
}

/* ---------------------------------------------------------- 22. Movimento */

/* Revelação ao rolar. A direção varia por contexto para o movimento não
   ficar mecânico, mas a amplitude é sempre pequena: presença, não
   espetáculo. */
.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal--left {
	transform: translateX(-24px);
}

.reveal--right {
	transform: translateX(24px);
}

.reveal--scale {
	transform: scale(0.97);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

.reveal-stagger > * {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal-stagger.is-visible > * {
	opacity: 1;
	transform: none;
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.11s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.39s; }
.reveal-stagger.is-visible > *:nth-child(n + 7) { transition-delay: 0.45s; }

/* O traço do eyebrow se desenha quando a seção aparece. */
.reveal .eyebrow::before,
.reveal-stagger .eyebrow::before {
	transform: scaleX(0);
	transition: transform 0.6s var(--ease-out) 0.15s;
}

.reveal.is-visible .eyebrow::before,
.reveal-stagger.is-visible .eyebrow::before {
	transform: scaleX(1);
}

/* Entrada orquestrada do topo, só na primeira dobra. */
.enter {
	opacity: 0;
	transform: translateY(22px);
	animation: et-enter 0.9s var(--ease-out) forwards;
}

.enter-1 { animation-delay: 0.05s; }
.enter-2 { animation-delay: 0.14s; }
.enter-3 { animation-delay: 0.23s; }
.enter-4 { animation-delay: 0.32s; }
.enter-5 { animation-delay: 0.41s; }
.enter-6 { animation-delay: 0.5s; }

@keyframes et-enter {
	to {
		opacity: 1;
		transform: none;
	}
}

/* A foto do topo entra com um respiro de escala, muito lento.
   A animação mexe só em transform de propósito: como ela usa fill
   "forwards", animar opacity aqui faria o valor final do keyframe vencer
   qualquer opacidade declarada depois, inclusive dentro de media query. */
.hero__photo {
	animation: et-breathe 1.6s var(--ease-out) forwards;
}

@keyframes et-breathe {
	from {
		transform: scale(1.05);
	}
	to {
		transform: scale(1);
	}
}

/* Deslocamento suave da pena conforme a página rola (JS alimenta --shift). */
.hero__feather,
.channels__feather {
	transform: rotate(var(--rot, 14deg)) translateY(var(--shift, 0px));
	will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.reveal,
	.reveal-stagger > *,
	.enter,
	.hero__photo {
		opacity: 1 !important;
		transform: none !important;
	}

	.reveal .eyebrow::before,
	.reveal-stagger .eyebrow::before {
		transform: scaleX(1) !important;
	}
}

/* -------------------------------------------------------- 23. Utilidades */

.stack-sm > * + * { margin-top: 0.6rem; }
.stack-md > * + * { margin-top: 1.2rem; }
.stack-lg > * + * { margin-top: 2rem; }

.text-center { text-align: center; }
.mt-lg { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.mb-0 { margin-bottom: 0; }

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--paper);
	clip-path: none;
	color: var(--teal-dark);
	display: block;
	font-size: 0.9rem;
	height: auto;
	left: 1rem;
	padding: 0.9rem 1.2rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
	border-radius: var(--r-sm);
	box-shadow: var(--shadow-2);
}

/* ------------------------------------------------------- 24. Responsivo */

@media (max-width: 1180px) {
	.nav-primary,
	.header-actions .btn--secondary {
		display: none;
	}

	.nav-toggle {
		display: inline-flex;
	}
}

/* Abaixo de 1200px as duas colunas deixam de caber lado a lado. Em vez de
   apagar a foto atrás do texto — o que deixaria o título ilegível sobre o
   rosto —, ela sai do posicionamento absoluto e vira uma imagem de verdade
   no topo, sangrando de ponta a ponta. */
@media (max-width: 75em) {
	.hero:not(.hero--split) {
		padding-block-start: 0;
	}

	.hero__photo {
		position: static;
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
		max-height: 62vh;
		object-position: 50% 14%;
		margin-bottom: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
		-webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 100%);
		mask-image: linear-gradient(to bottom, #000 74%, transparent 100%);
	}

	.hero__inner {
		grid-template-columns: minmax(0, 44rem);
	}

	.hero__feather {
		inset-block-start: 24%;
		inset-inline-end: -14%;
		width: min(52vw, 22rem);
		opacity: 0.05;
	}
}

@media (max-width: 62em) {
	/* Em coluna única o card ocupa a largura toda; um 4:3 aí viraria uma
	   foto gigantesca e empurraria o texto para fora da tela. */
	.area-card__media {
		aspect-ratio: 16 / 9;
	}

	.hero--split .hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Empilhada, a figura ocupa a coluna inteira: limitar a largura aqui
	   deixaria um vão à direita, que é justamente o que queremos evitar. */
	.hero__figure {
		justify-self: stretch;
		width: 100%;
		margin-top: 1.2rem;
	}

	/* Recorte 3:2 vindo de um original 4:5: ancorar bem no alto garante
	   que o topo da cabeça não seja cortado. */
	.hero__figure img {
		aspect-ratio: 3 / 2;
		object-position: 50% 3%;
	}

	.about-split {
		grid-template-columns: 1fr;
	}

	.about-split__media {
		max-width: 24rem;
	}

	.channels__stats {
		gap: 1rem 2rem;
	}
}

@media (max-width: 40em) {
	.header-actions .btn span {
		display: none;
	}

	.header-actions .btn {
		padding: 0.7rem;
		width: 2.9rem;
		height: 2.9rem;
	}

	.header-actions .btn__icon {
		width: 1.3rem;
		height: 1.3rem;
	}

	.brand__mark {
		height: 2.1rem;
	}

	.brand__name {
		font-size: 1.08rem;
	}

	/* Três números em três colunas: em flex o terceiro sobrava sozinho
	   numa linha só para ele. */
	.hero__trust {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1rem;
	}

	.hero__trust-label {
		font-size: 0.72rem;
	}

	.cta-band {
		border-radius: var(--r-lg);
	}

	.translate {
		max-width: none;
	}

	.channel__strip {
		grid-auto-columns: minmax(5.5rem, 1fr);
	}

	.wa-float span {
		display: none;
	}

	.wa-float {
		padding: 1rem;
	}
}

@media print {
	.site-header,
	.site-footer,
	.wa-float,
	.finder-section,
	.translate,
	.cta-band {
		display: none !important;
	}
}
