/* =========================================================
   HEO — main stylesheet
   Clínica HEO · Alta Complexidade Oftalmológica
   ========================================================= */

:root {
	--heo-blue:       #0034cb;
	--heo-blue-dark:  #002499;
	--heo-blue-soft:  #2858d8;
	--heo-cyan:       #00fbff;
	--heo-cyan-soft:  rgba(0, 251, 255, 0.18);

	--heo-navy:       #001a66;
	--heo-navy-2:     #002280;
	--heo-navy-3:     #002999;
	--heo-red:        #ef4444;

	--heo-bg:         #ffffff;
	--heo-bg-soft:    #f3f6fc;
	--heo-fg:         #001a4d;
	--heo-fg-soft:    #3a4a66;
	--heo-muted:      #6f7e98;
	--heo-line:       #e0e6f1;

	--heo-radius:     12px;
	--heo-radius-lg:  20px;
	--heo-radius-btn: 6px;
	--heo-shadow:     0 4px 18px rgba(0, 16, 51, 0.06);
	--heo-shadow-lg:  0 12px 40px rgba(0, 16, 51, 0.1);

	--heo-font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--heo-container: 1440px;
	--heo-gutter: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--heo-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--heo-fg);
	background: var(--heo-bg);
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, opacity .2s ease; }

/* =========================================================
   REVEAL ON SCROLL (animações de entrada)
   ========================================================= */
.heo-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: var(--heo-reveal-delay, 0s);
	will-change: opacity, transform;
}
.heo-reveal--right { transform: translateX(36px); }
.heo-reveal--left  { transform: translateX(-36px); }
.heo-reveal--scale { transform: scale(0.94); }
.heo-reveal.is-visible {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.heo-reveal { opacity: 1; transform: none; transition: none; }
}
ul, ol { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: var(--heo-fg); }
p { margin: 0 0 1em; }

.heo-skip {
	position: absolute; left: -9999px; top: -9999px;
	background: var(--heo-navy); color: #fff; padding: 12px 16px; z-index: 9999;
}
.heo-skip:focus { left: 12px; top: 12px; }

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

.heo-main { min-height: 60vh; }

/* =========================================================
   HEADER
   ========================================================= */

/* ----- TOP BAR (escuro/navy fino, com horário + telefones + redes) ----- */
.heo-topbar {
	background: var(--heo-navy);
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.83rem;
	border-bottom: 2px solid var(--heo-cyan);
}
.heo-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 38px;
}
.heo-topbar__info {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.heo-topbar__horario,
.heo-topbar__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.78);
	font-weight: 500;
	transition: color .2s ease;
}
.heo-topbar__phone:hover { color: var(--heo-cyan); }
.heo-topbar__horario svg,
.heo-topbar__phone svg { width: 14px; height: 14px; }
.heo-topbar__phone--secondary { color: rgba(255, 255, 255, 0.55); }

.heo-topbar__social {
	display: flex;
	align-items: center;
	gap: 6px;
}
.heo-topbar__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px; height: 28px;
	border-radius: 6px;
	color: rgba(255, 255, 255, 0.65);
	transition: color .2s ease, background .2s ease;
}
.heo-topbar__social a:hover {
	color: var(--heo-cyan);
	background: rgba(0, 251, 255, 0.08);
}
.heo-topbar__social svg { width: 14px; height: 14px; }

@media (max-width: 720px) {
	.heo-topbar { display: none; }
}

/* ----- MAIN HEADER (branco, sticky, com sombra ao rolar) ----- */
.heo-header {
	background: #fff;
	position: sticky; top: 0; z-index: 50;
	min-height: 80px;
	display: flex;
	align-items: center;
	border-bottom: 1px solid var(--heo-line);
	transition: box-shadow .25s ease;
}
.heo-header.is-scrolled {
	box-shadow: 0 4px 20px rgba(0, 16, 51, 0.08);
	border-bottom-color: transparent;
}
.heo-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	min-height: 80px;
}

.heo-header__brand {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	max-height: 56px;
	line-height: 0;
}
.heo-header .custom-logo-link {
	display: inline-flex;
	align-items: center;
	max-height: 56px;
	line-height: 0;
}
.heo-header .custom-logo,
.heo-header__brand img {
	display: block;
	max-height: 56px !important;
	width: auto !important;
	height: auto !important;
	max-width: 240px !important;
	object-fit: contain;
}
.heo-header__brand-text {
	color: var(--heo-blue);
	font-weight: 800;
	font-size: 1.5rem;
	letter-spacing: 0.04em;
}

.heo-nav {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.heo-nav__list {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 auto;
}
.heo-nav__list a {
	color: var(--heo-fg);
	font-weight: 600;
	font-size: 0.92rem;
	padding: 0.5rem 1rem;
	position: relative;
	display: inline-block;
	border-radius: 6px;
	transition: color .2s ease, background .2s ease;
}
.heo-nav__list a:hover { color: var(--heo-blue); background: rgba(0, 52, 203, 0.05); }
.heo-nav__list .current-menu-item > a,
.heo-nav__list .current_page_item > a {
	color: var(--heo-blue);
}
.heo-nav__list .current-menu-item > a::after,
.heo-nav__list .current_page_item > a::after {
	content: "";
	position: absolute;
	left: 1rem; right: 1rem; bottom: -2px;
	height: 2px;
	background: var(--heo-blue);
	border-radius: 2px;
}

.heo-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--heo-blue);
	color: #fff;
	font-weight: 700;
	font-size: 0.9rem;
	padding: 0.85rem 1.5rem;
	border-radius: var(--heo-radius-btn);
	white-space: nowrap;
	flex-shrink: 0;
	box-shadow: 0 4px 14px rgba(0, 52, 203, 0.25);
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.heo-header__cta:hover {
	background: var(--heo-blue-dark);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(0, 52, 203, 0.35);
}
.heo-header__cta svg {
	width: 16px; height: 16px;
	transition: transform .2s ease;
}
.heo-header__cta:hover svg { transform: translateX(3px); }

.heo-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: 0;
	padding: 0.4rem 0.5rem;
	cursor: pointer;
	flex-shrink: 0;
}
.heo-menu-toggle span {
	display: block;
	width: 24px; height: 2px;
	background: var(--heo-navy);
	border-radius: 2px;
	transition: all 0.25s ease;
}
.heo-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.heo-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.heo-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
	.heo-header__inner { flex-wrap: wrap; }
	.heo-menu-toggle { display: flex; }
	.heo-nav {
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		order: 3;
		width: 100%;
		padding: 1rem 0 1.5rem;
		border-top: 1px solid var(--heo-line);
		margin-top: 0;
	}
	.heo-nav.is-open { display: flex; }
	.heo-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		margin: 0;
		width: 100%;
	}
	.heo-nav__list li { border-bottom: 1px solid var(--heo-line); }
	.heo-nav__list li:last-child { border-bottom: none; }
	.heo-nav__list a {
		display: block;
		padding: 1rem 0;
		font-size: 1.05rem;
		border-radius: 0;
	}
	.heo-header__cta {
		width: 100%;
		text-align: center;
		margin-top: 16px;
		justify-content: center;
	}
}

/* =========================================================
   BUTTONS
   ========================================================= */

.heo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: var(--heo-radius-btn);
	font-weight: 600;
	font-size: 0.95rem;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, background .2s ease, color .2s ease;
}
.heo-btn--primary { background: var(--heo-blue); color: #fff; }
.heo-btn--primary:hover { background: var(--heo-blue-dark); color: #fff; transform: translateY(-1px); }
.heo-btn--secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.heo-btn--secondary:hover { background: #fff; color: var(--heo-navy); }

/* =========================================================
   HERO
   ========================================================= */

.heo-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--heo-blue) 0%, var(--heo-blue-dark) 100%);
	color: #fff;
	padding: clamp(80px, 10vw, 140px) 0 clamp(100px, 11vw, 160px);
	min-height: 70vh;
	display: flex;
	align-items: center;
}

/* Imagem de fundo (cover) — só aparece quando admin sobe imagem */
.heo-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.heo-hero__bg-img,
.heo-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Overlay azul translúcido por cima da imagem (legibilidade do texto) */
.heo-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(110deg,
			rgba(0, 52, 203, 0.92) 0%,
			rgba(0, 52, 203, 0.70) 45%,
			rgba(0, 36, 153, 0.45) 80%,
			rgba(0, 36, 153, 0.25) 100%);
}
/* Sem imagem: overlay vira só um leve brilho radial pra dar profundidade ao bg azul */
.heo-hero:not(.heo-hero--has-bg) .heo-hero__overlay {
	background:
		radial-gradient(circle at 80% 30%, rgba(0, 251, 255, 0.18) 0%, transparent 50%),
		radial-gradient(circle at 20% 90%, rgba(0, 36, 153, 0.40) 0%, transparent 55%);
}

/* Dot grid decorativo SVG nas laterais */
.heo-hero__dots {
	position: absolute;
	color: var(--heo-cyan);
	opacity: 0.55;
	width: 100px;
	height: 200px;
	pointer-events: none;
	z-index: 2;
}
.heo-hero__dots--left  { top: 60px; left: -20px; }
.heo-hero__dots--right { bottom: 80px; right: -20px; transform: rotate(180deg); opacity: 0.7; }
.heo-hero__dots svg { width: 100%; height: 100%; }

.heo-hero__inner {
	position: relative;
	z-index: 3;
	width: 100%;
}

.heo-hero__text { max-width: 720px; }

.heo-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: clamp(14px, 1.2vw, 16px);
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--heo-cyan);
	margin: 0 0 20px;
	font-style: italic;
	text-shadow: 0 0 20px rgba(0, 251, 255, 0.25);
}
.heo-hero__kicker::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--heo-cyan);
	border-radius: 2px;
}

