/* ==========================================================================
   Dra. Amanda Thomé — pediatria acolhedora e profissional.
   Azul-petróleo da marca, creme quente, toques de sol e rosa.
   ========================================================================== */

@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-italic.woff2") format("woff2");
	font-weight: 300 700;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree.woff2") format("woff2");
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #17323b;
	--ink-2: #3b5560;
	--muted: #5c727c;
	--teal: #2b7a8e;
	--teal-dark: #1f6273;
	--teal-deep: #143f4b;
	--night: #0f2c35;
	--sky: #e6f3f6;
	--sky-2: #cde6ec;
	--cream: #fcf8f1;
	--sand: #f5ede0;
	--white: #fff;
	--sun: #ffd23f;
	--sun-soft: #fff1c2;
	--sun-ink: #8a5d00;
	--rose: #ef6f93;
	--rose-soft: #fde6ec;
	--rose-ink: #b8365c;
	--star: #f5b301;
	--line: rgba(23, 50, 59, .11);
	--line-2: rgba(23, 50, 59, .18);

	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1220px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(72px, 9vw, 128px);
	--radius: 28px;
	--radius-sm: 18px;
	--shadow-sm: 0 1px 2px rgba(15, 44, 53, .05), 0 6px 18px -8px rgba(15, 44, 53, .12);
	--shadow: 0 2px 4px rgba(15, 44, 53, .04), 0 24px 48px -20px rgba(15, 44, 53, .22);
	--ease: cubic-bezier(.2, .7, .1, 1);
	--header-h: 84px;
}

/* Base ------------------------------------------------------------------ */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

::selection { background: var(--sun); color: var(--ink); }

:focus-visible {
	outline: 3px solid var(--sun);
	outline-offset: 3px;
	border-radius: 6px;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.wrap-narrow { max-width: 820px; }

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--ink);
	color: var(--white);
	border-radius: 999px;
	transition: top .2s;
}
.skip-link:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: none; }

/* Type ------------------------------------------------------------------ */

.title,
.hero-title,
.page-title {
	font-family: var(--serif);
	font-weight: 500;
	letter-spacing: -.015em;
	color: var(--ink);
	text-wrap: balance;
}
.title { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.1; margin: .35em 0 .45em; }
.title-sm { font-size: clamp(26px, 3vw, 36px); margin: 0 0 1em; }

.title em,
.hero-title em,
.page-title em {
	font-style: italic;
	font-weight: 450;
	color: var(--teal);
	background: linear-gradient(transparent 64%, var(--sun-soft) 64%, var(--sun-soft) 92%, transparent 92%);
	padding: 0 .06em;
	margin: 0 -.06em;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--teal);
}
.eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sun);
	box-shadow: 0 0 0 4px var(--sun-soft);
	flex: none;
}
.eyebrow.is-light { color: var(--sun); }
.eyebrow.is-light::before { box-shadow: 0 0 0 4px rgba(255, 210, 63, .2); }

.lead { font-size: 19px; line-height: 1.6; color: var(--ink); }
.section-text { font-size: 18px; color: var(--ink-2); max-width: 40em; }

.section { padding: var(--section) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.is-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.is-center .section-text { margin-left: auto; margin-right: auto; }

/* Buttons --------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-family: var(--sans);
	font-size: 15.5px;
	font-weight: 650;
	line-height: 1.1;
	letter-spacing: .005em;
	cursor: pointer;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), translate .45s var(--ease);
	white-space: nowrap;
}
.btn .icon { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 10px 24px -12px rgba(43, 122, 142, .8); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--white); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffdd66; }
.btn-light { background: var(--white); color: var(--teal-deep); }
.btn-light:hover { background: var(--sun); }

.link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 15px;
	color: var(--teal);
}
.link .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }

/* Top bar --------------------------------------------------------------- */

.topbar {
	background: var(--teal-deep);
	color: rgba(255, 255, 255, .82);
	font-size: 13.5px;
}
.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 40px;
}
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar-item .icon { width: 16px; height: 16px; color: var(--sun); }
.topbar-item:hover,
.topbar-social:hover { color: var(--white); }
.topbar-social .icon { width: 17px; height: 17px; }

