/* ==========================================================================
   Dra. Beatriz Barros Picchi — main.css
   Mobile first. Paleta e tipografia do manual da marca (Cami Agência).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
	/* Paleta oficial (manual) */
	--vinho: #6a2749;      /* ação, títulos, rodapé — branco 10,5:1 */
	--roxo: #5d337e;       /* "Como Funciona", links visitados — branco 9,4:1 */
	--malva: #b18198;      /* linhas e ilustração. Nunca texto pequeno */
	--turquesa: #68b2bc;   /* acento pontual; texto só grande e sobre escuro */
	--areia: #beb29a;      /* molduras, divisórias quentes */
	--gelo: #efeee9;       /* fundo base */
	--branco: #ffffff;
	--grafite: #2e2a2c;    /* texto corrido (derivado) */

	/* Derivadas */
	--vinho-900: #521d38;  /* hover do botão */
	--areia-claro: #ded9cd;/* areia 35% sobre gelo: fundo do mapa */
	--grafite-soft: #574f53;/* texto secundário — 7,3:1 no branco */
	--linha: var(--malva);
	--dot: var(--vinho);   /* marcadores (v2: sai o turquesa, que lia "azul bebê") */

	/* Tipografia (v2): Cormorant Garamond nos títulos + DM Sans no texto.
	   A Quicksand do manual deixava a marca com ar infantil; ela segue só
	   dentro do logo (vetorizado). */
	--font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
	--font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--fs-body: 16px;
	--fs-label: 12px;
	--fs-h1: clamp(34px, 1.3rem + 2.4vw, 58px);
	--fs-h2: clamp(32px, 1.45rem + 1.5vw, 50px);
	--fs-h3: clamp(21px, 1.15rem + .35vw, 26px);
	--fs-lead: clamp(17px, 1rem + .2vw, 19px);

	/* Grid de página */
	--pad: clamp(20px, 5vw, 96px);
	--gap: clamp(16px, 1.7vw, 32px);
	--max: 1320px;
	--col12: calc((var(--max) - 11 * var(--gap)) / 12);
	--col24: calc((var(--max) - 23 * var(--gap)) / 24);

	/* Ritmo vertical (cada seção escolhe o seu) */
	--sp-s: clamp(40px, 5vw, 72px);
	--sp-m: clamp(56px, 6.5vw, 104px);
	--sp-l: clamp(64px, 8vw, 128px);

	--header-h: 72px;
	--logo-h: 44px;
	--bar-h: 72px;
	--stroke: 1.5px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 1024px) {
	:root {
		--fs-body: 17px;
		--header-h: 96px;
		--logo-h: 56px;
		--bar-h: 0px;
	}
}

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond-latin-wght.woff2") format("woff2");
	font-weight: 500 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond-latin-italic-500.woff2") format("woff2");
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "DM Sans";
	src: url("../fonts/dm-sans-latin-wght.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

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

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

body {
	margin: 0;
	padding-top: var(--header-h);
	padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
	background: var(--gelo);
	color: var(--grafite);
	font-family: var(--font);
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: 1.7;
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

:where(h1, h2, h3, h4) {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.005em;
	color: var(--vinho);
	text-wrap: balance;
}

:where(p, ul, ol, figure, blockquote, address) { margin: 0; }
:where(ul, ol) { padding: 0; list-style: none; }
address { font-style: normal; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }

p { text-wrap: pretty; }

a { color: var(--vinho); }

:where(main, .site-footer) p a:not(.btn),
.prose a:not(.btn) {
	color: var(--vinho);
	text-decoration: underline;
	text-decoration-color: var(--malva);
	text-decoration-thickness: 1.5px;
	text-underline-offset: .22em;
	transition: text-decoration-color .2s;
}
:where(main) p a:not(.btn):visited { color: var(--roxo); }
:where(main, .site-footer) p a:not(.btn):hover,
.prose a:not(.btn):hover { text-decoration-color: currentColor; }
.prose a strong { color: inherit; }

:focus-visible {
	outline: 2px solid var(--vinho);
	outline-offset: 3px;
}
.is-dark :focus-visible,
.area--feature :focus-visible,
.site-footer :focus-visible {
	outline-color: var(--branco);
}

::selection { background: var(--vinho); color: var(--branco); }

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

.skip-link {
	position: fixed;
	top: 8px; left: 8px;
	z-index: 1000;
	padding: 12px 20px;
	background: var(--vinho);
	color: var(--branco);
	font-weight: 700;
	border-radius: 999px;
	transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.label {
	font-size: var(--fs-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--vinho);
}

/* --------------------------------------------------------------------------
   Grid de página
   Trilhos externos (full) sangram até a borda; o conteúdo para em 1760px.
   12 colunas ≥768px, 24 colunas ≥1600px.
   -------------------------------------------------------------------------- */
.g {
	display: grid;
	grid-template-columns:
		[full-start] minmax(var(--pad), 1fr)
		[content-start] minmax(0, var(--max))
		[content-end] minmax(var(--pad), 1fr)
		[full-end];
}
.g > * { grid-column: content-start / content-end; min-width: 0; }
/* Elementos absolutos que precisam da largura da tela inteira */
.g > .phases__line,
.g > .steps__line,
.g > .phases__mark,
.g > .intro__mark { grid-column: full-start / full-end; }

@media (min-width: 768px) {
	.g {
		column-gap: var(--gap);
		grid-template-columns:
			[full-start] minmax(calc(var(--pad) - var(--gap)), 1fr)
			[content-start] repeat(12, minmax(0, var(--col12)))
			[content-end] minmax(calc(var(--pad) - var(--gap)), 1fr)
			[full-end];
	}
}
@media (min-width: 1600px) {
	.g {
		grid-template-columns:
			[full-start] minmax(calc(var(--pad) - var(--gap)), 1fr)
			[content-start] repeat(24, minmax(0, var(--col24)))
			[content-end] minmax(calc(var(--pad) - var(--gap)), 1fr)
			[full-end];
	}
}

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 28px;
	border: var(--stroke) solid transparent;
	border-radius: 999px;
	font-family: var(--font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .01em;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 20px; height: 20px; flex: none; }

.btn--solid { background: var(--vinho); color: var(--branco); }
.btn--solid:hover { background: var(--vinho-900); }

.btn--outline { border-color: var(--vinho); color: var(--vinho); }
.btn--outline:hover { background: var(--vinho); color: var(--branco); }

.btn--light { background: var(--branco); color: var(--vinho); }
.btn--light:hover { background: var(--gelo); }

.btn--ghost { background: transparent; color: var(--vinho); border-color: var(--areia); }
.btn--ghost:hover { border-color: var(--vinho); }

.btn--wide { width: 100%; }

.link-strong {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	font-weight: 700;
	color: var(--vinho);
	text-decoration: underline;
	text-decoration-color: var(--malva);
	text-decoration-thickness: 1.5px;
	text-underline-offset: .3em;
}
.link-strong:hover { text-decoration-color: var(--vinho); }

/* --------------------------------------------------------------------------
   Header
   (sem transform/filter/backdrop-filter: não pode virar containing block)
   -------------------------------------------------------------------------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--header-h);
	background: var(--branco);
	border-bottom: 1px solid rgba(190, 178, 154, .55);
	transition: box-shadow .25s;
}
/* Branco sobre o gelo da página: o header se separa do hero já no topo. */
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(106, 39, 73, .07); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }

.site-header__bar {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 100%;
	max-width: calc(var(--max) + 2 * var(--pad));
	margin-inline: auto;
	padding-inline: var(--pad);
}
.site-header__brand {
	display: block;
	flex: none;
	margin-right: auto;
	border-radius: 4px;
}
.site-logo { height: var(--logo-h); width: auto; }

.site-nav { display: none; }
.site-header__cta { display: none; }

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 72px;
	min-height: 48px;
	padding: 0 16px;
	margin-right: -16px;
	border: 0;
	background: none;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .02em;
	color: var(--vinho);
	cursor: pointer;
	text-decoration: underline;
	text-decoration-color: var(--malva);
	text-decoration-thickness: 1.5px;
	text-underline-offset: .35em;
}
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }

@media (min-width: 1024px) {
	.site-header__cta { display: inline-flex; min-height: 48px; padding-inline: 24px; }
	.menu-toggle { margin-right: -8px; }
}

@media (min-width: 1280px) {
	.menu-toggle { display: none; }
	.site-nav { display: block; }
	.site-nav__list {
		display: flex;
		gap: clamp(4px, .9vw, 20px);
	}
	.site-nav__list a {
		display: inline-flex;
		align-items: center;
		min-height: 48px;
		padding-inline: 6px;
		font-size: 15px;
		font-weight: 500;
		color: var(--grafite);
		text-decoration: none;
		white-space: nowrap;
		border-radius: 4px;
		transition: color .2s;
	}
	.site-nav__list a:hover { color: var(--vinho); }
	.site-nav__list a[aria-current="page"] {
		color: var(--vinho);
		text-decoration: underline;
		text-decoration-color: var(--malva);
		text-decoration-thickness: 1.5px;
		text-underline-offset: 8px;
	}
	.site-header__bar { gap: clamp(20px, 2vw, 40px); }
}
@media (min-width: 1280px) and (max-width: 1439.98px) {
	.site-nav__list { gap: 2px; }
	.site-nav__list a { font-size: 14.5px; }
	.site-header__cta { padding-inline: 20px; }
}

