/* ==========================================================================
   Receitinhas — tema. Tokens e layout dos protótipos (home/ e conteudo/).
   Fontes: Poppins (títulos) + Nunito Sans (corpo) via Google Fonts, com
   fallback system. Contrato .banner* preservado do tema anterior.

   ÍNDICE DE SEÇÕES (buscar pelo título em caixa alta):
   TOKENS/BASE · BANNERS · HEADER · DRAWER · HERO · SEÇÕES E GRIDS · CARDS ·
   AUTORES · CATEGORIAS · CONTEÚDO (single) · ARQUIVOS/BUSCA/404 · FOOTER ·
   LGPD · ÁREA DO USUÁRIO · SINGLE DE RECEITA · ENVIAR RECEITINHA ·
   PÁGINA DE AUTOR · DASHBOARD DE RECEITA · RESPONSIVO · PRINT
   ========================================================================== */

:root {
	--cream: #FFF9F2;
	--surface: #FFFFFF;
	--tomato: #E24C2B;
	--tomato-dark: #C43C1E;
	--honey: #F6A417;
	--honey-dark: #8A5A00;/* TEXTO pequeno dourado (contraste AA) */
	--leaf: #4E9A51;
	--ink: #2B2320;
	--muted: #6E6259;
	--line: #F0E4D8;
	--shadow: 0 8px 24px rgba(120, 70, 40, .10);
	--shadow-sm: 0 3px 10px rgba(120, 70, 40, .08);
	--radius: 16px;
	--wrap: 1180px;
	--content: 730px;
	--font-head: 'Poppins', 'Poppins-fallback', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-body: 'Nunito Sans', 'NunitoSans-fallback', -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Fallbacks com métricas ajustadas — o texto ocupa o mesmo espaço antes e
   depois do swap das fontes (CLS ~0 mesmo com Google Fonts). */
@font-face {
	font-family: 'Poppins-fallback';
	src: local('Arial');
	size-adjust: 112.5%;
	ascent-override: 93.8%;
	descent-override: 31.3%;
	line-gap-override: 8.9%;
}
@font-face {
	font-family: 'NunitoSans-fallback';
	src: local('Arial');
	size-adjust: 101.5%;
	ascent-override: 99.7%;
	descent-override: 34.8%;
	line-gap-override: 0%;
}

*, *::before, *::after { box-sizing: border-box; }
/* [hidden] precisa vencer os display: dos componentes */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	background: var(--cream);
	color: var(--ink);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 38px 0; }
.section__lead { color: var(--muted); max-width: 720px; margin-bottom: 22px; }

/* Acessibilidade */
.sr-only,
.sr-only-focusable:not(:focus) {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	clip: rect(0 0 0 0); clip-path: inset(50%);
	overflow: hidden; white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 200;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 2px; }

/* ==========================================================================
   BANNERS — contrato herdado do tema anterior (Ad Inserter/GAM usam .banner*)
   ========================================================================== */

.banner { text-align: center; margin: 30px auto; clear: both; }
.banner:empty { display: none; margin: 0; }
.banner--full { width: 100%; }
.banner--header, .banner--footer { max-width: var(--wrap); }
.banner--content { max-width: 100%; overflow-x: auto; }
/* Reserva de altura só quando há criativo → sem CLS e sem buraco em homolog */
.banner--content:not(:empty) { min-height: 250px; }
.banner--content--left { float: left; max-width: 300px; margin: 0 20px 10px 0; }
.banner--content--right { float: right; max-width: 300px; margin: 0 0 10px 20px; }
.banner--desktop { display: block; }
.banner--mobile { display: none; }
.banner__title {
	display: block; font-size: 10px; text-transform: uppercase;
	letter-spacing: .08em; color: var(--muted); margin-bottom: 4px;
}
@media (max-width: 780px) {
	.banner--desktop { display: none; }
	.banner--mobile { display: block; }
}

/* Barra de parceiro (Terra) — preenchida por script externo em produção */
.trr-partner-nb-container { width: 100%; }
body.has-partner-bar .site-header { top: 0; }

/* Footer fixed do Ad Inserter (bloco WEB - Fixed usa #footer-fixed) */
#footer-fixed {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	text-align: center; background: rgba(255, 255, 255, .95);
	box-shadow: 0 -3px 10px rgba(0, 0, 0, .12); opacity: 0;
}
body.has_footer { padding-bottom: 100px; }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
	position: sticky; top: 0; z-index: 60;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
}
.site-header__bar { display: flex; align-items: center; gap: 16px; height: 70px; }
.site-header__logo { margin: 0 auto 0 0; font-size: 0; }
.logo__svg { height: 38px; width: auto; }

.burger {
	display: flex; flex-direction: column; gap: 4px;
	background: none; border: 0; padding: 8px; border-radius: 10px;
}
.burger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }
.burger:hover { background: var(--cream); }

