/* ==========================================================================
   Dr. Dalton Ladeira Odontologia — tema Amedi
   Mobile-first: estilos base = celular; min-width expande para tablet/desktop.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Paleta e tokens — identidade visual do cliente
   (context/identidade/Proporcao-de-cores (2).jpeg): azul institucional
   #202659, azul destaque #3099BF, azul claro de apoio #6DB7D1, cinza claro
   #E8EDF2 e branco, na proporção 80% branco / 15% azul escuro / 5% azul claro.
   Tipografia: o guia sugere Montserrat/Lato/Poppins; o site usa Red Hat
   Display (títulos) e Red Hat Text (corpo), escolha aprovada com o cliente.
   Para ajustar as cores do site inteiro, altere só os valores abaixo.
   -------------------------------------------------------------------------- */
:root {
	--color-bg: #FFFFFF;              /* fundo do site (80%) */
	--color-tint: #E8EDF2;            /* cinza claro da marca: seções alternadas */
	--color-primary: #202659;         /* azul institucional: títulos, texto, rodapé */
	--color-text: #202659;            /* texto principal (a tinta da marca, não preto) */
	--color-muted: #4A5180;           /* texto de apoio, derivado do azul institucional */
	--color-accent: #3099BF;          /* azul destaque: só a lâmina, as figuras e detalhes */
	--color-accent-text: #1C6E92;     /* azul destaque escurecido: texto sobre claro (AA) */
	--color-accent-soft: #6DB7D1;     /* azul claro de apoio: detalhes sobre o azul escuro */
	--color-line: #D3DCE5;            /* divisórias */
	--color-on-primary: #FFFFFF;      /* texto sobre o azul institucional */
	--color-on-primary-muted: #C9CFE6;
	--color-whatsapp: #25D366;

	/* Lâmina do logo: triângulo afilado, largo à esquerda e fino à direita. */
	--blade-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 4' preserveAspectRatio='none'%3E%3Cpolygon points='0,0 100,2 0,4' fill='%233099BF'/%3E%3C/svg%3E");

	--font-display: "Red Hat Display", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-body: "Red Hat Text", "Segoe UI", system-ui, -apple-system, sans-serif;

	--text-xs: 0.875rem;
	--text-s: 1rem;
	--text-m: 1.125rem;
	--text-l: 1.375rem;
	--text-xl: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
	--text-xxl: clamp(2.125rem, 1.35rem + 3.3vw, 3.5rem);

	--header-h: 68px;
	--gutter: 20px;
	--container: 1200px;
	--section-y: 72px;
	--radius-arch: 96px;
	--ease: cubic-bezier(.6, 0, .2, 1);
}

@media (min-width: 768px) {
	:root {
		--gutter: 32px;
		--section-y: 104px;
		--radius-arch: 120px;
	}
}

@media (min-width: 1100px) {
	:root {
		--header-h: 80px;
		--gutter: 48px;
		--section-y: 128px;
	}
}

/* --------------------------------------------------------------------------
   Base (em :where() para não pesar sobre o Elementor nem sobre componentes)
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: var(--text-m);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

:where(body:not(.dalton-has-elementor) :is(h1, h2, h3, h4):not(.elementor *)) {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-wrap: balance;
	color: var(--color-primary);
}

:where(body:not(.dalton-has-elementor) :is(p, ul, ol, blockquote, figure, address):not(.elementor *)) {
	margin: 0;
}

:where(body:not(.dalton-has-elementor) :is(ul, ol):not(.elementor *)) {
	padding: 0;
	list-style: none;
}

:where(a) {
	color: inherit;
}

:where(address) {
	font-style: normal;
}

img,
svg,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	display: block;
}

:focus-visible {
	outline: 3px solid var(--color-accent);
	outline-offset: 3px;
	border-radius: 2px;
}

::selection {
	background: var(--color-accent-soft);
	color: var(--color-primary);
}

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

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 100;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 18px;
	background: var(--color-primary);
	color: var(--color-on-primary);
	border-radius: 999px;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   Lâmina (elemento gráfico do logo)
   -------------------------------------------------------------------------- */
.blade {
	background: var(--color-accent);
}

/* Fecha os heros: fina à esquerda, cresce até a direita (como no logotipo). */
.blade--hero {
	height: 14px;
	clip-path: polygon(0 100%, 100% 0, 100% 100%);
	animation: blade-grow 1.4s var(--ease) .15s both;
}

.blade--closing {
	height: 10px;
	width: min(560px, 70%);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}

@keyframes blade-grow {
	from {
		clip-path: polygon(0 100%, 0 100%, 0 100%);
	}
}