/* Painel do menu (fora do header, tela cheia) */
.menu-panel {
	position: fixed;
	inset: var(--header-h) 0 0 0;
	z-index: 99;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
	padding: 8px var(--pad) calc(32px + env(safe-area-inset-bottom, 0px));
	background: var(--branco);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.menu-panel[hidden] { display: none; }
.admin-bar .menu-panel { top: calc(var(--header-h) + 46px); }
@media (min-width: 783px) { .admin-bar .menu-panel { top: calc(var(--header-h) + 32px); } }

.menu-panel__list li { border-bottom: 1px solid rgba(190, 178, 154, .7); }
.menu-panel__list a {
	display: flex;
	align-items: center;
	min-height: 64px;
	font-family: var(--font-display);
	font-size: clamp(28px, 6.5vw, 40px);
	font-weight: 600;
	letter-spacing: 0;
	color: var(--vinho);
	text-decoration: none;
}
.menu-panel__list a[aria-current="page"] {
	text-decoration: underline;
	text-decoration-color: var(--malva);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 8px;
}
.menu-panel__foot { display: grid; gap: 16px; }
.menu-panel__reg { font-size: 14px; color: var(--grafite-soft); }

html.menu-open, html.menu-open body { overflow: hidden; }
@media (min-width: 1280px) { .menu-panel { display: none !important; } }

/* --------------------------------------------------------------------------
   Fio contínuo (SVG desenhado pelo main.js)
   -------------------------------------------------------------------------- */
.thread-scope { position: relative; }
.thread,
.phases__line,
.steps__line {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
	fill: none;
	stroke: var(--linha);
	stroke-width: var(--stroke);
	stroke-linecap: round;
	stroke-linejoin: round;
}
.thread { z-index: 3; }
[data-draw] { fill: none; }

/* --------------------------------------------------------------------------
   Hero
   H1 em duas linhas de tamanho parecido: especialidade + cidade (grafite) e
   o nome da médica (vinho, itálico). Retrato em arco, contido na grade.
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	padding-top: clamp(32px, 5vw, 64px);
	background: var(--gelo);
	overflow: hidden;
}
.hero__mark {
	position: absolute;
	z-index: 0;
	top: -40px;
	right: -120px;
	width: 360px;
	color: var(--malva);
	opacity: .14;
	pointer-events: none;
}
.hero__text { position: relative; z-index: 1; }

.hero__title {
	font-size: clamp(42px, 1.6rem + 3vw, 72px);
	font-weight: 500;
	line-height: 1.06;
	letter-spacing: -0.01em;
	color: var(--grafite);
}
.hero__title br { display: none; }
.hero__kicker,
.hero__name { display: block; }
.hero__name {
	margin-top: .08em;
	font-style: italic;
	font-weight: 500;
	color: var(--vinho);
}
.hero__lead {
	max-width: 32em;
	margin-top: clamp(20px, 2vw, 32px);
	font-size: var(--fs-lead);
	font-weight: 500;
	line-height: 1.55;
	color: var(--grafite);
}
.hero__sub {
	max-width: 34em;
	margin-top: 12px;
	color: var(--grafite-soft);
}
.hero__cta { margin-top: clamp(24px, 2.6vw, 36px); }

/* Faixa de dados do consultório */
.hero__facts {
	position: relative;
	z-index: 1;
	order: 1;
	display: grid;
	margin-top: 32px;
	border-top: 1px solid rgba(190, 178, 154, .7);
	font-size: 14px;
	line-height: 1.45;
	color: var(--grafite);
}
.hero__facts li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(190, 178, 154, .7);
	font-weight: 500;
}
.hero__facts svg {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	fill: none;
	stroke: var(--vinho);
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.hero__facts-sub { font-weight: 400; color: var(--grafite-soft); }
/* Celular: a faixa vai para baixo da foto, com os três dados empilhados. */
@media (max-width: 767.98px) {
	.hero__facts { order: 3; margin: 20px 0 28px; border-top: 0; }
	.hero__facts li:last-child { border-bottom: 0; }
}

.hero__figure {
	position: relative;
	z-index: 2;
	order: 2;
	margin-top: 44px;
}
.hero__photo {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 100vw 100vw 0 0;
	background: var(--areia);
}
.hero__photo picture,
.hero__photo img {
	width: 100%;
	height: 100%;
}
.hero__photo img {
	object-fit: cover;
	object-position: 50% 18%;
}

@media (min-width: 768px) {
	.hero__mark { width: 520px; right: -160px; top: -60px; }
	.hero__text { grid-column: content-start / 11; }
	.hero__facts {
		grid-column: content-start / content-end;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		border-bottom: 1px solid rgba(190, 178, 154, .7);
	}
	.hero__facts li { border-bottom: 0; padding: 18px 20px 18px 0; }
	.hero__facts li + li { padding-left: 20px; border-left: 1px solid rgba(190, 178, 154, .7); }
	.hero__figure {
		grid-column: 3 / 11;
		justify-self: center;
		width: min(100%, 460px);
	}
	.hero__photo {
		border-radius: 0;
		border-top-left-radius: 50% 40%;
		border-top-right-radius: 50% 40%;
	}
}

@media (min-width: 1024px) {
	.hero {
		padding-top: clamp(40px, 4.5vw, 72px);
		grid-template-rows: 1fr auto;
	}
	.hero__mark { width: clamp(560px, 46vw, 820px); right: -12vw; top: -8%; opacity: .12; }
	.hero__text {
		grid-column: content-start / 8;
		grid-row: 1;
		align-self: center;
		padding: 24px clamp(24px, 3vw, 56px) 40px 0;
	}
	.hero__facts {
		grid-column: content-start / 8;
		grid-row: 2;
		align-self: end;
		margin: 0 clamp(24px, 3vw, 56px) clamp(40px, 4vw, 64px) 0;
	}
	.hero__figure {
		grid-column: 8 / content-end;
		grid-row: 1 / 3;
		align-self: end;
		justify-self: end;
		width: min(100%, clamp(400px, 34vw, 520px));
		margin-top: 32px;
	}
	/* moldura areia deslocada, como no retrato de "Quem Cuida" */
	.hero__figure::before {
		content: "";
		position: absolute;
		z-index: -1;
		inset: 28px -28px 0 28px;
		border-top-left-radius: 50% 40%;
		border-top-right-radius: 50% 40%;
		background: var(--areia-claro);
	}
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
	.hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero__facts li:nth-child(2) { display: none; }
}
@media (min-width: 1600px) {
	.hero__text,
	.hero__facts { grid-column: content-start / 14; }
	.hero__figure { grid-column: 14 / content-end; }
}

/* --------------------------------------------------------------------------
   Quem Cuida do Seu Acompanhamento
   -------------------------------------------------------------------------- */
.about {
	position: relative;
	padding-block: var(--sp-m);
	background: var(--branco);
	row-gap: 0;
}
.about__title { font-size: var(--fs-h2); }

.about__photo {
	position: relative;
	justify-self: start;
	width: min(78%, 360px);
	margin-top: 40px;
	margin-left: 18px;
}
.about__photo::before {
	/* moldura areia, deslocada */
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	border-radius: 999px;
	background: var(--areia);
	opacity: .55;
}
.about__photo picture {
	position: relative;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	border-radius: 999px;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.about__reg {
	margin-top: clamp(28px, 3vw, 40px);
	font-family: var(--font-display);
	font-size: clamp(22px, 1.1rem + .6vw, 28px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--vinho);
	font-variant-numeric: lining-nums tabular-nums;
}
.about__sep {
	display: inline-block;
	margin-inline: .2em;
	color: var(--malva);
	font-weight: 500;
}
.about__cta { margin-top: 28px; }
.about__reg + .about__cta { align-self: start; }

/* Linha do tempo — vertical no celular */
.timeline {
	position: relative;
	margin-top: var(--sp-s);
	display: grid;
	gap: 28px;
	padding-left: 32px;
	counter-reset: none;
}
.timeline::before {
	content: "";
	position: absolute;
	top: 10px; bottom: 10px; left: 5px;
	width: var(--stroke);
	background: var(--linha);
}
.timeline__item { position: relative; }
.timeline__item::before {
	content: "";
	position: absolute;
	top: 8px;
	left: -32px;
	width: 12px; height: 12px;
	border-radius: 50%;
	background: var(--dot);
	box-shadow: 0 0 0 5px var(--branco);
}
.timeline__title {
	font-size: var(--fs-h3);
	line-height: 1.2;
}
.timeline__inst {
	display: block;
	margin-top: 6px;
	font-family: var(--font);
	font-size: var(--fs-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--vinho);
}
.timeline__item p {
	max-width: 30em;
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--grafite-soft);
}
.timeline__rule { display: none; }

@media (min-width: 768px) {
	.about__title { grid-column: content-start / 10; }
	.about__photo { grid-column: 7 / content-end; width: auto; }
	.about__reg { grid-column: content-start / 7; grid-row: 2; align-self: end; }
	.about__cta { grid-column: content-start / 7; grid-row: 3; }
	.about__photo { grid-row: 2 / 4; margin-top: 40px; margin-left: 0; margin-right: 18px; }
}

@media (min-width: 1024px) {
	.about { --tl-dot: 12px; }
	/* até a linha 8 (onde desce o fio), com folga para o traço */
	.about__title,
	.about__reg,
	.about__cta { grid-column: content-start / 8; padding-right: clamp(32px, 2.6vw, 56px); }
	.about__title { grid-row: 1; }
	.about__reg { grid-row: 2; align-self: start; }
	.about__cta { grid-row: 3; align-self: start; }
	.about { grid-template-rows: 1fr auto auto 1fr auto; }
	.about__title { align-self: end; }
	.about__photo {
		grid-column: 9 / content-end;
		grid-row: 1 / 5;
		margin: 0 18px 0 0;
		width: min(100%, 310px);
		justify-self: center;
		align-self: center;
	}

	.timeline {
		grid-column: content-start / content-end;
		grid-row: 5;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: var(--gap);
		margin-top: var(--sp-m);
		padding-left: 0;
	}
	.timeline::before { display: none; }
	.timeline__item { padding-top: 44px; padding-right: 8px; }
	.timeline__item::before { top: 0; left: 0; }
	.timeline__rule {
		display: block;
		grid-column: full-start / full-end;
		grid-row: 5;
		align-self: start;
		height: var(--stroke);
		margin-top: calc(var(--sp-m) + 6px - .75px);
		background: var(--linha);
	}
	.js .timeline__rule {
		transform: scaleX(0);
		transform-origin: left center;
		transition: transform 1.4s cubic-bezier(.4, 0, .2, 1);
	}
	.js .timeline__rule.is-in { transform: none; }
}
@media (min-width: 1600px) {
	.about__title,
	.about__reg,
	.about__cta { grid-column: content-start / 14; }
	.about__photo { grid-column: 16 / content-end; }
}

/* --------------------------------------------------------------------------
   Para Quem É o Atendimento
   -------------------------------------------------------------------------- */
.phases {
	position: relative;
	padding-block: var(--sp-m);
	background: var(--gelo);
	overflow: hidden;
}
.phases__mark {
	display: none;
	position: absolute;
	z-index: 0;
	top: 24px;
	right: -90px;
	width: 220px;
	color: var(--malva);
	opacity: .55;
	pointer-events: none;
}
.phases__title { position: relative; font-size: var(--fs-h2); max-width: 11em; }
.phases__intro {
	position: relative;
	max-width: 30em;
	margin-top: 16px;
	font-size: var(--fs-lead);
	font-weight: 400;
	line-height: 1.45;
}
.phases__line { display: none; }

.phases__list {
	position: relative;
	margin-top: 48px;
	display: grid;
	gap: 0;
}
.phase {
	position: relative;
	padding: 20px 0 20px 36px;
	border-left: var(--stroke) solid var(--linha);
	margin-left: 5px;
}
.phase__dot {
	position: absolute;
	top: 30px;
	left: -7px;
	width: 12px; height: 12px;
	border-radius: 50%;
	background: var(--dot);
	box-shadow: 0 0 0 5px var(--gelo);
}
.phase p {
	max-width: 22em;
	font-size: clamp(17px, 1rem + .15vw, 19px);
	font-weight: 500;
	line-height: 1.5;
	color: var(--grafite);
}

@media (min-width: 768px) {
	.phases__title { grid-column: content-start / 10; }
	.phases__intro { grid-column: content-start / 9; }
	.phases__mark { display: block; width: clamp(220px, 21vw, 440px); right: -4vw; top: -36px; }
}

@media (min-width: 1024px) {
	.phases { --rise: clamp(18px, 2.4vw, 40px); padding-bottom: calc(var(--sp-m) + 8px); }
	.phases__intro { grid-column: content-start / 8; }
	.phases__line { display: block; z-index: 0; }
	.phases__list {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		column-gap: var(--gap);
		margin-top: clamp(56px, 5vw, 88px);
		align-items: start;
	}
	.phase {
		border-left: 0;
		margin-left: 0;
		padding: 44px 8px 0 0;
	}
	.phase:nth-child(1) { margin-top: calc(var(--rise) * 4); }
	.phase:nth-child(2) { margin-top: calc(var(--rise) * 3); }
	.phase:nth-child(3) { margin-top: calc(var(--rise) * 2); }
	.phase:nth-child(4) { margin-top: calc(var(--rise) * 1); }
	.phase__dot { top: 0; left: 0; }
	html:not(.js) .phases__list::before {
		content: ""; position: absolute; left: 0; right: 0; top: 6px;
		height: var(--stroke); background: var(--linha);
	}
}
@media (min-width: 1600px) {
	.phases__title { grid-column: content-start / 18; }
	.phases__intro { grid-column: content-start / 14; }
}

/* --------------------------------------------------------------------------
   Áreas de Atuação
   -------------------------------------------------------------------------- */
.areas {
	padding-block: var(--sp-m);
	background: var(--branco);
	row-gap: clamp(32px, 3.5vw, 56px);
}
.areas__title { font-size: var(--fs-h2); }

.area--feature {
	position: relative;
	grid-column: full-start / full-end;
	overflow: hidden;
	padding: clamp(40px, 4.5vw, 80px) var(--pad) clamp(160px, 20vw, 260px);
	background: var(--vinho);
	color: var(--branco);
}
.area__mark {
	position: absolute;
	left: -18%;
	bottom: -14%;
	width: 120%;
	max-width: 900px;
	color: var(--gelo);
	opacity: .16;
	pointer-events: none;
}
.area__body { position: relative; }
.area--feature .area__title {
	font-size: clamp(32px, 1.4rem + 1.8vw, 54px);
	font-weight: 500;
	line-height: 1.05;
	color: var(--branco);
}
.area--feature p {
	max-width: 28em;
	margin-top: 18px;
	font-size: var(--fs-lead);
	line-height: 1.5;
	color: var(--branco);
}
.area--feature .area__more { font-size: var(--fs-body); }
.area--feature .area__more a,
.area--feature .area__more a:visited {
	color: var(--branco);
	text-decoration-color: var(--areia);
	text-decoration-thickness: 2px;
}
.area--feature .area__more a:hover { text-decoration-color: var(--branco); }

.areas__grid { display: grid; gap: 0; }
.area:not(.area--feature) {
	padding-block: 22px 28px;
	border-top: var(--stroke) solid var(--areia);
}
.area:not(.area--feature) .area__title { font-size: var(--fs-h3); line-height: 1.2; }
.area:not(.area--feature) p { max-width: 30em; margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--grafite-soft); }
.area:not(.area--feature) .area__more { margin-top: 10px; }
.area__more { font-weight: 500; }
.area:not(.area--feature) .area__more { color: var(--grafite); }

