/*
    Theme Name: Natal
    Text Domain: natal
    Version: 1.0 (Blog de artigos de Natal: vermelho festivo, creme e dourado)
    Author: Rocket Template
    Description: Tema de artigos com clima de Natal. Base do template Novely.
*/

/* ─────────────────────────────────────────
   TOKENS
   Paleta: vermelho festivo, amarelo dourado, verde pinheiro e fundo creme.
   --festive, --festive-deep, --green e --green-deep podem ser trocados
   pela página de Definições (header.php injeta os valores).
───────────────────────────────────────── */
:root {
	--festive: #e00e17;
	--festive-deep: #b50b12;
	--festive-ink: #b92922;
	--festive-soft: #fbe3e1;

	--gold: #ffc107;
	--gold-deep: #e9af00;
	--gold-soft: #ffecb5;
	--gold-tint: #fff6da;

	--green: #14713c;
	--green-deep: #0e502b;
	--green-soft: #e0ede6;

	--bg: #faf9f6;
	--bg-2: #f3f2ef;
	--surface: #ffffff;
	--line: #e6e3dd;

	--text: #141414;
	--text-2: #5c5951;
	--text-3: #6b675f;

	--font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-hand: "Caveat", cursive;

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--radius-pill: 999px;

	--shadow-sm: 0 1px 2px hsla(0, 0%, 8%, .06);
	--shadow-md: 0 8px 24px hsla(0, 0%, 8%, .08);
	--shadow-lg: 0 24px 60px hsla(0, 0%, 8%, .16);
	--shadow-festive: 0 12px 28px rgba(224, 14, 23, .24);

	--ease: cubic-bezier(.2, .8, .2, 1);
}

/* ─────────────────────────────────────────
   BASE
───────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

html,
body {
	max-width: 100vw;
	overflow-x: hidden;
	overflow-x: clip;
}

body {
	background: var(--bg);
	color: var(--text-2);
	font-family: var(--font-sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Foundation põe overflow:hidden no wrapper, o que quebra o header sticky */
.off-canvas-wrapper {
	overflow: hidden;
	overflow: clip;
}

body, h1, h2, h3, h4, h5, h6, label, input, button, select, textarea, p, ul, ol {
	font-family: var(--font-sans);
}

h1, h2, h3, h4, h5, h6 {
	color: var(--text);
	font-weight: 800;
	margin-top: 0;
	letter-spacing: -0.02em;
	line-height: 1.12;
}

/* Palavra de destaque: vermelha com um traço dourado embaixo */
h1 em, h2 em, h3 em, h4 em {
	font-style: normal;
	color: var(--festive);
	background: linear-gradient(transparent 68%, var(--gold-soft) 68%, var(--gold-soft) 92%, transparent 92%);
	padding: 0 .08em;
}

p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-2);
}

a {
	color: var(--festive);
	text-decoration: none;
	transition: color .2s var(--ease);
}

a:hover,
a:focus {
	color: var(--festive-deep);
}

::selection {
	background: var(--gold);
	color: var(--text);
}

:focus-visible {
	outline: 2px solid var(--festive);
	outline-offset: 3px;
}

img {
	max-width: 100%;
	height: auto;
}

figure {
	margin: 0;
}

.hand {
	display: inline-block;
	font-family: var(--font-hand);
	font-weight: 700;
	font-size: 26px;
	line-height: 1;
	color: var(--festive);
	transform: rotate(-2deg);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.empty-state {
	text-align: center;
	padding: 48px 24px;
	background: var(--surface);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	font-size: 17px;
}

/* ─────────────────────────────────────────
   BOTÕES E CHIPS
───────────────────────────────────────── */
.button,
.fetch a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 14px 26px;
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--festive);
	color: #fff;
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	box-shadow: var(--shadow-festive);
	transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}

.button:hover,
.button:focus,
.fetch a:hover,
.fetch a:focus {
	background: var(--festive-deep);
	color: #fff;
	transform: translateY(-2px);
}

.button-small {
	padding: 10px 18px;
	font-size: 14px;
}

.button-block {
	display: flex;
	width: 100%;
}

.button-gold {
	background: var(--gold);
	color: var(--text);
	box-shadow: 0 12px 28px rgba(255, 193, 7, .32);
}

.button-gold:hover,
.button-gold:focus {
	background: var(--gold-deep);
	color: var(--text);
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: var(--radius-pill);
	background: var(--festive-soft);
	color: var(--festive-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	line-height: 1.2;
	transition: background-color .2s var(--ease), color .2s var(--ease);
}

a.chip:hover {
	background: var(--festive);
	color: #fff;
}

.chip-light {
	background: rgba(255, 255, 255, .14);
	color: #fff;
	text-transform: none;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	padding: 8px 14px;
	backdrop-filter: blur(4px);
}

a.chip-light:hover {
	background: #fff;
	color: var(--festive);
}

.chip-gold {
	background: var(--gold);
	color: var(--text);
}

/* ─────────────────────────────────────────
   FAIXA DE AVISO (contagem para o Natal)
───────────────────────────────────────── */
.topbar-note {
	background: var(--green);
	color: #fff;
	text-align: center;
}

.topbar-note p {
	margin: 0;
	padding: 9px 0;
	font-size: 14px;
	color: #fff;
}

.topbar-note b {
	color: var(--gold);
}

.topbar-note a {
	color: var(--gold);
	text-decoration: underline;
}

.topbar-star {
	color: var(--gold);
}

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(1.4) blur(12px);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	box-shadow: 0 1px 0 var(--line);
}

.admin-bar .site-header {
	top: 32px;
}

.header-topbar {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 72px;
}

.header-logo a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.header-logo img {
	max-height: 44px;
	width: auto;
	display: block;
}

.logo-mark {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--festive);
	font-size: 22px;
	box-shadow: var(--shadow-festive);
	transform: rotate(-6deg);
}