/* Header ---------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(252, 248, 241, .86);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled {
	background: rgba(255, 255, 255, .92);
	border-bottom-color: var(--line);
	box-shadow: 0 10px 30px -24px rgba(15, 44, 53, .5);
}
.admin-bar .site-header { top: 32px; }

.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	flex: none;
}
.brand-mark { width: 44px; height: 44px; color: var(--teal); flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-word { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.brand-sub { margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.brand-custom img { max-height: 56px; width: auto; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a {
	display: block;
	padding: 10px 14px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 550;
	color: var(--ink-2);
	transition: background-color .2s, color .2s;
}
.nav-list > li > a:hover,
.nav-list > li > a.is-active { color: var(--teal); background: var(--sky); }
.has-sub > a { padding-right: 4px !important; }
.sub-toggle {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-right: 4px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
}
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.has-sub.is-open .sub-toggle .icon,
.has-sub:hover .sub-toggle .icon { transform: rotate(180deg); }

.sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: -12px;
	width: 400px;
	padding: 10px;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 22px;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu,
.has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px;
	border-radius: 16px;
	transition: background-color .2s;
}
.sub-menu a:hover,
.sub-menu a[aria-current] { background: var(--cream); }
.sub-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	flex: none;
}
.sub-icon .icon { width: 24px; height: 24px; }
.sub-text { display: flex; flex-direction: column; line-height: 1.3; }
.sub-text strong { font-size: 15px; font-weight: 650; color: var(--ink); }
.sub-text small { margin-top: 3px; font-size: 13px; color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle {
	display: none;
	position: relative;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1.5px solid var(--line-2);
	border-radius: 50%;
	background: var(--white);
	cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
	position: absolute;
	left: 50%;
	width: 18px;
	height: 2px;
	margin-left: -9px;
	background: var(--ink);
	border-radius: 2px;
	transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bars::before { transform: translateY(-6px); }
.nav-toggle-bars::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: rotate(-45deg); }

.menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	padding: calc(var(--header-h) + 16px) 0 40px;
	background: var(--cream);
	overflow-y: auto;
}
.menu-overlay[hidden] { display: none; }
.menu-list { list-style: none; margin-bottom: 28px; }
.menu-list > li { border-bottom: 1px solid var(--line); }
.menu-list a {
	display: block;
	padding: 14px 0;
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 500;
}
.menu-group ul { list-style: none; padding: 0 0 12px 16px; }
.menu-group ul a { font-family: var(--sans); font-size: 18px; font-weight: 550; padding: 9px 0; color: var(--ink-2); }
.menu-label {
	display: block;
	padding: 18px 0 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--teal);
}
.menu-address { display: flex; gap: 10px; margin-top: 24px; font-size: 15px; color: var(--muted); }
.menu-address .icon { color: var(--teal); margin-top: 3px; }
body.menu-open { overflow: hidden; }

/* Hero ------------------------------------------------------------------ */

.hero {
	position: relative;
	padding: clamp(32px, 5vw, 72px) 0 0;
	background:
		radial-gradient(1200px 520px at 85% 10%, var(--sky) 0, transparent 60%),
		var(--cream);
	overflow: hidden;
}
.hero-grid {
	display: grid;
	grid-template-columns: 1.08fr .92fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.hero-title {
	margin: 22px 0 22px;
	font-size: clamp(42px, 5.8vw, 76px);
	line-height: 1.03;
}
.hero-text { font-size: clamp(17.5px, 1.5vw, 19.5px); color: var(--ink-2); max-width: 33em; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-rating {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 30px 0 0;
	font-size: 15px;
	color: var(--ink-2);
}
a.hero-rating:hover strong { color: var(--teal); }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .icon { width: 18px; height: 18px; }

.hero-media {
	position: relative;
	max-width: 540px;
	width: 100%;
	justify-self: end;
}
.hero-arch {
	position: absolute;
	inset: 9% 3% 0 3%;
	background: linear-gradient(180deg, var(--sky-2) 0%, var(--sky) 100%);
	border-radius: 999px 999px 36px 36px;
}
.hero-photo { position: relative; width: 100%; margin: 0 auto; }
.hero-dot { position: absolute; border-radius: 50%; }
.hero-dot-1 { width: 22px; height: 22px; background: var(--sun); top: 6%; left: 2%; }
.hero-dot-2 { width: 14px; height: 14px; background: var(--rose); top: 30%; right: -2%; }
.hero-dot-3 { width: 10px; height: 10px; background: var(--teal); bottom: 30%; left: -3%; opacity: .5; }

.hero-badge {
	position: absolute;
	z-index: 2;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	background: var(--white);
	border-radius: 20px;
	box-shadow: var(--shadow);
	font-size: 13.5px;
	line-height: 1.3;
	color: var(--ink-2);
}
.hero-badge strong { color: var(--ink); }
.hero-badge-top { top: 20%; right: -4%; }
.hero-badge-top strong { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--teal); line-height: 1; }
.hero-badge-bottom { bottom: 12%; left: -6%; }
.hero-badge-bottom .icon {
	width: 42px;
	height: 42px;
	padding: 9px;
	border-radius: 50%;
	background: var(--rose-soft);
	color: var(--rose-ink);
}
.hero-badge-bottom span { display: flex; flex-direction: column; font-weight: 600; color: var(--ink); }
.hero-badge-bottom strong { font-weight: 500; color: var(--muted); }

.hero-stats {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin: -28px 0 0;
	padding: 22px;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.hero-stats li { display: flex; align-items: center; gap: 14px; padding: 6px 10px; }
.hero-stats li + li { border-left: 1px solid var(--line); }
.stat-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--sky);
	color: var(--teal);
	flex: none;
}
.stat-icon .icon { width: 22px; height: 22px; }
.stat-text { display: flex; flex-direction: column; line-height: 1.25; }
.stat-text strong { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); }
.stat-text span { font-size: 13.5px; color: var(--muted); }

/* Atendimentos ---------------------------------------------------------- */