@media (min-width: 768px) {
	.areas__title { grid-column: content-start / 10; }
	.areas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
	.area--feature {
		display: grid;
		grid-template-columns: subgrid;
		padding-inline: 0;
	}
	.area__body { grid-column: content-start / 11; }
}

@media (min-width: 1024px) {
	.area--feature {
		grid-column: full-start / 8;
		grid-row: 2;
		padding-bottom: clamp(200px, 16vw, 300px);
		align-self: stretch;
	}
	.area__body { grid-column: content-start / 7; }
	.area__mark { width: 115%; left: -24%; bottom: -12%; max-width: 1000px; }
	.areas__grid {
		grid-column: 8 / content-end;
		grid-row: 2;
		align-self: start;
		column-gap: var(--gap);
		padding-left: clamp(0px, 1.5vw, 24px);
	}
	.area:not(.area--feature) { padding-block: 24px 32px; }
}
@media (min-width: 1600px) {
	.areas__title { grid-column: content-start / 18; }
	.area--feature { grid-column: full-start / 15; }
	.area__body { grid-column: content-start / 13; }
	.areas__grid { grid-column: 15 / content-end; }
}

/* --------------------------------------------------------------------------
   Atendimento em Tatuí e Região (v2: mais compacta, com o mapa do Google)
   -------------------------------------------------------------------------- */
.local {
	background: var(--gelo);
	padding-block: var(--sp-m);
	row-gap: 0;
}
.local__title { font-size: var(--fs-h2); margin-bottom: clamp(20px, 2vw, 28px); }
.local__text p { max-width: 34em; }
.local__text p + p { margin-top: 12px; }
.local__cities-intro { margin-top: 12px; }

/* Cidades em linha: "Boituva, Cerquilho, Iperó, Capela do Alto e Cesário Lange" */
.cities {
	display: flex;
	flex-wrap: wrap;
	gap: 0 .3em;
	margin: 6px 0 20px;
	font-family: var(--font-display);
	font-size: clamp(22px, 1.1rem + .5vw, 27px);
	font-weight: 600;
	line-height: 1.35;
	color: var(--vinho);
}
.cities li:not(:nth-last-child(-n+2))::after { content: ","; }
.cities__e {
	font-weight: 500;
	font-style: italic;
	color: var(--grafite-soft);
	margin-right: .1em;
}

.local__map {
	display: flex;
	flex-direction: column;
	margin-top: 36px;
	min-height: 420px;
	overflow: hidden;
	border-radius: 20px;
	background: var(--branco);
	box-shadow: 0 14px 40px rgba(106, 39, 73, .08);
}
.map {
	position: relative;
	flex: 1 1 auto;
	min-height: 280px;
	background: var(--areia-claro);
}
.map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.map__card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	padding: 18px 22px 20px;
	border-top: 1px solid rgba(190, 178, 154, .55);
}
.map__place {
	font-size: var(--fs-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--vinho);
}
.map__addr {
	margin-top: 4px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--grafite);
}
.map__load { min-height: 44px; padding-inline: 22px; }

@media (min-width: 768px) {
	.local__text { grid-column: content-start / 11; }
	.local__map { min-height: 460px; }
}
@media (min-width: 1024px) {
	.local { align-items: center; }
	.local__text {
		grid-column: content-start / 7;
		grid-row: 1;
		padding-right: clamp(0px, 2vw, 32px);
	}
	.local__map {
		grid-column: 7 / content-end;
		grid-row: 1;
		margin-top: 0;
		height: 100%;
		min-height: 460px;
	}
}
@media (min-width: 1600px) {
	.local__text { grid-column: content-start / 13; }
	.local__map { grid-column: 13 / content-end; }
}

