/* ==========================================================================
   Quanta Saúde · Arquitetura do cuidado
   Mobile first. Tokens derivados da logomarca oficial.
   ========================================================================== */

:root {
	--q-white: #FFFFFF;
	--q-linen: #F6F4F0;
	--q-sand: #EDE7DF;
	--q-skin: #E3D2C4;
	--q-ink: #1D232B;
	--q-ink-2: #5A626D;
	--q-ink-3: #8C929A;
	--q-line: #E3E0DA;
	--q-blue: #0063CB;
	--q-blue-deep: #0B3A75;
	--q-blue-mist: #EAF1FA;
	--q-red: #DA1B1B;

	--q-f-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--q-f-text: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
	--q-f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

	--q-ease: cubic-bezier(.16, 1, .3, 1);
	--q-gutter: 20px;
	--q-sec: 72px;
	--q-header-h: 72px;
	--q-radius: 2px;
	--q-arc: 46% 0 0 0 / 26% 0 0 0;
}
@media (min-width: 768px) {
	:root { --q-gutter: 40px; --q-sec: 112px; }
}
@media (min-width: 1200px) {
	:root { --q-gutter: 56px; --q-sec: 152px; --q-header-h: 88px; }
}

/* ---------- Base ---------- */
html { scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--q-white);
	color: var(--q-ink);
	font-family: var(--q-f-text);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
*, *::before, *::after { box-sizing: border-box; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
::selection { background: var(--q-blue-mist); color: var(--q-blue-deep); }
/* Neutraliza o reset de botões do Hello Elementor (rosa #c36). */
.q-burger, .q-round, .q-reviews__dots button { color: inherit; }
button.q-burger:hover, button.q-burger:focus, .q-reviews__dots button:hover, .q-reviews__dots button:focus { background: transparent; color: inherit; }
button.q-btn, button.q-btn:hover, button.q-btn:focus { background: var(--bg); color: var(--fg); border-color: var(--bd); }
button.q-round:focus { background: var(--q-white); color: var(--q-ink); }
:focus-visible { outline: 2px solid var(--q-blue); outline-offset: 3px; border-radius: 1px; }

.q-sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.q-skip { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--q-ink); color: var(--q-white); padding: 12px 16px; border-radius: var(--q-radius); transition: top .3s; }
.q-skip:focus { top: 12px; }

.q-wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--q-gutter); }
.q-mono { font-family: var(--q-f-mono); font-size: 13px; letter-spacing: .02em; }
.q-anchor { position: relative; top: -1px; height: 0; }

/* Elementor: os widgets da Quanta ocupam a largura toda, sem espaçamentos extras. */
.elementor .e-con:has(> .elementor-widget[class*="elementor-widget-quanta-"]),
.elementor .e-con-inner:has(> .elementor-widget[class*="elementor-widget-quanta-"]) { padding: 0 !important; gap: 0 !important; max-width: none !important; }
.elementor-widget[class*="elementor-widget-quanta-"] { width: 100%; }
.elementor-widget[class*="elementor-widget-quanta-"] > .elementor-widget-container { margin: 0; padding: 0; }
.elementor-element.elementor-widget:not(:last-child) { margin-block-end: 0; }

/* ---------- Tipografia ---------- */
.q-title {
	font-family: var(--q-f-display);
	font-weight: 360;
	font-size: clamp(38px, 6.2vw, 84px);
	line-height: 1.02;
	letter-spacing: -.028em;
	text-wrap: balance;
	font-optical-sizing: auto;
	color: var(--q-ink);
}
.q-title em { font-style: italic; font-weight: 320; }
.q-title--m { font-size: clamp(32px, 4.2vw, 56px); }
.q-title--light { font-weight: 300; }
.q-ln { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.q-ln > span { display: block; will-change: transform; }

.q-eyebrow {
	font-family: var(--q-f-mono);
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--q-ink-2);
	margin-bottom: 24px;
	display: flex; align-items: center; gap: 12px;
}
.q-eyebrow a { text-decoration: none; background: linear-gradient(var(--q-red), var(--q-red)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--q-ease); }
.q-eyebrow a:hover { background-size: 100% 1px; }
.q-eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--q-red); flex: none; }

.q-lead { margin-top: 24px; max-width: 46ch; color: var(--q-ink-2); font-size: 18px; line-height: 1.6; }
.q-lead p + p { margin-top: 1em; }
@media (min-width: 1200px) { .q-lead { font-size: 19px; } }

.q-prose { max-width: 66ch; font-size: 17px; line-height: 1.75; color: var(--q-ink); }
.q-prose > * + * { margin-top: 1.1em; }
.q-prose h2, .q-prose h3 { font-family: var(--q-f-display); font-weight: 400; line-height: 1.15; letter-spacing: -.015em; margin-top: 1.8em; }
.q-prose h2 { font-size: 32px; }
.q-prose h3 { font-size: 24px; }
.q-prose ul { padding-left: 0; }
.q-prose ul li { position: relative; padding-left: 22px; }
.q-prose ul li + li { margin-top: .5em; }
.q-prose ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 1px; background: var(--q-red); }
.q-prose a { color: var(--q-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.q-prose strong { font-weight: 600; }

/* ---------- Botões e links ---------- */
.q-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 36px; }
.q-btn {
	--bg: var(--q-blue); --fg: var(--q-white); --bd: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 52px; padding: 0 24px;
	background: var(--bg); color: var(--fg); border: 1px solid var(--bd); border-radius: var(--q-radius);
	font: 600 13px/1 var(--q-f-text); letter-spacing: .1em; text-transform: uppercase;
	cursor: pointer; white-space: nowrap;
	transition: background-color .45s var(--q-ease), color .45s var(--q-ease), border-color .45s var(--q-ease), transform .6s var(--q-ease);
	will-change: transform;
}
.q-btn--sm { min-height: 42px; padding: 0 16px; font-size: 12px; }
.q-btn .q-arrow { display: inline-block; font-weight: 400; transition: transform .5s var(--q-ease); }
.q-btn:hover .q-arrow { transform: translateX(5px); }
.q-btn__dot { width: 0; height: 6px; margin-right: -12px; border-radius: 50%; background: var(--q-red); transition: width .4s var(--q-ease), margin .4s var(--q-ease); flex: none; }
.q-btn:hover .q-btn__dot, .q-btn:focus-visible .q-btn__dot { width: 6px; margin-right: 0; }
.q-btn--primary:hover { --bg: var(--q-blue-deep); }
.q-btn--ghost { --bg: transparent; --fg: var(--q-ink); --bd: var(--q-ink); }
.q-btn--ghost:hover { --bg: var(--q-ink); --fg: var(--q-white); }
.q-btn--ghost-light { --bg: rgba(255,255,255,.04); --fg: var(--q-white); --bd: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.q-btn--ghost-light:hover { --bg: var(--q-white); --fg: var(--q-ink); --bd: var(--q-white); }
.q-btn--light { --bg: var(--q-white); --fg: var(--q-blue-deep); }
.q-btn--light:hover { --bg: var(--q-linen); }

.q-link {
	display: inline-flex; align-items: center; gap: 10px;
	color: var(--q-blue); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
	padding-block: 6px;
}
.q-link > span:first-child { background: linear-gradient(var(--q-red), var(--q-red)) 0 100% / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .55s var(--q-ease); }
.q-link:hover > span:first-child, a:hover .q-link > span:first-child { background-size: 100% 1px; }
.q-link .q-arrow { transition: transform .5s var(--q-ease), color .3s; }
.q-link:hover .q-arrow, a:hover .q-link .q-arrow { transform: translateX(6px); color: var(--q-red); }

.q-round {
	width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--q-line); background: var(--q-white);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px;
	transition: border-color .3s, background .3s, color .3s;
}
.q-round:hover { border-color: var(--q-ink); background: var(--q-ink); color: var(--q-white); }
.q-round:disabled { opacity: .35; pointer-events: none; }

.q-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--q-red); display: inline-block; flex: none; }

