.yh-home {
	color: var(--text-primary);
	font-family: var(--font-sans);
}

.yh-home a {
	text-decoration: none;
}

/* 2026-11-08: achado do usuário (mesmo padrão "sem cor própria = herda do
   tema pai" já documentado várias vezes neste arquivo pra botão/avatar/
   children de comentário) - um link de texto corrido dentro de um <p> de
   FAQ/seção (fora de qualquer `.yh-btn`) nunca tinha `color` declarado em
   nenhuma regra do tema-filho, então o `a{color:#c36}` do reset.css do
   hello-elementor (tema pai) vencia por padrão, sem disputa de
   especificidade nenhuma - pintando de rosa qualquer link assim em
   qualquer página do sistema .yh-home (Contrate, Segmentos, Cidade LP,
   home). Escopado em `p a` (não `.yh-home a` sozinho) de propósito: um
   seletor genérico `.yh-home a {color:...}` teria especificidade (0,1,1),
   MAIOR que a de `.yh-btn--primary`/`.yh-btn--ghost`/`.yh-btn--outline`
   (0,1,0) - isso pintaria todo BOTÃO do site (que também é uma tag <a>)
   com a cor de link, quebrando o esquema de cor deles sitewide. Como
   nenhum `.yh-btn` deste tema jamais fica dentro de um `<p>`, escopar em
   `p a` conserta só o link de texto de verdade, sem nunca colidir com
   botão nenhum. Contexto escuro (`.yh-section--navy`/`.yh-card--dark`/
   `.yh-hero`) tem sua própria cor logo abaixo, já que teal escuro não lê
   bem sobre navy. */
.yh-home p a {
	color: var(--link-color);
}

.yh-home p a:hover,
.yh-home p a:focus {
	text-decoration: underline;
}

.yh-section--navy p a,
.yh-card--dark p a,
.yh-hero p a {
	color: var(--yangoo-aqua);
}

.yh-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.yh-eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--yangoo-turquoise);
	margin-bottom: 12px;
}

.yh-eyebrow--light {
	color: var(--yangoo-aqua);
}

/* Buttons */
.yh-btn {
	display: inline-block;
	font-size: 15px;
	font-weight: 700;
	padding: 13px 24px;
	border-radius: 8px;
	margin-top: 8px;
}

.yh-btn--primary {
	background: var(--button-primary-bg);
	color: var(--button-primary-text);
}

.yh-btn--primary:hover {
	background: var(--button-primary-hover);
	color: var(--button-primary-text);
}

/* Every other .yh-btn on the site is an <a>, immune to the parent theme's
   [type=submit]/[type=button] reset (see the .yh-accordion__trigger note
   above for the full mechanics) - the contact form's submit button is the
   first real <button>, so it needs the same specificity fix here too. */
.yh-btn--primary[type="submit"],
.yh-btn--primary[type="submit"]:hover,
.yh-btn--primary[type="submit"]:focus,
.yh-btn--primary[type="submit"]:active {
	background: var(--button-primary-bg);
	color: var(--button-primary-text);
	border: none;
}

.yh-btn--primary[type="submit"]:hover,
.yh-btn--primary[type="submit"]:focus-visible {
	background: var(--button-primary-hover);
}

.yh-btn--outline {
	background: transparent;
	border: 2px solid var(--yangoo-white);
	color: var(--yangoo-white);
}

/* Without a hover rule of its own here, the parent theme's generic
   a:hover{color:#336} (a near-black blue) would win by itself - illegible
   on the dark navy background this button always sits on. Same inversion
   treatment already used on .yh-btn--outline-navy:hover just below, just
   flipped (this one starts white-on-transparent and inverts to a filled
   background). */
@media ( hover: hover ) {
	.yh-btn--outline:hover {
		background: var(--yangoo-white);
		color: var(--yangoo-navy);
	}
}

/* .yh-btn--outline's white border/text only reads on a dark section - on
   a light one (e.g. .yh-section--soft) it was rendering nearly invisible,
   a light-gray-on-light-gray ghost button. This is that same "outline"
   idea recolored for light backgrounds. */
.yh-btn--outline-navy {
	background: transparent;
	border: 2px solid var(--yangoo-navy);
	color: var(--yangoo-navy);
}

@media ( hover: hover ) {
	.yh-btn--outline-navy:hover {
		background: var(--yangoo-navy);
		color: var(--yangoo-white);
	}
}

.yh-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 12px;
}

/* App Store / Google Play download badges ("App Yangoo" section,
   front-page.php) - real store icons (not the official "GET IT ON" /
   "Download on the App Store" pre-built badge art, which the user didn't
   provide), so the two-line label text does the job those pre-built
   badges normally do. Plain <a> links, not .yh-btn[type="button"] -
   no risk of the parent theme's [type=button] pink-reset bug, but color
   is still set explicitly rather than left to inherit, same caution. */
/* Wrapper so the "Conhecer o app" button's right edge lines up with the
   badge row below it - the button (single short label) is naturally
   narrower than the two badges side by side, so without this they'd be
   left-aligned but mismatched on the right. inline-flex column + stretch
   sizes the wrapper to its widest child (the badges) and stretches the
   narrower child (the button) to match, with no hardcoded width to keep
   in sync if either row's content changes. */
.yh-app-cta {
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;
}

.yh-app-cta .yh-btn {
	text-align: center;
}

.yh-app-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.yh-app-badge {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px 8px 10px;
	border: 1px solid var(--border-color);
	border-radius: 12px;
	background: var(--background);
	color: var(--yangoo-navy);
	text-decoration: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.yh-app-badge:hover,
.yh-app-badge:focus-visible {
	border-color: var(--yangoo-turquoise);
	box-shadow: 0 6px 16px rgba(11, 42, 73, .08);
}

.yh-app-badge img {
	width: 32px;
	height: 32px;
	object-fit: contain;
	aspect-ratio: auto;
	flex: none;
}

.yh-app-badge span {
	display: flex;
	flex-direction: column;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
}

.yh-app-badge small {
	font-size: 11px;
	font-weight: 500;
	color: var(--text-secondary);
}

.yh-link {
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	color: var(--link-color);
	margin-top: 10px;
}

.yh-link:hover {
	color: var(--yangoo-navy);
}

/* "Coming soon" gate for pages withheld from launch (see
   yangoo_gate_unfinished_pages in functions.php) - deliberately reuses
   .yh-pill/.yh-btn/.yh-btn-row instead of introducing new component
   classes, so it stays visually consistent with the hero without its own
   parallel set of button/badge styles to maintain. */
.yh-maintenance {
	background: var(--yangoo-navy-dark);
	min-height: 56vh;
	display: flex;
	align-items: center;
	padding: 100px 0;
}

.yh-maintenance__inner {
	max-width: 620px;
	margin: 0 auto;
	text-align: center;
}

.yh-maintenance__inner h1 {
	font-size: 32px;
	font-weight: 800;
	color: var(--yangoo-white);
	margin: 0 0 16px;
}

.yh-maintenance__inner p {
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255, 255, 255, .78);
	margin: 0 0 8px;
}

.yh-maintenance__inner .yh-btn-row {
	justify-content: center;
	margin-top: 24px;
}

@media (max-width: 600px) {
	.yh-maintenance {
		padding: 64px 0;
		min-height: 0;
	}
	.yh-maintenance__inner h1 {
		font-size: 24px;
	}
}

/* Hero */
.yh-hero {
	position: relative;
	background-color: #0B2A49;
	color: var(--yangoo-white);
	padding: 64px 0 0;
	overflow: hidden;
	/* 2026-08-26: bug conhecido do Chromium - um elemento com
	   overflow:hidden cuja altura acaba fracionada (não em pixel inteiro,
	   comum quando o conteúdo interno depende de aspect-ratio de imagem/
	   texto responsivo) e que tem filhos com `filter` (.yh-hero__bg usa
	   blur) pode deixar uma costura de 1px bem na borda do recorte -
	   geralmente uma linha preta, reta, sem relação com nenhuma cor do
	   design (diferente de qualquer coisa que eu já tinha tentado ajustar
	   até aqui - margens, z-index, opacity). `transform:translateZ(0)`
	   força esse elemento a compor como sua própria camada de GPU
	   estável, o fix padrão documentado pra essa classe de bug. Aplicado
	   na regra base (não só materiais-gratuitos) porque qualquer página
	   com .yh-hero + altura fracionada + filho com filter corre o mesmo
	   risco, mesmo sem ter sido reportado ainda nas outras. */
	transform: translateZ(0);
}

.yh-hero__bg {
	position: absolute;
	inset: -12px;
	z-index: 0;
	background-color: #0B2A49;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	filter: blur(6px);
}

/* hero-bg-cidade.webp is much darker on its own left third (a glass
   building facade in shadow) than the center/right (bright golden-hour
   glow). On a narrow mobile crop, centering the image shows mostly the
   bright part right behind the title text, which reads low contrast.
   Shifting toward the image's left side fixes that. Only applies to
   .yh-hero--cidade, which is shared by page-abertura-de-empresa.php,
   page-cidade-lp.php, and the adult content page (all 3 city-hero
   pages), so the adult content page (its own darker hero-bg-adulto.webp,
   different photo) gets reset back to center right after. */
@media (max-width: 960px) {
	.yh-hero--cidade .yh-hero__bg {
		background-position: 15% center;
	}
	.yh-nicho-adulto .yh-hero__bg {
		background-position: center;
	}
}

.yh-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(to top, rgba(11, 42, 73, .6) 0%, rgba(11, 42, 73, .25) 60%, rgba(11, 42, 73, .05) 100%);
}

/**
 * Left-to-right companion to .yh-hero__overlay above (which only shades
 * top-to-bottom) - darkens the LEFT side, where the hero copy sits, and
 * fades out before reaching the portrait on the right, so a busy
 * background photo (a real city street, not just flat navy) doesn't fight
 * with the white text over it. Opt-in markup (not folded into
 * .yh-hero__overlay itself) since the home page hero (front-page.php)
 * never asked for this and already reads fine with just the vertical
 * shade - only page-cidade-lp.php's hero (assets/img/cidade-lp/
 * hero-bg-cidade.webp, a real photo, not flat color) uses it so far.
 */
.yh-hero__shade {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(to right, rgba(11, 42, 73, .8) 0%, rgba(11, 42, 73, .55) 35%, rgba(11, 42, 73, .18) 65%, rgba(11, 42, 73, 0) 90%);
	pointer-events: none;
}

.yh-hero__fade {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(to top, rgba(11, 42, 73, .55) 0%, rgba(11, 42, 73, .28) 30%, rgba(11, 42, 73, .08) 60%, rgba(11, 42, 73, 0) 85%);
}

/* Hero particle animation disabled (markup commented out in front-page.php,
   JS gated behind if(false) in home-yangoo.js) - kept here, also
   commented out, so re-enabling is just uncommenting all three spots.
.yh-hero__particles {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
*/

/* Wavy divider instead of a hard straight edge where the navy hero meets
   the white stats bar below - preserveAspectRatio="none" on the SVG lets
   it stretch full-width regardless of viewport without distorting into an
   unusable shape (the path itself is deliberately gentle/shallow so it
   still reads fine stretched or squashed at any width). */
.yh-hero__wave {
	position: absolute;
	left: 0;
	right: 0;
	/* -1px left a hairline gap on some mobile viewports (sub-pixel rounding
	   on the section's own height) where the navy hero background peeked
	   through as a thin dark line just past the wave, before the hidden
	   .yh-hero-stats section (display:none on mobile) used to mask it.
	   Now that section is gone from flow, so this needs more overlap
	   margin to stay seamless on its own. */
	bottom: -4px;
	width: 100%;
	height: 60px;
	z-index: 3;
	display: block;
}

/* Materiais Gratuitos (2026-08-26) - onda decorativa via clip-path,
   substituindo o <svg class="yh-hero__wave"> de sempre (removido de
   page-materiais-gratuitos.php - essa página não usa mais o elemento
   acima). A técnica antiga desenha uma forma branca separada POR CIMA
   do fim da seção (elemento próprio, position:absolute, z-index:3) -
   uma "ilha" de composição própria que, cruzada com o filter:blur de
   .yh-hero__bg logo abaixo dela mais o overflow:hidden do próprio
   .yh-hero, é a combinação mais associada a costuras sutis de 1px em
   navegadores baseados em Chromium/WebKit (mesma classe de bug já
   documentada acima, no comentário do -4px - só que aqui, mesmo
   replicando a config exata da home, o usuário continuou reportando o
   problema). clip-path recorta a SEÇÃO INTEIRA (cor de fundo, imagem
   desfocada, overlay, tudo numa operação só, nativa do navegador) na
   forma da onda - não sobra nenhum elemento "colado" na borda pra gerar
   uma costura de composição.
   Sem media query de propósito - a primeira versão só cobria mobile
   (max-width:960px), deixando o desktop sem onda nenhuma (aresta reta),
   já que o <svg> que o desktop também dependia tinha sido removido do
   HTML. Uma correção só, cobrindo os dois.
   Os pontos são a mesma curva Bézier de sempre (viewBox 1440x90)
   amostrada em ~24 pontos e convertida pra `polygon()` com X em
   porcentagem (estica com a largura, mesmo efeito que
   preserveAspectRatio="none" já dava) e Y em `calc(100% - Npx)`
   (distância fixa em pixels a partir do FIM da seção) - assim a onda
   sempre fica restrita aos últimos ~90px da seção, não importa a altura
   total dela, mesmo sem poder usar objectBoundingBox (que esticaria a
   curva pra altura inteira da seção, dezenas de vezes maior que os 90px
   originais). */
.mg-hub .yh-hero {
	/* Ordem dos pontos importa - clip-path mantém visível só o que está
	   DENTRO do polígono. Começa em (0%,0%)/(100%,0%) (topo inteiro) e
	   desce pela curva da DIREITA pra ESQUERDA - errar essa ordem (como
	   numa primeira tentativa) faz o polígono descrever só a fatia fina
	   de baixo, cortando o resto da seção inteira (H1, botões,
	   ilustração) e deixando branco no lugar.

	   Amplitude reduzida (2026-08-26, ~1/3 da curva original que a home
	   usa) - a curva original (pico de ~52px de profundidade) exigia
	   folga extra (padding-bottom) na imagem/botão pra não ficar colada
	   na onda, mas qualquer padding aí cresce a altura total da seção
	   (o topo/H1 fica fixo, só a borda de baixo desce) - e isso lia como
	   "aumentou o espaço em cima", não como o respiro embaixo que era a
	   intenção. Com a curva mais rasa (pico de ~17px) a imagem/botão já
	   cabem sem folga nenhuma, sem precisar inflar a seção. */
	clip-path: polygon(
		0% 0%,
		100% 0%,
		100% calc(100% - 13.2px),
		95.8333% calc(100% - 14.808px),
		91.6667% calc(100% - 15.614px),
		87.5% calc(100% - 15.778px),
		83.3333% calc(100% - 15.461px),
		79.1667% calc(100% - 14.823px),
		75% calc(100% - 14.025px),
		70.8333% calc(100% - 13.227px),
		66.6667% calc(100% - 12.589px),
		62.5% calc(100% - 12.272px),
		58.3333% calc(100% - 12.436px),
		54.1667% calc(100% - 13.242px),
		50% calc(100% - 14.85px),
		45.8333% calc(100% - 16.394px),
		41.6667% calc(100% - 17.027px),
		37.5% calc(100% - 16.938px),
		33.3333% calc(100% - 16.317px),
		29.1667% calc(100% - 15.351px),
		25% calc(100% - 14.231px),
		20.8333% calc(100% - 13.146px),
		16.6667% calc(100% - 12.283px),
		12.5% calc(100% - 11.834px),
		8.3333% calc(100% - 11.985px),
		4.1667% calc(100% - 12.928px),
		0% calc(100% - 14.85px)
	);
}

/* .yh-hero__overlay is position:absolute, so it paints above any plain
   (position:static) sibling regardless of DOM order - every hero with a
   two-column layout avoids this by giving its content wrapper the
   .yh-hero__grid class (position:relative), but a single-column hero (e.g.
   page-parceiros.php, no portrait image) uses a plain .yh-container - lift
   it into the positioned layer too, without adopting yh-hero__grid's
   2-column grid layout it doesn't need. Scoped to :not(.yh-hero__grid) so
   this doesn't touch the two-column heroes, which deliberately avoid an
   explicit z-index here (see the "must NOT create its own stacking
   context" note on .yh-hero__grid above).
   The z-index here has to beat .yh-hero__fade, which is also inset:0
   (covers the whole section, not just the bottom edge, despite its name).
   At z-index:1 it lost to .yh-hero__fade's z-index:3, so on any single-
   column hero (.yh-hero--plain with no .yh-hero__grid) the fade literally
   painted over the title/subtitle/buttons, right where the gradient is
   strongest (near the bottom, exactly where the buttons usually sit).
   Raised to z-index:4 - above the fade, the same logic .yh-hero__copy
   (two-column hero) already applies with z-index:3, just set high enough
   here that it never ties with the fade and has to fall back to DOM order
   to break the tie. */
.yh-hero > .yh-container:not(.yh-hero__grid) {
	position: relative;
	z-index: 4;
}

.yh-hero__grid {
	/* No z-index here on purpose: it must NOT create its own stacking
	   context, so .yh-hero__copy and .yh-hero__portrait below can be
	   individually ordered against the full-bleed .yh-hero__fade sibling
	   (copy above it, portrait below it) instead of being trapped together. */
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 48px;
	align-items: end;
	margin-bottom: 0;
}

/* Yoast breadcrumb (yoast_breadcrumb()), used at the top of every
   .yh-hero--plain page (Mapa do Site, Materiais Gratuitos, Ferramentas de
   IA, Contabilidade em Itapema/SC etc.) via the shared ".ai-breadcrumb"
   wrapper class. Previously only styled inside ai-tools.css (which only
   enqueues on the Ferramentas de IA pages) with a dark var(--text-secondary)
   color meant for a light background - on every OTHER .yh-hero page (dark
   navy background) it had NO style at all, so the "Início" link fell back
   to the parent theme's default pink link color (#c36) instead of
   inheriting the hero's white text. Centralized here (loads on every
   .yh-hero page) with a light-on-navy treatment matching the rest of the
   hero copy (rgba(255,255,255,.65), same idea as .yh-section__title--light
   and the rgba(255,255,255,.82) hero paragraph color used elsewhere). */
.ai-breadcrumb {
	font-size: 13px;
	color: rgba(255, 255, 255, .65);
	margin: 0 0 14px;
}

.ai-breadcrumb a {
	color: rgba(255, 255, 255, .65);
	text-decoration: none;
}

.ai-breadcrumb a:hover,
.ai-breadcrumb a:focus {
	color: var(--yangoo-aqua);
	text-decoration: underline;
}

/* .ai-section__lead - same bug as .ai-breadcrumb right above, found while
   fixing /guias/ and /estudos/ (2026-08-27): it only ever existed in
   ai-tools.css, which only enqueues on is_page(['ferramentas','prompts'])
   - on every OTHER page using the class (page-guias.php, page-estudos.php)
   the whole rule silently never applied, leaving the paragraph with none
   of its intended color/spacing/max-width, AND its plain <a> children with
   no link color of their own, falling back to the parent theme's default
   pink (#c36) - exactly the "partes rosas" the user reported (the "nossos
   Estudos"/"Materiais Gratuitos" cross-links at the bottom of each hub).
   Centralized here for the same reason .ai-breadcrumb was - loads on every
   page needlessly it, not just the two that happened to enqueue
   ai-tools.css. */
.ai-section__lead {
	max-width: 640px;
	color: var(--text-secondary);
	font-size: 16px;
	line-height: 1.6;
	margin: 10px 0 28px;
}

.ai-section__lead a {
	color: var(--link-color);
	text-decoration: none;
	font-weight: 600;
}

.ai-section__lead a:hover,
.ai-section__lead a:focus-visible {
	text-decoration: underline;
}

.yh-pill {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--yangoo-aqua);
	border: 1px solid rgba(81, 215, 217, .4);
	border-radius: 999px;
	padding: 7px 16px;
	margin-bottom: 18px;
}

.yh-hero__title {
	font-size: 38px;
	line-height: 1.2;
	font-weight: 800;
	margin: 0 0 18px;
}

.yh-highlight {
	color: var(--yangoo-aqua);
}

.yh-hero__copy {
	position: relative;
	z-index: 3;
	/* Extra room below the buttons so the wavy divider (.yh-hero__wave,
	   60px tall, dips fairly deep at its lowest points) has clearance to
	   curve without cutting into "Conhecer soluções" - the wave's shape
	   shifts horizontally with viewport width, so this needs a real gap,
	   not just enough for the flattest point of the curve. */
	padding-bottom: 100px;
}

.yh-hero__lead {
	font-size: 16px;
	color: var(--border-color);
	line-height: 1.6;
	margin: 0 0 22px;
	max-width: 520px;
}

.yh-btn--ghost {
	background: transparent;
	border: 2px solid rgba(255, 255, 255, .35);
	color: var(--yangoo-white);
}

.yh-btn--ghost:hover {
	border-color: var(--yangoo-white);
	color: var(--yangoo-white);
}

/* Hero portrait */
.yh-hero__portrait {
	position: relative;
	z-index: 1;
	display: flex;
	/* flex-end (not center) so the portrait actually reaches the column's
	   right edge instead of floating with empty margin on both sides - the
	   same "touch the edge" fix already applied on mobile, extended to
	   desktop too since the gap was visible there as well. */
	justify-content: flex-end;
	align-items: flex-end;
	min-height: 480px;
	align-self: end;
}

/* Landing pages that don't have a real background photo behind the hero
   (only front-page.php does, via .yh-hero__bg) - flat navy at the home
   page's full 480px portrait height reads as an oversized empty slab, and
   with no gradient/photo to separate it, it blends into the header right
   above it with no visible seam. Lighter navy tone + smaller portrait
   fixes both at once, reusing the same two-tone palette already used
   elsewhere (.yh-section--navy is the dark tone; this is the lighter one). */
.yh-hero--plain {
	background-color: var(--yangoo-navy);
}

