/* =========================================================================
   Balanço Social — elementos WPBakery (categoria "Balanço Social")
   Linguagem: LP Sorteio (Manrope leve + Inter, cards de borda fina,
   ingresso com canhoto, passos numerados) · Paleta AMH.

   Regras da casa (playbook):
   - Tudo escopado em .amhbs-b; sem #fws_* e sem :has() em regra crítica.
   - Cores/tipos com !important: o Salient sobrescreve via .light/.dark,
     h1–h3 globais e "p { padding-bottom }".
   - Tamanhos SEMPRE com clamp() (nunca só desktop — causa do bug do mobile).
   - Grades sem media query crítica (RUCSS do WP Rocket achata @media).
   ========================================================================= */

.amhbs-b {
	--amhbs-p950: #071D29;
	--amhbs-p800: #0B2A3C;
	--amhbs-p700: #0E4463;
	--amhbs-p600: #155C82;
	--amhbs-p500: #52A6D1;
	--amhbs-p50: #EEF5F9;
	--amhbs-cta: #1D6A93;
	--amhbs-cta-h: #17587A;
	--amhbs-ink: #14222C;
	--amhbs-text: #66727B;
	--amhbs-muted: #5A6873;
	--amhbs-line: #DCE5EC;
	--amhbs-paper: #FFFFFF;
	--amhbs-step: #F4F9FC;
	--amhbs-shadow: 0 18px 40px -12px rgba(11, 42, 60, .18);
	--amhbs-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--amhbs-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

	box-sizing: border-box;
	font-family: var(--amhbs-sans);
	-webkit-font-smoothing: antialiased;
}

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

/* Reset do tema dentro dos elementos */
.amhbs-b p,
.amhbs-b h1,
.amhbs-b h2,
.amhbs-b h3,
.amhbs-b blockquote,
.amhbs-b figure,
.amhbs-b figcaption,
.amhbs-b ul,
.amhbs-b li {
	margin: 0 !important;
	padding: 0 !important;
}

.amhbs-b ul,
.amhbs-b li {
	list-style: none !important;
	background: none;
}

.amhbs-b li::before,
.amhbs-b li::marker {
	content: none !important;
}

.amhbs-b a,
.amhbs-b a:hover,
.amhbs-b a:focus {
	text-decoration: none !important;
	background-image: none !important;
	box-shadow: none;
}

.amhbs-b img {
	margin: 0 !important;
	max-width: 100%;
}

/* Espaço abaixo (param "Espaço abaixo") */
.amhbs-b-mb { margin-bottom: 24px !important; }
.amhbs-b-mb-0 { margin-bottom: 0 !important; }
.amhbs-b-mb-16 { margin-bottom: 16px !important; }
.amhbs-b-mb-24 { margin-bottom: 24px !important; }
.amhbs-b-mb-32 { margin-bottom: 32px !important; }
.amhbs-b-mb-40 { margin-bottom: 40px !important; }
.amhbs-b-mb-64 { margin-bottom: clamp(40px, 5vw, 64px) !important; }
.wpb_wrapper > .amhbs-b-mb:last-child { margin-bottom: 0 !important; }

/* Espaço acima (classe extra opcional) */
.amhbs-b-mt { margin-top: clamp(40px, 5vw, 64px) !important; }

/* Ícone (slot da biblioteca) */
.amhbs-b-ico {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	color: var(--amhbs-p600) !important;
	line-height: 0;
}

.amhbs-b-ico svg {
	display: block;
	width: 100%;
	height: 100%;
}

/* =========================================================================
   Título de seção
   ========================================================================= */
.amhbs-b-heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.amhbs-b-heading.is-center {
	align-items: center;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.amhbs-b-tag {
	display: inline-flex;
	padding: 4px 16px;
	border-radius: 4px;
	background: var(--amhbs-p50) !important;
	font: 500 12px/16px var(--amhbs-display) !important;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--amhbs-p700) !important;
}

.amhbs-b.is-dark .amhbs-b-tag {
	background: #fff !important;
	color: var(--amhbs-p950) !important;
}