.heo-hero__title {
	font-size: clamp(36px, 4.8vw, 68px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.05;
	color: #fff;
	margin: 0;
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.heo-hero__subtitle {
	margin: 24px 0 0;
	font-size: clamp(15px, 1.2vw, 18px);
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.65;
	max-width: 56ch;
}
.heo-hero__subtitle strong { color: #fff; font-weight: 700; }

/* CTAs invertidos no hero azul: botão primário fica branco com texto azul */
.heo-hero__ctas .heo-btn--primary {
	background: #fff;
	color: var(--heo-blue);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.heo-hero__ctas .heo-btn--primary:hover {
	background: var(--heo-cyan);
	color: var(--heo-navy);
	box-shadow: 0 6px 18px rgba(0, 251, 255, 0.4);
}
.heo-hero__ctas .heo-btn--secondary {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.5);
}
.heo-hero__ctas .heo-btn--secondary:hover {
	background: #fff;
	color: var(--heo-blue);
	border-color: #fff;
}

.heo-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

@media (max-width: 540px) {
	.heo-hero__dots { display: none; }
}

/* =========================================================
   SECTIONS
   ========================================================= */

.heo-section {
	padding-top: clamp(60px, 8vw, 110px);
	padding-bottom: clamp(60px, 8vw, 110px);
}
.heo-section--tight {
	padding-top: 20px;
	padding-bottom: 20px;
}
.heo-section__header { margin-bottom: 40px; max-width: 720px; }
.heo-section__header--center { text-align: center; margin-left: auto; margin-right: auto; }
.heo-section__title {
	font-size: clamp(30px, 4vw, 46px);
	color: var(--heo-navy);
}
.heo-section__lead { color: var(--heo-fg-soft); font-size: 1.0625rem; }

/* =========================================================
   SERVIÇOS
   ========================================================= */

.heo-servicos__title {
	font-size: clamp(34px, 5vw, 56px);
	color: var(--heo-navy);
	max-width: 15ch;
	margin: 0 0 48px;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.heo-servicos__list { border-top: 1px solid var(--heo-line); }
.heo-servicos__item {
	display: grid;
	grid-template-columns: 120px 1.2fr 2fr 60px;
	gap: 32px;
	align-items: center;
	padding: 36px 0;
	border-bottom: 1px solid var(--heo-line);
}
.heo-servicos__num {
	font-size: clamp(36px, 4vw, 52px);
	font-weight: 400;
	color: var(--heo-line);
	line-height: 1;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
}
.heo-servicos__name {
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 700;
	color: var(--heo-navy);
	margin: 0;
	letter-spacing: -0.01em;
}
.heo-servicos__desc {
	margin: 0;
	color: var(--heo-fg-soft);
	font-size: 0.95rem;
	line-height: 1.65;
}
.heo-servicos__arrow {
	justify-self: end;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px; height: 52px;
	border-radius: 50%;
	border: 2px solid var(--heo-navy);
	color: var(--heo-navy);
	transition: background .2s ease, color .2s ease, transform .2s ease;
}
.heo-servicos__arrow:hover {
	background: var(--heo-navy);
	color: #fff;
	transform: translateX(3px);
}
.heo-servicos__arrow svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
	.heo-servicos__item {
		grid-template-columns: 70px 1fr 48px;
		grid-template-areas: "num name arrow" "num desc arrow";
		row-gap: 10px;
		gap: 16px;
		padding: 28px 0;
	}
	.heo-servicos__num { grid-area: num; font-size: 2rem; align-self: start; padding-top: 4px; }
	.heo-servicos__name { grid-area: name; font-size: 1.35rem; }
	.heo-servicos__desc { grid-area: desc; font-size: 0.9rem; }
	.heo-servicos__arrow { grid-area: arrow; width: 44px; height: 44px; align-self: center; }
	.heo-servicos__arrow svg { width: 16px; height: 16px; }
}

@media (max-width: 720px) {
	.heo-servicos__arrow { display: none; }
	.heo-servicos__item {
		grid-template-columns: 48px 1fr;
		grid-template-areas: "num name" "num desc";
	}
}

/* =========================================================
   BANNER ALTA COMPLEXIDADE
   ========================================================= */

.heo-banner {
	background: var(--heo-navy);
	border-radius: var(--heo-radius-lg);
	padding: clamp(28px, 4vw, 44px);
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: clamp(20px, 3vw, 36px);
	align-items: center;
	color: #fff;
}
.heo-banner__icon {
	width: 96px; height: 96px;
	border-radius: 22px;
	background: rgba(78, 200, 229, 0.18);
	color: var(--heo-cyan);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.heo-banner__icon svg { width: 54px; height: 54px; }
.heo-banner__title {
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 800;
	margin: 0 0 10px;
	color: #fff;
	letter-spacing: -0.01em;
	line-height: 1.15;
}
.heo-banner__text {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(15px, 1.3vw, 18px);
	line-height: 1.55;
	max-width: 62ch;
}

@media (max-width: 720px) {
	.heo-banner { grid-template-columns: 1fr; text-align: left; }
	.heo-banner__icon { width: 72px; height: 72px; }
	.heo-banner__icon svg { width: 40px; height: 40px; }
}

/* =========================================================
   HOME: CORPO CLÍNICO (preview com médicos + CTA)
   ========================================================= */

.heo-homecorpo {
	background: var(--heo-bg-soft);
}
.heo-homecorpo__header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 48px;
}
.heo-homecorpo__kicker {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--heo-blue);
	margin: 0 0 14px;
}
.heo-homecorpo__title {
	font-size: clamp(30px, 3.8vw, 46px);
	font-weight: 800;
	color: var(--heo-navy);
	margin: 0 0 16px;
	letter-spacing: -0.02em;
	line-height: 1.1;
}
.heo-homecorpo__desc {
	margin: 0;
	color: var(--heo-fg-soft);
	font-size: 1.0625rem;
	line-height: 1.6;
}

/* Carrossel: 5 cards por tela no desktop, usa o mesmo card do archive */
.heo-homecorpo__carousel { margin: 0 0 44px; }
.heo-carousel__track.heo-homecorpo__track { grid-auto-columns: calc((100% - 96px) / 5); }
.heo-homecorpo__slide-card {
	/* Herda .heo-corpo__card-link — aqui só garantimos altura cheia no slide */
	height: 100%;
}

.heo-homecorpo__cta-wrap { text-align: center; }
.heo-homecorpo__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-right: 22px;
}

@media (max-width: 1280px) {
	.heo-carousel__track.heo-homecorpo__track { grid-auto-columns: calc((100% - 72px) / 4); }
}
@media (max-width: 1024px) {
	.heo-carousel__track.heo-homecorpo__track { grid-auto-columns: calc((100% - 48px) / 3); }
}
@media (max-width: 820px) {
	.heo-carousel__track.heo-homecorpo__track { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 520px) {
	.heo-carousel__track.heo-homecorpo__track { grid-auto-columns: 80%; gap: 16px; }
}

/* =========================================================
   HOME: EXAMES HOOK (preview com pills + CTA)
   ========================================================= */

.heo-section--exames-hook {
	background: linear-gradient(180deg, #fff 0%, var(--heo-bg-soft) 100%);
}
.heo-exameshook {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
}
.heo-exameshook__text { max-width: 480px; }
.heo-exameshook__kicker {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--heo-blue);
	margin: 0 0 14px;
}
.heo-exameshook__title {
	font-size: clamp(28px, 3.5vw, 42px);
	font-weight: 800;
	color: var(--heo-navy);
	margin: 0 0 18px;
	letter-spacing: -0.02em;
	line-height: 1.1;
}
.heo-exameshook__desc {
	color: var(--heo-fg-soft);
	font-size: 1.0625rem;
	line-height: 1.6;
	margin: 0 0 28px;
}
.heo-exameshook__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-right: 22px;
}
.heo-exameshook__cta-arrow {
	display: inline-flex;
	align-items: center;
	transition: transform .2s ease;
}
.heo-exameshook__cta-arrow svg { width: 18px; height: 18px; }
.heo-exameshook__cta:hover .heo-exameshook__cta-arrow { transform: translateX(4px); }

.heo-exameshook__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-content: center;
}
.heo-exameshook__pill {
	display: inline-flex;
	align-items: center;
	padding: 12px 22px;
	background: #fff;
	border: 1.5px solid var(--heo-line);
	border-radius: 999px;
	color: var(--heo-navy);
	font-weight: 600;
	font-size: 0.95rem;
	transition: border-color .2s ease, transform .2s ease, background .2s ease, color .2s ease;
}
.heo-exameshook__pill:nth-child(odd) {
	background: rgba(78, 200, 229, 0.08);
	border-color: transparent;
}
.heo-exameshook__pill:hover {
	border-color: var(--heo-blue);
	color: var(--heo-blue);
	transform: translateY(-2px);
	background: #fff;
}