/* Achado do usuário (2026-09-14, /estudos/, mas o mesmo bug batia em
   qualquer .yh-hero--plain com pouco texto - /guias/ também confirmado
   via Playwright): .yh-hero__grid herda align-items:end da base (pensado
   pra home, onde a ilustração e o texto de copy ficam com altura
   parecida) - nas páginas --plain com título+lead curtos (sem botões, só
   2-3 linhas), a coluna de texto fica bem mais baixa que a ilustração
   (900x1143, bem alta), e align-items:end gruda as duas no fim da
   fileira - sobra um vão vazio enorme acima do texto, que lê como "hero
   quebrado"/"texto errado embaixo". Materiais Gratuitos nunca mostrou o
   bug por acaso (título de 3 linhas + lead de 3 linhas + 2 botões deixam
   a coluna de texto quase tão alta quanto a ilustração). Fix: centralizar
   as duas colunas verticalmente só nas páginas --plain (não mexe na
   home, que não usa --plain e claramente foi desenhada de propósito pra
   align-items:end). */
.yh-hero--plain .yh-hero__grid {
	align-items: center;
}

.yh-hero--plain .yh-hero__portrait {
	min-height: 380px;
}

.yh-hero--plain .yh-hero__portrait-img {
	max-width: 380px;
}

/* 2026-08-26: revertido de vez. Qualquer padding-bottom aqui estica a
   altura TOTAL do hero (o botão/texto ficam parados no topo, só o fim da
   seção desce) - o usuário apontou repetidamente que isso lê como "hero
   ficou mais alto/mais espaço em cima", não importa que tecnicamente o
   espaço adicionado fosse embaixo do conteúdo. A causa raiz de verdade
   não é falta de respiro - é a curva do clip-path (`.mg-hub .yh-hero`
   mais abaixo) ser funda demais (cortava ~52px pra dentro), quase tão
   funda quanto a onda antiga em SVG. A diferença é que a onda em SVG só
   desenhava por cima (não esticava a seção), enquanto o clip-path corta
   a seção de verdade - resolvido deixando a curva bem mais rasa em vez
   de esticar o hero pra caber uma curva funda. */

.yh-hero--plain .yh-hero__copy {
	padding-bottom: 40px;
}

/* Single-column plain heroes (page-parceiros.php, page-calculadoras.php,
   page-calculadora-fator-r.php) don't use .yh-hero__grid/.yh-hero__copy at
   all - title/lead sit directly in .yh-container, so they never picked up
   the padding-bottom above. .yh-hero itself has zero bottom padding by
   design (padding: 64px 0 0), so without this the hero's dark background
   hugged the last line of text with almost no breathing room before the
   white section below. */
.yh-hero--plain > .yh-container:not(.yh-hero__grid) {
	padding-bottom: 40px;
}

/* On the Materiais Gratuitos page specifically, the shared 40px above
   left the hero buttons and the wavy divider below them too tight -
   scoped through .mg-hub (that page's own <main> class) instead of
   changing the shared value above, which also serves Parceiros/
   Calculadoras/Mapa do Site without the same issue. */
.mg-hub .yh-hero--plain > .yh-container:not(.yh-hero__grid) {
	padding-bottom: 64px;
}

/* Same bug, same fix, on /ferramentas/ (page-ferramentas.php, <main>
   class .ai-hub) - achado do usuário em 2026-10-22 via screenshot (botão
   "Ver ferramentas de IA" quase encostando na onda). Never got the same
   .mg-hub treatment above even though the layout is identical (--plain
   hero + 2 buttons + SVG wave right after) - just scoped through a
   different page's <main> class. */
.ai-hub .yh-hero--plain > .yh-container:not(.yh-hero__grid) {
	padding-bottom: 64px;
}

/* Same adjustment as above, repeated against the correct selector now
   that this page's hero is a two-column layout (.yh-hero__grid, once an
   illustration was added next to the copy) - the rule above only matches
   `.yh-container:not(.yh-hero__grid)` (single-column heroes), so it no
   longer applies here; `.yh-hero__copy` is what carries this padding-
   bottom now. */
.mg-hub .yh-hero--plain .yh-hero__copy {
	padding-bottom: 64px;
}

/**
 * page-cidade-lp.php's hero (assets/img/cidade-lp/portrait-*.webp) - a
 * real bg photo, so it can't use .yh-hero--plain (that modifier's flat
 * lighter-navy background-color would fight the photo), but the base,
 * unscoped .yh-hero__portrait-img below defaults to max-width:480px -
 * fine for the actual home page (which always overrides it down via the
 * real ".home" body-class rules further down), but too large for this
 * hero's dual-subject portrait (person + phone mockup side by side,
 * nearly as tall as it is wide): at 480px wide it renders tall enough to
 * push .yh-hero__portrait past its own 480px min-height, growing the
 * whole hero section taller than intended - fixing the ".yh-home" vs
 * ".home" mix-up documented further down correctly stopped shrinking
 * this portrait to 380px, but nothing had ever set an INTENTIONAL cap
 * for this hero specifically, so it fell through to the oversized 480px
 * default. Mirrors .yh-hero--plain's own
 * proven portrait sizing cascade (380px desktop / 320px tablet / 220px
 * small phone - see the matching breakpoints further down) under its own
 * class instead of reusing --plain outright, since only the SIZING is
 * wanted here, not --plain's background-color/padding overrides.
 */
.yh-hero--cidade .yh-hero__portrait {
	min-height: 380px;
}

.yh-hero--cidade .yh-hero__portrait-img {
	max-width: 380px;
}

/* Retrato da página de Advogados pedido "um pouco menor" que o padrão
   --cidade de 380px (2026-09-11) - escopado só a essa página via a classe
   no <main>, mesmo padrão já usado em .yh-nicho-adulto, pra não encolher
   o retrato de nenhuma outra página que também usa .yh-hero--cidade
   (Cidade LP, Abertura de Empresa etc.). */
.yh-nicho-advogados .yh-hero--cidade .yh-hero__portrait-img {
	max-width: 320px;
}

/* Built for page-contabilidade-para-infoprodutores.php, where the
   portrait (person + phone mockup, same dual-subject shape as
   .yh-hero--cidade above) needed to read a bit bigger on desktop so it
   feels more aligned in weight with the hero copy beside it - first
   bumped 380px->440px, still visibly shorter than the copy column (measured
   live: copy column ~482px tall top-to-bottom vs. portrait ~400px tall
   at 440px wide, since .yh-hero__grid centers both columns vertically,
   so the shorter image just floated centered with visible gap above and
   below instead of reaching up to the pill at the copy column's own top
   edge). 530px keeps the image's own ~0.91 aspect ratio close enough to
   the copy column's real height for the two to read as the same vertical
   weight. Now a reusable modifier class (renamed from the
   infoprodutores-specific ".yh-segip" once page-contabilidade-para-
   afiliados.php started reusing the exact same portrait photo) rather
   than bumping the shared 380px default itself, which every other
   .yh-hero--plain segment/calculator page still relies on. Desktop/
   tablet only (min-width:961px) - the mobile breakpoints further down
   already set their own smaller caps and must keep winning there. */
@media (min-width: 961px) {
	.yh-hero--portrait-lg .yh-hero__portrait-img {
		max-width: 530px;
	}
}

.yh-hero__glow {
	position: absolute;
	left: 52%;
	top: 62%;
	transform: translate(-50%, -50%);
	width: 460px;
	height: 460px;
	background: radial-gradient(circle, rgba(81, 215, 217, .55) 0%, rgba(81, 215, 217, .3) 30%, rgba(69, 186, 196, .14) 52%, rgba(69, 186, 196, 0) 72%);
	filter: blur(18px);
	pointer-events: none;
}

.yh-hero__portrait-img {
	position: relative;
	max-width: 480px;
	width: 100%;
	height: auto;
	display: block;
	filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35));
}

/* The home hero's portrait crop is taller (waist-up) than the headshot
   crops other .yh-hero pages use, so the shared max-width above rendered
   it noticeably taller here - reaching up past the header. Meant to be
   scoped to ONLY the actual front page, other hero variants (LPs, segment
   pages) keeping their own 480px sizing - but was written as ".yh-home",
   the <main> class shared by EVERY .yh-hero page in this design system,
   not just the real home page, so it silently also shrank/nudged the
   portrait on every other page carrying that class. The real WordPress
   body class ".home" is what actually means "is the front page" -
   is_front_page() adds it via get_body_class(), and only front-page.php's
   <body> ever carries it. Rescoped to ".home .yh-hero__portrait-img" (WP's real front-page
   body class as the ancestor, same specificity as before) so this - and
   the matching mobile override further down - only ever apply on the
   actual home page again. Desktop only (min-width:961px) so it doesn't
   override the separate 320px/280px mobile sizing further down. */
@media (min-width: 961px) {
	.home .yh-hero__portrait-img {
		max-width: 380px;
		/* position:relative + top is a purely visual offset - it doesn't
		   reflow layout or change the hero section's own height, so this
		   is safe to nudge without affecting the section's size. */
		top: -12px;
	}
}

.yh-hero-stats {
	background: var(--background);
	border-bottom: 1px solid var(--border-color);
}

.yh-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: center;
	padding: 26px 0;
}

/* Desktop only: turn the stats bar into a floating card that straddles the
   hero/next-section boundary instead of sitting flush as a plain strip -
   the negative top/bottom margin pulls it half into the hero above and
   half into the section below. Skipped on mobile (see the max-width:960px
   block further down), where the stacked single-column bar doesn't have
   room to float without overlapping real content. */
@media (min-width: 961px) {
	.yh-hero-stats {
		background: transparent;
		border-bottom: none;
	}

	.yh-hero__stats {
		background: var(--background);
		border-radius: 24px;
		box-shadow: 0 24px 56px rgba(11, 42, 73, .18);
		padding: 30px 20px;
		margin: -52px 0;
		position: relative;
		z-index: 6;
	}

	/* Bumped up from the shared .partner-media-block__img--photo default
	   (max-height:420px) - the text column here runs ~536px tall (a 3-line
	   H2 plus lead, 4 list items and a button), which left the image
	   looking visually small and unbalanced next to it. ".yh-pain" descendant selector
	   (0,2,0) instead of overriding the shared class directly, so Spedy's
	   pain-point.webp (same --photo class, different page) keeps its own
	   420px cap untouched. Only at min-width:961px, matching where this
	   image sits beside the text (partner-media-block collapses to a
	   single stacked column below 900px, where 420px is still fine). */
	.yh-pain .partner-media-block__img--photo {
		max-height: 540px;
	}
}

.yh-hero__stat {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 0 24px;
	text-align: left;
}

.yh-hero__stat + .yh-hero__stat {
	border-left: 1px solid var(--border-color);
}

.yh-hero__stat-icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1.5px solid var(--yangoo-turquoise);
	color: var(--yangoo-turquoise);
}

.yh-hero__stat strong {
	display: block;
	font-size: 16px;
	color: var(--yangoo-navy);
}

.yh-hero__stat span {
	font-size: 12.5px;
	color: var(--text-secondary);
}

/* Sections */
.yh-section {
	padding: 64px 0;
}

.yh-section--soft {
	background: var(--background-soft);
}

.yh-section--navy {
	background: var(--yangoo-navy-dark);
	color: var(--yangoo-white);
}

/* Cidade LP: link to the counterpart page in the other vertical (Abertura
   <-> Contabilidade for the same city), sitting right after the final
   CTA. Given real spacing and visual weight rather than staying a small
   gray <p> tucked directly under the CTA (padding-top:8px) - that earlier
   treatment was nearly invisible and lacked the same rhythmic breathing
   room that separates every other section (.yh-section uses 64px). Now it
   gets the same vertical breathing room as a normal section, and the link
   itself is a pill with background/border/bold weight, not loose text -
   it reads as a real next step, not a footnote. */
.yh-interlink {
	padding: 56px 0;
}

.yh-interlink__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--yangoo-navy);
	background: var(--background-soft);
	border: 1px solid var(--border-color);
	border-radius: 999px;
	padding: 14px 28px;
	text-decoration: none;
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.yh-interlink__arrow {
	transition: transform .2s ease;
}

.yh-interlink__link:hover,
.yh-interlink__link:focus-visible {
	background: var(--yangoo-turquoise);
	border-color: var(--yangoo-turquoise);
	color: var(--yangoo-white);
	transform: translateY(-1px);
}

.yh-interlink__link:hover .yh-interlink__arrow,
.yh-interlink__link:focus-visible .yh-interlink__arrow {
	transform: translateX(3px);
}

@media ( max-width: 600px ) {
	.yh-interlink {
		padding: 40px 0;
	}
	.yh-interlink__link {
		font-size: 14.5px;
		padding: 12px 20px;
		text-align: center;
	}
}

.yh-section__title {
	font-size: 28px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--yangoo-navy);
	margin: 0 0 16px;
	max-width: 780px;
}

/* "Segmentos atendidos" carousel - Cora-style: intro text pinned on the
   left, cards scroll on the right. Not a native overflow-x scroller on
   purpose (mouse wheel/trackpad scroll deliberately does nothing here,
   matching the reference) - .yh-carousel__track is moved with a JS-driven
   transform instead (assets/js/home-yangoo.js), driven only by the arrow
   buttons, the dots, or a mouse/touch drag. */
/* Fades the section's own gray background from white at the very top down
   to the full --background-soft tone - a soft blend into the white section
   above instead of a hard color edge (an earlier wave-shaped SVG here read
   as a stray gray shape floating on the white section, not a transition).
   Section needs position:relative for the overlay to anchor to. */
.yh-segments {
	position: relative;
	/* position:relative alone (z-index:auto) does NOT create a new stacking
	   context - the ::before gradient below (z-index:-1) would then be
	   hoisted up to compete with OTHER sections on the page instead of
	   staying contained here, which is why it wasn't visible at all. An
	   explicit z-index seals this section into its own stacking context. */
	z-index: 0;
}

.yh-segments::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 130px;
	background: linear-gradient(to bottom, var(--background) 0%, var(--background-soft) 100%);
	pointer-events: none;
	/* Negative z-index puts this behind the section's non-positioned
	   in-flow content (heading, cards) - a positioned element with
	   z-index:auto/0 would otherwise paint ON TOP of that in-flow content
	   regardless of DOM order, hiding the heading text behind the gradient. */
	z-index: -1;
}

/* The gradient above assumes the section directly ABOVE .yh-segments is
   white (--background) - true on the home page (.yh-statement is plain).
   On Cidade LP ("Contabilidade em"), "Sobre a cidade" (.yh-section--soft)
   can sit directly above .yh-segments instead - the gradient then fades
   FROM white even though the section above is already the soft gray
   tone, painting a bright white streak right at the seam before
   darkening back to soft: a visible mismatch and an abrupt cut, not a
   transition.
   Simply suppressing the gradient outright (matching flat colors on both
   sides) removes the cut but isn't a real fix either - it just erases any
   distinction between the two sections. What's wanted instead: keep the
   two sections *visibly* distinct (the way --soft sections already read
   as a deliberate tint elsewhere on the site) but blend gradually between
   them instead of cutting hard. Fix: when preceded by --soft, .yh-segments settles into
   --background-blue-soft (a related, still-neutral tint) instead of
   --background-soft, and its own ::before gradient starts at
   --background-soft (matching the section above exactly, zero jump at the
   seam) and eases into --background-blue-soft over a taller span (220px vs
   the default 130px, so the shift reads as gradual, not sudden). */
.yh-section--soft + .yh-segments {
	background: var(--background-blue-soft);
}

.yh-section--soft + .yh-segments::before {
	height: 220px;
	background: linear-gradient(to bottom, var(--background-soft) 0%, var(--background-blue-soft) 100%);
}

/* Wavy bottom edge for "Segmentos atendidos" on Cidade LP, same technique
   as .yh-hero__wave (a shallow SVG curve instead of a hard straight line
   where the section ends). Filled white (var(--background)) to match
   "O que está incluso" right below it, the same direction .yh-hero__wave
   already uses (wave dips into THIS section, revealing the color of the
   one below through the dip).
   A 16-unit amplitude (vs. the hero wave's ~55) at only 46px tall looked
   gentler on paper, but in practice rendered as a flat, straight line,
   not merely subtle. Bumped to a 34-unit amplitude at the same 60px
   height the other waves on the site use - still a single, gentle hump
   (one curve, not the hero's double-wave), just no longer so shallow it
   reads as invisible. */
.yh-segments__wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	width: 100%;
	height: 60px;
	display: block;
}

.yh-segments__layout {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 40px;
	align-items: center;
}

.yh-segments__intro .yh-section__title,
.yh-segments__intro .yh-section__lead {
	max-width: none;
}

/* .yh-highlight defaults to aqua for the dark hero - too washed out on this
   section's light background, so it's swapped for the deeper turquoise
   here instead. */
.yh-segments__intro .yh-highlight {
	color: var(--yangoo-turquoise);
}

/* Cards float slightly above the section's own top edge, into the gradient
   transition, instead of starting flush with it - the "cards begin before
   the line" effect. Positive z-index keeps them above that gradient. */
.yh-carousel {
	position: relative;
	z-index: 2;
	min-width: 0;
	/* -4px is where the cards should visually sit (floating just slightly
	   above the section's edge, low enough to align with the intro text
	   column next to it instead of floating noticeably higher); the extra
	   -50px matches .yh-carousel__viewport's own padding-top below, so the
	   card's top edge still lands in that same spot despite the padding. */
	margin-top: -54px;
}

.yh-carousel__viewport {
	overflow: hidden;
	/* Room for the hover lift/curve transform and box-shadow to render
	   without overflow:hidden cutting them off - cards used to sit flush
	   against the viewport's edges. Two fancier attempts before this one
	   (overflow-x/y axis-splitting, then clip-path) both turned out to
	   have real failure modes in practice (see git history) - plain
	   overflow:hidden with real padding is the boring option, but it's
	   the one with no surprises.
	   Horizontal padding is kept deliberately small (16px, less than
	   .yh-container's own 24px) and margin-left/right fully cancels it -
	   going bigger than the container's padding is exactly what leaked
	   the track's width into the page before and caused a site-wide
	   horizontal scroll.
	   Vertical padding is generous (50px) since there's no equivalent
	   page-overflow risk there, but margin-bottom is deliberately NOT
	   given a matching negative value - canceling it would pull
	   .yh-carousel__controls (the arrow buttons) up into this padding's
	   space, physically overlapping them, which is what made clicks land
	   inconsistently before. Left uncancelled, it just adds a bit of real
	   gap above the arrows instead - a worse trade would be reintroducing
	   either of the two bugs above. */
	padding: 50px 16px 50px;
	margin: -50px -16px 0;
	/* Fades the first/last visible cards toward transparent instead of a
	   hard clip - the "cards ease in/out at the edges" effect from the
	   reference. */
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}

.yh-carousel__track {
	display: flex;
	gap: 20px;
	cursor: grab;
	touch-action: pan-y;
}

.yh-carousel__track.is-dragging {
	cursor: grabbing;
}

/* The curve effect (JS, home-yangoo.js) sets translateY/rotate here, based
   on each card's live distance from the viewport center - closer to center
   = flatter/higher, further out = tilted/lower. Kept on this wrapper, not
   on .yh-carousel__card itself, because the card already owns its own
   transform for the hover lift - an inline JS transform on the same
   element would just overwrite that CSS hover transform outright. */
/* .yh-carousel__track has no align-items set, so its default (stretch)
   already makes every wrap match the tallest one in the row - the wrap
   just needs to be a flex container itself so its own child (the card)
   can grow to fill that stretched height, instead of sizing to its own
   content and leaving the wrap taller than the visible card underneath. */
.yh-carousel__card-wrap {
	flex: 0 0 264px;
	display: flex;
}

.yh-carousel__card {
	flex: 1;
	display: flex;
	flex-direction: column;
	background: var(--background);
	border: 1px solid rgba(11, 42, 73, .07);
	border-radius: 18px;
	padding: 30px 26px;
	text-decoration: none;
	box-shadow: 0 3px 10px rgba(11, 42, 73, .04);
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
	-webkit-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
	/* The browser's default focus outline is a sharp rectangle that ignores
	   border-radius entirely - on a rounded, hover-lifted card that reads
	   as the card getting "cut into" at the corners. Never had a custom
	   focus style here before, so that default was the only thing showing.
	   box-shadow respects border-radius, so it's used as the replacement
	   focus ring below instead of just suppressing outline outright. */
	outline: none;
}

/* Gated behind (hover: hover) for the same reason as the arrow buttons
   above - on a touchscreen, :hover has no real "pointer left" event to end
   it, so tapping a card would leave it permanently lifted/highlighted
   until a different card was tapped, instead of just following the link. */
@media ( hover: hover ) {
	.yh-carousel__card:hover {
		border-color: color-mix(in srgb, var(--yangoo-turquoise) 45%, transparent);
		transform: translateY(-5px);
		box-shadow: 0 20px 36px rgba(11, 42, 73, .14);
	}

	.yh-carousel__card:hover .yh-carousel__card-icon {
		background: var(--yangoo-turquoise);
		color: #fff;
		transform: scale(1.06);
	}

	.yh-carousel__card:hover .yh-carousel__card-more {
		gap: 9px;
	}
}

.yh-carousel__card:focus-visible {
	border-color: var(--yangoo-turquoise);
	box-shadow: 0 0 0 3px var(--background-blue-soft), 0 16px 32px rgba(11, 42, 73, .12);
}

.yh-carousel__card-icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 15px;
	background: linear-gradient(155deg, var(--background-blue-soft), color-mix(in srgb, var(--yangoo-turquoise) 24%, var(--background-blue-soft)));
	color: var(--yangoo-turquoise);
	margin-bottom: 20px;
	transition: background .2s ease, color .2s ease, transform .2s ease;
}

.yh-carousel__card h3 {
	font-size: 18.5px;
	font-weight: 800;
	color: var(--yangoo-navy);
	margin: 0 0 9px;
}

.yh-carousel__card p {
	font-size: 13.5px;
	color: var(--text-secondary);
	line-height: 1.55;
	margin: 0;
	flex: 1;
}

.yh-carousel__card-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 20px;
	font-size: 13.5px;
	transition: gap .2s ease;
	font-weight: 700;
	color: var(--yangoo-turquoise);
}

.yh-carousel__controls {
	display: flex;
	align-items: center;
	gap: 16px;
	/* .yh-carousel__viewport's own bottom padding (50px, deliberately not
	   margin-cancelled - see its comment) already adds real space above
	   this row, so it needs little of its own on top of that. */
	margin-top: 4px;
}

.yh-carousel__arrow[type="button"],
.yh-carousel__arrow[type="button"]:hover,
.yh-carousel__arrow[type="button"]:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: none;
	background: var(--background);
	color: var(--yangoo-navy);
	box-shadow: 0 6px 18px rgba(11, 42, 73, .14);
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