.logo-text {
	font-size: 21px;
	font-weight: 900;
	color: var(--text);
	letter-spacing: -0.03em;
}

.header-menu {
	flex: 1;
}

.header-menu .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
}

.header-menu .menu a {
	display: block;
	padding: 10px 14px;
	border-radius: var(--radius-pill);
	color: var(--text);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
}

.header-menu .menu a:hover,
.header-menu .menu .current-menu-item > a,
.header-menu .menu .current-menu-parent > a {
	background: var(--festive-soft);
	color: var(--festive-ink);
}

.header-menu .sub-menu {
	display: none;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.header-search {
	position: relative;
	margin: 0;
}

.header-search .search-field {
	height: 44px;
	margin: 0;
	padding: 0 46px 0 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: var(--bg);
	box-shadow: none;
	font-size: 15px;
	color: var(--text);
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease), width .3s var(--ease);
}

.header-search-desk .search-field {
	width: 190px;
}

.header-search-desk .search-field:focus {
	width: 250px;
}

.header-search .search-field:focus {
	border-color: var(--festive);
	box-shadow: 0 0 0 4px var(--festive-soft);
	background: #fff;
}

.search-btn {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--text-2);
	cursor: pointer;
}

.search-btn:hover {
	color: var(--festive);
}

.header-icon {
	display: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	place-items: center;
	background: var(--bg-2);
	color: var(--text);
	font-size: 18px;
	cursor: pointer;
}

/* ─────────────────────────────────────────
   MENU MOBILE (off-canvas)
───────────────────────────────────────── */
.off-canvas {
	background: var(--bg);
	padding: 20px;
	width: 300px;
}

.off-canvas.position-left {
	left: -300px;
	width: 300px;
}

.offcanvas-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.offcanvas-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--text);
}

.offcanvas-title .hand {
	font-size: 20px;
	margin-left: 6px;
}

.offcanvas-close {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	font-size: 26px;
	line-height: 1;
	color: var(--text);
	cursor: pointer;
}

.header-search-mob {
	margin-bottom: 18px;
}

.header-search-mob .search-field {
	width: 100%;
	background: #fff;
}

.header-menu-mob .menu {
	display: block;
}

.header-menu-mob .menu li {
	margin-bottom: 4px;
}

.header-menu-mob .menu a {
	padding: 14px 16px;
	border-radius: var(--radius-sm);
	background: var(--surface);
	font-size: 16px;
}

.header-menu-mob .sub-menu {
	display: block;
	margin: 4px 0 0 12px;
	list-style: none;
}

.off-canvas .button-block {
	margin-top: 18px;
}

.js-off-canvas-overlay {
	background: rgba(20, 20, 20, .45);
}

/* ─────────────────────────────────────────
   HERO (home)
───────────────────────────────────────── */
.hero {
	position: relative;
	overflow: hidden;
	padding: 72px 0 120px;
	background:
		radial-gradient(700px 420px at 85% 20%, rgba(255, 193, 7, .22), transparent 70%),
		radial-gradient(900px 600px at 0% 100%, rgba(0, 0, 0, .18), transparent 70%),
		var(--festive);
	color: #fff;
}

/* Neve caindo: duas camadas de pontos em velocidades diferentes */
.hero-snow,
.hero-snow::after {
	position: absolute;
	inset: -200px 0 0;
	pointer-events: none;
	background-image:
		radial-gradient(3px 3px at 20px 30px, rgba(255, 255, 255, .9), transparent 60%),
		radial-gradient(2px 2px at 90px 120px, rgba(255, 255, 255, .7), transparent 60%),
		radial-gradient(3px 3px at 160px 60px, rgba(255, 255, 255, .8), transparent 60%),
		radial-gradient(2px 2px at 230px 170px, rgba(255, 255, 255, .6), transparent 60%),
		radial-gradient(4px 4px at 300px 90px, rgba(255, 255, 255, .7), transparent 60%);
	background-size: 320px 200px;
	animation: snow 18s linear infinite;
}

.hero-snow::after {
	content: "";
	inset: 0;
	background-size: 220px 250px;
	opacity: .6;
	animation: snow-slow 28s linear infinite;
}

@keyframes snow {
	from { transform: translateY(0); }
	to { transform: translateY(200px); }
}

@keyframes snow-slow {
	from { transform: translateY(-250px); }
	to { transform: translateY(0); }
}

.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 56px;
	align-items: center;
}

.hero-eyebrow {
	color: var(--gold);
	font-size: 30px;
	margin-bottom: 14px;
}

.hero h1 {
	color: #fff;
	font-size: clamp(38px, 5.4vw, 64px);
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: -0.035em;
	margin-bottom: 20px;
}

.hero h1 em {
	color: var(--gold);
	background: none;
	padding: 0;
	position: relative;
	white-space: nowrap;
}

/* Rabisco dourado sob a palavra de destaque */
.hero h1 em::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -.12em;
	height: .22em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 50 2, 120 2, 198 7' fill='none' stroke='%23ffc107' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.hero p {
	color: rgba(255, 255, 255, .88);
	font-size: 18px;
	max-width: 540px;
	margin-bottom: 28px;
}

.hero-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 560px;
	padding: 6px 6px 6px 48px;
	border-radius: var(--radius-pill);
	background: #fff;
	box-shadow: var(--shadow-lg);
}

.hero-search > .icon-search {
	position: absolute;
	left: 20px;
	color: var(--text-3);
}

.hero-search input[type="search"] {
	flex: 1;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	background: transparent;
	font-size: 16px;
	color: var(--text);
}

.hero-search input[type="search"]:focus {
	border: 0;
	box-shadow: none;
}

.hero-search .button {
	box-shadow: none;
}

.hero-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 22px;
}

.hero-media {
	position: relative;
	padding: 30px 0;
}

.hero-note {
	position: absolute;
	z-index: 2;
	color: #fff;
	font-size: 26px;
}

