/*
Theme Name: Nutribecca
Theme URI: https://nutribecca.com.br/
Author: Rebeca Rocha
Description: Tema do site de Rebeca Rocha, nutricionista clínica e esportiva. Réplica fiel da landing page criada no Lovable, com seção de Blog.
Version: 1.1.6
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nutribecca
*/

/* ---------- Tokens (mesmos valores do Lovable) ---------- */
:root {
	--background: oklch(0.987 0.006 173.4);
	--foreground: oklch(0.327 0.052 181.2);
	--card: oklch(1 0 0);
	--primary: oklch(0.626 0.126 174.2);
	--primary-foreground: oklch(1 0 0);
	--secondary: oklch(0.875 0.05 178.2);
	--muted: oklch(0.955 0.014 176.8);
	--muted-foreground: oklch(0.48 0.031 180.8);
	--accent: oklch(0.535 0.1 175.8);
	--border: oklch(0.89 0.022 177.1);
	--whatsapp: oklch(0.72 0.19 145.2);
	--whatsapp-foreground: oklch(1 0 0);

	--secondary-20: color-mix(in oklab, var(--secondary) 20%, transparent);
	--secondary-35: color-mix(in oklab, var(--secondary) 35%, transparent);
	--border-70: color-mix(in oklab, var(--border) 70%, transparent);

	--shadow-soft: 0 14px 30px -16px color-mix(in oklab, var(--primary) 48%, transparent);
	--shadow-card: 0 24px 50px -34px color-mix(in oklab, var(--foreground) 28%, transparent);
	--shadow-image: 0 35px 70px -38px color-mix(in oklab, var(--foreground) 42%, transparent);
	--shadow-floating: 0 14px 28px -10px color-mix(in oklab, var(--whatsapp) 62%, transparent);

	--font-display: "Libre Baskerville", Georgia, serif;
	--font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 0.75rem;
	--radius-xl: 1rem;
	--radius-2xl: 1.25rem;
	--header-h: 5rem;
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	border: 0 solid var(--border);
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	overflow-x: hidden;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.5;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

::selection {
	background: var(--secondary);
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol {
	margin: 0;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 400;
}

img, svg, video {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	cursor: pointer;
	padding: 0;
}

:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 3px;
}

.icon {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

.icon--sm {
	width: 1rem;
	height: 1rem;
}

.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 {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	padding: 0.75rem 1rem;
	border-radius: var(--radius);
	background: var(--foreground);
	color: var(--primary-foreground);
	font-weight: 600;
}

.skip-link:focus {
	top: 1rem;
}

.container {
	width: 100%;
	max-width: 80rem;
	margin-inline: auto;
	padding-inline: 1.25rem;
}

.container--narrow {
	max-width: calc(46rem + 2.5rem);
}

@media (min-width: 640px) {
	.container {
		padding-inline: 2rem;
	}

	.container--narrow {
		max-width: calc(46rem + 4rem);
	}
}

/* ---------- Tipografia utilitária ---------- */
.eyebrow,
.label {
	color: var(--primary);
	font-weight: 700;
	text-transform: uppercase;
}

.eyebrow {
	margin-bottom: 1rem;
	font-size: 0.75rem;
}

.label {
	margin-bottom: 0.5rem;
	font-size: 11px;
}

.eyebrow--icon {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.eyebrow--line {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
	font-weight: 600;
}

.eyebrow--line span {
	width: 2rem;
	height: 1px;
	background: var(--primary);
}

.eyebrow--light {
	color: var(--secondary);
}

.section__title {
	font-size: 1.875rem;
	line-height: 1.25;
}

.section__intro {
	margin-top: 1rem;
	max-width: 28rem;
	color: var(--muted-foreground);
	line-height: 1.75;
}

.section__head .section__intro {
	max-width: none;
}

@media (min-width: 640px) {
	.section__title {
		font-size: 2.25rem;
		line-height: 1.2;
	}
}

/* ---------- Botões ---------- */
.button {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 3.5rem;
	padding: 1rem 1.5rem;
	border-radius: var(--radius);
	background: var(--primary);
	color: var(--primary-foreground);
	font-weight: 600;
	box-shadow: var(--shadow-soft);
	transition: transform 150ms var(--ease), background-color 150ms var(--ease);
}

.button:hover {
	transform: translateY(-2px);
	background: var(--accent);
}

.button--pill {
	border-radius: 999px;
	padding-inline: 2rem;
	box-shadow: none;
}

.button--sm {
	min-height: 2.75rem;
	padding: 0.625rem 1.5rem;
	gap: 0.5rem;
	font-size: 0.875rem;
	white-space: nowrap;
}

.button--ghost {
	background: var(--background);
	color: var(--foreground);
	border: 1px solid var(--border);
}

.button--ghost:hover {
	background: var(--secondary-35);
}

.pill {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	background: var(--secondary);
	color: var(--accent);
	font-size: 0.875rem;
	font-weight: 600;
	box-shadow: var(--shadow-soft);
	transition: transform 150ms var(--ease), background-color 150ms var(--ease);
}

.pill:hover {
	transform: translateY(-2px);
	background: color-mix(in oklab, var(--secondary) 85%, transparent);
}

.pill--light {
	margin-top: 0;
	background: var(--secondary-35);
	box-shadow: none;
}

.icon-button {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	flex-shrink: 0;
	border: 1px solid var(--border);
	border-radius: 999px;
	color: var(--muted-foreground);
	transition: all 150ms var(--ease);
}

.icon-button:hover {
	transform: translateY(-2px);
	border-color: color-mix(in oklab, var(--primary) 40%, transparent);
	color: var(--primary);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--primary);
	font-size: 0.875rem;
	font-weight: 600;
}

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

.icon-box {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	flex-shrink: 0;
	border-radius: var(--radius-xl);
	background: var(--secondary-35);
	color: var(--primary);
	transition: background-color 150ms var(--ease), color 150ms var(--ease);
}

/* ---------- Marca ---------- */
.brand {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 0.75rem;
}

.brand__mark {
	width: 2.75rem;
	height: 2.75rem;
	flex-shrink: 0;
	object-fit: contain;
}

.brand--compact .brand__mark {
	width: 2.25rem;
	height: 2.25rem;
}

.brand__mark--fallback {
	display: grid;
	place-items: center;
	border-radius: 999px;
	border: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
	color: var(--primary);
	font-family: var(--font-display);
	font-size: 0.875rem;
}

.brand__text {
	min-width: 0;
}

.brand__name {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: var(--font-display);
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--foreground);
}

.brand__role {
	display: block;
	color: var(--primary);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

@media (min-width: 640px) {
	.brand__name {
		font-size: 1rem;
	}
}

/* ---------- Cabeçalho ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	border-bottom: 1px solid var(--border-70);
	background: color-mix(in oklab, var(--background) 90%, transparent);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

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

.site-nav {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
	height: var(--header-h);
}

.site-nav__brand {
	min-width: 0;
}

.site-nav__links {
	display: none;
}

.site-nav__list,
.mobile-menu__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	color: var(--muted-foreground);
	font-size: 0.875rem;
	font-weight: 500;
}

.site-nav__list a,
.mobile-menu__list a {
	transition: color 150ms var(--ease);
}

.site-nav__list a:hover,
.mobile-menu__list a:hover,
.site-nav__list .current-menu-item > a,
.mobile-menu__list .current-menu-item > a {
	color: var(--primary);
}

.menu-toggle {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	color: var(--accent);
	transition: border-color 150ms var(--ease), color 150ms var(--ease);
}

.menu-toggle:hover {
	border-color: color-mix(in oklab, var(--primary) 40%, transparent);
	color: var(--primary);
}

.menu-toggle__close,
.menu-toggle[aria-expanded="true"] .menu-toggle__open {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
	display: block;
}

.mobile-menu {
	border-top: 1px solid var(--border-70);
	background: color-mix(in oklab, var(--background) 95%, transparent);
}

.mobile-menu__list {
	display: flex;
	flex-direction: column;
	padding-bottom: 0.5rem;
}

.mobile-menu__list li {
	border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
}

.mobile-menu__list li:last-child {
	border-bottom: 0;
}

.mobile-menu__list a {
	display: block;
	padding-block: 1rem;
	color: var(--muted-foreground);
	font-size: 0.875rem;
	font-weight: 500;
}

@media (min-width: 768px) {
	.site-nav__links {
		display: block;
	}

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

/* ---------- Seções ---------- */
.section {
	padding-block: 5rem;
	scroll-margin-top: var(--header-h);
}

.section--card {
	background: var(--card);
	border-block: 1px solid var(--border);
}

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

.section--dark {
	background: var(--foreground);
	color: var(--primary-foreground);
}

.section__head {
	max-width: 42rem;
	margin-bottom: 3rem;
}

.section__head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	max-width: none;
}

.section__head--split > div {
	max-width: 42rem;
}

@media (min-width: 1024px) {
	.section {
		padding-block: 6rem;
	}

	.section--lg {
		padding-block: 7rem;
	}

	.section__head {
		margin-bottom: 4rem;
	}
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	padding-top: 7rem;
	padding-bottom: 5rem;
}

.hero__shape {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	width: 46%;
	height: 100%;
	border-bottom-left-radius: 7rem;
	background: var(--secondary-35);
}

.hero__grid {
	position: relative;
	z-index: 10;
	display: grid;
	align-items: center;
	gap: 3rem;
}

.hero__copy {
	max-width: 42rem;
	padding-top: 1rem;
}

.hero__name {
	margin-bottom: 0.75rem;
	color: var(--primary);
	font-family: var(--font-display);
	font-size: 1.25rem;
}

.hero__title {
	max-width: 36rem;
	font-size: 2.25rem;
	line-height: 1.12;
}

.hero__title em {
	color: var(--primary);
	font-weight: 400;
}

.hero__lead {
	max-width: 36rem;
	margin-top: 1.75rem;
	color: var(--muted-foreground);
	line-height: 2rem;
}

.hero__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
	margin-top: 2.25rem;
}