/* :hover on its own is gated behind (hover: hover) - touchscreens fake a
   hover state on tap with no real "pointer left the element" event to end
   it, so it was getting stuck turquoise until a *different* element was
   tapped (the other arrow) instead of releasing right away like :active
   does. Real mice/trackpads (which report hover:hover) are unaffected -
   they still get the turquoise fill on actual mouse-over. */
@media ( hover: hover ) {
	.yh-carousel__arrow[type="button"]:hover {
		background: var(--yangoo-turquoise);
		color: #fff;
		box-shadow: 0 10px 24px rgba(69, 186, 196, .38);
		outline: none;
	}
}

.yh-carousel__arrow[type="button"]:focus-visible {
	background: var(--yangoo-turquoise);
	color: #fff;
	box-shadow: 0 10px 24px rgba(69, 186, 196, .38);
	outline: none;
}

.yh-carousel__arrow[type="button"]:active {
	transform: scale(.94);
}

.yh-carousel__arrow[type="button"]:disabled {
	opacity: .35;
	cursor: default;
	box-shadow: none;
}

/* flex:1 fills the space between the two arrows and centers the dots
   within it - since the arrows stay a fixed 48px each, this naturally
   pins one arrow to the left edge and one to the right edge of the row,
   with the dots always centered in the middle between them. */
.yh-carousel__dots {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.yh-carousel__dot[type="button"] {
	position: relative;
	width: 8px;
	height: 8px;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: var(--border-color);
	cursor: pointer;
	transition: width .2s ease, background-color .2s ease;
}

/* The visible dot is deliberately tiny (8px) - widening it would change the
   carousel's look - but an 8px tap target is well under the ~24px minimum
   every touch-target guideline recommends (confirmed via a mobile
   responsiveness audit, 2026-10-21). A pseudo-element extends the actual
   clickable box without touching the visual size: still part of the
   <button>'s own hit area, so a tap anywhere in the invisible padding still
   registers as a click on the dot. */
.yh-carousel__dot[type="button"]::before {
	content: '';
	position: absolute;
	inset: -8px;
}

.yh-carousel__dot[type="button"].is-active {
	width: 22px;
	background: var(--yangoo-turquoise);
}

/* Without an explicit hover/focus rule here, these fall through to the
   parent theme's generic [type=button]:hover/:focus reset (border/
   background #c36, hot pink) - same bug documented elsewhere in this file
   for any custom button that doesn't repeat [type="button"] on every
   state, just never applied to the dots until now. :focus (not just
   :focus-visible) is included too - a mouse click leaves the button
   :focus without necessarily matching :focus-visible in some browsers,
   which would otherwise still leak the parent's pink on click. */
.yh-carousel__dot[type="button"]:hover,
.yh-carousel__dot[type="button"]:focus,
.yh-carousel__dot[type="button"]:focus-visible {
	background: var(--yangoo-turquoise);
}

@media (max-width: 900px) {
	.yh-segments__layout {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	/* Stacked layout puts the intro text directly above the carousel - the
	   desktop-only "cards float above the wave" overlap would run the
	   negative margin straight into the intro paragraph instead. */
	.yh-carousel {
		margin-top: 0;
	}
}

.yh-section__title--light {
	color: var(--yangoo-white);
}

.yh-section__lead {
	font-size: 15.5px;
	color: var(--text-secondary);
	line-height: 1.6;
	max-width: 720px;
	margin: 0 0 32px;
}

.yh-section__lead--light {
	color: var(--border-color);
}

/**
 * Subheading for a bare <h3> sitting directly in prose content (not
 * inside a .yh-card/.yh-steps li, which already have their own scoped
 * `h3` rule) - e.g. page-contabilidade-para-infoprodutores.php's
 * "CNPJ para infoprodutor"/"Qual CNAE usar..." pair and the "O que é
 * contabilidade..." long-form section further down. Without this, a bare
 * h3 falls through to the PARENT theme's own reset.css, which sets
 * h3{font-size:1.75rem (28px); font-weight:500} - visually almost
 * identical to .yh-section__title's own 28px/800 H2 styling right above
 * it, reading as unstyled and the same size as the title. Same recurring
 * bug pattern seen throughout this codebase: the parent theme leaks
 * through whenever a plain tag has no scoped rule of its own.
 */
.yh-section__subtitle {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--yangoo-navy);
	margin: 28px 0 10px;
}

/* Grids and cards */
.yh-grid-2,
.yh-grid-3,
.yh-grid-4,
.yh-grid-5 {
	display: grid;
	gap: 20px;
	margin-bottom: 24px;
}

.yh-grid-2 {
	grid-template-columns: repeat(2, 1fr);
}

.yh-grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

.yh-grid-4 {
	grid-template-columns: repeat(4, 1fr);
}

/**
 * .yh-section__title has its own max-width (780px, see below) with no
 * margin-inline:auto - fine for every left-aligned section, but any
 * section that centers its content via a parent text-align:center (like
 * page-cidade-lp.php's "Atendimento digital" block used to) only gets its
 * TEXT centered inside that fixed-width box, not the box itself, which
 * still sits flush left - reads as a title that's randomly off-center
 * versus the paragraph below it (which usually DOES have margin:0 auto).
 * Utility class instead of patching text-align:center to also carry this, since several
 * places already reach for a one-off inline
 * style="margin-left:auto;margin-right:auto;" for the exact same problem
 * (page-mapa-do-site.php, page-cidade-lp.php's own final CTA) - this just
 * gives that fix a real, reusable name.
 */
.yh-section__title--center {
	margin-left: auto;
	margin-right: auto;
}

/* Same problem, same fix, but for .yh-section__lead (720px max-width, no
   margin-inline:auto by default either) - used by the "Reforma tributária"
   section on Cidade LP, which moved to a centered single-column layout at
   the end of the page. */
.yh-section__lead--center {
	margin-left: auto;
	margin-right: auto;
}

/**
 * Reusable 2-column "text block next to an image" section layout (not
 * hero-specific, for regular .yh-section content) - first used for the
 * city LP "Atendimento digital" mockup image next to its text/cards.
 */
.yh-media-row {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 40px;
	align-items: center;
}

.yh-media-row__img {
	width: 100%;
	height: auto;
	display: block;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35));
}

/* Opt-out for images that already have their own drop shadow baked in
   (or that just look better flat) - the CNPJ/CNAE and MEI illustrations
   on page-contabilidade-para-infoprodutores.php. Scoped to a modifier
   class, not a change to .yh-media-row__img itself, since that shared
   class is also used by ~292 Cidade LP pages and this same page's own
   "certificação" section (Mileide's photo), none of which want this
   treatment. */
.yh-media-row__img--no-shadow {
	filter: none;
}

@media (max-width: 900px) {
	.yh-media-row {
		grid-template-columns: 1fr;
	}
}

/**
 * "Certificação" section on page-contabilidade-para-infoprodutores.php
 * (Mileide's photo over a full-bleed office-corridor background, darkened
 * like a banner) - a one-off treatment, not folded into .yh-hero__bg/
 * .yh-hero__overlay/.yh-hero__portrait (those carry stacking-context and
 * grid assumptions tied to .yh-hero specifically, and are already shared
 * by every hero on the site - safer to keep this scoped to its own
 * classes than risk a regression on every other page that reuses those).
 * Background image URL comes from an inline custom property
 * (--cert-bg, set via style="" on the section itself) so this CSS block
 * stays generic/reusable rather than hardcoding one page's asset path.
 */
.yh-cert-banner {
	position: relative;
	overflow: hidden;
	/* Section's own top padding kept, bottom padding zeroed - the portrait
	   below needs to reach the section's true bottom edge with nothing
	   under it; .yh-cert-banner__copy (further below) restores breathing
	   room under the TEXT column only, so the two columns don't end up
	   both glued to the bottom. */
	padding: 64px 0 0;
}

.yh-cert-banner__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: var(--cert-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.yh-cert-banner__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	/* Darker at top/bottom, slightly lighter through the middle band where
	   the corridor's own lit windows already show through - keeps the
	   photo readable as a background instead of a flat navy fill, while
	   still reading as "darkened, banner-style" per the request. */
	background: linear-gradient(180deg, rgba(6, 22, 41, .88) 0%, rgba(6, 22, 41, .74) 45%, rgba(6, 22, 41, .9) 100%);
}

.yh-cert-banner > .yh-container {
	position: relative;
	z-index: 1;
}

.yh-cert-banner .yh-media-row {
	/* Bottom-align both grid items instead of centering them - the image
	   then naturally sits flush with the row's bottom edge (which, with
	   the section's own bottom padding zeroed above, IS the section's
	   true bottom edge) instead of floating with empty space under it. */
	align-items: flex-end;
}

.yh-cert-banner__copy {
	padding-bottom: 40px;
}

/* Guards padding-bottom:0 at every viewport, including the ≤600px
   .yh-section override (padding:44px 0) further down this file, which
   otherwise wins the cascade at equal specificity (0,1,0 each) by
   coming later in source order - reintroducing bottom padding on mobile
   and making the portrait float with a gap under it instead of touching
   the section's true bottom edge. Compound selector (both classes this
   section already carries) for the extra specificity (0,2,0) needed to
   always win regardless of source order. */
.yh-section.yh-cert-banner {
	padding-bottom: 0;
}

/* Capped narrower than the column it sits in (unlike every other
   .yh-media-row on this page, which lets the photo fill its whole
   column) - the text here is short, so a full-width photo made the
   whole section read as oversized/disproportionate. Right-aligned
   within the column so it still reads as anchored to the section's
   edge, same visual intent as before, just at a smaller scale. */
.yh-cert-banner .yh-media-row__img {
	max-width: 300px;
	margin: 0 0 0 auto;
}

@media (max-width: 900px) {
	.yh-cert-banner .yh-media-row__img {
		max-width: 240px;
		margin: 0 auto;
	}
	/* Stacked layout on mobile (.yh-media-row collapses to 1 column at
	   this same breakpoint) - the 40px gap under the text made sense as
	   breathing room next to a side-by-side photo, but read as an overly
	   large gap ABOVE the photo once stacked. */
	.yh-cert-banner__copy {
		padding-bottom: 16px;
	}
}

/**
 * "Um dos sócios é advogado" section, page-contabilidade-para-advogados.php
 * (2026-09-25) - reuses .yh-media-row, but the photo here is the same
 * 480x480 team headshot already used in front-page.php's team grid, not a
 * big lifestyle shot - constrained to a circular portrait (same ring
 * treatment as .yh-team__avatar) instead of stretching a comparatively
 * low-res square photo across the whole column, same reasoning already
 * documented for .yh-cert-banner above.
 */
.yh-lawyer-intro .yh-media-row__img {
	max-width: 260px;
	border-radius: 50%;
	margin: 0 auto;
	box-shadow: 0 0 0 5px var(--background-soft), 0 0 0 8px var(--yangoo-turquoise);
}

@media (max-width: 900px) {
	.yh-lawyer-intro .yh-media-row__img {
		max-width: 200px;
	}
}

/* "O que é contabilidade para infoprodutores?" section (long-form
   paragraphs, page-contabilidade-para-infoprodutores.php) - requested
   justified text. Scoped to this wrapper class rather than
   .yh-section__lead itself, since that class is reused sitewide for
   short 1-2 line intros where justify would do nothing useful (or read
   oddly on the rare short last line) and isn't wanted by default. */
.yh-text-justify p {
	text-align: justify;
	text-justify: inter-word;
}

/* .yh-section__title (max-width:780px) and .yh-section__lead
   (max-width:720px) have no margin-inline:auto by default, so inside
   this section's full 1200px .yh-container they hugged the left edge
   and left a big empty gap on the right - reported back as lopsided.
   2026-08-28: first attempt narrowed and centered the whole text column
   inline the container to close that gap symmetrically - wrong read of
   the request. What was actually wanted: text keeps starting at the same
   left edge as every other section on the site (the .yh-container edge),
   but STRETCHES all the way to the same right edge too, instead of being
   capped at 720-780px partway across - i.e. just remove the cap, don't
   also shrink/recenter the block. Left-aligned like everywhere else,
   simply not artificially narrow. */
.yh-text-justify .yh-section__title,
.yh-text-justify .yh-section__lead {
	max-width: none;
}

/**
 * Mirror layout - image on the LEFT, text on the right, for a page with
 * two .yh-media-row sections back to back (page-contabilidade-para-
 * infoprodutores.php's CNAE/CNPJ and MEI sections) where alternating sides
 * reads better than two identical text-left/image-right blocks in a row.
 * Swaps which column gets the wider .fr - the text stays the bigger
 * column either way, matching .partner-media-block--reverse's existing
 * precedent in partners.css for the exact same idea. Markup order is
 * intentionally NOT swapped (text div still comes first in the HTML,
 * image second) - `order` reorders the visual position only, so a screen
 * reader/crawler still meets the actual page copy before a purely
 * decorative illustration, consistent with every other section on the
 * page. Collapses to the same 1-column stack as the normal .yh-media-row
 * at 900px, where left/right no longer has meaning.
 */
.yh-media-row--reverse {
	grid-template-columns: .9fr 1.1fr;
}

.yh-media-row--reverse .yh-media-row__img {
	order: -1;
}

/* The 900px collapse rule for plain .yh-media-row (defined further up
   this file) is a single-class selector (0,1,0) - too weak to beat
   .yh-media-row--reverse's own single-class rule above at the SAME
   specificity, since .yh-media-row--reverse comes later in the file and
   wins source-order ties. Without this, the "collapses at 900px" claim in
   the comment above was never actually true - confirmed live on a real
   phone viewport, where the reverse row stayed jammed into its 2-column
   .9fr/1.1fr split at 375px wide instead of stacking.
   2026-08-28: order:-1 (image first/on top, text below) used to be kept
   on purpose here, on the theory that it mirrors the desktop's left/
   right split as a top/bottom one on mobile - reported back as a real
   bug on page-contabilidade-para-infoprodutores.php's MEI and Kiwify
   sections (image floating above the heading reads as broken, not
   "mirrored"). order reset to the DOM's natural 0 below, so every
   reversed row collapses to the same "text first, image after" stacking
   order as a normal (non-reversed) .yh-media-row on mobile - reversal
   only ever meant something as a left/right choice, which stops applying
   once there's only one column anyway. */
@media (max-width: 900px) {
	.yh-media-row--reverse {
		grid-template-columns: 1fr;
	}
	.yh-media-row--reverse .yh-media-row__img {
		order: 0;
	}
}

/**
 * "Sobre a cidade" (page-cidade-lp.php) - real prose text on the left,
 * a small stat grid on the right (2 compact cards + 1 wide card spanning
 * both columns for the "setores econômicos" summary). Redesigned to
 * replace an earlier version where 3 equal-weight cards (one of which was
 * really just a sentence, not a stat) read as generic and decorative
 * rather than like real local content.
 */
.yh-city-stats {
	display: grid;
	grid-template-columns: .85fr 1fr;
	gap: 36px;
	align-items: start;
}

.yh-city-stats__text h3 {
	font-size: 19px;
	font-weight: 800;
	color: var(--yangoo-navy);
	margin: 0 0 10px;
}

.yh-city-stats__text p {
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--text-secondary);
	margin: 0 0 16px;
}

/* Higher specificity than the generic ".yh-city-stats__text p" above
   (2 classes vs 1 class + 1 element) so this wins the color override
   regardless of source order. */
.yh-city-stats__text .yh-city-stats__note {
	color: var(--yangoo-navy);
	font-weight: 700;
	margin-bottom: 0;
}

.yh-city-stats__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.yh-city-stat {
	background: var(--background);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 20px;
	text-align: center;
}

.yh-city-stat__num {
	display: block;
	font-size: 27px;
	font-weight: 800;
	color: var(--yangoo-navy);
}

.yh-city-stat__label {
	display: block;
	font-size: 13px;
	color: var(--text-secondary);
	margin-top: 4px;
}

.yh-city-stat__source {
	display: block;
	font-size: 11px;
	font-style: italic;
	color: var(--text-secondary);
	opacity: .75;
	margin-top: 8px;
}

.yh-city-stat--wide {
	grid-column: 1 / -1;
	text-align: left;
	display: flex;
	align-items: center;
	gap: 14px;
}

.yh-city-stat--wide .yh-city-stat__icon {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--background-blue-soft);
	color: var(--yangoo-turquoise);
	display: flex;
	align-items: center;
	justify-content: center;
}

.yh-city-stat__label--wide {
	margin-top: 0;
	font-weight: 700;
	color: var(--yangoo-navy);
	font-size: 14px;
}

.yh-city-stat__sectors {
	display: block;
	font-size: 13px;
	color: var(--text-secondary);
	margin-top: 2px;
}

@media (max-width: 900px) {
	.yh-city-stats {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.yh-city-stats__grid {
		grid-template-columns: 1fr;
	}
	.yh-city-stat--wide {
		grid-column: auto;
	}
}

.yh-grid-5 {
	grid-template-columns: repeat(5, 1fr);
}

.yh-card {
	background: var(--background);
	border: 1px solid var(--border-color);
	border-radius: 10px;
	padding: 22px;
}

.yh-card h3 {
	font-size: 16px;
	color: var(--yangoo-navy);
	margin: 0 0 8px;
}

.yh-card p {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.55;
	margin: 0;
}

/* .yh-card--service (2026-11-08): variante pra cards de serviço com texto
   mais longo (~65-100 palavras, 2 parágrafos) em vez do resumo de 1-2
   linhas padrão do .yh-card base - pedido do usuário na página de
   Produtoras Audiovisuais (análise de SEO própria dele, item 2: "a solução
   não é reduzir a informação, é melhorar a apresentação"). Fonte maior
   (16px em vez de 14px), entrelinha mais folgada, ícone pequeno no topo e
   mais respiro entre os parágrafos - escopado como modificador, não muda
   o .yh-card padrão usado em todo o resto do site. */
.yh-card--service {
	padding: 28px;
}

.yh-card--service__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: linear-gradient(155deg, var(--background-blue-soft), color-mix(in srgb, var(--yangoo-turquoise) 24%, var(--background-blue-soft)));
	color: var(--yangoo-turquoise);
	margin-bottom: 14px;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

/* 2026-11-08: hover/ícones "bonitos" pedidos pelo usuário, no mesmo
   espírito do .yh-carousel__card da home (ícone com fundo gradiente,
   cartão levanta e o ícone inverte de cor no hover) - escopado a
   .yh-card--service/.yh-card--guide, classes exclusivas desta página, sem
   risco de afetar nenhuma outra. */
@media (hover: hover) {
	.yh-card--service:hover,
	.yh-card--guide:hover {
		border-color: color-mix(in srgb, var(--yangoo-turquoise) 45%, transparent);
		transform: translateY(-4px);
		box-shadow: 0 16px 30px rgba(11, 42, 73, .12);
	}

	.yh-card--service:hover .yh-card--service__icon,
	.yh-card--guide:hover .yh-card--guide__icon {
		background: var(--yangoo-turquoise);
		color: #fff;
		transform: scale(1.06);
	}
}

.yh-card--service,
.yh-card--guide {
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.yh-card--service h3 {
	font-size: 17px;
	line-height: 1.35;
	margin-bottom: 10px;
}

.yh-card--service p {
	font-size: 16px;
	line-height: 1.65;
}

.yh-card--service p + p {
	margin-top: 10px;
}

/* .yh-grid-2--services: mesmo grid de 2 colunas de .yh-grid-2, só com mais
   espaço entre os cards (eles são bem mais altos que o .yh-grid-2 padrão
   costuma ter) - continua colapsando pra 1 coluna no mobile via a mesma
   regra de .yh-grid-2 já existente no breakpoint de 900px. */
.yh-grid-2--services {
	gap: 24px;
}

/* .yh-card--guide (2026-11-08): variante compacta do .yh-card, pedida pelo
 * usuário pra substituir a antiga seção "Guia completo" em prosa por uma
 * vitrine curta (3 cards + botão) que aponta pro guia dedicado em
 * /guias/produtoras-audiovisuais-guia/ - ícone pequeno e título na mesma
 * linha (não empilhado como .yh-card--service), 1 parágrafo curto embaixo.
 * Reusável por qualquer página futura que precise do mesmo "teaser de
 * guia" dentro de uma landing comercial. */
.yh-card--guide h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	margin-bottom: 10px;
}

.yh-card--guide__icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: linear-gradient(155deg, var(--background-blue-soft), color-mix(in srgb, var(--yangoo-turquoise) 24%, var(--background-blue-soft)));
	color: var(--yangoo-turquoise);
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

/* .yh-card--dark-icon (2026-11-08): variante de .yh-card--dark com ícone
   temático por card ("Para quem é") + hover - escopada só a esta página
   (seletor prefixado com .yh-produtoras-audiovisuais), já que
   .yh-card--dark sozinho é reaproveitado por outras páginas/pela home e
   não deve ganhar hover sem ter sido pedido lá. */
.yh-card--dark-icon__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .08);
	color: var(--yangoo-aqua);
	margin-bottom: 12px;
	transition: background-color .2s ease, transform .2s ease;
}

.yh-produtoras-audiovisuais .yh-card--dark-icon {
	transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

@media (hover: hover) {
	.yh-produtoras-audiovisuais .yh-card--dark-icon:hover {
		border-color: rgba(81, 215, 217, .4);
		background: rgba(255, 255, 255, .09);
		transform: translateY(-4px);
	}

	.yh-produtoras-audiovisuais .yh-card--dark-icon:hover .yh-card--dark-icon__icon {
		background: var(--yangoo-aqua);
		color: var(--yangoo-navy);
		transform: scale(1.06);
	}
}

/* .yh-regularize (2026-11-08): bloco "regularização" reescrito a pedido do
   usuário (análise de SEO, item 5) - texto à esquerda, painel com 4 pontos
   à direita, em vez do antigo .yh-cta-block centralizado de uma frase só.
   Reaproveita a mesma linguagem visual do círculo numerado já usada em
   .yh-steps, só empilhada verticalmente dentro de um card em vez de em
   grade horizontal. */
.yh-regularize {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 48px;
	align-items: start;
}

.yh-regularize__text p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-secondary);
	margin: 0 0 14px;
}

.yh-regularize__panel {
	background: var(--background);
	border: 1px solid var(--border-color);
	border-radius: 14px;
	padding: 28px;
	display: grid;
	gap: 22px;
}

.yh-regularize__point {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.yh-regularize__point-number {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--yangoo-aqua);
	color: var(--yangoo-navy);
	font-weight: 800;
	font-size: 14px;
}

