/* ==========================================================
   Dr. Gabriel Tomazini — Theme CSS
   Mobile-first. Palette as CSS custom properties.
   ========================================================== */

:root {
	/* Palette — navy blue (clinical trust) + teal + a much more present coral/amber accent */
	--color-primary: #135299;
	--color-primary-dark: #0c3a70;
	--color-primary-light: #4f8fd6;
	--color-secondary: #0e3a5f;
	--color-navy-deep: #081f38;
	--color-accent: #18a5bb;
	--color-accent-dark: #0f7f91;
	--color-mint: #53bfab;

	/* Loud accent — used generously across badges, numbers, dividers, bars */
	--color-coral: #ff5a36;
	--color-coral-dark: #de3f1e;
	--color-coral-light: #ffe4db;

	--color-bg: #f7fafd;
	--color-bg-tint: #edf3fa;
	--color-bg-warm: #fdfbfa;
	--color-surface: #ffffff;
	--color-text: #172433;
	--color-text-muted: #5b6b7c;
	--color-border: #dfe8f2;

	--shadow-sm: 0 1px 2px rgba(15, 45, 80, 0.06);
	--shadow-md: 0 8px 24px rgba(11, 58, 95, 0.10);
	--shadow-lg: 0 20px 48px rgba(11, 58, 95, 0.16);
	--shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset, 0 20px 50px rgba(19, 82, 153, 0.22);

	--radius-sm: 10px;
	--radius-md: 18px;
	--radius-lg: 28px;

	--font-display: 'Fraunces', Georgia, serif;
	--font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--container-w: 1160px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	background: var(--color-bg);
	color: var(--color-text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 9999;
	width: auto; height: auto; padding: 10px 16px;
	background: var(--color-primary); color: #fff; border-radius: var(--radius-sm);
}

.container {
	width: 100%;
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: 20px;
}

.section { padding-block: clamp(48px, 8vw, 96px); }
.section--tint { background: var(--color-bg-tint); }
.section--narrow .container,
.section--narrow { max-width: 760px; }
.section-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
	color: var(--color-secondary);
	margin: 0 0 1rem;
}
.section-lead { color: var(--color-text-muted); margin-bottom: 1.5rem; }
.page-title {
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
	color: var(--color-secondary);
	margin: 2rem 0 1rem;
}
.page-lead { color: var(--color-text-muted); font-size: 1.1rem; }
.page-content h2 { font-family: var(--font-display); color: var(--color-secondary); margin-top: 2rem; }
.fine-print { font-size: 0.85rem; color: var(--color-text-muted); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	min-height: 48px;
	background: var(--color-accent);
	color: #ffffff;
	font-weight: 700;
	border-radius: 999px;
	box-shadow: var(--shadow-md);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
	border: none;
}
.btn:hover, .btn:focus-visible {
	transform: scale(1.03);
	box-shadow: var(--shadow-lg);
	background: var(--color-accent-dark);
}
.btn--whatsapp .icon { color: #fff; }
.btn--sm { padding: 10px 18px; min-height: 44px; font-size: 0.9rem; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }

.link-arrow {
	display: inline-block;
	margin-top: 1rem;
	color: var(--color-primary);
	font-weight: 600;
	position: relative;
}
.link-arrow::after {
	content: '';
	position: absolute; left: 0; bottom: -3px;
	width: 100%; height: 2px;
	background: var(--color-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}
.link-arrow:hover::after { transform: scaleX(1); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	border-bottom: 1px solid var(--color-border);
}
/* backdrop-filter no pseudo-elemento para não criar containing block
   que aprisiona position:fixed filhos (como o drawer mobile) */
.site-header::before {
	content: '';
	position: absolute; inset: 0;
	background: rgba(247, 250, 253, 0.88);
	backdrop-filter: blur(10px);
	z-index: -1;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 14px;
	gap: 16px;
}
.site-header__brand { display: flex; align-items: center; }
.site-header__logo { display: block; height: 26px; width: auto; }

.nav-toggle {
	display: flex; flex-direction: column; justify-content: center; gap: 5px;
	width: 44px; height: 44px;
	background: transparent; border: none;
	z-index: 110;
}
.nav-toggle__bar { width: 24px; height: 2px; background: var(--color-secondary); transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
	position: fixed; inset: 0 0 0 35%;
	background: var(--color-surface);
	display: flex; flex-direction: column; justify-content: center;
	padding: 32px 28px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	box-shadow: var(--shadow-lg);
	z-index: 105;
}
.primary-nav.is-open { transform: translateX(0); }
.primary-nav__list { display: flex; flex-direction: column; gap: 18px; }
.primary-nav__list a {
	font-weight: 600; font-size: 1.15rem; color: var(--color-secondary);
	position: relative;
}
.primary-nav__list a::after {
	content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
	background: var(--color-accent); transform: scaleX(0); transform-origin: left;
	transition: transform 0.25s ease;
}
.primary-nav__list a:hover::after { transform: scaleX(1); }
.primary-nav__cta { margin-top: 28px; }

@media (min-width: 768px) {
	.nav-toggle { display: none; }
	.primary-nav {
		position: static; transform: none; box-shadow: none; padding: 0; background: transparent;
		flex-direction: row; align-items: center; gap: 28px;
	}
	.primary-nav__list { flex-direction: row; gap: 26px; }
	.primary-nav__list a { font-size: 0.95rem; }
	.primary-nav__cta { margin-top: 0; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(64px, 12vw, 128px) clamp(48px, 8vw, 88px);
	background: linear-gradient(180deg, var(--color-bg-tint) 0%, var(--color-bg) 100%);
}
.hero__decor { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.5;
}
.hero__blob--a {
	width: 420px; height: 420px;
	background: radial-gradient(circle, var(--color-primary-light), transparent 70%);
	top: -140px; right: -120px;
}
.hero__decor-logo {
	position: absolute;
	width: 340px; height: 340px;
	right: -40px; bottom: -60px;
	background-image: url("../images/logo-gabriel-tomazini.webp");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	opacity: 0.16;
}
.hero__blob--b {
	width: 320px; height: 320px;
	background: radial-gradient(circle, var(--color-mint), transparent 70%);
	bottom: -160px; left: -100px;
	opacity: 0.3;
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.hero__inner { max-width: 620px; }
.hero__media { display: flex; justify-content: center; }
@media (max-width: 899px) {
	.hero { padding-block: 24px clamp(48px, 8vw, 88px); }
	.hero__grid { gap: 16px; }
	.hero__title { margin-top: 0; }
	.hero__inner { display: contents; }
	.hero__inner > .eyebrow { width: fit-content; justify-self: start; padding: 8px 20px; margin-bottom: 0; }
	.hero__title { order: 1; }
	.hero__media { order: 2; margin-top: 4px; }
	.hero__lead { order: 3; }
	.hero__cta { order: 4; }
	.hero__bio { order: 5; }
	.hero__meta { order: 6; }
}
.hero__photo-frame {
	position: relative;
	width: 100%;
	max-width: 320px;
	aspect-ratio: 4 / 5;
}
.hero__photo-glow {
	position: absolute; inset: -24px;
	background: radial-gradient(circle, var(--color-primary-light), transparent 70%);
	filter: blur(36px);
	opacity: 0.55;
}
.hero__photo-placeholder {
	position: relative;
	width: 100%; height: 100%;
	border-radius: 20px;
	background: linear-gradient(160deg, var(--color-bg-tint), var(--color-surface));
	border: 2px dashed var(--color-primary-light);
	box-shadow: var(--shadow-glow);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	color: var(--color-primary);
	text-align: center;
	padding: 20px;
}
.hero__photo-placeholder span { font-size: 0.85rem; font-weight: 600; color: var(--color-text-muted); }
.hero__photo-frame--square { aspect-ratio: 1 / 1; max-width: 480px; }
.hero__photo-frame--square .hero__photo-placeholder { border-radius: 16px; gap: 6px; }

.hero__photo-img {
	position: relative;
	width: 100%; height: 100%;
	object-fit: cover;
	border-radius: 20px;
	box-shadow: var(--shadow-glow);
}
.hero__photo-frame--square .hero__photo-img { border-radius: 16px; }

.hero__photo-frame--logo {
	max-width: 280px;
	aspect-ratio: 1 / 1;
}
.hero__logo-img {
	position: relative;
	width: 100%; height: 100%;
	object-fit: contain;
	padding: 24px;
	border-radius: 20px;
	background: linear-gradient(160deg, var(--color-bg-tint), var(--color-surface));
	box-shadow: var(--shadow-glow);
}
.hero__photo-initials {
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 1.6rem + 3vw, 4.2rem);
	font-weight: 600;
	color: var(--color-primary);
}
.hero__bio p { margin: 0 0 10px; color: var(--color-text-muted); font-size: 0.98rem; }
.hero__bio strong { color: var(--color-text); }
@media (min-width: 900px) {
	.hero__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
	.hero__inner { max-width: none; }
	.hero__cta { margin-bottom: 32px; }
}
.hero__eyebrow {
	text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem;
	font-weight: 700; color: var(--color-accent-dark);
	margin: 0 0 12px;
}
.hero__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem);
	color: var(--color-secondary);
	margin: 0 0 18px;
	line-height: 1.12;
}
.hero__title strong { color: var(--color-primary); font-weight: 700; }
.hero__title-sep { font-family: var(--font-body); font-weight: 300; opacity: 0.5; }
.hero__lead { font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem); color: var(--color-text-muted); max-width: 560px; margin-bottom: 10px; }
.hero__meta { font-size: 0.95rem; color: var(--color-text-muted); margin-bottom: 20px; }
.hero__cta { margin-top: 26px; }