/* --------------------------------------------------------------------------
   Como Funciona o Atendimento (v2: vinho profundo + areia, sem roxo/turquesa)
   -------------------------------------------------------------------------- */
.steps {
	--steps-bg: var(--vinho-900);
	position: relative;
	overflow: hidden;
	padding-block: var(--sp-m);
	background: var(--steps-bg);
	color: var(--gelo);
}
.steps::before {
	/* pattern oficial a 6%, como a faixa do rodapé */
	content: "";
	position: absolute;
	inset: 0;
	background: url("../images/brand/pattern-simbolo-gelo.svg") repeat 0 0 / 278px auto;
	opacity: .05;
	pointer-events: none;
}
.steps > :not(svg) { position: relative; }
.steps .steps__title { font-size: var(--fs-h2); color: var(--branco); }
.steps__line { display: none; stroke: rgba(190, 178, 154, .55); }

.steps__list {
	position: relative;
	z-index: 1;
	margin-top: clamp(40px, 4.5vw, 72px);
	display: grid;
	gap: 40px;
	padding-left: 28px;
	border-left: var(--stroke) solid rgba(190, 178, 154, .5);
	margin-left: 6px;
}
.step__num {
	display: inline-block;
	font-family: var(--font-display);
	font-size: clamp(52px, 2rem + 2.4vw, 80px);
	font-style: italic;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	color: var(--areia);
	font-variant-numeric: lining-nums tabular-nums;
}
.steps .step__title {
	margin-top: 12px;
	font-size: var(--fs-h3);
	line-height: 1.2;
	color: var(--branco);
}
.step p { max-width: 26em; margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: rgba(239, 238, 233, .88); }
.steps__cta { position: relative; z-index: 1; margin-top: clamp(40px, 4.5vw, 64px); }

@media (min-width: 768px) {
	.steps__title { grid-column: content-start / 10; }
}
@media (min-width: 1024px) {
	.steps__line { display: block; }
	.steps__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: var(--gap);
		padding-left: 0;
		margin-left: 0;
		border-left: 0;
	}
	.step__num {
		padding-right: .22em;
		background: var(--steps-bg);
	}
	.step { padding-right: clamp(0px, 3vw, 64px); }
}
@media (min-width: 1600px) {
	.steps__title { grid-column: content-start / 18; }
}

/* --------------------------------------------------------------------------
   Avaliações de Pacientes
   -------------------------------------------------------------------------- */
.reviews {
	padding-block: var(--sp-m);
	background: var(--branco);
}
.reviews__title { font-size: var(--fs-h2); }
.reviews__list {
	margin-top: clamp(32px, 4vw, 56px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 48px var(--gap);
}
.review figure {
	height: 100%;
	padding-top: 8px;
	border-top: var(--stroke) solid var(--areia);
}
.review__mark {
	display: block;
	height: .5em;
	font-family: var(--font-display);
	font-size: clamp(88px, 6vw, 120px);
	font-weight: 600;
	line-height: 1;
	color: var(--malva);
}
.review__stars {
	margin-top: 24px;
	font-size: 14px;
	letter-spacing: 3px;
	line-height: 1;
	color: var(--vinho);
}
.review__text p {
	max-width: 24em;
	margin-top: 16px;
	font-family: var(--font-display);
	font-size: clamp(21px, 1.1rem + .45vw, 26px);
	font-weight: 500;
	line-height: 1.4;
	color: var(--grafite);
}
.review__author {
	margin-top: 18px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .02em;
	color: var(--vinho);
}
.reviews__more { margin-top: clamp(32px, 4vw, 56px); }

@media (min-width: 768px) {
	.reviews__title { grid-column: content-start / 10; }
}
@media (min-width: 1024px) {
	.reviews__list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
	.reviews__list[data-count="1"] { grid-template-columns: minmax(0, 1fr); max-width: 50%; }
}

/* --------------------------------------------------------------------------
   Rodapé (vinho + faixa com pattern oficial a 8%)
   -------------------------------------------------------------------------- */
.site-footer {
	background: var(--vinho);
	color: var(--gelo);
	font-size: 16px;
	line-height: 1.6;
}
.site-footer__pattern {
	position: relative;
	height: clamp(88px, 9vw, 152px);
	overflow: hidden;
	border-bottom: 1px solid rgba(239, 238, 233, .16);
}
.site-footer__pattern::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../images/brand/pattern-simbolo-gelo.svg") repeat 0 -20px / 278px auto;
	opacity: .08;
}
.site-footer__grid {
	padding-block: clamp(48px, 6vw, 96px) clamp(32px, 4vw, 56px);
	row-gap: 32px;
}
.site-footer__logo { width: min(100%, 300px); height: auto; }
.site-footer strong { color: var(--branco); font-weight: 700; }
.site-footer a:not(.btn),
.site-footer p a:not(.btn),
.site-footer p a:not(.btn):visited { color: var(--branco); }
.site-footer__contact p + p { margin-top: 4px; }
.site-footer__contact .btn { margin-top: 20px; }
.site-footer__contact p a {
	text-decoration-color: var(--areia);
	white-space: nowrap;
}

.site-footer__social,
.site-footer__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
}
.site-footer__social a,
.site-footer__list a {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 4px;
}
.site-footer__social a:hover,
.site-footer__list a:hover {
	text-decoration: underline;
	text-decoration-color: var(--areia);
	text-decoration-thickness: 1.5px;
	text-underline-offset: .3em;
}
.site-footer__nav {
	padding-top: 16px;
	border-top: 1px solid rgba(239, 238, 233, .16);
}
.site-footer__list--legal a { font-weight: 500; }
.site-footer__disclaimer {
	max-width: 46em;
	margin-top: 12px;
	font-size: 15px;
	color: var(--gelo);
}
.site-footer__amedi { margin-top: 24px; font-size: 14px; }
.site-footer__amedi a { text-decoration-color: rgba(239, 238, 233, .5); }

@media (min-width: 768px) {
	.site-footer__id,
	.site-footer__contact { grid-column: content-start / 7; }
	.site-footer__addr,
	.site-footer__social { grid-column: 7 / content-end; }
	.site-footer__social { flex-direction: column; align-content: start; }
}
@media (min-width: 1024px) {
	.site-footer__brand { grid-column: content-start / 6; grid-row: 1 / 3; }
	.site-footer__id { grid-column: 7 / 10; grid-row: 1; }
	.site-footer__addr { grid-column: 10 / content-end; grid-row: 1; }
	.site-footer__contact { grid-column: 7 / 10; grid-row: 2; }
	.site-footer__social { grid-column: 10 / content-end; grid-row: 2; }
}
@media (min-width: 1600px) {
	.site-footer__brand { grid-column: content-start / 10; }
	.site-footer__id { grid-column: 12 / 17; grid-row: 1; }
	.site-footer__addr { grid-column: 17 / 22; grid-row: 1; }
	.site-footer__contact { grid-column: 12 / 17; grid-row: 2; }
	.site-footer__social { grid-column: 17 / content-end; grid-row: 2; }
}

/* --------------------------------------------------------------------------
   Agendamento fixo
   -------------------------------------------------------------------------- */
.book-bar {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 90;
	padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px));
	background: var(--gelo);
	border-top: 1px solid rgba(190, 178, 154, .8);
}
.book-bar__btn { min-height: 52px; }
html.menu-open .book-bar { display: none; }

.wa-float { display: none; }

@media (min-width: 1024px) {
	.book-bar { display: none; }
	.wa-float {
		position: fixed;
		right: clamp(20px, 2vw, 40px);
		bottom: clamp(20px, 2vw, 40px);
		z-index: 90;
		display: grid;
		place-items: center;
		width: 60px;
		height: 60px;
		border-radius: 50%;
		background: var(--vinho);
		color: var(--branco);
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s, visibility .3s, background-color .2s;
	}
	.wa-float.is-visible { opacity: 1; visibility: visible; }
	.wa-float:hover { background: var(--vinho-900); }
	.wa-float .icon { width: 28px; height: 28px; }
}

/* --------------------------------------------------------------------------
   Aviso de cookies
   -------------------------------------------------------------------------- */
.consent {
	position: fixed;
	left: 0; right: 0;
	bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
	z-index: 95;
	display: grid;
	gap: 16px;
	padding: 20px var(--pad);
	background: var(--branco);
	border-top: var(--stroke) solid var(--vinho);
	font-size: 15px;
	line-height: 1.55;
}
.consent[hidden] { display: none; }
.consent__actions { display: flex; gap: 12px; }
.consent__actions .btn { flex: 1; min-height: 48px; padding-inline: 20px; }
@media (min-width: 1024px) {
	.consent {
		left: clamp(20px, 2vw, 40px);
		right: auto;
		bottom: clamp(20px, 2vw, 40px);
		max-width: 520px;
		padding: 24px 28px;
		border: var(--stroke) solid var(--vinho);
	}
	.consent__actions .btn { flex: none; }
}

/* ==========================================================================
   Páginas internas
   Mesmo sistema da Home: fio malva, marcadores vinho, molduras areia,
   alternância gelo/branco e uma faixa roxa quando há sequência real.
   ========================================================================== */
:root {
	--fs-h1-inner: clamp(46px, 1.8rem + 3vw, 76px);
	--fs-h2-inner: clamp(30px, 1.3rem + 1.4vw, 46px);
}