.yh-regularize__point h3 {
	font-size: 16px;
	color: var(--yangoo-navy);
	margin: 0 0 4px;
}

.yh-regularize__point p {
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-secondary);
	margin: 0;
}

/* .yh-regularize__note (2026-11-08): achado do usuário - a coluna de texto
 * e o painel de pontos ficavam visivelmente assimétricos em altura (o
 * painel sobrava ~165px mais curto). Em vez de só inflar o padding/gap
 * sem substância, somei conteúdo real: um 5º ponto ("Atendimento 100%
 * digital", já verdadeiro no resto da página) + esta faixa final,
 * separada por divisor, reforçando o convite a falar com a equipe - some
 * à altura do painel de forma honesta, não só decorativa. */
.yh-regularize__note {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--border-color);
}

.yh-regularize__note svg {
	flex: none;
	color: var(--yangoo-turquoise);
	margin-top: 2px;
}

.yh-regularize__note p {
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-secondary);
	margin: 0;
}

@media (max-width: 900px) {
	.yh-regularize {
		grid-template-columns: 1fr;
	}
}

/* .yh-produtoras-audiovisuais (2026-11-08): 3 ajustes visuais pontuais no
 * hero, pedidos pelo usuário na mesma análise de SEO (item 4) - escopados
 * só a esta página (classe no <main>), não ao .yh-hero--plain compartilhado
 * por outras páginas de Segmentos/Contrate.
 */
.yh-produtoras-audiovisuais .yh-hero__glow {
	width: 520px;
	height: 520px;
	background: radial-gradient(circle, rgba(81, 215, 217, .68) 0%, rgba(81, 215, 217, .4) 30%, rgba(69, 186, 196, .18) 52%, rgba(69, 186, 196, 0) 72%);
}

.yh-produtoras-audiovisuais .yh-hero__lead {
	color: rgba(255, 255, 255, .85);
}

.yh-produtoras-audiovisuais .yh-hero .yh-btn-row {
	margin-top: 26px;
}

/* 2026-11-08: efeito pedido pelo usuário na imagem de fundo do hero (câmera
 * de cinema/claquete/rolo de filme, adicionada no mesmo dia) - suave, mais
 * escuro no topo, voltando ao tom normal da própria foto conforme desce.
 * Camada extra (::after) por cima do .yh-hero__bg, escopada só a esta
 * página - não mexe no .yh-hero__overlay/.yh-hero__fade compartilhados
 * (que fazem o oposto: mais escuro embaixo, pensado pro hero sem imagem de
 * fundo real), nem na foto normal. .yh-hero__bg já é position:absolute, o
 * que cria o contexto de posicionamento certo pra um ::after com inset:0
 * cobrir exatamente a mesma área da imagem, sem precisar de wrapper novo. */
.yh-produtoras-audiovisuais .yh-hero__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(4, 16, 28, .5) 0%, rgba(4, 16, 28, .18) 38%, rgba(4, 16, 28, 0) 65%);
}


/* "Nossas soluções" - fades the section's own top edge from the gray
   .yh-segments above it into white, the same trick (and same reasoning
   about needing position:relative + z-index:0 to actually contain it) as
   .yh-segments::before uses for its own top edge - mirrored here since
   this is a gray-into-white transition instead of white-into-gray. */
.yh-solutions {
	position: relative;
	z-index: 0;
	padding-top: 108px;
}

.yh-solutions::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 130px;
	background: linear-gradient(to bottom, var(--background-soft) 0%, var(--background) 100%);
	pointer-events: none;
	z-index: -1;
}

/* Centered intro instead of the left-aligned "wide, flat row" look shared
   with .yh-segments right above it - gives the two adjacent sections a
   different rhythm instead of reading as one continuous block. */
.yh-solutions__intro {
	max-width: 640px;
	margin: 0 auto 44px;
	text-align: center;
}

.yh-solutions__intro .yh-section__title,
.yh-solutions__intro .yh-section__lead {
	max-width: none;
}

.yh-solutions__card {
	padding: 28px 24px;
	box-shadow: 0 10px 28px rgba(11, 42, 73, .05);
}

.yh-solutions__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: linear-gradient(155deg, var(--background-blue-soft), color-mix(in srgb, var(--yangoo-turquoise) 22%, var(--background-blue-soft)));
	color: var(--yangoo-turquoise);
	margin-bottom: 18px;
}

.yh-solutions__card h3 {
	font-size: 19px;
	font-weight: 800;
}

.yh-solutions__card > p {
	margin-bottom: 14px;
}

.yh-solutions__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.yh-solutions__list li {
	position: relative;
	padding-left: 18px;
	font-size: 13.5px;
	color: var(--text-secondary);
	line-height: 1.4;
}

.yh-solutions__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--yangoo-turquoise) 55%, transparent);
}

.yh-solutions__cta {
	text-align: center;
	margin-top: 8px;
}

/* Experimental "reveal" button treatment - DISABLED, back to a plain
   .yh-btn--primary like every other CTA on the home page. Left commented
   out (not deleted) in case the animation
   is wanted again later. Was: a light button with a circular navy "reveal"
   that grows from the center on hover, adapted from a Uiverse.io snippet
   (originally gray-800 base + orange-600 fill, Tailwind utility classes)
   into the site's own navy/aqua palette and plain CSS.
.yh-btn--reveal {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	isolation: isolate;
	background: var(--yangoo-aqua);
	color: var(--yangoo-navy-dark);
	padding: 15px 32px;
	border-radius: 10px;
}

.yh-btn--reveal__fill {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 0;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: var(--yangoo-navy-dark);
	transform: translate(-50%, -50%);
	transition: width .45s ease-out, height .45s ease-out;
}

Growth only on real hover (mouse/trackpad) - on a touchscreen, :hover
   sticks after a tap with no "pointer left" event to shrink it back down,
   same issue already fixed on the carousel arrows/cards elsewhere on this
   page. Tap still gets the color swap via :active below, it just doesn't
   get the circle animation.
@media ( hover: hover ) {
	.yh-btn--reveal:hover .yh-btn--reveal__fill {
		width: 480px;
		height: 480px;
	}
	.yh-btn--reveal:hover {
		color: var(--yangoo-white);
	}
}

.yh-btn--reveal:focus-visible .yh-btn--reveal__fill,
.yh-btn--reveal:active .yh-btn--reveal__fill {
	width: 480px;
	height: 480px;
}

Text color swap paired 1:1 with whatever actually grows the fill above -
   never on bare :hover outside the (hover:hover) block, or a stuck touch
   hover would turn the text white-on-aqua (low contrast) with no navy
   circle underneath it to justify the switch.
.yh-btn--reveal:focus-visible,
.yh-btn--reveal:active {
	color: var(--yangoo-white);
}

.yh-btn--reveal__deco-a,
.yh-btn--reveal__deco-b {
	position: absolute;
	z-index: 1;
	pointer-events: none;
}

.yh-btn--reveal__deco-a {
	left: 0;
	bottom: 0;
	height: 100%;
	width: auto;
	margin-left: -6px;
}

.yh-btn--reveal__deco-a svg {
	display: block;
	width: auto;
	height: 100%;
}

.yh-btn--reveal__deco-b {
	right: 0;
	top: 0;
	height: 100%;
	width: 40px;
	margin-right: -10px;
}

.yh-btn--reveal__deco-b svg {
	display: block;
	width: 100%;
	height: 100%;
}

.yh-btn--reveal__sheen {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	border-radius: inherit;
	background: linear-gradient(to bottom, transparent 0%, transparent 60%, rgba(255, 255, 255, .12) 100%);
}

.yh-btn--reveal__text {
	position: relative;
	z-index: 2;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -.01em;
}
*/

@media (max-width: 600px) {
	.yh-solutions {
		padding-top: 64px;
	}
}

.yh-card--dark {
	background: rgba(255, 255, 255, .06);
	border-color: rgba(255, 255, 255, .14);
}

.yh-card--dark h3 {
	color: var(--yangoo-white);
}

.yh-card--dark p {
	color: var(--border-color);
}

/* "Aceleração fiscal 360°" - scoped to .yh-accel (not .yh-card--dark
   itself) so none of this leaks into the "Ecossistema Yangoo" section
   further down, which reuses the same plain .yh-card--dark cards. */
.yh-accel {
	position: relative;
}

/* Only use of .partner-section on the home page (the "App Yangoo"
   section right above this one). Adds more breathing room between the
   app section and the navy "Aceleração fiscal 360°" wave below it, which
   sat almost flush against it before. Scoped here only, never touching
   .partner-section itself (shared by every partner page). Selector uses
   both classes, not just .yh-app-section alone, because partners.css is
   enqueued after home-yangoo.css on the home page. On a specificity tie
   (0,1,0 vs 0,1,0), whichever loads last wins, and `.partner-section{
   padding:64px 0}` would beat a lone padding-bottom rule.
   `.partner-section.yh-app-section` (0,2,0) settles that without relying
   on file load order. */
.partner-section.yh-app-section {
	padding-bottom: 112px;
}

/* This section's content (short lead, a lean 2-column list, one button)
   is sparser than every other section using the standard 1200px
   .yh-container - left-aligned inside that full width, on a wide monitor
   it reads as lost in the left third of the section instead of a
   deliberate editorial column. Narrowing just this section's container
   keeps the left-aligned numbers/rules (that's still the point), while
   making the block itself sit as a centered, intentional-looking column
   instead of a small island in a lot of empty navy. */
.yh-accel .yh-container {
	max-width: 920px;
}

/* Wavy top edge instead of the hard straight line where the white "App
   Yangoo" section above ends - same technique as .yh-hero__wave, mirrored
   vertically (this one dips UP into the section above instead of down
   into the one below) and filled navy instead of white. Positioned almost
   entirely above the section's own box (top:-59px, only 1px of overlap)
   so the curve reads as part of the boundary, not a bar sitting on top of
   the section's content. */
.yh-accel__wave {
	position: absolute;
	left: 0;
	right: 0;
	top: -59px;
	width: 100%;
	height: 60px;
	display: block;
}

.yh-section__lead--light strong {
	color: var(--yangoo-white);
	font-weight: 700;
}

/* Editorial rewrite - no boxes, just numerals, typography and rules. The
   first version of this section (cards with icon badges, pill tags, a
   turquoise glow) tested fine in isolation but read as generic SaaS/AI-
   generated visual language once placed on a real page: rounded-square
   icons, pills, equidistant identical boxes are the same handful of moves
   every "modern/premium" prompt converges on right now. A numbered list
   with rules is a deliberately different, more editorial idiom - it says
   "here's how we think about your business," not "here are four feature
   cards." */
.yh-accel__list {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 44px 64px;
	margin: 40px 0 44px;
	padding: 0;
}

.yh-accel__item-head {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 12px;
}

.yh-accel__num {
	flex: none;
	font-size: 34px;
	font-weight: 300;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: rgba(255, 255, 255, .32);
}

.yh-accel__item h3 {
	font-size: 19px;
	font-weight: 800;
	color: var(--yangoo-white);
	margin: 0;
}

.yh-accel__item p {
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--border-color);
	text-align: left;
	margin: 0;
}

/* Short and rounded instead of a full-width rule, fading from solid on
   the left to transparent on the right rather than a hard-edged bar. */
.yh-accel__rule {
	display: block;
	width: 150px;
	height: 3px;
	margin: 20px 0 0;
	border-radius: 999px;
	background: linear-gradient(to right, var(--yangoo-aqua), transparent);
}

@media (max-width: 700px) {
	.yh-accel__list {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

/* Counters - real cards instead of plain centered text floating on the
   section's own background, which read as flat/unfinished next to every
   other card-based section on this page. */
.yh-counters {
	text-align: center;
}

.yh-counter {
	background: var(--background);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 30px 22px 26px;
	box-shadow: 0 8px 24px rgba(11, 42, 73, .05);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

@media ( hover: hover ) {
	.yh-counter:hover {
		transform: translateY(-4px);
		box-shadow: 0 18px 36px rgba(11, 42, 73, .1);
		border-color: color-mix(in srgb, var(--yangoo-turquoise) 35%, transparent);
	}
}

.yh-counter__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(155deg, var(--background-blue-soft), color-mix(in srgb, var(--yangoo-turquoise) 20%, var(--background-blue-soft)));
	color: var(--yangoo-turquoise);
	margin-bottom: 16px;
}

.yh-counter__num {
	display: block;
	font-size: 38px;
	font-weight: 900;
	color: var(--yangoo-navy);
	margin-bottom: 8px;
}

/* Um dos 4 contadores (yh-counter) mostra um rótulo curto ("Atendimento
   Nacional") em vez de um número - o tamanho de fonte pensado pra 1-3
   dígitos (38px/900) estouraria a largura do card com uma frase, então
   este modificador reduz proporcionalmente mantendo o mesmo peso visual. */
.yh-counter__num--text {
	font-size: 20px;
	line-height: 1.15;
}

.yh-counter p {
	font-size: 13.5px;
	color: var(--text-secondary);
	line-height: 1.5;
	margin: 0;
}

/* Real Google review quotes (Autoridade e prova social) - replaces a CTA
   that used to link "Ver as avaliações do Google" to WhatsApp, which
   never made sense (nobody messages WhatsApp to see Google reviews) -
   the reviews are shown directly on the page instead.
   Built as a smooth horizontal scroll carousel showing ~3 cards at a
   time, with a soft fade at both edges - same "smooth scroll" spirit as
   the Segmentos carousel (.yh-carousel) further up this page, but
   deliberately NOT that carousel's curved/arc positioning
   (requestAnimationFrame-driven updateCurve() in home-yangoo.js): this
   carousel scrolls without the curve.
   Rebuilt on top of the same JS-driven transform + true-infinite-loop +
   pointer-drag mechanics as the Segmentos carousel (setupInfiniteCarousel()
   in home-yangoo.js, generalized from what used to be Segmentos-only
   code) instead of the native overflow-x/scroll-snap track used before,
   so the arrows animate smoothly, dragging with the mouse works, and the
   loop is truly infinite, matching the Segmentos cards.
   .yh-testimonial-track is now a plain flex row moved via JS transform
   (no scroll-snap/overflow-x/scrollbar-hiding needed anymore - see
   .yh-carousel__track for the equivalent), wrapped in
   .yh-testimonial-viewport for the overflow:hidden + edge fade that used
   to live on the track itself. */
.yh-testimonial-carousel {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 32px 0 28px;
}

.yh-testimonial-viewport {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	padding: 6px 2px 14px;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent);
	mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}

.yh-testimonial-track {
	display: flex;
	gap: 20px;
	text-align: left;
	cursor: grab;
	touch-action: pan-y;
}

.yh-testimonial-track.is-dragging {
	cursor: grabbing;
}

.yh-testimonial-arrow[type="button"],
.yh-testimonial-arrow[type="button"]:hover,
.yh-testimonial-arrow[type="button"]:focus,
.yh-testimonial-arrow[type="button"]:active {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--border-color);
	background: var(--background);
	color: var(--yangoo-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.yh-testimonial-arrow[type="button"]:hover {
	background: var(--yangoo-turquoise);
	color: var(--yangoo-navy-dark);
	border-color: var(--yangoo-turquoise);
}

@media (max-width: 700px) {
	.yh-testimonial-arrow[type="button"] {
		width: 32px;
		height: 32px;
	}
}

.yh-testimonial-card {
	flex: 0 0 360px;
	display: flex;
	flex-direction: column;
	background: var(--background);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 24px 22px 20px;
	box-shadow: 0 8px 24px rgba(11, 42, 73, .05);
}

@media (max-width: 700px) {
	.yh-testimonial-card {
		flex-basis: 280px;
	}
}

.yh-testimonial-card__quote {
	font-size: 42px;
	line-height: 1;
	font-weight: 800;
	font-family: Georgia, serif;
	color: var(--yangoo-turquoise);
	opacity: .4;
	margin-bottom: 2px;
}

.yh-testimonial-card__text {
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-primary);
	margin: 0 0 18px;
	flex: 1;
}

.yh-testimonial-card__author {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 14px;
	border-top: 1px solid var(--border-color);
}

.yh-testimonial-card__author > div {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 13px;
	font-weight: 700;
	color: var(--yangoo-navy);
}

/* Real photo from each reviewer's own Google profile (same one shown
   next to their review on Google), not a stock/generic avatar.
   aspect-ratio:auto here is the same fix already
   documented elsewhere on this site (hub logos, partner-ad sidebar logo)
   for the [width]/[height] attributes' own computed aspect-ratio
   sometimes fighting the image's real intrinsic proportions and
   distorting it - cheap insurance since these are already perfect
   squares, but avoids re-diagnosing the same bug a third time. */
.yh-testimonial-card__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	aspect-ratio: auto;
	flex: none;
}

.yh-testimonial-card__name {
	color: var(--yangoo-navy);
}

.yh-testimonial-card__source {
	font-weight: 400;
	font-size: 12px;
	color: var(--text-secondary);
}

/* Calm clarifying callout - used on the "Prêmio Melhor do Ano 2023"
   section to spell out that the award's NAME isn't a "we're the best"
   claim, without reading as a big scary warning box. The copy in this
   callout is deliberately measured, so the styling stays low-key too: a
   soft background and a left accent bar, not red/alert colors. */
.yh-note {
	background: var(--background-blue-soft);
	border-left: 3px solid var(--yangoo-turquoise);
	border-radius: 8px;
	padding: 16px 18px;
	margin: 20px 0 28px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-primary);
}

.yh-note strong {
	color: var(--yangoo-navy);
}

.yh-note__subtitle {
	font-size: 18px;
	color: var(--yangoo-navy);
	margin: 0 0 12px;
}

/* Steps */
/**
 * repeat(auto-fit, minmax(...)) instead of a hardcoded repeat(4, 1fr) -
 * this list is shared by front-page.php's 4-step "Como Começar" AND
 * page-abertura-de-empresa.php/page-cidade-lp.php's 3-step "Como funciona"
 * (only 4 items ever justified the old hardcoded column count). With a
 * fixed 4-column grid, 3 items left an empty, uncollapsed 4th column - the
 * items shrank to fit only 3/4 of the row width instead of spreading
 * across it, reading as off-center with dead space on the right.
 * auto-fit computes the
 * column count from the CONTAINER width instead of the item count, but
 * still collapses any track that ends up with no item placed in it -
 * so 3 items fill 3 equal columns, 4 items still fill 4 equal columns,
 * with no per-page override needed.
 */
.yh-steps {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.yh-steps li {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.yh-steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--yangoo-aqua);
	color: var(--yangoo-navy);
	font-weight: 800;
}

.yh-steps h3 {
	font-size: 16px;
	color: var(--yangoo-navy);
	margin: 0 0 6px;
}

.yh-steps p {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.55;
	margin: 0;
}

/* Opt-in modifier on top of the shared .yh-steps grid used by 14 other
   pages/segments. Adds icons and a connecting line instead of the plain
   circle-number list, without touching the base .yh-steps rules above.
   Uses a fixed 4-column grid (not auto-fit like the base rule) so each
   item's horizontal center always sits at a known 12.5/37.5/62.5/87.5%
   of the row. The connecting line (::before on the <ol>) is positioned
   from those same percentages, so it lines up with the icon circles no
   matter how the text content wraps. */
.yh-steps--timeline {
	grid-template-columns: repeat(4, 1fr);
	position: relative;
	gap: 30px 20px;
}

.yh-steps--timeline::before {
	content: '';
	position: absolute;
	top: 26px;
	left: 12.5%;
	right: 12.5%;
	height: 2px;
	background: var(--border-color);
	z-index: 0;
}

.yh-steps--timeline li {
	align-items: center;
	text-align: center;
	gap: 14px;
}

.yh-steps--timeline .yh-steps__icon {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	flex: none;
	border-radius: 50%;
	background: var(--background);
	border: 2px solid var(--yangoo-turquoise);
	color: var(--yangoo-navy);
}

/* Small numbered badge sitting on the icon circle's edge (not a sibling
   .yh-steps__num like the base list - nested inside .yh-steps__icon here
   so it positions relative to the 52px circle itself, not the whole li,
   regardless of how wide each column ends up being). */
.yh-steps--timeline .yh-steps__num {
	position: absolute;
	top: -6px;
	right: -6px;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	background: var(--yangoo-navy);
	border: 2px solid var(--background);
	border-radius: 50%;
}

@media (max-width: 960px) {
	/* Matches the base .yh-steps 2-column collapse at this same
	   breakpoint (see the shared rule above) - a straight line computed
	   for 4 equal columns would no longer line up with 2, so it's hidden
	   rather than recalculated for a layout this section never uses
	   below 960px anyway. */
	.yh-steps--timeline::before {
		display: none;
	}
}

/* About */
.yh-about__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}

.yh-about__text p {
	font-size: 15px;
	color: var(--text-primary);
	line-height: 1.65;
	margin: 0 0 14px;
}