/* ---------- Hero entrance (CSS-only, always plays — no IntersectionObserver
   dependency, since this content is above the fold on load) ---------- */
.hero-in {
	animation: heroFadeUp 0.7s ease forwards;
	animation-delay: var(--hero-delay, 0ms);
	opacity: 0;
}
@keyframes heroFadeUp {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
	.hero-in { animation: none; opacity: 1; }
}

/* ---------- Reveal / scroll animations ---------- */
.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Split block (doctor intro) ---------- */
.split-block {
	display: grid;
	gap: 32px;
	align-items: center;
}
.split-block__media { display: flex; justify-content: center; }
.portrait-frame {
	position: relative;
	width: 240px; height: 240px;
}
.portrait-frame__glow {
	position: absolute; inset: -20px;
	background: radial-gradient(circle, var(--color-primary-light), transparent 70%);
	filter: blur(30px);
	opacity: 0.55;
	border-radius: 50%;
}
.portrait-frame__placeholder {
	position: relative;
	width: 100%; height: 100%;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--color-primary), var(--color-secondary));
	box-shadow: var(--shadow-glow);
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-family: var(--font-display); font-size: 3rem; font-weight: 600;
	border: 4px solid var(--color-surface);
}
.split-block__body p { margin: 0 0 12px; color: var(--color-text-muted); }
.split-block__body strong { color: var(--color-text); }