.services { background: var(--cream); }
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.services-grid.is-compact { grid-template-columns: repeat(2, 1fr); max-width: 960px; }

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 36px 32px 32px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover .link .icon { transform: translateX(4px); }
.service-icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 20px;
}
.service-icon .icon { width: 30px; height: 30px; }
.service-card h3 { margin: 26px 0 8px; font-family: var(--serif); font-size: 26px; font-weight: 550; line-height: 1.15; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-lead { font-weight: 650; color: var(--ink); margin-bottom: .6em; }
.service-card p { font-size: 15.5px; color: var(--ink-2); }
.service-card .link { margin-top: auto; padding-top: 8px; }

.tone-sky .service-icon, .sub-icon.tone-sky, .page-hero-icon.tone-sky { background: var(--sky); color: var(--teal); }
.tone-sun .service-icon, .sub-icon.tone-sun, .page-hero-icon.tone-sun { background: var(--sun-soft); color: var(--sun-ink); }
.tone-rose .service-icon, .sub-icon.tone-rose, .page-hero-icon.tone-rose { background: var(--rose-soft); color: var(--rose-ink); }

/* Sobre ----------------------------------------------------------------- */

.about { background: var(--white); }
.about-grid {
	display: grid;
	grid-template-columns: .92fr 1.08fr;
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}
.about-media { position: relative; }
.about-plate {
	position: absolute;
	inset: 28px -18px -18px 28px;
	border-radius: 36px;
	background: var(--sun-soft);
}
.about-frame {
	position: relative;
	border-radius: 32px;
	overflow: hidden;
	aspect-ratio: 5 / 6;
	background: var(--sky);
}
.about-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-chip {
	position: absolute;
	left: 20px;
	bottom: 20px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 16px;
	background: var(--white);
	border-radius: 999px;
	box-shadow: var(--shadow-sm);
	font-size: 14px;
	font-weight: 600;
}
.about-chip .icon { width: 18px; height: 18px; color: var(--rose-ink); }
.about-copy p { color: var(--ink-2); }
.about-copy .lead { color: var(--ink); }
.about-quote {
	position: relative;
	margin: 30px 0 26px;
	padding: 28px 30px 28px 30px;
	background: var(--sky);
	border-radius: 24px;
}
.about-quote .icon { width: 30px; height: 30px; color: var(--teal); opacity: .35; margin-bottom: 10px; }
.about-quote p {
	margin: 0;
	font-family: var(--serif);
	font-style: italic;
	font-size: 20px;
	line-height: 1.5;
	color: var(--ink);
}
.about-sign { display: flex; flex-direction: column; margin: 0; }
.about-sign strong { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); }
.about-sign span { font-size: 14px; color: var(--muted); }

.timeline-wrap { margin-top: clamp(64px, 8vw, 104px); }
.timeline-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.timeline-title { font-family: var(--serif); font-size: 30px; font-weight: 550; }
.timeline-hint { display: none; margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); align-items: center; gap: 8px; }
.timeline-hint .icon { width: 18px; height: 18px; color: var(--teal); }
.timeline-viewport { position: relative; }
.timeline-rail { display: none; }
.timeline-bg { display: none; }
.timeline-num {
	position: absolute;
	top: 22px;
	right: 0;
	font-family: var(--serif);
	font-size: 44px;
	font-weight: 600;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px var(--sky-2);
}
.timeline {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
	gap: 36px 28px;
	list-style: none;
}
.timeline-item { position: relative; padding-top: 30px; }
.timeline-item::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: -28px;
	border-top: 2px dashed var(--sky-2);
}
.timeline-item::after {
	content: "";
	position: absolute;
	top: -8px;
	left: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--teal);
	box-shadow: 0 0 0 5px var(--white), 0 0 0 7px var(--sky-2);
}
.timeline-label {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--sun-soft);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--sun-ink);
}
.timeline-item h4 { margin: 12px 0 6px; font-family: var(--serif); font-size: 20px; font-weight: 550; line-height: 1.2; }
.timeline-item p { margin: 0; font-size: 15px; color: var(--muted); }

/* Curiosidades ---------------------------------------------------------- */

.facts { background: var(--sky); overflow: hidden; }
.facts-grid {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
}
.facts-media { position: relative; max-width: 440px; width: 100%; margin: 0 auto; }
.facts-blob {
	position: absolute;
	inset: 10% 0 0 0;
	border-radius: 48% 52% 40% 60% / 55% 45% 55% 45%;
	background: var(--white);
	opacity: .7;
}
.facts-media img {
	position: relative;
	width: 100%;
	-webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}