.yh-about__addresses {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.yh-about__addresses h3 {
	font-size: 15px;
	color: var(--yangoo-navy);
	margin: 0 0 4px;
}

.yh-about__addresses p {
	font-size: 14px;
	color: var(--text-secondary);
	margin: 0;
}

.yh-team__title {
	font-size: 20px;
	color: var(--yangoo-navy);
	margin: 0 0 20px;
}

.yh-team-intro {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 40px;
	align-items: center;
	margin-bottom: 40px;
}

/* Short fade-to-white at the bottom edge of the full team photo, so it
   blends into the section's plain white background instead of ending in
   a hard rectangular cut (same mask-image technique already used for
   Real Seguro Viagem's hero photo, see partners.css - a linear-gradient
   mask fades that % of the image to transparent, letting the section's
   own white background show through underneath). Short on purpose (92%
   to 100%, so only the last ~8% of the photo's height fades) - the user
   asked for a brief fade, not a dramatic one, and the photo is a real
   group shot where fading much more would start cutting into faces. */
.yh-team-intro__photo {
	display: block;
	width: 100%;
	height: auto;
	-webkit-mask-image: linear-gradient(to bottom, #000 92%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 92%, transparent 100%);
}

.yh-team-intro__copy .yh-team__title {
	margin-bottom: 12px;
}

.yh-team-intro__copy p {
	font-size: 15px;
	line-height: 1.65;
	color: var(--text-secondary);
	margin: 0;
}

.yh-statement__inner {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 40px;
	align-items: center;
}

.yh-statement__media {
	position: relative;
}

.yh-statement__img {
	display: block;
	width: 100%;
	height: auto;
}

/* Fades the image into the section's white background instead of ending on
   a hard edge - the crop leaves an awkward cutoff (e.g. mid-arm), so this
   softens it into a gradient rather than fixing the source crop. */
.yh-statement__media::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 26%;
	/* A plain 0%-100% linear fade looks abrupt because alpha doesn't blend
	   perceptually linearly - it reads as mostly-opaque until very close to
	   the transparent end, then a fast cutoff. These extra in-between stops
	   ease the opacity off gradually instead. */
	background: linear-gradient(
		to top,
		#fff 0%,
		rgba(255, 255, 255, .95) 20%,
		rgba(255, 255, 255, .75) 40%,
		rgba(255, 255, 255, .45) 62%,
		rgba(255, 255, 255, .18) 82%,
		rgba(255, 255, 255, 0) 100%
	);
	pointer-events: none;
}

.yh-statement__copy {
	border-left: 3px solid var(--yangoo-turquoise);
	padding-left: 32px;
}

.yh-statement__lead {
	font-size: 20px;
	line-height: 1.7;
	color: var(--text-primary);
	margin: 0 0 28px;
}

.yh-statement__lead strong {
	color: var(--yangoo-navy);
}

.yh-statement__copy .yh-btn--primary {
	font-size: 17px;
	padding: 16px 32px;
}

.yh-team__member {
	background: var(--background-soft);
	border-radius: 10px;
	padding: 20px 18px 18px;
	text-align: center;
}

.yh-team__avatar {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	margin: 0 auto 14px;
	box-shadow: 0 0 0 3px var(--background-soft), 0 0 0 5px var(--yangoo-turquoise);
}

.yh-team__member h4 {
	font-size: 14.5px;
	color: var(--yangoo-navy);
	margin: 0 0 6px;
}

.yh-team__member p {
	font-size: 12.5px;
	color: var(--text-secondary);
	line-height: 1.5;
	margin: 0;
}

/* Blog cards on home */
.yh-blog-card {
	display: flex;
	flex-direction: column;
	background: var(--background);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	overflow: hidden;
	color: inherit;
	box-shadow: 0 1px 2px rgba(11, 42, 73, .04);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.yh-blog-card:hover {
	transform: translateY(-4px);
	border-color: var(--yangoo-turquoise);
	box-shadow: 0 16px 32px rgba(11, 42, 73, .14);
}

.yh-blog-card__media {
	position: relative;
	aspect-ratio: 16/10;
	overflow: hidden;
	background: var(--background-soft);
}

.yh-blog-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.yh-blog-card:hover .yh-blog-card__img {
	transform: scale(1.06);
}

.yh-blog-card__tag {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--yangoo-navy);
	color: var(--yangoo-white);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
}

.yh-blog-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px;
}

.yh-blog-card__date {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--yangoo-turquoise);
	text-transform: uppercase;
	letter-spacing: .02em;
	margin-bottom: 8px;
}

.yh-blog-card h3 {
	font-size: 16px;
	line-height: 1.35;
	color: var(--yangoo-navy);
	margin: 0 0 10px;
	transition: color .2s ease;
}

.yh-blog-card:hover h3 {
	color: var(--link-color);
}

.yh-blog-card__excerpt {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--text-secondary);
	margin: 0 0 16px;
	flex: 1;
}

.yh-blog-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--yangoo-turquoise);
	/* Pins "Ler artigo" to the bottom of the card regardless of how many
	   lines the title/excerpt above it wrap to - .yh-blog-card__excerpt's
	   own flex:1 only fills the gap when an excerpt is actually present;
	   margin-top:auto here works unconditionally (including when a card
	   has no excerpt at all), so "Ler artigo" lines up across every card
	   in the same row instead of drifting up/down with content length. */
	margin-top: auto;
}

.yh-blog-card__more span {
	transition: transform .2s ease;
}

.yh-blog-card:hover .yh-blog-card__more span {
	transform: translateX(4px);
}

/* Numbered badge on a "Mais lidos" card (top-right, mirrors the ranked
   list already used in the blog sidebar's own "Mais lidos" widget,
   home.php - same ranking idea, shown as a badge on the card here instead
   of a plain numbered list). Only .yh-blog-card__tag (top-left) and this
   ever coexist on a card, so there's no horizontal collision to guard. */
.yh-blog-card__rank {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--yangoo-turquoise);
	color: var(--yangoo-navy-dark);
	font-size: 13px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* "Mais recentes"/"Mais lidos" tabs above the blog card grid - same small
   underline-tab pattern already used on the Materiais Gratuitos page
   (.mg-tabs/.mg-tab, assets/css/materiais.css), reimplemented here under
   its own class instead of reusing that stylesheet, since materiais.css
   is only enqueued on that one page and this is the home page. */
.yh-blog-tabs {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	border-bottom: 1px solid var(--border-color);
	margin: 28px 0 28px;
}

/* [type="button"] on every state, not just the base class - the parent
   theme (hello-elementor) has its own [type=button]{border:1px solid
   #c36;color:#c36} reset plus [type=button]:hover/:focus{background-color:
   #c36;color:#fff} that ties in specificity with a plain .yh-blog-tab
   selector; without the attribute here too, that reset's pink wins
   wherever it has a rule and this doesn't. Same fix applied to every
   other custom button on this site (.yh-accordion__trigger etc.).
   First pass here only covered :hover/:focus-visible and still showed a
   solid pink fill after a real click - a mouse click gives the button
   plain :focus (retained until something else takes focus), but Chrome/
   Firefox's :focus-visible heuristic does NOT match a mouse-driven focus
   (only keyboard navigation), so the parent theme's [type=button]:focus
   rule was still the only one setting background-color for that exact
   state. :focus added below alongside :focus-visible to close that gap. */
.yh-blog-tab[type="button"] {
	background: none;
	border: none;
	padding: 12px 18px;
	font-family: var(--font-sans);
	font-weight: 700;
	font-size: 15px;
	color: var(--text-secondary);
	cursor: pointer;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
	transition: color .15s ease, border-color .15s ease;
}

.yh-blog-tab[type="button"]:hover,
.yh-blog-tab[type="button"]:focus,
.yh-blog-tab[type="button"]:focus-visible {
	color: var(--yangoo-navy);
	border-bottom-color: transparent;
	background: none;
}

.yh-blog-tab[type="button"].is-active {
	color: var(--yangoo-navy);
	border-bottom-color: var(--yangoo-turquoise);
	background: none;
}

.yh-blog-panel {
	display: none;
}

.yh-blog-panel.is-active {
	display: block;
}

/* Mapa do Site (/mapa-do-site/) - one block per category, auto-wrapping
   grid so a short list (Institucional, 3 items) and a long one (Parceiros,
   17 items) both sit naturally without a fixed column count forcing
   awkward empty space under the short ones. */
.yh-sitemap-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	align-items: start;
}

/**
 * Card with border/background/radius, matching .yh-sitemap-expand (the
 * "Por cidade" section) - without this the two sections read as two
 * different visual languages side by side (loose columns vs. real cards).
 * Same treatment here, just without the open/close behavior, since these
 * lists are short enough to stay always visible.
 */
.yh-sitemap-col {
	background: var(--background);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 20px 20px 22px;
}

.yh-sitemap-col h3 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 15px;
	font-weight: 700;
	color: var(--yangoo-navy);
	margin: 0 0 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--border-color);
}

.yh-sitemap-col__count {
	flex: none;
	font-size: 12px;
	font-weight: 700;
	color: var(--yangoo-navy);
	background: var(--background-blue-soft);
	border-radius: 999px;
	padding: 2px 9px;
}

.yh-sitemap-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.yh-sitemap-col a {
	font-size: 14.5px;
	line-height: 1.4;
	color: var(--text-secondary);
	text-decoration: none;
	transition: color .15s ease;
}

.yh-sitemap-col a:hover {
	color: var(--yangoo-turquoise);
	text-decoration: underline;
}

/**
 * Expandable "por cidade" groups (Mapa do Site) - unlike the fixed
 * categories above (a handful of items each), the city LP pages are
 * queried live and could grow to dozens/hundreds over time (~70 cities
 * × 2 verticals eventually) - a plain always-open list would make the
 * page unwieldy fast. Native <details>/<summary> instead of a custom JS
 * accordion: free keyboard/screen-reader support, no JS dependency, and
 * "click to expand and see all" is literally what the element already
 * does out of the box.
 */
.yh-sitemap-expand-group {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	/* Without this, grid's default align-items:stretch forces both columns
	   to match the row's tallest item - so opening one <details> (which
	   grows tall) visually stretches the OTHER, still-closed one to the
	   same height too. The closed one's <ul> stays hidden (native details
	   behavior isn't touched by this stretch), so it just reads as "opened
	   but empty" until it's actually clicked. align-items:start lets each
	   box size to its own content instead. */
	align-items: start;
}

@media (max-width: 700px) {
	.yh-sitemap-expand-group {
		grid-template-columns: 1fr;
	}
}

.yh-sitemap-expand {
	background: var(--background);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 4px 20px;
}

.yh-sitemap-expand__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--yangoo-navy);
	cursor: pointer;
	list-style: none;
}

.yh-sitemap-expand__summary::-webkit-details-marker {
	display: none;
}

.yh-sitemap-expand__summary::after {
	content: '';
	flex: none;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--text-secondary);
	border-bottom: 2px solid var(--text-secondary);
	transform: rotate(45deg);
	transition: transform .15s ease;
}

.yh-sitemap-expand[open] .yh-sitemap-expand__summary::after {
	transform: rotate(-135deg);
}

.yh-sitemap-expand__count {
	margin-left: auto;
	margin-right: 8px;
	font-size: 12px;
	font-weight: 700;
	color: var(--yangoo-navy);
	background: var(--background-blue-soft);
	border-radius: 999px;
	padding: 2px 9px;
}

.yh-sitemap-expand__list {
	list-style: none;
	margin: 0;
	padding: 4px 0 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	border-top: 1px solid var(--border-color);
	padding-top: 14px;
}

.yh-sitemap-expand__list a {
	font-size: 14.5px;
	line-height: 1.4;
	color: var(--text-secondary);
	text-decoration: none;
	transition: color .15s ease;
}

.yh-sitemap-expand__list a:hover {
	color: var(--yangoo-turquoise);
	text-decoration: underline;
}

/* FAQ accordion */
.yh-accordion {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	align-items: start;
	/* Several sections (Cidade LP, Itapema) put a .yh-btn CTA right after
	   the accordion with no wrapper of its own between them - without
	   this, the button sat flush against the last FAQ row. */
	margin-bottom: 28px;
}

/**
 * Guia Prático FAQ (yangoo_render_guide_article(), functions.php) reuses
 * the same .yh-accordion used by any other FAQ page on the site - but the
 * column it lives in here (.yb-article-main, inside the article layout
 * with a TOC + sidebar) is much narrower than the 1200px .yh-container
 * the 2-column grid above was designed for. At that width, 2 columns
 * leave each question cramped, and multi-paragraph answers (common in a
 * dense guide) end up visually squeezed. Forced to a single column here,
 * with no media query - the narrow width applies at any viewport where
 * this 2-column article layout is used, not just mobile (which already
 * collapses to 1 column on its own via the global rule further below).
 */
.yb-article-faq .yh-accordion {
	grid-template-columns: 1fr;
}

/* Matches .yb-article__content h2 (blog-yangoo.css) exactly, so the FAQ
   heading reads as just another section of the article, not a visually
   distinct component bolted on. */
.yb-article-faq__title {
	font-size: 26px;
	font-weight: 800;
	color: var(--yangoo-navy);
	line-height: 1.3;
	margin: 40px 0 20px;
}

.yh-accordion__item {
	width: 100%;
	display: flex;
	flex-direction: column;
	background: var(--background-soft);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	overflow: hidden;
}

.yh-accordion__heading {
	display: flex;
	flex: 0 0 auto;
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
}

.yh-accordion__trigger[type="button"],
.yh-accordion__trigger[type="button"]:hover,
.yh-accordion__trigger[type="button"]:focus,
.yh-accordion__trigger[type="button"]:active {
	/* The parent theme has a generic `[type=button]` reset (Hello Elementor's
	   base stylesheet) that paints plain buttons pink (#c36), for the resting
	   state too, not just :hover/:focus. Our button has type="button", so
	   plain `.yh-accordion__trigger` (specificity 0,1,0) TIES with the
	   theme's plain `[type=button]` (also 0,1,0) - on a tie the later rule in
	   the stylesheet wins, which was the theme's (that's why it only looked
	   right on hover/open, where the boosted rules below already won).
	   Matching `[type="button"]` on the resting state too pushes us to
	   0,2,0, which unambiguously beats it regardless of source order. */
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	background: none;
	border: none;
	border-radius: 0;
	text-align: left;
	padding: 16px 18px;
	font-size: 15px;
	font-weight: 700;
	color: var(--yangoo-navy);
	cursor: pointer;
	outline: none;
	white-space: normal;
}

.yh-accordion__trigger[type="button"]:hover,
.yh-accordion__trigger[type="button"]:focus-visible {
	background: var(--background-blue-soft);
	color: var(--yangoo-navy);
}

.yh-accordion__trigger span {
	min-width: 0;
	flex: 1 1 auto;
	overflow-wrap: break-word;
	white-space: normal;
}

.yh-accordion__icon {
	flex: none;
	margin-top: 2px;
	color: var(--yangoo-turquoise);
	transition: transform .2s ease;
}

.yh-accordion__panel {
	display: none;
	flex: 1;
	background: var(--background);
	border-top: 1px solid var(--border-color);
	padding: 16px 18px 18px;
}

.yh-accordion__item.is-open {
	border-color: var(--yangoo-turquoise);
}

.yh-accordion__item.is-open .yh-accordion__panel {
	display: block;
}

.yh-accordion__item.is-open .yh-accordion__icon {
	transform: rotate(180deg);
}

.yh-accordion__panel p {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.6;
	margin: 0 0 12px;
}

.yh-accordion__panel p:last-child {
	margin-bottom: 0;
}

/* Testimonials (screenshot-style social proof - real reviews captured as
   images rather than typed quotes, used on the landing pages) */
.yh-testimonials {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.yh-testimonial {
	margin: 0;
	background: var(--background);
	border: 1px solid var(--border-color);
	border-radius: 10px;
	overflow: hidden;
}

.yh-testimonial__img {
	display: block;
	width: 100%;
	height: auto;
}

.yh-testimonial figcaption {
	padding: 12px 14px;
	font-size: 13px;
	color: var(--text-secondary);
	line-height: 1.4;
}

/* Simple centered CTA band (title + button, no card grid) */
.yh-cta-block {
	text-align: center;
}

.yh-cta-block .yh-section__title {
	margin-bottom: 22px;
}

/* Checklist (page-lp.php - "o que cuidamos por você") */
.yh-responsibility-list {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	display: grid;
	gap: 12px;
	max-width: 760px;
}

/* Opt-in modifier for long lists (13 items on "O que a Yangoo faz",
   page-contabilidade-para-infoprodutores.php) that made the section
   needlessly tall stacked one item per row. Scoped to a modifier class,
   not a change to .yh-responsibility-list itself - that base class is
   shared by 9 pages, most with much shorter lists (5-7 items) that read
   fine as a single column and would look sparse/oddly spaced split
   across 2-3 columns. max-width:none since a 3-column layout needs more
   than the base class's 760px cap to breathe. */
.yh-responsibility-list--columns {
	max-width: none;
	grid-template-columns: repeat(3, 1fr);
	/* Widened from 32px, then 72px, then 110px, on request - with
	   equal-width (1fr) tracks, a bigger gap eats into each column's own
	   width rather than moving the grid itself, so column 1 stays
	   anchored at the same left edge while columns 2 and 3 shift right
	   along with it. */
	column-gap: 150px;
}

@media (max-width: 900px) {
	.yh-responsibility-list--columns {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.yh-responsibility-list--columns {
		grid-template-columns: 1fr;
	}
}

.yh-responsibility-list li {
	position: relative;
	padding-left: 30px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--text-secondary);
}

.yh-responsibility-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--yangoo-turquoise);
}

.yh-responsibility-list li::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 8px;
	width: 9px;
	height: 5px;
	border-left: 2px solid var(--yangoo-navy);
	border-bottom: 2px solid var(--yangoo-navy);
	transform: rotate(-45deg);
}

/* Contact form (page-lp-yangoo.php) */
.yh-contact-form {
	max-width: 560px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.yh-contact-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--yangoo-navy);
}

.yh-contact-form input[type="text"],
.yh-contact-form input[type="email"],
.yh-contact-form input[type="tel"],
.yh-contact-form textarea {
	font: inherit;
	font-weight: 400;
	padding: 12px 14px;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	background: var(--background);
	color: var(--text-primary);
}

.yh-contact-form textarea {
	min-height: 120px;
	resize: vertical;
}

.yh-contact-form button[type="submit"] {
	align-self: flex-start;
}

/* Honeypot - present in the DOM for bots to fill, invisible and unreachable
   for real visitors (display:none alone can make some spam bots skip a
   field entirely, so this uses an off-screen position instead). */
.yh-hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.yh-form-notice {
	margin: 0 0 16px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
}

.yh-form-notice--ok {
	background: rgba(81, 215, 217, .15);
	color: var(--yangoo-navy);
	border: 1px solid var(--yangoo-turquoise);
}

.yh-form-notice--error {
	background: rgba(204, 51, 102, .1);
	color: #b3244c;
	border: 1px solid #cc3366;
}

