:root {
	--bg: #050505;
	--bg-soft: #0b0c0c;
	--panel: #111314;
	--panel-2: #171817;
	--gold: #be975d;
	--gold-soft: #e4c58c;
	--text: #f7f2e8;
	--muted: #b9b0a4;
	--line: rgba(190, 151, 93, 0.24);
	--danger: #7e1619;
	--max: 1120px;
	--notice-h: 34px;
	font-family: Inter, Montserrat, Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Inter, Montserrat, Arial, sans-serif;
	letter-spacing: 0;
}

img {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	color: inherit;
	font-family: inherit;
	border: none;
	background: none;
	cursor: pointer;
}

.notice-bar {
	position: fixed;
	z-index: 21;
	top: 0;
	left: 0;
	right: 0;
	height: var(--notice-h);
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 0 16px;
}

.topbar {
	position: fixed;
	z-index: 20;
	top: var(--notice-h);
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px clamp(18px, 4vw, 56px);
	background: rgba(5, 5, 5, 0.74);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(18px);
}

.brand img {
	width: 176px;
	height: auto;
	filter: brightness(1.2);
}

.nav {
	display: flex;
	gap: 22px;
	color: var(--muted);
	font-size: 13px;
	text-transform: uppercase;
}

.nav a:hover {
	color: var(--gold-soft);
}

.top-cta,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 20px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.top-cta,
.button--primary {
	background: var(--gold);
	color: #090806;
	box-shadow: 0 16px 38px rgba(190, 151, 93, 0.22);
}

.button--ghost {
	border: 1px solid var(--line);
	color: var(--text);
	background: rgba(255, 255, 255, 0.04);
}

.top-cta:hover,
.button:hover {
	transform: translateY(-2px);
}

.top-cta:active,
.button:active {
	transform: scale(0.98);
}

.top-cta:focus-visible,
.button:focus-visible,
.nav a:focus-visible {
	outline: 2px solid var(--gold-soft);
	outline-offset: 3px;
}

.hero {
	position: relative;
	min-height: 790px;
	display: grid;
	align-items: center;
	padding: calc(150px + var(--notice-h)) clamp(20px, 5vw, 72px) 80px;
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.82) 38%, rgba(5, 5, 5, 0.18) 72%, rgba(5, 5, 5, 0.8) 100%),
		linear-gradient(180deg, rgba(5, 5, 5, 0.08) 0%, #050505 100%),
		url("/wp-content/uploads/2025/06/Dr-Guilherme.png") center right / cover no-repeat;
}

.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(190, 151, 93, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(190, 151, 93, 0.08) 1px, transparent 1px);
	background-size: 84px 84px;
	mask-image: linear-gradient(90deg, black, transparent 70%);
	opacity: 0.32;
}

.hero__content {
	position: relative;
	z-index: 1;
	max-width: 720px;
}

.hero__content > * {
	opacity: 0;
	transform: translateY(18px);
	animation: hero-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero__content > *:nth-child(2) { animation-delay: 0.16s; }
.hero__content > *:nth-child(3) { animation-delay: 0.27s; }
.hero__content > *:nth-child(4) { animation-delay: 0.38s; }
.hero__content > *:nth-child(5) { animation-delay: 0.49s; }

@keyframes hero-rise {
	to {
		opacity: 1;
		transform: none;
	}
}

.eyebrow {
	margin: 0 0 14px;
	color: var(--gold-soft);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	max-width: 690px;
	margin-bottom: 22px;
	font-size: clamp(42px, 7vw, 78px);
	line-height: 0.95;
	font-weight: 800;
}

h2 {
	margin-bottom: 18px;
	font-size: clamp(30px, 4vw, 52px);
	line-height: 1.02;
}

h3 {
	margin-bottom: 10px;
	font-size: 19px;
}

.lead {
	max-width: 620px;
	color: #ddd4c7;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.55;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.hero__metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 42px;
	max-width: 760px;
}

.hero__metrics span {
	padding: 16px;
	border: 1px solid rgba(190, 151, 93, 0.22);
	background: rgba(12, 13, 13, 0.72);
	color: var(--muted);
	font-size: 13px;
	line-height: 1.45;
}

.hero__metrics strong {
	display: block;
	color: var(--text);
	font-size: 16px;
}

.ticker {
	overflow: hidden;
	padding: 11px 0;
	background: #d9e5e8;
	color: #111;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	white-space: nowrap;
}

.ticker__track {
	display: flex;
	width: max-content;
	animation: ticker-scroll 24s linear infinite;
}

.ticker:hover .ticker__track {
	animation-play-state: paused;
}

.ticker__group {
	display: flex;
	gap: 34px;
	padding-right: 34px;
}

.ticker span {
	position: relative;
	min-width: max-content;
}

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

.ticker span::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -21px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--gold);
}

.section {
	max-width: var(--max);
	margin: 0 auto;
	padding: 92px clamp(20px, 4vw, 34px);
}

.section__header {
	max-width: 780px;
	margin-bottom: 42px;
}