/* --------------------------------------------------------------------------
   Abertura
   -------------------------------------------------------------------------- */
.intro {
	position: relative;
	padding-block: clamp(32px, 5vw, 72px) var(--sp-s);
	background: var(--gelo);
}
.intro--mark { overflow: hidden; }
.intro__text { position: relative; z-index: 1; }
.intro__title { font-size: var(--fs-h1-inner); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
.intro__sub {
	margin-top: clamp(14px, 1.6vw, 22px);
	font-family: var(--font);
	font-size: var(--fs-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--vinho);
}
.intro__lead {
	max-width: 32em;
	margin-top: clamp(20px, 2vw, 32px);
	font-size: var(--fs-lead);
	font-weight: 500;
	line-height: 1.45;
}
.intro__p { max-width: 34em; margin-top: 14px; color: var(--grafite-soft); }
.intro__cta { margin-top: clamp(26px, 3vw, 40px); }

.intro__mark {
	display: none;
	position: absolute;
	top: 10%;
	right: -3vw;
	height: 80%;
	width: auto;
	max-width: 46vw;
	color: var(--malva);
	opacity: .55;
	pointer-events: none;
}

.intro__photo { position: relative; z-index: 2; background: var(--areia); overflow: hidden; }
.intro__photo picture, .intro__photo img { width: 100%; height: 100%; }
.intro__photo img { object-fit: cover; object-position: 50% 20%; }

/* foto colada na borda (com o fio) */
.intro--edge .intro__photo {
	margin-top: 48px;
	aspect-ratio: 4 / 4.6;
	border-radius: 100vw 100vw 0 0;
}
/* pílula vertical com moldura areia */
.intro--pill .intro__photo {
	justify-self: start;
	width: min(78%, 340px);
	margin: 40px 0 18px 18px;
	aspect-ratio: 2 / 3;
	border-radius: 999px;
	overflow: visible;
	background: none;
}
.intro--pill .intro__photo::before {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	border-radius: 999px;
	background: var(--areia);
	opacity: .55;
}
.intro--pill .intro__photo picture { position: relative; overflow: hidden; border-radius: 999px; }

@media (min-width: 768px) {
	.intro__text { grid-column: content-start / 11; }
	.intro__mark { display: block; }
	.intro--mark .intro__text { grid-column: content-start / 9; }
	.intro--edge .intro__photo {
		grid-column: 5 / full-end;
		aspect-ratio: auto;
		height: clamp(420px, 60vw, 560px);
		border-radius: 0;
		border-top-left-radius: 48% 36%;
	}
}
@media (min-width: 1024px) {
	.intro { padding-block: clamp(56px, 6vw, 112px) var(--sp-m); }
	.intro--edge {
		padding-block: 0;
		min-height: clamp(560px, calc(86svh - var(--header-h)), 860px);
	}
	.intro--edge .intro__text {
		grid-column: content-start / 7;
		grid-row: 1;
		align-self: center;
		padding-block: 64px 80px;
	}
	.intro--edge .intro__photo {
		grid-column: 8 / full-end;
		grid-row: 1;
		height: auto;
		margin-top: 36px;
		border-top-left-radius: 48% 34%;
	}
	.intro--edge .intro__photo img { position: absolute; inset: 0; }

	.intro--pill .intro__text { grid-column: content-start / 8; grid-row: 1; align-self: center; }
	.intro--pill .intro__photo {
		grid-column: 9 / 13;
		grid-row: 1;
		width: auto;
		margin: 0 18px 18px 0;
		justify-self: stretch;
	}
}
@media (min-width: 1600px) {
	.intro--edge .intro__text { grid-column: content-start / 12; }
	.intro--edge .intro__photo { grid-column: 14 / full-end; }
	.intro--mark .intro__text { grid-column: content-start / 16; }
	.intro--pill .intro__text { grid-column: content-start / 14; }
	.intro--pill .intro__photo { grid-column: 17 / 24; }
}

/* --------------------------------------------------------------------------
   Título + texto lado a lado
   -------------------------------------------------------------------------- */
.duo { padding-block: var(--sp-m); background: var(--branco); row-gap: 28px; }
.duo--gelo { background: var(--gelo); }
.duo__title { font-size: var(--fs-h2-inner); }
.duo__body p { max-width: 36em; }
.duo__body p + p { margin-top: 16px; }
.duo__body--lead p { font-size: var(--fs-lead); font-weight: 600; line-height: 1.5; color: var(--grafite); }
.duo__body .duo__cta { margin-top: 32px; }
@media (min-width: 768px) {
	.duo__title { grid-column: content-start / 6; }
	.duo__body { grid-column: 7 / content-end; }
}
@media (min-width: 1600px) {
	.duo__title { grid-column: content-start / 11; }
	.duo__body { grid-column: 13 / content-end; }
}

/* --------------------------------------------------------------------------
   Linhas editoriais (formação, áreas, textos legais)
   -------------------------------------------------------------------------- */
.rows { padding-block: var(--sp-m); background: var(--gelo); }
.rows--white { background: var(--branco); }
.rows__title { font-size: var(--fs-h2-inner); margin-bottom: clamp(32px, 4vw, 56px); }
.row {
	padding-block: 28px 36px;
	border-top: var(--stroke) solid var(--areia);
}
.row:last-child { border-bottom: var(--stroke) solid var(--areia); }
.row__title { font-size: var(--fs-h3); line-height: 1.2; }
.rows--h2 .row__title { font-size: clamp(24px, 1rem + 1.1vw, 36px); line-height: 1.12; }
.row__body { margin-top: 14px; }
.row__body p { max-width: 36em; }
.row__body p + p, .row__body ul + p, .row__body p + ul { margin-top: 14px; }
.row__body h3 { margin-top: 24px; font-size: 20px; }
.row__body h3:first-child { margin-top: 0; }
.row__body h3 + p { margin-top: 8px; }

@media (min-width: 768px) {
	.rows__list,
	.row {
		display: grid;
		grid-template-columns: subgrid;
		grid-column: content-start / content-end;
	}
	.row { column-gap: var(--gap); }
	.row__title { grid-column: 1 / 6; padding-right: 16px; }
	.row__body { grid-column: 7 / 13; margin-top: 0; }
}
@media (min-width: 1600px) {
	.row__title { grid-column: 1 / 11; }
	.row__body { grid-column: 13 / 23; }
}

/* --------------------------------------------------------------------------
   Sequência em texto (fio vertical com marcadores)
   -------------------------------------------------------------------------- */
.flow { padding-block: var(--sp-m); background: var(--branco); row-gap: 32px; }
.flow__title { font-size: var(--fs-h2-inner); }
.flow__list {
	position: relative;
	display: grid;
	gap: 28px;
	padding-left: 34px;
}
.flow__list::before {
	content: "";
	position: absolute;
	top: 12px; bottom: 12px; left: 5px;
	width: var(--stroke);
	background: var(--linha);
}
.flow__list p {
	position: relative;
	max-width: 32em;
	font-size: clamp(18px, 1rem + .35vw, 22px);
	font-weight: 600;
	line-height: 1.5;
}
.flow__list p::before {
	content: "";
	position: absolute;
	top: .55em;
	left: -34px;
	width: 12px; height: 12px;
	border-radius: 50%;
	background: var(--dot);
	box-shadow: 0 0 0 5px var(--branco);
}
@media (min-width: 768px) {
	.flow__title { grid-column: content-start / 6; }
	.flow__list { grid-column: 7 / content-end; }
}
@media (min-width: 1600px) {
	.flow__title { grid-column: content-start / 11; }
	.flow__list { grid-column: 13 / content-end; }
}

/* Onde Atende: mapa à esquerda */
@media (min-width: 1024px) {
	.local--left .local__text { grid-column: 7 / content-end; padding: 0 0 0 clamp(0px, 2vw, 32px); }
	.local--left .local__map { grid-column: content-start / 7; }
}
@media (min-width: 1600px) {
	.local--left .local__text { grid-column: 13 / content-end; }
	.local--left .local__map { grid-column: content-start / 13; }
}

/* --------------------------------------------------------------------------
   Tabela (Atuação) — mesmo estilo das tabelas dos artigos (.prose table)
   -------------------------------------------------------------------------- */
.phases-table { padding-block: var(--sp-m); background: var(--branco); }
.phases-table__title { font-size: var(--fs-h2-inner); }
.phases-table__intro { max-width: 36em; margin-top: 20px; font-size: var(--fs-lead); font-weight: 600; line-height: 1.5; }
.table-wrap { margin-top: clamp(32px, 4vw, 56px); }
.table,
.prose table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}
.table thead th,
.prose table thead th {
	padding: 0 24px 14px 0;
	font-size: var(--fs-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--vinho);
	border-bottom: var(--stroke) solid var(--vinho);
}
.table tbody th,
.table td,
.prose table td,
.prose table tbody th {
	padding: 20px 24px 20px 0;
	vertical-align: top;
	border-bottom: 1px solid var(--areia);
}
.table tbody th { font-family: var(--font-display); font-size: clamp(20px, 1.1rem + .4vw, 24px); font-weight: 600; color: var(--vinho); }
.table td { color: var(--grafite); }
@media (max-width: 599.98px) {
	.table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.table tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--areia); }
	.table tbody th, .table td { display: block; padding: 0; border: 0; }
	.table td { margin-top: 6px; }
}
@media (min-width: 768px) {
	.phases-table__title { grid-column: content-start / 10; }
	.phases-table__intro { grid-column: content-start / 9; }
	.table-wrap { grid-column: content-start / 12; }
	.table thead th:first-child, .table tbody th { width: 34%; }
}