@media (min-width: 768px) {
	.blade--hero {
		height: 22px;
	}
}

/* Link com sublinhado afilado. */
.link-blade {
	display: inline-block;
	padding-bottom: 7px;
	font-weight: 500;
	color: var(--color-primary);
	text-decoration: none;
	background: var(--blade-svg) left bottom / 100% 4px no-repeat;
	transition: background-size .25s ease;
}

.link-blade:hover {
	background-size: 118% 4px;
}

span.link-blade {
	background: none;
	padding-bottom: 0;
}

.link-group {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
}

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 26px;
	border: 2px solid var(--color-primary);
	border-radius: 999px;
	background: var(--color-primary);
	color: var(--color-on-primary);
	font-family: var(--font-display);
	font-size: var(--text-s);
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn:hover {
	background: var(--color-accent-text);
	border-color: var(--color-accent-text);
}

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

.btn--sm {
	min-height: 42px;
	padding: 8px 18px;
	font-size: var(--text-xs);
}

.btn--sm .icon--wa {
	width: 17px;
	height: 17px;
}

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

.btn--light {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-primary);
}

.btn--light:hover {
	background: var(--color-accent-soft);
	border-color: var(--color-accent-soft);
}

.btn--outline {
	background: transparent;
	color: var(--color-primary);
}

.btn--outline:hover {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-on-primary);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--color-tint);
	transition: box-shadow .2s ease;
}

.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 0px);
}

.site-header.is-scrolled {
	box-shadow: 0 6px 24px rgba(32, 38, 89, .07);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: var(--header-h);
}

.site-header__brand {
	display: block;
	flex: none;
}

.site-logo--header {
	width: 156px;
}

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

.nav-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 7px;
	width: 46px;
	height: 46px;
	padding: 0 11px;
	border: 0;
	border-radius: 50%;
	background: var(--color-tint);
	color: var(--color-primary);
	cursor: pointer;
}

.nav-toggle__bar {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform .2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
	transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
	transform: translateY(-4.5px) rotate(-45deg);
}

.nav-mobile {
	border-top: 1px solid var(--color-tint);
	padding: 8px var(--gutter) 24px;
	max-height: calc(100vh - var(--header-h));
	overflow-y: auto;
}

.nav-menu--mobile > li {
	border-bottom: 1px solid var(--color-tint);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.nav-menu--mobile > li > a {
	flex: 1;
	padding-block: 14px;
	font-family: var(--font-display);
	font-size: var(--text-l);
	text-decoration: none;
}

.nav-menu--mobile .is-active > a {
	color: var(--color-accent-text);
}

.nav-menu--mobile .sub-menu {
	flex-basis: 100%;
	padding: 0 0 14px 16px;
	display: none;
}

.nav-menu--mobile .is-open > .sub-menu {
	display: block;
}

.nav-menu--mobile .sub-menu a {
	display: block;
	padding-block: 8px;
	color: var(--color-muted);
	text-decoration: none;
}

.nav-menu--mobile .sub-menu a[aria-current] {
	color: var(--color-primary);
	font-weight: 500;
}

.sub-toggle {
	width: 44px;
	height: 44px;
	border: 0;
	background: none;
	color: var(--color-primary);
	cursor: pointer;
	position: relative;
}

.sub-toggle::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translate(-50%, -70%) rotate(45deg);
	transition: transform .2s ease;
}

.is-open > .sub-toggle::before {
	transform: translate(-50%, -30%) rotate(-135deg);
}

.nav-mobile .btn {
	margin-top: 20px;
}

@media (min-width: 1100px) {
	.site-logo--header {
		width: 184px;
	}

	.nav-toggle,
	.nav-mobile {
		display: none !important;
	}

	.site-nav,
	.site-header__cta {
		display: flex;
	}

	.site-nav .nav-menu {
		display: flex;
		gap: 30px;
		font-size: var(--text-s);
	}

	.site-nav .nav-menu > li {
		position: relative;
		display: flex;
		align-items: center;
	}

	.site-nav .nav-menu > li > a {
		padding-block: 8px;
		color: var(--color-muted);
		text-decoration: none;
		background: var(--blade-svg) left bottom / 0 3px no-repeat;
		transition: color .2s ease, background-size .25s ease;
	}

	.site-nav .nav-menu > li > a:hover,
	.site-nav .nav-menu > .is-active > a {
		color: var(--color-primary);
		background-size: 100% 3px;
	}

	.site-nav .sub-toggle {
		width: 24px;
		height: 32px;
		margin-left: 2px;
		color: var(--color-muted);
	}

	.site-nav .sub-toggle::before {
		width: 7px;
		height: 7px;
		border-width: 0 1.5px 1.5px 0;
	}

	.site-nav .sub-menu {
		position: absolute;
		top: 100%;
		left: -20px;
		min-width: 260px;
		padding: 12px 0;
		background: var(--color-bg);
		border: 1px solid var(--color-tint);
		box-shadow: 0 18px 40px rgba(32, 38, 89, .1);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
	}

	.site-nav .has-sub:hover > .sub-menu,
	.site-nav .has-sub:focus-within > .sub-menu,
	.site-nav .has-sub.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}

	.site-nav .sub-menu a {
		display: block;
		padding: 9px 20px;
		color: var(--color-muted);
		text-decoration: none;
	}

	.site-nav .sub-menu a:hover,
	.site-nav .sub-menu a[aria-current] {
		color: var(--color-primary);
		background: var(--color-tint);
	}
}