.bubble { position: absolute; border-radius: 50%; pointer-events: none; }
.bubble-1 { width: 54px; height: 54px; top: 4%; right: 6%; background: var(--sun); opacity: .9; }
.bubble-2 { width: 26px; height: 26px; top: 40%; left: -4%; background: var(--rose); opacity: .8; }
.bubble-3 { width: 16px; height: 16px; bottom: 18%; right: -2%; background: var(--teal); opacity: .6; }
.bubble-4 { width: 90px; height: 90px; bottom: 6%; left: 4%; border: 2px solid var(--white); opacity: .9; }
.facts-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 28px;
	list-style: none;
}
.fact {
	padding: 24px;
	background: var(--white);
	border-radius: 22px;
}
.fact-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 16px;
	background: var(--sky);
	color: var(--teal);
}
.fact:nth-child(2) .fact-icon { background: var(--rose-soft); color: var(--rose-ink); }
.fact:nth-child(3) .fact-icon { background: var(--sun-soft); color: var(--sun-ink); }
.fact-icon .icon { width: 24px; height: 24px; }
.fact h3 { margin: 16px 0 6px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.fact p { margin: 0; font-size: 15px; color: var(--muted); }
.facts-extra { margin: 24px 0 0; font-size: 16px; color: var(--ink-2); }

/* Depoimentos ----------------------------------------------------------- */

.testimonials { background: var(--cream); overflow: hidden; }
.testimonials-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px 40px;
	margin-bottom: 36px;
}
.testimonials-head .title { margin-bottom: 0; }
.reviews-summary {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 18px 16px 20px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 24px;
	box-shadow: var(--shadow-sm);
}
.g-logo { width: 100%; height: 100%; display: block; }
.reviews-g { width: 38px; height: 38px; flex: none; }
.reviews-score p { margin: 0; }
.reviews-score p:first-child { display: flex; align-items: center; gap: 10px; }
.reviews-score strong { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1; color: var(--ink); }
.reviews-total { font-size: 13.5px; color: var(--muted); }

.reviews-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 48px) / 3);
	gap: 24px;
	padding: 6px 4px 28px;
	margin: 0 -4px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding: 0 4px;
	scrollbar-width: none;
	cursor: grab;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.reviews-track:focus-visible { outline-offset: 6px; }

.review-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 30px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	scroll-snap-align: start;
	transition: box-shadow .35s var(--ease), border-color .35s, opacity .8s var(--ease), transform .8s var(--ease);
}
.review-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.review-author { display: flex; align-items: center; gap: 12px; line-height: 1.3; }
.review-avatar {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--sky);
	color: var(--teal);
	font-family: var(--serif);
	font-size: 20px;
	font-weight: 600;
	object-fit: cover;
	flex: none;
}
.review-who { display: flex; flex-direction: column; min-width: 0; }
.review-who strong { font-size: 15.5px; color: var(--ink); }
.review-who a:hover strong { color: var(--teal); }
.review-who small { font-size: 13px; color: var(--muted); }
.review-source { width: 22px; height: 22px; margin-left: auto; flex: none; }
.review-card .stars .icon { width: 17px; height: 17px; }
.review-card blockquote { margin: 0; }
.review-card blockquote p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 8;
	overflow: hidden;
	margin: 0;
	font-family: var(--serif);
	font-size: 19px;
	line-height: 1.5;
	color: var(--ink);
}

.reviews-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.reviews-attrib { margin: 0; font-size: 13px; color: var(--muted); }
.carousel-btns { display: flex; gap: 10px; }
.carousel-btns[hidden] { display: none; }
.carousel-btn {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 1.5px solid var(--line-2);
	border-radius: 50%;
	background: var(--white);
	color: var(--ink);
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
}
.carousel-btn:hover:not(:disabled) { background: var(--teal); border-color: var(--teal); color: var(--white); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.icon-flip { transform: scaleX(-1); }

/* Clínica --------------------------------------------------------------- */

.clinic { background: var(--white); }
.clinic-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}
.clinic-media { position: relative; padding: 0 56px 56px 0; }
.clinic-photo { border-radius: 32px; overflow: hidden; aspect-ratio: 1; }
.clinic-photo img { width: 100%; height: 100%; object-fit: cover; }
.clinic-logo {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 44%;
	aspect-ratio: 1;
	border-radius: 26px;
	overflow: hidden;
	border: 6px solid var(--white);
	box-shadow: var(--shadow);
}
.clinic-logo img { width: 100%; height: 100%; object-fit: cover; }
.clinic-copy > p { color: var(--ink-2); }
.clinic-copy .lead { color: var(--ink); }
.clinic-points { list-style: none; margin: 26px 0 0; }
.clinic-points li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	border-top: 1px solid var(--line);
	font-size: 16px;
	color: var(--ink-2);
}
.clinic-points li:last-child { border-bottom: 1px solid var(--line); }
.clinic-points strong { color: var(--ink); }
.clinic-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--rose-soft);
	color: var(--rose-ink);
	flex: none;
}
.clinic-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Dúvidas --------------------------------------------------------------- */

.faq { background: var(--cream); }
.faq-grid {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: clamp(40px, 6vw, 80px);
	align-items: start;
}
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head .btn { margin-top: 10px; }
.faq-item {
	margin-bottom: 12px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 20px;
	transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow-sm); }
.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 22px 24px 22px 26px;
	font-size: 17px;
	font-weight: 650;
	line-height: 1.35;
	cursor: pointer;
	list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
	width: 32px;
	height: 32px;
	padding: 7px;
	border-radius: 50%;
	background: var(--sky);
	color: var(--teal);
	transition: transform .3s var(--ease), background-color .3s;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--sun); color: var(--ink); }
.faq-answer { padding: 0 26px 24px; }
.faq-answer p { margin: 0; color: var(--ink-2); }

/* Contato --------------------------------------------------------------- */