@media (min-width: 768px) {
	.split-block { grid-template-columns: 280px 1fr; }
}

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.info-card, .treat-card, .contact-card {
	position: relative;
	background: var(--color-surface);
	border-radius: var(--radius-md);
	padding: 24px 22px 22px;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--color-border);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	overflow: hidden;
}
.info-card:hover, .treat-card:hover, .contact-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}
.info-card__bar, .post-card__bar {
	position: absolute; top: 0; left: 0; right: 0; height: 5px;
	background: linear-gradient(90deg, var(--color-coral), var(--color-primary));
}
.info-card h3, .treat-card h3 { font-family: var(--font-display); color: var(--color-secondary); margin: 4px 0 8px; font-size: 1.05rem; }
.info-card p, .treat-card p { margin: 0; color: var(--color-text-muted); }

.contact-card h2 { margin-top: 4px; }
.contact-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

.map-embed { margin-top: 24px; border-radius: var(--radius-md); overflow: hidden; }
.map-embed iframe { display: block; }

/* ---------- Check list / steps ---------- */
.check-list { display: grid; gap: 12px; margin-bottom: 1rem; }
.check-list li {
	position: relative;
	padding-left: 32px;
	color: var(--color-text);
}
.check-list li::before {
	content: '';
	position: absolute; left: 0; top: 3px;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: var(--color-primary);
	box-shadow: 0 0 0 4px var(--color-bg-tint);
}
.check-list li::after {
	content: '';
	position: absolute; left: 6px; top: 7px;
	width: 5px; height: 10px;
	border-right: 2px solid #fff; border-bottom: 2px solid #fff;
	transform: rotate(45deg);
}