@media (max-width: 860px) {
	.heo-exameshook {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.heo-exameshook__text { max-width: none; }
	.heo-exameshook__title { font-size: clamp(26px, 6vw, 36px); }
}

/* =========================================================
   BIG NUMBERS
   ========================================================= */

.heo-section--numbers {
	background: var(--heo-bg-soft);
	padding-top: clamp(56px, 7vw, 96px);
	padding-bottom: clamp(56px, 7vw, 96px);
}
.heo-numbers__title {
	text-align: center;
	color: var(--heo-navy);
	font-size: clamp(22px, 2.4vw, 32px);
	margin: 0 0 40px;
	letter-spacing: -0.01em;
}
.heo-numbers {
	display: grid;
	grid-template-columns: repeat(var(--heo-numbers-count, 4), 1fr);
	gap: clamp(24px, 3vw, 40px);
	text-align: center;
}
.heo-numbers__item {
	padding: 12px 8px;
	position: relative;
}
.heo-numbers__item:not(:last-child)::after {
	content: "";
	position: absolute;
	right: 0;
	top: 20%;
	bottom: 20%;
	width: 1px;
	background: var(--heo-line);
}
.heo-numbers__value {
	font-size: clamp(42px, 5.5vw, 78px);
	font-weight: 800;
	color: var(--heo-navy);
	line-height: 1;
	margin-bottom: 14px;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	background: linear-gradient(135deg, var(--heo-navy) 0%, var(--heo-blue) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.heo-numbers__label {
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--heo-muted);
	font-weight: 700;
	line-height: 1.3;
}

@media (max-width: 820px) {
	.heo-numbers { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
	.heo-numbers__item:not(:last-child)::after { display: none; }
}
@media (max-width: 480px) {
	.heo-numbers { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   ARTIGOS (post-card + carrossel)
   ========================================================= */

.heo-artigos__title {
	text-align: center;
	font-size: clamp(30px, 3.8vw, 46px);
	color: var(--heo-navy);
	margin: 0 0 40px;
	letter-spacing: -0.015em;
}

.heo-card {
	background: transparent;
	border-radius: 0;
	overflow: visible;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: transform .25s ease;
}
.heo-card:hover { transform: translateY(-4px); }
.heo-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4/3;
	overflow: hidden;
	border-radius: var(--heo-radius);
	background: var(--heo-bg-soft);
	box-shadow: 0 12px 28px -18px rgba(0, 16, 51, 0.3);
}
.heo-card__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.heo-card:hover .heo-card__media img { transform: scale(1.05); }
.heo-card__placeholder {
	position: absolute; inset: 0;
	background: linear-gradient(135deg, var(--heo-bg-soft) 0%, #e0e6f1 100%);
}
.heo-card__chip {
	position: absolute;
	top: 14px; left: 14px;
	background: var(--heo-cyan);
	color: var(--heo-navy);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0;
	padding: 6px 14px;
	border-radius: 999px;
	text-transform: lowercase;
}
.heo-card__body {
	padding: 18px 4px 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}
.heo-card__date {
	color: var(--heo-cyan-strong, #00939F);
	font-size: 0.95rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
}
/* Como --heo-cyan é #00fbff (claro demais pra texto sobre branco), use blue pra contraste */
.heo-card__date { color: var(--heo-blue); }
.heo-card__title {
	font-size: clamp(1.15rem, 1.4vw, 1.35rem);
	font-weight: 800;
	line-height: 1.25;
	margin: 0;
	color: var(--heo-navy);
	letter-spacing: -0.015em;
}
.heo-card__title a { color: inherit; }
.heo-card__title a:hover { color: var(--heo-blue); }
.heo-card__excerpt {
	margin: 0;
	color: var(--heo-fg-soft);
	font-size: 0.95rem;
	line-height: 1.6;
	flex: 1;
}

/* Card CTA azul HEO ao final do carrossel (estilo Vision One) */
.heo-card--cta {
	display: flex;
	background: linear-gradient(135deg, var(--heo-blue) 0%, var(--heo-blue-dark) 60%, var(--heo-navy) 100%);
	color: #fff;
	border-radius: var(--heo-radius-lg);
	padding: clamp(28px, 3vw, 40px);
	height: 100%;
	min-height: 380px;
	transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
	overflow: hidden;
	position: relative;
	box-shadow: 0 18px 36px -22px rgba(0, 52, 203, 0.5);
}
.heo-card--cta::before {
	content: "";
	position: absolute;
	top: -60px; right: -60px;
	width: 240px; height: 240px;
	background: radial-gradient(circle, rgba(0, 251, 255, 0.22) 0%, transparent 70%);
	pointer-events: none;
}
.heo-card--cta::after {
	content: "";
	position: absolute;
	bottom: -80px; left: -40px;
	width: 200px; height: 200px;
	background: radial-gradient(circle, rgba(0, 251, 255, 0.12) 0%, transparent 70%);
	pointer-events: none;
}
.heo-card--cta:hover {
	transform: translateY(-4px);
	filter: brightness(1.08);
	box-shadow: 0 24px 48px -22px rgba(0, 52, 203, 0.6);
}
.heo-card--cta__inner {
	display: flex;
	flex-direction: column;
	gap: 16px;
	height: 100%;
	position: relative;
	z-index: 1;
}
.heo-card--cta__eyebrow {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 6px 14px;
	background: rgba(0, 251, 255, 0.18);
	color: var(--heo-cyan);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	border-radius: 999px;
	border: 1px solid rgba(0, 251, 255, 0.3);
}
.heo-card--cta__title {
	font-size: clamp(1.5rem, 2.2vw, 2.1rem);
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
	margin: 8px 0 0;
	letter-spacing: -0.02em;
}
.heo-card--cta__text {
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
	font-size: 1rem;
	line-height: 1.65;
	flex: 1;
}
.heo-card--cta__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--heo-cyan);
	font-weight: 700;
	font-size: 0.95rem;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	width: 100%;
}
.heo-card--cta__link svg {
	width: 20px; height: 20px;
	margin-left: auto;
	transition: transform .25s ease;
}
.heo-card--cta:hover .heo-card--cta__link svg { transform: translateX(4px); }

/* Carrossel */
.heo-carousel { position: relative; }
.heo-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 48px) / 3);
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 8px;
	scrollbar-width: none;
}
.heo-carousel__track::-webkit-scrollbar { display: none; }
.heo-carousel__slide {
	scroll-snap-align: start;
	min-width: 0;
}
.heo-carousel__controls {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 28px;
}
.heo-carousel__btn {
	width: 44px; height: 44px;
	border-radius: 50%;
	border: 2px solid var(--heo-navy);
	background: transparent;
	color: var(--heo-navy);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.heo-carousel__btn:hover { background: var(--heo-navy); color: #fff; }
.heo-carousel__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.heo-carousel__btn svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
	.heo-carousel__track { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 600px) {
	.heo-carousel__track { grid-auto-columns: 85%; gap: 16px; }
}

/* =========================================================
   CATEGORIA / CHIPS
   ========================================================= */

.heo-chip {
	display: inline-block;
	background: var(--heo-navy);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	padding: 6px 14px;
	border-radius: 999px;
}
.heo-chip:hover { background: var(--heo-blue); color: #fff; }

/* =========================================================
   POST SINGLE / PAGE
   ========================================================= */

.heo-single { padding: 60px 0; max-width: 820px; }
.heo-single__header { text-align: center; margin-bottom: 32px; }
.heo-single__title {
	font-size: clamp(28px, 3.6vw, 44px);
	margin: 20px 0 16px;
	color: var(--heo-navy);
	letter-spacing: -0.015em;
}
.heo-single__subtitle {
	font-size: clamp(17px, 1.5vw, 22px);
	font-weight: 400;
	color: var(--heo-fg-soft);
	line-height: 1.4;
	margin: 0 auto 20px;
	max-width: 56ch;
	font-style: italic;
}
.heo-single__meta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--heo-muted);
	font-size: 0.9rem;
}
.heo-single__reading { display: inline-flex; align-items: center; gap: 6px; }
.heo-single__reading svg { width: 14px; height: 14px; }
.heo-single__cover {
	margin: 0 0 40px;
	border-radius: var(--heo-radius-lg);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--heo-bg-soft);
	box-shadow: 0 12px 40px -20px rgba(0, 16, 51, 0.25);
}
.heo-single__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.heo-single__content { font-size: 1.0625rem; line-height: 1.75; color: var(--heo-fg-soft); }

/* ----- Blog (home.php / archive.php) ----- */
.heo-blog__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 36px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--heo-line);
}
.heo-blog__filter {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--heo-bg-soft);
	color: var(--heo-fg);
	font-size: 0.88rem;
	font-weight: 600;
	transition: background .2s ease, color .2s ease, transform .15s ease;
}
.heo-blog__filter:hover {
	background: var(--heo-blue);
	color: #fff;
	transform: translateY(-1px);
}
.heo-blog__filter.is-active {
	background: var(--heo-navy);
	color: #fff;
}
.heo-blog__empty {
	text-align: center;
	padding: 60px 20px;
	color: var(--heo-fg-soft);
	font-size: 1.05rem;
}

.heo-page { max-width: 820px; margin: 0 auto; padding: 40px 0; }
.heo-page__header { margin-bottom: 32px; }
.heo-page__title { font-size: clamp(28px, 3.6vw, 44px); color: var(--heo-navy); letter-spacing: -0.015em; }

.heo-prose h2, .heo-prose h3, .heo-prose h4 { color: var(--heo-navy); margin-top: 1.6em; }
.heo-prose a { color: var(--heo-blue); text-decoration: underline; }
.heo-prose a:hover { color: var(--heo-blue-dark); }
.heo-prose img { border-radius: var(--heo-radius); margin: 1.5em 0; }
.heo-prose ul, .heo-prose ol { padding-left: 1.4em; margin: 0 0 1em; list-style: revert; }
.heo-prose blockquote {
	border-left: 3px solid var(--heo-blue);
	padding: 0.2em 0 0.2em 1.2em;
	margin: 1.5em 0;
	color: var(--heo-fg);
	font-style: italic;
}

/* =========================================================
   POST GRID (archive / index)
   ========================================================= */

.heo-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 28px;
	padding: 20px 0;
}

/* =========================================================
   PAGINATION
   ========================================================= */

.heo-section .pagination,
.navigation.pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 50px;
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--heo-bg-soft);
	color: var(--heo-fg);
	font-size: 0.9rem;
	font-weight: 600;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--heo-navy);
	color: #fff;
}

/* =========================================================
   404
   ========================================================= */

.heo-404 { text-align: center; padding: 100px 0; }
.heo-404__title { font-size: clamp(80px, 12vw, 160px); color: var(--heo-navy); margin: 0; letter-spacing: -0.05em; }
.heo-404__lead { font-size: 1.1rem; color: var(--heo-fg-soft); margin: 10px 0 30px; }

/* =========================================================
   PAGE HERO (templates internos: Ouvidoria, etc.)
   ========================================================= */

/* HEO page hero: claro, com breadcrumbs e padrão grid sutil — distinto do Prontocor */
.heo-pagehero {
	background: var(--heo-bg-soft);
	color: var(--heo-fg);
	padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 7vw, 96px);
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--heo-line);
}
/* Padrão grid sutil de pontos no fundo */
.heo-pagehero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(0, 52, 203, 0.08) 1px, transparent 1px);
	background-size: 20px 20px;
	background-position: 0 0;
	mask-image: radial-gradient(ellipse at top right, #000 0%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at top right, #000 0%, transparent 70%);
	pointer-events: none;
	z-index: 0;
}
.heo-pagehero > .heo-container {
	position: relative;
	z-index: 1;
}

/* Breadcrumb */
.heo-breadcrumb {
	margin-bottom: 28px;
	font-size: 0.85rem;
	color: var(--heo-muted);
}
.heo-breadcrumb a {
	color: var(--heo-blue);
	font-weight: 600;
	transition: color .15s ease;
}
.heo-breadcrumb a:hover { color: var(--heo-blue-dark); text-decoration: underline; }
.heo-breadcrumb__sep {
	margin: 0 8px;
	color: var(--heo-line);
	font-weight: 400;
}
.heo-breadcrumb__current {
	color: var(--heo-fg-soft);
	font-weight: 500;
}

/* Eyebrow cyan com traço lateral */
.heo-pagehero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--heo-blue);
	margin: 0 0 18px;
	font-weight: 700;
}
.heo-pagehero__kicker::before {
	content: "";
	width: 32px;
	height: 2px;
	background: var(--heo-cyan);
	border-radius: 2px;
}

.heo-pagehero__title {
	font-size: clamp(34px, 4.8vw, 64px);
	font-weight: 800;
	color: var(--heo-navy);
	margin: 0 0 18px;
	letter-spacing: -0.025em;
	line-height: 1.05;
	max-width: 18ch;
}
.heo-pagehero__lead {
	font-size: clamp(16px, 1.3vw, 19px);
	color: var(--heo-fg-soft);
	max-width: 62ch;
	margin: 0;
	line-height: 1.6;
}

/* =========================================================
   CORPO CLÍNICO — archive-medico.php / single-medico.php
   ========================================================= */

/* Barra de filtros */
.heo-corpo__filters {
	background: var(--heo-bg-soft);
	border-bottom: 1px solid var(--heo-line);
	padding: 18px 0;
	position: sticky;
	top: 72px;
	z-index: 30;
	backdrop-filter: blur(10px);
	background: rgba(246, 248, 251, 0.92);
}
.heo-corpo__filters-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}
.heo-corpo__search {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid var(--heo-line);
	border-radius: 999px;
	padding: 4px 4px 4px 18px;
	min-width: 280px;
	transition: border-color .2s ease;
}
.heo-corpo__search:focus-within { border-color: var(--heo-blue); }
.heo-corpo__search input {
	border: 0;
	outline: none;
	background: transparent;
	flex: 1;
	padding: 10px 0;
	font-size: 0.95rem;
	font-family: inherit;
	color: var(--heo-fg);
}
.heo-corpo__search button {
	width: 38px; height: 38px;
	border-radius: 50%;
	border: 0;
	background: var(--heo-navy);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .2s ease;
}
.heo-corpo__search button:hover { background: var(--heo-blue); }
.heo-corpo__search button svg { width: 16px; height: 16px; }

.heo-corpo__especialidades {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	flex: 1;
	overflow-x: auto;
	scrollbar-width: none;
}
.heo-corpo__especialidades::-webkit-scrollbar { display: none; }
.heo-corpo__espec {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--heo-line);
	color: var(--heo-fg);
	font-size: 0.85rem;
	font-weight: 600;
	white-space: nowrap;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.heo-corpo__espec:hover { border-color: var(--heo-blue); color: var(--heo-blue); }