/* Namespace: `.search` colidiria com body.search (página de resultados). */
.site-search { flex: 1; max-width: 420px; position: relative; }
.site-search input {
	width: 100%; height: 44px;
	border: 1.5px solid var(--line); border-radius: 999px;
	padding: 0 46px 0 18px; font-size: .95rem;
	background: var(--cream); outline: none; transition: border-color .2s, background .2s;
}
.site-search input:focus { border-color: var(--tomato); background: #fff; }
.site-search button {
	position: absolute; right: 5px; top: 5px;
	width: 34px; height: 34px; border: 0; border-radius: 50%;
	background: var(--tomato); color: #fff; font-size: 1rem;
}
.search-toggle { display: none; font-size: 1.3rem; padding: 6px; }

.cta {
	background: var(--tomato); color: #fff; font-weight: 700;
	padding: 11px 20px; border-radius: 999px; white-space: nowrap;
	box-shadow: var(--shadow-sm); transition: background .2s, transform .2s;
	font-size: .92rem;
}
.cta:hover { background: var(--tomato-dark); transform: translateY(-1px); }

/* Notificações (sino + dropdown) */
.notif { position: relative; flex: 0 0 auto; }
.notif__toggle { position: relative; background: none; border: 0; cursor: pointer; font-size: 1.25rem; line-height: 1; padding: 6px; border-radius: 50%; }
.notif__toggle:hover { background: var(--cream); }
.notif__badge { position: absolute; top: 0; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--tomato); color: #fff; font-size: .66rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); }
.notif__badge[hidden] { display: none; }
.notif__panel {
	position: absolute; top: calc(100% + 8px); right: 0; z-index: 70; width: 340px; max-width: calc(100vw - 32px);
	background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden;
}
.notif__panel[hidden] { display: none; }
.notif__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.notif__head strong { font-family: var(--font-head); font-size: .95rem; }
.notif__readall { background: none; border: 0; cursor: pointer; color: var(--tomato-dark); font-size: .78rem; font-weight: 700; }
.notif__readall[hidden] { display: none; }
.notif__list { list-style: none; margin: 0; padding: 0; max-height: 400px; overflow-y: auto; }
.notif__item { border-bottom: 1px solid var(--line); }
.notif__item:last-child { border-bottom: 0; }
.notif__item a { display: flex; gap: 11px; padding: 12px 16px; align-items: flex-start; }
.notif__item a:hover { background: var(--cream); }
.notif__item.is-unread a { background: #FFF6F2; }
.notif__item.is-unread a:hover { background: #FFEDE7; }
.notif__ico { flex: 0 0 auto; font-size: 1.15rem; line-height: 1.3; }
.notif__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.notif__body strong { font-family: var(--font-head); font-size: .88rem; }
.notif__text { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.notif__body time { font-size: .72rem; color: var(--muted); margin-top: 2px; }
.notif__empty { padding: 22px 16px; text-align: center; color: var(--muted); font-size: .88rem; }

/* ==========================================================================
   DRAWER
   ========================================================================== */

.overlay {
	position: fixed; inset: 0; background: rgba(43, 35, 32, .45);
	opacity: 0; visibility: hidden; transition: .25s; z-index: 70;
}
.overlay.open { opacity: 1; visibility: visible; }
.overlay[hidden] { display: block; }

.drawer {
	position: fixed; top: 0; left: 0; height: 100%; width: 320px; max-width: 85vw;
	background: #fff; z-index: 80; transform: translateX(-100%);
	transition: transform .28s ease; overflow-y: auto; box-shadow: var(--shadow);
}
.drawer.open { transform: translateX(0); }
.drawer__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.drawer__head strong { color: var(--tomato); font-size: 1.1rem; }
.drawer__logo { display: inline-flex; align-items: center; }
.drawer__logo .logo__svg { height: 30px; width: auto; display: block; }
.drawer__close { background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--muted); }
.drawer__nav { padding: 8px 0; }
.drawer__nav ul { list-style: none; }
.drawer__nav a {
	display: block; padding: 13px 22px; font-weight: 600;
	border-left: 3px solid transparent;
}
.drawer__nav a:hover, .drawer__nav a:focus-visible {
	background: var(--cream); border-left-color: var(--tomato); color: var(--tomato);
}
.drawer__nav .primary__submenu { background: var(--cream); display: none; list-style: none; }
.drawer__nav .primary__item--submenu.open > .primary__submenu { display: block; }
.drawer__nav .primary__submenu a { padding-left: 44px; font-weight: 500; font-size: .92rem; }
.drawer__list--secondary { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
	background: linear-gradient(160deg, #FFEFE2 0%, #FFF9F2 60%);
	text-align: center; padding: 56px 0 46px;
	position: relative; overflow: hidden;
}
.hero__emoji { position: absolute; font-size: 7rem; opacity: .08; user-select: none; }
.hero__title { font-size: 2.7rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; line-height: 1.15; }
.hero__accent { color: var(--tomato); }
.hero__lead { max-width: 640px; margin: 0 auto 26px; color: var(--muted); font-size: 1.08rem; }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__badges {
	display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
	margin-top: 28px; color: var(--muted); font-size: .9rem; font-weight: 600;
}

.btn { display: inline-block; border-radius: 999px; font-weight: 700; transition: .2s; }
.btn--primary {
	background: var(--tomato-dark); color: #fff; padding: 14px 28px; box-shadow: var(--shadow); border: 0;
}
.btn--primary:hover { background: #A82F14; transform: translateY(-2px); }
.btn--ghost {
	background: #fff; border: 1.5px solid var(--line); color: var(--ink); padding: 13px 24px;
}
.btn--ghost:hover { border-color: var(--tomato); color: var(--tomato); }

/* ==========================================================================
   SEÇÕES E GRIDS
   ========================================================================== */

.sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.sec-head h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 9px; }
.sec-head .see-all { margin-left: auto; color: var(--tomato-dark); font-weight: 700; font-size: .9rem; }
.sec-head .see-all:hover { text-decoration: underline; }

.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
	background: var(--surface); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
	display: flex; flex-direction: column; position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__link { display: flex; flex-direction: column; height: 100%; }
.card__thumb {
	height: 150px; background: #FFE8D6; position: relative;
	display: flex; align-items: center; justify-content: center;
}
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.card__emoji { font-size: 3.4rem; }
.card__rank {
	position: absolute; top: 10px; left: 10px; z-index: 1;
	width: 30px; height: 30px; border-radius: 50%;
	background: var(--tomato); color: #fff; font-weight: 800;
	display: flex; align-items: center; justify-content: center;
	font-size: .9rem; box-shadow: var(--shadow-sm);
}
.card__body { padding: 13px 15px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__cat {
	font-size: .72rem; font-weight: 700; color: var(--tomato-dark);
	text-transform: uppercase; letter-spacing: .04em;
}
.card__title { font-size: 1rem; line-height: 1.3; font-weight: 700; font-family: var(--font-head); margin: 0; }
.card__meta { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); flex-wrap: wrap; }
.stars { color: var(--honey); letter-spacing: 1px; }

.badge-pro {
	display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
	background: var(--leaf); color: #fff; font-size: .68rem; font-weight: 800;
	padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em;
}
.curated .card__thumb { height: 170px; }

/* ==========================================================================
   AUTORES
   ========================================================================== */

.authors { display: flex; gap: 26px; overflow-x: auto; overscroll-behavior-x: contain; padding: 6px 2px 14px; }
/* Nome com namespace: `.author` colidiria com a body class do WP
   nas páginas de arquivo de autor (body.author). */
.authors__item { flex: 0 0 auto; text-align: center; width: 96px; }
.authors__ring {
	display: block; width: 84px; height: 84px; border-radius: 50%; padding: 3px;
	background: linear-gradient(135deg, var(--tomato), var(--honey));
	margin: 0 auto 9px; transition: transform .2s;
}
.authors__item:hover .authors__ring { transform: scale(1.05); }
.authors__inner {
	display: flex; width: 100%; height: 100%; border-radius: 50%;
	background: #fff; align-items: center; justify-content: center; overflow: hidden;
}
.authors__inner img { border-radius: 50%; width: 100%; height: 100%; object-fit: cover; }
.authors__item strong { display: block; font-size: .86rem; line-height: 1.2; }
.authors__item small { color: var(--muted); font-size: .74rem; }

/* ==========================================================================
   CATEGORIAS (layout da imagem de referência: foto + label vermelho)
   ========================================================================== */

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card {
	display: flex; align-items: center; gap: 12px;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: 10px; padding: 8px 12px 8px 8px;
	box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s;
	min-height: 60px; min-width: 0; /* deixa o item do grid encolher (sem side-scroll) */
}
.cat-card:hover { border-color: var(--tomato); transform: translateY(-2px); }
.cat-card__thumb, .cat-card img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.cat-card__emoji { font-size: 1.8rem; width: 44px; text-align: center; flex: 0 0 auto; }
.cat-card__label {
	font-size: .78rem; font-weight: 800; color: var(--tomato-dark);
	text-transform: uppercase; letter-spacing: .02em; line-height: 1.25;
	min-width: 0; overflow-wrap: break-word;
}

/* ==========================================================================
   CONTEÚDO (single)
   ========================================================================== */

.layout { display: grid; gap: 32px; padding: 32px 20px; }
.layout--sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
.layout--full { grid-template-columns: minmax(0, 1fr); max-width: calc(var(--content) + 40px); }

.entry { min-width: 0; }
.entry__header { margin-bottom: 20px; }
.breadcrumbs { font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumbs a { color: var(--tomato-dark); text-decoration: underline; }
.entry__cat {
	display: inline-block; font-size: .74rem; font-weight: 700; color: var(--tomato-dark);
	text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px;
}
.entry__title { font-size: 2.1rem; margin-bottom: 12px; }
.entry__byline { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.entry__byline a { color: var(--tomato); font-weight: 600; }
.entry__avatar { border-radius: 50%; }
.entry__thumb { margin: 0 0 20px; }
.entry__thumb img { border-radius: var(--radius); width: 100%; }

.recipe-facts { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; font-size: .92rem; font-weight: 600; color: var(--muted); }
.recipe-facts__item { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }

.entry__content { font-size: 1.05rem; line-height: 1.7; max-width: var(--content); }
.entry__content img { border-radius: 12px; }
.entry__content a { color: var(--tomato); text-decoration: underline; }

/* Vídeo com facade (iframe só no clique) */
.video-facade {
	position: relative; aspect-ratio: 16 / 9; background: var(--ink); width: 100%;
	border-radius: var(--radius); overflow: hidden; margin-bottom: 20px;
	display: flex; align-items: center; justify-content: center;
}
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-facade__play { position: relative; z-index: 1; }
.video-facade__play {
	width: 72px; height: 72px; border-radius: 50%; border: 0;
	background: var(--tomato); color: #fff; font-size: 1.6rem;
	box-shadow: var(--shadow);
}

/* Ingredientes / preparo */
.recipe-content { margin-top: 28px; }
.recipe-content__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.recipe-content__heading {
	font-size: 1.05rem; text-transform: uppercase; letter-spacing: .05em;
	margin-bottom: 12px; color: var(--ink);
}
.recipe-steps { list-style: none; }
.recipe-steps__item { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.recipe-steps__subtitle { padding: 12px 0 4px; color: var(--tomato); text-transform: uppercase; font-size: .82rem; letter-spacing: .04em; }
.recipe-check {
	flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px;
	border: 2px solid var(--line); border-radius: 6px; background: #fff;
}
.recipe-check[aria-pressed="true"] { background: var(--leaf); border-color: var(--leaf); }
.recipe-check[aria-pressed="true"]::after { content: "✓"; color: #fff; display: block; text-align: center; line-height: 18px; font-size: .8rem; }
.recipe-steps__item:has(.recipe-check[aria-pressed="true"]) span { text-decoration: line-through; color: var(--muted); }

.recipe-content__extra { margin-top: 24px; }

.nutrition { margin-top: 24px; }
.nutrition__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.nutrition__item {
	background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
	text-align: center; padding: 14px 8px;
}
.nutrition__value { display: block; font-weight: 800; font-size: 1.1rem; }
.nutrition__label { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }

.conteudo_complementar { margin-top: 24px; }

/* Share */
.share { margin: 28px 0; }
.share__title { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.share__list { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; }
.share__button {
	display: inline-block; padding: 8px 16px; border-radius: 999px; border: 0;
	background: var(--surface); border: 1.5px solid var(--line); font-weight: 600; font-size: .86rem;
}
.share__button:hover { border-color: var(--tomato); color: var(--tomato); }

.share-bar {
	position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 65;
	display: flex; align-items: center; gap: 12px;
	background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 22px;
	box-shadow: var(--shadow); font-size: .9rem;
}
.share-bar__button { background: none; border: 0; color: #fff; font-weight: 700; }
.share-bar__sep { opacity: .4; }
body.has_footer .share-bar { display: none; } /* dá lugar ao ad fixo */

/* Bio */
.entry__bio { display: flex; gap: 16px; margin: 28px 0; padding: 18px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.entry__bio-avatar { border-radius: 50%; flex: 0 0 auto; }

/* Sidebar */
.sidebar { min-width: 0; }
.sidebar .widget { margin-bottom: 24px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: 16px; }
.widget__title { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.sidebar .widget.banner-widget, .sidebar .widget[id*="ai_widget"] { background: none; border: 0; padding: 0; }

/* ==========================================================================
   ARQUIVOS / BUSCA / 404 / PAGINAÇÃO
   ========================================================================== */

.archive-title { font-size: 1.8rem; margin-bottom: 8px; }
/* Descrição da categoria em largura total do container (pedido do produto). */
.archive-description { color: var(--muted); margin-bottom: 24px; }
.archive-description p:last-child { margin-bottom: 0; }
.archive-intro { margin-bottom: 24px; }

.search-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.search-filters input[type="search"], .search-filters select {
	height: 44px; border: 1.5px solid var(--line); border-radius: 999px;
	padding: 0 16px; background: #fff; font: inherit;
}

.pagination { margin-top: 30px; }
.pagination ul { display: flex; gap: 6px; justify-content: center; list-style: none; flex-wrap: wrap; }
.pagination a, .pagination span {
	display: inline-block; min-width: 40px; text-align: center; padding: 9px 12px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-weight: 600;
}
.pagination .current { background: var(--tomato); color: #fff; border-color: var(--tomato); }

.error-404 { text-align: center; }
.error-404 h1 { margin-bottom: 10px; }
.error-404 .site-search--inline { max-width: 420px; margin: 20px auto 30px; position: relative; }
.error-404 h2 { margin: 10px 0 20px; }
.site-search--inline input { width: 100%; height: 44px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 46px 0 18px; }
.site-search--inline button { position: absolute; right: 5px; top: 5px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--tomato); color: #fff; }
.site-search--inline { position: relative; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer { background: #2B2320; color: #E9DED4; margin-top: 20px; padding: 48px 0 26px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-footer__logo { display: inline-block; margin-bottom: 14px; }
.site-footer__logo .logo__svg { height: 40px; width: auto; }
.site-footer__brand p { color: #B7A79B; font-size: .9rem; max-width: 260px; }
.site-footer__heading {
	font-size: .82rem; text-transform: uppercase; letter-spacing: .06em;
	color: var(--honey); margin-bottom: 14px; font-weight: 700;
}
.site-footer__menu { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.site-footer__menu a { color: #D7C8BC; font-size: .9rem; }
.site-footer__menu a:hover { color: #fff; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
	display: flex; align-items: center; gap: 7px;
	background: rgba(255, 255, 255, .07); padding: 8px 12px;
	border-radius: 999px; font-size: .84rem; transition: background .2s;
}
.socials a:hover { background: var(--tomato); }
.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 34px; padding-top: 20px;
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
	color: #A99A8E; font-size: .82rem;
}
.site-footer__bottom a { color: #D7C8BC; text-decoration: underline; }

/* ==========================================================================
   LGPD
   ========================================================================== */

.lgpd {
	position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 95;
	max-width: 520px; width: calc(100vw - 32px);
	display: flex; align-items: center; gap: 14px;
	background: #fff; border: 1px solid var(--line); border-radius: 14px;
	padding: 14px 18px; box-shadow: var(--shadow); font-size: .9rem;
}
.lgpd__text { margin: 0; }
.lgpd__text a { color: var(--tomato-dark); text-decoration: underline; }
.lgpd__button {
	flex: 0 0 auto; background: var(--tomato-dark); color: #fff; border: 0;
	border-radius: 999px; padding: 9px 18px; font-weight: 700;
}

/* ==========================================================================
   ÁREA DO USUÁRIO (login, minha conta, formulários UGC, prova social)
   ========================================================================== */

.btn--small { padding: 7px 14px; font-size: .82rem; }

/* Login */
.auth-card {
	max-width: 460px; margin: 24px auto; text-align: center;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 38px 28px;
}
.auth-card__emoji { font-size: 3rem; display: block; margin-bottom: 10px; }
.auth-card__title { font-size: 1.5rem; margin-bottom: 10px; }
.auth-card__lead { color: var(--muted); font-size: .95rem; }
.auth-card__google { display: flex; justify-content: center; margin: 22px 0 8px; }
.auth-card__dev { margin-top: 12px; }
.auth-card__terms { color: var(--muted); font-size: .8rem; margin: 16px 0 0; }
.auth-card__terms a { color: var(--tomato-dark); text-decoration: underline; }
.auth-card__feedback:not(:empty) { color: #b32d2e; font-size: .88rem; margin-top: 10px; }

/* Conta: header + navegação */
.account__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.account__avatar img { border-radius: 50%; }
.account__title { font-size: 1.5rem; }
.account__role { color: var(--muted); font-size: .85rem; margin: 0; }
.account__logout { margin-left: auto; }
.account__subtitle { font-size: 1.25rem; margin: 26px 0 16px; }

.account__nav { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 22px; }
.account__nav-item {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem;
	background: var(--surface); border: 1.5px solid var(--line);
}
.account__nav-item:hover { border-color: var(--tomato); color: var(--tomato-dark); }
.account__nav-item.is-active { background: var(--tomato); border-color: var(--tomato); color: #fff; }

/* Tiles da visão geral */
.account-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.account-tile {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 20px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .2s;
}
.account-tile:hover { transform: translateY(-3px); }
.account-tile__emoji { font-size: 1.6rem; display: block; }
.account-tile__number { font-size: 1.8rem; font-weight: 800; display: block; }
.account-tile__label { color: var(--muted); font-size: .85rem; }
.account-cta { margin: 24px 0; padding: 20px; background: linear-gradient(160deg, #FFEFE2, #FFF9F2); border-radius: var(--radius); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.account-cta p { margin: 0; flex: 1; min-width: 200px; }

/* Abas e lista de receitas do autor */
.account-notice {
	display: flex; align-items: flex-start; gap: 10px;
	margin: 0 0 18px; padding: 14px 16px; border-radius: 12px;
	background: #EAF6EC; border: 1px solid #CDE8D2; color: #1d6b2a;
}
.account-notice__ico { font-size: 1.1rem; line-height: 1.4; flex: 0 0 auto; }
.account-notice p { margin: 0; font-size: .92rem; line-height: 1.4; }

.account-subhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.account-subhead .account__subtitle { margin-bottom: 0; }
.account-subhead__add { white-space: nowrap; }

.account-search { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); transition: border-color .2s; }
.account-search:focus-within { border-color: var(--tomato); }
.account-search__ico { color: var(--muted); font-size: .9rem; flex: 0 0 auto; }
.account-search input[type="search"] { flex: 1; min-width: 0; border: 0; background: none; font: inherit; padding: 4px 0; }
.account-search input[type="search"]:focus { outline: none; }
.account-search__clear { font-size: .82rem; font-weight: 700; color: var(--muted); flex: 0 0 auto; white-space: nowrap; }
.account-search__clear:hover { color: var(--tomato-dark); }

.account-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.account-tabs__tab { padding: 7px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600; background: var(--surface); border: 1.5px solid var(--line); white-space: nowrap; }
.account-tabs__tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.account-tabs__ico { font-style: normal; }

.account-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.account-list__item {
	display: flex; align-items: center; gap: 14px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.account-list__thumb { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--cream); font-size: 1.5rem; }
.account-list__thumb img { width: 100%; height: 100%; object-fit: cover; }
.account-list__info { min-width: 0; flex: 1; }
.account-list__title { display: block; }
.account-list__title a:hover { color: var(--tomato-dark); }
.account-list__meta { color: var(--muted); font-size: .82rem; }
.account-list__actions { display: flex; gap: 8px; flex: 0 0 auto; }

.account-badge { font-weight: 700; }
.account-badge--pending { color: #9a6700; }
.account-badge--publish { color: var(--leaf); }
.account-badge--trash { color: #b32d2e; }

.account-empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.account-empty span { font-size: 2.4rem; display: block; margin-bottom: 8px; }
.account-notice {
	background: #FFF6E5; border: 1px solid #F3DFB6; color: #7a5b00;
	border-radius: 10px; padding: 10px 14px; font-size: .9rem;
}
.account-notice--warn { display: flex; align-items: flex-start; gap: 10px; background: #FFF6E9; border: 1px solid #F6E3C4; color: var(--honey-dark); }
.account-notice--warn p { margin: 0; }
.account-list__reject { margin: 6px 0 0; font-size: .82rem; line-height: 1.4; color: var(--honey-dark); background: #FFF6E9; border: 1px solid #F6E3C4; border-radius: 8px; padding: 6px 10px; }

/* Formulários UGC */
.recipe-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.recipe-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.recipe-form__field { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; }
.recipe-form__field--full { grid-column: 1 / -1; }
.recipe-form__field label { font-weight: 600; font-size: .9rem; }
.recipe-form__field small { color: var(--muted); font-size: .78rem; }
.recipe-form__field input[type="text"],
.recipe-form__field input[type="number"],
.recipe-form__field input[type="email"],
.recipe-form__field select,
.recipe-form__field textarea {
	border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px;
	font: inherit; background: var(--cream); transition: border-color .2s, background .2s; width: 100%;
}
.recipe-form__field textarea { resize: vertical; }
.recipe-form__field input:focus, .recipe-form__field select:focus, .recipe-form__field textarea:focus {
	border-color: var(--tomato); background: #fff; outline: none;
}
.recipe-form__field input[disabled] { opacity: .6; }
.recipe-form__inline { display: flex; gap: 8px; }
.recipe-form__inline input[type="number"] { max-width: 110px; }
.recipe-form__preview { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.recipe-form__preview img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.recipe-form__hp { position: absolute !important; left: -9999px; }
.recipe-form__actions { margin: 18px 0 0; }
.recipe-form__actions .btn { border: 0; cursor: pointer; }
.recipe-form__note { color: var(--muted); font-size: .82rem; margin-top: 12px; }
.recipe-form__feedback:not(:empty) { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: #EAF6EC; color: #1d6b2a; font-size: .9rem; }
.recipe-form__feedback.is-error { background: #FDEBEB; color: #b32d2e; }

/* Modal de carregamento (overlay com blur + spinner centralizado) */
.load-modal {
	position: fixed; inset: 0; z-index: 1000;
	display: flex; align-items: center; justify-content: center; padding: 24px;
	background: rgba(43, 35, 32, .32);
	-webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.load-modal[hidden] { display: none; }
.load-modal__box {
	display: flex; flex-direction: column; align-items: center; gap: 14px;
	max-width: 320px; padding: 30px 34px; text-align: center;
	background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
}
.load-modal__spinner {
	width: 46px; height: 46px; border-radius: 50%;
	border: 4px solid var(--line); border-top-color: var(--tomato);
	animation: load-spin .8s linear infinite;
}
.load-modal__text { margin: 0; font-weight: 600; font-size: .95rem; color: var(--ink); line-height: 1.35; }
@keyframes load-spin { to { transform: rotate(360deg); } }

/* Estrelas clicáveis (radio invertido para hover) */
.star-input { border: 0; padding: 0; margin: 0 0 14px; display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 1.9rem; color: #D8CFC6; cursor: pointer; transition: color .15s; line-height: 1; }
.star-input label:hover, .star-input label:hover ~ label,
.star-input input:checked ~ label { color: var(--honey); }
.star-input input:focus-visible + label { outline: 3px solid var(--tomato); outline-offset: 2px; border-radius: 4px; }

@media (max-width: 640px) {
	.recipe-form__grid { grid-template-columns: 1fr; }
	.account-tiles { grid-template-columns: 1fr; }
	.account-list__item { flex-wrap: wrap; }
	.account-list__actions { width: 100%; justify-content: flex-end; }
}

/* ==========================================================================
   SINGLE DE RECEITA (protótipo conteudo/minhasreceitinhas-receita.html)
   ========================================================================== */

.crumb { font-size: .82rem; color: var(--muted); padding: 16px 0 0; }
.crumb a:hover { color: var(--tomato); }

.article { max-width: 820px; margin: 0 auto; padding: 10px 20px 20px; }
.recipe-title { font-size: 2.4rem; font-weight: 800; margin: 10px 0 12px; }

/* Byline: autor | nota | ações */
.byline {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
	color: var(--muted); font-size: .95rem;
	padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 20px;
}
.byline__author { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.byline__author:hover { color: var(--tomato); }
.byline__av img { width: 30px; height: 30px; border-radius: 50%; }
.byline__sep { color: var(--line); }
.byline__rating { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.byline__rating:hover { color: var(--tomato); }
.byline__rating small { color: var(--muted); font-weight: 600; }
.byline__actions { display: flex; gap: 10px; margin-left: auto; flex-wrap: wrap; }

.act {
	display: flex; align-items: center; justify-content: center; gap: 6px;
	background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
	padding: 0 14px; height: 38px; font-size: .85rem; font-weight: 700; color: var(--ink);
	font-family: var(--font-head); transition: border-color .2s, color .2s;
	white-space: nowrap; overflow: hidden;
}
.act:hover { border-color: var(--tomato); color: var(--tomato); }
.act.saved { background: var(--tomato); color: #fff; border-color: var(--tomato); }

/* Foto destaque */
.hero-media {
	margin: 0 0 18px; border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow); background: linear-gradient(135deg, #FFE3C6, #FDEBD0);
	aspect-ratio: 2 / 1; /* altura reservada desde o primeiro paint — zero CLS */
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Quickfacts */
.quickfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 28px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-align: center; }
.fact__ico { font-size: 1.4rem; }
.fact__val { font-weight: 800; font-family: var(--font-head); font-size: 1.05rem; }
.fact__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; margin-top: 4px; }

/* Seções da receita */
.recipe-section { margin-bottom: 34px; }
.recipe-section h2 {
	font-size: 1.55rem; display: flex; align-items: center; gap: 10px;
	margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--line);
}
.recipe-section__ic { color: var(--tomato); }

/* Ingredientes (checklist) */
.ingredients { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.ingredients__item {
	display: flex; align-items: flex-start; gap: 12px;
	padding: 11px 6px; border-bottom: 1px dashed var(--line); cursor: pointer;
}
.ingredients__item:hover { background: var(--cream); }
.ingredients__group { padding: 14px 6px 4px; color: var(--tomato-dark); text-transform: uppercase; font-size: .82rem; letter-spacing: .04em; font-family: var(--font-head); }
.ingredients__cb {
	width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px;
	border: 2px solid var(--tomato); border-radius: 6px;
	display: flex; align-items: center; justify-content: center;
	color: transparent; font-size: .8rem; transition: background .15s, color .15s;
}
.ingredients__item.checked .ingredients__cb { background: var(--tomato); color: #fff; }
.ingredients__item.checked span:last-child { text-decoration: line-through; color: var(--muted); }

/* Modo de preparo (cards numerados) */
.steps { display: flex; flex-direction: column; gap: 18px; counter-reset: step; }
.step {
	display: flex; gap: 18px; align-items: flex-start;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 16px; box-shadow: var(--shadow-sm);
}
.step__img { flex: 0 0 130px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #FDEBD0, #FFE3C6); }
.step__img img { width: 130px; height: 110px; object-fit: cover; }
.step__body { flex: 1; min-width: 0; }
.step__badge {
	display: inline-block; background: var(--tomato-dark); color: #fff;
	font-family: var(--font-head); font-weight: 700; font-size: .72rem;
	padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}
.step__body p { margin: 0; }

/* Dica da autora */
.tips {
	background: #FFF6E9; border: 1px solid #F6E3C4; border-left: 5px solid var(--honey);
	border-radius: 14px; padding: 20px 22px;
}
.tips h2 { border: 0; font-size: 1.3rem; margin-bottom: 12px; padding-bottom: 0; }
.tips ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tips li { display: flex; gap: 12px; align-items: flex-start; }
.tips li::before { content: "💡"; flex: 0 0 auto; }

/* Avaliações — resumo */
.rev-head {
	display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 20px; margin-bottom: 20px;
}
.rev-head__score { text-align: center; padding-right: 20px; border-right: 1px solid var(--line); }
.rev-head__num { font-size: 2.8rem; font-weight: 800; font-family: var(--font-head); color: var(--tomato); line-height: 1; }
.rev-head__score .stars { font-size: 1.1rem; }
.rev-head__score small { color: var(--muted); font-size: .82rem; }
.rev-head__cta { flex: 1; min-width: 220px; }
.rev-head__cta h3 { font-size: 1.15rem; margin-bottom: 4px; }
.rev-head__cta p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Formulário de avaliação + login gate */
.review-form { position: relative; margin-bottom: 24px; }
.review-form__title { font-size: 1.15rem; margin-bottom: 6px; }
.review-form textarea { min-height: 80px; }
.review-form__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; flex-wrap: wrap; gap: 10px; }
.review-form__foot .btn { border: 0; cursor: pointer; }
.review-form__hint { font-size: .78rem; color: var(--muted); margin: 8px 0 0; }
.charcount { font-size: .8rem; color: var(--muted); }

.upload-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 12px 0; }
.upload-btn {
	display: flex; align-items: center; gap: 8px;
	border: 1.5px dashed var(--line); border-radius: 12px; padding: 14px 18px;
	cursor: pointer; font-weight: 700; color: var(--muted);
	font-family: var(--font-head); font-size: .88rem; transition: border-color .2s, color .2s;
}
.upload-btn:hover { border-color: var(--tomato); color: var(--tomato); }
.upload-row__file { font-size: .82rem; color: var(--leaf); font-weight: 600; }

.login-gate {
	position: absolute; inset: 0; z-index: 5;
	background: rgba(255, 249, 242, .88); backdrop-filter: blur(2px);
	border-radius: var(--radius);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 10px; text-align: center; padding: 20px;
}
.login-gate__lock { font-size: 2rem; }
.login-gate p { max-width: 340px; color: var(--muted); font-weight: 600; margin: 0; }

/* Lista de avaliações */
.review { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.review__av img { width: 42px; height: 42px; border-radius: 50%; }
.review__body { flex: 1; min-width: 0; }
.review__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review__top strong { font-family: var(--font-head); }
.review__top .stars { font-size: .85rem; }
.review__top small { color: var(--muted); font-size: .8rem; }
.review__body p { margin: 4px 0 0; }
.review__photo { margin: 8px 0 0; }
.review__photo img { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; }
.review__social { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .82rem; font-weight: 700; color: var(--tomato-dark); }
.review__social:hover { text-decoration: underline; }
.review-list__empty { color: var(--muted); }
.review-list__sample-note { font-size: .82rem; color: #6b5b3f; background: #FFF6E9; border: 1px solid #F6E3C4; border-radius: 10px; padding: 8px 12px; margin: 0 0 6px; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
	background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
	padding: 7px 16px; font-size: .85rem; font-weight: 600; transition: border-color .2s, color .2s;
}
.tag:hover { border-color: var(--tomato); color: var(--tomato); }
.tag--user { background: #FFEDE7; border-color: #F6C9BB; color: var(--tomato-dark); }

/* Bloco de busca final */
.search-block {
	background: linear-gradient(160deg, #FFEFE2, #FFF9F2);
	border-radius: var(--radius); padding: 34px; text-align: center;
}
.search-block h2 { font-size: 1.5rem; margin-bottom: 6px; }
.search-block p { color: var(--muted); margin-bottom: 18px; }
.search-block form { max-width: 520px; margin: 0 auto; position: relative; }
.search-block input {
	width: 100%; height: 52px; border: 1.5px solid var(--line); border-radius: 999px;
	padding: 0 60px 0 22px; font-size: 1rem; font-family: var(--font-body); outline: none; background: #fff;
}
.search-block input:focus { border-color: var(--tomato); }
.search-block button {
	position: absolute; right: 6px; top: 6px; height: 40px; width: 40px;
	border-radius: 50%; border: 0; background: var(--tomato); color: #fff; font-size: 1.1rem;
}

@media (max-width: 640px) {
	.recipe-title { font-size: 1.7rem; }
	.byline { gap: 8px; }
	.byline__actions {
		margin-left: 0; width: 100%;
		display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
	}
	.act { padding: 0 8px; font-size: .8rem; }
	.step { flex-direction: column; }
	.step__img { flex: 0 0 auto; width: 100%; }
	.step__img img { width: 100%; height: 150px; }
	.rev-head__score { padding-right: 0; border-right: 0; width: 100%; }
}

@media print {
	.site-header, .drawer, .overlay, .byline__actions, .banner, .review-form,
	.site-footer, .share-bar, .lgpd, .search-block, .sec-head .see-all { display: none !important; }
	body { background: #fff; }
}

/* ==========================================================================
   ENVIAR RECEITINHA (wizard + chat — protótipo minhas-receitinhas/enviar)
   ========================================================================== */

.send-intro { text-align: center; max-width: 720px; margin: 0 auto 8px; }
.send-intro__title { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.send-intro__accent { color: var(--tomato); }
.send-intro__lead { color: var(--muted); font-size: 1.02rem; }

.modes { max-width: 820px; margin: 20px auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mode-card {
	background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
	padding: 18px; text-align: left; display: flex; gap: 14px; align-items: flex-start;
	transition: border-color .2s;
}
.mode-card:hover { border-color: var(--tomato); }
.mode-card.is-active { border-color: var(--tomato); background: #FFF6F2; box-shadow: var(--shadow-sm); }
.mode-card__ico { font-size: 1.8rem; }
.mode-card__title { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; }
.mode-card__desc { display: block; font-size: .86rem; color: var(--muted); }
.mode-card__tag { display: inline-block; margin-top: 6px; font-size: .72rem; font-weight: 800; color: var(--tomato-dark); text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-head); }

/* Barra de passos */
.steps-bar { display: flex; list-style: none; margin: 6px 0 24px; }
.steps-bar__st { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.steps-bar__st::before { content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 1; }
.steps-bar__st:first-child::before { display: none; }
.steps-bar__st.is-done::before, .steps-bar__st.is-active::before { background: var(--leaf); }
.steps-bar__dot {
	width: 34px; height: 34px; border-radius: 50%; background: #fff;
	border: 2px solid var(--line); display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-family: var(--font-head); color: var(--muted); z-index: 2; transition: .2s;
}
.steps-bar__st.is-done .steps-bar__dot { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.steps-bar__st.is-active .steps-bar__dot { background: var(--tomato); border-color: var(--tomato); color: #fff; transform: scale(1.08); }
.steps-bar__lbl { font-size: .72rem; font-weight: 700; color: var(--muted); text-align: center; }
.steps-bar__st.is-active .steps-bar__lbl { color: var(--tomato-dark); }

.card-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.step-pane { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.step-pane.is-active { display: block; animation: pane-fade .25s; }
@keyframes pane-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step-pane__title { font-size: 1.35rem; margin-bottom: 4px; }
.helper {
	background: #FFF6E9; border: 1px solid #F6E3C4; border-left: 4px solid var(--honey);
	border-radius: 12px; padding: 12px 15px; font-size: .9rem; color: #6b5b3f;
	margin: 12px 0 20px; display: flex; gap: 10px;
}
.helper::before { content: "💡"; flex: 0 0 auto; }
.req { color: var(--tomato); }
.opt { color: var(--muted); font-weight: 600; font-size: .78rem; }
.recipe-form__label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: 6px; }
.recipe-form__unit { align-self: center; color: var(--muted); font-size: .85rem; }

/* Ingredientes */
.ing-head, .ing-row { display: grid; grid-template-columns: 84px 140px minmax(0, 1fr) 40px; gap: 8px; align-items: center; }
.ing-head { font-size: .72rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 6px; padding: 0 2px; }
.ing-row { margin-bottom: 10px; }
.ing-row input, .ing-row select {
	height: 46px; border: 1.5px solid var(--line); border-radius: 12px;
	padding: 0 12px; font: inherit; background: var(--cream); min-width: 0;
}
.ing-row input:focus, .ing-row select:focus { border-color: var(--tomato); background: #fff; outline: none; }
.del-btn { width: 40px; height: 40px; border: 0; background: #FFEDE7; color: var(--tomato-dark); border-radius: 10px; font-size: 1rem; }
.del-btn:hover { background: #F6C9BB; }
.add-btn {
	background: none; border: 1.5px dashed var(--line); color: var(--tomato-dark);
	font-weight: 700; font-family: var(--font-head); border-radius: 12px;
	padding: 11px; width: 100%; margin-top: 4px; transition: .15s;
}
.add-btn:hover { border-color: var(--tomato); background: #FFF6F2; }

/* Passos do preparo */
.prep-step { display: flex; gap: 14px; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.prep-step__num { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--tomato); color: #fff; font-weight: 800; font-family: var(--font-head); display: flex; align-items: center; justify-content: center; }
.prep-step__body { flex: 1; min-width: 0; position: relative; }
.prep-step__body textarea { width: 100%; min-height: 60px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; resize: vertical; margin-bottom: 8px; font: inherit; background: #fff; }
.prep-step__body textarea:focus { border-color: var(--tomato); outline: none; }
.prep-step__del { position: absolute; top: 0; right: 0; width: 32px; height: 32px; }

/* Uploads (área tracejada) */
.upload {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
	border: 1.5px dashed var(--line); border-radius: 12px; padding: 14px 16px;
	cursor: pointer; transition: .15s; background: #fff;
}
.upload:hover { border-color: var(--tomato); background: #FFF6F2; }
.upload--small { padding: 10px 14px; max-width: calc(100% - 44px); }
.upload__ico { font-size: 1.5rem; }
.upload__txt { flex: 1; min-width: 140px; }
.upload__txt strong { display: block; font-family: var(--font-head); font-size: .9rem; }
.upload__txt small { color: var(--muted); font-size: .78rem; }
.upload__fname { color: var(--leaf); font-weight: 700; font-size: .82rem; }

/* Dicas */
.tip-row { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.tip-row::before { content: "•"; color: var(--tomato); font-size: 1.4rem; font-weight: 800; }
.tip-row input { flex: 1; min-width: 0; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; font: inherit; background: var(--cream); }
.tip-row input:focus { border-color: var(--tomato); background: #fff; outline: none; }

/* Navegação/revisão/sucesso */
.wiz-nav { display: flex; justify-content: space-between; margin-top: 24px; gap: 12px; }
.wiz-nav .btn { border: 0; cursor: pointer; }
.err-msg { color: #b32d2e; font-size: .88rem; font-weight: 700; margin-top: 12px; }
.review-title { font-size: 1.05rem; margin: 22px 0 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.rev-item { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; overflow-wrap: break-word; }
.rev-item strong { font-family: var(--font-head); font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; display: block; margin-bottom: 3px; }
.success-box { text-align: center; padding: 40px 20px; }
.success-box__big { font-size: 3rem; display: block; }
.success-box p { color: var(--muted); max-width: 460px; margin: 10px auto 20px; }

/* Chat */
.chat { max-width: 720px; margin: 0 auto; }
.chat__window { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.chat__top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #FFF6F2; }
.chat__bot { width: 42px; height: 42px; border-radius: 50%; background: var(--tomato); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.chat__name { font-size: 1rem; }
.chat__status { color: var(--leaf); font-weight: 700; font-size: .78rem; }
.chat__body { padding: 18px; max-height: 380px; min-height: 180px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; background: var(--cream); }
.chat__msg { max-width: 85%; padding: 11px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.5; overflow-wrap: break-word; }
.chat__msg--bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat__msg--me { background: var(--tomato); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat__input { display: flex; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); background: #fff; align-items: flex-end; }
.chat__input textarea { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 16px; padding: 10px 16px; font: inherit; resize: none; }
.chat__input textarea:focus { border-color: var(--tomato); outline: none; }
.chat__send { flex: 0 0 auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--tomato); color: #fff; font-size: 1.1rem; }
.chat__note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ==========================================================================
   PÁGINA DE AUTOR (conta + pública — protótipo minhas-receitinhas/autor)
   ========================================================================== */

.account__lead { color: var(--muted); margin-bottom: 20px; }

.author-preview, .author-page { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.author-preview__tagbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #FFF6E9; border-bottom: 1px solid #F6E3C4; padding: 8px 16px; font-size: .8rem; color: #6b5b3f; font-weight: 700; overflow-wrap: anywhere; }
.author-preview__cover { height: 120px; background: linear-gradient(120deg, var(--tomato), var(--honey)); }
.author-preview__body { padding: 0 22px 22px; margin-top: -46px; }
.author-preview__avatar { display: inline-flex; width: 92px; height: 92px; border-radius: 50%; border: 4px solid #fff; background: var(--cream); overflow: hidden; box-shadow: var(--shadow-sm); }
.author-preview__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.author-preview__name { font-size: 1.5rem; margin-top: 10px; }
.author-preview__handle { color: var(--tomato-dark); font-weight: 700; font-family: var(--font-head); margin-bottom: 4px; }
.author-preview__desc { max-width: 560px; margin: 8px 0 12px; }
.author-preview__desc.is-empty { color: var(--muted); font-style: italic; }
.author-preview__foods { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.food-chip { background: #FFEDE7; color: var(--tomato-dark); border-radius: 999px; padding: 5px 13px; font-size: .82rem; font-weight: 700; }
.author-preview__stats { display: flex; gap: 26px; margin: 6px 0 14px; flex-wrap: wrap; }
.author-preview__stats div { font-size: .86rem; color: var(--muted); }
.author-preview__stats b { display: block; font-size: 1.25rem; color: var(--ink); font-family: var(--font-head); }
.author-preview__social { display: flex; gap: 10px; flex-wrap: wrap; }
.author-preview__social a { width: 38px; height: 38px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; border: 1px solid var(--line); }
.author-preview__social a:hover { border-color: var(--tomato); }
.author-preview__social a.is-off { opacity: .3; pointer-events: none; }
.author-preview__recipes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.author-preview__rc { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: block; }
.author-preview__rc-th { display: flex; height: 80px; align-items: center; justify-content: center; font-size: 2rem; background: #FDEBD0; overflow: hidden; }
.author-preview__rc-th img { width: 100%; height: 100%; object-fit: cover; }
.author-preview__rc small { display: block; padding: 8px 10px; font-weight: 600; font-size: .8rem; }

.profile-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.profile-card__title { font-size: 1.2rem; display: flex; align-items: center; gap: 9px; margin-bottom: 4px; flex-wrap: wrap; }
.profile-card__sub { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.profile-card__note { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.badge-req, .badge-opt { font-size: .66rem; padding: 3px 9px; border-radius: 999px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-family: var(--font-head); }
.badge-req { background: var(--tomato); color: #fff; }
.badge-opt { background: var(--cream); color: var(--muted); border: 1px solid var(--line); }

.handle-wrap { position: relative; display: block; }
.handle-wrap__at { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 800; }
.handle-wrap input { padding-left: 32px !important; }
.avail { display: block; font-size: .83rem; font-weight: 700; margin-top: 6px; min-height: 18px; }
.avail.is-ok { color: var(--leaf); }
.avail.is-no { color: #b32d2e; }
.avail.is-checking { color: var(--muted); }
.slug-preview { display: block; font-size: .82rem; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.slug-preview b { color: var(--ink); }
.tag-preview { display: inline-flex; align-items: center; gap: 6px; background: #FFEDE7; color: var(--tomato-dark); border-radius: 999px; padding: 5px 12px; font-size: .82rem; font-weight: 700; margin-top: 8px; max-width: 100%; overflow-wrap: anywhere; }
.locknote { display: flex; align-items: flex-start; gap: 6px; font-size: .78rem; color: #B0662A; background: #FFF6E9; border: 1px solid #F6E3C4; border-radius: 8px; padding: 6px 10px; margin-top: 8px; }

.avatar-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.avatar-row__prev { width: 74px; height: 74px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); overflow: hidden; flex: 0 0 auto; display: inline-flex; }
.avatar-row__prev img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.chips-edit { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip-e { display: inline-flex; align-items: center; gap: 6px; background: #FFEDE7; color: var(--tomato-dark); border-radius: 999px; padding: 6px 12px; font-size: .85rem; font-weight: 700; }
.chip-e button { background: none; border: 0; color: var(--tomato-dark); font-weight: 800; padding: 0 2px; }
.add-inline { display: flex; gap: 8px; }
.add-inline input { flex: 1; min-width: 0; height: 42px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; font: inherit; background: var(--cream); }
.add-inline input:focus { border-color: var(--tomato); background: #fff; outline: none; }
.add-inline button { background: var(--tomato); color: #fff; border: 0; border-radius: 10px; padding: 0 16px; font-weight: 700; }

.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.social-grid__field span { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: .88rem; margin-bottom: 4px; }
.social-grid__field input { width: 100%; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; font: inherit; background: var(--cream); }
.social-grid__field input:focus { border-color: var(--tomato); background: #fff; outline: none; }

.schema-panel { margin-top: 14px; }
.schema-panel summary { cursor: pointer; font-weight: 700; font-family: var(--font-head); color: var(--tomato-dark); }
.schema-panel__code { background: #2B2320; color: #E9DED4; border-radius: 12px; padding: 16px; overflow-x: auto; font-size: .78rem; line-height: 1.5; margin-top: 12px; font-family: ui-monospace, Menlo, Consolas, monospace; }

.pay-head { display: flex; align-items: flex-start; gap: 14px; }
.pay-head__ico { font-size: 1.8rem; }
.balance { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; }
.balance b { font-size: 1.5rem; font-family: var(--font-head); color: var(--leaf); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ==========================================================================
   PÁGINA PÚBLICA DO AUTOR (protótipo pagina-autor/)
   ========================================================================== */

/* Sem position: relative aqui — elemento posicionado pintaria ACIMA do
   perfil (que é estático) e cobriria o avatar que sobe com margin negativa.
   O padrão de emojis fica no fluxo normal, contido por overflow. */
.author-cover {
	height: 180px;
	background: linear-gradient(120deg, var(--tomato), var(--honey));
	overflow: hidden;
}
.author-cover__pattern {
	display: block; padding: 10px;
	opacity: .15; font-size: 2.4rem; letter-spacing: 14px; line-height: 2.4;
	user-select: none; word-break: break-all;
}

.author-profile { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.author-profile__top { display: flex; gap: 22px; align-items: flex-end; flex-wrap: wrap; margin-top: -60px; }
.author-profile__avatar {
	flex: 0 0 auto; width: 130px; height: 130px; border-radius: 50%;
	border: 5px solid #fff; background: #FDEBD0; overflow: hidden;
	box-shadow: var(--shadow); display: inline-flex;
}
.author-profile__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.author-profile__who { flex: 1 1 220px; min-width: 0; padding-bottom: 6px; }
.author-profile__name { font-size: 2rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; overflow-wrap: anywhere; }
.verified {
	background: var(--leaf); color: #fff; font-size: .66rem; font-weight: 800;
	padding: 4px 10px; border-radius: 999px; text-transform: uppercase;
	letter-spacing: .04em; display: inline-flex; align-items: center; gap: 4px;
	font-family: var(--font-head); white-space: nowrap;
}
.author-profile__handle { color: var(--tomato-dark); font-weight: 700; font-family: var(--font-head); font-size: 1rem; margin: 0; }
.author-profile__actions { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 8px; }
.author-profile__actions .btn { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 22px; font-size: .9rem; white-space: nowrap; }

.author-profile__bio { max-width: 640px; margin: 18px 0 14px; }
.author-profile__foods { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; list-style: none; }
.author-profile__foods .food-chip { padding: 6px 14px; font-size: .84rem; }

.author-stats {
	display: flex; gap: 30px; flex-wrap: wrap; margin: 0 0 14px;
	padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.author-stat dd { margin: 0; font-size: .85rem; color: var(--muted); }
.author-stat b { display: block; font-size: 1.4rem; color: var(--ink); font-family: var(--font-head); }
.author-stat--rating b { color: var(--honey-dark); }
.author-stat--rating b .star { color: var(--honey); }

.author-profile__social { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 8px; list-style: none; }
.author-profile__social a {
	width: 40px; height: 40px; border-radius: 50%; background: #fff;
	border: 1px solid var(--line); display: flex; align-items: center;
	justify-content: center; font-size: 1.1rem; transition: border-color .2s, transform .2s;
}
.author-profile__social a:hover { border-color: var(--tomato); transform: translateY(-2px); }

.sec-head__count { margin-left: auto; color: var(--muted); font-size: .88rem; font-weight: 700; }

/* Carregar mais */
.load-wrap { text-align: center; margin: 24px 0 0; }
.btn-load {
	background: #fff; border: 1.5px solid var(--line); color: var(--ink);
	font-weight: 700; font-family: var(--font-head); padding: 12px 30px;
	border-radius: 999px; transition: border-color .2s, color .2s;
}
.btn-load:hover:not(:disabled) { border-color: var(--tomato); color: var(--tomato-dark); }
.btn-load:disabled { opacity: .5; cursor: default; }

/* Avaliações feitas pelo autor */
.author-reviews { display: flex; flex-direction: column; gap: 14px; list-style: none; }
.author-review {
	display: flex; gap: 14px; background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.author-review__photo {
	flex: 0 0 auto; width: 74px; height: 74px; border-radius: 12px;
	background: #FDEBD0; overflow: hidden; display: inline-flex;
	align-items: center; justify-content: center; font-size: 2rem;
}
.author-review__photo img { width: 100%; height: 100%; object-fit: cover; }
.author-review__body { flex: 1; min-width: 0; }
.author-review__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.author-review__link { font-family: var(--font-head); font-weight: 700; }
.author-review__link:hover { color: var(--tomato-dark); }
.author-review__top .stars { font-size: .9rem; }
.author-review__date { color: var(--muted); font-size: .8rem; margin-left: auto; }
.author-review__text { margin: 0; font-size: .95rem; }

.author-empty { color: var(--muted); }

@media (max-width: 640px) {
	.author-cover { height: 140px; }
	.author-cover__pattern { font-size: 1.8rem; letter-spacing: 10px; }
	.author-profile__top { margin-top: -46px; gap: 14px; }
	.author-profile__avatar { width: 96px; height: 96px; border-width: 4px; }
	.author-profile__name { font-size: 1.5rem; }
	.author-profile__actions { width: 100%; }
	.author-profile__actions .btn { flex: 1; justify-content: center; padding: 0 12px; }
	.author-stats { gap: 18px 24px; }
	.author-review { padding: 14px; gap: 12px; }
	.author-review__photo { width: 60px; height: 60px; font-size: 1.6rem; }
	.author-review__date { margin-left: 0; }
}

/* ==========================================================================
   DASHBOARD DE RECEITA (protótipo dashboard-usuario/)
   ========================================================================== */

.dash-top { margin-bottom: 18px; }
.dash-top__title { margin: 0 0 2px; }
.dash-top__who { color: var(--muted); font-size: .92rem; margin: 0; }
.dash-top__who b { color: var(--tomato-dark); }
.dash-sample { display: inline-block; background: #FFF6E9; border: 1px solid #F6E3C4; color: #B0662A; border-radius: 999px; padding: 2px 10px; font-size: .78rem; font-weight: 700; margin-left: 6px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.stat__lbl { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 800; font-family: var(--font-head); }
.stat__val { font-size: 1.7rem; font-family: var(--font-head); font-weight: 800; margin-top: 4px; overflow-wrap: anywhere; }
.stat__sub { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.stat__emoji { position: absolute; right: 14px; top: 12px; font-size: 1.5rem; opacity: .5; }
.stat--accent { background: linear-gradient(135deg, #1f8a4c, #2fa862); color: #fff; border: 0; }
.stat--accent .stat__lbl, .stat--accent .stat__sub { color: rgba(255, 255, 255, .85); }

.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); min-width: 0; }
.chart-card__title { font-size: 1.1rem; margin-bottom: 2px; }
.chart-card__sub { font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: .78rem; color: var(--muted); font-weight: 600; margin: 8px 0 4px; }
.chart-legend__item { display: flex; align-items: center; gap: 6px; }
.chart-legend__swatch { width: 16px; height: 4px; border-radius: 2px; }
.chart-legend__swatch--dash { height: 0; border-top: 2px dashed #9a8d84; width: 18px; }
.chart-legend__dot { width: 11px; height: 11px; border-radius: 50%; }
svg.chart { width: 100%; height: auto; display: block; touch-action: pan-y; }

/* Filtro de período dos gráficos */
.chart-filters { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.chart-filters__lbl { font-size: .82rem; color: var(--muted); font-weight: 700; margin-right: 4px; }
.chart-filter { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: .8rem; font-weight: 700; font-family: var(--font-head); cursor: pointer; color: var(--ink); }
.chart-filter.is-active { background: var(--tomato); color: #fff; border-color: var(--tomato); }

/* Gráfico interativo: container posicionado + tooltip de hover */
[data-chart-pv], [data-chart-rev] { position: relative; }
.chart-tip {
	position: absolute; z-index: 5; pointer-events: none;
	transform: translate(-50%, -118%);
	background: var(--ink); color: #fff; font-size: .74rem; line-height: 1.25;
	padding: 6px 9px; border-radius: 8px; white-space: nowrap; box-shadow: var(--shadow-sm);
}
.chart-tip[hidden] { display: none; }
.chart-tip b { display: block; font-size: .72rem; font-weight: 600; opacity: .85; margin-bottom: 1px; }
.chart-empty { color: var(--muted); font-size: .9rem; text-align: center; padding: 34px 0; }
.rounds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.round-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font-size: .76rem; font-weight: 700; }
.round-chip__dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.round-chip small { color: var(--muted); font-weight: 600; }

.table-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.table-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.table-card__title { font-size: 1.1rem; }
.table-card__exports { display: flex; gap: 8px; flex-wrap: wrap; }
.table-card__search { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.table-card__search-ico { color: var(--muted); font-size: .9rem; flex: 0 0 auto; }
.table-card__search input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font: inherit; background: var(--cream); transition: border-color .2s, background .2s; }
.table-card__search input:focus { border-color: var(--tomato); background: #fff; outline: none; }
.exp { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 14px; font-size: .82rem; font-weight: 700; font-family: var(--font-head); background: #fff; transition: .15s; }
.exp:hover { border-color: var(--tomato); color: var(--tomato-dark); }

/* Tabela larga rola DENTRO do card — nunca a página. */
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dash-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.dash-table th, .dash-table td { text-align: left; padding: 11px 18px; font-size: .88rem; border-bottom: 1px solid var(--line); }
.dash-table th { font-family: var(--font-head); font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); background: var(--cream); }
.th-sort { background: none; border: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; padding: 0; }
.th-sort:hover { color: var(--tomato-dark); }
.dash-table__title { font-weight: 600; min-width: 190px; }
.dash-table__url a { font-weight: 600; overflow-wrap: anywhere; }
.dash-table__url a:hover { color: var(--tomato-dark); }
.dash-table__num, .dash-table__rev { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.dash-table__rev { color: var(--leaf); }
.dash-table tr:hover td { background: #FFFCF8; }
.cat-pill { font-size: .72rem; font-weight: 700; color: var(--tomato-dark); background: #FFEDE7; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 18px; }
.pager__info { font-size: .84rem; color: var(--muted); }
.pager__pages { display: flex; gap: 6px; flex-wrap: wrap; }
.pgbtn { display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line); background: #fff; border-radius: 9px; min-width: 34px; height: 34px; padding: 0 8px; font-weight: 700; font-family: var(--font-head); font-size: .82rem; color: var(--ink); text-decoration: none; cursor: pointer; }
.pgbtn:hover:not(:disabled) { border-color: var(--tomato); color: var(--tomato-dark); }
.pgbtn.is-active { background: var(--tomato); color: #fff; border-color: var(--tomato); }
.pgbtn:disabled { opacity: .4; cursor: default; }

/* Vídeo nas avaliações (facade compacto) */
.video-facade--review { max-width: 280px; margin-top: 8px; aspect-ratio: 4 / 3; }
.video-facade--review img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

@media (max-width: 960px) {
	.grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); }
	.cat-grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.hero__title { font-size: 2.1rem; }
	.layout--sidebar { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: 1fr 1fr; }
	.charts { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.site-header__bar { height: 60px; gap: 10px; }
	.site-search { display: none; }
	.search-toggle { display: block; }
	.cta { padding: 9px 14px; font-size: .82rem; }
	.grid--4, .grid--5, .cat-grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr; }
	.hero__title { font-size: 1.8rem; }
	.hero__emoji { font-size: 4.5rem; }
	.section { padding: 28px 0; }
	.logo__svg { height: 32px; }
	.entry__title { font-size: 1.6rem; }
	.recipe-content__cols { grid-template-columns: 1fr; }
	.nutrition__grid { grid-template-columns: repeat(2, 1fr); }

	/* Enviar receitinha */
	.send-intro__title { font-size: 1.6rem; }
	.modes { grid-template-columns: 1fr; }
	.steps-bar__lbl { display: none; }
	.card-panel { padding: 18px; }
	.ing-head, .ing-row { grid-template-columns: 64px 104px minmax(0, 1fr) 36px; }
	.prep-step { flex-direction: column; gap: 8px; }
	.prep-step__del { position: static; align-self: flex-end; }
	.upload--small { max-width: 100%; }
	.chat__msg { max-width: 92%; }

	/* Página de autor */
	.author-preview__recipes { grid-template-columns: repeat(2, 1fr); }
	.social-grid { grid-template-columns: 1fr; }
	.author-preview__body { padding: 0 16px 18px; }

	/* Dashboard */
	.stats-grid { grid-template-columns: 1fr; }
	.chart-card { padding: 14px; }
	.table-card__head { padding: 14px; }
	.dash-table th, .dash-table td { padding: 10px 12px; }
}

/* Texto sr-only do CTA duplicaria o rótulo quando o texto está visível. */
.cta__sr { display: none; }

@media (max-width: 460px) {
	/* Header compacto: CTA vira só o "＋"; o nome fica no texto sr-only. */
	.cta__text { display: none; }
	.cta__sr { display: inline; }
	.cta { width: 40px; height: 40px; padding: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; }
	.logo__svg { height: 28px; }
	.site-header__bar { gap: 8px; }
	.site-header__logo { min-width: 0; overflow: hidden; }
}

@media (max-width: 400px) {
	.grid--4, .grid--5 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- FOLLOW BUTTON (página pública do autor) ---------- */
.follow-btn.is-following {
	background: var(--surface);
	color: var(--tomato-dark);
	border: 1.5px solid var(--tomato);
	box-shadow: none;
}
.follow-btn.is-following:hover {
	background: var(--cream);
}

/* ======================= PAGAMENTOS / EXTRATO ======================= */
.pay-stats { grid-template-columns: 1.4fr 1fr 1fr; }
.pay-stats .stat--accent { background: linear-gradient(135deg, #1f8a4c, #2fa862); color: #fff; border: 0; }
.pay-stats .stat--accent .stat__lbl, .pay-stats .stat--accent .stat__sub { color: rgba(255,255,255,.88); }
.stat__cta, .pay-withdraw-btn { margin-top: 12px; background: #fff; color: var(--leaf); align-self: flex-start; }
.stat__cta:hover, .pay-withdraw-btn:hover { background: #F4FBF6; color: var(--leaf); transform: none; }

.pay-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-fbtn { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: .8rem; font-weight: 700; font-family: var(--font-head); cursor: pointer; color: var(--ink); }
.pay-fbtn.is-active { background: var(--tomato); color: #fff; border-color: var(--tomato); }

.pay-stmt { list-style: none; margin: 0; padding: 0; }
.pay-stmt__item { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.pay-stmt__item:last-child { border-bottom: 0; }
.pay-stmt__ico { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex: 0 0 auto; }
.pay-stmt__ico--in { background: #EAF6EC; } .pay-stmt__ico--out { background: #FDEBE6; } .pay-stmt__ico--neu { background: var(--cream); }
.pay-stmt__main { flex: 1; min-width: 0; }
.pay-stmt__d { display: block; font-weight: 700; font-family: var(--font-head); font-size: .95rem; }
.pay-stmt__m { display: block; font-size: .82rem; color: var(--muted); }
.pay-stmt__amt { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pay-stmt__a { display: block; font-weight: 800; font-family: var(--font-head); }
.pay-stmt__a--in { color: var(--leaf); } .pay-stmt__a--out { color: var(--tomato-dark); } .pay-stmt__a--neu { color: var(--muted); }
.pay-stmt__amt small { font-size: .78rem; color: var(--muted); }
.pay-pill { display: inline-block; font-size: .66rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; margin-left: 6px; background: #EAF2F8; color: #3E7CB1; vertical-align: middle; }

.pay-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.pay-table th, .pay-table td { text-align: left; padding: 13px 22px; font-size: .9rem; border-bottom: 1px solid var(--line); }
.pay-table th { font-family: var(--font-head); font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); background: var(--cream); }
.pay-table__num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.pay-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .82rem; padding: 4px 11px; border-radius: 999px; }
.pay-status--pago { background: #EAF6EC; color: #2b7a3f; }
.pay-lnk { background: none; border: 0; color: var(--tomato); font-weight: 700; cursor: pointer; font-family: var(--font-head); }
.pay-lnk:hover { text-decoration: underline; }

.pay-pad { padding: 18px 22px; }
.pay-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-bank { display: flex; gap: 16px; align-items: center; padding: 6px 0; }
.pay-bank--mini { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.pay-bank__ico { width: 52px; height: 52px; border-radius: 14px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex: 0 0 auto; }
.pay-bank__info { flex: 1; } .pay-bank__info b { font-family: var(--font-head); } .pay-bank__info small { color: var(--muted); display: block; }
.pay-note { display: flex; gap: 8px; font-size: .82rem; color: #6b5b3f; background: #FFF6E9; border: 1px solid #F6E3C4; border-radius: 10px; padding: 10px 12px; margin-top: 12px; }
.pay-bank-form { margin-top: 16px; }

.pay-modal { position: fixed; inset: 0; background: rgba(43,35,32,.5); display: flex; align-items: center; justify-content: center; z-index: 90; padding: 20px; }
.pay-modal[hidden] { display: none; }
.pay-modal__box { background: #fff; border-radius: var(--radius); max-width: 440px; width: 100%; box-shadow: var(--shadow); overflow: hidden; }
.pay-modal__head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.pay-modal__body { padding: 22px; }
.pay-modal__actions { display: flex; gap: 10px; }
.pay-modal__actions .btn { flex: 1; }
.pay-amount { background: var(--cream); border-radius: 12px; padding: 16px; text-align: center; margin-bottom: 16px; }
.pay-amount__lbl { display: block; font-size: .8rem; color: var(--muted); font-weight: 700; }
.pay-amount__big { display: block; font-size: 2rem; font-family: var(--font-head); font-weight: 800; color: var(--leaf); }
@media (max-width: 820px) { .pay-stats { grid-template-columns: 1fr; } .pay-grid2 { grid-template-columns: 1fr; } }