/* Responsive */
@media (max-width: 960px) {
	/* The 3-stat bar (+500 negócios, Atendimento, Especialistas) isn't
	   worth a full stacked block on mobile - it reads as three more
	   generic rows to scroll past before the real content. Hiding it goes
	   straight from the hero's wavy bottom edge (kept as-is) into the next
	   section instead. */
	.yh-hero-stats {
		display: none;
	}
	.yh-hero__grid,
	.yh-about__grid,
	.yh-team-intro,
	.yh-statement__inner {
		grid-template-columns: 1fr;
	}
	.yh-statement__inner {
		gap: 20px;
	}
	.yh-statement__img {
		order: -1;
	}
	.yh-team-intro {
		gap: 20px;
	}
	.yh-hero__grid {
		align-items: stretch;
		gap: 20px;
	}
	.yh-hero__copy {
		padding-bottom: 8px;
	}
	/* .yh-hero--plain .yh-hero__copy carries an unconditional
	   padding-bottom:40px (no media query - see the rule just above the
	   --plain block earlier in this file). .yh-hero__copy only exists on
	   --plain pages that DO have a portrait/2-column grid (calculators,
	   "Contrate"/segment pages etc. - single-column pages like Mapa do
	   Site don't have this element at all, their title/lead sit directly
	   in .yh-container, so they're never affected by that rule or this
	   adjustment). On desktop those 40px give the text breathing room on
	   its right side (the portrait column is narrower, leaving spare
	   space); on the stacked mobile grid, that same padding stacks on top
	   of the grid's own gap:20px between text and portrait, opening a gap
	   of roughly 80px before the photo starts. Since specificity ties with
	   the unconditional rule (0,2,0 on both), repeating it here inside the
	   media query wins on source order - the same mechanism already used
	   for the portrait rule just below. Reduced to the same value every
	   other 2-column hero already uses (8px, the general .yh-hero__copy
	   rule above) - the grid already guarantees separation on its own via
	   its own gap, so the extra 40px was pure redundancy on mobile. */
	.yh-hero--plain .yh-hero__copy {
		padding-bottom: 8px;
	}
	/* 2026-08-26: Materiais Gratuitos overrides the rule above right back
	   up to 64px (see `.mg-hub .yh-hero--plain .yh-hero__copy` earlier in
	   this file, unconditional/no media query) - that value is meant for
	   desktop's 2-column layout, but on the mobile 1-column stack it adds
	   on top of the grid's own 20px gap, opening a ~84px gap between the
	   buttons and the illustration below them. Same specificity (0,3,0)
	   as that rule, repeated here inside the media query to win on source
	   order and bring mobile back down to the same 8px every other
	   2-column hero already uses - also shrinks the hero's total height
	   slightly, since less padding here means less content height in the
	   stacked mobile grid. */
	.mg-hub .yh-hero--plain .yh-hero__copy {
		padding-bottom: 8px;
	}
	/* Portrait touching the edge on mobile, generalized to every hero
	   variant (home, every "contabilidade-para-X" LP, "Contrate"/segmento
	   pages). This used to be scoped only to .yh-hero--plain (the
	   flat-background calculator pages), so the home page and every LP
	   with a real photo background never got it: justify-content:center
	   (base rule) means the portrait photo floats with equal margin on
	   both sides no matter its size, so it can never visually "touch" an
	   edge that way - anchoring right instead matches how it already sits
	   at the right side of its column on desktop. */
	.yh-hero__portrait {
		min-height: 0;
		padding-bottom: 28px;
		justify-content: flex-end;
	}
	.yh-hero__portrait-img {
		max-width: 320px;
		/* Belt-and-suspenders alongside justify-content:flex-end above - a
		   block-level element's own auto margin pushing it right doesn't
		   depend on the parent flex container's axis behavior at all, so
		   this forces the same result through a completely separate
		   mechanism. */
		margin-left: auto;
		margin-right: 0;
	}
	/* .yh-hero__glow never had ANY responsive rule (every other hero
	   element here - portrait, portrait-img, copy - gets careful sizing at
	   this same breakpoint). Its own size (460px) stays fixed at every
	   viewport width, positioned via percentages of .yh-hero__portrait -
	   but that parent shrinks a lot on mobile (justify-content:flex-end,
	   much narrower column), so 460px stopped fitting inside it and the
	   glow's calculated position drifted increasingly far to the left as
	   the viewport narrowed (measured via Playwright: left edge at -64px
	   of the hero at 320px wide, i.e. more than a quarter of the glow
	   sitting off past the left edge of the whole section). .yh-hero has
	   overflow:hidden, so that overflow doesn't leak past the page, but it
	   does mean a good chunk of the glow was rendered and immediately
	   clipped for nothing on every phone-width visit. Shrunk to roughly
	   the same proportion the portrait image itself lost (480px/530px
	   desktop -> 320px here, ~65%), so it stays sized to the image it's
	   supposed to halo instead of ballooning past it. */
	.yh-hero__glow {
		width: 300px;
		height: 300px;
	}

	/* Materiais Gratuitos mobile hero - 3 adjustments scoped via .mg-hub,
	   without touching the generic rules above (which keep serving the
	   home page/LPs/segment pages unchanged):
	   1) the illustration (not a person photo like the other pages that
	      justify "touch the right edge" above) reads better centered,
	      the same pattern already used on the home page's mobile hero
	      (.home .yh-hero__portrait, further below) - centered and
	      slightly left-leaning rather than flush-right.
	   2) a gentler wave on mobile - same curve/height as the desktop
	      version, just smaller (60px -> 34px), which proportionally reads
	      as shallower on a narrow screen without needing a separate SVG
	      path.
	   3) reinforced overlap at the hero/wave seam (-4px -> -8px) -
	      a defensive layer against the sub-pixel "hairline gap" already
	      documented in the .yh-hero__wave comment above (more relevant
	      now that .yh-hero__bg exists on this page again).
	   2026-08-25: the 2 selectors below (.yh-hero__portrait/-img) never
	   actually won on this page - this page's hero also carries
	   .yh-hero--plain, and .yh-hero--plain's OWN mobile override for the
	   same two elements (further down this file, padding-bottom:0,
	   justify-content:flex-end, margin-left:auto) has identical
	   specificity (0,2,0) and loads later in the cascade, so it silently
	   won the tie every time - confirmed via getBoundingClientRect() in a
	   real headless browser (left margin 139px vs right margin 16px, and
	   padding-bottom computing to 0px, not the 16px below). That's what
	   caused both bugs the user reported: the illustration sitting
	   flush-right instead of centered, AND a striped seam where the wave
	   curve overlapped the bottom of the (now flush, no breathing room)
	   image instead of sitting cleanly below it. Selectors now include
	   .yh-hero--plain explicitly (0,3,0) - wins outright, no longer a
	   coin flip decided by file order. */
	/* 2026-08-26: histórico da investigação da "linha" nesta seção -
	   várias tentativas dentro da mesma técnica (SVG <path> separado por
	   cima, .yh-hero__wave) não resolveram pro usuário: respiro da
	   imagem, opacity do fundo, blur do fundo, transform:translateZ(0)
	   pra forçar camada de GPU própria, e por fim igualar esta página
	   exatamente à configuração da home (que não tem o problema). Nada
	   disso resolveu de forma confirmada. Trocada a técnica de vez -
	   ver a regra `.mg-hub .yh-hero` mais abaixo, que substitui o <svg>
	   inteiro por um clip-path na própria seção.
	   `padding-bottom` removido de novo (2026-08-26, rodada seguinte) -
	   qualquer valor aqui estica a altura total do hero, e o usuário
	   apontou que isso lê como "hero cresceu/mais espaço em cima", não
	   importa que o espaço técnico adicionado fosse embaixo do conteúdo.
	   A curva do clip-path foi reduzida bem mais rasa em vez disso (ver
	   comentário da regra clip-path) - assim a imagem não precisa de
	   respiro extra pra escapar do corte. `justify-content: center`
	   continua aqui - é a correção de centralização (não relacionada à
	   onda), ainda necessária. */
	.mg-hub .yh-hero--plain .yh-hero__portrait {
		justify-content: center;
	}
	.mg-hub .yh-hero--plain .yh-hero__portrait-img {
		max-width: 260px;
		margin-left: 0;
		margin-right: 0;
	}
	/* Home mobile hero only: the pill badge, a smaller portrait and a
	   tighter lead paragraph all trim vertical space so the hero doesn't
	   read as "the whole screen" before any real content shows. Scoped to
	   .home (the real body class WordPress only stamps on the front page)
	   so other .yh-hero pages (LPs, segment pages) keep their existing
	   mobile sizing - same fix already applied to the two portrait rules
	   right below. This pair used to say .yh-home, the shared <main> class
	   every page in this design system carries (not just the home page) -
	   found 2026-08-29 auditing the Representante Comercial page: it was
	   silently display:none-ing every .yh-pill on every .yh-home page at
	   <=960px, including the CNAE code badges in that page's CNAE section
	   (and the hero pill + .yh-hero__lead font-size on every other segment
	   page's mobile hero), not just the home page's own hero pill. */
	.home .yh-pill {
		display: none;
	}
	.home .yh-hero__lead {
		font-size: 15px;
	}
	.home .yh-hero__portrait {
		padding-bottom: 16px;
		/* Overrides the flex-end anchoring above - on the home mobile hero
		   the portrait reads better centered under the copy than pinned to
		   the right edge. */
		justify-content: center;
	}
	.home .yh-hero__portrait-img {
		max-width: 230px;
		/* Overrides the margin-left:auto "push right" trick above, which
		   would otherwise fight the centering by claiming all the extra
		   space for itself. */
		margin-left: 0;
		margin-right: 0;
	}
	/* .yh-hero--plain has its own UNCONDITIONAL (no media query) desktop
	   rules a few hundred lines up - min-height:380px and max-width:380px,
	   both with 0,2,0 specificity (two classes). That's higher than the
	   plain .yh-hero__portrait/.yh-hero__portrait-img selectors just above
	   (0,1,0, one class each), so on real "content:plain" pages (every
	   calculator, abertura-de-empresa, etc.) those old unconditional rules
	   were silently winning over this whole mobile fix at every viewport
	   width, including narrow phones - confirmed via DevTools computed
	   styles. Repeating the override with the .yh-hero--plain prefix here
	   matches that higher specificity so it actually wins on mobile too.
	   padding-bottom zeroed here to match the same bug already fixed on
	   .yh-hero--cidade (see the comment further below): on desktop,
	   .yh-hero__grid has align-items:end, which anchors the bottom of the
	   portrait to the bottom of the whole grid without depending on any
	   padding at all - but on mobile the grid collapses to a single
	   stacked column, that structural guarantee no longer applies, and the
	   bottom of the portrait ends up depending only on this padding-bottom,
	   with nothing left to "rest against". 28px had never been reduced
	   here (only on --cidade, which went through 28px -> 14px -> 0px in
	   the same investigation) - the already-validated final value is
	   replicated here. */
	.yh-hero--plain .yh-hero__portrait {
		min-height: 0;
		padding-bottom: 0;
		justify-content: flex-end;
	}
	.yh-hero--plain .yh-hero__portrait-img {
		max-width: 320px;
		margin-left: auto;
		margin-right: 0;
	}
	/* Same tablet/mobile sizing as .yh-hero--plain just above, repeated
	   under .yh-hero--cidade's own selector (see the desktop rule near
	   .yh-hero--plain further up this file for why it's a separate class
	   instead of reusing --plain outright).
	   The portrait image itself (person + phone mockup side by side) is a
	   tall crop - at 320px wide it renders ~395px tall with the default
	   height:auto, and .yh-hero__portrait's own 28px padding-bottom added
	   on top of that left a visibly floating gap of navy below her before
	   the hero's wavy bottom edge, not a leftover min-height issue.
	   Trimmed two ways at once: a slight crop of the image itself
	   (max-height below her natural render height, object-fit:cover +
	   object-position:top so the crop only ever eats into the bottom of
	   the frame - her face/upper body, the actual subject, stays fully
	   visible) AND a smaller padding-bottom, so the hero section itself
	   ends noticeably sooner on mobile - desktop is untouched (no
	   max-height/object-fit there, only in this <=960px block).
	   padding-bottom later reduced to 0 for the same structural reason
	   documented above: on desktop, .yh-hero__grid has align-items:end,
	   which anchors the bottom of the portrait to the same line as the
	   bottom of the whole grid - a structural guarantee that doesn't
	   depend on getting height/padding exactly right, which is why it
	   rests flush there reliably. On mobile the grid collapses to a
	   single stacked column (grid-template-columns:1fr, see the block
	   just above) - that alignment guarantee no longer exists, so the
	   bottom of the portrait ends up depending only on the padding-bottom
	   here plus the crop height, with nothing left to rest against. 14px
	   still left a visible gap (desktop resting flush, mobile not) -
	   zeroed out entirely, so the cropped image is now literally the last
	   thing before the end of the hero on mobile, with no buffer left. */
	.yh-hero--cidade .yh-hero__portrait {
		min-height: 0;
		padding-bottom: 0;
		justify-content: flex-end;
	}
	.yh-hero--cidade .yh-hero__portrait-img {
		width: 320px;
		max-width: 320px;
		max-height: 350px;
		object-fit: cover;
		object-position: top center;
		margin-left: auto;
		margin-right: 0;
	}
	.yh-grid-3,
	.yh-grid-5 {
		grid-template-columns: repeat(2, 1fr);
	}
	.yh-grid-4,
	.yh-steps {
		grid-template-columns: repeat(2, 1fr);
	}
	.yh-testimonials {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.yh-hero {
		padding: 44px 0 0;
	}
	.yh-hero__title {
		font-size: 28px;
	}
	.yh-hero__stats {
		/* .yh-hero__stats is display:grid (not flex) - flex-direction had
		   zero effect here, so the 3-column grid-template-columns from the
		   base rule stayed active on mobile. With text like "Especialistas
		   em negócios digitais" refusing to shrink below its content width,
		   that forced the whole row (and everything containing it, up to
		   the page body) wider than the viewport - the real cause of the
		   sitewide horizontal scroll/cut-off buttons reported on mobile. */
		grid-template-columns: 1fr;
		gap: 16px;
		align-items: flex-start;
	}
	.yh-hero__stat {
		padding: 0 24px;
	}
	.yh-hero__stat + .yh-hero__stat {
		border-left: none;
		border-top: 1px solid var(--border-color);
		padding-top: 16px;
	}
	.yh-section {
		padding: 44px 0;
	}
	.yh-section__title {
		font-size: 22px;
	}
	/* .yh-grid-2 was missing from this list entirely (and from the 900px
	   collapse block above) - it stayed locked at its base
	   repeat(2, 1fr) on every phone width, no matter how narrow, which is
	   exactly the cramped 2-column card grid reported on the "Nota
	   Fiscal" section (page-contabilidade-para-infoprodutores.php) - the
	   same bug also silently affects every other page using .yh-grid-2
	   (page-migracao-de-mei-para-me.php, and the shared page-cidade-lp.php
	   template used by ~292 city pages). */
	.yh-grid-2,
	.yh-grid-3,
	.yh-grid-4,
	.yh-grid-5,
	.yh-steps,
	.yh-accordion,
	.yh-testimonials {
		grid-template-columns: 1fr;
	}

	/* The "Falar com a Yangoo"/"Quero abrir minha empresa" CTA right after
	   the FAQ accordion (Cidade LP, Itapema) is .yh-btn's default
	   display:inline-block, which just left-aligns in flow - fine on
	   desktop next to the section's other left-aligned text, but reads
	   off-balance on a single-column mobile layout where everything else
	   already stacks full-width. display:table keeps it sized to its own
	   content (unlike display:block, which would stretch it edge to edge)
	   while still letting margin:auto center it. */
	.yh-faq .yh-btn {
		display: table;
		margin-left: auto;
		margin-right: auto;
	}
}

/* The "Quero abrir minha empresa" button under the FAQ should stay
   centered at any screen width, not just mobile (the rule above, inside
   @media max-width:600px, only covers that case). Scoped via
   .yh-cidade-abertura (a class on <main>, added when $is_abertura is
   true in page-cidade-lp.php) so it does not touch the "Contabilidade em
   [Cidade]" FAQ or any other page reusing .yh-faq (Itapema, Sede
   Virtual, etc.), which stay left aligned on desktop. */
.yh-cidade-abertura .yh-faq .yh-btn {
	display: table;
	margin-left: auto;
	margin-right: auto;
}

/* Very narrow phones (iPhone SE, older/small Android - 320-380px) - see
   the matching note in site.css. */
@media (max-width: 380px) {
	.yh-container {
		padding: 0 16px;
	}
	.yh-hero__title {
		font-size: 24px;
	}
	.yh-hero__lead {
		font-size: 14px;
	}
	.yh-hero__portrait-img {
		max-width: 280px;
	}
	.yh-hero--plain .yh-hero__portrait-img {
		max-width: 220px;
	}
	.yh-hero--cidade .yh-hero__portrait-img {
		width: 220px;
		max-width: 220px;
		max-height: 240px;
	}
	/* Shrinks further alongside the portrait-img rules just above - see the
	   longer comment on the 960px breakpoint's .yh-hero__glow rule for why
	   this needs its own size at all. */
	.yh-hero__glow {
		width: 220px;
		height: 220px;
	}
	/* .yh-home's own 960px-breakpoint override (0,2,0 specificity) would
	   otherwise win over the plain rules just above at this width too,
	   undoing the "get smaller on tinier phones" progression - repeated
	   here at matching specificity so it keeps shrinking. */
	.yh-home .yh-hero__lead {
		font-size: 13.5px;
	}
	.home .yh-hero__portrait-img {
		max-width: 190px;
	}
}

/**
 * 3 new components for page-contabilidade-para-infoprodutores.php, built
 * for a rewrite where a single URL does double duty as a commercial
 * landing page AND an SEO pillar page - jump nav so
 * a long page stays navigable, a thin trust bar right under the hero, and
 * a "how the money actually flows" diagram). Not scoped to that one page
 * in the selector - .yh-home-wide components like every other block on
 * this stylesheet, reusable by any future page that needs the same
 * pattern.
 */

/* Thin trust-signal strip right under the hero: 4 short factual claims
   (CRC registration, CCI training, nationwide digital service,
   specialization), no icons needed - the point is quiet credibility, not
   another card grid competing with the hero above it. */
.yh-trustbar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 0;
	padding: 18px 0;
	border-bottom: 1px solid var(--border-color);
}

/* .yh-trustbar__row is only ever built via an inline
   style="display:flex;flex-wrap:wrap;justify-content:center;" on every
   segment page that uses this trust bar (Engenheiros, Advogados,
   Médico, Infoprodutores, this page, etc.) - never had a real gap/row-
   gap set anywhere, inline or in this stylesheet. On any viewport narrow
   enough to wrap the 4 items onto 2+ lines, consecutive lines rendered
   with zero vertical space between them - icons and text from different
   rows sitting flush against each other, reported as "esquisito" on
   mobile. Real component bug, not specific to one page - fixed once
   here for every page that reuses this markup, rather than patching
   each page's inline style individually. */
.yh-trustbar__row {
	row-gap: 12px;
}

.yh-trustbar__item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--text-secondary);
	padding: 0 22px;
}

.yh-trustbar__item + .yh-trustbar__item {
	border-left: 1px solid var(--border-color);
}

.yh-trustbar__icon {
	color: var(--yangoo-turquoise);
	flex-shrink: 0;
}

@media (max-width: 700px) {
	.yh-trustbar__item {
		padding: 0 14px;
		font-size: 12.5px;
	}
	/* justify-content:center (from the inline style every page sets on
	   .yh-trustbar__row) centers each WRAPPED LINE independently, not the
	   block as a whole - with 4 items of different text length wrapping
	   onto 2-4 lines on a narrow phone, each line ends up starting at a
	   different x position (whichever leaves it centered on its own),
	   reading as a staggered, unaligned zigzag rather than a tidy list.
	   flex-start lines every wrapped row up to the same left edge
	   instead - requested specifically for mobile; left as centered on
	   desktop, where the 4 items still fit on one line and reads
	   intentionally balanced under the centered hero copy.
	   !important is required here, not optional: an inline style="" (as
	   every page sets on this element) always wins over any external
	   stylesheet rule regardless of selector specificity - there is no
	   selector-based way to beat it. */
	.yh-trustbar__row {
		justify-content: flex-start !important;
	}
	.yh-trustbar__item {
		padding-left: 0;
	}
}

/* Jump nav: a row of anchor pills so a long single-URL page (hero +
   commercial sections + SEO pillar content) stays easy to skim/navigate
   instead of reading as one long scroll - not sticky/fixed, matching the
   sitewide convention that the header itself never sticks either.
   Horizontal scroll on narrow screens instead of wrapping to many rows,
   since a wrapped pill grid of 8-9 items reads worse than a scrollable
   single row with an implicit "there's more" affordance. */
.yh-jumpnav {
	background: var(--background-soft);
	border-bottom: 1px solid var(--border-color);
}

.yh-jumpnav__row {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	overflow-x: auto;
	padding: 14px 0;
	scrollbar-width: thin;
}

.yh-jumpnav__link {
	flex-shrink: 0;
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	color: var(--yangoo-navy);
	background: var(--background);
	border: 1px solid var(--border-color);
	border-radius: 999px;
	padding: 8px 16px;
	white-space: nowrap;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.yh-jumpnav__link:hover,
.yh-jumpnav__link:focus-visible {
	background: var(--yangoo-turquoise);
	border-color: var(--yangoo-turquoise);
	color: var(--yangoo-white);
}

/* Every section a jump-nav link can target needs this, or the anchor jump
   lands the heading flush against the very top edge of the viewport -
   applied to the wrapping <section>, not just the heading, so the whole
   section's own top padding still shows above the fold too. */
.yh-anchor-target {
	scroll-margin-top: 24px;
}

/**
 * "Sua contabilidade entende como seu dinheiro chega?" flow diagram -
 * replaced a hand-built row of CSS nodes/arrows with a single designed
 * graphic (assets/img/segmentos/infoprodutores/fluxo-financeiro.webp,
 * cropped tight to its visible content - the source file had a huge
 * transparent margin above/below the actual row of cards, worth ~4x the
 * row's own height, left over from whatever canvas size it was exported
 * at). A hand-built 2-line HTML/CSS chip version was tried as a
 * mobile-only replacement, but was dropped in favor of removing the
 * diagram outright rather than keeping any diagram on small screens
 * (the surrounding paragraph already explains the same flow in prose) -
 * so mobile now shows no diagram at all, just the heading/paragraph/CTA.
 *
 * The image itself used to be `height:90px; width:auto` - a FIXED height,
 * so its rendered width was always ~1100px (the image's own ~12:1
 * aspect ratio at that height) regardless of how much room the container
 * actually had. On any desktop narrower than that (an unmaximized
 * browser window, a smaller laptop, even just a slightly narrower
 * viewport that isn't yet the 700px mobile cutoff below), the image
 * simply didn't fit and .yh-flow-img-wrap's `overflow-x:auto` kicked in,
 * showing a real horizontal scrollbar right in the middle of the page.
 * Switched to `width:100%;
 * height:auto` - the image now scales DOWN to fit whatever width the
 * container actually has, same as any other responsive image on this
 * site, so there is never a point where it doesn't fit and needs to
 * scroll. It keeps shrinking smoothly all the way down to the 700px
 * mobile cutoff below, where it disappears instead of continuing to
 * shrink past legibility.
 */
.yh-flow-img-wrap {
	margin: 28px 0;
}

.yh-flow-img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 700px) {
	.yh-flow-img-wrap {
		display: none;
	}
}

/* Platform cards (Hotmart/Kiwify/Eduzz/Monetizze) - logo sits in a fixed
   neutral box above the title so the 4 source logos (a filled circle, a
   flat shape with no background of its own, another filled circle, a
   filled square) all read at the same visual weight instead of floating
   at 4 different implicit sizes. aspect-ratio:auto applied preventively
   (not after-the-fact like the /parceiros/ hub logos needed - see
   partners.css - and the AI tools bot icons already do this too) since a
   <img> inheriting a mismatched aspect-ratio from its own width/height
   attributes vs. its real file dimensions is what caused that bug
   there. */
.yh-platform-card {
	text-align: center;
}

.yh-platform-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 14px;
	background: var(--background-soft);
	border-radius: 14px;
	padding: 8px;
}

.yh-platform-card__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	aspect-ratio: auto;
}

/* Monetizze's source file is a flat, solid-color square tile (unlike
   Hotmart/Kiwify/Eduzz, which are already an irregular shape floating on
   transparency after cropping) - its own hard corners show inside the
   rounded neutral box around it. Rounding the image itself (not just its
   wrapper) softens that. Opt-in via .is-rounded rather than applied to
   every logo, since Hotmart/Eduzz are already circular and Kiwify has no
   flat edge to round in the first place. */
.yh-platform-card__logo img.is-rounded {
	border-radius: 8px;
}

/* Search + pagination for /guias/ and /estudos/ (2026-08-27,
   hub-search-paginate.js drives the behavior - this only covers look).
   Generic on purpose (.hub-prefixed classes, not page-specific ones) so
   both pages share one set of rules instead of two near-duplicate ones.
   CAUTION for future edits to this comment: never type an asterisk
   directly followed by a forward slash inside it - that combination ends
   a CSS comment early no matter what it's meant to say, and a previous
   version of this exact comment did that by accident twice while trying
   to informally abbreviate two class-name prefixes side by side. Both
   times it silently corrupted the .hub-search rule immediately below
   into a broken selector that got discarded, with no visible error
   anywhere - the CSS just quietly never applied. */
.hub-search {
	position: relative;
	max-width: 420px;
	margin: 0 0 28px;
}

.hub-search__icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-secondary);
	pointer-events: none;
}

/* [type="search"] qualifier is required, not cosmetic: the parent Hello
   Elementor theme has a generic `input[type="search"], input[type="text"],
   ... { border:1px solid #666; border-radius:3px; padding:.5rem 1rem; }`
   reset with specificity (0,1,1) - a bare `.hub-search__input` class alone
   is only (0,1,0) and loses that tie, so the browser's own gray
   border/3px radius won instead of this rule's turquoise-on-focus pill
   styling. Same recurring pattern documented for [type="button"] elsewhere
   in this codebase (see .yh-accordion__trigger), just for a search input
   instead of a button. */
.hub-search__input[type="search"] {
	width: 100%;
	padding: 12px 16px 12px 42px;
	border: 1px solid var(--border-color);
	border-radius: 999px;
	font-size: 15px;
	font-family: inherit;
	color: var(--text-primary);
	background: var(--background);
	appearance: none;
	-webkit-appearance: none;
}

.hub-search__input[type="search"]:focus {
	outline: none;
	border-color: var(--yangoo-turquoise);
	box-shadow: 0 0 0 3px rgba(81, 215, 217, .18);
}

/* Same [type="button"]-qualified pattern used everywhere else on this
   site (see .yh-accordion__trigger for the canonical example) - without
   it, the parent Hello Elementor theme's generic [type=button] reset
   (border/background #c36) wins the specificity tie against a bare class
   selector and these buttons render pink instead of styled. */
.hub-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 32px;
}