.heo-corpo__espec.is-active { background: var(--heo-navy); border-color: var(--heo-navy); color: #fff; }
.heo-corpo__espec-count {
	font-size: 0.72rem;
	font-weight: 700;
	background: rgba(0, 0, 0, 0.08);
	padding: 1px 7px;
	border-radius: 999px;
	min-width: 20px;
	text-align: center;
}
.heo-corpo__espec.is-active .heo-corpo__espec-count {
	background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 720px) {
	.heo-corpo__filters { top: 60px; }
	.heo-corpo__search { min-width: 100%; }
}

/* Grid de médicos — visual HEO: foto retrato 3:4, info centralizada abaixo */
.heo-corpo__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 32px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.heo-corpo__card { display: flex; }
.heo-corpo__card-link {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 100%;
	color: inherit;
	transition: transform .35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.heo-corpo__card-link:hover { transform: translateY(-6px); }

/* Foto: retrato 3:4 com gradient e mask sutil em cima/baixo */
.heo-corpo__card-photo {
	position: relative;
	aspect-ratio: 3 / 4;
	background: linear-gradient(160deg, var(--heo-blue) 0%, var(--heo-navy) 100%);
	border-radius: var(--heo-radius-lg);
	overflow: hidden;
	box-shadow: 0 12px 28px -16px rgba(0, 16, 51, 0.4);
	isolation: isolate;
}
.heo-corpo__card-photo::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 35%;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 16, 51, 0.45) 100%);
	z-index: 1;
	opacity: 0;
	transition: opacity .3s ease;
}
.heo-corpo__card-link:hover .heo-corpo__card-photo::after { opacity: 1; }
.heo-corpo__card-photo img {
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform .8s cubic-bezier(0.2, 0.7, 0.2, 1), filter .4s ease;
	filter: saturate(0.95);
}
.heo-corpo__card-link:hover .heo-corpo__card-photo img {
	transform: scale(1.05);
	filter: saturate(1.05);
}
/* Borda cyan que aparece no hover (efeito de "moldura accent") */
.heo-corpo__card-photo::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid var(--heo-cyan);
	border-radius: var(--heo-radius-lg);
	opacity: 0;
	transform: scale(1.04);
	transition: opacity .3s ease, transform .3s ease;
	pointer-events: none;
	z-index: 2;
}
.heo-corpo__card-link:hover .heo-corpo__card-photo::before {
	opacity: 1;
	transform: scale(1);
}

.heo-corpo__card-placeholder {
	position: absolute; inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--heo-cyan);
	opacity: 0.35;
}
.heo-corpo__card-placeholder svg { width: 60px; height: 60px; }

/* Body: SEM card branco — texto direto, centralizado */
.heo-corpo__card-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 0 8px;
	text-align: center;
}
.heo-corpo__card-espec {
	order: -1; /* especialidade vem ANTES do nome — bem diferente do Prontocor */
	margin: 0;
	color: var(--heo-blue);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.heo-corpo__card-nome {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--heo-navy);
	margin: 0;
	line-height: 1.25;
	letter-spacing: -0.005em;
	position: relative;
	padding-bottom: 8px;
}
.heo-corpo__card-nome::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 24px;
	height: 2px;
	background: var(--heo-cyan);
	border-radius: 2px;
	opacity: 0.6;
	transition: width .3s ease, opacity .3s ease;
}
.heo-corpo__card-link:hover .heo-corpo__card-nome::after {
	width: 48px;
	opacity: 1;
}
.heo-corpo__card-crm {
	margin: 0;
	color: var(--heo-muted);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	font-variant-numeric: tabular-nums;
	border-top: none; /* sem border-top do Prontocor */
}

.heo-corpo__empty {
	text-align: center;
	padding: 60px 20px;
	color: var(--heo-fg-soft);
	font-size: 1.05rem;
}

/* Single do médico */
.heo-medico__hero {
	background: linear-gradient(180deg, var(--heo-navy) 0%, var(--heo-navy-2) 100%);
	color: #fff;
	padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 80px);
	position: relative;
	overflow: hidden;
}
.heo-medico__hero::before {
	content: "";
	position: absolute;
	top: -100px; right: -100px;
	width: 360px; height: 360px;
	background: radial-gradient(circle, rgba(78, 200, 229, 0.12) 0%, transparent 70%);
	pointer-events: none;
}
.heo-medico__back {
	margin-bottom: 32px;
}
.heo-medico__back a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
	font-weight: 600;
	transition: color .2s ease;
}
.heo-medico__back a:hover { color: #fff; }
.heo-medico__back svg { width: 16px; height: 16px; }

.heo-medico__hero-grid {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}
@media (max-width: 720px) {
	.heo-medico__hero-grid { grid-template-columns: 1fr; gap: 28px; }
}

.heo-medico__photo {
	aspect-ratio: 1 / 1;
	border-radius: var(--heo-radius-lg);
	overflow: hidden;
	background: rgba(255, 255, 255, 0.08);
	border: 3px solid rgba(255, 255, 255, 0.15);
	max-width: 280px;
}
.heo-medico__photo img {
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center top;
}
.heo-medico__photo-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%; height: 100%;
	color: rgba(255, 255, 255, 0.3);
}
.heo-medico__photo-placeholder svg { width: 80px; height: 80px; }

.heo-medico__kicker {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	color: var(--heo-cyan);
	margin: 0 0 14px;
}
.heo-medico__nome {
	font-size: clamp(32px, 4.5vw, 52px);
	font-weight: 800;
	color: #fff;
	margin: 0 0 28px;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.heo-medico__dados {
	margin: 0 0 32px;
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	max-width: 720px;
}
.heo-medico__dado {
	margin: 0;
	padding: 14px 18px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: var(--heo-radius);
}
.heo-medico__dado dt {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	margin: 0 0 4px;
}
.heo-medico__dado dd {
	margin: 0;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
}
.heo-medico__dado dd a {
	color: var(--heo-cyan);
	text-decoration: none;
}
.heo-medico__dado dd a:hover { color: #fff; text-decoration: underline; }

.heo-medico__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
}
.heo-medico__doclist {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
}
.heo-medico__doclist:hover { color: #fff; }

/* Single: bio + related */
.heo-medico__bio-wrap { max-width: 820px; }
.heo-medico__bio-title {
	font-size: clamp(22px, 2.4vw, 28px);
	color: var(--heo-navy);
	margin: 0 0 20px;
	letter-spacing: -0.01em;
}
.heo-medico__bio {
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--heo-fg-soft);
}
.heo-medico__related { max-width: none; }

/* =========================================================
   SERVIÇOS PAGE (page-servicos.php)
   ========================================================= */

/* Cores por categoria — aplicadas via --cat-color */
.heo-servpage__cat--emergencia  { --cat-color: #e53935; --cat-soft: rgba(229, 57, 53, 0.08); }
.heo-servpage__cat--diagnostico { --cat-color: #4ec8e5; --cat-soft: rgba(78, 200, 229, 0.10); }
.heo-servpage__cat--cirurgia    { --cat-color: var(--heo-blue); --cat-soft: rgba(37, 99, 235, 0.08); }
.heo-servpage__cat--cuidado     { --cat-color: #16a34a; --cat-soft: rgba(22, 163, 74, 0.08); }

/* Índice rápido sticky */
.heo-servpage__nav {
	position: sticky;
	top: 72px;
	z-index: 30;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--heo-line);
}
.heo-servpage__nav-inner {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-top: 14px;
	padding-bottom: 14px;
	scrollbar-width: none;
}
.heo-servpage__nav-inner::-webkit-scrollbar { display: none; }
.heo-servpage__nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--heo-bg-soft);
	color: var(--heo-navy);
	font-weight: 600;
	font-size: 0.88rem;
	white-space: nowrap;
	transition: background .2s ease, color .2s ease, transform .2s ease;
}
.heo-servpage__nav-link:hover {
	background: var(--heo-navy);
	color: #fff;
	transform: translateY(-1px);
}
.heo-servpage__nav-icon {
	display: inline-flex;
	width: 18px; height: 18px;
}
.heo-servpage__nav-icon svg { width: 100%; height: 100%; }

/* Categoria */
.heo-servpage__cat { padding: clamp(56px, 7vw, 96px) 0; scroll-margin-top: 140px; }
.heo-servpage__cat:nth-child(even) { background: var(--heo-bg-soft); }

.heo-servpage__cat-header {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 48px;
}
.heo-servpage__cat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px; height: 72px;
	border-radius: 20px;
	background: var(--cat-soft);
	color: var(--cat-color);
	margin-bottom: 20px;
}
.heo-servpage__cat-icon svg { width: 38px; height: 38px; }
.heo-servpage__cat-kicker {
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cat-color);
	font-weight: 700;
	margin: 0 0 10px;
}
.heo-servpage__cat-title {
	font-size: clamp(28px, 3.4vw, 40px);
	color: var(--heo-navy);
	margin: 0 0 14px;
	letter-spacing: -0.02em;
	line-height: 1.15;
}
.heo-servpage__cat-desc {
	margin: 0;
	color: var(--heo-fg-soft);
	font-size: 1.0625rem;
	line-height: 1.6;
}

/* Grid de cards */
.heo-servpage__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.heo-servpage__card {
	display: flex;
}
.heo-servpage__card-inner {
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: #fff;
	border: 1px solid var(--heo-line);
	border-radius: var(--heo-radius);
	padding: 28px 26px;
	width: 100%;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.heo-servpage__card-inner:hover {
	transform: translateY(-4px);
	box-shadow: var(--heo-shadow);
	border-color: transparent;
}
.heo-servpage__card-inner--link {
	color: inherit;
	cursor: pointer;
}
.heo-servpage__card-inner--link:hover {
	border-color: var(--cat-color);
}

.heo-servpage__card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border-radius: 12px;
	background: var(--cat-soft);
	color: var(--cat-color);
}
.heo-servpage__card-icon svg { width: 22px; height: 22px; }
.heo-servpage__card-name {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--heo-navy);
	margin: 0;
	line-height: 1.25;
	letter-spacing: -0.01em;
}
.heo-servpage__card-desc {
	margin: 0;
	color: var(--heo-fg-soft);
	font-size: 0.94rem;
	line-height: 1.6;
	flex: 1;
}
.heo-servpage__card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--cat-color);
	font-weight: 600;
	font-size: 0.9rem;
	margin-top: auto;
}
.heo-servpage__card-link svg {
	width: 16px; height: 16px;
	transition: transform .2s ease;
}
.heo-servpage__card-inner--link:hover .heo-servpage__card-link svg { transform: translateX(3px); }

@media (max-width: 720px) {
	.heo-servpage__nav { top: 60px; }
	.heo-servpage__cat { scroll-margin-top: 120px; }
}

/* =========================================================
   HISTÓRIA (page-historia.php)
   ========================================================= */

.heo-historia__section-title {
	font-size: clamp(28px, 3.6vw, 42px);
	color: var(--heo-navy);
	margin: 0 0 40px;
	letter-spacing: -0.02em;
}