/* Em Row com fundo azul-claro, a tag fica branca */
.amhbs-b .amhbs-b-tag--white {
	background: #fff !important;
}

.amhbs-b .amhbs-b-title {
	font-family: var(--amhbs-display) !important;
	font-weight: 400 !important;
	color: var(--amhbs-p800) !important;
	text-transform: none !important;
	text-wrap: balance;
}

.amhbs-b .amhbs-b-title--hero {
	font-size: clamp(2.4rem, 4.6vw, 4rem) !important;
	line-height: 1.167 !important;
	letter-spacing: -1.5px !important;
}

.amhbs-b .amhbs-b-title--h2 {
	font-size: clamp(1.85rem, 2.9vw, 2.5rem) !important;
	line-height: 1.44 !important;
	letter-spacing: -.5px !important;
}

.amhbs-b .amhbs-b-title--h3 {
	font-size: clamp(1.5rem, 2.2vw, 2rem) !important;
	line-height: 1.3 !important;
	letter-spacing: -.3px !important;
}

.amhbs-b .amhbs-b-lead {
	font-family: var(--amhbs-display) !important;
	font-size: clamp(1.05rem, 1.45vw, 1.25rem) !important;
	line-height: 1.5 !important;
	letter-spacing: .15px;
	color: var(--amhbs-text) !important;
}

.amhbs-b.is-dark .amhbs-b-title { color: #fff !important; }
.amhbs-b.is-dark .amhbs-b-lead { color: rgba(255, 255, 255, .86) !important; }

/* =========================================================================
   Texto
   ========================================================================= */
.amhbs-b-text p + p,
.amhbs-b-text p + ul,
.amhbs-b-text ul + p { margin-top: 16px !important; }

.amhbs-b-text--lead,
.amhbs-b-text--lead p,
.amhbs-b-text--lead li {
	font-family: var(--amhbs-display) !important;
	font-size: clamp(1rem, 1.3vw, 1.125rem) !important;
	line-height: 1.6 !important;
	color: var(--amhbs-text) !important;
}

.amhbs-b-text--body,
.amhbs-b-text--body p,
.amhbs-b-text--body li {
	font-family: var(--amhbs-sans) !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
	color: var(--amhbs-muted) !important;
}

.amhbs-b-text--small,
.amhbs-b-text--small p,
.amhbs-b-text--small li {
	font-family: var(--amhbs-sans) !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	color: var(--amhbs-muted) !important;
}

.amhbs-b-text strong,
.amhbs-b-text b { color: var(--amhbs-ink) !important; font-weight: 600; }
.amhbs-b-text a { color: var(--amhbs-cta) !important; text-decoration: underline !important; }

.amhbs-b-text ul li {
	position: relative;
	padding-left: 18px !important;
	margin-bottom: 8px !important;
}

.amhbs-b-text ul li::after {
	content: '';
	position: absolute;
	left: 2px;
	top: .72em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--amhbs-p500);
}

.amhbs-b-text.is-cols-2 {
	column-count: 2;
	column-gap: clamp(32px, 5vw, 64px);
}

.amhbs-b-text.is-cols-2 p {
	break-inside: avoid;
}

.amhbs-b-text.is-cols-2 p,
.amhbs-b-text.is-cols-2 p + p { margin: 0 0 24px !important; }
.amhbs-b-text.is-cols-2 p:last-child { margin-bottom: 0 !important; }

.amhbs-b.is-dark.amhbs-b-text,
.amhbs-b.is-dark.amhbs-b-text p,
.amhbs-b.is-dark.amhbs-b-text li { color: rgba(255, 255, 255, .86) !important; }
.amhbs-b.is-dark.amhbs-b-text strong { color: #fff !important; }

/* =========================================================================
   Botões
   ========================================================================= */
.amhbs-b-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.amhbs-b-buttons.is-center { justify-content: center; }

.amhbs-b .amhbs-b-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 24px !important;
	border: 1.5px solid transparent !important;
	border-radius: 999px !important;
	font: 500 15px/1 var(--amhbs-display) !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease, border-color .2s ease;
}