.hero__badge {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--muted-foreground);
	font-size: 0.875rem;
}

.hero__badge strong {
	display: block;
	color: var(--foreground);
}

.hero__badge-icon {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	flex-shrink: 0;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--card);
	color: var(--primary);
}

.hero__media {
	position: relative;
	width: 100%;
	max-width: 530px;
	margin-inline: auto;
	padding-bottom: 2rem;
}

.hero__ring {
	position: absolute;
	left: -1.75rem;
	top: -1.75rem;
	z-index: -1;
	width: 9rem;
	height: 9rem;
	border: 1px solid color-mix(in oklab, var(--primary) 25%, transparent);
	border-radius: 999px;
}

.hero__image {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 2.5rem;
	box-shadow: var(--shadow-image);
}

.hero__image--placeholder {
	display: grid;
	place-items: center;
	background: linear-gradient(160deg, var(--muted), var(--secondary));
	color: var(--primary);
	font-family: var(--font-display);
	font-size: 4rem;
}

.hero__card {
	position: absolute;
	bottom: -0.25rem;
	left: 1rem;
	max-width: 245px;
	padding: 1.25rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-2xl);
	background: var(--card);
	box-shadow: var(--shadow-card);
}

.hero__card p:last-child {
	color: var(--muted-foreground);
	font-size: 0.875rem;
	line-height: 1.5rem;
}