/* ---------- Linha Quanta ---------- */
.q-line { width: 100%; height: auto; overflow: visible; }
.q-line path { fill: none; stroke: var(--q-blue); stroke-width: 1.4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.q-line circle { fill: var(--q-red); transform-box: fill-box; transform-origin: center; }

/* ---------- Mídia ---------- */
.q-zoom { overflow: hidden; }
.q-zoom img { transition: transform 1.4s var(--q-ease); }
@media (hover: hover) { .q-zoom:hover img { transform: scale(1.035); } }
.q-mask-arc { border-radius: var(--q-arc); overflow: hidden; }
[data-q-clip] { position: relative; overflow: hidden; }
[data-q-parallax] { height: 100%; }
.q-gsap [data-q-parallax] { position: absolute; inset: -7% 0; height: auto; will-change: transform; }
[data-q-parallax] > img, [data-q-parallax] > .q-ph { width: 100%; height: 100%; object-fit: cover; }

/* Placeholder: informa qual fotografia precisa ser produzida */
.q-ph {
	position: relative; width: 100%; height: 100%; min-height: 220px;
	background: var(--q-linen); overflow: hidden; display: flex; align-items: flex-end;
}
.q-ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(29,35,43,.028) 14px 15px); }
.q-ph__line { position: absolute; left: 8%; right: 8%; top: 38%; opacity: .45; }
.q-ph__label { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px; max-width: 34ch; }
.q-ph__k { font-family: var(--q-f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--q-red); }
.q-ph__v { font-family: var(--q-f-display); font-size: 19px; line-height: 1.25; color: var(--q-ink-2); }
.q-ph--skin { background: var(--q-skin); }
.q-ph--skin .q-ph__v { color: #6B5A4E; }
.q-ph--dark { background: #2A323C; }
.q-ph--dark .q-ph__v { color: rgba(255,255,255,.7); }

/* ---------- Seções ---------- */
.q-sec { position: relative; padding-block: var(--q-sec); background: var(--q-white); }
.q-tone-linen { background: var(--q-linen); }
.q-tone-sand { background: var(--q-sand); }

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.q-header {
	position: fixed; inset: 0 0 auto 0; z-index: 90;
	padding-top: env(safe-area-inset-top, 0px);
	transition: transform .6s var(--q-ease), background-color .5s var(--q-ease), box-shadow .5s var(--q-ease), backdrop-filter .5s;
	color: var(--q-ink);
}
.admin-bar .q-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .q-header { top: 46px; } }
.q-header__bar {
	max-width: 1600px; margin-inline: auto; height: var(--q-header-h);
	padding-inline: var(--q-gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	transition: height .5s var(--q-ease);
}
.q-plate { display: inline-flex; background: var(--q-white); padding: 8px 10px; border-radius: var(--q-radius); transition: padding .5s var(--q-ease), background-color .5s; }
.q-header__logo { height: 34px; width: auto; }
@media (min-width: 1200px) { .q-header__logo { height: 42px; } .q-plate { padding: 10px 14px; } }
.q-header__nav { display: none; }
.q-menu { display: flex; gap: clamp(18px, 1.8vw, 32px); }
.q-menu a {
	position: relative; display: inline-block; padding-block: 6px;
	font-size: 14px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
}
.q-menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .55s var(--q-ease); }
.q-menu a:hover::after, .q-menu .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.q-menu .current-menu-item > a::before { content: ""; position: absolute; left: 50%; top: -6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--q-red); }
.q-header__end { display: flex; align-items: center; gap: 12px; }
.q-header__cta { display: none; }

.q-burger { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--q-line); border-radius: var(--q-radius); cursor: pointer; transition: background .3s, border-color .3s; }
.q-burger__box { position: relative; width: 20px; height: 10px; }
.q-burger__box i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--q-ease), top .5s var(--q-ease); }
.q-burger__box i:first-child { top: 0; }
.q-burger__box i:last-child { top: 8.5px; }
.q-menu-open .q-burger__box i:first-child { top: 4.25px; transform: rotate(45deg); }
.q-menu-open .q-burger__box i:last-child { top: 4.25px; transform: rotate(-45deg); }

@media (min-width: 1100px) {
	.q-header__nav { display: block; }
	.q-header__cta { display: inline-flex; }
	.q-burger { display: none; }
}

