/*!
 * DG1 Receitas — estilos principais
 * Autor: DG1 Carreiro's — https://dg1.com.br
 */

/* ---------- Variáveis ---------- */
:root {
	--brand: #d9640b;
	--brand-dark: #b04e04;
	--brand-soft: #fff1e3;
	--ink: #241c15;
	--muted: #6b5f55;
	--line: #eee3d8;
	--bg: #fffdfa;
	--surface: #ffffff;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(36, 28, 21, .05), 0 8px 24px rgba(36, 28, 21, .07);
	--shadow-lg: 0 2px 4px rgba(36, 28, 21, .06), 0 16px 40px rgba(36, 28, 21, .12);
	--font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-head: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
	--header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.01em; }
p { margin: 0 0 1.15em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(780px, 100% - 40px); margin-inline: auto; }
.section { padding-block: 40px 56px; }
.section-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1.1em; }

/* ---------- Botões ---------- */
.btn, .search-form__btn, .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--brand-dark); color: #fff; font: 600 .95rem/1 var(--font);
	text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover, .search-form__btn:hover, .comment-form .submit:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); padding: 10px 18px; font-weight: 500; }
.btn--ghost:hover { background: var(--brand-soft); color: var(--brand-dark); border-color: var(--brand); }

/* ---------- Cabeçalho ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 253, 250, .88);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { flex: 0 0 auto; }
.brand img { max-height: 44px; width: auto; }
.brand__text { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; }
.brand__name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.brand__text:hover { color: var(--brand-dark); }

.primary-nav { margin-left: auto; }
.primary-nav .menu, .footer-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.primary-nav a {
	display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
	color: var(--ink); font-weight: 500; font-size: .96rem; transition: background .2s, color .2s;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { background: var(--brand-soft); color: var(--brand-dark); }
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 200px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s;
}
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.header-actions { display: flex; gap: 4px; }
.icon-btn {
	display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
	background: transparent; color: var(--ink); cursor: pointer; transition: background .2s;
}
.icon-btn:hover { background: var(--brand-soft); color: var(--brand-dark); }
.menu-toggle { display: none; }
.menu-toggle .ico-close { display: none; }
.nav-open .menu-toggle .ico-open { display: none; }
.nav-open .menu-toggle .ico-close { display: block; }

.search-panel { border-top: 1px solid var(--line); background: var(--surface); padding: 14px 0; }
.search-panel[hidden] { display: none; }

.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; }
.progress__bar { height: 100%; width: 0; background: var(--brand); transition: width .1s linear; }

@media (max-width: 900px) {
	.menu-toggle { display: grid; }
	.primary-nav {
		position: absolute; top: 100%; left: 0; right: 0; margin: 0; display: none;
		background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		padding: 10px 20px 18px;
	}
	.nav-open .primary-nav { display: block; }
	.primary-nav .menu { flex-direction: column; }
	.primary-nav a { padding: 12px 14px; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 14px; }
	.header-actions { margin-left: auto; }
}

/* ---------- Busca ---------- */
.search-form { display: flex; gap: 8px; width: 100%; max-width: 640px; margin-inline: auto; }
.search-form__input {
	flex: 1; min-width: 0; padding: 14px 20px; font: inherit; font-size: 1rem; color: var(--ink);
	border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface);
}
.search-form__input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(217, 100, 11, .15); }
.search-form__btn { padding-inline: 24px; }

/* ---------- Destaque (home) ---------- */
.hero {
	background:
		radial-gradient(900px 360px at 85% -10%, rgba(217, 100, 11, .16), transparent 60%),
		radial-gradient(700px 320px at 0% 110%, rgba(255, 196, 120, .30), transparent 60%),
		var(--brand-soft);
	border-bottom: 1px solid var(--line);
}
.hero__inner { padding-block: clamp(40px, 7vw, 84px); text-align: center; }
.hero__title { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 18ch; margin-inline: auto; margin-bottom: .35em; }
.hero__text { max-width: 58ch; margin: 0 auto 1.6em; color: var(--muted); font-size: 1.1rem; }
.hero__search { margin-bottom: 22px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.chip {
	display: inline-block; padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500;
	text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); transition: all .2s;
}
.chip:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