@media (min-width: 640px) {
	.hero {
		padding-top: 8rem;
	}

	.hero__name {
		font-size: 1.5rem;
	}

	.hero__title {
		font-size: 3rem;
	}

	.hero__lead {
		font-size: 1.125rem;
	}

	.hero__actions {
		flex-direction: row;
		align-items: center;
	}

	.hero__media {
		padding-bottom: 0;
	}

	.hero__card {
		left: -2rem;
		bottom: 2rem;
		padding: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.hero {
		padding-bottom: 6rem;
	}

	.hero__shape {
		display: block;
	}

	.hero__grid {
		grid-template-columns: 1.04fr 0.96fr;
		gap: 5rem;
	}

	.hero__copy {
		padding-top: 0;
	}

	.hero__title {
		font-size: 3.75rem;
	}
}

/* ---------- Sobre ---------- */
.about__grid {
	display: grid;
	gap: 3rem;
}

.about__bar {
	width: 5rem;
	height: 0.25rem;
	margin-top: 1.75rem;
	border-radius: 999px;
	background: var(--secondary);
}

.about__lead {
	font-family: var(--font-display);
	font-size: 1.25rem;
	line-height: 1.625;
}

.about__text {
	max-width: 48rem;
	margin-top: 1.5rem;
	color: var(--muted-foreground);
	line-height: 1.75;
}

@media (min-width: 640px) {
	.about__lead {
		font-size: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.about__grid {
		grid-template-columns: 0.82fr 1.18fr;
		gap: 6rem;
	}
}

/* ---------- Áreas de atuação ---------- */
.areas {
	display: grid;
	gap: 1rem;
}

.area-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 275px;
	padding: 1.5rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-2xl);
	background: var(--card);
	transition: all 150ms var(--ease);
}