/* Estado sobre o hero escuro */
.q-hero-dark .q-header:not(.is-solid) { color: var(--q-white); }
.q-hero-dark .q-header:not(.is-solid) .q-burger { border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.q-hero-dark .q-header:not(.is-solid) .q-header__cta { --bg: rgba(255,255,255,.08); --bd: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.q-hero-dark .q-header:not(.is-solid) .q-header__cta:hover { --bg: var(--q-white); --fg: var(--q-ink); }

/* Estado rolado */
.q-header.is-solid {
	background: rgba(255,255,255,.86);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	box-shadow: 0 1px 0 rgba(29,35,43,.07);
}
.q-header.is-solid .q-header__bar { height: 64px; }
.q-header.is-solid .q-plate { padding-inline: 0; background: transparent; }
.q-header.is-hidden { transform: translateY(-110%); }
.q-menu-open .q-header { transform: none; background: var(--q-white); color: var(--q-ink); box-shadow: none; }
.q-menu-open .q-header .q-burger { border-color: var(--q-line); }

.q-main { display: block; }
body:not(.q-hero-dark) .q-main { padding-top: calc(var(--q-header-h) + env(safe-area-inset-top, 0px)); }

/* Menu mobile em tela cheia */
.q-drawer { position: fixed; inset: 0; z-index: 80; background: var(--q-white); display: flex; flex-direction: column; overflow-y: auto; padding-top: calc(var(--q-header-h) + env(safe-area-inset-top, 0px)); }
.q-drawer[hidden] { display: none; }
.q-drawer__inner { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 24px var(--q-gutter) calc(32px + env(safe-area-inset-bottom, 0px)); }
.q-drawer__menu li { overflow: hidden; border-bottom: 1px solid var(--q-line); }
.q-drawer__menu a { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 0; font-family: var(--q-f-display); font-size: clamp(30px, 8vw, 44px); line-height: 1.1; letter-spacing: -.02em; }
.q-drawer__menu .current-menu-item a { color: var(--q-blue); }
.q-drawer__menu a::after { content: "→"; font-family: var(--q-f-text); font-size: 18px; color: var(--q-ink-3); }
.q-drawer__foot { display: flex; flex-direction: column; gap: 20px; }
.q-drawer__foot .q-btn { width: 100%; justify-content: space-between; }
.q-drawer__foot p { color: var(--q-ink-2); line-height: 1.8; }
.q-drawer.is-open .q-drawer__menu li a { animation: q-rise .8s var(--q-ease) both; }
.q-drawer.is-open .q-drawer__menu li:nth-child(2) a { animation-delay: .04s; }
.q-drawer.is-open .q-drawer__menu li:nth-child(3) a { animation-delay: .08s; }
.q-drawer.is-open .q-drawer__menu li:nth-child(4) a { animation-delay: .12s; }
.q-drawer.is-open .q-drawer__menu li:nth-child(5) a { animation-delay: .16s; }
.q-drawer.is-open .q-drawer__menu li:nth-child(6) a { animation-delay: .2s; }
.q-drawer.is-open .q-drawer__menu li:nth-child(7) a { animation-delay: .24s; }
.q-drawer.is-open .q-drawer__menu li:nth-child(8) a { animation-delay: .28s; }
@keyframes q-rise { from { transform: translateY(100%); } to { transform: none; } }
.q-menu-open { overflow: hidden; }

/* ==========================================================================
   Hero cinematográfico
   ========================================================================== */
.q-hero { position: relative; height: 100svh; min-height: 600px; max-height: 1100px; overflow: hidden; background: #1E252E; color: var(--q-white); isolation: isolate; }
.q-hero__media, .q-hero__pic, .q-hero__img, .q-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.q-hero__img, .q-hero__video { object-fit: cover; }
.q-hero__img { object-position: 50% 60%; }
.q-hero__video { opacity: 0; transition: opacity 1.4s ease; }
.q-hero__video.is-playing { opacity: 1; }
.q-hero__media { transform: scale(1.06); transform-origin: 60% 50%; }
.q-js .q-hero__media { animation: q-hero-in 2.8s var(--q-ease) both; }
@keyframes q-hero-in { from { transform: scale(1.14); } to { transform: scale(1.06); } }
.q-hero__veil { position: absolute; inset: 0; z-index: 1; background:
	linear-gradient(0deg, rgba(14,20,28,.78) 0%, rgba(14,20,28,.2) 55%, rgba(14,20,28,.35) 100%); }
@media (min-width: 900px) {
	.q-hero__veil { background:
		linear-gradient(90deg, rgba(14,20,28,.66) 0%, rgba(14,20,28,.36) 40%, rgba(14,20,28,0) 72%),
		linear-gradient(0deg, rgba(14,20,28,.42) 0%, rgba(14,20,28,0) 38%),
		linear-gradient(180deg, rgba(14,20,28,.35) 0%, rgba(14,20,28,0) 22%); }
}
.q-hero__inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.q-hero__eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--q-f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.q-hero__title { color: var(--q-white); font-size: clamp(44px, 11.5vw, 112px); line-height: .98; letter-spacing: -.035em; font-weight: 340; max-width: 11ch; }
.q-hero__title em { font-weight: 300; }
.q-hero__sub { margin-top: 22px; max-width: 34ch; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.88); }
.q-hero__actions { margin-top: 30px; }
.q-hero__actions .q-btn { flex: 1 1 auto; }
.q-hero__discover {
	position: absolute; z-index: 2; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	font-family: var(--q-f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.85);
}
.q-hero__discover-line { width: 1px; height: 38px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.q-hero__discover-line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--q-white); animation: q-drip 2.2s var(--q-ease) infinite; }
@keyframes q-drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
@media (min-width: 768px) {
	.q-hero__actions .q-btn { flex: 0 0 auto; }
	.q-hero__sub { font-size: 19px; }
}
@media (min-width: 1200px) {
	.q-hero__inner { padding-bottom: 112px; }
	.q-hero__discover { bottom: 28px; }
}

/* ==========================================================================
   Introdução
   ========================================================================== */
.q-intro__grid { display: grid; gap: 48px; }
.q-intro__list { position: relative; display: block; font-family: var(--q-f-display); font-size: clamp(30px, 4vw, 60px); line-height: 1.16; letter-spacing: -.022em; font-weight: 340; text-wrap: pretty; }
.q-intro__item { position: relative; color: var(--q-ink); transition: color .4s var(--q-ease); z-index: 1; }
.q-intro__item span { background: linear-gradient(var(--q-red), var(--q-red)) 0 94% / 0 1px no-repeat; transition: background-size .6s var(--q-ease); }
.q-intro__item:hover { color: var(--q-blue); }
.q-intro__item:hover span { background-size: 100% 1px; }
.q-intro__sep { color: var(--q-ink-3); }
.q-intro__and { font-style: italic; }
.q-intro__list:hover .q-intro__item:not(:hover) { color: var(--q-ink-3); }
.q-follow { position: absolute; left: 0; top: 0; width: 200px; height: 250px; pointer-events: none; z-index: 0; opacity: 0; transform: translate(-50%, -50%) scale(.9); transition: opacity .35s ease, transform .6s var(--q-ease); border-radius: var(--q-radius); overflow: hidden; display: none; }
.q-follow img { width: 100%; height: 100%; object-fit: cover; }
.q-follow.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: hover) and (min-width: 1024px) { .q-follow { display: block; } }
@media (min-width: 1024px) {
	.q-intro__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: end; }
}

/* ==========================================================================
   Split: imagem grande + texto
   ========================================================================== */
.q-split__grid { display: grid; gap: 48px; padding-inline: var(--q-gutter); max-width: 1600px; margin-inline: auto; }
.q-split__media { position: relative; }
.q-split__media > .q-mask-arc { aspect-ratio: 4 / 5; }
.q-split__media2 { position: absolute; right: -8px; bottom: -32px; width: 40%; aspect-ratio: 3 / 4; border: 8px solid var(--q-white); border-radius: var(--q-radius); }
.q-tone-linen .q-split__media2 { border-color: var(--q-linen); }
.q-split__media2 img { width: 100%; height: 100%; object-fit: cover; }
.q-split__body { max-width: 560px; }
.q-split__body .q-title { font-size: clamp(36px, 4.2vw, 64px); }
.q-split__line { margin-top: 56px; width: min(100%, 420px); }
@media (min-width: 1024px) {
	.q-split__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(56px, 7vw, 120px); align-items: center; padding-left: 0; }
	.q-split__media > .q-mask-arc { aspect-ratio: auto; height: min(88vh, 900px); }
	.q-split--reverse .q-split__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); padding-left: var(--q-gutter); padding-right: 0; }
	.q-split--reverse .q-split__media { order: 2; }
	.q-split--reverse .q-mask-arc { border-radius: 0 46% 0 0 / 0 26% 0 0; }
	.q-split__media2 { right: -64px; bottom: -48px; width: 34%; }
	.q-split--reverse .q-split__media2 { right: auto; left: -64px; }
}

/* ==========================================================================
   Especialidades
   ========================================================================== */