.hero-note-1 {
	top: -6px;
	left: 4%;
	transform: rotate(-6deg);
}

.hero-note-2 {
	bottom: -8px;
	right: 2%;
	color: var(--gold);
	transform: rotate(4deg);
}

/* Onda creme no pé do hero, sem linha reta entre as seções */
.hero-wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 60px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 240 0, 480 60, 720 30 S 1200 0, 1440 34 V60 H0 Z' fill='%23faf9f6'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
}

/* Card do hero em formato de bilhete */
.ticket {
	position: relative;
	background: #fff;
	border-radius: var(--radius-lg);
	box-shadow: 0 32px 80px rgba(0, 0, 0, .28);
	transform: rotate(2deg);
	transition: transform .4s var(--ease);
	overflow: hidden;
}

.ticket:hover {
	transform: rotate(0deg) translateY(-4px);
}

.ticket-thumb {
	position: relative;
	display: block;
}

.ticket-thumb figure {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.ticket-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ticket-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 6px 12px;
	border-radius: var(--radius-pill);
	background: var(--gold);
	color: var(--text);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
}

/* Picote do bilhete */
.ticket-body {
	position: relative;
	padding: 26px 26px 24px;
	border-top: 2px dashed var(--line);
}

.ticket-body::before,
.ticket-body::after {
	content: "";
	position: absolute;
	top: -12px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--festive);
}

.ticket-body::before { left: -11px; }
.ticket-body::after { right: -11px; }

.ticket-body h2 {
	font-size: clamp(21px, 2vw, 26px);
	margin: 12px 0 18px;
}

.ticket-body h2 a {
	color: var(--text);
}

.ticket-body h2 a:hover {
	color: var(--festive);
}

.ticket-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

/* ─────────────────────────────────────────
   SEÇÕES E TÍTULOS
───────────────────────────────────────── */
.section {
	padding: 72px 0;
}

.section + .section {
	padding-top: 0;
}

.headline {
	text-align: center;
	margin-bottom: 36px;
}

.headline .hand {
	font-size: 26px;
	margin-bottom: 6px;
}

.headline h2,
.headline h3 {
	font-size: clamp(28px, 3.4vw, 42px);
	margin: 0;
}

.headline-light h2,
.headline-light .hand {
	color: #fff;
}

.headline-light .hand {
	color: var(--gold);
}

.headline-light h2 em {
	color: var(--gold);
	background: none;
}

/* ─────────────────────────────────────────
   CARDS DE ARTIGO
───────────────────────────────────────── */
.articles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.article {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	overflow: hidden;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.article:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

.article-thumb figure {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--bg-2);
}

.article-thumb img,
.article-overlay img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .6s var(--ease);
}

.article:hover .article-thumb img,
.article-overlay:hover img {
	transform: scale(1.05);
}

.article-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	flex: 1;
	padding: 22px 24px 24px;
}

.article-body h3 {
	font-size: 20px;
	line-height: 1.25;
	margin: 0;
}

.article-link {
	color: var(--text);
}

.article-link:hover {
	color: var(--festive);
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--text-3);
}

.article-meta .dot {
	color: var(--gold-deep);
	font-size: 10px;
}

.article-more {
	margin-top: auto;
	padding-top: 6px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 15px;
	font-weight: 700;
	color: var(--festive);
}

.article-more i {
	transition: transform .2s var(--ease);
}

.article:hover .article-more i {
	transform: translateX(4px);
}

/* Destaques: título sobre a imagem */
.article-overlay {
	position: relative;
	min-height: 380px;
}

.article-overlay > a {
	display: block;
	height: 100%;
	color: #fff;
}

.article-overlay figure {
	position: absolute;
	inset: 0;
}

.article-overlay figure::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 20, 20, 0) 30%, rgba(20, 20, 20, .85) 100%);
}

.article-overlay .article-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	justify-content: flex-end;
	padding: 26px;
}

.article-overlay h3 {
	color: #fff;
	font-size: 22px;
}

.article-overlay .article-meta {
	color: rgba(255, 255, 255, .8);
}

/* Primeiro destaque ocupa mais espaço */
.articles-featured {
	grid-template-columns: 1.4fr 1fr 1fr;
}

.articles-featured .article-overlay:first-child h3 {
	font-size: 28px;
}

/* "Carregar mais" */
.fetch {
	display: flex;
	justify-content: center;
	margin-top: 44px;
}

.fetch a.loading {
	opacity: .7;
	pointer-events: none;
}

/* ─────────────────────────────────────────
   TEMAS (categorias na home)
───────────────────────────────────────── */
.topics {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.topic {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 22px;
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	color: var(--text);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}

.topic:hover {
	transform: translateY(-4px);
	background: var(--gold-tint);
	box-shadow: var(--shadow-md);
	color: var(--text);
}

.topic-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 8px;
	border-radius: 14px;
	background: var(--festive-soft);
	font-size: 24px;
}

.topic:nth-child(3n + 2) .topic-icon { background: var(--green-soft); }
.topic:nth-child(3n) .topic-icon { background: var(--gold-soft); }

.topic-name {
	font-size: 17px;
	font-weight: 800;
}

.topic-count {
	font-size: 14px;
	color: var(--text-3);
}

/* ─────────────────────────────────────────
   GUIA EM 3 PASSOS
───────────────────────────────────────── */
.steps-card {
	position: relative;
	overflow: hidden;
	padding: 56px 48px;
	border-radius: 32px;
	background:
		radial-gradient(500px 300px at 100% 0%, rgba(255, 193, 7, .18), transparent 70%),
		var(--green);
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 0;
	list-style: none;
	counter-reset: none;
}

.steps li {
	padding: 28px;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, .08);
}

.steps-num {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--gold);
	color: var(--text);
	font-weight: 900;
	font-size: 20px;
}