.steps { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
	background: var(--color-surface);
	border-radius: var(--radius-md);
	padding: 26px 22px;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--color-border);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 50%;
	background: linear-gradient(145deg, var(--color-primary), var(--color-primary-dark));
	color: #fff; font-weight: 700; margin-bottom: 12px;
}
.step h3 { font-family: var(--font-display); color: var(--color-secondary); margin: 0 0 6px; }
.step p { margin: 0; color: var(--color-text-muted); }

/* ---------- Post / blog cards ---------- */
.post-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 1rem; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
	position: relative;
	background: var(--color-surface);
	border-radius: var(--radius-md);
	padding: 24px 22px 20px;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--color-border);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__title { font-family: var(--font-display); font-size: 1.05rem; margin: 6px 0 8px; color: var(--color-secondary); }
.post-card__title a:hover { color: var(--color-primary); }
.post-card__excerpt { color: var(--color-text-muted); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
	background: var(--color-surface);
	border-radius: var(--radius-sm);
	border: 1px solid var(--color-border);
	padding: 16px 20px;
	box-shadow: var(--shadow-sm);
}
.faq-item summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--color-secondary);
	list-style: none;
	position: relative;
	padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: '+';
	position: absolute; right: 0; top: -2px;
	font-size: 1.3rem; color: var(--color-accent);
	transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 10px 0 0; color: var(--color-text-muted); }