.q-esp__head { display: grid; gap: 20px; margin-bottom: 56px; }
.q-esp__head .q-lead { margin-top: 0; }
.q-esp__stage { display: none; }
.q-esp__list { border-top: 1px solid var(--q-ink); counter-reset: esp; }
.q-esp__item { border-bottom: 1px solid var(--q-line); }
.q-esp__link { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 28px 0 32px; }
.q-esp__num { font-family: var(--q-f-mono); font-size: 12px; color: var(--q-ink-3); padding-top: 12px; transition: color .3s; }
.q-esp__img { grid-column: 1 / -1; order: -1; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--q-radius); background: var(--q-white); }
.q-esp__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.q-esp__body { display: flex; flex-direction: column; gap: 10px; }
.q-esp__name { font-family: var(--q-f-display); font-size: clamp(34px, 7vw, 60px); line-height: 1; letter-spacing: -.028em; font-weight: 360; transition: color .4s var(--q-ease), transform .6s var(--q-ease); }
.q-esp__desc { color: var(--q-ink-2); font-size: 16px; max-width: 46ch; }
.q-esp__cta { margin-top: 6px; }
@media (min-width: 1024px) {
	.q-esp__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; margin-bottom: 72px; }
	.q-esp__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 104px); align-items: start; }
	.q-esp__stage { display: block; position: sticky; top: calc(var(--q-header-h) + 32px); height: min(72vh, 720px); }
	.q-esp__stack { position: relative; height: 100%; overflow: hidden; border-radius: var(--q-arc); background: var(--q-white); }
	.q-esp__frame { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--q-ease); }
	.q-esp__frame img, .q-esp__frame .q-ph { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.08); transition: transform 1.6s var(--q-ease); }
	.q-esp__frame.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
	.q-esp__frame.is-active img, .q-esp__frame.is-active .q-ph { transform: scale(1); }
	.q-esp__frame.was-active { clip-path: inset(0 0 0 0); z-index: 1; }
	.q-esp__img { display: none; }
	.q-esp__link { grid-template-columns: 64px minmax(0, 1fr); padding: 34px 0 38px; }
	.q-esp__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); column-gap: 32px; align-items: end; }
	.q-esp__name { grid-row: span 2; }
	.q-esp__desc { font-size: 15px; }
	.q-esp__cta { opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .6s var(--q-ease); }
	.q-esp__item.is-active .q-esp__name { color: var(--q-blue); transform: translateX(10px); }
	.q-esp__item.is-active .q-esp__num { color: var(--q-red); }
	.q-esp__item.is-active .q-esp__cta { opacity: 1; transform: none; }
	.q-esp__list:hover .q-esp__item:not(.is-active) .q-esp__name { color: var(--q-ink-3); }
}

/* ==========================================================================
   Dermatologia & Estética
   ========================================================================== */
.q-derm { background: linear-gradient(180deg, var(--q-white) 0%, var(--q-sand) 18%, var(--q-sand) 100%); }
.q-derm__grid { display: grid; gap: 56px; }
.q-derm__body .q-title { font-size: clamp(40px, 6.4vw, 92px); }
.q-derm__procs { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.q-derm__procs a { display: inline-block; padding: 8px 14px; border: 1px solid rgba(29,35,43,.16); border-radius: 999px; font-size: 14px; transition: background .3s, border-color .3s; }
.q-derm__procs a:hover { background: var(--q-white); border-color: var(--q-white); }
.q-derm__media { position: relative; padding-bottom: 72px; }
.q-derm__main { aspect-ratio: 4 / 5; border-radius: var(--q-arc); }
.q-derm__second { position: absolute; right: -8px; bottom: 0; width: 46%; aspect-ratio: 1 / 1; border: 8px solid var(--q-sand); border-radius: var(--q-radius); }
.q-derm__main img, .q-derm__second img, .q-derm__second .q-ph { width: 100%; height: 100%; object-fit: cover; }
.q-derm__second .q-ph { min-height: 0; }
.q-derm__second .q-ph__v { font-size: 15px; }
@media (min-width: 1024px) {
	.q-derm__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(56px, 8vw, 140px); align-items: center; }
	.q-derm__media { padding-bottom: 0; }
	.q-derm__main { aspect-ratio: auto; height: min(90vh, 880px); margin-left: 12%; }
	.q-derm__second { left: -4%; right: auto; bottom: 9%; width: 38%; border-width: 10px; }
}

/* ==========================================================================
   Ultrassonografia
   ========================================================================== */
.q-us__grid { display: grid; gap: 48px; max-width: 1600px; margin-inline: auto; }
.q-us__media { aspect-ratio: 4 / 3; }
.q-us__body { padding-inline: var(--q-gutter); max-width: 620px; }
.q-us__list { margin-top: 32px; border-top: 1px solid var(--q-line); }
.q-us__list li { border-bottom: 1px solid var(--q-line); }
.q-us__list a { display: flex; justify-content: space-between; padding: 14px 0; font-family: var(--q-f-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; transition: color .3s, padding .5s var(--q-ease); }
.q-us__list a::after { content: "→"; color: var(--q-ink-3); transition: color .3s; }
.q-us__list a:hover { color: var(--q-blue); padding-left: 8px; }
.q-us__list a:hover::after { color: var(--q-red); }
@media (min-width: 1024px) {
	.q-us__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
	.q-us__media { aspect-ratio: auto; height: min(86vh, 860px); }
	.q-us__body { padding-inline: 0 var(--q-gutter); }
}

/* ==========================================================================
   Links úteis (bio do Instagram)
   ========================================================================== */
.elementor-template-canvas { background: var(--q-white); }
.q-links { min-height: 100svh; display: grid; grid-template-rows: auto 1fr; background: var(--q-white); }
.q-links__media { position: relative; height: 38svh; min-height: 240px; overflow: hidden; border-radius: 0 0 0 0 / 0; }
.q-links__media img, .q-links__media .q-ph { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.q-links__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 38%); }
.q-links__card { position: relative; width: 100%; max-width: 480px; margin-inline: auto; padding: 0 20px calc(40px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; }
.q-links__plate { align-self: flex-start; margin-top: -44px; box-shadow: 0 12px 30px -18px rgba(29,35,43,.4); }
.q-links__logo { height: 44px; width: auto; }
.q-links__title { margin-top: 28px; font-family: var(--q-f-display); font-weight: 350; font-size: 40px; line-height: 1; letter-spacing: -.03em; }
.q-links__sub { margin-top: 10px; color: var(--q-ink-2); font-size: 16px; max-width: 30ch; }
.q-links__list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.q-links__btn {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 76px; padding: 16px 20px; border: 1px solid var(--q-ink); border-radius: var(--q-radius);
	background: var(--q-white); color: var(--q-ink);
	transition: background-color .4s var(--q-ease), border-color .4s var(--q-ease), color .4s, transform .5s var(--q-ease);
}
.q-links__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.q-links__label { font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.q-links__hint { font-size: 14px; color: var(--q-ink-2); }
.q-links__go { font-size: 20px; transition: transform .5s var(--q-ease), color .3s; }
.q-links__btn:hover { border-color: var(--q-blue); }
.q-links__btn:hover .q-links__go { transform: translateX(6px); color: var(--q-red); }
.q-links__btn:active { transform: scale(.985); }
.q-links__btn--primary { background: var(--q-blue); border-color: var(--q-blue); color: var(--q-white); }
.q-links__btn--primary .q-links__hint { color: rgba(255,255,255,.82); }
.q-links__btn--primary:hover { background: var(--q-blue-deep); border-color: var(--q-blue-deep); }
.q-links__btn--primary:hover .q-links__go { color: var(--q-white); }
.q-links__addr { margin-top: 32px; color: var(--q-ink-2); font-size: 12px; line-height: 1.7; }
.q-links__foot { margin-top: 10px; font-size: 13px; color: var(--q-ink-3); }
.q-links__foot a { color: var(--q-blue); }
.q-js .q-links__list li { animation: q-links-in .9s var(--q-ease) both; animation-delay: calc(.25s + var(--i) * .09s); }
.q-js .q-links__title, .q-js .q-links__sub { animation: q-links-in .9s var(--q-ease) both; animation-delay: .1s; }
@keyframes q-links-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) {
	.q-links { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; }
	.q-links__media { height: 100vh; position: sticky; top: 0; border-radius: 0 46% 0 0 / 0 26% 0 0; }
	.q-links__media::after { display: none; }
	.q-links__card { justify-content: center; padding: 64px 48px; }
	.q-links__plate { margin-top: 0; box-shadow: none; padding-inline: 0; }
	.q-links__title { font-size: 52px; }
}

/* ==========================================================================
   Convênios
   ========================================================================== */
.q-conv__grid { display: grid; gap: 56px; }
.q-conv__head .q-title { font-size: clamp(38px, 5vw, 76px); }
.q-conv__list { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--q-ink); }
.q-conv__item { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--q-line); }
.q-conv__item::before { content: ""; width: 14px; height: 1px; background: var(--q-red); flex: none; transition: width .5s var(--q-ease); }
.q-conv__name { font-family: var(--q-f-display); font-size: clamp(26px, 2.7vw, 40px); line-height: 1.1; letter-spacing: -.02em; font-weight: 350; transition: color .4s var(--q-ease), transform .6s var(--q-ease); }
.q-conv__item:hover::before { width: 28px; }
.q-conv__item:hover .q-conv__name { color: var(--q-blue); transform: translateX(6px); }
.q-conv__note { margin-top: 24px; display: flex; align-items: center; gap: 10px; color: var(--q-ink-2); font-size: 15px; }
@media (min-width: 768px) {
	.q-conv__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
@media (min-width: 1024px) {
	.q-conv__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(56px, 7vw, 120px); align-items: start; }
	.q-conv__head { position: sticky; top: calc(var(--q-header-h) + 32px); }
}