/* --------------------------------------------------------------------------
   Bloco de destaque vinho (Colposcopia e HPV)
   -------------------------------------------------------------------------- */
.feature { padding-block: var(--sp-m); background: var(--gelo); }
.feature__block {
	position: relative;
	grid-column: full-start / full-end;
	display: grid;
	gap: 32px;
	overflow: hidden;
	padding: clamp(48px, 6vw, 104px) var(--pad);
	background: var(--vinho);
	color: var(--branco);
}
.feature__mark {
	position: absolute;
	right: -22%;
	bottom: -18%;
	width: 90%;
	max-width: 860px;
	color: var(--gelo);
	opacity: .13;
	pointer-events: none;
}
.feature__head, .feature__col { position: relative; }
.feature .feature__title { font-size: clamp(32px, 1.3rem + 2.6vw, 68px); line-height: 1.04; color: var(--branco); }
.feature__lead { max-width: 30em; margin-top: 22px; font-size: var(--fs-lead); line-height: 1.5; }
.feature h3 { font-size: var(--fs-h3); color: var(--branco); margin-bottom: 16px; }
.feature__col p { max-width: 32em; }
.feature__col p + p { margin-top: 12px; }
.feature__more { margin-top: 28px !important; font-weight: 700; }
.feature a, .feature a:visited {
	color: var(--branco) !important;
	text-decoration-color: var(--areia) !important;
	text-decoration-thickness: 2px !important;
}
.feature :focus-visible { outline-color: var(--branco); }

/* lista com marcador da marca (ponto vinho) */
.marks { display: grid; gap: 10px; }
.marks li { position: relative; max-width: 34em; padding-left: 24px; }
.marks li::before {
	content: "";
	position: absolute;
	top: .62em;
	left: 2px;
	width: 9px; height: 9px;
	border-radius: 50%;
	background: var(--dot);
}
.marks--links { margin-top: 10px; }

@media (min-width: 768px) {
	.feature__block {
		grid-template-columns: subgrid;
		padding-inline: 0;
		column-gap: var(--gap);
	}
	.feature__head { grid-column: content-start / 11; }
	.feature__col { grid-column: content-start / 11; }
}
@media (min-width: 1024px) {
	.feature__block { grid-column: full-start / 13; row-gap: 48px; }
	.feature__head { grid-column: content-start / 10; }
	.feature__col:nth-of-type(2) { grid-column: content-start / 6; }
	.feature__col:nth-of-type(3) { grid-column: 7 / 12; }
	.feature__mark { right: -10%; width: 64%; }
}
@media (min-width: 1600px) {
	.feature__block { grid-column: full-start / 24; }
	.feature__head { grid-column: content-start / 18; }
	.feature__col:nth-of-type(2) { grid-column: content-start / 11; }
	.feature__col:nth-of-type(3) { grid-column: 12 / 22; }
}

/* --------------------------------------------------------------------------
   Etapas roxas com 4 ou 5 passos
   -------------------------------------------------------------------------- */
.step p strong { color: var(--branco); font-weight: 700; }
.steps--4 .step__num,
.steps--5 .step__num { font-size: clamp(44px, 1.4rem + 2vw, 68px); }
.steps--4 .step p,
.steps--5 .step p { margin-top: 12px; }
@media (min-width: 1024px) {
	.steps--4 .steps__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.steps--5 .steps__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.steps--5 .step { padding-right: clamp(0px, 1.2vw, 24px); }
}

/* --------------------------------------------------------------------------
   Nota (Limites e Cuidados)
   -------------------------------------------------------------------------- */
.note { padding-block: var(--sp-m); background: var(--branco); row-gap: 24px; }
.note__title { font-size: var(--fs-h2-inner); }
.note__body { padding-left: 28px; border-left: var(--stroke) solid var(--linha); }
.note__body p { max-width: 36em; }
.note__body p + p { margin-top: 14px; }
@media (min-width: 768px) {
	.note__title { grid-column: content-start / 6; }
	.note__body { grid-column: 7 / content-end; }
}
@media (min-width: 1600px) {
	.note__title { grid-column: content-start / 11; }
	.note__body { grid-column: 13 / content-end; }
}

/* --------------------------------------------------------------------------
   Fechamento (dados da médica + agendamento)
   -------------------------------------------------------------------------- */