.contact { background: var(--cream); padding-top: 0; }
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.08fr;
	gap: 24px;
	align-items: stretch;
}
.contact-card {
	padding: clamp(32px, 4vw, 52px);
	background: var(--teal-deep);
	background-image: radial-gradient(600px 300px at 100% 0, rgba(81, 151, 171, .35), transparent 70%);
	border-radius: 32px;
	color: rgba(255, 255, 255, .8);
}
.contact-card .title { color: var(--white); }
.contact-card .title em { color: var(--sun); background: linear-gradient(transparent 64%, rgba(255, 210, 63, .18) 64%, rgba(255, 210, 63, .18) 92%, transparent 92%); }
.contact-card > p { font-size: 17px; max-width: 30em; }
.contact-card .btn { margin-top: 8px; }
.contact-list { list-style: none; margin: 34px 0 0; }
.contact-list li {
	display: flex;
	gap: 14px;
	padding: 15px 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 16px;
	color: var(--white);
}
.contact-list .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--sun); }
.contact-list small {
	display: block;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .55);
}
.contact-list a:hover { color: var(--sun); }
.contact-alert {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 22px 0 0;
	padding: 12px 16px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .07);
	font-size: 14px;
}
.contact-alert .icon { color: var(--sun); }

.contact-form-wrap {
	padding: clamp(28px, 4vw, 48px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 32px;
}
.contact-form-wrap h3 { font-family: var(--serif); font-size: 30px; font-weight: 550; }
.form-intro { margin: 6px 0 26px; color: var(--muted); }
.field { margin: 0 0 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 650; color: var(--ink); }
.field input,
.field textarea {
	width: 100%;
	padding: 14px 16px;
	background: var(--cream);
	border: 1.5px solid var(--line);
	border-radius: 14px;
	font: inherit;
	font-size: 16px;
	color: var(--ink);
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field textarea:focus {
	outline: none;
	background: var(--white);
	border-color: var(--teal);
	box-shadow: 0 0 0 4px rgba(43, 122, 142, .15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-check { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 22px; font-size: 14px; color: var(--ink-2); }
.field-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); flex: none; }
.field-check a { color: var(--teal); text-decoration: underline; }
.form-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.hp { position: absolute !important; left: -9999px !important; }
.form-notice { margin: 0 0 18px; padding: 14px 18px; border-radius: 14px; font-size: 15px; font-weight: 600; }
.form-notice.is-ok { background: #e3f5ea; color: #1b6a3b; }
.form-notice.is-error { background: #fdebef; color: #a12746; }
.contact-form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }

.contact-map {
	margin-top: 24px;
	height: 380px;
	border-radius: 32px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--sky);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* Inner pages ----------------------------------------------------------- */

.page-hero {
	padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
	background: linear-gradient(180deg, var(--sky) 0%, var(--cream) 100%);
}
.page-hero.is-simple { padding-bottom: 24px; }
.page-hero-grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 14px; color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }
.page-hero-icon {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin-bottom: 18px;
	border-radius: 20px;
}
.page-hero-icon .icon { width: 30px; height: 30px; }
.page-title { font-size: clamp(38px, 5vw, 62px); line-height: 1.06; margin-bottom: 18px; }
.page-lead { font-size: clamp(17.5px, 1.5vw, 20px); color: var(--ink-2); max-width: 34em; margin: 0; }
.page-hero .hero-actions { margin-top: 28px; }
.page-doctor {
	display: flex;
	flex-direction: column;
	margin: 30px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--line-2);
	max-width: 30em;
}
.page-doctor strong { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.page-doctor span { font-size: 14px; color: var(--muted); }
.page-hero-media {
	position: relative;
	border-radius: 32px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	max-height: 580px;
	width: 100%;
	justify-self: end;
	background: var(--white);
	box-shadow: var(--shadow);
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

.page-body { background: var(--cream); padding-top: clamp(40px, 5vw, 72px); }
.page-body-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.page-aside { position: sticky; top: calc(var(--header-h) + 28px); }
.aside-card {
	padding: 30px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}
.aside-title { margin: 0 0 6px; font-family: var(--serif); font-size: 25px; font-weight: 550; line-height: 1.2; color: var(--ink); }
.aside-card > p:not(.aside-title) { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.aside-list { list-style: none; margin-top: 22px; }
.aside-list li {
	display: flex;
	gap: 12px;
	padding: 12px 0;
	border-top: 1px solid var(--line);
	font-size: 14.5px;
	color: var(--ink-2);
}
.aside-list .icon { width: 19px; height: 19px; margin-top: 2px; color: var(--teal); }
.aside-list a:hover { color: var(--teal); }
.aside-rating {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
	padding: 16px 20px;
	border-radius: 20px;
	background: var(--sun-soft);
}
.aside-rating p { margin: 0; font-size: 14px; color: var(--ink-2); }

.other-services { background: var(--white); }
.page-plain { background: var(--cream); padding-top: 32px; }

.cta-band { padding: clamp(56px, 7vw, 96px) 0; background: var(--white); }
.other-services + .cta-band { padding-top: 0; }
.cta-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px;
	align-items: center;
	padding: clamp(32px, 5vw, 60px);
	border-radius: 32px;
	background: var(--teal-deep);
	background-image: radial-gradient(500px 260px at 0 100%, rgba(81, 151, 171, .4), transparent 70%);
	color: rgba(255, 255, 255, .78);
}
.cta-inner .title { color: var(--white); font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 12px; }
.cta-inner .title em { color: var(--sun); background: none; }
.cta-inner p { margin: 0; font-size: 17px; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { padding: 26px; }
.post-card-body h2 { font-family: var(--serif); font-size: 23px; font-weight: 550; line-height: 1.2; margin-bottom: 10px; }
.post-card-body h2 a:hover { color: var(--teal); }
.post-card-body p { font-size: 15px; color: var(--muted); margin: 0; }
.post-card-date { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.post-cover { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.nav-links { display: flex; gap: 8px; margin-top: 40px; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.page-numbers.current { background: var(--teal); color: var(--white); border-color: var(--teal); }

.page-404 { padding-bottom: var(--section); }
.page-404 .page-title { margin-top: 16px; }
.links-404 { list-style: none; margin-top: 40px; border-top: 1px solid var(--line); }
.links-404 a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 22px; }
.links-404 a:hover { color: var(--teal); }

/* Prose (page content from the block editor) ---------------------------- */

.prose { font-size: 17.5px; line-height: 1.75; color: var(--ink-2); }
.prose > *:first-child { margin-top: 0; }
.prose h2 {
	margin: 1.9em 0 .7em;
	font-family: var(--serif);
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 550;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--ink);
}
.prose h3 { margin: 1.6em 0 .5em; font-size: 21px; font-weight: 700; color: var(--ink); }
.prose p { margin: 0 0 1.15em; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius-sm); }
.prose figure { margin: 2em 0; }

.prose .is-style-lead { font-size: 20.5px; line-height: 1.6; color: var(--ink); }

.prose .is-style-checks {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	padding: 0;
	list-style: none;
}
.prose .is-style-checks li {
	position: relative;
	margin: 0;
	padding: 16px 18px 16px 54px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 16px;
	font-size: 16px;
	line-height: 1.45;
	color: var(--ink);
}
.prose .is-style-checks li::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 15px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.prose .is-style-timeline { position: relative; padding: 0; list-style: none; }
.prose .is-style-timeline li {
	position: relative;
	margin: 0;
	padding: 0 0 22px 44px;
	color: var(--muted);
	font-size: 16px;
}
.prose .is-style-timeline li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 5px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--white);
	border: 5px solid var(--teal);
	z-index: 1;
}
.prose .is-style-timeline li::after {
	content: "";
	position: absolute;
	left: 9px;
	top: 22px;
	bottom: 0;
	width: 2px;
	background: var(--sky-2);
}
.prose .is-style-timeline li:last-child { padding-bottom: 0; }
.prose .is-style-timeline li:last-child::after { display: none; }
.prose .is-style-timeline strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--ink); }