.area-card:hover {
	transform: translateY(-0.25rem);
	border-color: color-mix(in oklab, var(--primary) 30%, transparent);
	box-shadow: var(--shadow-card);
}

.area-card:hover .icon-box {
	background: var(--primary);
	color: var(--primary-foreground);
}

.area-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 2rem;
}

.area-card__num {
	color: color-mix(in oklab, var(--primary) 60%, transparent);
	font-family: var(--font-display);
	font-size: 0.875rem;
}

.area-card h3 {
	font-size: 1.125rem;
	line-height: 1.375;
	overflow-wrap: break-word;
	hyphens: auto;
}

.area-card p {
	margin-top: 0.75rem;
	color: var(--muted-foreground);
	font-size: 0.875rem;
	line-height: 1.5rem;
}

@media (min-width: 640px) {
	.areas {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

@media (min-width: 1280px) {
	.areas {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.area-card:nth-child(3) {
		transform: translateY(-1rem);
		border-color: color-mix(in oklab, var(--primary) 20%, transparent);
		box-shadow: var(--shadow-card);
	}

	.area-card:nth-child(3):hover {
		transform: translateY(-1.25rem);
	}
}

/* ---------- Diferenciais ---------- */
.credentials {
	background: var(--background);
}

.credentials__grid {
	display: grid;
	gap: 3rem;
}

.credentials__intro .section__intro {
	margin-top: 1.5rem;
}

.credentials__list {
	display: grid;
	column-gap: 2.5rem;
}

.credential {
	padding-block: 1.75rem;
	border-top: 1px solid var(--border);
}

.credential__icon {
	width: 1.5rem;
	height: 1.5rem;
	margin-bottom: 1.25rem;
	color: var(--primary);
}

.credential h3 {
	font-size: 1.125rem;
	line-height: 1.75rem;
}

.credential--wide h3 {
	font-size: 1.25rem;
}

@media (min-width: 640px) {
	.credentials__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.credential--wide {
		grid-column: span 2;
	}
}

@media (min-width: 1024px) {
	.credentials__grid {
		grid-template-columns: 0.75fr 1.25fr;
		gap: 5rem;
	}

	.credentials__intro {
		position: sticky;
		top: 7rem;
		align-self: start;
	}
}

/* ---------- Atendimento (seção escura) ---------- */
.dark__head {
	display: grid;
	align-items: end;
	gap: 2.5rem;
}

.dark__head .section__title {
	max-width: 36rem;
}

.dark__intro {
	max-width: 36rem;
	color: color-mix(in oklab, var(--primary-foreground) 70%, transparent);
	line-height: 1.75;
}

.modes {
	display: grid;
	margin-top: 3rem;
	border-block: 1px solid color-mix(in oklab, var(--primary-foreground) 15%, transparent);
}

.mode {
	padding-block: 2rem;
}

.mode + .mode {
	border-top: 1px solid color-mix(in oklab, var(--primary-foreground) 15%, transparent);
}

.mode__icon {
	width: 1.5rem;
	height: 1.5rem;
	margin-bottom: 1.25rem;
	color: var(--secondary);
}

.mode h3 {
	font-size: 1.5rem;
}

.mode p {
	margin-top: 0.75rem;
	color: color-mix(in oklab, var(--primary-foreground) 65%, transparent);
}

@media (min-width: 768px) {
	.modes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mode:first-child {
		padding-right: 2.5rem;
		border-right: 1px solid color-mix(in oklab, var(--primary-foreground) 15%, transparent);
	}

	.mode + .mode {
		padding-left: 2.5rem;
		border-top: 0;
	}
}

@media (min-width: 1024px) {
	.dark__head {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dark__intro {
		justify-self: end;
	}
}

/* ---------- Valores ---------- */
.plans {
	display: grid;
	gap: 1rem;
}

.plan {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 1.75rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-2xl);
	background: var(--card);
	transition: all 150ms var(--ease);
}

.plan:hover {
	transform: translateY(-0.25rem);
	border-color: color-mix(in oklab, var(--primary) 30%, transparent);
	box-shadow: var(--shadow-card);
}

.plan__head {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.plan__head > div {
	min-width: 0;
}

.plan__head h3 {
	font-size: 1.125rem;
	line-height: 1.375;
	overflow-wrap: break-word;
	hyphens: auto;
}

.plan__head .label {
	margin: 0.25rem 0 0;
}

.plan__items {
	padding-top: 0.25rem;
	border-top: 1px solid var(--border);
}

.plan__item {
	padding-block: 1rem;
	border-bottom: 1px solid var(--border-70);
}

.plan__item:last-child {
	border-bottom: 0;
}

.plan__label {
	color: var(--muted-foreground);
	font-size: 0.875rem;
}

.plan__price {
	margin-top: 0.25rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.25;
	overflow-wrap: break-word;
}

.plan__note {
	margin-top: 0.5rem;
	color: var(--muted-foreground);
	font-size: 0.75rem;
	line-height: 1.25rem;
}

@media (min-width: 1024px) {
	.plans {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: start;
	}
}

/* ---------- CTA ---------- */
.cta {
	background: var(--background);
	text-align: center;
}

.cta__inner {
	max-width: calc(48rem + 4rem);
}

.cta__icon {
	width: 2.25rem;
	height: 2.25rem;
	margin: 0 auto 1.75rem;
	color: var(--primary);
}

.cta__title {
	font-size: 1.875rem;
	line-height: 1.25;
}

.cta__text {
	max-width: 36rem;
	margin: 1.5rem auto 0;
	color: var(--muted-foreground);
	line-height: 1.75;
}

.cta .button {
	margin-top: 2.25rem;
}

@media (min-width: 640px) {
	.cta__title {
		font-size: 3rem;
		line-height: 1.2;
	}
}

/* ---------- Rodapé ---------- */
.site-footer {
	padding-block: 2.5rem;
	border-top: 1px solid var(--border);
	background: var(--card);
}

.site-footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	text-align: center;
}

.site-footer__copy {
	color: var(--muted-foreground);
	font-size: 0.75rem;
}

.site-footer__copy a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.site-footer__end {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.site-footer__creds {
	color: var(--muted-foreground);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
}

@media (min-width: 768px) {
	.site-footer__inner {
		flex-direction: row;
		padding-right: 7rem;
		text-align: left;
	}
}

@media (min-width: 1536px) {
	.site-footer__inner {
		padding-right: 2rem;
	}
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 50;
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 999px;
	background: var(--whatsapp);
	color: var(--whatsapp-foreground);
	box-shadow: var(--shadow-floating);
	transition: transform 150ms var(--ease);
}

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

.whatsapp-float:focus-visible {
	outline-offset: 4px;
}

.whatsapp-float__icon {
	width: 1.75rem;
	height: 1.75rem;
}

@media (min-width: 640px) {
	.whatsapp-float {
		right: 1.75rem;
		bottom: 1.75rem;
		width: 4rem;
		height: 4rem;
	}

	.whatsapp-float__icon {
		width: 2rem;
		height: 2rem;
	}
}

/* =========================================================
   BLOG
   ========================================================= */
.page-top {
	padding-top: var(--header-h);
}

.page-header {
	padding-block: 4rem 3rem;
	background: var(--card);
	border-bottom: 1px solid var(--border);
}

.page-header__title {
	font-size: 2.25rem;
	line-height: 1.15;
}

.page-header__intro {
	max-width: 40rem;
	margin-top: 1rem;
	color: var(--muted-foreground);
	line-height: 1.75;
}

@media (min-width: 640px) {
	.page-header {
		padding-block: 5rem 3.5rem;
	}

	.page-header__title {
		font-size: 3rem;
	}
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2rem;
}

.chip,
.chips a {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--card);
	color: var(--muted-foreground);
	font-size: 0.8125rem;
	font-weight: 500;
	transition: all 150ms var(--ease);
}

.chip:hover,
.chips a:hover {
	border-color: color-mix(in oklab, var(--primary) 40%, transparent);
	color: var(--primary);
}

.chip.is-active {
	border-color: var(--primary);
	background: var(--primary);
	color: var(--primary-foreground);
}

.listing {
	padding-block: 3.5rem 5rem;
}

.post-grid {
	display: grid;
	gap: 1.5rem;
}

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

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

.post-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius-2xl);
	background: var(--card);
	transition: all 150ms var(--ease);
}

.post-card:hover {
	transform: translateY(-0.25rem);
	border-color: color-mix(in oklab, var(--primary) 30%, transparent);
	box-shadow: var(--shadow-card);
}

.post-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--secondary-35);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms var(--ease);
}