.closing {
	position: relative;
	padding-block: var(--sp-s);
	background: var(--gelo);
	row-gap: 28px;
	align-items: center;
}
.closing__rule {
	grid-column: full-start / full-end;
	grid-row: 1;
	align-self: start;
	height: var(--stroke);
	margin-top: calc(-1 * var(--sp-s));
	background: var(--linha);
}
.closing__id { display: grid; gap: 2px; color: var(--grafite-soft); }
.closing__id strong {
	font-family: var(--font-display);
	font-size: clamp(26px, 1.1rem + 1vw, 36px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0;
	color: var(--vinho);
	margin-bottom: 6px;
}
.closing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.closing__links { display: flex; gap: 24px; }
@media (min-width: 768px) {
	.closing__id { grid-column: content-start / 7; grid-row: 1; }
	.closing__actions { grid-column: 7 / content-end; grid-row: 1; justify-content: flex-start; }
}
@media (min-width: 1600px) {
	.closing__id { grid-column: content-start / 12; }
	.closing__actions { grid-column: 13 / content-end; }
}

/* --------------------------------------------------------------------------
   Conteúdos (biblioteca de artigos)
   -------------------------------------------------------------------------- */
.library { padding-block: var(--sp-s); background: var(--branco); row-gap: 24px; }
.library--group + .library--group { padding-top: 0; }
.library:last-of-type { padding-bottom: var(--sp-l); }
.library__title { font-size: clamp(26px, 1.05rem + 1.7vw, 46px); }
.library__grid { display: grid; gap: 36px; }
.library--group .library__grid { padding-bottom: var(--sp-s); }
.library--group:last-of-type .library__grid { padding-bottom: 0; }

.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding-top: 30px;
}
.post-card__rule {
	position: absolute;
	inset: 0 0 auto 0;
	height: var(--stroke);
	background: var(--linha);
}
.post-card__rule::after {
	content: "";
	position: absolute;
	top: -5px;
	left: 0;
	width: 11px; height: 11px;
	border-radius: 50%;
	background: var(--dot);
	box-shadow: 0 0 0 4px var(--branco);
}
.post-card__media {
	order: -1;
	margin: -30px 0 24px;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-top-left-radius: 48% 36%;
	background: var(--areia-claro);
}
.post-card__media + .post-card__rule { position: relative; inset: auto; flex: none; margin-bottom: 24px; }
.post-card__media:has(+ .post-card__rule) { margin-bottom: 18px; }
.post-card__img { width: 100%; height: 100%; object-fit: cover; }
.post-card__title { font-size: var(--fs-h3); line-height: 1.25; text-wrap: pretty; }
.post-card__title a { color: var(--vinho); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__title a:focus-visible { outline: none; }
.post-card:focus-within { outline: 2px solid var(--vinho); outline-offset: 6px; }
.post-card:hover .post-card__title a { text-decoration: underline; text-decoration-color: var(--malva); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.post-card__desc { max-width: 32em; margin-top: 12px; color: var(--grafite-soft); }

.library--lead {
	padding-block: var(--sp-m);
	background: var(--vinho);
	color: var(--branco);
}
.library--lead .library__title { color: var(--branco); }
.library--lead :focus-visible { outline-color: var(--branco); }
.post-card--featured { padding-top: 0; }
.post-card--featured .post-card__rule { display: none; }
.post-card--featured .post-card__title { font-size: clamp(26px, 1.1rem + 1.9vw, 52px); line-height: 1.1; max-width: 18em; }
.post-card--featured .post-card__title a { color: var(--branco); }
.post-card--featured .post-card__desc { color: var(--gelo); font-size: var(--fs-lead); line-height: 1.5; max-width: 30em; }
.post-card--featured:hover .post-card__title a { text-decoration-color: var(--areia); }
.post-card--featured:focus-within { outline-color: var(--branco); }
.post-card--featured .post-card__media { margin: 0 0 28px; }

@media (min-width: 768px) {
	.library { align-items: start; }
	.library__title { grid-column: content-start / 6; grid-row: 1; padding-right: 16px; }
	.library__grid,
	.library__featured { grid-column: 7 / content-end; grid-row: 1; }
}
@media (min-width: 1600px) {
	.library__title { grid-column: content-start / 11; }
	.library__grid,
	.library__featured { grid-column: 13 / content-end; }
}

/* --------------------------------------------------------------------------
   Checklist (O Que Levar)
   -------------------------------------------------------------------------- */
.checklist { padding-block: var(--sp-m); background: var(--branco); row-gap: 28px; }
.checklist__title { font-size: var(--fs-h2-inner); }
.checklist__list { display: grid; column-gap: var(--gap); }
.checklist__list li {
	position: relative;
	padding: 16px 0 16px 34px;
	border-bottom: 1px solid var(--areia);
	font-weight: 600;
}
.checklist__list li::before {
	/* marcador da marca: anel malva com ponto vinho */
	content: "";
	position: absolute;
	top: 22px;
	left: 0;
	width: 16px; height: 16px;
	border-radius: 50%;
	border: var(--stroke) solid var(--malva);
}
.checklist__list li::after {
	content: "";
	position: absolute;
	top: 27.5px;
	left: 5.5px;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--dot);
}
@media (min-width: 768px) {
	.checklist__title { grid-column: content-start / 6; }
	.checklist__list { grid-column: 7 / content-end; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
}
@media (min-width: 1600px) {
	.checklist__title { grid-column: content-start / 11; }
	.checklist__list { grid-column: 13 / content-end; }
}

/* --------------------------------------------------------------------------
   Par lado a lado (Presencial | Teleconsulta) e avisos
   -------------------------------------------------------------------------- */
.pair { padding-block: var(--sp-m); background: var(--gelo); row-gap: 36px; }
.pair__title { font-size: var(--fs-h2-inner); }
.pair__item { padding-top: 24px; border-top: var(--stroke) solid var(--vinho); }
.pair__item h3 { font-size: clamp(24px, 1rem + 1.2vw, 38px); margin-bottom: 14px; }
.pair__item p { max-width: 34em; }
.pair__item p + p { margin-top: 12px; }
@media (min-width: 768px) {
	.pair__title { grid-column: content-start / 10; }
	.pair__item:nth-of-type(1) { grid-column: content-start / 7; }
	.pair__item:nth-of-type(2) { grid-column: 7 / content-end; }
	.pair__item { grid-row: 2; }
}
@media (min-width: 1600px) {
	.pair__item:nth-of-type(1) { grid-column: content-start / 12; }
	.pair__item:nth-of-type(2) { grid-column: 13 / content-end; }
}

.notices { padding-block: var(--sp-m); background: var(--branco); }
.notices__title { font-size: var(--fs-h2-inner); margin-bottom: clamp(28px, 3vw, 48px); }
.notices__grid { display: grid; gap: 36px var(--gap); }
.notice { padding-top: 22px; border-top: var(--stroke) solid var(--areia); }
.notice h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
.notice p { max-width: 32em; color: var(--grafite-soft); }
.notice p + p { margin-top: 10px; }
.notice--urgent { border-top: 3px solid var(--vinho); }
.notice--urgent p { color: var(--grafite); }
@media (min-width: 768px) {
	.notices__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   Contato
   -------------------------------------------------------------------------- */
.contact { padding-top: var(--sp-m); background: var(--branco); }
.contact__block { padding-block: 24px 32px; border-top: var(--stroke) solid var(--areia); }
.contact__block--talk { border-top: 0; padding-top: 0; }
.contact__title { font-size: clamp(24px, 1rem + 1.2vw, 38px); margin-bottom: 16px; }
.contact__block p { max-width: 34em; }
.contact__block p + p { margin-top: 8px; }
.contact__block--hours { padding-bottom: var(--sp-m); }
.contact .local__map { margin-top: 0; margin-bottom: 8px; }
@media (min-width: 1024px) {
	.contact { padding-bottom: 0; }
	.contact__block { grid-column: content-start / 7; }
	.contact__block--talk { grid-row: 1; }
	.contact__block--addr { grid-row: 2; }
	.contact__block--hours { grid-row: 3; align-self: start; }
	.contact .local__map {
		grid-column: 8 / content-end;
		grid-row: 1 / 4;
		align-self: stretch;
		margin: 0 0 var(--sp-m);
		min-height: 520px;
	}
}
@media (min-width: 1600px) {
	.contact__block { grid-column: content-start / 12; }
	.contact .local__map { grid-column: 14 / content-end; }
}

/* FAQ */
.faq { padding-block: var(--sp-m) var(--sp-l); background: var(--gelo); }
.faq__title { font-size: var(--fs-h2-inner); margin-bottom: clamp(28px, 3vw, 48px); }
.faq__list { display: grid; column-gap: var(--gap); align-items: start; }
.faq__item { border-top: 1px solid var(--areia); }
.faq__item:last-child { border-bottom: 1px solid var(--areia); }
.faq__item summary {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 64px;
	padding: 14px 44px 14px 0;
	cursor: pointer;
	list-style: none;
	border-radius: 4px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: clamp(18px, 1rem + .3vw, 21px); line-height: 1.35; }
.faq__item summary::before,
.faq__item summary::after {
	content: "";
	position: absolute;
	right: 8px;
	top: 50%;
	width: 16px;
	height: var(--stroke);
	background: var(--vinho);
	transition: transform .25s var(--ease);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item p { max-width: 36em; padding: 0 44px 24px 0; color: var(--grafite-soft); }
@media (min-width: 768px) {
	.faq__title { grid-column: content-start / 10; }
}
@media (min-width: 1024px) {
	.faq__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.faq__item:nth-last-child(2) { border-bottom: 1px solid var(--areia); }
}

/* Grid de 24 colunas: posições que faltavam */
@media (min-width: 1600px) {
	.reviews__title,
	.phases-table__title,
	.pair__title,
	.faq__title { grid-column: content-start / 20; }
	.phases-table__intro { grid-column: content-start / 17; }
	.table-wrap { grid-column: content-start / 23; }
	.page-intro h1,
	.page-body .prose { grid-column: content-start / 17; }
}

/* --------------------------------------------------------------------------
   Páginas internas (fallback)
   -------------------------------------------------------------------------- */
.page-intro {
	padding-block: var(--sp-s);
	background: var(--gelo);
}
.page-intro h1 { font-size: var(--fs-h2); }
.page-body {
	padding-block: var(--sp-s) var(--sp-l);
	background: var(--branco);
}
.prose > * + * { margin-top: 1em; }
.prose { max-width: 40em; }
.prose :where(h2) { margin-top: 2em; font-size: clamp(26px, 1.2rem + 1.2vw, 40px); }
.prose :where(h3) { margin-top: 1.6em; font-size: var(--fs-h3); }
.prose :where(ul) { padding-left: 1.2em; list-style: disc; }
.prose :where(ul) li::marker { color: var(--dot); }
.prose :where(ol) { padding-left: 1.4em; list-style: decimal; }
.prose img { border-radius: 4px; }
@media (min-width: 1024px) {
	.page-intro h1, .page-body .prose { grid-column: content-start / 9; }
}

.page-404 { padding-block: var(--sp-l); background: var(--gelo); }
.page-404 p { margin-top: 20px; max-width: 32em; }
.page-404 .btn { margin-top: 28px; }

/* --------------------------------------------------------------------------
   Artigo (single.php)
   Topo gelo com o ícone em malva, capa com o recorte orgânico da marca,
   sumário lateral fixo, leitura em coluna e fechamento com a autora.
   -------------------------------------------------------------------------- */
.read-progress {
	position: fixed;
	inset: var(--header-h) 0 auto 0;
	z-index: 99;
	height: 3px;
	pointer-events: none;
}
.admin-bar .read-progress { top: calc(var(--header-h) + 46px); }
@media (min-width: 783px) { .admin-bar .read-progress { top: calc(var(--header-h) + 32px); } }
.read-progress__bar {
	display: block;
	height: 100%;
	background: var(--vinho);
	transform: scaleX(var(--read, 0));
	transform-origin: 0 50%;
}

/* Topo */
.article-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(28px, 4vw, 64px) clamp(40px, 5vw, 80px);
	background: var(--gelo);
}
.g > .article-hero__mark { grid-column: full-start / full-end; }
.article-hero__mark {
	display: none;
	position: absolute;
	top: 8%;
	right: -4vw;
	height: 92%;
	width: auto;
	max-width: 40vw;
	color: var(--malva);
	opacity: .3;
	pointer-events: none;
}
.article-hero__text { position: relative; z-index: 1; }

.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.breadcrumb li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: var(--fs-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--vinho);
}
.breadcrumb li + li::before {
	content: "";
	width: 14px;
	height: var(--stroke);
	background: var(--malva);
}
.breadcrumb a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	color: var(--grafite-soft);
	text-decoration: none;
}
.breadcrumb a:hover { color: var(--vinho); text-decoration: underline; text-decoration-color: var(--malva); text-underline-offset: .3em; }

.article-hero__title {
	max-width: 20em;
	margin-top: clamp(16px, 2vw, 28px);
	font-size: clamp(36px, 1.5rem + 2.4vw, 66px);
	font-weight: 500;
	line-height: 1.06;
	letter-spacing: -0.01em;
}
.article-hero__lead {
	max-width: 36em;
	margin-top: clamp(18px, 2vw, 28px);
	font-size: var(--fs-lead);
	font-weight: 500;
	line-height: 1.5;
}

.byline {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	max-width: 46em;
	margin-top: clamp(28px, 3vw, 40px);
	padding-top: 24px;
	border-top: 1px solid var(--areia);
}
.byline__photo {
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--areia);
	box-shadow: 0 0 0 3px var(--gelo), 0 0 0 4.5px var(--areia);
}
.byline__photo picture, .byline__photo img { width: 100%; height: 100%; }
.byline__photo img { object-fit: cover; object-position: 50% 18%; }
.byline__text { display: grid; line-height: 1.4; }
.byline__name { font-weight: 600; }
.byline__name a { color: var(--vinho); text-decoration: none; }
.byline__name a:hover { text-decoration: underline; text-decoration-color: var(--malva); text-underline-offset: .22em; }
.byline__reg { font-size: 13.5px; color: var(--grafite-soft); }
.byline__meta {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--grafite-soft);
}

/* Capa */
.article-cover { background: linear-gradient(to bottom, var(--gelo) 50%, var(--branco) 50%); }
.article-cover__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-top-left-radius: clamp(72px, 18vw, 300px);
	background: var(--areia-claro);
}
.article-cover__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* Corpo */
.article-body {
	padding-block: clamp(40px, 5vw, 80px) var(--sp-l);
	background: var(--branco);
	row-gap: 40px;
	align-items: start;
}
.article-main { min-width: 0; }