.steps h3 {
	color: #fff;
	font-size: 22px;
	margin-bottom: 8px;
}

.steps p {
	color: rgba(255, 255, 255, .82);
	margin: 0;
}

/* ─────────────────────────────────────────
   CABEÇALHO DAS LISTAGENS (categoria, busca, autor)
───────────────────────────────────────── */
.main-headline {
	position: relative;
	padding: 56px 0 40px;
	text-align: center;
	background:
		radial-gradient(600px 200px at 50% 0%, var(--gold-tint), transparent 70%);
}

.main-headline h1 {
	font-size: clamp(32px, 4.4vw, 52px);
	margin: 6px 0 12px;
}

.main-headline .hand {
	font-size: 26px;
}

.headline-icon {
	display: inline-grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 10px;
	border-radius: 20px;
	background: var(--surface);
	box-shadow: var(--shadow-md);
	font-size: 32px;
	transform: rotate(-4deg);
}

.headline-avatar img {
	border-radius: 50%;
	box-shadow: var(--shadow-md);
	margin-bottom: 12px;
}

.main-headline-desc {
	max-width: 640px;
	margin: 0 auto;
}

.main-headline-desc p {
	font-size: 17px;
}

.main-headline-count {
	display: inline-block;
	margin-top: 6px;
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	font-size: 14px;
	font-weight: 700;
	color: var(--text-2);
}

.hero-search-compact {
	margin: 24px auto 0;
	box-shadow: var(--shadow-md);
	text-align: left;
}

.main.section-recents,
main.section-recents {
	padding-top: 24px;
}

/* ─────────────────────────────────────────
   POST (single)
───────────────────────────────────────── */
.main.single,
.main-page {
	padding: 40px 0 88px;
}

.single-wrap {
	max-width: 840px;
	margin: 0 auto;
}

.single-article,
.page-card {
	padding: 56px 64px;
	border-radius: 32px;
	background: var(--surface);
	box-shadow: var(--shadow-md);
}

.single-article-category {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-bottom: 18px;
}

.single-article-title h1,
.page-title {
	font-size: clamp(32px, 4.6vw, 50px);
	line-height: 1.08;
	letter-spacing: -0.03em;
	text-align: center;
	margin-bottom: 22px;
}

.single-article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 20px;
	margin-bottom: 32px;
	font-size: 14px;
	color: var(--text-3);
}

.single-article-meta-item,
.single-article-meta-item span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.single-article-meta-item img {
	border-radius: 50%;
}

.single-article-meta a {
	color: var(--text);
	font-weight: 700;
}

.single-article-meta svg {
	width: 17px;
	height: 17px;
	flex-shrink: 0;
	fill: var(--festive);
}

.single-article-thumb figure {
	margin: 0 0 36px;
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.single-article-thumb img {
	width: 100%;
	display: block;
}

.single-article-content {
	font-size: 18px;
	line-height: 1.8;
	color: var(--text);
}

.single-article-content p,
.single-article-content li {
	font-size: 18px;
	line-height: 1.8;
	color: #2b2b2b;
}

.single-article-content p {
	margin-bottom: 24px;
}

.single-article-content h2,
.single-article-content h3,
.single-article-content h4 {
	margin: 44px 0 16px;
}

.single-article-content h2 {
	font-size: clamp(26px, 3vw, 34px);
	padding-left: 18px;
	border-left: 5px solid var(--festive);
}

.single-article-content h3 {
	font-size: clamp(21px, 2.4vw, 25px);
}

.single-article-content a {
	color: var(--festive);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.single-article-content a:hover {
	color: var(--festive-deep);
}

.single-article-content img {
	border-radius: var(--radius);
}

.single-article-content figure {
	margin: 32px 0;
}

.single-article-content figcaption {
	margin-top: 8px;
	font-size: 14px;
	color: var(--text-3);
	text-align: center;
}

.single-article-content blockquote {
	position: relative;
	margin: 36px 0;
	padding: 28px 32px 28px 64px;
	border: 0;
	border-radius: var(--radius-lg);
	background: var(--gold-tint);
}

.single-article-content blockquote::before {
	content: "“";
	position: absolute;
	top: 8px;
	left: 20px;
	font-size: 64px;
	font-weight: 900;
	line-height: 1;
	color: var(--festive);
}

.single-article-content blockquote p {
	font-family: var(--font-hand);
	font-size: 28px;
	line-height: 1.3;
	color: var(--text);
	margin: 0;
}

.single-article-content ul,
.single-article-content ol {
	margin: 0 0 24px 1.25em;
}

.single-article-content li {
	margin-bottom: 8px;
	padding-left: 4px;
}

.single-article-content ul li::marker {
	content: "✦  ";
	color: var(--festive);
	font-size: .8em;
}

.single-article-content ol li::marker {
	color: var(--festive);
	font-weight: 800;
}

.single-article-content table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 28px;
	box-shadow: 0 0 0 1px var(--line);
}

.single-article-content table th,
.single-article-content table td {
	padding: 12px 16px;
	border: 0;
	font-size: 16px;
	text-align: left;
}

.single-article-content table thead,
.single-article-content table thead th {
	background: var(--festive);
	color: #fff;
}

.single-article-content table tbody tr {
	background: #fff;
}

.single-article-content table tbody tr:nth-child(even) {
	background: var(--bg);
}

.single-article-content hr {
	border: 0;
	height: 24px;
	margin: 40px 0;
	background:
		radial-gradient(circle, var(--festive) 0 5px, transparent 6px) calc(50% - 28px) 50% / 12px 12px no-repeat,
		radial-gradient(circle, var(--green) 0 5px, transparent 6px) 50% 50% / 12px 12px no-repeat,
		radial-gradient(circle, var(--gold) 0 5px, transparent 6px) calc(50% + 28px) 50% / 12px 12px no-repeat;
}

.single-article-foot {
	margin-top: 44px;
	padding-top: 28px;
	border-top: 2px dashed var(--line);
	text-align: center;
}

.single-article-foot .hand {
	font-size: 26px;
	margin-bottom: 14px;
}

.single-article-share {
	display: flex;
	gap: 10px;
	justify-content: center;
}

.single-article-share a {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-2);
	transition: transform .25s var(--ease), background-color .25s var(--ease);
}