.post-card:hover .post-card__media img {
	transform: scale(1.03);
}

.post-card__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	color: color-mix(in oklab, var(--primary) 55%, transparent);
}

.post-card__placeholder .icon {
	width: 2.5rem;
	height: 2.5rem;
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.5rem;
}

.post-card__title {
	font-size: 1.25rem;
	line-height: 1.4;
}

.post-card__title a {
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 250ms var(--ease), color 150ms var(--ease);
}

.post-card__title a:hover {
	color: var(--primary);
	background-size: 100% 1px;
}

.post-card__excerpt {
	margin-top: 0.75rem;
	color: var(--muted-foreground);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.post-card .post-meta {
	margin-top: auto;
	padding-top: 1.25rem;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	color: var(--muted-foreground);
	font-size: 0.8125rem;
}

.post-meta time,
.post-meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
}

/* Home: blog e receitas em seções separadas, cada uma com sua grade. */
.home-empty {
	padding: 2.5rem 1.5rem;
	border: 1px dashed var(--border);
	border-radius: var(--radius-2xl);
	color: var(--muted-foreground);
	text-align: center;
}

/* Receitas na home: grade própria, imagem em retrato e dados culinários no lugar do resumo. */
.recipe-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.recipe-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.recipe-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem;
	}
}

.recipe-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.recipe-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius-2xl);
	background: var(--secondary-35);
	box-shadow: var(--shadow-card);
}