/* ---------- CTA band ---------- */
.cta-band {
	background: linear-gradient(135deg, var(--color-primary), var(--color-navy-deep));
	color: #fff;
	position: relative;
	overflow: hidden;
	padding-block: clamp(40px, 6vw, 64px);
}
.cta-band::before {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(circle at 85% 20%, rgba(255,90,54,0.45), transparent 55%);
}
.cta-band__inner {
	position: relative;
	display: flex; flex-direction: column; gap: 20px;
	align-items: flex-start;
}
.cta-band__title { font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); margin: 0 0 8px; }
.cta-band__lead { color: rgba(255,255,255,0.85); margin: 0; }
@media (min-width: 768px) {
	.cta-band__inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
	position: fixed;
	right: 18px; bottom: 18px;
	width: 58px; height: 58px;
	border-radius: 50%;
	background: #25D366;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-lg);
	z-index: 200;
	transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon { color: #fff; width: 28px; height: 28px; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--color-secondary);
	color: rgba(255,255,255,0.85);
	padding-top: 48px;
}
.site-footer__inner {
	display: grid; gap: 32px; grid-template-columns: 1fr;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 768px) { .site-footer__inner { grid-template-columns: repeat(3, 1fr); } }
.site-footer__name { font-family: var(--font-display); color: #fff; font-weight: 600; font-size: 1.1rem; margin: 0 0 8px; }
.site-footer__heading { font-weight: 700; color: #fff; margin: 0 0 10px; }
.site-footer__links { display: grid; gap: 8px; }
.site-footer__links a:hover { color: var(--color-accent); }
.site-footer__legal {
	padding-block: 20px 28px;
	font-size: 0.85rem;
	display: grid; gap: 8px;
}
.site-footer__legal a:hover { color: var(--color-accent); }
.site-footer__disclaimer { opacity: 0.7; }
.site-footer__amedi a { color: var(--color-accent); font-weight: 600; }

/* ---------- Section background variants ---------- */
.section--warm { background: var(--color-bg-warm); }
.section--deep {
	background: linear-gradient(160deg, var(--color-navy-deep), var(--color-secondary));
	color: rgba(255,255,255,0.9);
}
.section--deep .section-title { color: #fff; }
.section--deep .section-lead { color: rgba(255,255,255,0.72); }

/* ---------- Eyebrow / Badge pill ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem;
	font-weight: 700; color: var(--color-primary);
	background: rgba(19,82,153,0.12);
	padding: 6px 16px;
	border-radius: 999px;
	margin: 0 0 16px;
}
.section--deep .eyebrow { background: rgba(255,90,54,0.18); color: #ffb199; }
.eyebrow--blue { background: rgba(19,82,153,0.12); color: var(--color-primary); }
.eyebrow__icon { flex-shrink: 0; }

/* ---------- Divider ---------- */
.divider-accent {
	width: 56px; height: 3px;
	background: linear-gradient(90deg, var(--color-coral), var(--color-primary-light));
	border-radius: 3px;
	margin: 10px 0 22px;
}

/* ---------- Stat strip ---------- */
.stat-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 26px 20px;
	text-align: center;
	box-shadow: var(--shadow-sm);
}
.stat-card__num {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem);
	color: var(--color-coral);
	line-height: 1;
	margin-bottom: 8px;
}
.stat-card__label { color: var(--color-text-muted); font-size: 0.92rem; font-weight: 600; }

/* ---------- Treatment cards (3 fronts of clinical care) ---------- */
.treat-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .treat-grid { grid-template-columns: repeat(3, 1fr); } }
.treat-card {
	display: flex; flex-direction: column; gap: 10px;
}
.treat-card__num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 10px;
	background: linear-gradient(135deg, var(--color-coral), var(--color-coral-dark));
	color: #fff; font-weight: 700; font-size: 0.9rem;
	margin-bottom: 4px;
}
.treat-card h3 { font-size: 1.1rem; }
.treat-card__tag {
	display: inline-block;
	font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
	color: var(--color-accent-dark);
	background: rgba(24,165,187,0.12);
	padding: 3px 10px;
	border-radius: 999px;
	width: fit-content;
}

/* ---------- Timeline (formação e experiência) ---------- */
.timeline { display: grid; gap: 4px; }
.timeline-item {
	position: relative;
	padding: 0 0 26px 32px;
	border-left: 2px solid var(--color-border);
}
.timeline-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline-item::before {
	content: '';
	position: absolute; left: -7px; top: 2px;
	width: 12px; height: 12px; border-radius: 50%;
	background: var(--color-coral);
	box-shadow: 0 0 0 4px var(--color-coral-light);
}
.timeline-item__period {
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--color-secondary);
	font-size: 1.15rem;
	letter-spacing: 0.01em;
}
.timeline-item__desc { color: var(--color-text-muted); margin: 4px 0 0; }

.section--deep .timeline-item { border-left-color: rgba(255,255,255,0.18); }
.section--deep .timeline-item__period { color: #ffb199; }
.section--deep .timeline-item__desc { color: rgba(255,255,255,0.72); }
.timeline-note {
	margin-top: 22px;
	padding: 18px 20px;
	background: var(--color-bg-tint);
	border-radius: var(--radius-md);
	color: var(--color-text-muted);
}

/* ---------- Clinic location cards ---------- */
.clinic-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-bottom: 24px; }
@media (min-width: 700px) { .clinic-grid { grid-template-columns: repeat(2, 1fr); } }
.clinic-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 22px;
	box-shadow: var(--shadow-sm);
}
.clinic-card h3 { font-family: var(--font-display); color: var(--color-secondary); margin: 0 0 6px; font-size: 1.05rem; }
.clinic-card p { margin: 0 0 12px; color: var(--color-text-muted); }
.clinic-card a.link-arrow { margin-top: 0; }

/* ---------- Misc ---------- */
.error-404 { text-align: left; }

/* JoinChat plugin's floating button duplicates the theme's own WhatsApp
   CTA (template-parts/whatsapp-button.php) — hidden on this theme's pages. */
.joinchat__button {
	display: none;
}