.amhbs-b .amhbs-b-btn:hover { transform: translateY(-1px); }
.amhbs-b .amhbs-b-btn .amhbs-b-ico { width: 18px; height: 18px; color: currentColor !important; }

.amhbs-b .amhbs-b-btn--primary { background: var(--amhbs-cta) !important; color: #fff !important; }
.amhbs-b .amhbs-b-btn--primary:hover { background: var(--amhbs-cta-h) !important; }
.amhbs-b .amhbs-b-btn--ghost { background: transparent !important; border-color: var(--amhbs-p700) !important; color: var(--amhbs-p700) !important; }
.amhbs-b .amhbs-b-btn--ghost:hover { background: var(--amhbs-p50) !important; }
.amhbs-b .amhbs-b-btn--light { background: transparent !important; border-color: rgba(255, 255, 255, .45) !important; color: #fff !important; }
.amhbs-b .amhbs-b-btn--light:hover { background: rgba(255, 255, 255, .08) !important; }

/* =========================================================================
   Imagem
   ========================================================================= */
.amhbs-b-media {
	position: relative;
	--amhbs-media-h: 420px;
}

.amhbs-b-media__frame {
	position: relative;
	overflow: hidden;
	height: clamp(260px, calc(var(--amhbs-media-h) * .72 + 4vw), var(--amhbs-media-h));
	border-radius: 32px;
	background: linear-gradient(140deg, #CFDDE7 0%, #A7C0D1 100%);
}

.amhbs-b-media.is-square .amhbs-b-media__frame { border-radius: 0; }

.amhbs-b-media.is-circle {
	max-width: 300px;
}

.amhbs-b-media.is-circle .amhbs-b-media__frame {
	height: auto;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
}

.amhbs-b .amhbs-b-media__img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center;
}

.amhbs-b-media.is-focus-top .amhbs-b-media__img { object-position: center top; }
.amhbs-b-media.is-focus-bottom .amhbs-b-media__img { object-position: center bottom; }

.amhbs-b-media__label {
	position: absolute;
	left: 22px;
	bottom: 20px;
	padding: 8px;
	border: 1px solid var(--amhbs-line);
	border-radius: 8px;
	background: #fff;
	font: 400 12px/1 var(--amhbs-sans) !important;
	color: var(--amhbs-muted) !important;
}

.amhbs-b-media.is-circle .amhbs-b-media__label {
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
}

.amhbs-b-media__pin {
	position: absolute;
	top: 22px;
	left: 22px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #fff;
	font: 500 13px/1.3 var(--amhbs-display) !important;
	color: var(--amhbs-p800) !important;
}

.amhbs-b-float {
	position: absolute;
	top: 13%;
	right: 5%;
	display: flex;
	overflow: hidden;
	border-radius: 14px;
	background: #FBF8F2;
	box-shadow: 4px 8px 0 rgba(0, 0, 0, .18);
	transform: rotate(-8deg);
}

.amhbs-b-float__m { padding: 14px 16px 14px 18px; }
.amhbs-b-float__m small { display: block; font: 400 14px/1.5 var(--amhbs-display) !important; color: var(--amhbs-muted) !important; }
.amhbs-b-float__m strong { display: block; font: 600 22px/1.2 var(--amhbs-display) !important; color: var(--amhbs-p800) !important; }

.amhbs-b-float__s {
	display: grid;
	place-items: center;
	padding: 0 14px;
	background: var(--amhbs-cta);
	border-left: 2px dashed #FBF8F2;
	font: 600 22px/1 var(--amhbs-display) !important;
	color: #fff !important;
}

/* =========================================================================
   Card de destaque (ícone + título + descrição)
   ========================================================================= */
.amhbs-b .amhbs-b-feature__link {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 14px 16px;
	border: 1px solid var(--amhbs-line) !important;
	border-radius: 14px;
	background: var(--amhbs-paper);
	color: inherit !important;
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.amhbs-b.amhbs-b-feature.is-link .amhbs-b-feature__link:hover,
.amhbs-b.amhbs-b-feature.is-link .amhbs-b-feature__link:focus-visible {
	border-color: var(--amhbs-p500) !important;
	box-shadow: 0 8px 24px -14px rgba(11, 42, 60, .35);
	transform: translateX(3px);
}

.amhbs-b-feature__txt b {
	display: block;
	font: 600 15px/1.4 var(--amhbs-sans) !important;
	color: var(--amhbs-ink) !important;
}

.amhbs-b-feature__txt > span {
	display: block;
	margin-top: 2px;
	font: 400 14px/1.5 var(--amhbs-sans) !important;
	color: var(--amhbs-muted) !important;
}

/* =========================================================================
   Card ingresso (conteúdo + canhoto)
   ========================================================================= */
.amhbs-b-ticket {
	container: amhbs-ticket / inline-size;
	overflow: hidden;
	border-radius: 20px;
	background: var(--amhbs-paper);
	box-shadow: var(--amhbs-shadow);
}

.amhbs-b-ticket__in {
	display: flex;
	height: 100%;
}

.amhbs-b-ticket__main {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: clamp(22px, 2.4vw, 28px);
}

.amhbs-b-ticket__kicker {
	font: 400 14px/1.5 var(--amhbs-display) !important;
	color: var(--amhbs-muted) !important;
}

.amhbs-b-ticket__title {
	font: 600 clamp(1.25rem, 1.9vw, 1.625rem)/1.2 var(--amhbs-display) !important;
	color: var(--amhbs-ink) !important;
}

.amhbs-b-ticket__text,
.amhbs-b-ticket__text p,
.amhbs-b-ticket__text li {
	font: 400 16px/1.6 var(--amhbs-sans) !important;
	color: var(--amhbs-muted) !important;
}

.amhbs-b-ticket__text p + p { margin-top: 10px !important; }
.amhbs-b-ticket__text strong { color: var(--amhbs-ink) !important; }

.amhbs-b-ticket__stub {
	flex: 0 0 190px;
	width: 190px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 24px 22px;
	background: var(--amhbs-p700);
	border-left: 2px dashed #fff;
	text-align: center;
}

.amhbs-b-ticket.is-bg-tint { background: #EEF5F9; }
.amhbs-b-ticket.is-stub-cta .amhbs-b-ticket__stub { background: var(--amhbs-cta); }
.amhbs-b-ticket.is-stub-accent .amhbs-b-ticket__stub { background: var(--amhbs-p500); }
/* Canhoto fixo (cards do Acolhimento): ~26% do card, para os números e
   rótulos respirarem. 240px no mínimo, 440px no máximo (1920). */
.amhbs-b-ticket.is-stub-fixed .amhbs-b-ticket__stub {
	flex-basis: clamp(240px, 26%, 440px);
	width: clamp(240px, 26%, 440px);
	gap: 22px;
	padding: 28px 24px;
}
.amhbs-b-ticket.is-stub-fixed .amhbs-b-ticket__num span { max-width: 24ch; font-size: 15px !important; }

.amhbs-b-ticket__num {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.amhbs-b-ticket__num {
	container-type: inline-size;
	width: 100%;
}

/* Número auto-ajustável: a fonte é calculada pela largura do canhoto
   (100cqi) e pela quantidade de caracteres (--amhbs-n, vindo do PHP). */
.amhbs-b-ticket__num b {
	display: block;
	font: 600 clamp(1.5rem, 2.6vw, 2.75rem)/1 var(--amhbs-display) !important;
	font-size: clamp(1.25rem, calc(100cqi / (var(--amhbs-n, 4) * .56)), 3.5rem) !important;
	color: #fff !important;
	white-space: nowrap;
	letter-spacing: -.01em;
}

.amhbs-b-ticket__num span {
	max-width: 16ch;
	font: 600 14px/1.35 var(--amhbs-display) !important;
	color: rgba(255, 255, 255, .92) !important;
}

/* =========================================================================
   Card de passo / pilar
   ========================================================================= */
.amhbs-b-step {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	height: 100%;
	padding: 24px;
	border: 1px solid #E6ECF0;
	border-radius: 16px;
	background: var(--amhbs-step);
}

.amhbs-b-step.is-white { background: var(--amhbs-paper); }

.amhbs-b-step__num {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--amhbs-p600);
	font: 600 40px/1 var(--amhbs-display) !important;
	color: #fff !important;
}

.amhbs-b-step__ico {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border: 1px solid var(--amhbs-line);
	border-radius: 50%;
	background: #fff;
}

.amhbs-b-step { container-type: inline-size; }

.amhbs-b-step__stat { width: 100%; }

.amhbs-b-step__stat b {
	display: block;
	font: 600 clamp(2rem, 3vw, 2.75rem)/1 var(--amhbs-display) !important;
	font-size: clamp(1.5rem, calc(100cqi / (var(--amhbs-n, 4) * .56)), 2.75rem) !important;
	color: var(--amhbs-p800) !important;
	white-space: nowrap;
}

.amhbs-b-step__stat span {
	display: block;
	margin-top: 6px;
	font: 400 14px/1.45 var(--amhbs-sans) !important;
	color: var(--amhbs-muted) !important;
}

.amhbs-b .amhbs-b-step__title {
	font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.3 var(--amhbs-display) !important;
	color: var(--amhbs-p800) !important;
	letter-spacing: -.3px !important;
	text-transform: none !important;
}

.amhbs-b-step__text {
	font: 400 clamp(1rem, 1.3vw, 1.125rem)/1.5 var(--amhbs-display) !important;
	color: var(--amhbs-text) !important;
}

.amhbs-b-flag {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 6px;
	background: #FFF1C2;
	font: 600 12px/1.4 var(--amhbs-sans) !important;
	color: #5A4300 !important;
}

/* =========================================================================
   Número
   ========================================================================= */
.amhbs-b-stat {
	container-type: inline-size;
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 24px;
	border-radius: 20px;
	background: var(--amhbs-paper);
	box-shadow: var(--amhbs-shadow);
}

.amhbs-b-stat.is-plain { padding: 0; background: none; box-shadow: none; }

.amhbs-b-stat b {
	font: 600 clamp(1.9rem, 3vw, 2.75rem)/1 var(--amhbs-display) !important;
	font-size: clamp(1.25rem, calc(100cqi / (var(--amhbs-n, 4) * .56)), 2.75rem) !important;
	color: var(--amhbs-p800) !important;
	white-space: nowrap;
}

.amhbs-b-stat span {
	font: 400 14px/1.45 var(--amhbs-sans) !important;
	color: var(--amhbs-muted) !important;
}

.amhbs-b-stat.is-plain.is-dark b { color: #fff !important; }
.amhbs-b-stat.is-plain.is-dark span { color: rgba(255, 255, 255, .8) !important; }

/* =========================================================================
   Citação
   ========================================================================= */
.amhbs-b-quote {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	max-width: 820px;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center;
}

.amhbs-b-quote__mark {
	display: block;
	height: 40px;
	font: 300 88px/.6 var(--amhbs-display) !important;
	color: var(--amhbs-p500) !important;
}

.amhbs-b.amhbs-b-quote blockquote {
	border: 0 !important;
	background: none !important;
	font: 300 clamp(1.35rem, 2.6vw, 2rem)/1.45 var(--amhbs-display) !important;
	letter-spacing: -.3px;
	color: var(--amhbs-p800) !important;
	quotes: none;
}

.amhbs-b.amhbs-b-quote blockquote::before,
.amhbs-b.amhbs-b-quote blockquote::after { content: none !important; }

.amhbs-b-quote figcaption {
	font: 600 15px/1.4 var(--amhbs-sans) !important;
	color: var(--amhbs-p600) !important;
}

.amhbs-b.amhbs-b-quote.is-dark blockquote { color: #fff !important; }
.amhbs-b-quote.is-dark figcaption { color: var(--amhbs-p500) !important; }

/* =========================================================================
   Assinatura
   ========================================================================= */
.amhbs-b-signature {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-top: 20px;
	border-top: 1px solid var(--amhbs-line);
}

.amhbs-b-signature b { font: 600 20px/1.3 var(--amhbs-display) !important; color: var(--amhbs-ink) !important; }
.amhbs-b-signature span { font: 500 12px/1.4 var(--amhbs-display) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--amhbs-muted) !important; }
.amhbs-b-signature.is-dark { border-color: rgba(255, 255, 255, .2); }
.amhbs-b-signature.is-dark b { color: #fff !important; }
.amhbs-b-signature.is-dark span { color: rgba(255, 255, 255, .7) !important; }

/* =========================================================================
   Card de marca
   ========================================================================= */
.amhbs-b-brand {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--amhbs-line);
	border-radius: 22px;
	background: var(--amhbs-paper);
	box-shadow: var(--amhbs-shadow);
}

.amhbs-b-brand__media {
	position: relative;
	height: clamp(180px, 18vw, 240px);
	background: linear-gradient(140deg, #CFDDE7 0%, #A7C0D1 100%);
}

.amhbs-b .amhbs-b-brand__img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.amhbs-b .amhbs-b-brand__logo {
	position: absolute;
	left: 20px;
	bottom: 16px;
	width: auto !important;
	max-width: 160px;
	max-height: 56px !important;
	height: auto !important;
	padding: 8px 12px;
	border-radius: 10px;
	background: #fff;
	object-fit: contain;
}

.amhbs-b-brand__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: clamp(24px, 3vw, 40px);
}

.amhbs-b .amhbs-b-brand__title {
	font: 600 clamp(1.4rem, 1.9vw, 1.75rem)/1.25 var(--amhbs-display) !important;
	color: var(--amhbs-ink) !important;
}

.amhbs-b-brand__text {
	font: 400 16px/1.6 var(--amhbs-sans) !important;
	color: var(--amhbs-muted) !important;
}

.amhbs-b-brand .amhbs-b-btn { margin-top: auto; }

/* =========================================================================
   Card CTA
   ========================================================================= */
.amhbs-b-cta {
	display: flex;
	align-items: center;
	gap: 32px;
	padding: clamp(28px, 4vw, 48px);
	border: 1px solid var(--amhbs-p700);
	border-radius: 26px;
	background: var(--amhbs-p50);
}

.amhbs-b-cta__text {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	flex-direction: column;
	gap: 12px;
}

.amhbs-b .amhbs-b-cta__title {
	font: 600 clamp(1.75rem, 2.8vw, 2.5rem)/1.1 var(--amhbs-display) !important;
	color: var(--amhbs-ink) !important;
	text-transform: none !important;
}

.amhbs-b-cta__lead { font: 400 clamp(1rem, 1.3vw, 1.125rem)/1.6 var(--amhbs-sans) !important; color: var(--amhbs-muted) !important; }
.amhbs-b-cta__note { font: 400 14px/1.5 var(--amhbs-sans) !important; color: var(--amhbs-muted) !important; }

.amhbs-b-cta__btns {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 12px;
}

/* =========================================================================
   Índice da página
   ========================================================================= */
/* Alinhado à grade do tema (mesma borda do logo/conteúdo) e com a tipografia
   do menu do header (Inter 16/500). Fixo: logo abaixo do header fixo do Salient. */
.amhbs-b-toc {
	--amhbs-toc-item-x: 16px;
	position: relative;
	z-index: 90;
	border-bottom: 1px solid var(--amhbs-line);
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.amhbs-b-toc.is-fixed {
	z-index: 9000; /* abaixo do header do Salient (9998), acima do conteúdo */
	position: fixed;
	top: var(--amhbs-toc-top, 0);
	left: 0;
	right: 0;
	box-shadow: 0 10px 24px -18px rgba(11, 42, 60, .35);
}

.amhbs-b.amhbs-b-toc .amhbs-b-toc__list,
.amhbs-b.amhbs-b-toc ul {
	display: flex;
	align-items: center;
	gap: clamp(4px, .8vw, 12px);
	width: auto;
	max-width: none;
	margin: 0 calc(var(--amhbs-toc-item-x) * -1) !important;
	padding: 8px 0 !important;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
	mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
}

/* Fixo: recupera as mesmas margens laterais da coluna (calculadas no JS). */
.amhbs-b.amhbs-b-toc.is-fixed ul {
	margin: 0 !important;
	padding: 8px calc(var(--amhbs-toc-inset-r, 70px) - var(--amhbs-toc-item-x)) 8px calc(var(--amhbs-toc-inset-l, 70px) - var(--amhbs-toc-item-x)) !important;
}

.amhbs-b-toc ul::-webkit-scrollbar { display: none; }

@media (min-width: 1025px) {
	/* Desktop: tudo cabe — sem máscara de rolagem. */
	.amhbs-b-toc ul { -webkit-mask-image: none; mask-image: none; }
}

.amhbs-b.amhbs-b-toc a {
	position: relative;
	display: block;
	padding: 12px var(--amhbs-toc-item-x) !important;
	border-radius: 999px;
	white-space: nowrap;
	font: 500 clamp(14px, .2vw + 13px, 16px)/1.2 var(--amhbs-sans) !important;
	letter-spacing: 0 !important;
	color: #555555 !important;
	transition: color .2s ease, background-color .2s ease;
}

.amhbs-b.amhbs-b-toc a:hover { color: var(--amhbs-p800) !important; }

.amhbs-b.amhbs-b-toc a.is-active {
	background: var(--amhbs-p50);
	color: var(--amhbs-p800) !important;
}

@media (max-width: 599px) {
	.amhbs-grid--5 .amhbs-b-stat { padding: 20px 22px; }
}

/* =========================================================================
   Grades: Row interna do WPBakery com "Extra class name" = amhbs-grid amhbs-grid--N
   (o layout pronto já vem com a classe). Gutter único de 24px e quebras pensadas
   para leitura: máximo 1920 → 1440 → 1280 → 1024 → tablet → celular.
   ========================================================================= */
body .wpb_row.amhbs-grid > .row_col_wrap_12_inner {
	display: flex !important;
	flex-wrap: wrap !important;
	row-gap: var(--amhbs-gutter);
	margin-left: calc(var(--amhbs-gutter) / -2) !important;
	margin-right: calc(var(--amhbs-gutter) / -2) !important;
}

body .wpb_row.amhbs-grid > .row_col_wrap_12_inner > .wpb_column {
	flex: 0 0 auto !important;
	width: calc(100% / var(--amhbs-cols, 1)) !important;
	max-width: none !important;
	margin: 0 !important;
	padding-left: calc(var(--amhbs-gutter) / 2) !important;
	padding-right: calc(var(--amhbs-gutter) / 2) !important;
}

/* Altura igual: a coluna estica (stretch) e a cadeia coluna → inner → wrapper
   repassa a altura até o card, que ocupa todo o espaço quando é o único elemento. */
body .wpb_row.amhbs-grid > .row_col_wrap_12_inner { align-items: stretch !important; }

body .wpb_row.amhbs-grid > .row_col_wrap_12_inner > .wpb_column,
body .wpb_row.amhbs-grid > .row_col_wrap_12_inner > .wpb_column > .vc_column-inner,
body .wpb_row.amhbs-grid > .row_col_wrap_12_inner > .wpb_column > .vc_column-inner > .wpb_wrapper {
	display: flex !important;
	flex-direction: column !important;
}

body .wpb_row.amhbs-grid > .row_col_wrap_12_inner > .wpb_column > .vc_column-inner,
body .wpb_row.amhbs-grid > .row_col_wrap_12_inner > .wpb_column > .vc_column-inner > .wpb_wrapper {
	flex: 1 1 auto !important;
	height: auto !important;
}

body .wpb_row.amhbs-grid .wpb_wrapper > .amhbs-b:only-child { flex: 1 1 auto; height: auto; }

/* Row com "Extra class name" = amhbs-row--middle: colunas centralizadas na
   vertical (ex.: card ingresso ao lado do texto em "O que fizemos"). */
body .wpb_row.amhbs-row--middle > .row_col_wrap_12,
body .wpb_row.amhbs-row--middle > .row_col_wrap_12_inner { align-items: center !important; }

body .wpb_row.amhbs-row--middle > .row_col_wrap_12 > .wpb_column,
body .wpb_row.amhbs-row--middle > .row_col_wrap_12_inner > .wpb_column { align-self: center !important; }

/* Espaço entre cards: 30px (40% menor que os 50px padrão do Salient). */
body .wpb_row.amhbs-grid { --amhbs-gutter: 30px; }
@media (max-width: 599px) { body .wpb_row.amhbs-grid { --amhbs-gutter: 20px; } }

.amhbs-grid--5 { --amhbs-cols: 5; }
.amhbs-grid--4 { --amhbs-cols: 4; }
.amhbs-grid--3 { --amhbs-cols: 3; }
.amhbs-grid--2 { --amhbs-cols: 2; }

@media (max-width: 1279px) {
	.amhbs-grid--5 { --amhbs-cols: 3; }
	.amhbs-grid--4 { --amhbs-cols: 2; }
}

@media (max-width: 1023px) {
	.amhbs-grid--5 { --amhbs-cols: 2; }
	.amhbs-grid--3,
	.amhbs-grid--2 { --amhbs-cols: 1; }
}

@media (max-width: 599px) {
	.amhbs-grid--5,
	.amhbs-grid--4 { --amhbs-cols: 1; }
}

/* =========================================================================
   Salient: cascata .light/.dark não pode repintar os componentes
   ========================================================================= */
.light .amhbs-b:not(.is-dark) .amhbs-b-title,
.dark .amhbs-b:not(.is-dark) .amhbs-b-title { color: var(--amhbs-p800) !important; }
.light .amhbs-b.is-dark .amhbs-b-title,
.dark .amhbs-b.is-dark .amhbs-b-title { color: #fff !important; }
.light .amhbs-b-ticket__num b,
.dark .amhbs-b-ticket__num b { color: #fff !important; }

/* =========================================================================
   Responsivo (refinamentos — o essencial já é fluido via clamp/flex)
   ========================================================================= */
@media (max-width: 1024px) {
	.amhbs-b-cta { flex-direction: column; align-items: flex-start; }
	.amhbs-b-cta__btns { flex-direction: row; flex-wrap: wrap; }
}

/* Card ingresso estreito (coluna de 1/2 em 1280, tablet, celular): canhoto vai
   para baixo do texto, números lado a lado. Responde ao tamanho do card. */
@container amhbs-ticket (max-width: 600px) {
	.amhbs-b-ticket__in { flex-direction: column; }
	.amhbs-b-ticket__stub,
	.amhbs-b-ticket.is-stub-fixed .amhbs-b-ticket__stub {
		flex-basis: auto;
		width: auto;
		flex-direction: row;
		justify-content: space-around;
		align-items: flex-start;
		gap: 16px;
		border-left: 0;
		border-top: 2px dashed #fff;
		padding: 20px;
	}
	.amhbs-b-ticket__num { flex: 1 1 0; min-width: 0; width: auto; }
}

@media (max-width: 768px) {
	.amhbs-b-text.is-cols-2 { column-count: 1; }
	.amhbs-b-float { top: auto; bottom: 18%; right: 6%; transform: rotate(-6deg) scale(.9); }
	.amhbs-b-media.is-circle { max-width: 220px; }
}

@media (max-width: 480px) {
	.amhbs-b-buttons .amhbs-b-btn,
	.amhbs-b-cta__btns .amhbs-b-btn { width: 100%; }
	.amhbs-b-cta__btns { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.amhbs-b .amhbs-b-btn,
	.amhbs-b-feature__link { transition: none; }
}