.recipe-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms var(--ease);
}

.recipe-card:hover .recipe-card__media img {
	transform: scale(1.04);
}

.recipe-card__time {
	position: absolute;
	top: 1rem;
	left: 1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.375rem 0.75rem;
	border-radius: 999px;
	background: var(--card);
	color: var(--foreground);
	font-size: 0.8125rem;
	font-weight: 600;
	box-shadow: var(--shadow-soft);
}

.recipe-card__time .icon {
	color: var(--primary);
}

.recipe-card__body {
	padding: 1.25rem 0.25rem 0;
}

.recipe-card .post-meta {
	margin-top: 0.75rem;
}

.recipe-card .post-meta .icon {
	color: var(--primary);
}

.pagination {
	margin-top: 3rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding-inline: 0.75rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--card);
	color: var(--muted-foreground);
	font-weight: 500;
}

.pagination a.page-numbers:hover {
	border-color: var(--primary);
	color: var(--primary);
}

.pagination .page-numbers.current {
	border-color: var(--primary);
	background: var(--primary);
	color: var(--primary-foreground);
}

.empty {
	max-width: 32rem;
	margin-inline: auto;
	text-align: center;
}

.empty h2 {
	font-size: 1.5rem;
}

.empty p {
	margin: 0.75rem 0 1.5rem;
	color: var(--muted-foreground);
}

.search-form {
	display: flex;
	gap: 0.5rem;
}

.search-form label {
	flex: 1;
}

.search-field,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--card);
	color: var(--foreground);
	font: inherit;
}

.search-submit {
	padding: 0.75rem 1.25rem;
	border-radius: var(--radius);
	background: var(--primary);
	color: var(--primary-foreground);
	font-weight: 600;
}

/* ---------- Artigo ---------- */
.article__header {
	padding-top: 3rem;
}

.text-link--back {
	margin-bottom: 2rem;
}

.article__header .eyebrow a:hover {
	color: var(--accent);
}

.article__title {
	font-size: 2.25rem;
	line-height: 1.15;
}

.article__lead {
	margin-top: 1.25rem;
	color: var(--muted-foreground);
	font-size: 1.125rem;
	line-height: 1.75;
}

.article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2rem;
	padding-block: 1.25rem;
	border-block: 1px solid var(--border);
}