/* Intro: 2 colunas (texto + card de fundadores) */
.heo-historia__intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.heo-historia__intro-text {
	color: var(--heo-fg-soft);
	font-size: 1.0625rem;
	line-height: 1.75;
}
.heo-historia__intro-text p { margin: 0 0 18px; }
.heo-historia__intro-text p:last-child { margin-bottom: 0; }
.heo-historia__intro-text strong { color: var(--heo-navy); font-weight: 700; }
.heo-historia__intro-title {
	font-size: clamp(26px, 3vw, 36px);
	color: var(--heo-navy);
	margin: 0 0 24px;
	letter-spacing: -0.02em;
}

.heo-historia__fundadores {
	background: linear-gradient(135deg, var(--heo-navy) 0%, var(--heo-navy-3) 100%);
	color: #fff;
	border-radius: var(--heo-radius-lg);
	padding: 32px 28px;
	position: sticky;
	top: 92px;
}
.heo-historia__fundadores-kicker {
	margin: 0 0 16px;
	color: var(--heo-cyan);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.heo-historia__fundadores-list {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}
.heo-historia__fundadores-list li {
	font-size: 1.05rem;
	font-weight: 600;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.heo-historia__fundadores-list li:last-child { border-bottom: none; }
.heo-historia__fundadores-year {
	margin: 0;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 860px) {
	.heo-historia__intro-grid { grid-template-columns: 1fr; gap: 36px; }
	.heo-historia__fundadores { position: static; }
}

/* Linha do tempo */
.heo-historia__timeline {
	list-style: none;
	padding: 0;
	margin: 0;
	position: relative;
	max-width: 880px;
}
.heo-historia__timeline::before {
	content: "";
	position: absolute;
	left: 110px;
	top: 10px;
	bottom: 10px;
	width: 2px;
	background: var(--heo-line);
}
.heo-historia__marker {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 48px;
	padding: 14px 0 28px;
	position: relative;
}
.heo-historia__marker::before {
	content: "";
	position: absolute;
	left: 104px;
	top: 22px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--heo-blue);
	box-shadow: 0 0 0 4px var(--heo-bg);
}
.heo-historia__marker-year {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--heo-navy);
	letter-spacing: -0.01em;
	padding-top: 14px;
	text-align: right;
}
.heo-historia__marker-title {
	margin: 0 0 8px;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--heo-navy);
	letter-spacing: -0.01em;
}
.heo-historia__marker-text {
	margin: 0;
	color: var(--heo-fg-soft);
	font-size: 0.96rem;
	line-height: 1.65;
}

@media (max-width: 640px) {
	.heo-historia__timeline::before { left: 8px; }
	.heo-historia__marker {
		grid-template-columns: 1fr;
		gap: 8px;
		padding-left: 32px;
	}
	.heo-historia__marker::before { left: 2px; top: 8px; }
	.heo-historia__marker-year { text-align: left; padding-top: 0; font-size: 0.9rem; color: var(--heo-blue); }
}

/* Narrativa */
.heo-historia__narrativa {
	max-width: 820px;
	color: var(--heo-fg-soft);
	font-size: 1.075rem;
	line-height: 1.8;
}
.heo-historia__narrativa p { margin: 0 0 22px; }
.heo-historia__narrativa strong { color: var(--heo-navy); font-weight: 700; }

/* CEMAC callout */
.heo-historia__cemac-wrap { padding-top: 32px; padding-bottom: 32px; }
.heo-historia__cemac {
	background: linear-gradient(135deg, #0b2142 0%, #071629 100%);
	border-radius: var(--heo-radius-lg);
	padding: clamp(32px, 4.5vw, 56px);
	color: #fff;
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 32px;
	align-items: start;
	position: relative;
	overflow: hidden;
}
.heo-historia__cemac::after {
	content: "";
	position: absolute;
	top: -60px; right: -60px;
	width: 260px; height: 260px;
	background: radial-gradient(circle, rgba(78, 200, 229, 0.18) 0%, transparent 70%);
	pointer-events: none;
}
.heo-historia__cemac-icon {
	width: 80px; height: 80px;
	border-radius: 20px;
	background: rgba(78, 200, 229, 0.18);
	color: var(--heo-cyan);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.heo-historia__cemac-icon svg { width: 44px; height: 44px; }
.heo-historia__cemac-kicker {
	margin: 0 0 12px;
	color: var(--heo-cyan);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.heo-historia__cemac-title {
	font-size: clamp(26px, 3.2vw, 38px);
	color: #fff;
	margin: 0 0 18px;
	letter-spacing: -0.02em;
}
.heo-historia__cemac p {
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.7;
	margin: 0 0 14px;
}
.heo-historia__cemac p:last-child { margin-bottom: 0; }
.heo-historia__cemac-legal {
	margin-top: 18px;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.55) !important;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 720px) {
	.heo-historia__cemac { grid-template-columns: 1fr; gap: 20px; }
	.heo-historia__cemac-icon { width: 64px; height: 64px; }
	.heo-historia__cemac-icon svg { width: 34px; height: 34px; }
}

/* CTA bar — full-width, colada no footer das páginas internas */
.heo-cta-bar {
	background: linear-gradient(135deg, var(--heo-blue) 0%, var(--heo-blue-dark) 60%, var(--heo-navy) 100%);
	color: #fff;
	padding: clamp(56px, 7vw, 96px) 0;
	margin-bottom: 0;
	position: relative;
	overflow: hidden;
}
/* Cancela o margin-top do footer quando a CTA bar é a última seção da página */
.heo-cta-bar + .heo-footer,
main:has(> .heo-cta-bar:last-child) + .heo-footer {
	margin-top: 0;
}
.heo-cta-bar::before {
	content: "";
	position: absolute;
	top: -120px; right: -100px;
	width: 480px; height: 480px;
	background: radial-gradient(circle, rgba(0, 251, 255, 0.16) 0%, transparent 65%);
	pointer-events: none;
}
.heo-cta-bar::after {
	content: "";
	position: absolute;
	bottom: -140px; left: -80px;
	width: 380px; height: 380px;
	background: radial-gradient(circle, rgba(0, 251, 255, 0.10) 0%, transparent 70%);
	pointer-events: none;
}
.heo-cta-bar__inner {
	position: relative;
	z-index: 1;
	text-align: center;
}
.heo-cta-bar__title {
	font-size: clamp(28px, 3.8vw, 48px);
	color: #fff;
	margin: 0 0 18px;
	letter-spacing: -0.02em;
	line-height: 1.15;
	font-weight: 800;
}
.heo-cta-bar__text {
	margin: 0 auto 36px;
	max-width: 60ch;
	color: rgba(255, 255, 255, 0.88);
	font-size: clamp(1rem, 1.2vw, 1.125rem);
	line-height: 1.6;
}
.heo-cta-bar__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
}

/* Backward compat: classes antigas .heo-historia__cta* continuam estilizando caso reusadas em algum canto */
.heo-historia__cta {
	background: linear-gradient(135deg, var(--heo-blue) 0%, var(--heo-blue-dark) 60%, var(--heo-navy) 100%);
	border-radius: var(--heo-radius-lg);
	padding: clamp(40px, 5vw, 72px);
	color: #fff;
	text-align: center;
}
.heo-historia__cta-title {
	font-size: clamp(26px, 3.2vw, 40px);
	color: #fff;
	margin: 0 0 14px;
	letter-spacing: -0.02em;
}
.heo-historia__cta-text {
	margin: 0 auto 32px;
	max-width: 58ch;
	color: rgba(255, 255, 255, 0.82);
	font-size: 1.05rem;
}
.heo-historia__cta-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
}

/* =========================================================
   EXAMES (page-exames.php)
   ========================================================= */

.heo-exames { padding-top: 72px; padding-bottom: 72px; }

.heo-exames__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
@media (max-width: 960px) {
	.heo-exames__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.heo-exames__grid { grid-template-columns: 1fr; gap: 16px; }
}

.heo-exames__card {
	background: #fff;
	border: 1px solid var(--heo-line);
	border-radius: var(--heo-radius);
	padding: 28px 24px 24px;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.heo-exames__card:hover {
	transform: translateY(-3px);
	box-shadow: var(--heo-shadow);
	border-color: transparent;
}
.heo-exames__num {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--heo-blue);
	letter-spacing: 0.1em;
	font-variant-numeric: tabular-nums;
}
.heo-exames__nome {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--heo-navy);
	margin: 0;
	line-height: 1.25;
	letter-spacing: -0.01em;
}
.heo-exames__desc {
	margin: 0;
	color: var(--heo-fg-soft);
	font-size: 0.92rem;
	line-height: 1.55;
}

/* CTA no final da página */
.heo-exames__cta {
	margin-top: 72px;
	padding: clamp(36px, 5vw, 56px);
	background: linear-gradient(135deg, var(--heo-navy) 0%, var(--heo-navy-3) 100%);
	border-radius: var(--heo-radius-lg);
	color: #fff;
	text-align: center;
}
.heo-exames__cta-title {
	font-size: clamp(24px, 3vw, 34px);
	color: #fff;
	margin: 0 0 12px;
	letter-spacing: -0.015em;
}
.heo-exames__cta-text {
	margin: 0 auto 28px;
	max-width: 52ch;
	color: rgba(255, 255, 255, 0.78);
	font-size: 1rem;
}
.heo-exames__cta-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
}
.heo-btn--secondary-dark {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
}
.heo-btn--secondary-dark:hover {
	background: #fff;
	color: var(--heo-navy);
	border-color: #fff;
}

/* =========================================================
   FOOTER
   ========================================================= */