.single-article-share svg {
	width: 20px;
	height: 20px;
	fill: var(--text);
	transition: fill .25s var(--ease);
}

.single-article-share a:hover {
	transform: translateY(-3px);
}

.single-article-share a:hover svg {
	fill: #fff;
}

.share-whatsapp:hover { background: #25d366 !important; }
.share-facebook:hover { background: #1877f2 !important; }
.share-pinterest:hover { background: #e60023 !important; }
.share-x:hover { background: #141414 !important; }

.articles-related {
	margin-top: 72px;
}

.articles-related .article-body h3 {
	font-size: 18px;
}

/* ─────────────────────────────────────────
   PÁGINAS
───────────────────────────────────────── */
.page-content p,
.page-content li {
	font-size: 17px;
}

/* ─────────────────────────────────────────
   404
───────────────────────────────────────── */
.main-404 {
	padding: 72px 0 110px;
}

.error404-content {
	max-width: 640px;
	margin: 0 auto;
	padding: 56px 44px;
	border-radius: 32px;
	background: var(--surface);
	box-shadow: var(--shadow-md);
	text-align: center;
}

.error404-code {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
	font-size: clamp(90px, 14vw, 140px);
	font-weight: 900;
	line-height: .9;
	letter-spacing: -0.05em;
	color: var(--festive);
	margin-bottom: 16px;
}

.error404-code span {
	font-size: .8em;
}

.error404-content .hand {
	font-size: 26px;
	margin-bottom: 8px;
}

.error404-content h1 {
	font-size: clamp(28px, 4vw, 38px);
	margin-bottom: 12px;
}

.error404-content .hero-search {
	margin-bottom: 28px;
}

/* ─────────────────────────────────────────
   RODAPÉ
───────────────────────────────────────── */
.site-footer {
	position: relative;
	margin-top: 40px;
	padding: 72px 0 28px;
	background: #141414;
	color: rgba(255, 255, 255, .72);
}

/* Varal de luzinhas no topo do rodapé */
.footer-garland {
	position: absolute;
	top: -14px;
	left: 0;
	right: 0;
	height: 28px;
	background:
		radial-gradient(circle at 12px 14px, var(--festive) 0 6px, transparent 7px) 0 0 / 96px 28px repeat-x,
		radial-gradient(circle at 44px 14px, var(--gold) 0 6px, transparent 7px) 0 0 / 96px 28px repeat-x,
		radial-gradient(circle at 76px 14px, #3fbf6b 0 6px, transparent 7px) 0 0 / 96px 28px repeat-x,
		linear-gradient(#3a362f, #3a362f) 0 13px / 100% 2px no-repeat;
	animation: twinkle 2.4s ease-in-out infinite alternate;
}

@keyframes twinkle {
	from { filter: brightness(.85) drop-shadow(0 0 0 transparent); }
	to { filter: brightness(1.15) drop-shadow(0 0 6px rgba(255, 193, 7, .6)); }
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 44px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.footer-logo img {
	max-height: 44px;
	width: auto;
}

.footer-logo .logo-text {
	color: #fff;
}

.footer-info,
.footer-info p {
	max-width: 420px;
	color: rgba(255, 255, 255, .72);
	font-size: 15px;
}

.footer-social {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}

.footer-social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	transition: background-color .2s var(--ease);
}

.footer-social a:hover {
	background: var(--festive);
	color: #fff;
}

.footer-col h4 {
	color: #fff;
	font-size: 16px;
	margin-bottom: 16px;
}

.footer-col ul {
	margin: 0;
}

.footer-col li {
	margin-bottom: 10px;
}

.footer-col a {
	color: rgba(255, 255, 255, .72);
	font-size: 15px;
}

.footer-col a:hover {
	color: var(--gold);
}

.footer-job {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding-top: 24px;
	font-size: 14px;
}

.footer-hand {
	font-family: var(--font-hand);
	font-size: 22px;
	color: var(--gold);
}

/* ─────────────────────────────────────────
   ANIMAÇÕES
───────────────────────────────────────── */
.scroll-anim {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.scroll-anim.visible {
	opacity: 1;
	transform: none;
}

.no-js .scroll-anim {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}

	.scroll-anim {
		opacity: 1;
		transform: none;
	}
}

/* ─────────────────────────────────────────
   RESPONSIVO — TABLET (≤1024px)
───────────────────────────────────────── */
@media (max-width: 1024px) {
	.header-menu,
	.header-search-desk,
	.header-cta {
		display: none;
	}

	.header-icon {
		display: grid;
	}

	.header-topbar {
		justify-content: space-between;
		min-height: 64px;
	}

	.header-actions {
		margin-left: 0;
	}

	.hero-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.hero-media {
		max-width: 520px;
		width: 100%;
		margin: 0 auto;
	}

	.articles,
	.articles-featured {
		grid-template-columns: repeat(2, 1fr);
	}

	.articles-featured .article-overlay:first-child {
		grid-column: 1 / -1;
	}

	.topics {
		grid-template-columns: repeat(2, 1fr);
	}

	.steps {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

/* ─────────────────────────────────────────
   RESPONSIVO — MOBILE (≤640px)
───────────────────────────────────────── */
@media (max-width: 640px) {
	.topbar-note p {
		font-size: 13px;
	}

	.hero {
		padding: 44px 0 96px;
	}

	.hero-eyebrow {
		font-size: 24px;
	}

	.hero p {
		font-size: 16px;
	}

	.hero-search {
		padding-left: 42px;
	}

	.hero-search > .icon-search {
		left: 16px;
	}

	.hero-search input[type="search"] {
		font-size: 15px;
		min-width: 0;
	}

	.hero-search .button {
		padding: 12px 16px;
	}

	.hero-note {
		font-size: 21px;
	}

	.section {
		padding: 52px 0;
	}

	.articles,
	.articles-featured {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.article-overlay {
		min-height: 320px;
	}

	.articles-featured .article-overlay:first-child h3 {
		font-size: 23px;
	}

	.topics {
		gap: 12px;
	}

	.topic {
		padding: 16px;
	}

	.topic-name {
		font-size: 15px;
	}

	.steps-card {
		padding: 40px 20px;
		border-radius: var(--radius-lg);
	}

	.single-article,
	.page-card {
		padding: 32px 20px;
		border-radius: var(--radius-lg);
	}

	.single-article-content,
	.single-article-content p,
	.single-article-content li {
		font-size: 17px;
	}

	.single-article-content blockquote {
		padding: 24px 20px 24px 52px;
	}

	.single-article-content blockquote p {
		font-size: 24px;
	}

	.single-article-content table {
		display: block;
		overflow-x: auto;
	}

	.error404-content {
		padding: 40px 20px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.footer-job {
		flex-direction: column;
		text-align: center;
	}
}

/* ─────────────────────────────────────────
   PÁGINA HOME (pages/page-home.php — "Home Natal")
   Landing com hero centralizado, sobre, dicas, depoimentos, CTA, blog e FAQ.
───────────────────────────────────────── */
.hero-page-grid {
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.hero-page-info {
	position: relative;
	z-index: 1;
}

.hero-cta-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.button-outline-light {
	background: transparent;
	color: #fff;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7);
}

.button-outline-light:hover,
.button-outline-light:focus {
	background: #fff;
	color: var(--festive);
}

.hero-page .hero-countdown {
	margin: 24px 0 0;
}

.hero-countdown .hand {
	color: #fff;
	font-size: 26px;
}

.section-title {
	font-size: clamp(28px, 3.4vw, 42px);
	margin: 6px 0 18px;
}

.section-button {
	margin-top: 36px;
}

/* Sobre */
.about-grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 56px;
	align-items: center;
}

.about-info .button {
	margin-top: 8px;
}

.about-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.stat {
	padding: 28px 24px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-md);
}

.stat strong {
	display: block;
	color: var(--festive);
	font-size: 38px;
	font-weight: 900;
	line-height: 1;
	margin-bottom: 8px;
}

.stat span {
	color: var(--text-2);
	font-size: 15px;
	line-height: 1.4;
}

.stat-gold {
	background: var(--gold-tint);
	box-shadow: inset 0 0 0 2px var(--gold-soft);
}

/* Dicas / recursos */
.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.feature {
	padding: 30px 28px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--line);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.feature:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.feature-icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 16px;
	border-radius: var(--radius);
	background: var(--festive-soft);
	font-size: 28px;
}

.feature h3 {
	font-size: 20px;
	margin-bottom: 8px;
}

.feature p {
	margin: 0;
	font-size: 15px;
}

/* Depoimentos */
.testimonials {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.testimonial {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 30px 28px;
	border-radius: var(--radius-lg);
	background: var(--gold-tint);
}

.testimonial-stars {
	color: var(--gold-deep);
	font-size: 18px;
	letter-spacing: 2px;
}

.testimonial blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--text);
	font-size: 17px;
	line-height: 1.6;
}

.testimonial figcaption {
	margin-top: auto;
	color: var(--text-3);
	font-size: 14px;
}

.testimonial figcaption strong {
	color: var(--text);
}

/* CTA */
.cta-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 56px 48px;
	border-radius: 32px;
	background:
		radial-gradient(500px 300px at 100% 0%, rgba(255, 193, 7, .18), transparent 70%),
		var(--green);
}

.cta-info {
	max-width: 620px;
}

.cta-info .hand {
	color: var(--gold);
}

.cta-info h2 {
	color: #fff;
	font-size: clamp(28px, 3.4vw, 42px);
	margin: 6px 0 12px;
}

.cta-info h2 em {
	color: var(--gold);
	background: none;
}

.cta-info p {
	color: rgba(255, 255, 255, .85);
	margin: 0;
}

.cta-actions {
	flex-shrink: 0;
}

/* FAQ */
.faq-wrap {
	max-width: 780px;
	margin: 0 auto;
}

.faq {
	display: grid;
	gap: 12px;
}

.faq-item {
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--line);
}

.faq-item summary {
	position: relative;
	padding: 20px 56px 20px 24px;
	color: var(--text);
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-top: -14px;
	border-radius: 50%;
	background: var(--festive-soft);
	color: var(--festive);
	font-size: 20px;
	line-height: 1;
	transition: transform .2s var(--ease);
}

.faq-item[open] summary::after {
	transform: rotate(45deg);
}

.faq-item p {
	margin: 0;
	padding: 0 24px 20px;
}

@media (max-width: 1024px) {
	.about-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.features,
	.testimonials {
		grid-template-columns: repeat(2, 1fr);
	}

	.cta-card {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 640px) {
	.features,
	.testimonials {
		grid-template-columns: 1fr;
	}

	.about-stats {
		gap: 12px;
	}

	.stat {
		padding: 22px 18px;
	}

	.stat strong {
		font-size: 30px;
	}

	.cta-card {
		padding: 40px 24px;
		border-radius: var(--radius-lg);
	}

	.hero-cta-wrap .button {
		width: 100%;
	}
}

/* ─────────────────────────────────────────
   ILUSTRAÇÃO DOS AMIGOS (components/hero-amigos)
   Medidas em cqw: tudo escala junto com a largura da ilustração.
───────────────────────────────────────── */
.amigos {
	position: relative;
	width: 100%;
	max-width: 600px;
	margin-left: auto;
	aspect-ratio: 1 / 1.02;
	container-type: inline-size;
}

.amigos-fios {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.amigos-fios path {
	fill: none;
	stroke: rgba(255, 255, 255, .55);
	stroke-width: 2;
	stroke-dasharray: 6 5;
	vector-effect: non-scaling-stroke;
}

.amigos-gift {
	position: absolute;
	left: 31%;
	top: 31%;
	width: 38%;
	filter: drop-shadow(0 3cqw 4cqw rgba(0, 0, 0, .28));
	animation: amigos-gift 5s ease-in-out infinite;
}

.amigos-gift svg {
	display: block;
	width: 100%;
	height: auto;
}

.amigo {
	position: absolute;
	width: 24%;
	transform: rotate(var(--r, 0deg));
	z-index: 1;
}

.amigo-card {
	position: relative;
	padding: 1.8cqw 1.8cqw 1cqw;
	border-radius: 1.6cqw;
	background: #fffaf0;
	box-shadow: 0 2cqw 4cqw rgba(0, 0, 0, .22);
	animation: amigos-float 6s ease-in-out infinite;
	animation-delay: var(--d, 0s);
}

.amigo-tape {
	position: absolute;
	top: -1.6cqw;
	left: 50%;
	width: 9cqw;
	height: 3.2cqw;
	background: rgba(255, 193, 7, .9);
	transform: translateX(-50%) rotate(-4deg);
	border-radius: 2px;
}

.amigo-foto {
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	background: var(--gold-tint);
}

.amigo-foto svg,
.amigo-foto img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.amigo-nome {
	display: block;
	margin-top: .6cqw;
	color: var(--text);
	font-family: var(--font-hand);
	font-weight: 700;
	font-size: 5cqw;
	line-height: 1.1;
	text-align: center;
}

.amigo-voce .amigo-card {
	background: var(--gold);
}

.amigo-voce .amigo-tape {
	background: rgba(255, 255, 255, .75);
}

.amigo-voce  { left: 38%; top: 0;   --r: 4deg;  --d: 0s;   z-index: 2; }
.amigo-elisa { left: 5%;  top: 13%; --r: -7deg; --d: -1s; }
.amigo-gabi  { left: 72%; top: 15%; --r: 6deg;  --d: -2s; }
.amigo-diego { left: 0;   top: 47%; --r: 7deg;  --d: -3s; }
.amigo-hugo  { left: 76%; top: 49%; --r: -5deg; --d: -4s; }
.amigo-carla { left: 22%; top: 66%; --r: -4deg; --d: -5s; z-index: 2; }
.amigo-bruno { left: 56%; top: 68%; --r: 6deg;  --d: -2.5s; z-index: 2; }

.amigos-nota {
	position: absolute;
	color: #fff;
	font-family: var(--font-hand);
	font-weight: 700;
	font-size: 4.6cqw;
	line-height: 1;
	z-index: 3;
}

.amigos-nota b {
	color: var(--gold);
	font-weight: 700;
}

.amigos-nota-1 { left: 0;  top: -1%; transform: rotate(-8deg); }
.amigos-nota-2 { right: 0; top: -2%; transform: rotate(8deg); text-align: right; }
.amigos-nota-3 { right: 0; bottom: -5%; transform: rotate(-6deg); text-align: right; color: var(--gold); }

@keyframes amigos-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-1.4cqw); }
}

@keyframes amigos-gift {
	0%, 100% { transform: translateY(0) rotate(-2deg); }
	50% { transform: translateY(-1.2cqw) rotate(2deg); }
}

@media (max-width: 1024px) {
	.hero-page-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.amigos {
		max-width: 520px;
		margin: 0 auto;
	}
}

/* ─────────────────────────────────────────
   BOTÕES EXTRAS
───────────────────────────────────────── */
.button-whats {
	background: #1fa855;
	box-shadow: 0 10px 22px rgba(31, 168, 85, .28);
}

.button-whats:hover,
.button-whats:focus {
	background: #178a45;
}

.button-light {
	background: var(--surface);
	color: var(--text);
	box-shadow: inset 0 0 0 1.5px var(--line);
}

.button-light:hover,
.button-light:focus {
	background: var(--bg-2);
	color: var(--text);
}

button.chip {
	border: 0;
	cursor: pointer;
	font-family: var(--font-sans);
}

button.chip:hover,
.chip.is-active {
	background: var(--festive);
	color: #fff;
}

/* ─────────────────────────────────────────
   VITRINE DE PRESENTES (components/produto + pages/page-presentes.php)
───────────────────────────────────────── */
.produtos-filtro {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 32px;
}

.produtos-filtro .chip {
	padding: 10px 16px;
	font-size: 13px;
}

.produtos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.produto {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-md);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.produto[hidden] {
	display: none;
}

.produto:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
}

.produto-thumb {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	background: radial-gradient(circle at 30% 20%, #fff 0, transparent 60%), var(--gold-tint);
	overflow: hidden;
}

.produto:nth-child(3n+2) .produto-thumb {
	background: radial-gradient(circle at 30% 20%, #fff 0, transparent 60%), var(--festive-soft);
}

.produto:nth-child(3n+3) .produto-thumb {
	background: radial-gradient(circle at 30% 20%, #fff 0, transparent 60%), var(--green-soft);
}

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

.produto-emoji {
	font-size: 72px;
	line-height: 1;
	filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .15));
	transition: transform .4s var(--ease);
}

.produto:hover .produto-emoji {
	transform: scale(1.1) rotate(-6deg);
}

.produto-preco {
	position: absolute;
	left: 14px;
	bottom: 14px;
	padding: 6px 12px;
	border-radius: var(--radius-pill);
	background: var(--festive);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	box-shadow: var(--shadow-festive);
}

.produto-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	flex: 1;
	padding: 20px 22px 22px;
}

.produto-body h3 {
	font-size: 18px;
	line-height: 1.3;
	margin: 0;
}

.produto-body p {
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

.produto-btn {
	margin-top: auto;
}

.produtos-aviso {
	margin: 24px 0 0;
	color: var(--text-3);
	font-size: 13px;
	text-align: center;
}

.cta-card-sorteio {
	margin-top: 64px;
}

/* ─────────────────────────────────────────
   SORTEIO (pages/page-sorteio.php)
───────────────────────────────────────── */
.sorteio-grid {
	align-items: start;
}

.sorteio-beneficios {
	display: grid;
	gap: 8px;
	margin: 0;
	list-style: none;
	color: #fff;
	font-weight: 600;
}

.sorteio-erro-link,
.sorteio-msg {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-radius: var(--radius-sm);
	background: var(--gold-tint);
	color: var(--festive-ink);
	font-size: 14px;
	font-weight: 600;
}

.sorteio-msg {
	margin: 0 0 14px;
}

.sorteio-msg[hidden] {
	display: none;
}

.sorteio-form {
	position: relative;
	padding: 32px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-lg);
	color: var(--text-2);
}

.sorteio-form h2 {
	font-size: 26px;
	margin-bottom: 18px;
}

.campo {
	display: block;
	margin-bottom: 16px;
}

.campo > span {
	display: block;
	margin-bottom: 6px;
	color: var(--text);
	font-size: 14px;
	font-weight: 700;
}

.campo small {
	color: var(--text-3);
	font-weight: 500;
}

.campo-duplo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.sorteio-form input[type="text"],
.sorteio-form input[type="number"],
.sorteio-form input[type="date"] {
	height: 46px;
	margin: 0;
	padding: 0 14px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--bg);
	box-shadow: none;
	color: var(--text);
	font-size: 15px;
}

.sorteio-form input:focus {
	border-color: var(--festive);
	background: #fff;
	box-shadow: 0 0 0 3px var(--festive-soft);
}

.sorteio-nomes {
	display: grid;
	gap: 8px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	counter-reset: nome;
}

.sorteio-nome {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	counter-increment: nome;
}

.sorteio-nome::before {
	content: counter(nome);
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--gold-soft);
	color: var(--text);
	font-size: 13px;
	font-weight: 800;
}

.sorteio-rm {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--bg-2);
	color: var(--text-3);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.sorteio-rm:hover {
	background: var(--festive-soft);
	color: var(--festive);
}

.sorteio-add {
	padding: 8px 0;
	color: var(--festive);
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
}

.sorteio-add:hover {
	color: var(--festive-deep);
}

.sorteio-form .button-block {
	padding: 16px;
	font-size: 17px;
}

.sorteio-form .button-block[disabled] {
	opacity: .7;
	cursor: wait;
}

.sorteio-nota {
	display: block;
	margin-top: 10px;
	color: var(--text-3);
	font-size: 13px;
	text-align: center;
}

/* Organizador */
.sorteio-admin,
.revelar {
	position: relative;
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.sorteio-admin p,
.revelar p {
	margin-left: auto;
	margin-right: auto;
}

.sorteio-salvar {
	margin: 0 0 24px;
	padding: 18px 20px;
	border-radius: var(--radius);
	background: rgba(0, 0, 0, .16);
	color: #fff;
	font-size: 14px;
	text-align: left;
}

.copiar {
	display: flex;
	gap: 8px;
	margin-top: 10px;
}

.copiar input {
	flex: 1;
	min-width: 0;
	height: 40px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: var(--radius-sm);
	font-size: 13px;
}

.sorteio-links {
	display: grid;
	gap: 10px;
	margin: 0;
	list-style: none;
	text-align: left;
}

.sorteio-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow-md);
}