@media (min-width: 640px) {
	.article__header {
		padding-top: 4rem;
	}

	.article__title {
		font-size: 3rem;
	}
}

.article__cover {
	max-width: calc(64rem + 4rem);
	margin-top: 2.5rem;
}

.article__cover img {
	width: 100%;
	border-radius: 1.5rem;
	box-shadow: var(--shadow-image);
}

.article__cover figcaption {
	margin-top: 0.75rem;
	color: var(--muted-foreground);
	font-size: 0.8125rem;
	text-align: center;
}

.article__footer {
	padding-bottom: 4rem;
}

.article__footer > .chips {
	margin-top: 0;
}

.share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: 2rem;
	color: var(--muted-foreground);
	font-size: 0.875rem;
}

.author-box {
	margin-top: 2.5rem;
	padding: 1.75rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-2xl);
	background: var(--card);
}

.author-box p {
	margin-top: 1rem;
	color: var(--muted-foreground);
	font-size: 0.9375rem;
	line-height: 1.7;
}

.author-box__note {
	padding-top: 1rem;
	border-top: 1px solid var(--border);
	font-size: 0.8125rem !important;
}

/* ---------- Conteúdo do post (editor de blocos) ---------- */
.entry-content {
	padding-block: 2.5rem 3rem;
	font-size: 1.0625rem;
	line-height: 1.85;
}

.entry-content > * + * {
	margin-top: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2.75rem;
	color: var(--foreground);
	line-height: 1.3;
}

.entry-content h2 {
	font-size: 1.75rem;
}

.entry-content h3 {
	font-size: 1.375rem;
}

.entry-content h4 {
	font-family: var(--font-body);
	font-size: 1.125rem;
	font-weight: 600;
}

.entry-content h2 + *,
.entry-content h3 + *,
.entry-content h4 + * {
	margin-top: 1rem;
}

.entry-content p,
.entry-content li {
	color: color-mix(in oklab, var(--foreground) 88%, var(--muted-foreground));
}

.entry-content a {
	color: var(--primary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-content a:hover {
	color: var(--accent);
}

.entry-content strong {
	color: var(--foreground);
	font-weight: 600;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.5rem;
}

.entry-content li + li {
	margin-top: 0.5rem;
}

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

.entry-content blockquote {
	padding: 0.25rem 0 0.25rem 1.5rem;
	border-left: 3px solid var(--secondary);
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-style: italic;
	line-height: 1.6;
}

.entry-content blockquote cite {
	display: block;
	margin-top: 0.75rem;
	color: var(--muted-foreground);
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-style: normal;
}

.entry-content img {
	border-radius: var(--radius-xl);
}

.entry-content figcaption,
.entry-content .wp-element-caption {
	margin-top: 0.5rem;
	color: var(--muted-foreground);
	font-size: 0.8125rem;
	text-align: center;
}

.entry-content hr {
	width: 5rem;
	height: 0.25rem;
	margin-block: 3rem;
	border: 0;
	border-radius: 999px;
	background: var(--secondary);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.entry-content th,
.entry-content td {
	padding: 0.75rem;
	border-bottom: 1px solid var(--border);
	text-align: left;
}

.entry-content th {
	color: var(--foreground);
	font-weight: 600;
}

.entry-content .wp-block-button__link {
	border-radius: 999px;
	background: var(--primary);
	color: var(--primary-foreground);
	font-weight: 600;
	text-decoration: none;
}

.entry-content .alignwide {
	width: min(64rem, 100vw - 2.5rem);
	max-width: none;
	margin-inline: calc((min(64rem, 100vw - 2.5rem) - 100%) / -2);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-inline: calc(50% - 50vw);
}

.entry-content .alignfull img {
	border-radius: 0;
}

.entry-content .alignleft {
	float: left;
	margin: 0.5rem 1.5rem 1rem 0;
}

.entry-content .alignright {
	float: right;
	margin: 0.5rem 0 1rem 1.5rem;
}

.entry-content .aligncenter {
	margin-inline: auto;
}

.page-links {
	margin-top: 2rem;
	font-weight: 600;
}

/* ---------- Comentários ---------- */
.comments {
	padding-block: 4rem;
}

.comments__title,
.comment-reply-title {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
}

.comments__list,
.comments__list .children {
	list-style: none;
	padding: 0;
}

.comments__list .children {
	padding-left: 1.5rem;
}

.comment-body {
	padding-block: 1.25rem;
	border-bottom: 1px solid var(--border);
}

.comment-meta {
	font-size: 0.875rem;
	color: var(--muted-foreground);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--foreground);
}

.comment-author img {
	border-radius: 999px;
}

.comment-content {
	margin-top: 0.75rem;
	line-height: 1.75;
}

.comment-form p {
	margin-bottom: 1rem;
}

.comment-form label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.875rem;
	font-weight: 500;
}

/* ---------- 404 ---------- */
.not-found {
	min-height: 70vh;
	display: grid;
	place-items: center;
	text-align: center;
}

.not-found .brand__mark {
	margin: 0 auto 1.5rem;
	width: 3rem;
	height: 3rem;
}

.not-found p {
	margin-top: 0.75rem;
	color: var(--muted-foreground);
}

.not-found__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 2rem;
}