/* --------------------------------------------------------------------------
   Seções e layout editorial
   -------------------------------------------------------------------------- */
.section {
	padding-block: var(--section-y);
}

.section--tint {
	background: var(--color-tint);
}

.section--compact {
	padding-block: calc(var(--section-y) * .55);
}

.section--compact + .section--compact:not(.section--tint) {
	padding-top: 0;
}

.section--flush {
	padding-block: calc(var(--section-y) * .6);
}

.section__title {
	font-size: var(--text-xl);
	max-width: 22ch;
}

/* Título à esquerda, conteúdo à direita (desktop). */
.split {
	display: grid;
	gap: 28px;
}

.split__title {
	font-size: var(--text-xl);
	max-width: 18ch;
}

.split__body {
	display: grid;
	gap: 40px;
	min-width: 0;
	max-width: 760px;
}

.split__body.flow {
	display: block;
}

.split__intro {
	font-family: var(--font-display);
	font-size: var(--text-l);
	line-height: 1.45;
}

@media (min-width: 960px) {
	.split {
		grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
		gap: 72px;
		align-items: start;
	}

	.split__title {
		position: sticky;
		top: calc(var(--header-h) + 32px);
	}
}

/* Blocos de texto corrido. */
.flow > * + * {
	margin-top: 14px;
}

.flow > h3 + * {
	margin-top: 12px;
}

.flow h3 {
	font-size: var(--text-l);
}

.flow p,
.flow li {
	max-width: 66ch;
}

.flow address {
	font-family: var(--font-display);
	font-size: var(--text-l);
	line-height: 1.4;
}

.flow a:not(.link-blade):not(.btn),
.list-dot a {
	color: var(--color-accent-text);
	text-underline-offset: 3px;
}

/* Listas */
.list-dot {
	display: grid;
	gap: 10px;
}

.list-dot li {
	position: relative;
	padding-left: 24px;
}

.list-dot li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .62em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-accent);
}

@media (min-width: 700px) {
	.list-dot--cols {
		grid-template-columns: 1fr 1fr;
		column-gap: 40px;
	}
}

.list-rule li {
	padding-block: 14px;
	border-bottom: 1px solid var(--color-line);
}

.list-rule li:first-child {
	border-top: 1px solid var(--color-line);
}

.list-dash li {
	position: relative;
	padding-left: 28px;
}

.list-dash li + li {
	margin-top: 14px;
}

.list-dash li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .8em;
	width: 14px;
	height: 2px;
	background: var(--color-accent-soft);
}

/* Painel escuro: limites, contrapontos. */
.panel-dark {
	padding: clamp(28px, 4vw, 48px);
	background: var(--color-primary);
	color: var(--color-on-primary);
}

.panel-dark h3 {
	color: var(--color-on-primary);
	font-size: var(--text-l);
	margin-bottom: 20px;
}

.panel-dark p {
	color: var(--color-on-primary-muted);
}

.panel-dark .list-dash {
	margin-block: 18px;
}

.panel-dark .list-dash:first-child {
	margin-top: 0;
}

.panel-dark .list-dash:last-child {
	margin-bottom: 0;
}

ul.panel-dark {
	display: block;
}

/* Etapas de um tratamento: números ligados pela lâmina, crescendo para baixo. */
.steps {
	position: relative;
	counter-reset: step;
	display: grid;
	gap: 18px;
}

.steps::before {
	content: "";
	position: absolute;
	left: 15px;
	top: 16px;
	bottom: 16px;
	width: 10px;
	transform: translateX(-50%);
	background: var(--color-accent);
	clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%);
}

.steps li {
	position: relative;
	counter-increment: step;
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 32px;
	font-family: var(--font-display);
	font-size: var(--text-m);
	line-height: 1.35;
}