.hub-pagination__arrow[type="button"] {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid var(--border-color);
	background: var(--background);
	color: var(--text-primary);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

/* Achado do usuário (2026-09-14): os estados abaixo só redeclaravam
   `border-color`/`color`, nunca `background` - a cascata resolve
   propriedade por propriedade, não regra inteira, então `background-color`
   ficava livre pro reset do tema pai (`[type=button]:hover/:focus{
   background-color:#c36}`) preencher em empate de especificidade (mesma
   causa já documentada em .mg-tab/.yh-blog-tab/.ai-bot-card__icon img,
   ver comentários correspondentes). `background: var(--background)`
   explícito nos dois estados fecha essa lacuna. `:focus` puro adicionado
   também (não só `:focus-visible`) - clique de mouse gera `:focus` mas
   nem sempre `:focus-visible`, mesma lição já aplicada nas abas
   "Mais recentes"/"Mais lidos" da home. */
.hub-pagination__arrow[type="button"]:hover,
.hub-pagination__arrow[type="button"]:focus,
.hub-pagination__arrow[type="button"]:focus-visible {
	background: var(--background);
	border-color: var(--yangoo-turquoise);
	color: var(--yangoo-turquoise);
}

.hub-pagination__arrow[type="button"]:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.hub-pagination__pages {
	display: flex;
	align-items: center;
	gap: 4px;
}

.hub-pagination__page[type="button"] {
	min-width: 36px;
	height: 36px;
	padding: 0 4px;
	border: none;
	border-radius: 999px;
	background: none;
	color: var(--text-secondary);
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
}

.hub-pagination__page[type="button"]:hover,
.hub-pagination__page[type="button"]:focus,
.hub-pagination__page[type="button"]:focus-visible {
	background: none;
	color: var(--yangoo-turquoise);
}

.hub-pagination__page[type="button"].is-active {
	background: var(--yangoo-turquoise);
	color: #fff;
}

.hub-pagination__page[type="button"].is-active:hover,
.hub-pagination__page[type="button"].is-active:focus,
.hub-pagination__page[type="button"].is-active:focus-visible {
	background: var(--yangoo-turquoise);
	color: #fff;
}

.hub-empty {
	color: var(--text-secondary);
	text-align: center;
	padding: 32px 0;
}

/**
 * "Plataformas" section, page-contabilidade-para-criadores-de-conteudo-
 * adulto.php (2026-08-28) - animated logo marquee with edge fade
 * ("esmaecimento"), requested to look like a reference screenshot the
 * user sent from a competitor site - but explicitly NOT copying that
 * competitor's orange color or text, just the general idea (gradient
 * background, logos scrolling past, faded edges). Built with Yangoo's
 * own navy/turquoise palette instead. Pure CSS animation (translateX
 * loop over a doubled track), no JS - pauses on hover/focus and respects
 * prefers-reduced-motion for accessibility.
 */
.yh-platform-marquee {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	padding: 28px 0;
	background: linear-gradient(120deg, var(--yangoo-navy-dark) 0%, var(--yangoo-navy) 55%, #0e3a5c 100%);
	margin: 20px 0 28px;
}

.yh-platform-marquee__glow {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 520px;
	height: 220px;
	background: radial-gradient(circle, rgba(81, 215, 217, .28) 0%, rgba(81, 215, 217, .12) 45%, rgba(81, 215, 217, 0) 72%);
	filter: blur(14px);
	pointer-events: none;
}

.yh-platform-marquee__viewport {
	position: relative;
	z-index: 1;
	overflow: hidden;
	/* Fade mask on both edges ("esmaecimento") - logos scroll in/out
	   softly instead of getting hard-cropped by the container edge. */
	-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.yh-platform-marquee__track {
	display: flex;
	align-items: center;
	gap: 20px;
	width: max-content;
	animation: yh-platform-scroll 32s linear infinite;
}

.yh-platform-marquee:hover .yh-platform-marquee__track,
.yh-platform-marquee:focus-within .yh-platform-marquee__track {
	animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
	.yh-platform-marquee__track {
		animation: none;
	}
}

@keyframes yh-platform-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.yh-platform-marquee__item {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60px;
	padding: 0 26px;
	background: rgba(255, 255, 255, .96);
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

.yh-platform-marquee__item img {
	height: 22px;
	width: auto;
	max-width: 130px;
	object-fit: contain;
	aspect-ratio: auto;
	display: block;
}

/**
 * Platform comparison table (same section) - real names/mechanics
 * researched and handed to me by the user, not invented; commission
 * percentages are framed as "faixas típicas" (see the disclaimer
 * paragraph right after the table in the PHP) rather than fixed facts,
 * since they're the kind of number a platform can revise unilaterally at
 * any time. Wrapped in an overflow-x:auto container so a narrow phone
 * screen scrolls the table horizontally instead of squeezing/wrapping
 * every cell (the sitewide rule for any wide content block).
 */
.yh-compare-table-wrap {
	overflow-x: auto;
	margin: 24px 0;
	border: 1px solid var(--border-color);
	border-radius: 12px;
}

.yh-compare-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 14px;
}

.yh-compare-table th,
.yh-compare-table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--border-color);
	white-space: nowrap;
}

.yh-compare-table thead th {
	background: var(--background-soft);
	color: var(--yangoo-navy);
	font-weight: 700;
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.yh-compare-table tbody tr:last-child td {
	border-bottom: none;
}

.yh-compare-table td {
	color: var(--text-secondary);
}

.yh-compare-table td:first-child {
	color: var(--yangoo-navy);
	font-weight: 700;
}

@media (max-width: 600px) {
	.yh-platform-marquee__item {
		height: 52px;
		padding: 0 20px;
	}
	.yh-platform-marquee__item img {
		height: 18px;
	}
}

/**
 * Dark + terracotta theme, page-contabilidade-para-criadores-de-conteudo-
 * adulto.php only (2026-08-28) - user-specified palette, explicitly NOT
 * the site's navy/turquoise institutional look ("se for campanha da
 * Yangoo... o terracota entra só nessa LP; o site institucional continua
 * no que já é de vocês"). Scoped entirely to .yh-nicho-adulto (the class
 * added to this page's <main>) by redefining the same CSS custom
 * properties every shared .yh-* component already reads from (--yangoo-
 * navy, --background, --text-secondary, --border-color etc.) - almost
 * every component (cards, accordion, table, buttons, pills, jumpnav)
 * consumes these vars directly, so this single block re-skins the whole
 * page without duplicating each component's CSS.
 *
 * Two variables get a role SPLIT rather than a straight remap, because the
 * shared stylesheet dual-uses them for two different jobs that need
 * opposite tones on an all-dark page:
 * - --yangoo-navy is used both as HEADING TEXT COLOR everywhere (the
 *   overwhelming majority of its uses) and as the .yh-hero--plain
 *   BACKGROUND color (a single, unrelated use). Mapped here to the warm
 *   off-white for the text role; the one background use is corrected by a
 *   direct .yh-hero--cidade override further below instead (this page
 *   doesn't use --plain anyway, see the hero markup).
 * - --border-color is used both as literal border/divider tint AND, on
 *   the ORIGINAL site, as muted "light text on a dark navy section" color
 *   (.yh-hero__lead, .yh-card--dark p, .yh-accel__item p, .yh-section__
 *   lead--light) - on the original site that duality works because light
 *   blue-gray reads fine as both a subtle border on white AND dim text on
 *   navy. On an all-dark page a single value can't be both "visible
 *   divider on near-black" and "readable text on near-black" at the same
 *   time as cleanly, so this uses a middle warm-gray tone (#4A403A) that
 *   is legible enough for both without being a perfect fit for either -
 *   documented here rather than treated as solved.
 */
.yh-nicho-adulto {
	--yangoo-navy: #F4EDE4;
	--yangoo-navy-dark: #0B0B0C;
	--yangoo-turquoise: #C45C3E;
	--yangoo-aqua: #E8A87C;
	--yangoo-white: #F4EDE4;

	--text-primary: #F4EDE4;
	--text-secondary: #A39B94;

	--background: #161417;
	--background-soft: #121011;
	--background-blue-soft: #1C1512;

	--border-color: #4A403A;
	--link-color: #E8A87C;

	--button-primary-bg: #C45C3E;
	--button-primary-text: #F4EDE4;
	--button-primary-hover: #E8A87C;

	background: #0B0B0C;
}

/* .yh-hero--plain's own background-color is var(--yangoo-navy) - now
   remapped to off-white above for the text role, so this page (which uses
   .yh-hero--cidade, not --plain, since it has a real bg photo) needs its
   own direct background for the same reason .yh-hero--cidade never set
   one on the original site (it always relied on --plain's, which this
   page can't use). Belt-and-braces: .yh-hero itself also has a hardcoded
   #0B2A49 fallback that would otherwise show for a flash before
   .yh-hero__bg's photo paints. */
.yh-nicho-adulto .yh-hero,
.yh-nicho-adulto .yh-hero--cidade {
	background-color: #0B0B0C;
}

/* .yh-hero__bg/.yh-hero__overlay/.yh-hero__fade/.yh-hero__glow all bake
   navy (#0B2A49 = rgb(11,42,73)) into literal rgba() stops rather than
   referencing a variable - can't be fixed by the custom-property block
   above, need direct overrides here with the same alpha stops, just a
   charcoal/terracotta base instead of navy. */
.yh-nicho-adulto .yh-hero__bg {
	background-color: #0B0B0C;
}

.yh-nicho-adulto .yh-hero__overlay {
	background: linear-gradient(to top, rgba(11, 11, 12, .65) 0%, rgba(11, 11, 12, .3) 60%, rgba(11, 11, 12, .08) 100%);
}

.yh-nicho-adulto .yh-hero__shade {
	background: linear-gradient(to right, rgba(11, 11, 12, .82) 0%, rgba(11, 11, 12, .58) 35%, rgba(11, 11, 12, .2) 65%, rgba(11, 11, 12, 0) 90%);
}

.yh-nicho-adulto .yh-hero__fade {
	background: linear-gradient(to top, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, .28) 30%, rgba(11, 11, 12, .08) 60%, rgba(11, 11, 12, 0) 85%);
}

.yh-nicho-adulto .yh-hero__glow {
	background: radial-gradient(circle, rgba(196, 92, 62, .45) 0%, rgba(196, 92, 62, .24) 30%, rgba(196, 92, 62, .1) 52%, rgba(196, 92, 62, 0) 72%);
}

/* .yh-pill's border is a literal rgba(81,215,217,.4) (turquoise) tint,
   not a variable - the pill's own text color already follows
   var(--yangoo-aqua) above (now peach), this just matches the border. */
.yh-nicho-adulto .yh-pill {
	border-color: rgba(232, 168, 124, .4);
}

/* The gold accent from the brief ("ouro fosco só em selo: sigilo, CRC,
   atendimento reservado") maps naturally onto the trust bar - it's
   literally the row of "selo"-style claims (CRC, sede virtual, sigilo)
   the brief describes. Scoped to just the checkmark icon, not the whole
   bar, to keep the 2% gold accent proportion the brief asked for. */
.yh-nicho-adulto .yh-trustbar__icon {
	color: #D4B483;
}

.yh-nicho-adulto .yh-trustbar {
	border-bottom-color: #2A2422;
}

/* .yh-platform-marquee's own background gradient mixes a var(--yangoo-
   navy) stop (now off-white on this page, from the remap above) with a
   hardcoded #0e3a5c navy stop that no variable override can reach -
   direct override needed for the marquee (and its center glow, a literal
   turquoise rgba) to read as charcoal/terracotta instead of navy blue. */
.yh-nicho-adulto .yh-platform-marquee {
	background: linear-gradient(120deg, #0B0B0C 0%, #1C1512 55%, #2A1B14 100%);
}

.yh-nicho-adulto .yh-platform-marquee__glow {
	background: radial-gradient(circle, rgba(196, 92, 62, .32) 0%, rgba(196, 92, 62, .14) 45%, rgba(196, 92, 62, 0) 72%);
}

/* .yh-hero__lead's color is var(--border-color), a dual-use choice
   documented at the top of this theme block (works as a divider AND as
   dim hero text on the original site's light-blue-gray value) - but on
   this page --border-color was remapped to a dark divider tone (#4A403A,
   meant to be visible against near-black card backgrounds further down
   the page), which reads too dim against this hero's own busy photo
   background specifically. Direct override, decoupled from the shared
   variable, so the divider role elsewhere on the page stays correct
   while the hero lead gets its own properly light, readable tone. */
.yh-nicho-adulto .yh-hero__lead {
	color: rgba(244, 237, 228, .95);
}

/* Portrait requested full-body (legs to head, never cropped) but smaller
   on desktop - the shared .yh-hero--cidade sizing (380px wide) scales
   this specific photo's tall ~542:1024 aspect ratio up to ~718px tall,
   growing the whole hero section with it (.yh-hero__grid's
   align-items:end ties the hero's height to the portrait's). Since the
   photo must stay uncropped, the only way to shrink the hero is to scale
   the whole image down (width down, height follows the same ratio) -
   object-fit:cover/height caps would crop it instead, which is exactly
   what was asked NOT to happen. min-width:961px matches the existing
   .yh-hero--cidade mobile overrides (nested inside the shared
   @media(max-width:960px) block further down this file) so this doesn't
   fight or get fought by that already-correct mobile sizing.
   2026-08-28: 260px was tuned for the ORIGINAL crop's ~0.529 aspect
   ratio (260px wide -> ~491px tall). The image was later re-cropped
   (removing a large empty margin a stray pixel had faked into the
   original bbox), narrowing the ratio to ~0.380 - the same 260px width
   now rendered ~683px tall at that new ratio, towering well above the
   ~450px copy column and leaving a large empty gap above the title
   (.yh-hero__grid's align-items:end bottom-anchors the copy inside
   whatever height the taller portrait forces the whole row to). Rescaled
   down to 190px (~500px tall at the new ratio) to bring the portrait's
   height back in line with the copy column's own height. */
@media (min-width: 961px) {
	.yh-nicho-adulto .yh-hero--cidade .yh-hero__portrait-img {
		max-width: 190px;
	}
	.yh-nicho-adulto .yh-hero--cidade .yh-hero__portrait {
		min-height: 300px;
	}
	/* .yh-hero__glow's left:52% (shared base rule) was tuned for a
	   portrait that fills most of .yh-hero__portrait's width - now that
	   this page's image is capped narrower inside a much wider column
	   (justify-content:flex-end pins it to the right edge), the image's
	   real horizontal center sits well to the right of 52%, which is why
	   the glow rendered visibly left of her. Re-measured live each time
	   the portrait's own width changed (260px -> ~75%, then 190px ->
	   ~82%) rather than guessed. */
	.yh-nicho-adulto .yh-hero__glow {
		left: 82%;
	}
}

/* "Como começar com a Yangoo" (5 steps) - requested 3-on-top/2-centered-
   below on desktop, instead of the shared .yh-steps grid (auto-fit grid
   columns, which either crams all 5 into one cramped row or leaves the
   trailing 2 stuck flush-left under column 1/2 - CSS Grid never centers
   a short last row on its own). Switched to flex-wrap here specifically
   because, unlike grid, each wrapped flex line gets its own
   justify-content:center independently - the leftover 2-item row centers
   itself for free once it wraps, no extra math needed. Fixed 961px min-
   width guard matches the shared .yh-steps mobile collapse (nested in
   the site's existing 960px breakpoint further down) so this never
   fights that already-correct single-column mobile layout. */
@media (min-width: 961px) {
	.yh-nicho-adulto .yh-steps {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 28px;
	}
	.yh-nicho-adulto .yh-steps li {
		flex: 0 1 320px;
		max-width: 320px;
	}
}

/* "Falar com a Yangoo" CTA right after the steps list - left-aligned by
   default (plain inline-block <a>, same as every other CTA on the page),
   but under a now horizontally-centered 3-then-2 step layout it read as
   oddly off-center. `.yh-steps + a.yh-btn` targets only this specific
   button (the one immediately following .yh-steps), not every
   .yh-btn--primary on the page - most of those stay intentionally left-
   aligned under left-aligned section text. display:table (not block)
   keeps the button sized to its own content instead of stretching full
   width, matching the same centering technique already used for
   .yh-faq .yh-btn on mobile elsewhere in this file. */
.yh-nicho-adulto .yh-steps + a.yh-btn {
	display: table;
	margin-left: auto;
	margin-right: auto;
}

/* "Simples ou Lucro Presumido" cards - .yh-grid-3 already stretches all
   3 cards to equal height (CSS Grid's default align-items:stretch), but
   .yh-card itself was never flex, so a card's internal "Simular no
   site →"/"Comparar com o Simples →" button just sat right after its own
   paragraph - landing at a different height in each card whenever the
   paragraphs wrap to a different number of lines. flex-direction:column
   + margin-top:auto on the button pins it to the bottom of the (already
   equal-height) card instead, so both buttons land on the same line
   regardless of paragraph length. align-self:flex-start keeps the button
   its own natural width - flex's default align-items:stretch would
   otherwise stretch it to the full card width. Scoped to this page since
   .yh-card is a sitewide component and most of its other uses (this
   page's own PF x PJ/Tipo de empresa/CNAE cards included) have no button
   inside to misalign in the first place. */
.yh-nicho-adulto .yh-card {
	display: flex;
	flex-direction: column;
}

.yh-nicho-adulto .yh-card .yh-btn {
	margin-top: auto;
	align-self: flex-start;
}

/* Same fix, same "Simples/Presumido/Real" 3-card block, this time on the
   national Abertura de Empresa page - all 3 cards now have their own
   button (Lucro Real didn't used to have one at all, which was the real
   asymmetry reported: 2 cards with a bottom-aligned button and one with
   none, plus a leftover unrelated CNAE button floating below the whole
   grid, misaligned with everything above it). */
.yh-abertura-nacional .yh-card {
	display: flex;
	flex-direction: column;
}

.yh-abertura-nacional .yh-card .yh-btn {
	margin-top: auto;
	align-self: flex-start;
}

/* margin-top:auto on the button only pushes it down by whatever slack is
   left in the (already equal-height) card - with a short paragraph like
   Lucro Presumido/Lucro Real's, that's a generous gap, but Simples
   Nacional's own paragraph is long enough to nearly fill the card on its
   own, so auto collapsed toward zero and the button ended up reading as
   glued to the text right above it. A fixed bottom margin on the
   paragraph guarantees a minimum gap on every card, on top of whatever
   auto adds for the shorter ones - the two just add together, they don't
   replace each other in a flex column. */
.yh-abertura-nacional .yh-card p {
	margin-bottom: 16px;
}

/* "Consultar CNAE no site" inside the "O que considerar" media-row's text
   column - .yh-btn is inline-block by default, sized to its own text, so
   it stopped well short of the column's full width, leaving the rest of
   that line empty next to the illustration. display:block + width:100%
   stretches it out to match the paragraphs above it. Scoped to this one
   media-row (only one .yh-btn lives in it) so it doesn't touch the hero
   CTA or the "Falar sobre Lucro Real" card button elsewhere on the page. */
.yh-abertura-nacional .yh-media-row .yh-btn {
	display: block;
	width: 100%;
	text-align: center;
}

/* On mobile, the 3 "Regime tributário" cards (.yh-grid-3, collapsed to
   1 column at <=600px, see the shared rule further up this file) each
   still had their own .yh-btn sized to its own text - "Simular no site"
   ends up visibly narrower than "Falar sobre Lucro Real" just because
   the label is shorter, reading as mismatched even though the 3 cards
   themselves are already the same width. Same display:block + width:100%
   trick as the CNAE button above, this time only past that breakpoint
   (cards keep their natural button width on desktop, where 3 different
   widths side by side doesn't read as a "mismatch" the way stacked full-
   width cards do). */
@media (max-width: 600px) {
	.yh-abertura-nacional .yh-card .yh-btn {
		display: block;
		width: 100%;
		text-align: center;
	}
}

/* Standalone CTA buttons directly in a .yh-container (the "Como funciona"
   and "Diferenciais" sections' closing CTAs) - .yh-btn's default
   inline-block, left-aligned, reads off balance stacked full-width on
   mobile. Same treatment already applied to Migração de MEI para ME's
   equivalent buttons. The hero's .yh-btn-row pair and the .yh-cta-block
   navy CTA (already centered via that section's own text-align:center)
   are untouched. */
@media (max-width: 600px) {
	.yh-abertura-nacional .yh-container > .yh-btn {
		display: table;
		margin-left: auto;
		margin-right: auto;
		margin-top: 24px;
	}
}

/* Portrait requested centered on mobile - the shared .yh-hero--cidade
   mobile rule (justify-content:flex-end + margin-left:auto on the image,
   both inside the site's existing @media(max-width:960px) block further
   up this file) deliberately pins the portrait to the right edge on
   every other page that uses this hero (a "touch the edge" treatment
   that reads fine for a wide dual-subject portrait, but left this
   page's single-subject photo looking off-center against the busy full-
   width background photo behind it). Overridden here, still inside the
   same breakpoint, for this page only. */
@media (max-width: 960px) {
	.yh-nicho-adulto .yh-hero--cidade .yh-hero__portrait {
		justify-content: center;
	}
	/* 2026-08-28: the 480px height (bumped up from the shared 350px right
	   after the photo was re-cropped, to compensate for its narrower
	   ~0.38 aspect ratio cutting off more of her at the old fixed width)
	   turned out too tall/large once seen live on an actual phone -
	   reported back as "a mulher tá muito grande". Width and height both
	   scaled down together here (not just height) so she reads as
	   smaller overall, not just more tightly cropped/zoomed-in - a
	   smaller box at the same crop tightness, rather than the same box
	   showing less of her. */
	.yh-nicho-adulto .yh-hero--cidade .yh-hero__portrait-img {
		width: 160px;
		max-width: 160px;
		max-height: 340px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Platform cards grid (7 items: Privacy, Camera Prive, Buupe, OnlyFans,
   ManyVids, Pornhub, XVideos Red) - the shared .yh-grid-4 (CSS Grid,
   repeat(4,1fr)) fills 4 cards on row 1 and leaves the trailing 3 stuck
   flush-left on row 2, with an empty 4th-column gap on the right (same
   "grid never centers a short last row" limitation already solved for
   the "Como começar" steps list above, via the same flex-wrap technique
   - grid's fixed column tracks span every row, but each wrapped flex
   line gets its own independent justify-content). 273px card
   width/20px gap match the grid's own current computed sizing exactly
   (measured live), so switching to flex doesn't change any card's size,
   only how the trailing row is positioned. Desktop-only (min-width:961px)
   since .yh-grid-4 already collapses to fewer columns below that, where
   this "4th slot empty" problem doesn't arise the same way. */
@media (min-width: 961px) {
	.yh-nicho-adulto .yh-platform-cards {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	.yh-nicho-adulto .yh-platform-cards .yh-card {
		flex: 0 1 273px;
		max-width: 273px;
	}
}


/* ==========================================================================
   Code-built visual components (no uploaded photos) - piloted 2026-08-29 on
   page-contabilidade-para-engenheiros.php only, per explicit user request
   ("veja se você é capaz de montar cards, SVGs... sem eu enviar imagens").
   Generic class names (not page-scoped) so these are reusable on other
   segment pages later if the user likes the result - nothing here is
   Engenheiros-specific except the exact numbers baked into the inline SVGs
   on that one page. Categorical pair (#2C5D9E navy / #45BAC4 turquoise)
   validated with the dataviz skill's validate_palette.js against the site's
   own brand colors before use - the raw institutional navy (#123E6A) failed
   the lightness/chroma checks as a chart mark, so a lighter navy step was
   picked instead; text stays in text tokens (navy/secondary), never in the
   mark color, and every mark carries a direct label (not color-only).
   ========================================================================== */

/* Icon-card grid (replaces a plain bullet list with .yh-card items that
   each carry a small line icon) - reuses .yh-grid-3/.yh-card as-is, this
   only styles the icon wrapper sitting above the card title. */
.yh-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--background-blue-soft);
	color: var(--yangoo-turquoise);
	margin-bottom: 14px;
}

.yh-feature-icon svg {
	width: 24px;
	height: 24px;
}

.yh-card h3 + p.yh-feature-card__text {
	margin-top: 6px;
}

/* Vertical bar chart (Anexo III x Anexo V nominal rate comparison) */
.yh-bar-chart {
	max-width: 260px;
}

.yh-bar-chart svg {
	width: 100%;
	height: auto;
	display: block;
}

/* Horizontal threshold bar (Fator R 28% split between Anexo III/V) */
.yh-threshold-bar {
	max-width: 340px;
}

.yh-threshold-bar svg {
	width: 100%;
	height: auto;
	display: block;
}

/* Radial stat ring (single-value KPI, e.g. Reforma Tributária "-30%") */
.yh-stat-ring {
	display: flex;
	align-items: center;
	justify-content: center;
}

.yh-stat-ring svg {
	width: 180px;
	height: 180px;
}

/* Conceptual 2-segment donut (illustrative split, no implied real data -
   always paired with a caption saying so) + its legend */
.yh-mini-donut {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.yh-mini-donut svg {
	width: 168px;
	height: 168px;
}

.yh-mini-donut__legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	font-size: 13.5px;
	color: var(--text-primary);
}

.yh-mini-donut__legend span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.yh-mini-donut__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex: none;
}

.yh-mini-donut__caption {
	font-size: 12.5px;
	color: var(--text-secondary);
	text-align: center;
	max-width: 220px;
}

/* Small icon added to an otherwise text-only .yh-card (CNAE cards) */
.yh-card__tag-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: var(--background-blue-soft);
	color: var(--yangoo-turquoise);
	margin-bottom: 10px;
}

.yh-card__tag-icon svg {
	width: 19px;
	height: 19px;
}

@media (max-width: 900px) {
	.yh-bar-chart,
	.yh-threshold-bar {
		max-width: 300px;
		margin: 0 auto;
	}
	.yh-stat-ring svg {
		width: 150px;
		height: 150px;
	}
}

/* Representante Comercial's hero image (equipe-analise.webp, 900x1332)
   has a much taller and narrower aspect ratio than the original
   institutional portrait that .yh-hero--plain's max-width:380px was
   calibrated for, so it read disproportionately tall next to the text
   block beside it. Scoped to this page only via a class on <main>
   (does not touch the shared max-width:380px used by every other
   .yh-hero--plain on the site). Desktop only (min-width:961px) on
   purpose: this same 3-class selector has higher specificity than the
   existing tablet (320px) and phone (220px) breakpoints for
   .yh-hero--plain further up in the file. Without this guard, 260px
   would override both and make the portrait bigger on phone than it
   already was. */
@media (min-width: 961px) {
	.yh-repcomercial .yh-hero--plain .yh-hero__portrait-img {
		max-width: 320px;
	}
}

/* .yh-hero__glow's base left:52%/top:62% (shared rule, tuned for a
   portrait that fills most of .yh-hero__portrait's own width) rendered
   visibly off - the user circled it sitting near the photo's head/
   shoulder instead of behind the torso, screenshot taken on desktop.
   Root cause confirmed live via Playwright (getBoundingClientRect on
   .yh-hero__portrait vs .yh-hero__portrait-img): this page's portrait
   image is capped at a fixed 320px wide (see the max-width:320px rule
   just above) inside a MUCH wider, fluid .yh-hero__portrait column
   (justify-content:flex-end pins the 320px image flush to the column's
   right edge) - so the image's real horizontal center is NOT at 52% of
   the column, and that percentage drifts further off the more the
   column's own width changes across viewports (measured 69.5% at
   1440px wide, 75.5% at 700px, 53.2% at 390px - three different
   numbers for the same visual position, because 52%/etc. are all
   percentages of a container whose width has nothing to do with the
   image's own fixed 320px).
   Fix: anchor from the RIGHT edge instead, with a fixed pixel offset
   equal to half the image's own known width (320px / 2 = 160px) rather
   than a percentage of the container. Since the image is flush-right
   (margin-right:0) at every width in this range, "160px from the
   container's right edge" IS the image's horizontal center at every
   container width, not just the one it was measured at - confirmed by
   recomputing the same 160px value from all three measurements above.
   Holds from the mobile 320px cap (@media max-width:960px further up)
   through this page's own repcomercial-specific 320px desktop
   override - the image is 320px wide across that entire range, so one
   rule covers both; only the very narrow phone breakpoint below needs
   its own value, once the image itself shrinks to 220px. */
.yh-repcomercial .yh-hero__glow {
	left: auto;
	right: 160px;
	top: 50%;
	transform: translate(50%, -50%);
}

@media (max-width: 380px) {
	.yh-repcomercial .yh-hero__glow {
		/* Image drops to 220px wide at this breakpoint (.yh-hero--plain
		   .yh-hero__portrait-img's own max-width:220px, further up this
		   file) - same flush-right logic, half of the new width. */
		right: 110px;
	}
}

/* Portrait swapped to portrait-contabilidade.webp (900x1128), shrunk here
   so it lines up better with the hero copy next to it. Same approach as
   Representante Comercial above: scoped via a class on <main>, desktop
   only, to avoid overriding the existing tablet/mobile breakpoints below
   for the same shared .yh-hero--plain rule. */
@media (min-width: 961px) {
	.yh-sede-virtual .yh-hero--plain .yh-hero__portrait-img {
		max-width: 300px;
	}
}

/* Centered instead of the shared rule's flex-end/margin-left:auto (which
   pins the portrait to the right edge) - same centering technique
   already used on .yh-transferencia's own hero, requested here to move
   Mileide's portrait toward the middle instead of hugging the edge. */
@media (max-width: 960px) {
	.yh-sede-virtual .yh-hero--plain .yh-hero__portrait {
		justify-content: center;
	}
	.yh-sede-virtual .yh-hero--plain .yh-hero__portrait-img {
		margin-left: 0;
		margin-right: 0;
	}
}

/* "Contabilidade para Médico e Clínica Médica" (2026-09-25) - pedido do
   usuário pra encolher o retrato da médica no hero. Mesma técnica de
   Sede Virtual/Transferência acima: classe escopada em <main>, só
   desktop, pra não mexer nos breakpoints de tablet/celular mais abaixo
   que já cobrem a regra compartilhada .yh-hero--plain. */
@media (min-width: 961px) {
	.yh-nicho-medico .yh-hero--plain .yh-hero__portrait-img {
		max-width: 300px;
	}
}

/* .yh-hero__glow's base left:52%/top:62% (percentual, relativo à coluna
   .yh-hero__portrait inteira) só fica atrás do retrato quando a imagem
   preenche quase toda a largura dessa coluna - com o retrato encolhido
   e encostado à direita (justify-content:flex-end, base rule), o centro
   visual da foto já não fica em 52% da coluna, e esse percentual varia
   ainda mais conforme a largura da coluna muda entre breakpoints. Mesmo
   diagnóstico/fix já aplicado em .yh-repcomercial acima: ancorar pela
   borda DIREITA com um valor fixo em px igual à metade da largura real
   da imagem em cada faixa, já que ela sempre fica encostada nessa borda
   (margin-right:0 herdado da regra base ou do bloco de 960px abaixo) -
   "metade da largura, a partir da borda direita" É o centro da imagem
   em qualquer largura de coluna, não só na que foi medida.
   3 faixas, porque a largura do retrato muda 3 vezes nesta página:
   300px (override desktop acima, ≥961px), 320px (padrão compartilhado
   de .yh-hero--plain entre 381-960px) e 220px (padrão compartilhado
   abaixo de 380px). */
.yh-nicho-medico .yh-hero__glow {
	left: auto;
	right: 150px;
	top: 50%;
	transform: translate(50%, -50%);
}

@media (max-width: 960px) {
	.yh-nicho-medico .yh-hero__glow {
		right: 160px;
	}
}

@media (max-width: 380px) {
	.yh-nicho-medico .yh-hero__glow {
		right: 110px;
	}
}

/* Same portrait-contabilidade.webp shrink as Sede Virtual above, applied
   to Transferência de Contabilidade. */
@media (min-width: 961px) {
	.yh-transferencia .yh-hero--plain .yh-hero__portrait-img {
		max-width: 300px;
	}
}

/* Mobile portrait, shrunk a bit from the shared 320px tablet size (the
   size that actually applies at typical phone widths like 390px, since
   the base rule's smaller 220px tier only kicks in below 380px). 3
   classes here (0,3,0) beats the shared 2-class rule regardless of file
   order. Needs its own <380px override too, or this same rule would also
   win there and make the portrait bigger than the base 220px tier
   instead of smaller. */
/* Centered instead of the shared rule's flex-end/margin-left:auto (which
   pins the portrait to the right edge) - same centering technique already
   used on .mg-hub's own hero further up this file, requested here to move
   Mileide's portrait toward the middle/left instead of hugging the edge. */
@media (max-width: 960px) {
	.yh-transferencia .yh-hero--plain .yh-hero__portrait {
		justify-content: center;
	}
	.yh-transferencia .yh-hero--plain .yh-hero__portrait-img {
		max-width: 260px;
		margin-left: 0;
		margin-right: 0;
	}
}
@media (max-width: 380px) {
	.yh-transferencia .yh-hero--plain .yh-hero__portrait-img {
		max-width: 190px;
	}
}

/* Same shrink, this time for Migração de MEI para ME's own dedicated
   portrait-migracao-mei.webp. Same 3 breakpoints as Transferência above,
   same reasoning (the <380px tier needs its own override too, or the
   wider rule would win there and make it bigger instead of smaller). */
@media (min-width: 961px) {
	.yh-migracao-mei .yh-hero--plain .yh-hero__portrait-img {
		max-width: 300px;
	}
}
/* Centered instead of the shared rule's flex-end/margin-left:auto (which
   pins the portrait to the right edge) - same centering technique
   already used on Sede Virtual/Transferência's own hero. */
@media (max-width: 960px) {
	.yh-migracao-mei .yh-hero--plain .yh-hero__portrait {
		justify-content: center;
	}
	.yh-migracao-mei .yh-hero--plain .yh-hero__portrait-img {
		max-width: 260px;
		margin-left: 0;
		margin-right: 0;
	}
}
@media (max-width: 380px) {
	.yh-migracao-mei .yh-hero--plain .yh-hero__portrait-img {
		max-width: 190px;
	}
}

/* Right-aligned content block for plain, image-less .yh-section blocks
   stacked back to back. Same pattern already used in
   .partner-section__content--right (partners.css, for Notazz/Bling):
   pushing one section's content to the right edge instead of always
   left breaks a "Crescimento"/"Reforma Tributária" pair into a
   left/right zig-zag instead of two identical blocks stacked directly
   on top of each other. partners.css is not loaded on segment pages
   that are not partner pages (e.g. Representante Comercial), so this
   needed its own version here instead of reusing the existing class. */
.yh-section__content--right {
	margin-left: auto;
	max-width: 640px;
	text-align: left;
}

@media (max-width: 900px) {
	.yh-section__content--right {
		margin-left: 0;
	}
}

/* "Como começar com a Yangoo" (5 steps) on the Representante Comercial
   page. Same technique already used for .yh-nicho-adulto (see the
   comment further up in this file for the full explanation):
   3-on-top/2-centered-below on desktop via flex-wrap, since each
   wrapped flex row gets its own justify-content:center, unlike CSS
   Grid, which never centers an incomplete last row on its own. Reuses
   the .yh-repcomercial class already on this page's <main> (see the
   hero portrait size fix above). */
@media (min-width: 961px) {
	.yh-repcomercial .yh-steps {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 28px;
	}
	.yh-repcomercial .yh-steps li {
		flex: 0 1 320px;
		max-width: 320px;
	}
}

/* This page's "Como funciona" heading goes straight into .yh-steps with
   no lead paragraph in between, unlike most other pages that use this
   grid - so the title's own 16px bottom margin was the only gap, and it
   read as glued to the numbered circles right below it. Bumped past the
   original 20px (36px total) for the same reason it was bumped on
   Migração de MEI para ME's identical layout - 40px/56px total lands
   closer to how much air a section with an actual lead paragraph in
   between would have. */
.yh-transferencia #como-funciona .yh-steps {
	margin-top: 40px;
}