/* ==========================================================================
   Corpo clínico
   ========================================================================== */
.q-team__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 48px; }
.q-team__nav { display: none; gap: 10px; }
.q-team__track {
	display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding-inline: var(--q-gutter); scroll-padding-inline: var(--q-gutter); padding-bottom: 8px;
	overscroll-behavior-x: contain;
}
.q-team__track::-webkit-scrollbar { display: none; }
.q-team__track .q-doc { flex: none; width: 76%; max-width: 360px; scroll-snap-align: start; }
.q-team__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 24px; }
.q-team__foot { margin-top: 40px; }
.q-doc { display: flex; flex-direction: column; }
.q-doc__photo { display: block; aspect-ratio: 3 / 4; background: #E9E8E5; border-radius: var(--q-radius); }
.q-doc__photo img, .q-doc__photo .q-ph { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.q-doc__name { margin-top: 20px; font-family: var(--q-f-display); font-size: 26px; line-height: 1.12; letter-spacing: -.015em; }
.q-doc__name a:hover { color: var(--q-blue); }
.q-doc__esp { margin-top: 6px; color: var(--q-ink-2); font-size: 15px; }
.q-doc__reg { margin-top: 4px; font-family: var(--q-f-mono); font-size: 12px; letter-spacing: .06em; color: var(--q-ink-3); text-transform: uppercase; }
.q-doc__sum { margin-top: 12px; color: var(--q-ink-2); font-size: 15px; max-width: 40ch; }
.q-doc__cta { margin-top: 14px; align-self: flex-start; font-size: 12px; }
@media (min-width: 640px) { .q-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.q-team__nav { display: flex; }
	.q-team__track { gap: 24px; cursor: grab; scroll-snap-type: none; }
	.q-team__track.is-dragging { cursor: grabbing; }
	.q-team__track.is-dragging a { pointer-events: none; }
	.q-team__track .q-doc { width: clamp(280px, 24vw, 380px); }
	.q-team__track .q-doc:nth-child(even) { margin-top: 56px; }
	.q-team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px 32px; }
	.q-team__grid .q-doc:nth-child(3n+2) { margin-top: 64px; }
}
@media (min-width: 1440px) { .q-team__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .q-team__grid .q-doc:nth-child(3n+2) { margin-top: 0; } .q-team__grid .q-doc:nth-child(even) { margin-top: 64px; } }

/* ==========================================================================
   Estrutura: galeria horizontal
   ========================================================================== */
.q-struct { padding-block: var(--q-sec); overflow: hidden; }
.q-struct__track {
	display: flex; gap: 16px; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding-inline: var(--q-gutter); scroll-padding-inline: var(--q-gutter);
}
.q-struct__track::-webkit-scrollbar { display: none; }
.q-struct__intro { flex: none; width: 86%; max-width: 480px; scroll-snap-align: start; padding-right: 8px; }
.q-struct__item { flex: none; width: 80%; scroll-snap-align: start; }
.q-struct__img { aspect-ratio: 3 / 4; border-radius: var(--q-radius); }
.q-struct__item--wide .q-struct__img { aspect-ratio: 4 / 3; }
.q-struct__item--square .q-struct__img { aspect-ratio: 1; }
.q-struct__img img, .q-struct__img .q-ph { width: 100%; height: 100%; object-fit: cover; }
.q-struct__item figcaption { margin-top: 14px; font-family: var(--q-f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--q-ink-2); display: flex; align-items: center; gap: 10px; }
.q-struct__item figcaption::before { content: ""; width: 16px; height: 1px; background: var(--q-red); }
.q-struct__controls { display: none; }
.q-struct__hint { flex: 1; }
@media (min-width: 1024px) {
	.q-struct__controls { display: flex; align-items: center; gap: 10px; margin-top: 40px; }
	.q-struct__track { scroll-snap-type: none; gap: clamp(32px, 4vw, 72px); align-items: center; cursor: grab; padding-bottom: 12px; }
	.q-struct__track.is-dragging { cursor: grabbing; }
	.q-struct__intro { width: clamp(360px, 32vw, 520px); }
	.q-struct__item { width: auto; }
	.q-struct__item--tall .q-struct__img { height: min(68vh, 700px); aspect-ratio: 3 / 4; }
	.q-struct__item--wide .q-struct__img { height: min(52vh, 540px); aspect-ratio: 4 / 3; }
	.q-struct__item--square .q-struct__img { height: min(44vh, 460px); aspect-ratio: 1; align-self: flex-end; }
	.q-struct__item--wide { margin-top: 12vh; }
	.q-struct__hint { display: block; margin-left: 14px; max-width: 140px; height: 1px; background: var(--q-line); position: relative; overflow: hidden; }
	.q-struct__hint-line { position: absolute; inset: 0; background: var(--q-blue); transform-origin: left; transform: scaleX(var(--q-progress, 0)); transition: transform .3s ease; }
}

/* ==========================================================================
   Experiência Quanta
   ========================================================================== */
.q-exp__title { font-family: var(--q-f-display); font-size: clamp(24px, 3vw, 36px); line-height: 1.25; letter-spacing: -.01em; max-width: 26ch; color: var(--q-ink-2); margin-bottom: 56px; }
.q-exp__stage { display: none; }
.q-exp__steps { display: flex; flex-direction: column; gap: 8px; }
.q-exp__step { display: flex; flex-direction: column; }
.q-exp__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--q-radius); margin-bottom: 18px; }
.q-exp__img img, .q-exp__img .q-ph { width: 100%; height: 100%; object-fit: cover; }
.q-exp__word { font-family: var(--q-f-display); font-size: clamp(44px, 10vw, 128px); line-height: 1; letter-spacing: -.04em; font-weight: 320; }
.q-exp__down { display: block; padding: 18px 0 26px; font-size: 22px; color: var(--q-red); }
@media (min-width: 1024px) {
	.q-exp__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); }
	.q-exp__stage { display: block; position: sticky; top: calc(var(--q-header-h) + 40px); height: min(74vh, 760px); border-radius: var(--q-arc); overflow: hidden; }
	.q-exp__frame { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transition: opacity 1s var(--q-ease), transform 1.6s var(--q-ease); }
	.q-exp__frame.is-active { opacity: 1; transform: none; }
	.q-exp__frame img, .q-exp__frame .q-ph { width: 100%; height: 100%; object-fit: cover; }
	.q-exp__img { display: none; }
	.q-exp__steps { padding-block: 18vh 22vh; gap: 0; }
	.q-exp__step { min-height: 34vh; justify-content: center; }
	.q-exp__word { color: var(--q-line); transition: color .7s var(--q-ease); }
	.q-exp__step.is-active .q-exp__word { color: var(--q-ink); }
	.q-exp__step.is-active .q-exp__down { opacity: 1; }
	.q-exp__down { opacity: .3; transition: opacity .6s; }
}