.steps li::before {
	content: counter(step);
	position: relative;
	flex: none;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 2px solid var(--color-primary);
	border-radius: 50%;
	background: var(--color-bg);
	font-weight: 600;
	font-size: var(--text-xs);
}

.section--tint .steps li::before {
	background: var(--color-tint);
}

/* Tabelas comparativas */
.table-wrap {
	overflow-x: auto;
}

.compare {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--text-s);
	line-height: 1.45;
}

.compare th,
.compare td {
	padding: 14px 16px 14px 0;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--color-line);
}

.compare thead th {
	font-family: var(--font-display);
	font-weight: 600;
	border-bottom: 2px solid var(--color-primary);
}

.compare tbody th {
	font-weight: 500;
	width: 34%;
}

.compare td {
	color: var(--color-muted);
}

@media (max-width: 599px) {
	.compare--3 thead {
		display: none;
	}

	.compare--3,
	.compare--3 tbody,
	.compare--3 tr,
	.compare--3 th,
	.compare--3 td {
		display: block;
		width: 100%;
	}

	.compare--3 tr {
		padding-block: 14px;
		border-bottom: 1px solid var(--color-line);
	}

	.compare--3 tr:first-child {
		border-top: 2px solid var(--color-primary);
	}

	.compare--3 th,
	.compare--3 td {
		border: 0;
		padding: 0;
	}

	.compare--3 tbody th {
		width: 100%;
		margin-bottom: 8px;
	}

	.compare--3 td {
		display: grid;
		grid-template-columns: 7.5em 1fr;
		gap: 12px;
		padding-block: 3px;
	}

	.compare--3 td::before {
		content: attr(data-label);
		font-weight: 500;
		color: var(--color-primary);
	}
}

/* --------------------------------------------------------------------------
   Hero da Home
   -------------------------------------------------------------------------- */
.hero {
	padding-top: clamp(36px, 6vw, 88px);
}

.hero__grid {
	display: grid;
	gap: 40px;
}

.hero__text {
	padding-bottom: clamp(40px, 6vw, 72px);
}

.hero__title {
	font-size: var(--text-xxl);
	max-width: 17ch;
}

.hero__lede {
	margin-top: 20px;
	font-family: var(--font-display);
	font-size: var(--text-l);
	color: var(--color-muted);
}

.hero__actions,
.page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 28px;
	margin-top: 32px;
}

.signature {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: 36px;
	font-size: var(--text-s);
	color: var(--color-muted);
}

.signature strong {
	font-weight: 500;
	color: var(--color-primary);
}

@media (min-width: 600px) {
	.signature {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.signature span + span::before {
		content: "|";
		margin-inline: 10px;
		color: var(--color-line);
	}
}

.photo {
	margin: 0;
	overflow: hidden;
	background: var(--color-tint);
}

.photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__photo {
	aspect-ratio: 4 / 5;
	border-radius: 0 0 0 var(--radius-arch);
	align-self: end;
}

@media (min-width: 900px) {
	.hero--photo .hero__grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
		gap: 64px;
		align-items: end;
	}

	.hero__text {
		padding-bottom: 88px;
	}

	.hero:not(.hero--photo) .hero__title {
		max-width: 20ch;
	}
}

/* --------------------------------------------------------------------------
   Hero das páginas internas
   -------------------------------------------------------------------------- */
.page-hero {
	padding-top: clamp(32px, 5vw, 72px);
}

.page-hero__inner {
	display: grid;
	gap: 36px;
}

.page-hero__text {
	padding-bottom: clamp(40px, 5vw, 64px);
}

.page-hero__title {
	font-size: var(--text-xxl);
	max-width: 22ch;
}

.page-hero__lede {
	margin-top: 22px;
	max-width: 46ch;
	font-family: var(--font-display);
	font-size: var(--text-l);
	line-height: 1.45;
	color: var(--color-primary);
}

.page-hero__sub {
	margin-top: 12px;
	max-width: 60ch;
	color: var(--color-muted);
}

.page-hero__summary {
	display: grid;
	gap: 6px;
	margin-top: 26px;
	color: var(--color-muted);
}

.page-hero__summary li:first-child {
	font-weight: 500;
	color: var(--color-primary);
}

.page-hero__photo {
	aspect-ratio: 4 / 5;
	max-height: 560px;
	border-radius: 0 0 0 var(--radius-arch);
}

@media (min-width: 900px) {
	.page-hero--photo .page-hero__inner {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
		gap: 64px;
		align-items: end;
	}

	.page-hero--photo .page-hero__text {
		padding-bottom: 72px;
	}
}