.prose .is-style-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	padding: 0;
	list-style: none;
	counter-reset: dat-card;
}
.prose .is-style-cards li {
	position: relative;
	margin: 0;
	padding: 22px 22px 22px 70px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 20px;
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--ink-2);
	counter-increment: dat-card;
}
.prose .is-style-cards li::before {
	content: counter(dat-card, decimal-leading-zero);
	position: absolute;
	left: 20px;
	top: 20px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: var(--sky);
	font-family: var(--serif);
	font-size: 15px;
	font-weight: 650;
	color: var(--teal);
}
.prose .is-style-cards strong { display: block; margin-bottom: 4px; font-size: 16.5px; color: var(--ink); }

.prose .is-style-note {
	position: relative;
	padding: 18px 22px 18px 60px;
	background: var(--sun-soft);
	border-radius: 18px;
	font-size: 16px;
	color: var(--ink);
}
.prose .is-style-note::before {
	content: "!";
	position: absolute;
	left: 20px;
	top: 18px;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--sun);
	font-weight: 800;
	font-size: 15px;
	line-height: 1;
	color: var(--ink);
}

/* Footer ---------------------------------------------------------------- */

.site-footer {
	padding: clamp(64px, 7vw, 96px) 0 0;
	background: var(--night);
	color: rgba(255, 255, 255, .7);
	font-size: 15px;
}
.footer-top {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 48px;
}
.brand-footer { color: var(--white); }
.brand-footer .brand-sub { color: rgba(255, 255, 255, .55); }
.brand-footer .brand-mark { color: var(--teal); }
.footer-tagline { margin: 20px 0 22px; max-width: 26em; }
.footer-social { display: flex; gap: 10px; list-style: none; }
.footer-social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .18);
	color: var(--white);
	transition: background-color .2s, border-color .2s, color .2s;
}
.footer-social a:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.footer-label { margin: 6px 0 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover,
.footer-address a:hover { color: var(--sun); }
.footer-small { margin: 10px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .5); }
.footer-legal {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px 48px;
	margin-top: 56px;
	padding-top: 28px;
	padding-bottom: 32px;
	font-size: 13.5px;
}
.footer-legal::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--gutter);
	right: var(--gutter);
	border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer-registry { max-width: 640px; }
