/* Hero "nome monumental" (modelo do Dr. Renan, adaptado ao Dr. Fábio):
   nome gigante em serif atrás do Dr. — foto inteira no fundo (.hm-ph, com máscara)
   + recorte do mesmo tamanho por cima (.hm-cut). Fundo = cor das bordas da foto.
   Acento: verde da marca (#009373) em versão clara para o fundo escuro. */
@font-face { font-family: 'Michelangelus'; src: url('../fonts/michelangelus-regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Michelangelus'; src: url('../fonts/michelangelus-italic.woff') format('woff'); font-weight: 400; font-style: italic; font-display: swap; }

.hm {
	--h: min(92svh, 1004px);
	--top: 0px;
	--bg: #0d0d10;
	--fim: #0b0c10;
	--creme: #eef2f0;
	--acc: #5fd6b4;
	--verde: #009373;
	position: relative; height: 100svh; min-height: 700px; overflow: hidden;
	background:
		radial-gradient(ellipse 42% 62% at 50% 30%, rgba(33, 38, 48, .95) 0%, rgba(24, 27, 34, .7) 45%, rgba(24, 27, 34, 0) 100%),
		linear-gradient(180deg, #0e0d12 0%, var(--bg) 40%, #0c0c0f 78%, var(--fim) 100%);
	color: #fff; font-family: 'Open Sans', system-ui, sans-serif;
}
.hm-ph, .hm-cut {
	position: absolute; top: var(--top); left: 50%; height: var(--h); width: auto; max-width: none;
	transform: translateX(-50%); pointer-events: none;
}
.hm-ph {
	z-index: 0;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.6) 8%, #000 18%, #000 82%, rgba(0,0,0,.6) 92%, transparent 100%),
		linear-gradient(180deg, #000 58%, rgba(0,0,0,.5) 78%, transparent 97%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.6) 8%, #000 18%, #000 82%, rgba(0,0,0,.6) 92%, transparent 100%),
		linear-gradient(180deg, #000 58%, rgba(0,0,0,.5) 78%, transparent 97%);
	mask-composite: intersect;
}
.hm-cut {
	z-index: 2;
	-webkit-mask-image: linear-gradient(180deg, #000 58%, rgba(0,0,0,.5) 78%, transparent 97%);
	mask-image: linear-gradient(180deg, #000 58%, rgba(0,0,0,.5) 78%, transparent 97%);
}
.hm-mega {
	position: absolute; z-index: 1; left: 0; right: 0; margin: 0 !important;
	top: calc(var(--top) + var(--h) * .17);
	display: flex; justify-content: center; align-items: baseline;
	gap: calc(var(--h) * .25);
	font-family: 'Michelangelus', Georgia, serif !important; font-weight: 400 !important;
	font-size: min(11.2vw, calc(var(--h) * .25)) !important; line-height: 1 !important;
	letter-spacing: -.015em; color: var(--creme) !important; white-space: nowrap; text-transform: none !important;
}
.hm-mega em { font-style: italic; color: var(--acc); }
.hm-shade {
	position: absolute; inset: 0; z-index: 3; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(8,8,10,.5) 0%, rgba(8,8,10,.18) 16%, rgba(8,8,10,0) 30%, rgba(8,8,10,0) 70%, rgba(8,8,10,.18) 84%, rgba(8,8,10,.5) 100%),
		linear-gradient(0deg, rgba(11,12,16,1) 0%, rgba(11,12,16,.86) 13%, rgba(11,12,16,.58) 26%, rgba(11,12,16,.26) 39%, rgba(11,12,16,.08) 52%, rgba(11,12,16,0) 64%);
}
.hm-foot {
	position: absolute; z-index: 4; left: 0; right: 0; bottom: 52px;
	display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px;
}
.hm-eyebrow {
	display: flex; align-items: center; justify-content: center; gap: 14px;
	color: var(--acc); font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; white-space: nowrap;
}
.hm-eyebrow::before, .hm-eyebrow::after { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .6; }
.hm-slogan {
	margin: 16px 0 0 !important; font-family: 'Michelangelus', Georgia, serif; font-size: clamp(28px, 2.4vw, 36px);
	line-height: 1.15; color: #fff;
}
.hm-slogan em { font-style: italic; color: var(--acc); }
.hm-row { margin-top: 26px; display: flex; align-items: center; gap: 30px; }
.hm-btn {
	display: inline-flex; align-items: center; gap: 14px; padding: 15px 32px 15px 24px; border-radius: 999px;
	color: #fff !important; text-decoration: none !important;
	background: linear-gradient(135deg, #3fbf9b 0%, #00a383 45%, #009373 70%, #007a60 100%);
	box-shadow: 0 16px 36px -16px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.28);
	transition: transform .25s ease;
}
.hm-btn:hover { transform: translateY(-2px); }
.hm-btn img { width: 22px; height: 22px; flex: none; }
.hm-btn-label { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.hm-btn-label b { font-size: 13.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hm-btn-label span { font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; opacity: .8; margin-top: 4px; }
.hm-cred {
	margin: 0 !important; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
	color: rgba(255,255,255,.58); line-height: 1.9; text-align: left;
}

@media (max-width: 899px) {
	.hm {
		--h: 540px; --top: 158px; height: 100svh; min-height: 780px;
		background: linear-gradient(180deg, #0e0d12 0, var(--bg) 300px, #0c0c0f 620px, var(--fim) 780px);
	}
	.hm-ph {
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20%, #000 80%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 52%, rgba(0,0,0,.45) 72%, transparent 94%);
		mask-image: linear-gradient(90deg, transparent 0, #000 20%, #000 80%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 52%, rgba(0,0,0,.45) 72%, transparent 94%);
	}
	.hm-cut {
		-webkit-mask-image: linear-gradient(180deg, #000 52%, rgba(0,0,0,.45) 72%, transparent 94%);
		mask-image: linear-gradient(180deg, #000 52%, rgba(0,0,0,.45) 72%, transparent 94%);
	}
	.hm-mega { top: 54px; flex-direction: column; align-items: center; gap: 0; font-size: 25vw !important; line-height: .86 !important; }
	.hm-shade { background: linear-gradient(0deg, rgba(11,12,16,1) 0%, rgba(11,12,16,.84) 24%, rgba(11,12,16,0) 48%); }
	.hm-foot { bottom: 60px; }
	.hm-eyebrow { font-size: 12px; letter-spacing: .22em; gap: 10px; }
	.hm-eyebrow::before, .hm-eyebrow::after { width: 18px; }
	.hm-slogan { margin-top: 12px !important; font-size: 25px; }
	.hm-row { margin-top: 18px; flex-direction: column; gap: 14px; }
	.hm-cred { text-align: center; font-size: 12px; letter-spacing: .08em; line-height: 1.7; }
	.hm-btn { padding: 14px 26px 14px 22px; }
}