.breadcrumb {
	margin-bottom: 22px;
	font-size: var(--text-xs);
	color: var(--color-muted);
}

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
}

.breadcrumb li + li::before {
	content: "/";
	margin-inline: 10px;
	color: var(--color-line);
}

.breadcrumb a {
	text-decoration: none;
}

.breadcrumb a:hover {
	color: var(--color-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Home: Dr. Dalton
   -------------------------------------------------------------------------- */
.dr {
	display: grid;
	gap: 48px;
}

.dr__photo {
	aspect-ratio: 3 / 4;
	max-width: 440px;
	border-radius: var(--radius-arch) 0 0 0;
}

.dr__text {
	max-width: 760px;
}

.dr__text h2 {
	font-size: var(--text-xl);
	max-width: 22ch;
}

.dr__lead {
	margin-top: 28px;
	font-family: var(--font-display);
	font-size: var(--text-l);
	line-height: 1.45;
}

.dr__lead + p {
	margin-top: 16px;
	max-width: 62ch;
	color: var(--color-muted);
}

.dr__block {
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--color-line);
}

.dr__block h3 {
	font-size: var(--text-l);
	margin-bottom: 18px;
}

.dr__block p {
	max-width: 56ch;
	color: var(--color-muted);
}

.dr__block p + p {
	margin-top: 10px;
}

.dr__block p:last-child {
	margin-top: 22px;
}

@media (min-width: 960px) {
	.dr--photo {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: 88px;
		align-items: start;
	}

	.dr__photo {
		position: sticky;
		top: calc(var(--header-h) + 32px);
	}
}

/* Home: para quem é */
.audience {
	display: grid;
	gap: 48px;
	margin-top: 44px;
}

.audience h3 {
	font-size: var(--text-l);
	margin-bottom: 22px;
}

.audience .panel-dark {
	align-self: start;
}

@media (min-width: 900px) {
	.audience {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 72px;
	}
}

/* Linhas editoriais com link (áreas de atuação, tratamentos) */
.rows {
	margin-top: 44px;
	border-top: 1px solid var(--color-primary);
}

.rows--lead {
	margin-top: 0;
}

.row {
	display: grid;
	gap: 10px;
	padding-block: 28px;
	border-bottom: 1px solid var(--color-line);
	color: inherit;
	text-decoration: none;
}

.row__title {
	font-size: var(--text-l);
	transition: color .2s ease;
}

.row__text {
	max-width: 58ch;
	color: var(--color-muted);
}

.row__link {
	justify-self: start;
	padding-bottom: 6px;
	font-size: var(--text-s);
	font-weight: 500;
	color: var(--color-primary);
	background: var(--blade-svg) left bottom / 100% 3px no-repeat;
	transition: background-size .25s ease;
}

.row:hover .row__title {
	color: var(--color-accent-text);
}

.row:hover .row__link {
	background-size: 118% 3px;
}

.rows__also {
	margin-top: 28px;
	max-width: 70ch;
	color: var(--color-muted);
}

.rows__also a {
	color: var(--color-primary);
	text-underline-offset: 3px;
}

@media (min-width: 900px) {
	.row {
		grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 3fr);
		gap: 40px;
		align-items: baseline;
	}

	.row__link {
		justify-self: end;
		text-align: right;
	}
}

/* Home: localização */
.location {
	display: grid;
	gap: 40px;
	margin-top: 44px;
}

.location h3 {
	font-size: var(--text-m);
	font-weight: 600;
	margin-bottom: 10px;
}

.location p,
.location li {
	color: var(--color-muted);
}

.location address {
	font-family: var(--font-display);
	font-size: var(--text-l);
	line-height: 1.4;
	margin-bottom: 18px;
}

.location__list li + li {
	margin-top: 10px;
}

.location__list strong {
	font-weight: 500;
	color: var(--color-primary);
}

.location__note {
	margin-top: 14px;
	font-size: var(--text-s);
}

@media (min-width: 900px) {
	.location {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 56px;
	}
}

/* Jornada em 3 tempos (Home e Atendimento): a lâmina cresce e chega às figuras. */
.journey {
	position: relative;
	display: grid;
	gap: 36px;
	margin-top: 52px;
	padding-left: 52px;
	counter-reset: journey;
}

.journey::before {
	content: "";
	position: absolute;
	left: 15px;
	top: 16px;
	bottom: 0;
	width: 16px;
	transform: translateX(-50%);
	background: var(--color-accent);
	clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
}

.journey__step {
	position: relative;
	counter-increment: journey;
}

.journey__step::before {
	content: counter(journey);
	position: absolute;
	left: -52px;
	top: -2px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 2px solid var(--color-primary);
	border-radius: 50%;
	background: var(--color-bg);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--text-xs);
}