/* ==========================================================================
   Avaliações
   ========================================================================== */
.q-reviews__grid { display: grid; gap: 40px; }
.q-reviews__score { margin-top: 24px; color: var(--q-ink-2); font-size: 15px; }
.q-reviews__stars, .q-review__stars { color: var(--q-blue); letter-spacing: .12em; }
.q-reviews__score strong { color: var(--q-ink); font-weight: 600; }
.q-reviews__rotator { display: grid; }
.q-review { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .8s var(--q-ease), transform 1s var(--q-ease), visibility .8s; }
.q-review.is-active { opacity: 1; visibility: visible; transform: none; }
.q-review__stars { font-size: 14px; }
.q-review__text { margin: 18px 0 0; }
.q-review__text p { font-family: var(--q-f-display); font-size: clamp(24px, 3.2vw, 40px); line-height: 1.25; letter-spacing: -.015em; font-weight: 340; }
.q-review__who { margin-top: 26px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.q-review__who strong { font-weight: 600; }
.q-review__who span { font-family: var(--q-f-mono); font-size: 12px; letter-spacing: .06em; color: var(--q-ink-3); text-transform: uppercase; }
.q-reviews__dots { display: flex; gap: 8px; margin-top: 32px; }
.q-reviews__dots button { width: 28px; height: 20px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.q-reviews__dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--q-line); transition: background .3s; }
.q-reviews__dots button.is-active::after { background: var(--q-blue); }
.q-reviews__body .q-lead { margin-top: 0; font-family: var(--q-f-display); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; color: var(--q-ink); max-width: 30ch; }
@media (min-width: 1024px) { .q-reviews__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; } }

/* ==========================================================================
   Instagram
   ========================================================================== */
.q-insta__grid { display: grid; gap: 40px; }
.q-insta__handle { display: inline-block; margin-top: 16px; font-family: var(--q-f-display); font-style: italic; font-size: clamp(32px, 5vw, 64px); letter-spacing: -.02em; color: var(--q-blue); transition: color .3s; }
.q-insta__handle:hover { color: var(--q-blue-deep); }
.q-insta__head .q-actions { margin-top: 24px; }
.q-insta__posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.q-insta__posts a { display: block; aspect-ratio: 1; border-radius: var(--q-radius); }
.q-insta__posts img { width: 100%; height: 100%; object-fit: cover; }
.q-insta--band .q-insta__grid { align-items: end; }
@media (min-width: 1024px) {
	.q-insta--feed .q-insta__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
	.q-insta__posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.q-insta__posts li:first-child { grid-row: span 2; grid-column: span 2; }
	.q-insta--band .q-insta__head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 48px; }
	.q-insta--band .q-insta__head .q-actions, .q-insta--band .q-insta__handle { margin-top: 0; }
	.q-insta--band .q-insta__handle { justify-self: start; }
}

/* ==========================================================================
   Localização
   ========================================================================== */
.q-local__grid { display: grid; gap: 48px; }
.q-local__info { margin-top: 32px; }
.q-local__name { font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.q-local__info address { display: flex; flex-direction: column; line-height: 1.8; color: var(--q-ink); }
.q-local__dl { margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--q-line); }
.q-local__dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--q-line); }
.q-local__dl dt { font-family: var(--q-f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--q-ink-3); padding-top: 3px; }
.q-local__dl dd { margin: 0; }
.q-local__dl a:hover { color: var(--q-blue); }
.q-local__map { position: relative; min-height: 380px; border-radius: var(--q-arc); overflow: hidden; background: var(--q-linen); }
.q-tone-linen .q-local__map { background: var(--q-white); }
.q-local__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.02); }
.q-local__facade { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px; text-align: center; }
.q-local__line { position: absolute; left: 6%; right: 6%; top: 28%; opacity: .4; }
.q-local__pin { width: 14px; height: 14px; border-radius: 50%; background: var(--q-red); box-shadow: 0 0 0 10px rgba(218,27,27,.1), 0 0 0 22px rgba(218,27,27,.05); margin-bottom: 18px; }
.q-local__note { font-size: 13px; color: var(--q-ink-3); max-width: 30ch; }
.q-local__map.is-loaded .q-local__facade { display: none; }
@media (min-width: 1024px) {
	.q-local__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: stretch; }
	.q-local__map { min-height: 560px; }
}

/* ==========================================================================
   Chamada final
   ========================================================================== */
.q-cta { background: var(--q-blue-deep); color: var(--q-white); overflow: hidden; }
.q-cta .q-title { color: var(--q-white); font-size: clamp(48px, 9vw, 136px); line-height: .96; letter-spacing: -.04em; font-weight: 300; }
.q-cta__line { position: absolute; left: -4%; right: -4%; top: 12%; opacity: .5; pointer-events: none; }
.q-cta__line path { stroke: rgba(255,255,255,.35); }
.q-cta__inner { position: relative; display: grid; gap: 40px; }
.q-cta .q-lead { color: rgba(255,255,255,.82); margin-top: 0; }
.q-cta__list { margin-top: 20px; font-family: var(--q-f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); line-height: 1.9; max-width: 44ch; }
@media (min-width: 1024px) { .q-cta__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: 72px; } }

/* ==========================================================================
   Topo de página interna
   ========================================================================== */