.footer-registry p { margin: 0 0 6px; }
.footer-registry strong { color: var(--white); font-weight: 600; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.footer-meta p { margin: 0; }
.footer-meta a { display: inline-flex; align-items: center; gap: 6px; }
.footer-meta a:hover { color: var(--white); }
.footer-meta .icon { width: 16px; height: 16px; }

/* WhatsApp button ------------------------------------------------------- */

.wa-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 80;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 60px;
	padding: 0 18px;
	border-radius: 999px;
	background: #25d366;
	color: var(--white);
	box-shadow: 0 14px 30px -10px rgba(14, 120, 60, .55);
	transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float-label { font-size: 15px; font-weight: 700; white-space: nowrap; }
.wa-float:hover { transform: translateY(-2px); }

/* Reveal ---------------------------------------------------------------- */

.js .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Motion (html.motion is set by motion.js, never for prefers-reduced-motion) */

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 120; height: 3px; pointer-events: none; }
.scroll-progress span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--teal), var(--sun) 60%, var(--rose));
	transform: scaleX(0);
	transform-origin: 0 50%;
}
.admin-bar .scroll-progress { top: 32px; }
html:not(.motion) .scroll-progress { display: none; }

/* Marker sweep under the highlighted word */
.motion :is(.title, .hero-title, .page-title).reveal em,
.motion .is-split em {
	background-size: 0% 100%;
	background-repeat: no-repeat;
	transition: background-size 1.1s var(--ease) .45s;
}
.motion :is(.title, .hero-title, .page-title).reveal.is-in em,
.motion .is-split.is-marked em { background-size: 100% 100%; }

/* Word by word titles */
.is-split .w {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding: .06em .05em .18em;
	margin: -.06em -.05em -.18em;
}
.is-split .wi {
	display: inline-block;
	transform: translateY(112%) rotate(4deg);
	transform-origin: 0 100%;
	transition: transform 1.05s var(--ease);
}
.is-split.is-play .wi { transform: none; }

/* Hero entrance */
.motion .hero-arch { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease) .15s; }
.motion .hero-media.is-in .hero-arch { clip-path: inset(0 0 0 0); }
.motion .hero-photo { opacity: 0; scale: 1.06; transition: opacity 1.2s var(--ease) .4s, scale 1.8s var(--ease) .4s; }
.motion .hero-media.is-in .hero-photo { opacity: 1; scale: 1; }
.motion .hero-badge { opacity: 0; scale: .8; transition: opacity .6s var(--ease), scale .8s cubic-bezier(.3, 1.6, .5, 1); }
.motion .hero-media.is-in .hero-badge { opacity: 1; scale: 1; }
.motion .hero-media.is-in .hero-badge-top { transition-delay: 1.05s; }
.motion .hero-media.is-in .hero-badge-bottom { transition-delay: 1.25s; }
.motion .hero-dot,
.motion .bubble { animation: dat-float 7s ease-in-out infinite; }
.motion .hero-dot-2,
.motion .bubble-2 { animation-duration: 9s; animation-direction: reverse; }
.motion .hero-dot-3,
.motion .bubble-3 { animation-duration: 5.5s; }
.motion .bubble-4 { animation-duration: 11s; }
@keyframes dat-float {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(4px, -12px); }
}

[data-count] { font-variant-numeric: tabular-nums; }

/* Photos open like a window, then drift inside the frame */
.motion .about-frame,
.motion .clinic-photo,
.motion .page-hero-media {
	clip-path: inset(9% 9% 9% 9% round 32px);
	transition: clip-path 1.5s var(--ease) .1s;
}
.motion .reveal.is-in .about-frame,
.motion .reveal.is-in .clinic-photo,
.motion .page-hero-media.is-in { clip-path: inset(0 0 0 0 round 32px); }
.motion .about-frame img,
.motion .clinic-photo img,
.motion .page-hero-media img { scale: 1.22; transition: scale 2s var(--ease); }
.motion .reveal.is-in .about-frame img,
.motion .reveal.is-in .clinic-photo img,
.motion .page-hero-media.is-in img { scale: 1.12; }
.motion .clinic-logo { opacity: 0; scale: .85; transition: opacity .8s var(--ease) .7s, scale 1s cubic-bezier(.3, 1.5, .5, 1) .7s; }
.motion .clinic-media.is-in .clinic-logo { opacity: 1; scale: 1; }

/* Cards: 3D tilt with a soft spotlight */
.service-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 210, 63, .16), transparent 45%);
	opacity: 0;
	transition: opacity .4s;
	pointer-events: none;
}
.motion [data-tilt] { transform-style: preserve-3d; }
.motion [data-tilt]:hover { transition: transform .18s linear, box-shadow .35s var(--ease), border-color .35s; }
.motion [data-tilt]:hover::before { opacity: 1; }
.motion [data-tilt] .service-icon { transform: translateZ(34px); transition: transform .4s var(--ease); }
.motion [data-tilt] h3 { transform: translateZ(18px); }
.motion .service-card.reveal { transform: translateY(40px); }
.motion .service-card.reveal.is-in { transform: none; }