.section--tint .journey__step::before {
	background: var(--color-tint);
}

.journey__step h3 {
	font-size: var(--text-l);
}

.journey__step p {
	margin-top: 10px;
	max-width: 42ch;
	color: var(--color-muted);
}

.journey-wrap {
	position: relative;
	margin-top: 52px;
}

.journey-wrap .journey {
	margin-top: 0;
}

.journey__figures {
	display: block;
	width: 132px;
	height: auto;
	margin-top: 4px;
	color: var(--color-accent);
}

.journey__more {
	margin-top: 40px;
}

@media (min-width: 960px) {
	.journey {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 48px;
		padding-left: 0;
		padding-top: 64px;
	}

	.journey::before {
		left: 0;
		right: 0;
		top: 6px;
		bottom: auto;
		width: auto;
		height: 22px;
		transform: none;
		clip-path: polygon(0 45%, 0 55%, 100% 100%, 100% 0);
	}

	.journey__step::before {
		left: 0;
		top: -64px;
	}

	/* As figuras ficam de pé sobre o fim da lâmina. */
	.journey-wrap .journey {
		padding-right: 232px;
	}

	.journey-wrap .journey::before {
		right: 200px;
	}

	.journey-wrap .journey__figures {
		position: absolute;
		right: 0;
		top: -94px;
		width: 200px;
		margin: 0;
	}

	.journey__more {
		margin-top: 72px;
	}
}

/* Home: leitura recomendada */
.reading {
	margin-top: 36px;
}

.reading li > * {
	display: block;
	max-width: 46ch;
	padding-block: 22px;
	font-family: var(--font-display);
	font-size: var(--text-l);
	line-height: 1.35;
	text-decoration: none;
}

.reading li {
	border-bottom: 1px solid var(--color-line);
}

.reading a:hover {
	color: var(--color-accent-text);
}

.reading span {
	color: var(--color-muted);
}

.reading__more {
	margin-top: 32px;
}