.q-phero { padding-top: clamp(48px, 8vw, 120px); padding-bottom: clamp(48px, 7vw, 96px); }
.q-phero--media { padding-bottom: 0; }
.q-phero__grid { display: grid; gap: 40px; }
.q-phero__main { display: grid; gap: 28px; }
.q-phero__portrait { aspect-ratio: 4 / 5; background: #E9E8E5; }
.q-phero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.q-phero__title { font-size: clamp(46px, 9vw, 128px); line-height: .98; letter-spacing: -.035em; font-weight: 340; }
.q-phero__side .q-lead { margin-top: 0; }
.q-phero__side .q-actions { margin-top: 28px; }
.q-phero__media { margin-top: clamp(48px, 6vw, 88px); height: clamp(320px, 62vh, 760px); overflow: hidden; margin-inline: var(--q-gutter); }
.q-phero__media img { object-position: 50% 30%; }
.q-tone-sand.q-phero { background: linear-gradient(180deg, var(--q-sand) 0%, var(--q-sand) 70%, var(--q-white) 70%); }
@media (min-width: 1024px) {
	.q-phero__main { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: 72px; }
	.q-phero--side .q-phero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: clamp(48px, 6vw, 112px); }
	.q-phero--side .q-phero__main { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.q-phero--side .q-phero__title { font-size: clamp(48px, 5.6vw, 96px); }
	.q-phero--side .q-phero__portrait { aspect-ratio: auto; height: min(78vh, 820px); }
	.q-phero__media { margin-inline: var(--q-gutter) 0; }
}

/* ---------- Texto editorial ---------- */
.q-text__grid { display: grid; gap: 32px; }
.q-text__aside { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--q-line); font-size: 15px; color: var(--q-ink-2); }
.q-text__aside p + p { margin-top: 14px; }
.q-text__aside strong { display: inline-block; font-family: var(--q-f-mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--q-ink); margin-bottom: 4px; }
.q-text__aside a { color: var(--q-blue); }
@media (min-width: 1024px) {
	.q-text__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 96px; }
	.q-text__head { position: sticky; top: calc(var(--q-header-h) + 32px); align-self: start; }
	.q-text--narrow .q-text__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
	.q-text--narrow .q-text__body { grid-column: 2; }
}

/* ---------- Foto + frase ---------- */
.q-stmt { padding-block: 0; }
.q-stmt__grid { display: grid; }
.q-stmt__media { aspect-ratio: 4 / 5; }
.q-stmt__body { padding: 48px var(--q-gutter) var(--q-sec); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.q-stmt__phrase { font-family: var(--q-f-display); font-size: clamp(32px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -.025em; font-weight: 340; max-width: 16ch; }
@media (min-width: 1024px) {
	.q-stmt__grid { grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); min-height: min(92vh, 900px); }
	.q-stmt__media { aspect-ratio: auto; height: 100%; }
	.q-stmt__body { padding: 96px var(--q-gutter) 96px clamp(48px, 5vw, 96px); }
	.q-stmt--left .q-stmt__grid { grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); }
	.q-stmt--left .q-stmt__media { order: 2; }
}

/* ---------- Listas de exames / procedimentos ---------- */
.q-items__head { display: grid; gap: 16px; margin-bottom: 48px; }
.q-items__group + .q-items__group { margin-top: 56px; }
.q-items__group-title { font-family: var(--q-f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--q-ink-2); margin-bottom: 16px; }
.q-items__list { border-top: 1px solid var(--q-ink); }
.q-items__row { border-bottom: 1px solid var(--q-line); }
.q-items__row a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding: 24px 0; transition: padding .5s var(--q-ease); }
.q-items__name { font-family: var(--q-f-display); font-size: clamp(24px, 3vw, 36px); line-height: 1.1; letter-spacing: -.015em; transition: color .3s; }
.q-items__desc { grid-column: 1; color: var(--q-ink-2); font-size: 15px; max-width: 60ch; }
.q-items__go { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--q-ink-3); font-size: 20px; transition: transform .5s var(--q-ease), color .3s; }
.q-items__row a:hover { padding-left: 10px; }
.q-items__row a:hover .q-items__name { color: var(--q-blue); }
.q-items__row a:hover .q-items__go { color: var(--q-red); transform: translateX(6px); }
.q-empty { position: relative; padding: 56px 28px; background: var(--q-linen); border-radius: var(--q-radius); overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.q-tone-linen .q-empty { background: var(--q-white); }
.q-empty__line { position: absolute; right: -4%; top: 16%; width: 60%; opacity: .35; }
.q-empty__title { position: relative; font-family: var(--q-f-display); font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.02em; line-height: 1.1; }
.q-empty__text { position: relative; color: var(--q-ink-2); max-width: 52ch; margin-bottom: 10px; }
@media (min-width: 1024px) { .q-items__head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; } .q-empty { padding: 80px 72px; } }

/* ---------- Fale com a Quanta ---------- */
.q-contact__grid { display: grid; gap: 48px; }
.q-contact__form { display: flex; flex-direction: column; gap: 28px; max-width: 560px; }
.q-field { display: flex; flex-direction: column; gap: 8px; }
.q-field label { font-family: var(--q-f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--q-ink-2); }
.q-field input, .q-field select {
	font: inherit; font-size: 18px; color: var(--q-ink); background: transparent;
	border: 0; border-bottom: 1px solid var(--q-ink-3); border-radius: 0; padding: 12px 0; min-height: 52px;
	transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.q-field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231D232B' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 28px; }
.q-field input:focus, .q-field select:focus { outline: none; border-color: var(--q-blue); }
.q-field input::placeholder { color: var(--q-ink-3); }
.q-contact__note { font-size: 14px; color: var(--q-ink-2); }
.q-contact__form .q-btn { align-self: flex-start; }
.q-contact__err { color: var(--q-red); font-size: 14px; }
@media (min-width: 1024px) { .q-contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 96px; } }