/* 6 items always divides evenly into 2 rows of 3, so a real 3-column
   grid spanning the full container width reads better than fixed 320px
   flex items centered with dead space on both sides - same fix applied
   to Migração de MEI para ME's own 6-step grid below. Specificity (0,2,0)
   beats .yh-steps--timeline's own repeat(4,1fr) (0,1,0, see that class
   further up this file) regardless of source order, so adding that class
   for its icon-circle styling (below) doesn't fight this 3-column layout. */
@media (min-width: 961px) {
	.yh-transferencia .yh-steps {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		column-gap: 48px;
		row-gap: 40px;
	}
}

/* .yh-steps--timeline added to this page's <ol> for the icon-circle +
   number-badge look (reusing the same component as the home page's own
   "Como funciona" section) without its connecting line - that line is
   only ever calibrated for a single row of 4 (see the class itself,
   further up this file), and this page has 6 steps across 2 rows of 3,
   so a straight line through both rows would cut across the second row's
   icons instead of connecting to them. */
.yh-transferencia .yh-steps--timeline::before {
	content: none;
}

/* Same "no lead paragraph between the heading and .yh-steps" spacing fix
   as Transferência above, applied to Migração de MEI para ME's own
   "Como funciona" section. Bumped past Transferência's 20px (title's own
   16px bottom margin still applies underneath, so this was still reading
   glued at 20px/36px total) - 40px/56px total lands closer to how much
   air a section with an actual lead paragraph in between would have. */
.yh-migracao-mei #processo .yh-steps {
	margin-top: 40px;
}

/* Same flex-wrap technique again, this time for a 5-step list. At 320px
   each with 28px gaps, only 3 fit per row inside the 1152px container
   (4 would need ~1364px) - so it settles into 3 on top, 2 on the row
   below, and justify-content:center centers that incomplete second row
   for free, without needing an nth-child rule to single it out. */
/* 6 items always divides evenly into 2 rows of 3 now (the extra step
   added to go from 5 to 6 - see the "Fazemos a comunicação obrigatória"/
   "Regularizamos junto à Receita Federal" split above), so there's no
   incomplete last row to center anymore - a real 3-column grid spanning
   the full container width reads better than the fixed 320px flex items
   centered with dead space on both sides. */
@media (min-width: 961px) {
	.yh-migracao-mei .yh-steps {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		column-gap: 48px;
		row-gap: 40px;
	}
}

/* The "Quero migrar meu MEI" CTA right after the steps is .yh-btn's
   default inline-block, left-aligned - reads off balance now that the
   steps above it are centered. Same display:table + margin:auto
   centering trick already used on .yh-cidade-abertura .yh-faq .yh-btn,
   at any screen width (not just mobile), matching the steps grid, which
   is already centered on both narrow and wide viewports. */
.yh-migracao-mei #processo .yh-btn {
	display: table;
	margin-left: auto;
	margin-right: auto;
}

/* Standalone CTA buttons on this page (the ones sitting directly in a
   .yh-container, or in a .yh-media-row's text column - not the hero's
   .yh-btn-row pair, and not the small "Simular no site"/"Calcular Fator
   R" buttons nested inside their own .yh-card) default to .yh-btn's
   inline-block, left-aligned - reads off balance stacked full-width on
   mobile, where everything else already centers or stacks edge to edge.
   Desktop is untouched (left-aligned next to left-aligned body text
   reads fine there, matching every other page on the site). */
@media (max-width: 600px) {
	.yh-migracao-mei .yh-container > .yh-btn,
	.yh-migracao-mei .yh-media-row .yh-btn {
		display: table;
		margin-left: auto;
		margin-right: auto;
		/* .yh-btn's own default margin-top is just 8px - barely any
		   breathing room above a checklist/paragraph on mobile, where
		   everything is already stacked tightly in a single column. */
		margin-top: 24px;
	}
}

/* .yh-steps--timeline added to Sede Virtual's own "Como funciona" 3-step
   list for the same icon-circle look used on Transferência/home. Unlike
   Transferência's 6 steps (2 rows, line disabled entirely - see above),
   3 steps fit in a single row on their own, so the connecting line can
   stay, just recalculated for 3 equal columns instead of the class's
   default 4: first/last icon centers sit at 1/6 and 5/6 of the row
   (16.667%), not 1/8 and 7/8 (12.5%) - same left/right symmetry trick as
   the base rule, just for 3 columns instead of 4. */
/* Same "no lead paragraph between the heading and .yh-steps" spacing fix
   already applied to Transferência/Migração de MEI - this section also
   goes straight from the H2 into the steps list. */
.yh-sede-virtual #como-funciona .yh-steps {
	margin-top: 40px;
}

/* min-width:961px only - without it, this rule's specificity (1 id + 2
   classes) beats the shared .yh-steps mobile collapse rules too, forcing
   3 cramped columns on a 390px phone instead of letting it fall back to
   the base 2-column/1-column responsive behavior. */
@media (min-width: 961px) {
	.yh-sede-virtual #como-funciona .yh-steps--timeline {
		grid-template-columns: repeat(3, 1fr);
	}
}

.yh-sede-virtual #como-funciona .yh-steps--timeline::before {
	left: 16.667%;
	right: 16.667%;
}

/* Second attempt at "icon centered over the title" - the first attempt
   (text-align:left/right on the <li>, icon left as align-items:center)
   still wasn't actually centered over the title text: .yh-steps h3/p had
   no width constraint of their own, so their box quietly stretched to
   the full grid column width (measured live, li and h3 both ~370px wide)
   - text-align:left then left-aligns the GLYPHS inside that full-width
   box, while the icon centers on the box itself, not on where the
   glyphs actually sit. Restructured markup wraps icon+h3 in their own
   .yh-steps__head, sized to fit-content (h3's own text width, since it's
   wider than the 52px icon) - centering the icon INSIDE that box (via
   align-items:center below) now centers it over the actual title text,
   independent of how the (much longer, separately-wrapped) paragraph
   underneath is aligned. */
.yh-sede-virtual #como-funciona .yh-steps--timeline .yh-steps__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: fit-content;
}

.yh-sede-virtual #como-funciona .yh-steps--timeline .yh-steps__head h3 {
	margin: 0;
}

/* The paragraph is a direct sibling of .yh-steps__head now (used to be
   nested inside the same div as h3) - stretch guarantees it keeps the
   full column width regardless of how long its own text is, so
   text-align:left/right below has a predictable, always-full-width box
   to align glyphs within. */
.yh-sede-virtual #como-funciona .yh-steps--timeline li > p {
	align-self: stretch;
}

/* Text (title + paragraph) leans toward the edge the step sits closest
   to; the icon+title group as a WHOLE also shifts to that edge via
   align-self on .yh-steps__head below, but the icon stays centered
   over the title regardless, since that centering happens inside the
   now-independent .yh-steps__head box, not relative to the outer <li>.
   Desktop-only (the 3-column row this depends on only exists at
   min-width:961px, see above) - on the mobile single-column stack,
   left/right-aligned text next to a centered one would read as broken,
   not intentional. */
@media (min-width: 961px) {
	.yh-sede-virtual #como-funciona .yh-steps--timeline li:first-child {
		text-align: left;
	}
	.yh-sede-virtual #como-funciona .yh-steps--timeline li:first-child .yh-steps__head {
		align-self: flex-start;
	}
	.yh-sede-virtual #como-funciona .yh-steps--timeline li:last-child {
		text-align: right;
	}
	.yh-sede-virtual #como-funciona .yh-steps--timeline li:last-child .yh-steps__head {
		align-self: flex-end;
	}
}

/* Small icon badge above the "O que é"/"O que não é" cards - reuses the
   same circle-icon idea as .yh-steps__icon above, just without the
   number badge (these two cards aren't a sequence). --yes gets the
   brand turquoise treatment; --no is deliberately muted gray, not red -
   this is a clarifying "not this" for someone comparing services, not a
   warning, so it stays in the same calm tone as the rest of the site's
   .yh-note boxes instead of reaching for alarm colors. */
.yh-icon-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	margin-bottom: 14px;
}

.yh-icon-badge--yes {
	background: rgba(81, 215, 217, .12);
	color: var(--yangoo-navy);
	border: 2px solid var(--yangoo-turquoise);
}

.yh-icon-badge--no {
	background: var(--background-soft);
	color: var(--text-secondary);
	border: 2px solid var(--border-color);
}

/* Black November campaign page (/black-november/, 2026-11-03) - one-off
   promo page, same scoping pattern already used for .yh-migracao-mei/
   .yh-transferencia/.yh-nicho-adulto. Reuses .partner-hub-card as-is for
   the 4 "which service" cards; the only genuinely new thing here is a
   colored variant of its existing neutral __badge (which was built for a
   muted "Em breve" tag, not a promo callout), plus the matching
   padding-right reservation so a 2-line title never flows under the
   badge, mirroring .partner-hub-card--soon h3's own fix for the same
   problem. */
.yh-blacknov .partner-hub-card h3 {
	padding-right: 64px;
}

.yh-blacknov .partner-hub-card__badge--promo {
	color: #fff;
	background: var(--yangoo-turquoise);
	border-color: var(--yangoo-turquoise);
}