/* ----- CTA bar full-width antes do footer ----- */
.heo-footer-cta {
	margin-top: 80px;
	background: linear-gradient(135deg, var(--heo-blue, #0034cb) 0%, #0050ff 55%, var(--heo-cyan, #00fbff) 100%);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.heo-footer-cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 100% 50%, rgba(255,255,255,0.18) 0, transparent 45%);
	pointer-events: none;
}
.heo-footer-cta__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 44px 0;
}
.heo-footer-cta__kicker {
	margin: 0 0 6px;
	font-size: 0.82rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 600;
}
.heo-footer-cta__title {
	margin: 0;
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
}
.heo-footer-cta__actions {
	display: flex;
	gap: 12px;
	flex-shrink: 0;
	flex-wrap: wrap;
}
.heo-footer-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 22px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.heo-footer-cta__btn svg { width: 20px; height: 20px; }
.heo-footer-cta__btn--whats {
	background: #25d366;
	color: #fff;
	box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
.heo-footer-cta__btn--whats:hover { background: #1ebe57; color: #fff; transform: translateY(-2px); }
.heo-footer-cta__btn--phone {
	background: #fff;
	color: var(--heo-blue, #0034cb);
	box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.heo-footer-cta__btn--phone:hover { background: #fff; color: var(--heo-blue, #0034cb); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,0.18); }

@media (max-width: 880px) {
	.heo-footer-cta__inner { flex-direction: column; align-items: flex-start; gap: 24px; padding: 36px 0; }
	.heo-footer-cta__actions { width: 100%; }
	.heo-footer-cta__btn { flex: 1 1 auto; justify-content: center; }
}

/* ----- Footer principal: claro (oposto ao Prontocor escuro) ----- */
.heo-footer {
	background: #f4f7fb;
	color: rgba(0, 26, 102, 0.75);
	padding: 64px 0 0;
	border-top: 1px solid rgba(0, 52, 203, 0.08);
}
.heo-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 56px;
	padding-bottom: 48px;
}
.heo-footer__col--brand { display: flex; flex-direction: column; gap: 18px; }
.heo-footer__brand { display: inline-flex; align-items: center; max-height: 56px; }
.heo-footer__brand .custom-logo-link,
.heo-footer__brand .custom-logo-link img,
.heo-footer__brand img {
	display: inline-block;
	max-height: 56px;
	width: auto;
	height: auto;
	max-width: 220px;
	object-fit: contain;
}
.heo-footer__brand-text {
	color: var(--heo-navy, #001a66);
	font-weight: 800;
	font-size: 1.35rem;
	letter-spacing: 0.05em;
}
.heo-footer__tagline {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.6;
	color: rgba(0, 26, 102, 0.65);
	max-width: 360px;
}

.heo-footer__title {
	color: var(--heo-navy, #001a66);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin: 0 0 18px;
}

.heo-footer__list,
.heo-footer__nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.heo-footer__list li {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 10px;
	align-items: start;
}
.heo-footer__icon {
	width: 18px;
	height: 18px;
	color: var(--heo-blue, #0034cb);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 3px;
}
.heo-footer__icon svg { width: 16px; height: 16px; }

.heo-footer__link {
	color: rgba(0, 26, 102, 0.7);
	font-size: 0.95rem;
	line-height: 1.5;
	text-decoration: none;
	transition: color .18s ease;
}
.heo-footer__link:hover { color: var(--heo-blue, #0034cb); }

.heo-footer__social {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: flex;
	gap: 10px;
}
.heo-footer__social a {
	width: 40px; height: 40px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid rgba(0, 52, 203, 0.12);
	color: var(--heo-blue, #0034cb);
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .18s ease;
}
.heo-footer__social a:hover {
	background: var(--heo-blue, #0034cb);
	color: #fff;
	border-color: var(--heo-blue, #0034cb);
	transform: translateY(-2px);
}
.heo-footer__social svg { width: 18px; height: 18px; }

/* Bottom bar — faixa fina navy */
.heo-footer__bottom {
	background: var(--heo-navy, #001a66);
	color: rgba(255, 255, 255, 0.55);
	padding: 18px 0;
}
.heo-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.heo-footer__copy { font-size: 0.8rem; }
.heo-footer__credit { font-size: 0.78rem; color: rgba(255, 255, 255, 0.4); }

@media (max-width: 980px) {
	.heo-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
	.heo-footer__col--brand { grid-column: span 2; }
}
@media (max-width: 540px) {
	.heo-footer { padding-top: 48px; }
	.heo-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
	.heo-footer__col--brand { grid-column: auto; }
	.heo-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   HOME HEO — BLOCOS PRÓPRIOS (visual distinto do Prontocor)
   ========================================================= */

/* ----- 3-up cards (Servicos) — substitui a lista numerada ----- */
.heo-cards3__header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 56px;
}
.heo-cards3__title {
	font-size: clamp(30px, 3.8vw, 46px);
	color: var(--heo-navy);
	margin: 0;
	letter-spacing: -0.02em;
}
.heo-cards3__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}
.heo-cards3__card {
	background: #fff;
	border: 1px solid var(--heo-line);
	border-radius: var(--heo-radius-lg);
	padding: 36px 32px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	position: relative;
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.heo-cards3__card::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 4px;
	background: linear-gradient(90deg, var(--heo-blue) 0%, var(--heo-cyan) 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s ease;
}
.heo-cards3__card:hover {
	transform: translateY(-6px);
	box-shadow: var(--heo-shadow-lg);
	border-color: transparent;
}
.heo-cards3__card:hover::before { transform: scaleX(1); }
.heo-cards3__icon {
	width: 56px; height: 56px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(56, 189, 248, 0.10));
	color: var(--heo-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 6px;
}
.heo-cards3__icon svg { width: 28px; height: 28px; }
.heo-cards3__name {
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--heo-navy);
	margin: 0;
	letter-spacing: -0.01em;
}
.heo-cards3__desc {
	margin: 0;
	color: var(--heo-fg-soft);
	font-size: 0.96rem;
	line-height: 1.6;
	flex: 1;
}
.heo-cards3__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--heo-blue);
	font-weight: 600;
	font-size: 0.92rem;
	margin-top: 8px;
}
.heo-cards3__link svg {
	width: 16px; height: 16px;
	transition: transform .2s ease;
}
.heo-cards3__card:hover .heo-cards3__link svg { transform: translateX(4px); }

/* ----- Sobre — barra azul única (texto + stats em cima do gradient) ----- */
.heo-sobre__bar {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
	background: linear-gradient(135deg, var(--heo-blue) 0%, var(--heo-blue-dark) 60%, var(--heo-navy) 100%);
	border-radius: var(--heo-radius-lg);
	padding: clamp(40px, 5vw, 72px);
	color: #fff;
	position: relative;
	overflow: hidden;
	box-shadow: 0 24px 48px -28px rgba(0, 52, 203, 0.4);
}
.heo-sobre__bar::before {
	content: "";
	position: absolute;
	top: -80px; right: -80px;
	width: 360px; height: 360px;
	background: radial-gradient(circle, rgba(0, 251, 255, 0.18) 0%, transparent 65%);
	pointer-events: none;
}
.heo-sobre__bar::after {
	content: "";
	position: absolute;
	bottom: -100px; left: -60px;
	width: 280px; height: 280px;
	background: radial-gradient(circle, rgba(0, 251, 255, 0.10) 0%, transparent 70%);
	pointer-events: none;
}
.heo-sobre__text { position: relative; z-index: 1; }
.heo-sobre__kicker {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--heo-cyan);
	margin: 0 0 14px;
}
.heo-sobre__title {
	font-size: clamp(28px, 3.5vw, 44px);
	color: #fff;
	margin: 0 0 20px;
	letter-spacing: -0.02em;
	line-height: 1.1;
}
.heo-sobre__p {
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.0625rem;
	line-height: 1.7;
	margin: 0 0 16px;
}
.heo-sobre__p:last-child { margin-bottom: 0; }
.heo-sobre__stats {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding-left: clamp(24px, 3vw, 40px);
	border-left: 2px solid rgba(255, 255, 255, 0.18);
}
.heo-sobre__stat-value {
	font-size: clamp(42px, 5.5vw, 72px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1;
	margin-bottom: 8px;
	color: #fff;
	font-variant-numeric: tabular-nums;
}
.heo-sobre__stat-label {
	font-size: 0.92rem;
	color: var(--heo-cyan);
	font-weight: 600;
	letter-spacing: 0.02em;
}
@media (max-width: 860px) {
	.heo-sobre__bar { grid-template-columns: 1fr; gap: 32px; }
	.heo-sobre__stats {
		padding-left: 0;
		padding-top: 28px;
		border-left: 0;
		border-top: 2px solid rgba(255, 255, 255, 0.18);
		flex-direction: row;
		gap: clamp(20px, 4vw, 48px);
	}
}
@media (max-width: 480px) {
	.heo-sobre__stats { flex-direction: column; gap: 20px; }
}

/* ----- Especialidades pill cloud ----- */
.heo-esp__header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 48px;
}
.heo-esp__title {
	font-size: clamp(28px, 3.5vw, 44px);
	color: var(--heo-navy);
	margin: 0 0 16px;
	letter-spacing: -0.02em;
}
.heo-esp__desc {
	color: var(--heo-fg-soft);
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0;
}
.heo-esp__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	max-width: 1100px;
	margin: 0 auto;
}
.heo-esp__pill {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	background: #fff;
	border: 1.5px solid var(--heo-line);
	border-radius: 999px;
	color: var(--heo-navy);
	font-weight: 600;
	font-size: 0.92rem;
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.heo-esp__pill:hover {
	background: var(--heo-navy);
	color: #fff;
	border-color: var(--heo-navy);
	transform: translateY(-2px);
}

/* ----- Highlight (notícia/marco) ----- */
.heo-highlight {
	background: var(--heo-bg-soft);
}
.heo-highlight__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.heo-highlight__media {
	aspect-ratio: 4/3;
	border-radius: var(--heo-radius-lg);
	overflow: hidden;
	background: linear-gradient(135deg, var(--heo-navy) 0%, var(--heo-blue-dark) 100%);
	box-shadow: var(--heo-shadow-lg);
	position: relative;
}
.heo-highlight__media-img {
	width: 100%; height: 100%;
	object-fit: cover;
}
.heo-highlight__media-placeholder {
	width: 100%; height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.35);
}
.heo-highlight__media-placeholder svg { width: 40%; height: 40%; }
.heo-highlight__kicker {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	color: var(--heo-blue);
	margin: 0 0 16px;
}
.heo-highlight__title {
	font-size: clamp(26px, 3.3vw, 40px);
	color: var(--heo-navy);
	margin: 0 0 20px;
	letter-spacing: -0.02em;
	line-height: 1.15;
}
.heo-highlight__desc {
	color: var(--heo-fg-soft);
	font-size: 1.05rem;
	line-height: 1.7;
	margin: 0 0 28px;
}
.heo-highlight__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	background: var(--heo-blue);
	color: #fff;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 999px;
	transition: background .2s ease, transform .2s ease;
}
.heo-highlight__cta:hover {
	background: var(--heo-blue-dark);
	color: #fff;
	transform: translateY(-1px);
}
.heo-highlight__cta svg { width: 18px; height: 18px; transition: transform .2s ease; }
.heo-highlight__cta:hover svg { transform: translateX(3px); }
@media (max-width: 860px) {
	.heo-highlight__inner { grid-template-columns: 1fr; }
}

/* ----- Big Numbers em CARDS (visual distinto do Prontocor) ----- */
.heo-section--numbers-cards {
	background: #fff;
}
.heo-numbers--cards {
	display: grid;
	grid-template-columns: repeat(var(--heo-numbers-count, 4), 1fr);
	gap: 20px;
	text-align: left;
	list-style: none;
	margin: 0;
	padding: 0;
}
.heo-numbers--cards .heo-numbers__item {
	background: var(--heo-bg-soft);
	border-radius: var(--heo-radius-lg);
	padding: 32px 28px;
	border-top: 4px solid var(--heo-blue);
	transition: transform .25s ease, box-shadow .25s ease;
}
.heo-numbers--cards .heo-numbers__item:hover {
	transform: translateY(-4px);
	box-shadow: var(--heo-shadow);
}
.heo-numbers--cards .heo-numbers__item:nth-child(2) { border-top-color: var(--heo-cyan); }
.heo-numbers--cards .heo-numbers__item:nth-child(3) { border-top-color: var(--heo-blue-dark); }
.heo-numbers--cards .heo-numbers__item:nth-child(4) { border-top-color: var(--heo-navy-3); }
.heo-numbers--cards .heo-numbers__item::after { display: none !important; }
.heo-numbers--cards .heo-numbers__value {
	font-size: clamp(36px, 4.5vw, 56px);
	font-weight: 800;
	color: var(--heo-navy);
	background: none;
	-webkit-text-fill-color: var(--heo-navy);
	margin-bottom: 8px;
	text-align: left;
}
.heo-numbers--cards .heo-numbers__label {
	color: var(--heo-fg-soft);
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-align: left;
}
@media (max-width: 860px) {
	.heo-numbers--cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
	.heo-numbers--cards { grid-template-columns: 1fr; }
}

/* ----- Depoimentos ----- */
.heo-dep {
	background: var(--heo-bg-soft);
}
.heo-dep__header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 48px;
}
.heo-dep__title {
	font-size: clamp(28px, 3.5vw, 44px);
	color: var(--heo-navy);
	margin: 0 0 16px;
	letter-spacing: -0.02em;
}
.heo-dep__lead {
	color: var(--heo-fg-soft);
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0;
}
.heo-carousel__track.heo-dep__track { grid-auto-columns: calc((100% - 48px) / 3); }
@media (max-width: 1000px) {
	.heo-carousel__track.heo-dep__track { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 700px) {
	.heo-carousel__track.heo-dep__track { grid-auto-columns: 90%; }
}
.heo-dep__card {
	background: #fff;
	border-radius: var(--heo-radius-lg);
	padding: 36px 32px;
	box-shadow: var(--heo-shadow);
	height: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
}
.heo-dep__quote {
	font-family: Georgia, serif;
	font-size: 84px;
	color: var(--heo-cyan);
	line-height: 1;
	margin: -12px 0 -8px;
	opacity: 0.5;
}
.heo-dep__text {
	color: var(--heo-fg);
	font-size: 1.0625rem;
	line-height: 1.65;
	margin: 0 0 24px;
	flex: 1;
}
.heo-dep__author {
	padding-top: 18px;
	border-top: 1px solid var(--heo-line);
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.heo-dep__name {
	color: var(--heo-navy);
	font-size: 1rem;
	font-weight: 700;
}
.heo-dep__cargo {
	color: var(--heo-muted);
	font-size: 0.82rem;
	letter-spacing: 0.06em;
}

/* ----- Quote (depoimento destaque, estilo ALOB) ----- */
.heo-section--quote {
	padding-top: clamp(80px, 10vw, 140px);
	padding-bottom: clamp(80px, 10vw, 140px);
	position: relative;
	overflow: hidden;
}
.heo-container.heo-quote {
	max-width: 1140px;
}
.heo-quote {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
	position: relative;
}
.heo-quote__text {
	position: relative;
	z-index: 2;
}
.heo-quote__text::before {
	content: "\201C";
	position: absolute;
	top: -0.6em;
	left: -0.12em;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(220px, 28vw, 400px);
	line-height: 0.8;
	color: var(--heo-blue);
	opacity: 0.08;
	font-weight: 700;
	pointer-events: none;
	z-index: -1;
}
.heo-quote__title {
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.05;
	letter-spacing: -0.025em;
	color: var(--heo-navy);
	margin: 0 0 28px;
}
.heo-quote__body {
	font-size: clamp(18px, 1.6vw, 22px);
	line-height: 1.55;
	color: var(--heo-fg);
	max-width: 46ch;
	margin: 0 0 24px;
	font-weight: 400;
	font-style: italic;
}
.heo-quote__role {
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--heo-blue);
	font-weight: 700;
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 14px;
}
.heo-quote__role::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 2px;
	background: var(--heo-blue);
}
.heo-quote__media {
	position: relative;
	border-radius: var(--heo-radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 5;
	box-shadow: 0 30px 60px -20px rgba(0, 16, 51, 0.3),
	            0 18px 36px -18px rgba(0, 16, 51, 0.18);
	background: linear-gradient(135deg, var(--heo-navy) 0%, var(--heo-blue) 100%);
}
.heo-quote__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 16, 51, 0.18) 100%);
	pointer-events: none;
}
.heo-quote__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.heo-quote:hover .heo-quote__media img { transform: scale(1.04); }
.heo-quote__media-placeholder {
	position: absolute; inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--heo-cyan);
	opacity: 0.3;
}
.heo-quote__media-placeholder svg { width: 35%; height: 35%; }

@media (max-width: 860px) {
	.heo-quote { grid-template-columns: 1fr; }
	.heo-quote__media { aspect-ratio: 4 / 3; order: -1; }
	.heo-quote__text::before { font-size: 180px; top: -0.4em; }
}

/* ----- FAQ Accordion ----- */
.heo-faq__inner { max-width: 980px; margin: 0 auto; }
.heo-faq__header {
	text-align: center;
	margin-bottom: 56px;
}
.heo-faq__kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	font-weight: 700;
	color: var(--heo-blue);
	margin: 0 0 16px;
}
.heo-faq__kicker::before,
.heo-faq__kicker::after {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--heo-cyan);
	border-radius: 2px;
}
.heo-faq__title {
	font-size: clamp(28px, 3.6vw, 44px);
	color: var(--heo-navy);
	margin: 0 0 16px;
	letter-spacing: -0.02em;
	line-height: 1.1;
}
.heo-faq__lead {
	color: var(--heo-fg-soft);
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0;
	max-width: 56ch;
	margin-left: auto;
	margin-right: auto;
}

.heo-faq__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--heo-line);
}
.heo-faq__item {
	border-bottom: 1px solid var(--heo-line);
}
.heo-faq__question {
	width: 100%;
	background: transparent;
	border: 0;
	padding: 22px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	font-size: clamp(1.02rem, 1.3vw, 1.15rem);
	font-weight: 700;
	color: var(--heo-navy);
	letter-spacing: -0.005em;
	transition: color .2s ease;
}
.heo-faq__question:hover { color: var(--heo-blue); }
.heo-faq__question:focus-visible {
	outline: 2px solid var(--heo-blue);
	outline-offset: 4px;
	border-radius: 4px;
}