.sorteio-link-nome {
	color: var(--text);
	font-size: 17px;
	font-weight: 800;
}

.sorteio-link-nome small {
	display: block;
	color: var(--text-3);
	font-size: 12px;
	font-weight: 600;
}

.sorteio-link-nome small.is-visto {
	color: var(--green);
}

.sorteio-link-acoes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* Revelação: cartão que vira */
.revelar-card {
	position: relative;
	display: block;
	width: min(360px, 100%);
	aspect-ratio: 4 / 3;
	margin: 8px auto 24px;
	padding: 0;
	cursor: pointer;
	perspective: 1200px;
}

.revelar-frente,
.revelar-verso {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 24px;
	border-radius: var(--radius-lg);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	box-shadow: var(--shadow-lg);
	transition: transform .8s var(--ease);
}

.revelar-frente {
	background: var(--gold);
	color: var(--text);
}

.revelar-frente strong {
	font-size: 22px;
}

.revelar-frente small,
.revelar-verso small {
	font-size: 14px;
	opacity: .8;
}

.revelar-emoji {
	font-size: 64px;
	line-height: 1;
	animation: amigos-gift 2.4s ease-in-out infinite;
}

.revelar-verso {
	background: #fffaf0;
	color: var(--text);
	transform: rotateY(180deg);
}

.revelar-nome {
	color: var(--festive);
	font-family: var(--font-hand);
	font-size: clamp(44px, 8vw, 64px);
	line-height: 1;
	transform: rotate(-3deg);
}

.revelar-card.is-revelado .revelar-frente {
	transform: rotateY(-180deg);
}

.revelar-card.is-revelado .revelar-verso {
	transform: rotateY(0);
}

.revelar-info {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
	list-style: none;
}

.revelar-info li {
	padding: 8px 14px;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 14px;
}

@media (max-width: 1024px) {
	.produtos {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.produtos {
		grid-template-columns: 1fr;
	}

	.sorteio-form {
		padding: 24px 18px;
	}

	.campo-duplo {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.sorteio-link {
		flex-direction: column;
		align-items: stretch;
	}

	.sorteio-link-acoes .button {
		flex: 1;
	}
}