/* ---------- Grade e cartões ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.card {
	display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--brand-soft), #ffd9b0); }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.card__cat {
	align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	text-decoration: none; color: var(--brand-dark); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px;
}
.card__cat:hover { background: var(--brand-dark); color: #fff; }
.card__title { font-size: 1.15rem; margin: 0; line-height: 1.3; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--brand-dark); }
.card__excerpt { color: var(--muted); font-size: .98rem; margin: 0; }
.card__meta { margin: auto 0 0; padding-top: 6px; font-size: .82rem; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }

/* Tablet: destaque ocupa a linha inteira (2 colunas), mantendo a grade completa com 11 posts */
@media (min-width: 601px) and (max-width: 960px) {
	.card--featured { grid-column: span 2; }
	.card--featured .card__media { aspect-ratio: 16 / 9; }
}

@media (min-width: 961px) {
	.card--featured { grid-column: span 2; flex-direction: row; }
	.card--featured .card__media { flex: 1.25; aspect-ratio: auto; min-height: 320px; }
	.card--featured .card__body { flex: 1; justify-content: center; padding: 28px; }
	.card--featured .card__title { font-size: 1.7rem; }
}

@media (min-width: 601px) and (max-width: 960px) {
	.card--featured { grid-column: 1 / -1; }
	.card--featured .card__media { aspect-ratio: 16 / 9; }
}

/* ---------- Paginação ---------- */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 16px; display: grid; place-items: center;
	border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
	color: var(--ink); font-weight: 600; text-decoration: none; transition: all .2s;
}
.pagination a.page-numbers:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }
.pagination .page-numbers.current { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.pagination .dots { border: 0; background: none; }

/* ---------- Arquivos / vazio ---------- */
.archive-header { margin-bottom: 32px; }
.archive-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .3em; }
.archive-desc { color: var(--muted); max-width: 70ch; }
.empty { text-align: center; padding: 40px 0; }
.empty__code { font: 700 clamp(4rem, 14vw, 8rem)/1 var(--font-head); color: var(--brand); margin: 0; }
.empty .search-form { margin-block: 24px; }

/* ---------- Trilha ---------- */
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--brand-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep, .breadcrumb .separator { margin: 0 4px; }

/* ---------- Artigo ---------- */
.single { padding-block: 36px 24px; }
.entry-header { margin-bottom: 24px; }
.entry-title { font-size: clamp(2rem, 4.6vw, 3rem); margin: 14px 0 18px; }
.single--page .entry-title { margin-top: 0; }
.page-updated { color: var(--muted); font-size: .88rem; }

.entry-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .88rem; }
.entry-meta__avatar { border-radius: 50%; width: 40px; height: 40px; }
.entry-meta__text { display: flex; flex-direction: column; line-height: 1.4; }
.entry-meta__author { color: var(--ink); font-weight: 600; }
.entry-meta__dates { display: flex; flex-wrap: wrap; gap: 4px 8px; }

.recipe-facts {
	list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; padding: 0;
}
.recipe-facts li {
	display: flex; flex-direction: column; padding: 10px 18px; background: var(--brand-soft);
	border: 1px solid #ffdcbb; border-radius: var(--radius-sm); line-height: 1.3;
}
.recipe-facts__k { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-dark); }
.recipe-facts__v { font-weight: 600; }