.heo-faq__icon {
	flex-shrink: 0;
	width: 36px; height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--heo-blue);
	background: rgba(0, 52, 203, 0.08);
	border-radius: 50%;
	transition: background .2s ease, color .2s ease, transform .3s ease;
}
.heo-faq__icon svg { width: 18px; height: 18px; }
.heo-faq__icon-vbar {
	transform-origin: center;
	transition: transform .3s ease;
}
.heo-faq__question[aria-expanded="true"] .heo-faq__icon {
	background: var(--heo-blue);
	color: #fff;
}
.heo-faq__question[aria-expanded="true"] .heo-faq__icon-vbar {
	transform: rotate(90deg);
	transform-origin: center;
}

.heo-faq__answer {
	overflow: hidden;
	max-height: 0;
	transition: max-height .35s ease;
}
.heo-faq__answer[hidden] {
	display: block !important;
	max-height: 0;
}
.heo-faq__answer.is-open {
	max-height: 1000px;
}
.heo-faq__answer-inner {
	padding: 0 0 24px;
	color: var(--heo-fg-soft);
	font-size: 1rem;
	line-height: 1.7;
	max-width: 80ch;
}
.heo-faq__answer-inner p { margin: 0 0 12px; }
.heo-faq__answer-inner p:last-child { margin: 0; }

/* ----- Convênios ----- */
.heo-conv__header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 48px;
}
.heo-conv__title {
	font-size: clamp(28px, 3.5vw, 44px);
	color: var(--heo-navy);
	margin: 0 0 16px;
	letter-spacing: -0.02em;
}
.heo-conv__lead {
	color: var(--heo-fg-soft);
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0;
}
/* Carrossel de convênios — 5 logos por tela no desktop, 2 no mobile */
.heo-conv__carousel {
	max-width: 1100px;
	margin: 0 auto;
}
.heo-carousel__track.heo-conv__track {
	grid-auto-columns: calc((100% - 96px) / 5);
}
@media (max-width: 1024px) {
	.heo-carousel__track.heo-conv__track { grid-auto-columns: calc((100% - 72px) / 4); }
}
@media (max-width: 820px) {
	.heo-carousel__track.heo-conv__track { grid-auto-columns: calc((100% - 48px) / 3); }
}
@media (max-width: 600px) {
	.heo-carousel__track.heo-conv__track { grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; }
}

/* Grid de placeholder (quando admin ainda não cadastrou logos) */
.heo-conv__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 1100px;
	margin: 0 auto;
}
.heo-conv__item {
	background: #fff;
	border: 1px solid var(--heo-line);
	border-radius: var(--heo-radius);
	padding: 24px 20px;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color .2s ease, transform .2s ease;
}
.heo-conv__item:hover {
	border-color: var(--heo-blue);
	transform: translateY(-2px);
}
.heo-conv__logo {
	max-width: 100%;
	max-height: 60px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(1) opacity(0.7);
	transition: filter .3s ease;
}
.heo-conv__item:hover .heo-conv__logo {
	filter: grayscale(0) opacity(1);
}
.heo-conv__item--placeholder {
	background: var(--heo-bg-soft);
	border-style: dashed;
}
.heo-conv__placeholder-text {
	color: var(--heo-muted);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.heo-conv__hint {
	text-align: center;
	margin-top: 24px;
	color: var(--heo-muted);
}

/* =========================================================
   HEO KIDS (page-heo-kids.php)
   ========================================================= */

.heo-kids__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
}
.heo-kids__heading {
	font-size: clamp(28px, 3.4vw, 40px);
	color: var(--heo-navy);
	margin: 0 0 24px;
	letter-spacing: -0.02em;
	line-height: 1.15;
}
.heo-kids__text p {
	color: var(--heo-fg-soft);
	font-size: 1.05rem;
	line-height: 1.7;
	margin: 0 0 18px;
}
.heo-kids__highlight {
	color: var(--heo-blue) !important;
	font-weight: 600;
	font-size: 1.075rem !important;
	background: linear-gradient(90deg, rgba(0, 251, 255, 0.10) 0%, transparent 100%);
	padding: 14px 18px;
	border-left: 3px solid var(--heo-cyan);
	border-radius: 0 var(--heo-radius) var(--heo-radius) 0;
}
.heo-kids__text .heo-btn { margin-top: 12px; }