/* Timeline pinned and sliding sideways (wide screens) */
.timeline-wrap.is-horizontal { margin-top: clamp(40px, 5vw, 72px); }
.is-horizontal .timeline-sticky {
	position: sticky;
	top: var(--header-h);
	height: calc(100vh - var(--header-h));
	min-height: 540px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
}
.is-horizontal .timeline-hint { display: inline-flex; }
.is-horizontal .timeline-head,
.is-horizontal .timeline-viewport { position: relative; z-index: 1; }
.is-horizontal .timeline-bg {
	display: block;
	position: absolute;
	left: var(--side, 40px);
	bottom: 4vh;
	margin: 0;
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(120px, 15vw, 230px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -.03em;
	white-space: nowrap;
	color: var(--sky);
	pointer-events: none;
	will-change: transform;
	--side: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.is-horizontal .timeline-hint .icon { animation: dat-nudge 1.6s var(--ease) infinite; }
@keyframes dat-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.is-horizontal .timeline-viewport { padding-top: 34px; }
.is-horizontal .timeline-rail {
	display: block;
	position: absolute;
	top: 33px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--sky-2);
}
.timeline-fill {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--teal), var(--sun));
	transform: scaleX(0);
	transform-origin: 0 50%;
}
.is-horizontal .timeline {
	--side: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
	display: flex;
	gap: 24px;
	width: max-content;
	max-width: none;
	margin: 0;
	padding: 0 var(--side);
	will-change: transform;
}
.is-horizontal .timeline-item {
	width: 360px;
	min-height: 250px;
	flex: none;
	padding: 44px 32px 34px;
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: 28px;
	transition: opacity .8s var(--ease), transform .8s var(--ease), background-color .5s, border-color .5s, box-shadow .5s;
}
.is-horizontal .timeline-item::before { display: none; }
.is-horizontal .timeline-item::after {
	top: -10px;
	left: 30px;
	background: var(--sky-2);
	box-shadow: 0 0 0 6px var(--white);
	transition: background-color .4s, transform .4s var(--ease);
}
.is-horizontal .timeline-item.is-on { background: var(--white); border-color: transparent; box-shadow: var(--shadow); }
.is-horizontal .timeline-item.is-on::after { background: var(--teal); transform: scale(1.2); }
.is-horizontal .timeline-num { top: 26px; right: 26px; font-size: 56px; }
.is-horizontal .timeline-item.is-on .timeline-num { -webkit-text-stroke-color: var(--sun); }
.is-horizontal .timeline-item h4 { font-size: 25px; margin-top: 22px; }
.is-horizontal .timeline-title { font-size: clamp(36px, 3.6vw, 48px); }
.is-horizontal .timeline-item p { font-size: 15.5px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1100px) {
	.topbar,
	.main-nav { display: none; }
	.nav-toggle { display: block; }
	.header-actions { margin-left: auto; }
}

@media (max-width: 960px) {
	:root { --header-h: 72px; }
	.hero-grid,
	.about-grid,
	.facts-grid,
	.clinic-grid,
	.faq-grid,
	.contact-grid,
	.page-hero-grid,
	.page-body-grid { grid-template-columns: 1fr; }
	.hero-media { justify-self: center; max-width: 440px; }
	.hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: -20px; }
	.hero-stats li:nth-child(3) { border-left: 0; }
	.services-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
	.services-grid.is-compact { grid-template-columns: 1fr; }
	.about-media { max-width: 520px; }
	.facts-media { max-width: 340px; }
	.faq-head { position: static; }
	.reviews-track { grid-auto-columns: calc((100% - 24px) / 2); }
	.page-hero-media { max-width: 460px; justify-self: start; aspect-ratio: 1; }
	.page-aside { position: static; }
	.cta-inner { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.footer-lead { grid-column: 1 / -1; }
	.footer-legal { flex-direction: column; align-items: flex-start; }
	.footer-meta { align-items: flex-start; text-align: left; }
}

@media (max-width: 720px) {
	.reviews-track { grid-auto-columns: 86%; }
	.reviews-summary { width: 100%; flex-wrap: wrap; }
	.reviews-summary .btn { width: 100%; }
	.reviews-foot { flex-direction: column-reverse; align-items: flex-start; }
	body { font-size: 16.5px; }
	.prose .is-style-checks,
	.prose .is-style-cards,
	.facts-list { grid-template-columns: 1fr; }
	.hero-badge-top { right: 0; }
	.hero-badge-bottom { left: 0; }
	.wa-float { width: 60px; padding: 0; justify-content: center; }
	.wa-float-label { display: none; }
	.contact-map { height: 300px; }
}

@media (max-width: 560px) {
	.header-cta { display: none; }
	.brand-word { font-size: 19px; }
	.brand-sub { font-size: 10px; letter-spacing: .08em; }
	.brand-mark { width: 40px; height: 40px; }
	.hero-actions .btn { width: 100%; }
	.hero-stats { grid-template-columns: 1fr; padding: 12px 16px; }
	.hero-stats li + li { border-left: 0; border-top: 1px solid var(--line); }
	.hero-stats li { padding: 12px 4px; }
	.field-row { grid-template-columns: 1fr; }
	.review-card { padding: 26px; }
	.clinic-media { padding: 0 32px 32px 0; }
	.footer-top { grid-template-columns: 1fr; gap: 32px; }
	.about-plate { inset: 18px -10px -10px 18px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}