.entry-hero { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: var(--brand-soft); }
.entry-hero img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Conteúdo ---------- */
.entry-content { font-size: 1.08rem; line-height: 1.8; }
.entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3, .entry-content h4 { scroll-margin-top: calc(var(--header-h) + 24px); }
.entry-content h2 { font-size: clamp(1.55rem, 3vw, 2rem); margin: 2em 0 .6em; }
.entry-content h3 { font-size: clamp(1.3rem, 2.4vw, 1.5rem); margin: 1.8em 0 .5em; }
.entry-content h4 { font-size: 1.15rem; margin: 1.6em 0 .4em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--brand); font-weight: 700; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content figure { margin: 1.8em 0; }
.entry-content figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content blockquote {
	margin: 1.8em 0; padding: 18px 24px; background: var(--brand-soft);
	border-left: 4px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-family: var(--font-head); font-size: 1.15rem;
}
.entry-content blockquote p:last-child { margin: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--brand-soft); }
.entry-content iframe { max-width: 100%; border: 0; border-radius: var(--radius-sm); }
.entry-content .alignwide, .entry-content .alignfull { width: 100%; }
.entry-content .aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.page-links { margin: 24px 0; font-weight: 600; }

/* ---------- Resumo (índice) ---------- */
.dg1-toc {
	margin: 2em 0; background: var(--brand-soft); border: 1px solid #ffdcbb;
	border-left: 5px solid var(--brand); border-radius: var(--radius-sm);
}
.dg1-toc__toggle {
	display: flex; align-items: center; justify-content: space-between; width: 100%;
	padding: 16px 22px; background: none; border: 0; cursor: pointer; color: var(--ink);
	font: 700 1.05rem/1.2 var(--font-head); text-align: left;
}
.dg1-toc__chev { transition: transform .25s; color: var(--brand-dark); }
.dg1-toc__toggle[aria-expanded="false"] .dg1-toc__chev { transform: rotate(-90deg); }
.dg1-toc__list { list-style: none; margin: 0; padding: 0 22px 18px; counter-reset: none; }
.dg1-toc__list[hidden] { display: none; }
.dg1-toc__list li { margin: 0; padding: 0; }
.dg1-toc__list li::marker { content: none; }
.dg1-toc__list a {
	display: flex; gap: 10px; padding: 6px 10px; margin-inline: -10px; border-radius: 8px;
	color: var(--ink); text-decoration: none; font-size: .98rem; line-height: 1.45; transition: background .2s, color .2s;
}
.dg1-toc__list a:hover { background: rgba(217, 100, 11, .12); color: var(--brand-dark); }
.dg1-toc__list a.is-active { background: rgba(217, 100, 11, .16); color: var(--brand-dark); font-weight: 600; }
.toc-num { flex: 0 0 auto; min-width: 2.2em; color: var(--brand-dark); font-weight: 700; font-variant-numeric: tabular-nums; }
.toc-lvl-2 { padding-left: 22px; font-size: .94rem; }
.toc-lvl-3 { padding-left: 44px; font-size: .9rem; }

/* ---------- Anúncios (altura reservada = sem salto de layout) ---------- */
.dg1-ad {
	display: block; clear: both; margin: 2.2em auto; padding: 0; text-align: center;
	max-width: 100%; overflow: hidden;
}
.dg1-ad__label {
	display: block; margin-bottom: 6px; font-size: .68rem; letter-spacing: .12em;
	text-transform: uppercase; color: var(--muted);
}
.dg1-ad__slot { display: flex; justify-content: center; align-items: center; min-height: 280px; max-width: 100%; }
.dg1-ad--top .dg1-ad__slot { min-height: 120px; }
.dg1-ad ins.adsbygoogle { width: 100%; }

/* ---------- Rodapé do artigo ---------- */
.entry-footer { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 28px; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.tag-list a {
	display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--surface);
	border: 1px solid var(--line); font-size: .85rem; color: var(--muted); text-decoration: none;
}
.tag-list a:hover { border-color: var(--brand); color: var(--brand-dark); }
.share__label { display: block; font-weight: 600; margin-bottom: 10px; }
.share__buttons { display: flex; flex-wrap: wrap; gap: 8px; }