@media (max-width: 699px) {
	.reading li:nth-child(n + 4) {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   O Dentista
   -------------------------------------------------------------------------- */
.legacy {
	display: grid;
	gap: 20px;
	padding: clamp(24px, 4vw, 40px);
	background: var(--color-tint);
}

.legacy__figures {
	width: 120px;
	height: auto;
	color: var(--color-accent);
}

@media (min-width: 700px) {
	.legacy {
		grid-template-columns: 150px minmax(0, 1fr);
		gap: 36px;
		align-items: start;
	}

	.legacy__figures {
		width: 150px;
		margin-top: 4px;
	}
}

.quote {
	margin-top: 40px;
	max-width: 30ch;
	padding-left: 28px;
	border-left: 4px solid var(--color-accent);
}

.quote p {
	font-family: var(--font-display);
	font-size: var(--text-xl);
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.quote cite {
	display: block;
	margin-top: 18px;
	font-size: var(--text-s);
	font-style: normal;
	color: var(--color-muted);
}

.principles {
	display: grid;
	gap: 40px;
	margin-top: 56px;
}

.principles > div {
	padding-top: 24px;
	border-top: 1px solid var(--color-line);
}

.principles p {
	color: var(--color-muted);
}

@media (min-width: 800px) {
	.principles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 48px 56px;
	}
}

/* --------------------------------------------------------------------------
   Bloco "quem atende" das subpáginas
   -------------------------------------------------------------------------- */
.dr-block {
	display: grid;
	gap: 32px;
}

.dr-block__photo {
	aspect-ratio: 1;
	max-width: 260px;
	border-radius: 50% 50% 0 0;
}

.dr-block__text {
	max-width: 680px;
}

.dr-block__text h2 {
	font-size: var(--text-xl);
	margin-bottom: 20px;
}

.dr-block__text p + p {
	margin-top: 12px;
	color: var(--color-muted);
}

@media (min-width: 800px) {
	.dr-block--photo {
		grid-template-columns: 260px minmax(0, 1fr);
		gap: 64px;
		align-items: center;
	}
}

/* --------------------------------------------------------------------------
   FAQ (sanfona)
   -------------------------------------------------------------------------- */
.faq + .faq {
	margin-top: calc(var(--section-y) * .8);
}

.faq__title {
	font-size: var(--text-xl);
	max-width: 24ch;
	margin-bottom: 32px;
}

.faq__list {
	max-width: 880px;
	border-top: 1px solid var(--color-primary);
}

.faq__item {
	border-bottom: 1px solid var(--color-line);
}

.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 22px;
	cursor: pointer;
	list-style: none;
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__item summary h3 {
	font-size: var(--text-m);
	font-weight: 500;
	line-height: 1.35;
}

.faq__item summary:hover h3 {
	color: var(--color-accent-text);
}

.faq__icon {
	position: relative;
	flex: none;
	width: 32px;
	height: 32px;
	border: 1.5px solid var(--color-primary);
	border-radius: 50%;
}

.faq__icon::before,
.faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 1.5px;
	background: var(--color-primary);
	transform: translate(-50%, -50%);
	transition: transform .2s ease;
}

.faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.faq__answer {
	padding: 0 56px 24px 0;
	color: var(--color-muted);
}

.faq__answer p {
	max-width: 66ch;
}

.faq__answer p + p {
	margin-top: 14px;
}

/* --------------------------------------------------------------------------
   Fechamento das páginas
   -------------------------------------------------------------------------- */
.closing {
	padding-bottom: var(--section-y);
}

.closing__inner {
	padding-top: calc(var(--section-y) * .7);
}

.closing__text {
	max-width: 24ch;
	font-family: var(--font-display);
	font-size: var(--text-xl);
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.closing__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 32px;
	margin-top: 32px;
}

/* --------------------------------------------------------------------------
   Guia
   -------------------------------------------------------------------------- */
.guide-lead {
	display: block;
	padding: clamp(28px, 4vw, 44px);
	background: var(--color-primary);
	color: var(--color-on-primary);
	text-decoration: none;
}

.guide-lead h3 {
	font-size: var(--text-xl);
	color: var(--color-on-primary);
	line-height: 1.2;
}

.guide-lead p {
	margin-top: 16px;
	max-width: 52ch;
	color: var(--color-on-primary-muted);
}

.guide-lead__link {
	display: inline-block;
	margin-top: 24px;
	padding-bottom: 6px;
	font-weight: 500;
	background: var(--blade-svg) left bottom / 100% 3px no-repeat;
	transition: background-size .25s ease;
}

.guide-lead:hover .guide-lead__link {
	background-size: 118% 3px;
}

.guide-list {
	border-top: 1px solid var(--color-primary);
}

.guide-item {
	border-bottom: 1px solid var(--color-line);
}

.guide-item > a,
.guide-item:not(.guide-item--link) {
	display: block;
	padding-block: 24px;
	color: inherit;
	text-decoration: none;
}

.guide-item__title {
	font-size: var(--text-l);
	line-height: 1.3;
}

.guide-item__desc {
	margin-top: 8px;
	color: var(--color-muted);
}

.guide-item__more {
	display: inline-block;
	margin-top: 12px;
	padding-bottom: 5px;
	font-size: var(--text-s);
	font-weight: 500;
	background: var(--blade-svg) left bottom / 100% 3px no-repeat;
}

.guide-item--link a:hover .guide-item__title {
	color: var(--color-accent-text);
}

.guide-item:not(.guide-item--link) .guide-item__title {
	color: var(--color-muted);
}

/* Cards de artigos (lâmina no topo) */
.post-grid {
	display: grid;
	gap: 20px;
	margin-top: 36px;
}

.post-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 0 0 28px;
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid var(--color-line);
}

.post-card__blade {
	display: block;
	width: 64%;
	height: 8px;
	margin-bottom: 14px;
	background: var(--color-accent);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
	transition: width .3s var(--ease);
}

.post-card:hover .post-card__blade {
	width: 100%;
}

.post-card__title {
	font-size: var(--text-l);
	line-height: 1.3;
}

.post-card__excerpt {
	color: var(--color-muted);
}

.post-card__more {
	margin-top: auto;
	font-size: var(--text-s);
	font-weight: 500;
	color: var(--color-accent-text);
}

@media (min-width: 700px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 48px 40px;
	}
}

@media (min-width: 1100px) {
	.post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* --------------------------------------------------------------------------
   Atendimento e Contato
   -------------------------------------------------------------------------- */
@media (min-width: 800px) {
	.rules {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 48px;
		max-width: none;
	}
}

.contact {
	display: grid;
	gap: 48px;
}

.contact h2 {
	font-size: var(--text-xl);
	margin-bottom: 20px;
}

.contact__big {
	font-family: var(--font-display);
	font-size: var(--text-xl);
	line-height: 1.25;
	margin-bottom: 12px;
}

.contact__big strong {
	font-weight: 500;
}

.contact__big a {
	color: var(--color-accent-text);
	text-decoration: none;
	white-space: nowrap;
}

.contact__col > p:not(.contact__big) {
	max-width: 46ch;
	color: var(--color-muted);
}

@media (min-width: 800px) {
	.contact {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 72px;
	}
}

.map-block {
	display: grid;
	gap: 36px;
	margin-top: 40px;
}

.map-block__info {
	display: grid;
	gap: 32px;
	align-content: start;
}

.map-block__info p {
	color: var(--color-muted);
}

.map-block__map {
	min-height: 320px;
	background: var(--color-bg);
}

.map-block__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	border: 0;
}