/* ---------- Outras especialidades ---------- */
.q-others { padding-block: 64px; border-top: 1px solid var(--q-line); }
.q-others__label { font-family: var(--q-f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--q-ink-2); margin-bottom: 20px; }
.q-others__list { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.q-others__list a { font-family: var(--q-f-display); font-size: clamp(26px, 3.2vw, 44px); letter-spacing: -.02em; line-height: 1.2; transition: color .3s; background: linear-gradient(var(--q-red), var(--q-red)) 0 92% / 0 1px no-repeat; }
.q-others__list a:hover { color: var(--q-blue); background-size: 100% 1px; transition: color .3s, background-size .6s var(--q-ease); }
.q-404__links { margin-top: 40px; }

/* ---------- Página do profissional ---------- */
.q-doc-page { padding-top: clamp(32px, 5vw, 72px); }
.q-doc-page__grid { display: grid; gap: 40px; }
.q-doc-page__photo { aspect-ratio: 4 / 5; background: #E9E8E5; }
.q-doc-page__photo img, .q-doc-page__photo .q-ph { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.q-doc-page__name { font-size: clamp(44px, 7vw, 96px); line-height: 1; }
.q-doc-page__esp { margin-top: 20px; font-size: 20px; color: var(--q-ink); }
.q-doc-page__reg { margin-top: 8px; color: var(--q-ink-3); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.q-doc-page__content { margin-top: 32px; }
.q-doc-page__esps { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--q-line); }
.q-doc-page__esps ul { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 8px; }
@media (min-width: 1024px) {
	.q-doc-page__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(56px, 7vw, 128px); align-items: start; }
	.q-doc-page__photo { position: sticky; top: calc(var(--q-header-h) + 24px); aspect-ratio: auto; height: calc(100vh - var(--q-header-h) - 48px); max-height: 900px; }
	.q-doc-page__body { padding-top: 8vh; padding-bottom: 8vh; }
}

/* ==========================================================================
   Rodapé
   ========================================================================== */
.q-footer { background: var(--q-white); border-top: 1px solid var(--q-line); padding: 72px 0 calc(104px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
.q-footer__top { display: grid; gap: 40px; }
.q-footer__logo { height: 64px; width: auto; }
.q-footer__claim { margin-top: 20px; font-family: var(--q-f-display); font-size: 22px; line-height: 1.3; max-width: 22ch; color: var(--q-ink-2); }
.q-footer__label { font-family: var(--q-f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--q-ink-3); margin-bottom: 14px; }
.q-footer__links li + li { margin-top: 8px; }
.q-footer__links a { transition: color .3s; }
.q-footer__links a:hover { color: var(--q-blue); }
.q-footer__addr { display: flex; flex-direction: column; line-height: 1.75; }
.q-footer__map { margin-top: 12px; font-size: 12px; }
.q-footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--q-line); display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: var(--q-ink-2); }
.q-footer__bottom a:hover { color: var(--q-blue); }
.q-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
@media (min-width: 900px) {
	.q-footer { padding-bottom: 48px; }
	.q-footer__top { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 48px; }
	.q-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- WhatsApp ---------- */
.q-wa-float {
	position: fixed; right: 24px; bottom: 24px; z-index: 70; width: 56px; height: 56px; border-radius: 50%;
	background: var(--q-white); color: var(--q-ink); display: none; align-items: center; justify-content: center;
	box-shadow: 0 12px 32px -14px rgba(29,35,43,.45), 0 0 0 1px rgba(29,35,43,.06);
	transform: translateY(120%); opacity: 0; transition: transform .7s var(--q-ease), opacity .5s, background .3s, color .3s;
}
.q-wa-float svg { width: 24px; height: 24px; fill: currentColor; }
.q-wa-float:hover { background: var(--q-blue); color: var(--q-white); }
.q-wa-float.is-on { transform: none; opacity: 1; }
.q-mbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
	padding: 10px var(--q-gutter) calc(10px + env(safe-area-inset-bottom, 0px));
	background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-top: 1px solid var(--q-line);
	transform: translateY(110%); transition: transform .6s var(--q-ease);
}
.q-mbar.is-on { transform: none; }
.q-mbar__btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border-radius: var(--q-radius); background: var(--q-blue); color: var(--q-white); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.q-mbar__btn .q-btn__dot { width: 6px; margin: 0; }
.q-menu-open .q-mbar { transform: translateY(110%); }
@media (min-width: 900px) { .q-mbar { display: none; } .q-wa-float { display: flex; } }

/* ---------- Transição entre páginas ---------- */
.q-curtain { position: fixed; inset: 0; z-index: 200; background: var(--q-linen); pointer-events: none; transform: translateY(100%); display: flex; align-items: center; }
.q-curtain__line { width: 70%; margin-inline: auto; opacity: 0; }
.q-leaving .q-curtain { transform: none; transition: transform .55s var(--q-ease); pointer-events: all; }
.q-leaving .q-curtain__line { opacity: 1; transition: opacity .3s .2s; }
.q-entering .q-curtain { transform: none; }
.q-entered .q-curtain { transform: translateY(-100%); transition: transform .8s var(--q-ease); }

/* ==========================================================================
   Estados de animação (somente com JS e sem movimento reduzido)
   ========================================================================== */
.q-js:not(.q-ready-fallback) .q-title .q-ln > span { transform: translateY(105%); }
.q-js:not(.q-ready-fallback) [data-q-reveal] { opacity: 0; transform: translateY(24px); }
.q-js:not(.q-ready-fallback) [data-q-clip] { clip-path: inset(100% 0 0 0); }
.q-js:not(.q-ready-fallback) .q-hero__eyebrow,
.q-js:not(.q-ready-fallback) .q-hero__sub,
.q-js:not(.q-ready-fallback) .q-hero__actions,
.q-js:not(.q-ready-fallback) .q-hero__discover { opacity: 0; }
.q-js:not(.q-ready-fallback) [data-q-draw] path { stroke-dashoffset: 1; }
.q-js:not(.q-ready-fallback) [data-q-draw] circle { transform: scale(0); }
.q-js .is-in .q-ln > span, .q-js .q-ln.is-in > span { transform: none !important; transition: transform 1.15s var(--q-ease); }
.q-js [data-q-reveal].is-in { opacity: 1 !important; transform: none !important; transition: opacity 1s var(--q-ease), transform 1.1s var(--q-ease); }
.q-js [data-q-clip].is-in { clip-path: inset(0 0 0 0) !important; transition: clip-path 1.4s var(--q-ease); }
.q-js [data-q-draw].is-in path { stroke-dashoffset: 0 !important; transition: stroke-dashoffset 2.4s var(--q-ease); }
.q-js [data-q-draw].is-in circle { transform: scale(1) !important; transition: transform .6s 1.9s var(--q-ease); }
.q-js .q-hero.is-in .q-hero__eyebrow { opacity: 1; transition: opacity 1s .1s; }
.q-js .q-hero.is-in .q-hero__sub { opacity: 1; transition: opacity 1.1s .55s; }
.q-js .q-hero.is-in .q-hero__actions { opacity: 1; transition: opacity 1.1s .75s; }
.q-js .q-hero.is-in .q-hero__discover { opacity: 1; transition: opacity 1.2s 1.2s; }
.q-hero.is-in .q-hero__title .q-ln:nth-child(2) > span { transition-delay: .09s; }
.q-hero.is-in .q-hero__title .q-ln:nth-child(3) > span { transition-delay: .18s; }
.q-hero.is-in .q-hero__title .q-ln:nth-child(4) > span { transition-delay: .27s; }
.q-title.is-in .q-ln:nth-child(2) > span { transition-delay: .08s; }
.q-title.is-in .q-ln:nth-child(3) > span { transition-delay: .16s; }
.q-title.is-in .q-ln:nth-child(4) > span { transition-delay: .24s; }

/* Editor do Elementor: tudo visível e estático. */
.elementor-editor-active [data-q-reveal], .elementor-editor-active [data-q-clip], .elementor-editor-active .q-ln > span,
.elementor-editor-active .q-hero__eyebrow, .elementor-editor-active .q-hero__sub, .elementor-editor-active .q-hero__actions, .elementor-editor-active .q-hero__discover { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.elementor-editor-active .q-header { position: absolute; }
.elementor-editor-active .q-struct__pin { height: auto; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.q-hero__video { display: none; }
}

/* Impressão */
@media print {
	.q-header, .q-drawer, .q-wa-float, .q-mbar, .q-curtain, .q-hero__video { display: none !important; }
	body:not(.q-hero-dark) .q-main { padding-top: 0; }
}