.author-box {
	display: flex; gap: 20px; align-items: center; padding: 22px; background: var(--surface);
	border: 1px solid var(--line); border-radius: var(--radius);
}
.author-box__avatar { border-radius: 50%; flex: 0 0 auto; width: 72px; height: 72px; }
.author-box__label { margin: 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.author-box__name { margin: 0; font: 700 1.2rem/1.3 var(--font-head); }
.author-box__bio { margin: 6px 0 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 520px) { .author-box { flex-direction: column; text-align: center; } }

.related { padding-top: 24px; }

/* ---------- Comentários ---------- */
.comments { margin: 24px 0 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.comments__title, .comment-reply-title { font-size: 1.5rem; }
.comment-list, .comment-list ol { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: 24px; padding-left: 16px; border-left: 2px solid var(--line); }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: .8rem; margin: 2px 0 10px; }
.comment-metadata a { color: var(--muted); text-decoration: none; }
.reply a { font-size: .85rem; font-weight: 600; text-decoration: none; }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; font: inherit; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(217, 100, 11, .15); }
.comment-form p { margin-bottom: 16px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; }
.comment-form-cookies-consent label { font-weight: 400; margin: 0; }

/* ---------- Faixa de compromissos ---------- */
.trust-strip { background: var(--surface); border-top: 1px solid var(--line); margin-top: 40px; }
.trust-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 28px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.trust-item strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.trust-item__ico { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-dark); }
@media (max-width: 860px) { .trust-strip__inner { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; background: #1a130e; color: #d9cfc5; border-top: 4px solid var(--brand); }
.site-footer::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 180px; pointer-events: none;
	background: radial-gradient(600px 160px at 85% 0, rgba(217, 100, 11, .18), transparent 70%);
}
.footer-grid {
	position: relative; display: grid; gap: 40px 32px; padding-block: 60px 44px;
	grid-template-columns: 1.5fr repeat(4, 1fr);
}
.footer-title {
	font: 700 .78rem/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase;
	color: #ffb066; margin: 0 0 18px;
}
.site-footer .brand__text { color: #fff; }
.site-footer .brand__text:hover { color: #ffb066; }
.footer-about { margin: 16px 0 0; max-width: 40ch; font-size: .95rem; line-height: 1.65; color: #bfb3a7; }
.footer-col .menu, .contact-list, .social { list-style: none; margin: 0; padding: 0; }
.footer-col .menu li { margin: 0 0 10px; }
.footer-col .menu a { color: #e8ded4; text-decoration: none; font-size: .95rem; transition: color .2s, padding .2s; }
.footer-col .menu a:hover { color: #ffb066; padding-left: 4px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .93rem; line-height: 1.45; color: #e8ded4; }
.contact-list svg { flex: 0 0 auto; margin-top: 2px; color: #ffb066; }
.contact-list a { color: #e8ded4; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: #ffb066; text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: all .2s;
}
.social a:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }

.footer-legal { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px; }
.footer-identity { margin: 0 0 8px; font-size: .88rem; font-weight: 600; color: #e8ded4; }
.footer-disclaimer { margin: 0; max-width: 100ch; font-size: .8rem; line-height: 1.65; color: #9d9185; }
.footer-bottom { background: #120d09; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-bottom__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; font-size: .84rem; color: #a89c90; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #ffb066; text-decoration: none; font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; }

@media (max-width: 1060px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; padding-block: 44px 32px; } .footer-brand, .footer-col:last-child { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Voltar ao topo ---------- */
.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px;
	display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
	background: var(--brand-dark); color: #fff; box-shadow: var(--shadow-lg); transition: transform .2s, background .2s;
}
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--ink); transform: translateY(-2px); }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Impressão ---------- */
@media print {
	.site-header, .site-footer, .trust-strip, .to-top, .share, .dg1-ad, .comments, .related, .dg1-toc { display: none !important; }
	body { font-size: 12pt; background: #fff; }
	.container-narrow { width: 100%; }
}