@media (min-width: 900px) {
	.map-block {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: 64px;
	}

	.map-block__map,
	.map-block__map iframe {
		min-height: 440px;
		border-radius: 0 var(--radius-arch) 0 0;
	}
}

/* --------------------------------------------------------------------------
   Conteúdo do editor (Política, Aviso Legal, pilar de Bruxismo, artigos)
   -------------------------------------------------------------------------- */
.entry-content {
	max-width: 740px;
}

.entry-content > * + * {
	margin-top: 1.1em;
}

.entry-content h2 {
	margin-top: 2em;
	font-size: var(--text-xl);
}

.entry-content h3 {
	margin-top: 1.8em;
	font-size: var(--text-l);
}

.entry-content h2 + *,
.entry-content h3 + * {
	margin-top: .7em;
}

.entry-content a {
	color: var(--color-accent-text);
	text-underline-offset: 3px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
}

.entry-content ul {
	list-style: disc;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content li + li {
	margin-top: .4em;
}

.entry-content li::marker {
	color: var(--color-accent);
}

.entry-content blockquote {
	padding-left: 24px;
	border-left: 4px solid var(--color-accent);
	font-family: var(--font-display);
	font-size: var(--text-l);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--text-s);
}

.entry-content th,
.entry-content td {
	padding: 12px 12px 12px 0;
	text-align: left;
	border-bottom: 1px solid var(--color-line);
}

.entry-content img {
	max-width: 100%;
	height: auto;
}

.article__meta {
	margin-top: 18px;
	font-size: var(--text-s);
	color: var(--color-muted);
}

.article__thumb {
	max-width: 740px;
	margin-bottom: 40px;
}

.article__disclaimer {
	max-width: 740px;
	margin-top: 56px;
	padding-top: 20px;
	border-top: 1px solid var(--color-line);
	font-size: var(--text-xs);
	color: var(--color-muted);
}

.nav-links {
	display: flex;
	gap: 16px;
	margin-top: 48px;
}

.nav-links .page-numbers {
	padding: 6px 12px;
	text-decoration: none;
}

.nav-links .current {
	background: var(--color-primary);
	color: var(--color-on-primary);
	border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.site-footer {
	padding-block: 72px 32px;
	background: var(--color-primary);
	color: var(--color-on-primary-muted);
	font-size: var(--text-s);
}

.site-footer a {
	color: var(--color-on-primary);
	text-decoration: none;
}

.site-footer a:not(.btn):hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.site-footer__grid {
	display: grid;
	gap: 40px;
}

.site-logo--footer {
	width: 220px;
	margin-bottom: 20px;
}

.site-footer__brand strong {
	color: var(--color-on-primary);
	font-weight: 500;
}

.site-footer__title {
	margin-bottom: 12px;
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--color-on-primary);
}

.site-footer__title--gap {
	margin-top: 28px;
}

.site-footer__col p + p {
	margin-top: 10px;
}

.site-footer__col .btn {
	margin-top: 18px;
}

.site-footer__list li + li {
	margin-top: 6px;
}

.site-footer__bottom {
	display: grid;
	gap: 18px;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: var(--text-xs);
}

.site-footer__bottom > p {
	max-width: 92ch;
}

.site-footer__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
}

@media (min-width: 800px) {
	.site-footer__grid {
		grid-template-columns: 1.3fr 1fr 1fr 1fr;
	}
}

/* --------------------------------------------------------------------------
   WhatsApp flutuante
   -------------------------------------------------------------------------- */
.whatsapp-float {
	position: fixed;
	right: 18px;
	bottom: calc(18px + env(safe-area-inset-bottom, 0px));
	z-index: 60;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--color-whatsapp);
	color: #FFFFFF;
	box-shadow: 0 8px 22px rgba(32, 38, 89, .28);
	transition: transform .2s ease;
}

.whatsapp-float:hover {
	transform: scale(1.06);
}

.whatsapp-float .icon--wa {
	width: 30px;
	height: 30px;
}

/* --------------------------------------------------------------------------
   404 e Elementor
   -------------------------------------------------------------------------- */
.error-404 .page-hero__text {
	padding-bottom: 96px;
}

.dalton-elementor-content {
	width: 100%;
}

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

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