/* Mosaico de 6 fotos — layout asymmetric estilo ALOB */
.heo-kids__mosaic {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-auto-rows: minmax(80px, 1fr);
	gap: 10px;
	min-height: 480px;
}
.heo-kids__pic {
	position: relative;
	overflow: hidden;
	border-radius: var(--heo-radius);
	background: linear-gradient(135deg, var(--heo-bg-soft) 0%, #e0e6f1 100%);
	box-shadow: 0 8px 24px -16px rgba(0, 16, 51, 0.25);
	transition: transform .3s ease;
}
.heo-kids__pic:hover { transform: translateY(-4px); }
.heo-kids__pic img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.heo-kids__pic:hover img { transform: scale(1.05); }
.heo-kids__pic-placeholder {
	position: absolute; inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	opacity: 0.4;
}
/* Posicionamento de cada foto no grid 6-col × 6-row */
.heo-kids__pic--1 { grid-column: 1 / 4; grid-row: 1 / 4; }
.heo-kids__pic--2 { grid-column: 4 / 7; grid-row: 1 / 3; }
.heo-kids__pic--3 { grid-column: 4 / 7; grid-row: 3 / 5; }
.heo-kids__pic--4 { grid-column: 1 / 3; grid-row: 4 / 6; }
.heo-kids__pic--5 { grid-column: 3 / 5; grid-row: 5 / 7; }
.heo-kids__pic--6 { grid-column: 5 / 7; grid-row: 5 / 7; }

@media (max-width: 900px) {
	.heo-kids__grid { grid-template-columns: 1fr; }
	.heo-kids__mosaic { min-height: 360px; }
}
@media (max-width: 540px) {
	.heo-kids__mosaic {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 140px;
		min-height: auto;
	}
	.heo-kids__pic { grid-column: auto !important; grid-row: auto !important; }
}

/* Alerts (Quando levar ao oftalmologista) */
.heo-kids__alerts-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 48px;
}
.heo-kids__alerts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.heo-kids__alert {
	background: #fff;
	border: 1px solid var(--heo-line);
	border-radius: var(--heo-radius);
	padding: 28px 26px;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.heo-kids__alert:hover {
	transform: translateY(-3px);
	box-shadow: var(--heo-shadow);
	border-color: var(--heo-cyan);
}
.heo-kids__alert-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px; height: 52px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(0, 251, 255, 0.18) 0%, rgba(0, 52, 203, 0.10) 100%);
	font-size: 1.6rem;
	margin-bottom: 16px;
}
.heo-kids__alert-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--heo-navy);
	margin: 0 0 8px;
	letter-spacing: -0.01em;
}
.heo-kids__alert-text {
	margin: 0;
	color: var(--heo-fg-soft);
	font-size: 0.95rem;
	line-height: 1.55;
}

/* =========================================================
   GLOSSÁRIO DE DOENÇAS (archive-doenca.php / single-doenca.php)
   ========================================================= */

/* ----- Filtros (busca + alfabeto) ----- */
.heo-glossario__filters {
	background: var(--heo-bg-soft);
	padding: 24px 0;
	border-bottom: 1px solid var(--heo-line);
	position: sticky;
	top: 80px;
	z-index: 30;
	backdrop-filter: blur(10px);
	background: rgba(243, 246, 252, 0.92);
}
.heo-glossario__filters-inner {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.heo-glossario__search {
	position: relative;
	max-width: 480px;
	width: 100%;
}
.heo-glossario__search input {
	width: 100%;
	padding: 12px 18px 12px 46px;
	border: 1.5px solid var(--heo-line);
	border-radius: 999px;
	background: #fff;
	font-size: 0.95rem;
	font-family: inherit;
	color: var(--heo-fg);
	transition: border-color .2s ease;
}
.heo-glossario__search input:focus {
	outline: none;
	border-color: var(--heo-blue);
}
.heo-glossario__search-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--heo-muted);
	pointer-events: none;
}
.heo-glossario__search-icon svg { width: 18px; height: 18px; }

.heo-glossario__alfabeto {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.heo-glossario__letra {
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	background: #fff;
	border: 1px solid var(--heo-line);
	border-radius: 8px;
	color: var(--heo-fg);
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
	font-family: inherit;
}
.heo-glossario__letra:hover:not(:disabled) {
	border-color: var(--heo-blue);
	color: var(--heo-blue);
}
.heo-glossario__letra.is-active {
	background: var(--heo-blue);
	color: #fff;
	border-color: var(--heo-blue);
}
.heo-glossario__letra.is-empty,
.heo-glossario__letra:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* ----- Grid de doenças ----- */
.heo-glossario__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.heo-glossario__card-link {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	background: #fff;
	border: 1px solid var(--heo-line);
	border-radius: var(--heo-radius);
	padding: 22px 20px;
	color: inherit;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	height: 100%;
}
.heo-glossario__card-link:hover {
	transform: translateY(-3px);
	box-shadow: var(--heo-shadow);
	border-color: var(--heo-blue);
}
.heo-glossario__card-emoji {
	flex-shrink: 0;
	width: 48px; height: 48px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(0, 251, 255, 0.18) 0%, rgba(0, 52, 203, 0.10) 100%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
}
.heo-glossario__card-body {
	flex: 1;
	min-width: 0;
}
.heo-glossario__card-nome {
	font-size: 1.08rem;
	font-weight: 700;
	color: var(--heo-navy);
	margin: 0 0 4px;
	letter-spacing: -0.005em;
	line-height: 1.25;
}
.heo-glossario__card-desc {
	margin: 0;
	color: var(--heo-fg-soft);
	font-size: 0.9rem;
	line-height: 1.5;
}
.heo-glossario__card-arrow {
	flex-shrink: 0;
	color: var(--heo-blue);
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity .2s ease, transform .2s ease;
	align-self: center;
}
.heo-glossario__card-arrow svg { width: 18px; height: 18px; }
.heo-glossario__card-link:hover .heo-glossario__card-arrow {
	opacity: 1;
	transform: translateX(0);
}
.heo-glossario__empty {
	text-align: center;
	padding: 60px 20px;
	color: var(--heo-fg-soft);
	font-size: 1.05rem;
}

/* ----- Single (página individual da doença) ----- */
.heo-doenca__hero-inner {
	text-align: center;
	max-width: 720px;
	margin: 0 auto;
}
.heo-doenca__hero-emoji {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px; height: 84px;
	border-radius: 22px;
	background: linear-gradient(135deg, rgba(0, 251, 255, 0.20) 0%, rgba(0, 52, 203, 0.12) 100%);
	font-size: 2.4rem;
	margin: 0 auto 20px;
}
.heo-doenca__hero-inner .heo-pagehero__kicker { justify-content: center; }
.heo-doenca__hero-inner .heo-pagehero__kicker::before { display: none; }
.heo-doenca__hero-inner .heo-pagehero__title { max-width: none; }
.heo-doenca__hero-inner .heo-pagehero__lead {
	margin-left: auto;
	margin-right: auto;
}

.heo-doenca__body { max-width: 820px; }
.heo-doenca__cover {
	margin: 0 0 40px;
	border-radius: var(--heo-radius-lg);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--heo-bg-soft);
}
.heo-doenca__cover img {
	width: 100%; height: 100%;
	object-fit: cover;
}
.heo-doenca__bloco {
	margin: 0 0 36px;
	padding: 28px 32px;
	background: #fff;
	border: 1px solid var(--heo-line);
	border-left: 4px solid var(--heo-blue);
	border-radius: var(--heo-radius);
}
.heo-doenca__bloco-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
}
.heo-doenca__bloco-icon {
	font-size: 1.6rem;
	line-height: 1;
}
.heo-doenca__bloco-title {
	font-size: clamp(1.15rem, 1.6vw, 1.4rem);
	color: var(--heo-navy);
	margin: 0;
	font-weight: 800;
	letter-spacing: -0.01em;
}
.heo-doenca__bloco-content {
	color: var(--heo-fg-soft);
	line-height: 1.7;
}
.heo-doenca__bloco-content p { margin: 0 0 12px; }
.heo-doenca__bloco-content ul,
.heo-doenca__bloco-content ol {
	padding-left: 1.4em;
	margin: 0 0 12px;
	list-style: revert;
}
.heo-doenca__bloco-content li { margin-bottom: 6px; }
.heo-doenca__bloco-content strong { color: var(--heo-navy); }

.heo-doenca__voltar {
	margin-top: 40px;
	text-align: center;
}
.heo-doenca__voltar a {
	color: var(--heo-blue);
	font-weight: 600;
}
.heo-doenca__voltar a:hover {
	color: var(--heo-blue-dark);
	text-decoration: underline;
}

@media (max-width: 720px) {
	.heo-glossario__filters { top: 60px; }
	.heo-doenca__bloco { padding: 22px 24px; }
}

/* =========================================================
   Botão flutuante de WhatsApp (todas as páginas)
   ========================================================= */
.heo-whats-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 9999;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 20px 14px 16px;
	background: #25d366;
	color: #fff;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.18);
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.heo-whats-float:hover {
	background: #1ebe57;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(37, 211, 102, 0.5), 0 6px 14px rgba(0, 0, 0, 0.22);
}
.heo-whats-float:focus-visible {
	outline: 3px solid rgba(37, 211, 102, 0.5);
	outline-offset: 3px;
}
.heo-whats-float__icon {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: relative;
}
.heo-whats-float__icon svg { width: 28px; height: 28px; }
.heo-whats-float__icon::before {
	content: '';
	position: absolute;
	inset: -6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.35);
	animation: heo-whats-pulse 2.2s ease-out infinite;
	z-index: -1;
}
@keyframes heo-whats-pulse {
	0%   { transform: scale(0.85); opacity: 0.7; }
	100% { transform: scale(1.6);  opacity: 0;   }
}
.heo-whats-float__label { white-space: nowrap; }

@media (max-width: 600px) {
	.heo-whats-float { right: 16px; bottom: 16px; padding: 12px; }
	.heo-whats-float__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.heo-whats-float__icon::before { animation: none; }
	.heo-whats-float:hover { transform: none; }
}

/* =========================================================
   HOME — Bloco "Conheça as principais doenças oculares"
   ========================================================= */
.heo-doencas-home__head {
	max-width: 720px;
	margin: 0 auto 40px;
	text-align: center;
}
.heo-doencas-home__grid {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.heo-doencas-home__item { display: flex; }
.heo-doencas-home__card {
	display: grid;
	grid-template-columns: 56px 1fr auto;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 20px 22px;
	background: #fff;
	border: 1px solid var(--heo-line, rgba(0, 52, 203, 0.14));
	border-radius: 14px;
	text-decoration: none;
	color: inherit;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.heo-doencas-home__card:hover {
	transform: translateY(-2px);
	border-color: var(--heo-blue, #0034cb);
	box-shadow: 0 12px 28px rgba(0, 52, 203, 0.12);
}
.heo-doencas-home__emoji {
	width: 56px;
	height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 52, 203, 0.06);
	border-radius: 12px;
	font-size: 1.6rem;
}
.heo-doencas-home__body { min-width: 0; }
.heo-doencas-home__nome {
	margin: 0 0 4px;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--heo-navy, #001a66);
	line-height: 1.25;
}
.heo-doencas-home__desc {
	margin: 0;
	font-size: 0.88rem;
	color: rgba(0, 0, 0, 0.6);
	line-height: 1.45;
}
.heo-doencas-home__arrow {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--heo-blue, #0034cb);
	flex-shrink: 0;
}
.heo-doencas-home__arrow svg { width: 18px; height: 18px; }
.heo-doencas-home__cta {
	display: flex;
	justify-content: center;
}
@media (max-width: 980px) {
	.heo-doencas-home__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.heo-doencas-home__grid { grid-template-columns: 1fr; gap: 12px; }
	.heo-doencas-home__card { padding: 16px 18px; gap: 14px; grid-template-columns: 48px 1fr auto; }
	.heo-doencas-home__emoji { width: 48px; height: 48px; font-size: 1.4rem; }
}