/* Sumário */
.toc { border-top: var(--stroke) solid var(--vinho); border-bottom: 1px solid var(--areia); }
.toc__title {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 56px;
	padding-right: 36px;
	font-size: var(--fs-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--vinho);
	cursor: pointer;
	list-style: none;
}
.toc__title::-webkit-details-marker { display: none; }
.toc__title::before,
.toc__title::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	width: 14px;
	height: var(--stroke);
	background: var(--vinho);
	transition: transform .25s var(--ease);
}
.toc__title::after { transform: rotate(90deg); }
.toc[open] .toc__title::after { transform: rotate(0deg); }
.toc__list { padding-bottom: 12px; }
.toc__list a {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 8px;
	padding: 9px 0;
	font-size: 14.5px;
	line-height: 1.4;
	color: var(--grafite-soft);
	text-decoration: none;
	transition: color .2s;
}
.toc__list li + li a { border-top: 1px solid rgba(190, 178, 154, .45); }
.toc__num { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--vinho); padding-top: 1px; }
.toc__list a:hover { color: var(--vinho); }
.toc__list a.is-active { color: var(--vinho); font-weight: 600; }

.aside-cta { display: none; }

/* Texto */
.article-content {
	max-width: 42em;
	font-size: clamp(16.5px, 1rem + .12vw, 18px);
	line-height: 1.75;
}
.article-content > * + * { margin-top: 1.1em; }
.article-content > p:first-child { font-size: var(--fs-lead); line-height: 1.6; }
.article-content :where(h2) {
	margin-top: clamp(48px, 5vw, 72px);
	font-size: var(--fs-h2-inner);
	font-weight: 500;
	line-height: 1.1;
}
.article-content :where(h3) { margin-top: 2em; font-size: var(--fs-h3); line-height: 1.25; }
.article-content :where(h4) { margin-top: 1.6em; font-family: var(--font); font-size: 1em; font-weight: 700; color: var(--grafite); }
.article-content > :where(h2, h3, h4) + * { margin-top: .7em; }
.article-content strong { font-weight: 600; }
.article-content :where(h1, h2, h3, h4) :where(strong, b) { font-weight: inherit; }

.article-content :where(ul) { padding-left: 0; list-style: none; }
.article-content :where(ul) > li { position: relative; padding-left: 26px; }
.article-content :where(ul) > li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .72em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--dot);
}
.article-content :where(ol) { padding-left: 0; list-style: none; counter-reset: item; }
.article-content :where(ol) > li { position: relative; padding-left: 38px; counter-increment: item; }
.article-content :where(ol) > li::before {
	content: counter(item, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: .1em;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--vinho);
}
.article-content :where(ul, ol) > li + li { margin-top: .5em; }

.article-content blockquote {
	padding: 4px 0 4px clamp(20px, 2.5vw, 32px);
	border-left: var(--stroke) solid var(--malva);
	font-family: var(--font-display);
	font-size: clamp(22px, 1.1rem + .7vw, 28px);
	font-style: italic;
	font-weight: 500;
	line-height: 1.35;
	color: var(--vinho);
}
.article-content blockquote cite { display: block; margin-top: 10px; font-family: var(--font); font-size: 14px; font-style: normal; color: var(--grafite-soft); }

.article-content hr,
.article .article-content hr.wp-block-separator { height: var(--stroke); margin-block: clamp(40px, 4vw, 56px); border: 0; background: var(--linha); opacity: 1; }
.article-content hr + :where(h2) { margin-top: 0; }
.article-content figure img, .article-content > img { border-radius: 4px; }
.article-content figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--grafite-soft); }

/* Tabelas: mesmo estilo da Atuação, com rolagem no celular */
.article-content .wp-block-table,
.article-content .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article-content table { min-width: 520px; font-size: .94em; line-height: 1.55; }
.article-content :where(.wp-block-table, table) :is(td, th) { padding: 16px 20px 16px 0; border: 0; border-bottom: 1px solid var(--areia); vertical-align: top; }
.article-content .wp-block-table :is(thead, tfoot) { border: 0; }
.article-content table thead th { border-bottom: var(--stroke) solid var(--vinho); }
.article-content table tr:first-child td { font-weight: 600; color: var(--vinho); border-bottom: var(--stroke) solid var(--vinho); }
.article-content table thead + tbody tr:first-child td { font-weight: 400; color: inherit; border-bottom: 1px solid var(--areia); }
.article-content table td:first-child { font-weight: 600; }

/* Perguntas frequentes (acordeão gerado de H3 + resposta) */
.article-faq { margin-top: 24px; }
.article-faq .faq__item summary h3 { margin: 0; font-family: var(--font-display); font-size: clamp(19px, 1rem + .4vw, 23px); font-weight: 600; }
.article-faq .faq__answer { padding: 0 44px 24px 0; color: var(--grafite-soft); }
.article-faq .faq__answer > * + * { margin-top: .8em; }
.article-faq .faq__item p { max-width: none; padding: 0; }

/* Nota educativa */
.article-note {
	max-width: 42em;
	margin-top: clamp(48px, 5vw, 72px);
	padding-left: clamp(20px, 2.5vw, 28px);
	border-left: var(--stroke) solid var(--linha);
	font-size: 15px;
	line-height: 1.65;
	color: var(--grafite-soft);
}
.article-note > * + * { margin-top: 10px; }
.article-note__title {
	font-size: var(--fs-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--vinho);
}

/* Quem escreve */
.author-box {
	display: grid;
	gap: 24px;
	max-width: 42em;
	margin-top: clamp(40px, 4vw, 56px);
	padding: clamp(28px, 3.5vw, 44px);
	background: var(--gelo);
	border-top-left-radius: clamp(48px, 7vw, 96px);
}
.author-box__photo {
	width: 132px;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 999px;
	background: var(--areia);
}
.author-box__photo picture, .author-box__photo img { width: 100%; height: 100%; }
.author-box__photo img { object-fit: cover; object-position: 50% 18%; }
.author-box__eyebrow {
	font-size: var(--fs-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--vinho);
}
.author-box__name { margin-top: 8px; font-size: clamp(26px, 1.1rem + 1vw, 34px); line-height: 1.12; }
.author-box__reg { margin-top: 4px; font-size: 14px; color: var(--grafite-soft); }
.author-box__reg + p { margin-top: 16px; font-size: 15.5px; line-height: 1.65; }
.author-box__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 24px; }

/* Continue Lendo */
.related { padding-block: var(--sp-m) var(--sp-l); background: var(--gelo); row-gap: clamp(28px, 3vw, 44px); }
.related__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; }
.related__title { font-size: var(--fs-h2-inner); font-weight: 500; }
.related__grid { display: grid; gap: 40px; }
.related .post-card__rule::after { box-shadow: 0 0 0 4px var(--gelo); }

@media (min-width: 768px) {
	.article-hero__mark { display: block; }
	.article-hero__text { grid-column: content-start / 11; }
	.byline { grid-template-columns: 56px auto minmax(0, 1fr); }
	.byline__meta { grid-column: 3; justify-self: end; align-items: flex-end; text-align: right; }
	.article-cover__media { aspect-ratio: 16 / 8; }
	.author-box { grid-template-columns: 160px minmax(0, 1fr); align-items: center; gap: 36px; }
	.author-box__photo { width: 160px; }
	.related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
}

@media (min-width: 1024px) {
	.article-hero__text { grid-column: content-start / 10; }
	.article-cover__media { aspect-ratio: 21 / 9; }

	.article-aside {
		grid-column: content-start / 5;
		grid-row: 1;
		position: sticky;
		top: calc(var(--header-h) + 32px);
		max-height: calc(100vh - var(--header-h) - 48px);
		overflow-y: auto;
		scrollbar-width: thin;
	}
	.article-main { grid-column: 6 / content-end; grid-row: 1; }
	.article-body--no-toc .article-main { grid-column: 3 / 11; }

	.toc { border-bottom: 0; }
	.toc__title { pointer-events: none; padding-right: 0; }
	.toc__title::before, .toc__title::after { display: none; }
	.toc__list a { position: relative; }
	.toc__list a.is-active::before {
		content: "";
		position: absolute;
		left: -14px;
		top: 50%;
		width: 7px;
		height: 7px;
		margin-top: -3.5px;
		border-radius: 50%;
		background: var(--dot);
	}

	.aside-cta {
		display: block;
		margin-top: 28px;
		padding: 24px;
		background: var(--gelo);
		border-top-left-radius: 40px;
	}
	.aside-cta__title { font-family: var(--font-display); font-size: 23px; font-weight: 600; line-height: 1.2; color: var(--vinho); }
	.aside-cta p:not(.aside-cta__title) { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--grafite-soft); }
	.aside-cta .btn { margin-top: 18px; padding-inline: 16px; }
}

@media (min-width: 1600px) {
	.article-hero__text { grid-column: content-start / 18; }
	.article-aside { grid-column: content-start / 7; }
	.article-main { grid-column: 9 / content-end; }
	.article-body--no-toc .article-main { grid-column: 5 / 21; }
}

/* --------------------------------------------------------------------------
   Movimento (fade + 12px, 400ms) — só com JS e sem reduced-motion
   -------------------------------------------------------------------------- */
.js .reveal {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

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

@media print {
	.site-header, .menu-panel, .book-bar, .wa-float, .consent, .thread, .site-footer__pattern { display: none !important; }
	body { padding: 0; }
}