.section__header p:not(.eyebrow),
.split__text p,
.doctor p,
.location p,
.final-cta p {
	color: var(--muted);
	font-size: 17px;
	line-height: 1.75;
}

.intro {
	position: relative;
}

.timeline {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--line);
}

.timeline div {
	position: relative;
	padding: 32px 22px 0 0;
}

.timeline div::before {
	content: "";
	position: absolute;
	top: -5px;
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--gold);
}

.timeline span,
.pillar-grid span {
	display: inline-block;
	margin-bottom: 18px;
	color: var(--gold-soft);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.timeline p,
.pillar-grid p,
.fit li,
.checklist li,
.faq p {
	color: var(--muted);
	line-height: 1.65;
}

.split,
.doctor,
.location {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
	gap: 46px;
	align-items: center;
}

.checklist,
.fit ul {
	display: grid;
	gap: 12px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.checklist li,
.fit li {
	position: relative;
	padding: 14px 16px 14px 42px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.checklist li::before,
.fit__positive li::before {
	content: "✓";
	position: absolute;
	left: 16px;
	color: var(--gold);
	font-weight: 900;
}

.photo-card {
	margin: 0;
	padding: 10px;
	background: linear-gradient(135deg, rgba(190, 151, 93, 0.36), rgba(255, 255, 255, 0.04));
}

.photo-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.fit {
	display: grid;
	grid-template-columns: 1fr 1fr;
	max-width: none;
	padding-left: max(20px, calc((100vw - var(--max)) / 2 + 34px));
	padding-right: max(20px, calc((100vw - var(--max)) / 2 + 34px));
	background:
		linear-gradient(90deg, #07100f 0 50%, #210708 50% 100%);
	border-top: 4px solid var(--gold);
}

.fit > div {
	padding: 22px clamp(10px, 3vw, 40px);
}

.fit__negative li {
	border-color: rgba(255, 82, 82, 0.18);
	background: rgba(126, 22, 25, 0.38);
}

.fit__negative li::before {
	content: "!";
	position: absolute;
	left: 18px;
	color: #ff7777;
	font-weight: 900;
}

.pillars {
	max-width: none;
	padding-left: max(20px, calc((100vw - var(--max)) / 2 + 34px));
	padding-right: max(20px, calc((100vw - var(--max)) / 2 + 34px));
	background:
		radial-gradient(circle at 50% 0%, rgba(190, 151, 93, 0.18), transparent 40%),
		linear-gradient(180deg, #071014 0%, #050505 100%);
}

.pillar-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.pillar-grid article,
.faq details {
	padding: 24px;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(190, 151, 93, 0.18);
}

.doctor figure {
	margin: 0;
}

.doctor img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border: 1px solid var(--line);
}

.doctor .button {
	margin-top: 18px;
}

.location {
	max-width: none;
	padding-left: max(20px, calc((100vw - var(--max)) / 2 + 34px));
	padding-right: max(20px, calc((100vw - var(--max)) / 2 + 34px));
	background: #f5f2eb;
	color: #15120e;
}

.location .eyebrow {
	color: #9b7040;
}

.location p {
	color: #615747;
}

.location img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.faq {
	max-width: 840px;
}

.faq details {
	margin-bottom: 12px;
}

.faq summary {
	cursor: pointer;
	font-weight: 800;
}

.faq summary::marker {
	color: var(--gold);
}

.faq p {
	margin: 14px 0 0;
}

.final-cta {
	padding: 80px 20px;
	background:
		linear-gradient(rgba(5, 5, 5, 0.76), rgba(5, 5, 5, 0.9)),
		url("/wp-content/uploads/2023/07/8327f100-da9d-11ec-a5e5-2dce3eb89f63-scaled.jpg") center / cover fixed;
	text-align: center;
}

.final-cta div {
	max-width: 760px;
	margin: 0 auto;
}

.footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 34px clamp(20px, 5vw, 64px);
	background: #020202;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--muted);
	font-size: 13px;
}

.footer img {
	width: 170px;
}

.whatsapp-float {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 30;
	display: inline-flex;
	align-items: center;
	min-height: 54px;
	padding: 0 18px;
	border-radius: 100px;
	background: #25d366;
	color: #06170b;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
	transition: transform 0.2s ease;
	animation: wa-pulse 2.6s ease-in-out infinite;
}

.whatsapp-float:hover {
	transform: translateY(-2px);
}

.whatsapp-float:active {
	transform: scale(0.96);
}

@keyframes wa-pulse {
	0%, 100% {
		box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.45);
	}
	50% {
		box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 12px rgba(37, 211, 102, 0);
	}
}

@media (max-width: 920px) {
	.nav {
		display: none;
	}

	.hero {
		min-height: auto;
		padding-top: calc(128px + var(--notice-h));
	}

	.hero__bg {
		background:
			linear-gradient(180deg, rgba(5, 5, 5, 0.68) 0%, #050505 82%),
			url("/wp-content/uploads/2025/06/Dr-Guilherme.png") 62% top / cover no-repeat;
	}

	.hero__content {
		padding-top: 300px;
	}

	.hero__metrics,
	.timeline,
	.pillar-grid,
	.split,
	.doctor,
	.location,
	.fit {
		grid-template-columns: 1fr;
	}

	.fit {
		background: linear-gradient(180deg, #07100f 0 50%, #210708 50% 100%);
	}
}

/* Scroll reveal: .reveal-item marks candidates in the HTML, but the hidden
   state only activates once animations.js adds "js-armed" right before it
   starts observing. If the script is slow, blocked, or fails to load
   (common in in-app mobile browsers / slow connections), content simply
   stays visible instead of being stuck at opacity: 0 forever. */
.reveal-item.js-armed {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.stagger > .reveal-item:nth-child(1) { transition-delay: 0ms; }
.stagger > .reveal-item:nth-child(2) { transition-delay: 90ms; }
.stagger > .reveal-item:nth-child(3) { transition-delay: 180ms; }
.stagger > .reveal-item:nth-child(4) { transition-delay: 270ms; }
.stagger > .reveal-item:nth-child(5) { transition-delay: 360ms; }

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

	.hero__content > *,
	.reveal-item,
	.whatsapp-float,
	.ticker__track {
		animation: none !important;
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

@media (max-width: 620px) {
	.notice-bar {
		font-size: 10px;
		letter-spacing: 0.01em;
		padding: 0 10px;
	}

	.topbar {
		padding: 12px 16px;
	}

	.brand img {
		width: 132px;
	}

	.top-cta {
		min-height: 40px;
		padding: 0 12px;
		font-size: 11px;
	}

	.hero__content {
		padding-top: 260px;
	}

	h1 {
		font-size: 40px;
	}

	h2 {
		font-size: 31px;
	}

	.actions,
	.button {
		width: 100%;
	}

	.section {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.footer {
		display: grid;
		text-align: center;
		justify-items: center;
	}
}

/* Lead qualification form (modal) */
.lf-overlay {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(2, 2, 2, 0.78);
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.lf-overlay[hidden] {
	display: none;
}

.lf-overlay.is-open {
	opacity: 1;
}

.lf-dialog {
	position: relative;
	width: 100%;
	max-width: 480px;
	max-height: min(640px, 90vh);
	display: flex;
	flex-direction: column;
	background: var(--panel);
	border: 1px solid var(--line);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
	transform: translateY(16px) scale(0.98);
	opacity: 0;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.lf-overlay.is-open .lf-dialog {
	transform: none;
	opacity: 1;
}

.lf-progress {
	display: flex;
	gap: 6px;
	padding: 22px 24px 0;
}

.lf-progress span {
	flex: 1;
	height: 3px;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 2px;
	overflow: hidden;
}

.lf-progress span::after {
	content: "";
	display: block;
	height: 100%;
	width: 0%;
	background: var(--gold);
	transition: width 0.3s ease;
}

.lf-progress span.is-done::after,
.lf-progress span.is-current::after {
	width: 100%;
}

.lf-close {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: var(--muted);
	line-height: 1;
}

.lf-close:hover {
	color: var(--text);
}

.lf-body {
	padding: 40px clamp(20px, 5vw, 40px) 32px;
	overflow-y: auto;
}

.lf-eyebrow {
	margin: 0 0 10px;
	color: var(--gold-soft);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.lf-question {
	margin: 0 0 24px;
	font-size: clamp(20px, 3vw, 26px);
	line-height: 1.25;
	font-weight: 800;
}

.lf-input {
	width: 100%;
	min-height: 52px;
	padding: 0 16px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--line);
	color: var(--text);
	font-size: 16px;
	font-family: inherit;
}

.lf-input:focus {
	outline: 2px solid var(--gold-soft);
	outline-offset: 2px;
}

.lf-input::placeholder {
	color: var(--muted);
}

.lf-options {
	display: grid;
	gap: 10px;
}

.lf-option {
	display: flex;
	align-items: center;
	min-height: 52px;
	padding: 0 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line);
	color: var(--text);
	font-size: 15px;
	font-weight: 700;
	text-align: left;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.lf-option:hover {
	border-color: var(--gold);
	background: rgba(190, 151, 93, 0.1);
}

.lf-option:active {
	transform: scale(0.98);
}

.lf-option.is-selected {
	border-color: var(--gold);
	background: rgba(190, 151, 93, 0.16);
	color: var(--gold-soft);
}

.lf-error {
	margin: 10px 0 0;
	color: #ff8f8f;
	font-size: 13px;
	min-height: 16px;
}

.lf-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 28px;
}

.lf-back {
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 10px 4px;
}

.lf-back:hover {
	color: var(--text);
}

.lf-next {
	margin-left: auto;
}

.lf-final-icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	border: 1px solid var(--gold);
	color: var(--gold);
	font-size: 22px;
}

.lf-summary {
	margin: 18px 0 0;
	padding: 14px 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 13px;
	line-height: 1.7;
	color: var(--muted);
}

.lf-summary strong {
	color: var(--text);
}

@media (max-width: 480px) {
	.lf-dialog {
		max-height: 92vh;
	}

	.lf-body {
		padding: 36px 20px 28px;
	}
}