/* ---------- Receita ---------- */
.recipe {
	max-width: calc(64rem + 4rem);
	padding-bottom: 3rem;
	scroll-margin-top: var(--header-h);
}

.recipe__card {
	padding: 1.75rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-2xl);
	background: var(--card);
	box-shadow: var(--shadow-card);
}

.recipe__title {
	font-size: 1.5rem;
	line-height: 1.3;
}

.recipe__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
	gap: 1rem;
	margin: 1.5rem 0 0;
	padding-block: 1.25rem;
	border-block: 1px solid var(--border);
}

.recipe__facts dt {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	margin-bottom: 0.25rem;
}

.recipe__facts dd {
	margin: 0;
	font-weight: 600;
}

.recipe__grid {
	display: grid;
	gap: 2rem;
	margin-top: 2rem;
}

.recipe h3 {
	margin-bottom: 1rem;
	font-size: 1.125rem;
}

.recipe__ingredients,
.recipe__steps {
	padding: 0;
	list-style: none;
	line-height: 1.7;
}

.recipe__group + .recipe__group {
	margin-top: 1.5rem;
}

.recipe__group h4 {
	margin-bottom: 0.25rem;
	color: var(--primary);
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 600;
}

.recipe__step-title {
	display: block;
	font-weight: 600;
}

.recipe__steps p + p {
	margin-top: 0.5rem;
}

.recipe__ingredients li {
	position: relative;
	padding: 0.5rem 0 0.5rem 1.25rem;
	border-bottom: 1px solid var(--border-70);
}

.recipe__ingredients li::before {
	content: "";
	position: absolute;
	top: 1.1rem;
	left: 0;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 999px;
	background: var(--primary);
}

.recipe__steps {
	counter-reset: passo;
}

.recipe__steps li {
	position: relative;
	padding-left: 2.75rem;
	counter-increment: passo;
}

.recipe__steps li + li {
	margin-top: 1.25rem;
}

.recipe__steps li::before {
	content: counter(passo);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 1.875rem;
	height: 1.875rem;
	border-radius: 999px;
	background: var(--secondary-35);
	color: var(--primary);
	font-size: 0.875rem;
	font-weight: 700;
}

.recipe__nutrition {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
}

.recipe__nutrition h3 span {
	color: var(--muted-foreground);
	font-family: var(--font-body);
	font-size: 0.875rem;
}

.recipe__nutrition table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.recipe__nutrition th,
.recipe__nutrition td {
	padding-block: 0.5rem;
	border-bottom: 1px solid var(--border-70);
}

.recipe__nutrition th {
	color: var(--muted-foreground);
	font-weight: 400;
	text-align: left;
}

.recipe__nutrition td {
	font-weight: 600;
	text-align: right;
}

@media (min-width: 768px) {
	.recipe__card {
		padding: 2.5rem;
	}

	/* Grupos de ingredientes em 2 colunas; o preparo fica embaixo, em largura total. */
	.recipe__groups {
		column-count: 2;
		column-gap: 2.5rem;
	}

	/* Uma lista sem grupos também se divide nas 2 colunas; o subtítulo não fica sozinho no fim de uma coluna. */
	.recipe__group h4 {
		break-after: avoid;
	}

	.recipe__ingredients li {
		break-inside: avoid;
	}

	.recipe__group + .recipe__group {
		margin-top: 0;
		padding-top: 1.5rem;
	}
}

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

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
