/*
Theme Name: AG Legacy
Theme URI: https://poketibia.local
Description: Tema oficial do AG Legacy, com identidade RPG pixel-art, paginas institucionais e integracao ao gerenciador de contas PokeTibia.
Version: 2.0.1
Author: gustavoo.me
Author URI: https://gustavoo.me/
Text Domain: ag-legacy
*/

/* --------------------------------------------------------------------------
   Tokens e base
   -------------------------------------------------------------------------- */

:root {
	--ag-night: #101a24;
	--ag-night-2: #152331;
	--ag-night-3: #0a131c;
	--ag-ink: #101820;
	--ag-slate: #2b3945;
	--ag-copper: #e89a45;
	--ag-copper-deep: #a7522d;
	--ag-gold: #f1bd68;
	--ag-gold-pale: #ffe0a0;
	--ag-teal: #49a7a2;
	--ag-teal-deep: #1f716f;
	--ag-parchment: #e8dfce;
	--ag-parchment-2: #d8cbb3;
	--ag-cream: #fff9eb;
	--ag-white: #f8f4ec;
	--ag-muted: #aeb9c1;
	--ag-line: rgba(232, 154, 69, 0.34);
	--ag-shadow: 0 22px 60px rgba(2, 8, 13, 0.3);
	--ag-radius: 8px;
	--ag-container: 1320px;
	--ag-header-height: 88px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--ag-header-height) + 18px);
}

body {
	margin: 0;
	background: var(--ag-night);
	color: var(--ag-white);
	font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

::selection {
	background: var(--ag-copper);
	color: #101820;
}

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

button,
input,
textarea,
select {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

svg {
	display: block;
}

h1,
h2,
h3,
h4,
p {
	margin-top: 0;
}

h1,
h2,
h3,
h4 {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.025em;
}

h1 {
	font-size: clamp(2.65rem, 5vw, 5rem);
}

h2 {
	font-size: clamp(2.05rem, 3.5vw, 3.6rem);
}

h3 {
	font-size: clamp(1.2rem, 2vw, 1.55rem);
}

:focus-visible {
	outline: 3px solid var(--ag-gold-pale);
	outline-offset: 4px;
}

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

.screen-reader-text:focus {
	top: 12px;
	left: 12px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: var(--ag-cream);
	color: var(--ag-ink);
}

.pt-skip-link {
	position: fixed;
	top: -100px;
	left: 18px;
	z-index: 10000;
	padding: 12px 18px;
	background: var(--ag-gold);
	color: var(--ag-ink);
	font-weight: 900;
	transition: top 0.2s ease;
}

.pt-skip-link:focus {
	top: 18px;
}

.pt-container {
	width: min(var(--ag-container), calc(100% - 48px));
	margin-inline: auto;
}

.pt-main {
	overflow: hidden;
}

.ag-icon {
	width: 1.25em;
	height: 1.25em;
	flex: 0 0 auto;
}

.pt-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ag-copper);
	font-size: 0.74rem;
	font-weight: 900;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pt-kicker::before {
	content: "";
	width: 22px;
	height: 2px;
	background: currentColor;
}

/* --------------------------------------------------------------------------
   Cabecalho e navegacao
   -------------------------------------------------------------------------- */

.pt-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	height: var(--ag-header-height);
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 22px 22px,
		linear-gradient(180deg, #172431 0%, #101a24 100%);
	border-bottom: 1px solid rgba(0, 0, 0, 0.75);
	box-shadow: 0 10px 28px rgba(3, 8, 13, 0.22);
}

.admin-bar .pt-header {
	top: 32px;
}

.pt-header__inner {
	display: flex;
	align-items: center;
	height: 100%;
	gap: 34px;
}

.pt-brand {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 7px;
}

.pt-brand__crest {
	width: 58px;
	height: 58px;
	object-fit: contain;
	filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.5));
}

.pt-brand__wordmark {
	width: 168px;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.6));
}

.pt-header__gold-line {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 5px;
	background: linear-gradient(180deg, #f3c477 0 1px, #9f542d 1px 4px, #4f2818 4px);
}

.pt-header__gold-line span {
	position: absolute;
	left: 50%;
	top: -4px;
	width: 13px;
	height: 13px;
	transform: translateX(-50%) rotate(45deg);
	background: var(--ag-teal);
	border: 2px solid var(--ag-gold);
	box-shadow: 0 0 0 2px #5c321e;
}

.pt-nav {
	display: flex;
	align-items: center;
	min-width: 0;
	margin-left: auto;
	gap: 24px;
}

.pt-menu {
	display: flex;
	align-items: stretch;
	gap: clamp(14px, 1.55vw, 27px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pt-menu > li {
	position: relative;
}

.pt-menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	height: var(--ag-header-height);
	color: #cdd4d9;
	font-size: clamp(0.72rem, 0.87vw, 0.86rem);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.pt-menu > li > a::after {
	content: "";
	position: absolute;
	left: 50%;
	right: 50%;
	bottom: 0;
	height: 3px;
	background: var(--ag-copper);
	box-shadow: 0 -3px 12px rgba(232, 154, 69, 0.32);
	transition: left 0.2s ease, right 0.2s ease;
}

.pt-menu > li > a:hover,
.pt-menu > li.current-menu-item > a,
.pt-menu > li.current_page_item > a,
.pt-menu > li.current-menu-ancestor > a {
	color: var(--ag-gold);
}

.pt-menu > li > a:hover::after,
.pt-menu > li.current-menu-item > a::after,
.pt-menu > li.current_page_item > a::after,
.pt-menu > li.current-menu-ancestor > a::after {
	left: 0;
	right: 0;
}

.pt-menu .sub-menu {
	position: absolute;
	top: calc(100% - 4px);
	left: -20px;
	min-width: 220px;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: #14222e;
	border: 1px solid var(--ag-line);
	box-shadow: var(--ag-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: 0.2s ease;
}

.pt-menu li:hover > .sub-menu,
.pt-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.pt-menu .sub-menu a {
	display: block;
	padding: 10px 12px;
	color: #d5dce0;
	font-size: 0.86rem;
	font-weight: 700;
}

.pt-menu .sub-menu a:hover {
	background: rgba(232, 154, 69, 0.1);
	color: var(--ag-gold);
}

.pt-nav__account {
	flex: 0 0 auto;
}

.pt-account-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 43px;
	padding: 8px 13px;
	color: var(--ag-gold);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border: 1px solid rgba(232, 154, 69, 0.45);
	border-radius: 4px;
	background: rgba(232, 154, 69, 0.06);
	transition: 0.2s ease;
}

.pt-account-link:hover {
	background: rgba(232, 154, 69, 0.15);
	border-color: var(--ag-gold);
}

.pt-account-link .ag-icon {
	width: 18px;
	height: 18px;
}

.pt-menu-toggle,
.pt-nav-backdrop {
	display: none;
}

/* --------------------------------------------------------------------------
   Botoes e links
   -------------------------------------------------------------------------- */

.pt-btn,
.poketibia-form button,
.poketibia-form input[type="submit"] {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 13px 24px;
	overflow: hidden;
	color: #21130c;
	font-size: 0.87rem;
	font-weight: 950;
	letter-spacing: 0.07em;
	line-height: 1.2;
	text-align: center;
	text-shadow: 0 1px rgba(255, 255, 255, 0.25);
	text-transform: uppercase;
	background: linear-gradient(180deg, #f8c978 0%, #e58b3d 46%, #b9582d 100%);
	border: 1px solid #ffd895;
	border-radius: 5px;
	box-shadow:
		0 4px 0 #6a301e,
		0 8px 22px rgba(0, 0, 0, 0.24),
		inset 0 0 0 2px rgba(91, 38, 19, 0.32),
		inset 0 1px rgba(255, 255, 255, 0.55);
	cursor: pointer;
	transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.pt-btn::before,
.poketibia-form button::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 8px;
	right: 8px;
	height: 1px;
	background: rgba(255, 255, 255, 0.55);
}

.pt-btn:hover,
.poketibia-form button:hover,
.poketibia-form input[type="submit"]:hover {
	filter: brightness(1.1) saturate(1.05);
	transform: translateY(-2px);
	box-shadow:
		0 6px 0 #6a301e,
		0 12px 28px rgba(0, 0, 0, 0.3),
		inset 0 0 0 2px rgba(91, 38, 19, 0.32);
}

.pt-btn:active,
.poketibia-form button:active {
	transform: translateY(2px);
	box-shadow: 0 2px 0 #6a301e, inset 0 0 0 2px rgba(91, 38, 19, 0.32);
}

.pt-btn--large {
	min-width: 245px;
	min-height: 64px;
	padding-inline: 30px;
	font-size: 1rem;
}

.pt-btn--small {
	min-height: 44px;
	padding: 10px 17px;
	font-size: 0.76rem;
}

.pt-btn--dark {
	color: var(--ag-white);
	text-shadow: 0 1px #000;
	background: linear-gradient(180deg, #344552 0%, #182631 56%, #0d171f 100%);
	border-color: #8c9aa2;
	box-shadow:
		0 4px 0 #060b0f,
		0 8px 22px rgba(0, 0, 0, 0.32),
		inset 0 0 0 2px rgba(0, 0, 0, 0.42),
		inset 0 1px rgba(255, 255, 255, 0.18);
}

.pt-btn--dark:hover {
	box-shadow:
		0 6px 0 #060b0f,
		0 12px 28px rgba(0, 0, 0, 0.3),
		inset 0 0 0 2px rgba(0, 0, 0, 0.42);
}

.pt-btn--dark:active {
	box-shadow: 0 2px 0 #060b0f, inset 0 0 0 2px rgba(0, 0, 0, 0.42);
}

.pt-btn--outline {
	color: var(--ag-copper-deep);
	text-shadow: none;
	background: transparent;
	border: 1px solid rgba(167, 82, 45, 0.6);
	box-shadow: inset 0 0 0 2px rgba(167, 82, 45, 0.08);
}

.pt-btn-ghost {
	color: var(--ag-gold);
	text-shadow: none;
	background: transparent;
	border-color: rgba(232, 154, 69, 0.55);
	box-shadow: inset 0 0 0 2px rgba(232, 154, 69, 0.06);
}

.pt-btn-ghost:hover {
	background: rgba(232, 154, 69, 0.12);
	box-shadow: inset 0 0 0 2px rgba(232, 154, 69, 0.35);
}

.pt-btn-ghost:active {
	background: rgba(232, 154, 69, 0.18);
	box-shadow: inset 0 0 0 2px rgba(232, 154, 69, 0.4);
}

.pt-section--night .pt-btn--outline,
.pt-section--deep .pt-btn--outline {
	color: var(--ag-gold);
	border-color: rgba(232, 154, 69, 0.58);
}

.pt-text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ag-copper);
	font-size: 0.8rem;
	font-weight: 900;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.pt-text-link .ag-icon {
	width: 18px;
	transition: transform 0.2s ease;
}

.pt-text-link:hover {
	color: var(--ag-gold);
}

.pt-text-link:hover .ag-icon {
	transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Ornamentos
   -------------------------------------------------------------------------- */

.pt-ornament-line {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 5;
	height: 9px;
	background: linear-gradient(180deg, #f4c97f 0 2px, #b96432 2px 6px, #4e2b1b 6px 9px);
	box-shadow: 0 -2px rgba(49, 22, 11, 0.45);
}

.pt-ornament-line span {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 26px;
	height: 26px;
	transform: translate(-50%, -50%) rotate(45deg);
	background: var(--ag-teal);
	border: 3px solid var(--ag-gold);
	box-shadow: 0 0 0 4px #6b3721, 0 4px 10px rgba(0, 0, 0, 0.5);
}

.pt-ornament-line span::after {
	content: "";
	position: absolute;
	inset: 5px;
	background: #a4e0dc;
	border: 1px solid #1d5c5a;
}

/* Usado fora do .pt-page-hero (que tem overflow:hidden e corta a ponta
   inferior do losango). Como divisor solto entre o hero e o conteudo,
   fica em fluxo normal e nao e mais clipado. */
.pt-ornament-line--divider {
	position: relative;
	bottom: auto;
}

/* --------------------------------------------------------------------------
   Hero principal
   -------------------------------------------------------------------------- */

.pt-hero {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	height: calc(100svh - var(--ag-header-height));
	height: calc(100dvh - var(--ag-header-height));
	min-height: 0;
	padding: 64px 0 92px;
	background-color: #334a4e;
	background-image: var(--ag-hero-image);
	background-position: center center;
	background-size: cover;
	isolation: isolate;
}

.pt-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(circle at 50% 43%, rgba(8, 14, 18, 0.12) 0 12%, rgba(8, 14, 18, 0.48) 42%, rgba(5, 10, 14, 0.38) 70%),
		linear-gradient(180deg, rgba(7, 13, 18, 0.3) 0%, rgba(7, 13, 18, 0.03) 25%, rgba(7, 13, 18, 0.12) 58%, rgba(7, 13, 18, 0.82) 100%);
}

.pt-hero__content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 900px;
	transform: translateX(clamp(-160px, calc(684px - 50vw), 0px));
	text-align: left;
	text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
}

.pt-hero__status {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 34px;
	margin-bottom: 16px;
	padding: 6px 13px;
	color: #dce5e6;
	font-size: 0.73rem;
	letter-spacing: 0.04em;
	background: rgba(8, 16, 22, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(8px);
}

.pt-hero__status strong {
	color: var(--ag-gold-pale);
	font-weight: 900;
	text-transform: uppercase;
}

.pt-status-dot {
	display: inline-block;
	width: 9px;
	height: 9px;
	flex: 0 0 auto;
	background: #e56955;
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(229, 105, 85, 0.14), 0 0 12px rgba(229, 105, 85, 0.7);
}

.pt-status-dot.is-online,
.pt-footer__status .pt-status-dot {
	background: #63d894;
	box-shadow: 0 0 0 4px rgba(99, 216, 148, 0.14), 0 0 12px rgba(99, 216, 148, 0.6);
}

.pt-hero__status-divider {
	width: 1px;
	height: 13px;
	background: rgba(255, 255, 255, 0.26);
}

.pt-hero__emblem {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-bottom: 8px;
}

.pt-hero__crest {
	width: clamp(120px, 12vw, 185px);
	margin-bottom: clamp(-30px, -2.5vw, -18px);
	filter: drop-shadow(0 8px 6px rgba(0, 0, 0, 0.72));
}

.pt-hero__wordmark {
	width: min(560px, 66vw);
	filter: drop-shadow(0 6px 3px rgba(0, 0, 0, 0.9));
}

.pt-hero__eyebrow {
	margin-bottom: 8px;
	color: var(--ag-gold-pale);
	font-size: 0.8rem;
	font-weight: 950;
	letter-spacing: 0.28em;
}

.pt-hero h1 {
	max-width: 780px;
	margin-bottom: 12px;
	color: #fff8ea;
	font-size: clamp(2.45rem, 4.5vw, 4.65rem);
	text-wrap: balance;
}

.pt-hero__lead {
	max-width: 690px;
	margin-bottom: 24px;
	color: #eef2ef;
	font-size: clamp(1rem, 1.5vw, 1.18rem);
	line-height: 1.6;
	text-wrap: balance;
}

.pt-hero__actions {
	display: flex;
	justify-content: flex-start;
	gap: 18px;
}

.pt-hero__pills {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 23px;
	margin-top: 30px;
	color: #e5e9e7;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.pt-hero__pills span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.pt-hero__pills .ag-icon {
	color: var(--ag-gold);
}

.pt-scroll-cue {
	position: absolute;
	left: 50%;
	bottom: 27px;
	z-index: 6;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.62rem;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.pt-scroll-cue .ag-icon {
	width: 18px;
	animation: ag-bob 1.7s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Secoes compartilhadas
   -------------------------------------------------------------------------- */

.pt-section {
	position: relative;
	padding: clamp(76px, 8vw, 118px) 0;
}

.pt-section--night {
	background:
		radial-gradient(circle at 15% 0%, rgba(73, 167, 162, 0.08), transparent 28%),
		linear-gradient(180deg, #13212d 0%, #101a24 100%);
}

.pt-section--night::before,
.pt-section--deep::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.2;
	background-image:
		linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.035) 49%, transparent 51%),
		linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.025) 49%, transparent 51%);
	background-size: 32px 32px;
}

.pt-section--parchment {
	color: var(--ag-ink);
	background:
		radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.64), transparent 25%),
		linear-gradient(90deg, rgba(79, 44, 25, 0.035) 1px, transparent 1px),
		linear-gradient(0deg, rgba(79, 44, 25, 0.025) 1px, transparent 1px),
		var(--ag-parchment);
	background-size: auto, 28px 28px, 28px 28px, auto;
}

.pt-section--deep {
	background:
		radial-gradient(circle at 80% 40%, rgba(73, 167, 162, 0.09), transparent 26%),
		var(--ag-night-3);
}

.pt-section-heading {
	position: relative;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 42px;
}

.pt-section-heading > div:first-child {
	max-width: 760px;
}

.pt-section-heading h2 {
	margin: 8px 0 10px;
	color: var(--ag-white);
}

.pt-section-heading p {
	max-width: 700px;
	margin-bottom: 0;
	color: var(--ag-muted);
}

.pt-section-heading--center {
	display: block;
	max-width: 820px;
	margin-inline: auto;
	margin-bottom: 52px;
	text-align: center;
}

.pt-section-heading--center .pt-kicker {
	justify-content: center;
}

.pt-section-heading--center .pt-kicker::after {
	content: "";
	width: 22px;
	height: 2px;
	background: currentColor;
}

.pt-section-heading--center p {
	margin-inline: auto;
}

.pt-section--parchment .pt-section-heading h2 {
	color: var(--ag-ink);
}

.pt-section--parchment .pt-section-heading p {
	color: #53616a;
}

.pt-section-actions {
	display: flex;
	justify-content: center;
	margin-top: 46px;
}

/* --------------------------------------------------------------------------
   Noticias
   -------------------------------------------------------------------------- */

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

.pt-news-grid > [data-reveal] {
	height: 100%;
}

.pt-news-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: linear-gradient(180deg, #1a2a36 0%, #14212c 100%);
	border: 1px solid rgba(232, 154, 69, 0.27);
	border-radius: var(--ag-radius);
	box-shadow: 0 14px 35px rgba(2, 7, 11, 0.24);
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pt-news-card::after {
	content: "";
	position: absolute;
	inset: 5px;
	pointer-events: none;
	border: 1px solid rgba(255, 255, 255, 0.035);
}

.pt-news-card:hover {
	transform: translateY(-7px);
	border-color: rgba(232, 154, 69, 0.65);
	box-shadow: 0 22px 44px rgba(2, 7, 11, 0.38);
}

.pt-news-card__media {
	position: relative;
	display: block;
	height: 210px;
	overflow: hidden;
	background: #0c161e;
	border-bottom: 2px solid #774225;
}

.pt-news-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(8, 14, 19, 0.62));
}

.pt-news-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.pt-news-card:hover .pt-news-card__media img {
	transform: scale(1.045);
}

.pt-news-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: rgba(242, 188, 104, 0.88);
	background:
		radial-gradient(circle at center, rgba(73, 167, 162, 0.25), transparent 34%),
		linear-gradient(135deg, #1e3541, #0d1a23);
}

.pt-news-card__placeholder .ag-icon {
	width: 58px;
	height: 58px;
}

.pt-news-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 25px 25px 27px;
}

.pt-news-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 13px;
	color: #8998a1;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pt-news-card__meta span:first-child {
	color: var(--ag-copper);
}

.pt-news-card h3 {
	margin-bottom: 10px;
}

.pt-news-card h3 a {
	color: #f9f3e7;
	transition: color 0.2s ease;
}

.pt-news-card h3 a:hover {
	color: var(--ag-gold);
}

.pt-news-card p {
	margin-bottom: 21px;
	color: #aeb9c1;
	font-size: 0.93rem;
}

.pt-news-card .pt-text-link {
	margin-top: auto;
}

/* --------------------------------------------------------------------------
   Destaques da home
   -------------------------------------------------------------------------- */

.pt-features-showcase::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 500px;
	height: 500px;
	transform: translate(-50%, -50%);
	opacity: 0.025;
	background: url("assets/ag-legacy-icon.webp") center / contain no-repeat;
}

.pt-feature-grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 23px;
}

.pt-feature-card {
	position: relative;
	min-height: 330px;
	padding: 42px 32px 34px;
	overflow: hidden;
	background: rgba(255, 250, 238, 0.72);
	border: 1px solid rgba(107, 69, 39, 0.28);
	border-radius: var(--ag-radius);
	box-shadow: 0 15px 35px rgba(62, 38, 19, 0.1), inset 0 0 0 5px rgba(255, 255, 255, 0.25);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pt-feature-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 42px rgba(62, 38, 19, 0.16), inset 0 0 0 5px rgba(255, 255, 255, 0.28);
}

.pt-feature-card--featured {
	color: var(--ag-white);
	background: linear-gradient(145deg, #263e49, #152630);
	border-color: rgba(232, 154, 69, 0.75);
	box-shadow: 0 18px 45px rgba(23, 38, 47, 0.28), inset 0 0 0 5px rgba(255, 255, 255, 0.025);
}

.pt-feature-card--featured::after {
	content: "";
	position: absolute;
	right: -50px;
	bottom: -70px;
	width: 210px;
	height: 210px;
	opacity: 0.09;
	background: url("assets/ag-legacy-icon.webp") center / contain no-repeat;
}

.pt-feature-card__number {
	position: absolute;
	top: 22px;
	right: 25px;
	color: rgba(37, 48, 55, 0.12);
	font-family: Georgia, serif;
	font-size: 3rem;
	font-weight: 900;
}

.pt-feature-card--featured .pt-feature-card__number {
	color: rgba(255, 255, 255, 0.08);
}

.pt-feature-card__icon {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin-bottom: 28px;
	color: var(--ag-copper-deep);
	background: rgba(232, 154, 69, 0.14);
	border: 1px solid rgba(167, 82, 45, 0.25);
	transform: rotate(45deg);
}

.pt-feature-card__icon .ag-icon {
	width: 31px;
	height: 31px;
	transform: rotate(-45deg);
}

.pt-feature-card--featured .pt-feature-card__icon {
	color: var(--ag-gold);
	background: rgba(232, 154, 69, 0.13);
	border-color: rgba(232, 154, 69, 0.46);
}

.pt-feature-card h3 {
	margin-bottom: 12px;
}

.pt-feature-card p {
	margin-bottom: 0;
	color: #59656b;
}

.pt-feature-card--featured p {
	color: #b5c1c6;
}

.pt-start__layout {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(60px, 8vw, 120px);
	align-items: center;
}

.pt-start__intro {
	max-width: 530px;
}

.pt-start__intro h2 {
	margin: 10px 0 17px;
	color: var(--ag-white);
}

.pt-start__intro p {
	margin-bottom: 28px;
	color: var(--ag-muted);
}

.pt-steps {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pt-steps::before {
	content: "";
	position: absolute;
	top: 36px;
	bottom: 36px;
	left: 35px;
	width: 1px;
	background: linear-gradient(var(--ag-copper), rgba(232, 154, 69, 0.15));
}

.pt-steps li {
	position: relative;
	display: grid;
	grid-template-columns: 70px 1fr;
	gap: 26px;
	align-items: center;
	min-height: 118px;
	padding: 20px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pt-steps li:last-child {
	border-bottom: 0;
}

.pt-steps__number {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 70px;
	height: 70px;
	color: var(--ag-gold);
	font-family: Georgia, serif;
	font-size: 1.05rem;
	font-weight: 900;
	background: #14242f;
	border: 1px solid rgba(232, 154, 69, 0.58);
	box-shadow: inset 0 0 0 5px rgba(232, 154, 69, 0.05);
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.pt-steps li h3 {
	margin-bottom: 7px;
	color: var(--ag-white);
}

.pt-steps li p {
	margin-bottom: 0;
	color: var(--ag-muted);
}

.pt-community-cta {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 620px;
	padding: 100px 0 115px;
	isolation: isolate;
}

.pt-community-cta__image,
.pt-community-cta__shade {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.pt-community-cta__image {
	background: var(--ag-hero-image) center 58% / cover no-repeat;
}

.pt-community-cta__shade {
	z-index: -1;
	background: linear-gradient(90deg, rgba(7, 13, 18, 0.92), rgba(7, 13, 18, 0.67) 50%, rgba(7, 13, 18, 0.88)), linear-gradient(180deg, rgba(7, 13, 18, 0.35), rgba(7, 13, 18, 0.7));
}

.pt-community-cta__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 800px;
	text-align: center;
}

.pt-community-cta__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin-bottom: 22px;
	color: var(--ag-gold);
	background: rgba(12, 26, 34, 0.82);
	border: 1px solid rgba(232, 154, 69, 0.62);
	transform: rotate(45deg);
}

.pt-community-cta__icon .ag-icon {
	width: 35px;
	height: 35px;
	transform: rotate(-45deg);
}

.pt-community-cta h2 {
	margin: 10px 0 14px;
	color: var(--ag-white);
}

.pt-community-cta p {
	max-width: 680px;
	margin-bottom: 30px;
	color: #d1d9dc;
	font-size: 1.08rem;
}

.pt-community-cta__actions {
	display: flex;
	justify-content: center;
	gap: 18px;
}

/* --------------------------------------------------------------------------
   Hero e conteudo das paginas internas
   -------------------------------------------------------------------------- */

.pt-page-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 355px;
	padding: 74px 0 82px;
	overflow: hidden;
	background: #172833;
	isolation: isolate;
}

.pt-page-hero__scene {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: var(--ag-hero-image) center 41% / cover no-repeat;
	transform: scale(1.015);
}

.pt-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(8, 15, 21, 0.94) 0%, rgba(8, 15, 21, 0.72) 55%, rgba(8, 15, 21, 0.54) 100%),
		linear-gradient(180deg, rgba(8, 15, 21, 0.2), rgba(8, 15, 21, 0.65));
}

.pt-page-hero::after {
	content: "";
	position: absolute;
	right: 7%;
	top: 50%;
	width: 270px;
	height: 245px;
	transform: translateY(-50%);
	opacity: 0.15;
	background: url("assets/ag-legacy-icon.webp") center / contain no-repeat;
	filter: grayscale(0.3);
}

.pt-page-hero--bare::after {
	display: none;
}

.pt-page-hero__content {
	position: relative;
	z-index: 1;
	max-width: 900px;
}

.pt-page-hero h1 {
	max-width: 900px;
	margin: 8px 0 12px;
	color: #fff8ea;
	font-size: clamp(2.6rem, 5vw, 4.85rem);
	text-shadow: 0 4px 13px rgba(0, 0, 0, 0.72);
	text-wrap: balance;
}

.pt-page-hero p {
	max-width: 690px;
	margin-bottom: 0;
	color: #ccd6d9;
	font-size: 1.05rem;
}

.pt-content-card {
	position: relative;
	padding: clamp(30px, 5vw, 58px);
	background: linear-gradient(145deg, #1b2b36, #13212b);
	border: 1px solid rgba(232, 154, 69, 0.34);
	border-radius: var(--ag-radius);
	box-shadow: var(--ag-shadow), inset 0 0 0 5px rgba(255, 255, 255, 0.018);
}

.pt-content-card__ornament {
	position: absolute;
	top: -1px;
	left: 50%;
	width: 70px;
	height: 5px;
	transform: translateX(-50%);
	background: var(--ag-copper);
}

.pt-content-card--page {
	max-width: 1000px;
	margin-inline: auto;
}

.pt-entry-content {
	color: #c3cdd1;
}

.pt-entry-content::after {
	display: table;
	clear: both;
	content: "";
}

.pt-entry-content > *:first-child {
	margin-top: 0;
}

.pt-entry-content > *:last-child {
	margin-bottom: 0;
}

.pt-entry-content h2,
.pt-entry-content h3,
.pt-entry-content h4 {
	margin-top: 1.4em;
	color: var(--ag-white);
}

.pt-entry-content h2 {
	font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.pt-entry-content h3 {
	font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.pt-entry-content a:not(.pt-btn):not(.pt-download-card) {
	color: var(--ag-gold);
	text-decoration: underline;
	text-decoration-color: rgba(241, 189, 104, 0.4);
	text-underline-offset: 3px;
}

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

.pt-entry-content blockquote {
	margin: 30px 0;
	padding: 22px 26px;
	color: var(--ag-gold-pale);
	background: rgba(232, 154, 69, 0.08);
	border-left: 4px solid var(--ag-copper);
}

.pt-entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.pt-entry-content th,
.pt-entry-content td {
	padding: 13px 15px;
	text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pt-entry-content th {
	color: var(--ag-gold-pale);
	font-size: 0.76rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Noticias: arquivo, busca e artigo
   -------------------------------------------------------------------------- */

.pt-news-toolbar {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 40px;
}

.pt-news-toolbar h2 {
	margin: 7px 0 0;
	color: var(--ag-white);
	font-size: clamp(1.75rem, 3vw, 2.65rem);
}

.pt-search-form {
	position: relative;
	width: min(100%, 360px);
}

.pt-search-form label {
	display: block;
}

.pt-search-field {
	width: 100%;
	height: 50px;
	padding: 10px 52px 10px 17px;
	color: var(--ag-white);
	background: #0d1821;
	border: 1px solid rgba(232, 154, 69, 0.31);
	border-radius: 4px;
}

.pt-search-field::placeholder {
	color: #788891;
}

.pt-search-field:focus {
	border-color: var(--ag-copper);
	outline: 2px solid rgba(232, 154, 69, 0.18);
}

.pt-search-submit {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	padding: 0;
	color: var(--ag-gold);
	background: transparent;
	border: 0;
	cursor: pointer;
}

.pt-search-submit svg {
	width: 20px;
	height: 20px;
}

.pt-news-grid--archive {
	row-gap: 30px;
}

.pt-pagination {
	display: flex;
	justify-content: center;
	margin-top: 50px;
}

.pt-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.pt-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 13px;
	color: #b8c3c8;
	font-weight: 800;
	background: #172630;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 3px;
}

.pt-pagination .page-numbers.current,
.pt-pagination .page-numbers:hover {
	color: #20140d;
	background: var(--ag-copper);
	border-color: var(--ag-gold);
}

.pt-empty-state {
	max-width: 700px;
	margin: 30px auto;
	padding: 65px 35px;
	text-align: center;
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid rgba(232, 154, 69, 0.25);
	border-radius: var(--ag-radius);
}

.pt-empty-state__icon {
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	margin: 0 auto 25px;
	color: var(--ag-gold);
	background: rgba(232, 154, 69, 0.1);
	border: 1px solid rgba(232, 154, 69, 0.32);
	transform: rotate(45deg);
}

.pt-empty-state__icon .ag-icon {
	width: 35px;
	height: 35px;
	transform: rotate(-45deg);
}

.pt-empty-state h2 {
	margin-bottom: 11px;
	color: var(--ag-white);
}

.pt-empty-state p {
	max-width: 540px;
	margin: 0 auto 28px;
	color: var(--ag-muted);
}

.pt-search-page-form {
	margin-bottom: 42px;
}

.pt-search-page-form .pt-search-form {
	margin-inline: auto;
}

.pt-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 32px;
	align-items: start;
	max-width: 1180px;
}

.pt-article {
	padding: clamp(28px, 5vw, 64px);
}

.pt-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 27px;
	padding-bottom: 20px;
	color: #8fa0a8;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pt-article__meta span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.pt-article__meta .ag-icon {
	color: var(--ag-copper);
}

.pt-article__featured {
	margin: 0 0 38px;
	overflow: hidden;
	border: 1px solid rgba(232, 154, 69, 0.4);
	border-radius: 4px;
}

.pt-article__featured img {
	width: 100%;
}

.pt-article__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 44px;
	padding-top: 25px;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.pt-tags {
	color: #8fa0a8;
	font-size: 0.82rem;
}

.pt-tags a {
	color: var(--ag-gold);
}

.pt-article-sidebar {
	position: sticky;
	top: calc(var(--ag-header-height) + 25px);
}

.pt-sidebar-card {
	padding: 32px 28px;
	background: linear-gradient(155deg, #213743, #14232e);
	border: 1px solid rgba(232, 154, 69, 0.38);
	border-radius: var(--ag-radius);
	box-shadow: var(--ag-shadow);
}

.pt-sidebar-card h2 {
	margin: 10px 0 13px;
	color: var(--ag-white);
	font-size: 1.75rem;
}

.pt-sidebar-card p {
	color: var(--ag-muted);
}

.pt-post-navigation {
	padding: 35px 0;
	background: var(--ag-night-3);
	border-top: 1px solid rgba(232, 154, 69, 0.2);
}

.pt-post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.pt-post-navigation a {
	display: flex;
	flex-direction: column;
	padding: 19px 22px;
	background: #14232d;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.pt-post-navigation .nav-next a {
	text-align: right;
}

.pt-post-navigation span {
	color: var(--ag-copper);
	font-size: 0.67rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pt-post-navigation strong {
	margin-top: 4px;
	color: var(--ag-white);
}

/* --------------------------------------------------------------------------
   Recursos
   -------------------------------------------------------------------------- */

.pt-split-feature {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: clamp(45px, 6vw, 90px);
	align-items: center;
}

.pt-split-feature__visual {
	position: relative;
}

.pt-world-window {
	min-height: 470px;
	background: var(--ag-hero-image) 58% center / cover no-repeat;
	border: 3px solid #cb8140;
	box-shadow: 0 0 0 6px #502b1c, 0 0 0 8px #e6ad5e, var(--ag-shadow);
	clip-path: polygon(3% 0, 97% 0, 100% 5%, 100% 95%, 97% 100%, 3% 100%, 0 95%, 0 5%);
}

.pt-world-window__badge {
	position: absolute;
	right: -25px;
	bottom: 28px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 17px;
	color: var(--ag-gold-pale);
	font-size: 0.74rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: #152630;
	border: 1px solid var(--ag-copper);
	box-shadow: 0 7px 20px rgba(0, 0, 0, 0.38);
}

.pt-split-feature__copy h2 {
	margin: 10px 0 18px;
	color: var(--ag-white);
}

.pt-split-feature__copy > p {
	margin-bottom: 27px;
	color: var(--ag-muted);
	font-size: 1.02rem;
}

.pt-check-list {
	display: grid;
	gap: 13px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.pt-check-list--columns {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pt-check-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #d3dcdf;
	font-size: 0.92rem;
	font-weight: 700;
}

.pt-check-list .ag-icon {
	width: 20px;
	height: 20px;
	padding: 3px;
	color: #1d1510;
	background: var(--ag-copper);
	border-radius: 50%;
}

.pt-capability-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.pt-capability-card {
	position: relative;
	min-height: 245px;
	padding: 31px 28px;
	background: rgba(255, 250, 238, 0.74);
	border: 1px solid rgba(95, 57, 31, 0.22);
	box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.28);
	transition: 0.24s ease;
}

.pt-capability-card:hover {
	transform: translateY(-5px);
	border-color: rgba(167, 82, 45, 0.55);
	box-shadow: 0 18px 32px rgba(62, 38, 19, 0.12), inset 0 0 0 4px rgba(255, 255, 255, 0.28);
}

.pt-capability-card > span {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 24px;
	color: var(--ag-copper-deep);
	background: rgba(167, 82, 45, 0.1);
	border: 1px solid rgba(167, 82, 45, 0.23);
}

.pt-capability-card h3 {
	margin-bottom: 9px;
}

.pt-capability-card p {
	margin-bottom: 0;
	color: #5b666b;
	font-size: 0.92rem;
}

.pt-progression__track {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 55px;
	margin-top: 18px;
}

.pt-progression__track::before {
	content: "";
	position: absolute;
	top: 31px;
	left: 16%;
	right: 16%;
	height: 2px;
	background: linear-gradient(90deg, var(--ag-copper), var(--ag-teal), var(--ag-copper));
}

.pt-progression__track > div {
	position: relative;
	text-align: center;
}

.pt-progression__track strong {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 26px;
	color: var(--ag-gold);
	font-family: Georgia, serif;
	background: #142631;
	border: 2px solid var(--ag-copper);
	border-radius: 50%;
	box-shadow: 0 0 0 7px #0a131c;
}

.pt-progression__track h3 {
	margin-bottom: 8px;
	color: var(--ag-white);
}

.pt-progression__track p {
	color: var(--ag-muted);
}

/* --------------------------------------------------------------------------
   Download
   -------------------------------------------------------------------------- */

.pt-download-shell {
	padding: clamp(28px, 4vw, 48px);
	background: linear-gradient(155deg, #1c2e3a, #111e28);
	border: 1px solid rgba(232, 154, 69, 0.43);
	box-shadow: var(--ag-shadow), inset 0 0 0 5px rgba(255, 255, 255, 0.018);
}

.pt-download-shell__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 35px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pt-download-shell__header h2 {
	margin: 8px 0 7px;
	color: var(--ag-white);
	font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.pt-download-shell__header p {
	margin-bottom: 0;
	color: var(--ag-muted);
}

.pt-download-shell__seal {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex: 0 0 auto;
	padding: 10px 14px;
	color: #a9ddd3;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	background: rgba(73, 167, 162, 0.09);
	border: 1px solid rgba(73, 167, 162, 0.38);
}

.pt-downloads {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 17px;
}

.pt-download-shortcode .pt-download-intro {
	display: none;
}

.pt-download-item,
.pt-download-item .pt-download-card {
	height: 100%;
}

.pt-download-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 220px;
	padding: 25px 18px;
	color: var(--ag-white);
	text-align: center;
	background: linear-gradient(180deg, #223743, #172631);
	border: 1px solid rgba(232, 154, 69, 0.26);
	box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.018);
	transition: 0.22s ease;
}

.pt-download-card:hover {
	transform: translateY(-6px);
	background: linear-gradient(180deg, #294450, #192b35);
	border-color: var(--ag-copper);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.28), inset 0 0 0 4px rgba(255, 255, 255, 0.02);
}

.pt-download-icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin-bottom: 18px;
	color: var(--ag-gold);
	font-family: Georgia, serif;
	font-size: 2rem;
	background: rgba(232, 154, 69, 0.09);
	border: 1px solid rgba(232, 154, 69, 0.34);
	border-radius: 50%;
}

.pt-download-icon .ag-icon {
	width: 27px;
	height: 27px;
}

.pt-download-icon .pt-platform-icon {
	width: 27px;
	height: 27px;
	display: block;
	color: var(--ag-gold);
}

.pt-download-label {
	font-family: Georgia, serif;
	font-size: 1.35rem;
	font-weight: 800;
}

.pt-download-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 14px;
	color: var(--ag-copper);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pt-download-empty,
.poketibia-download-empty {
	padding: 34px 24px;
	color: var(--ag-muted);
	text-align: center;
	background: rgba(255, 255, 255, 0.025);
	border: 1px dashed rgba(232, 154, 69, 0.35);
}

.pt-download-empty strong,
.poketibia-download-empty strong {
	display: block;
	margin-bottom: 5px;
	color: var(--ag-white);
	font-family: Georgia, serif;
	font-size: 1.2rem;
}

.pt-download-info-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-top: 28px;
}

.pt-info-panel {
	position: relative;
	display: grid;
	grid-template-columns: 56px 1fr;
	column-gap: 20px;
	padding: 34px;
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.pt-info-panel__icon {
	display: grid;
	grid-row: 1 / span 2;
	place-items: center;
	width: 56px;
	height: 56px;
	color: var(--ag-gold);
	background: rgba(232, 154, 69, 0.1);
	border: 1px solid rgba(232, 154, 69, 0.3);
}

.pt-info-panel h2 {
	margin: 7px 0 23px;
	color: var(--ag-white);
	font-size: 1.7rem;
}

.pt-spec-list,
.pt-mini-steps {
	grid-column: 2;
	margin: 0;
	padding: 0;
}

.pt-spec-list > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 15px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pt-spec-list dt {
	color: #8e9ca4;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.pt-spec-list dd {
	margin: 0;
	color: #d6dddf;
	font-size: 0.86rem;
	text-align: right;
}

.pt-mini-steps {
	display: grid;
	gap: 11px;
	list-style: none;
}

.pt-mini-steps li {
	display: flex;
	align-items: center;
	gap: 11px;
	color: #c2cdd1;
	font-size: 0.88rem;
}

.pt-mini-steps span {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	flex: 0 0 auto;
	color: #26150d;
	font-size: 0.72rem;
	font-weight: 900;
	background: var(--ag-copper);
	border-radius: 50%;
}

.pt-support-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	margin-top: 24px;
	padding: 21px 25px;
	background: rgba(73, 167, 162, 0.07);
	border: 1px solid rgba(73, 167, 162, 0.23);
}

.pt-support-strip > div {
	display: flex;
	align-items: center;
	gap: 14px;
}

.pt-support-strip > div > .ag-icon {
	width: 29px;
	height: 29px;
	color: #8bd4cf;
}

.pt-support-strip span {
	display: flex;
	flex-direction: column;
	color: var(--ag-muted);
	font-size: 0.84rem;
}

.pt-support-strip strong {
	color: var(--ag-white);
	font-size: 0.93rem;
}

/* --------------------------------------------------------------------------
   Comunidade e forum
   -------------------------------------------------------------------------- */

.pt-community-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 430px;
	gap: clamp(50px, 8vw, 120px);
	align-items: center;
}

.pt-community-intro__copy h2 {
	max-width: 690px;
	margin: 10px 0 18px;
	color: var(--ag-white);
}

.pt-community-intro__copy > p {
	max-width: 680px;
	color: var(--ag-muted);
	font-size: 1.02rem;
}

.pt-community-intro__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 28px;
}

.pt-community-intro__visual {
	position: relative;
	display: flex;
	justify-content: center;
}

.pt-community-intro__visual::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 360px;
	height: 360px;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(73, 167, 162, 0.2), transparent 68%);
}

.pt-community-intro__visual > img {
	position: relative;
	width: min(340px, 90%);
	filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.45));
}

.pt-live-card {
	position: absolute;
	right: 0;
	bottom: 15px;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 220px;
	padding: 13px 16px;
	background: rgba(13, 25, 33, 0.92);
	border: 1px solid rgba(232, 154, 69, 0.42);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(8px);
}

.pt-live-card div {
	display: flex;
	flex-direction: column;
}

.pt-live-card strong {
	color: var(--ag-white);
	font-size: 0.85rem;
}

.pt-live-card div span {
	color: #91a1a9;
	font-size: 0.72rem;
}

.pt-community-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.pt-community-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 300px;
	padding: 34px 30px;
	overflow: hidden;
	background: rgba(255, 250, 238, 0.78);
	border: 1px solid rgba(95, 57, 31, 0.24);
	box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.pt-community-card--accent {
	color: var(--ag-white);
	background: linear-gradient(145deg, #27434d, #172a35);
	border-color: rgba(232, 154, 69, 0.64);
}

.pt-community-card > span {
	display: grid;
	place-items: center;
	width: 55px;
	height: 55px;
	margin-bottom: 28px;
	color: var(--ag-copper-deep);
	background: rgba(167, 82, 45, 0.1);
	border: 1px solid rgba(167, 82, 45, 0.25);
}

.pt-community-card--accent > span {
	color: var(--ag-gold);
	background: rgba(232, 154, 69, 0.1);
	border-color: rgba(232, 154, 69, 0.35);
}

.pt-community-card h3 {
	margin-bottom: 10px;
}

.pt-community-card p {
	color: #5d686e;
}

.pt-community-card--accent p {
	color: #afbdc2;
}

.pt-community-card .pt-text-link {
	margin-top: auto;
}

.pt-community-values {
	position: relative;
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(55px, 8vw, 110px);
	align-items: start;
}

.pt-community-values h2 {
	margin: 10px 0 17px;
	color: var(--ag-white);
}

.pt-community-values > div > p {
	color: var(--ag-muted);
}

.pt-values-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pt-values-list li {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 22px;
	padding: 23px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.pt-values-list li > span {
	color: var(--ag-copper);
	font-family: Georgia, serif;
	font-size: 1.25rem;
	font-weight: 900;
}

.pt-values-list strong {
	display: block;
	margin-bottom: 4px;
	color: var(--ag-white);
	font-family: Georgia, serif;
	font-size: 1.18rem;
}

.pt-values-list p {
	margin-bottom: 0;
	color: var(--ag-muted);
	font-size: 0.9rem;
}

.pt-forum-welcome {
	display: grid;
	grid-template-columns: 84px 1fr auto;
	gap: 27px;
	align-items: center;
	margin-bottom: 38px;
	padding: 31px 34px;
	background: linear-gradient(145deg, #213743, #172832);
	border: 1px solid rgba(232, 154, 69, 0.39);
	box-shadow: var(--ag-shadow);
}

.pt-forum-welcome__icon {
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	color: var(--ag-gold);
	background: rgba(232, 154, 69, 0.09);
	border: 1px solid rgba(232, 154, 69, 0.4);
}

.pt-forum-welcome__icon .ag-icon {
	width: 35px;
	height: 35px;
}

.pt-forum-welcome h2 {
	margin: 7px 0;
	color: var(--ag-white);
	font-size: clamp(1.6rem, 2.6vw, 2.35rem);
}

.pt-forum-welcome p {
	max-width: 720px;
	margin-bottom: 0;
	color: var(--ag-muted);
}

.pt-forum-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.pt-forum-card {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 21px;
	padding: 29px;
	background: rgba(255, 255, 255, 0.026);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: 0.22s ease;
}

.pt-forum-card:hover {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(232, 154, 69, 0.45);
	transform: translateY(-3px);
}

.pt-forum-card__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	color: var(--ag-gold);
	background: rgba(232, 154, 69, 0.08);
	border: 1px solid rgba(232, 154, 69, 0.27);
}

.pt-forum-card__label {
	color: var(--ag-copper);
	font-size: 0.64rem;
	font-weight: 900;
	letter-spacing: 0.11em;
}

.pt-forum-card h3 {
	margin: 5px 0 8px;
	color: var(--ag-white);
}

.pt-forum-card p {
	margin-bottom: 13px;
	color: var(--ag-muted);
	font-size: 0.9rem;
}

.pt-forum-card a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--ag-gold);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.pt-forum-card a .ag-icon {
	width: 16px;
}

.pt-coming-soon {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 25px;
	padding: 20px 23px;
	background: rgba(73, 167, 162, 0.07);
	border: 1px solid rgba(73, 167, 162, 0.27);
}

.pt-coming-soon > span {
	color: #8fd6d1;
}

.pt-coming-soon strong {
	display: block;
	color: var(--ag-white);
}

.pt-coming-soon p {
	margin-bottom: 0;
	color: var(--ag-muted);
	font-size: 0.85rem;
}

.pt-forum-editor-content {
	margin-top: 25px;
}

/* --------------------------------------------------------------------------
   Suporte e FAQ
   -------------------------------------------------------------------------- */

.pt-support-paths {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 21px;
}

.pt-support-paths article {
	display: grid;
	grid-template-columns: 58px 1fr;
	gap: 19px;
	padding: 30px 26px;
	background: linear-gradient(145deg, #1d303c, #13222c);
	border: 1px solid rgba(232, 154, 69, 0.27);
	box-shadow: 0 13px 28px rgba(0, 0, 0, 0.2);
}

.pt-support-paths article > span {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	color: var(--ag-gold);
	background: rgba(232, 154, 69, 0.09);
	border: 1px solid rgba(232, 154, 69, 0.3);
}

.pt-support-paths h2 {
	margin: 6px 0 8px;
	color: var(--ag-white);
	font-size: 1.42rem;
}

.pt-support-paths p {
	color: var(--ag-muted);
	font-size: 0.88rem;
}

.pt-faq-layout {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: clamp(50px, 8vw, 110px);
	align-items: start;
}

.pt-faq-layout__intro {
	position: sticky;
	top: calc(var(--ag-header-height) + 25px);
}

.pt-faq-layout__intro h2 {
	margin: 9px 0 15px;
}

.pt-faq-layout__intro > p {
	color: #5d686e;
}

.pt-faq-help {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 27px 0 22px;
	padding: 18px;
	background: rgba(73, 167, 162, 0.1);
	border: 1px solid rgba(31, 113, 111, 0.25);
}

.pt-faq-help > .ag-icon {
	width: 30px;
	height: 30px;
	color: var(--ag-teal-deep);
}

.pt-faq-help div {
	display: flex;
	flex-direction: column;
}

.pt-faq-help strong {
	font-size: 0.9rem;
}

.pt-faq-help span {
	color: #5d686e;
	font-size: 0.8rem;
}

.pt-accordion {
	display: grid;
	gap: 11px;
}

.pt-accordion__item {
	background: rgba(255, 250, 238, 0.7);
	border: 1px solid rgba(96, 58, 31, 0.22);
}

.pt-accordion__item h3 {
	margin: 0;
	font-family: inherit;
	font-size: 1rem;
}

.pt-accordion__item button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	min-height: 67px;
	padding: 17px 21px;
	color: var(--ag-ink);
	font-weight: 800;
	text-align: left;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.pt-accordion__item button i {
	position: relative;
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
}

.pt-accordion__item button i::before,
.pt-accordion__item button i::after {
	content: "";
	position: absolute;
	top: 9px;
	left: 3px;
	width: 14px;
	height: 2px;
	background: var(--ag-copper-deep);
	transition: transform 0.2s ease;
}

.pt-accordion__item button i::after {
	transform: rotate(90deg);
}

.pt-accordion__item button[aria-expanded="true"] i::after {
	transform: rotate(0);
}

.pt-accordion__panel {
	padding: 0 21px 20px;
	color: #56636a;
}

.pt-accordion__panel p {
	margin-bottom: 0;
	padding-top: 16px;
	border-top: 1px solid rgba(96, 58, 31, 0.14);
}

/* --------------------------------------------------------------------------
   Area de conta e shortcodes do plugin
   -------------------------------------------------------------------------- */

.pt-section--account {
	background:
		radial-gradient(circle at 15% 45%, rgba(73, 167, 162, 0.09), transparent 28%),
		linear-gradient(160deg, #101b25, #0b141c);
}

.pt-auth-layout {
	display: grid;
	grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
	gap: 40px;
	align-items: stretch;
	max-width: 1050px;
	margin-inline: auto;
}

.pt-auth-layout--wide {
	grid-template-columns: 320px minmax(0, 1fr);
	max-width: 1200px;
}

.pt-auth-aside {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 600px;
	padding: 42px 38px;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(16, 30, 39, 0.56), rgba(10, 18, 25, 0.93)),
		var(--ag-hero-image) 26% center / cover no-repeat;
	border: 1px solid rgba(232, 154, 69, 0.38);
	box-shadow: var(--ag-shadow);
}

.pt-auth-aside::after {
	content: "";
	position: absolute;
	inset: 7px;
	pointer-events: none;
	border: 1px solid rgba(242, 189, 104, 0.2);
}

.pt-auth-aside > img {
	width: 210px;
	margin: 0 auto 25px;
	filter: drop-shadow(0 15px 14px rgba(0, 0, 0, 0.52));
}

.pt-auth-aside h2 {
	margin: 10px 0 17px;
	color: var(--ag-white);
	font-size: 2.15rem;
}

.pt-auth-aside .pt-check-list {
	margin-top: 20px;
}

.pt-auth-card {
	display: flex;
	align-items: center;
	min-height: 600px;
	padding: clamp(31px, 5vw, 56px);
}

.pt-auth-card > .pt-entry-content {
	width: 100%;
}

.poketibia-form {
	display: grid;
	gap: 18px;
	width: 100%;
	margin: 0;
}

.poketibia-form > p {
	margin: 0;
}

.poketibia-logout {
	margin-top: 24px;
}

.poketibia-form label {
	display: block;
	margin-bottom: 7px;
	color: #e5e9e8;
	font-size: 0.8rem;
	font-weight: 850;
	letter-spacing: 0.045em;
}

.poketibia-form input[type="text"],
.poketibia-form input[type="email"],
.poketibia-form input[type="password"],
.poketibia-form input[type="search"],
.poketibia-form select,
.poketibia-form textarea {
	width: 100%;
	height: 52px;
	margin-top: 6px;
	padding: 10px 14px;
	color: var(--ag-white);
	background: #0d1821;
	border: 1px solid #40505b;
	border-radius: 4px;
	box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.22);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.poketibia-form input:focus,
.poketibia-form select:focus,
.poketibia-form textarea:focus {
	border-color: var(--ag-copper);
	box-shadow: 0 0 0 3px rgba(232, 154, 69, 0.11), inset 0 3px 8px rgba(0, 0, 0, 0.22);
	outline: 0;
}

.poketibia-form .description,
.poketibia-field-help,
.poketibia-help,
.poketibia-form small {
	display: block;
	margin-top: 6px;
	color: #899aa3;
	font-size: 0.74rem;
	line-height: 1.45;
}

.poketibia-form button {
	width: 100%;
	margin-top: 4px;
}

.poketibia-form a,
.poketibia-account a {
	color: var(--ag-gold);
}

.poketibia-form__links,
.poketibia-form-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	padding-top: 5px;
	color: #9dabb2;
	font-size: 0.82rem;
}

.poketibia-alert {
	position: relative;
	margin: 0 0 20px;
	padding: 14px 17px 14px 45px;
	font-size: 0.88rem;
	font-weight: 700;
	border: 1px solid;
	border-radius: 4px;
}

.poketibia-alert::before {
	position: absolute;
	top: 13px;
	left: 17px;
	font-weight: 950;
}

.poketibia-success {
	color: #c9f4d9;
	background: rgba(61, 157, 96, 0.12);
	border-color: rgba(86, 202, 127, 0.45);
}

.poketibia-success::before {
	content: "✓";
	color: #68d08d;
}

.poketibia-error {
	color: #ffd4cc;
	background: rgba(181, 67, 51, 0.13);
	border-color: rgba(229, 105, 85, 0.48);
}

.poketibia-error::before {
	content: "!";
	color: #ee806e;
}

.poketibia-account {
	width: 100%;
}

.poketibia-account > h2 {
	margin-bottom: 8px;
	color: var(--ag-white);
}

.poketibia-account h3 {
	margin: 34px 0 14px;
	color: var(--ag-gold-pale);
}

.poketibia-table-wrap {
	max-width: 100%;
	overflow-x: auto;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.poketibia-table {
	width: 100%;
	min-width: 580px;
	border-collapse: collapse;
}

.poketibia-table caption {
	padding: 13px 15px;
	color: var(--ag-gold-pale);
	font-family: Georgia, serif;
	font-weight: 800;
	text-align: left;
	background: rgba(232, 154, 69, 0.07);
}

.poketibia-table th,
.poketibia-table td {
	padding: 13px 15px;
	text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.poketibia-table th {
	color: var(--ag-copper);
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.poketibia-table td {
	color: #c4ced2;
	font-size: 0.87rem;
}

.poketibia-status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.pt-status {
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	border-radius: 99px;
}

.pt-online {
	color: #bff0d1;
	background: rgba(57, 154, 91, 0.18);
}

.pt-offline {
	color: #ffd0c8;
	background: rgba(181, 67, 51, 0.18);
}

/* --------------------------------------------------------------------------
   Rodape e 404
   -------------------------------------------------------------------------- */

.pt-footer {
	position: relative;
	padding-top: 8px;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px) 0 0 / 24px 24px,
		#0a131b;
}

.pt-footer > .pt-ornament-line {
	top: 0;
	bottom: auto;
}

.pt-footer__grid {
	display: grid;
	grid-template-columns: 1.35fr 0.65fr 0.75fr 1.05fr;
	gap: clamp(35px, 5vw, 70px);
	padding-top: 78px;
	padding-bottom: 65px;
}

.pt-brand--footer {
	margin-bottom: 18px;
}

.pt-footer__brand > p {
	max-width: 360px;
	margin-bottom: 20px;
	color: #8999a2;
	font-size: 0.9rem;
}

.pt-footer__status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #b5c2c7;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.pt-footer__column h2,
.pt-footer__cta h2 {
	margin: 6px 0 17px;
	color: var(--ag-white);
	font-family: inherit;
	font-size: 0.83rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pt-footer__column ul {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pt-footer__column a {
	color: #8999a2;
	font-size: 0.86rem;
	transition: color 0.2s ease, padding-left 0.2s ease;
}

.pt-footer__column a:hover {
	padding-left: 4px;
	color: var(--ag-gold);
}

.pt-footer__cta {
	padding-left: 30px;
	border-left: 1px solid rgba(232, 154, 69, 0.2);
}

.pt-footer__cta h2 {
	font-family: Georgia, serif;
	font-size: 1.55rem;
	letter-spacing: -0.02em;
	text-transform: none;
}

.pt-footer__bottom {
	padding: 20px 0;
	background: rgba(0, 0, 0, 0.22);
	border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.pt-footer__bottom .pt-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.pt-footer__bottom p {
	margin: 0;
	color: #70818a;
	font-size: 0.7rem;
}

.pt-footer__disclaimer {
	max-width: 610px;
	text-align: right;
}

.pt-back-to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 100;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	color: var(--ag-gold);
	background: #14232d;
	border: 1px solid rgba(232, 154, 69, 0.52);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	cursor: pointer;
	transition: 0.2s ease;
}

.pt-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.pt-back-to-top .ag-icon {
	transform: rotate(180deg);
}

.pt-error-hero {
	position: relative;
	display: grid;
	place-items: center;
	min-height: calc(100svh - var(--ag-header-height));
	padding: 80px 0;
	isolation: isolate;
}

.pt-error-hero__image,
.pt-error-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.pt-error-hero__image {
	background: var(--ag-hero-image) center / cover no-repeat;
}

.pt-error-hero__shade {
	z-index: -1;
	background: rgba(7, 13, 18, 0.82);
}

.pt-error-hero__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 790px;
	text-align: center;
}

.pt-error-hero__content img {
	width: 170px;
	margin-bottom: -20px;
	filter: drop-shadow(0 12px 13px rgba(0, 0, 0, 0.5));
}

.pt-error-code {
	color: var(--ag-copper);
	font-family: Georgia, serif;
	font-size: clamp(5rem, 13vw, 9rem);
	font-weight: 950;
	line-height: 0.9;
	text-shadow: 0 5px 0 #5a2c1c;
}

.pt-error-hero h1 {
	margin: 10px 0 15px;
	color: var(--ag-white);
	font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.pt-error-hero p {
	max-width: 650px;
	color: #c1ccd0;
}

.pt-error-hero__actions {
	display: flex;
	gap: 16px;
	margin-top: 20px;
}

/* --------------------------------------------------------------------------
   Movimento
   -------------------------------------------------------------------------- */

[data-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-revealed {
	opacity: 1;
	transform: translateY(0);
}

@keyframes ag-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(5px); }
}

/* --------------------------------------------------------------------------
   Responsividade
   -------------------------------------------------------------------------- */

@media (max-width: 1240px) {
	:root { --ag-container: 1160px; }
	.pt-header__inner { gap: 23px; }
	.pt-brand__wordmark { width: 145px; }
	.pt-brand__crest { width: 52px; height: 52px; }
	.pt-menu { gap: 15px; }
	.pt-nav { gap: 15px; }
	.pt-account-link span { display: none; }
	.pt-account-link { width: 43px; padding-inline: 0; }
}

@media (max-width: 1060px) {
	:root { --ag-header-height: 76px; }
	.admin-bar .pt-header { top: 32px; }
	.pt-header__inner { justify-content: space-between; }
	.pt-brand__crest { width: 50px; height: 50px; }
	.pt-brand__wordmark { width: 155px; }
	.pt-menu-toggle {
		display: grid;
		place-items: center;
		width: 48px;
		height: 48px;
		margin-left: auto;
		padding: 0;
		color: var(--ag-gold);
		background: rgba(232, 154, 69, 0.06);
		border: 1px solid rgba(232, 154, 69, 0.36);
		cursor: pointer;
	}
	.pt-menu-toggle__lines { display: grid; gap: 5px; }
	.pt-menu-toggle__lines i { display: block; width: 23px; height: 2px; background: currentColor; transition: 0.2s ease; }
	.pt-menu-toggle[aria-expanded="true"] .pt-menu-toggle__lines i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.pt-menu-toggle[aria-expanded="true"] .pt-menu-toggle__lines i:nth-child(2) { opacity: 0; }
	.pt-menu-toggle[aria-expanded="true"] .pt-menu-toggle__lines i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.pt-nav {
		position: fixed;
		top: var(--ag-header-height);
		right: 0;
		bottom: 0;
		z-index: 1002;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: min(390px, 88vw);
		padding: 30px 27px;
		overflow-y: auto;
		background: linear-gradient(160deg, #192b37, #0d1821 75%);
		border-left: 1px solid rgba(232, 154, 69, 0.38);
		box-shadow: -18px 0 40px rgba(0, 0, 0, 0.42);
		transform: translateX(105%);
		visibility: hidden;
		pointer-events: none;
		transition: transform 0.28s ease, visibility 0s linear 0.28s;
	}
	.admin-bar .pt-nav { top: calc(var(--ag-header-height) + 32px); }
	.pt-nav.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; transition-delay: 0s; }
	.pt-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.pt-menu > li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
	.pt-menu > li > a { height: auto; min-height: 53px; padding: 12px 3px; font-size: 0.84rem; }
	.pt-menu > li > a::after { top: 15px; bottom: 15px; left: -10px; right: auto; width: 3px; height: auto; }
	.pt-menu > li > a:hover::after,
	.pt-menu > li.current-menu-item > a::after,
	.pt-menu > li.current_page_item > a::after { left: -10px; right: auto; }
	.pt-menu .sub-menu { position: static; min-width: 0; padding: 0 0 10px 15px; background: transparent; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.pt-nav__account { margin-top: 18px; }
	.pt-account-link { width: 100%; min-height: 49px; }
	.pt-account-link span { display: inline; }
	.pt-nav-backdrop {
		position: fixed;
		inset: 0;
		z-index: 999;
		display: block;
		padding: 0;
		background: rgba(2, 7, 11, 0.68);
		border: 0;
		opacity: 0;
		visibility: hidden;
		transition: 0.25s ease;
		backdrop-filter: blur(2px);
	}
	.pt-nav-backdrop.is-visible { opacity: 1; visibility: visible; }
	.pt-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pt-news-grid > *:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 12px); width: 100%; justify-self: center; }
	.pt-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pt-downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pt-support-paths { grid-template-columns: 1fr; }
	.pt-footer__grid { grid-template-columns: 1.2fr 0.7fr 0.8fr; }
	.pt-footer__cta { grid-column: 1 / -1; padding: 28px 0 0; border-top: 1px solid rgba(232, 154, 69, 0.2); border-left: 0; }
}

@media (max-width: 860px) {
	.pt-container { width: min(100% - 36px, var(--ag-container)); }
	.pt-hero { height: auto; min-height: 750px; background-position: 56% center; }
	.pt-hero__pills { gap: 13px; }
	.pt-feature-grid { grid-template-columns: 1fr; max-width: 650px; margin-inline: auto; }
	.pt-feature-card { min-height: 0; }
	.pt-start__layout,
	.pt-split-feature,
	.pt-community-values,
	.pt-faq-layout { grid-template-columns: 1fr; }
	.pt-start__intro,
	.pt-split-feature__copy { max-width: none; }
	.pt-world-window { min-height: 390px; }
	.pt-world-window__badge { right: 18px; }
	.pt-page-hero::after { right: -40px; opacity: 0.1; }
	.pt-download-info-grid { grid-template-columns: 1fr; }
	.pt-community-intro { grid-template-columns: 1fr; }
	.pt-community-intro__visual { max-width: 500px; margin: 15px auto 0; }
	.pt-community-grid { grid-template-columns: 1fr; }
	.pt-forum-welcome { grid-template-columns: 70px 1fr; }
	.pt-forum-welcome > .pt-btn { grid-column: 1 / -1; }
	.pt-faq-layout__intro { position: static; }
	.pt-auth-layout,
	.pt-auth-layout--wide { grid-template-columns: 1fr; max-width: 680px; }
	.pt-auth-aside { min-height: 520px; }
	.pt-auth-card { min-height: 0; }
	.pt-article-layout { grid-template-columns: 1fr; }
	.pt-article-sidebar { position: static; }
}

@media (max-width: 700px) {
	.admin-bar .pt-header { top: 46px; }
	.admin-bar .pt-nav { top: calc(var(--ag-header-height) + 46px); }
	.pt-section { padding: 70px 0; }
	.pt-hero { height: auto; min-height: 760px; padding: 52px 0 100px; }
	.pt-hero__status { margin-bottom: 22px; }
	.pt-hero__status-divider,
	.pt-hero__status > span:last-child { display: none; }
	.pt-hero__crest { width: 130px; margin-bottom: -19px; }
	.pt-hero__wordmark { width: min(420px, 82vw); }
	.pt-hero__eyebrow { font-size: 0.65rem; letter-spacing: 0.19em; }
	.pt-hero h1 { font-size: clamp(2.2rem, 11vw, 3.5rem); }
	.pt-hero__lead { font-size: 0.96rem; }
	.pt-hero__actions { flex-direction: column; width: 100%; max-width: 340px; }
	.pt-btn--large { width: 100%; min-width: 0; min-height: 58px; }
	.pt-hero__pills { flex-wrap: wrap; margin-top: 24px; }
	.pt-scroll-cue { display: none; }
	.pt-section-heading,
	.pt-news-toolbar { align-items: start; flex-direction: column; }
	.pt-section-heading--center { display: block; }
	.pt-text-link--wide { margin-top: -8px; }
	.pt-news-grid { grid-template-columns: 1fr; }
	.pt-news-grid > *:last-child:nth-child(odd) { grid-column: auto; max-width: none; }
	.pt-news-card__media { height: 225px; }
	.pt-capability-grid { grid-template-columns: 1fr; }
	.pt-progression__track { grid-template-columns: 1fr; gap: 25px; }
	.pt-progression__track::before { top: 30px; bottom: 30px; left: 31px; right: auto; width: 2px; height: auto; }
	.pt-progression__track > div { display: grid; grid-template-columns: 64px 1fr; column-gap: 22px; text-align: left; }
	.pt-progression__track strong { grid-row: 1 / span 2; margin: 0; }
	.pt-progression__track h3 { align-self: end; }
	.pt-progression__track p { align-self: start; }
	.pt-community-cta { min-height: 600px; }
	.pt-community-cta__actions { flex-direction: column; width: 100%; max-width: 330px; }
	.pt-page-hero { min-height: 315px; padding: 60px 0 72px; }
	.pt-page-hero h1 { font-size: clamp(2.35rem, 12vw, 3.65rem); }
	.pt-page-hero p { font-size: 0.95rem; }
	.pt-world-window { min-height: 330px; }
	.pt-check-list--columns { grid-template-columns: 1fr; }
	.pt-download-shell__header { align-items: start; flex-direction: column; }
	.pt-downloads { grid-template-columns: 1fr; }
	.pt-download-card { min-height: 185px; }
	.pt-info-panel { grid-template-columns: 48px 1fr; padding: 26px 22px; }
	.pt-info-panel__icon { width: 48px; height: 48px; }
	.pt-support-strip { align-items: flex-start; flex-direction: column; }
	.pt-forum-grid { grid-template-columns: 1fr; }
	.pt-forum-welcome { grid-template-columns: 1fr; text-align: center; }
	.pt-forum-welcome__icon { margin-inline: auto; }
	.pt-forum-card { grid-template-columns: 52px 1fr; padding: 23px 20px; }
	.pt-forum-card__icon { width: 50px; height: 50px; }
	.pt-support-paths article { grid-template-columns: 50px 1fr; padding: 24px 21px; }
	.pt-support-paths article > span { width: 48px; height: 48px; }
	.pt-auth-aside { min-height: 480px; padding: 35px 27px; }
	.pt-auth-aside > img { width: 180px; }
	.pt-auth-card { padding: 31px 23px; }
	.pt-post-navigation .nav-links { grid-template-columns: 1fr; }
	.pt-post-navigation .nav-next a { text-align: left; }
	.pt-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pt-footer__brand { grid-column: 1 / -1; }
	.pt-footer__cta { grid-column: 1 / -1; }
	.pt-footer__bottom .pt-container { align-items: flex-start; flex-direction: column; gap: 8px; }
	.pt-footer__disclaimer { text-align: left; }
	.pt-error-hero__actions { flex-direction: column; width: 100%; max-width: 330px; }
}

@media (max-width: 480px) {
	:root { --ag-header-height: 70px; }
	.pt-container { width: min(100% - 28px, var(--ag-container)); }
	.pt-brand__crest { width: 43px; height: 43px; }
	.pt-brand__wordmark { width: 132px; }
	.pt-menu-toggle { width: 44px; height: 44px; }
	.pt-hero { min-height: 730px; background-position: 59% center; }
	.pt-hero__pills span:nth-child(3) { display: none; }
	.pt-news-card__media { height: 195px; }
	.pt-feature-card { padding: 36px 25px 29px; }
	.pt-steps li { grid-template-columns: 58px 1fr; gap: 18px; }
	.pt-steps::before { left: 28px; }
	.pt-steps__number { width: 58px; height: 58px; }
	.pt-world-window { min-height: 280px; }
	.pt-world-window__badge { right: 10px; bottom: 15px; font-size: 0.66rem; }
	.pt-info-panel { display: block; }
	.pt-info-panel__icon { margin-bottom: 18px; }
	.pt-spec-list,
	.pt-mini-steps { margin-top: 18px; }
	.pt-spec-list > div { align-items: flex-start; flex-direction: column; gap: 3px; }
	.pt-spec-list dd { text-align: left; }
	.pt-live-card { right: -5px; min-width: 205px; }
	.pt-values-list li { grid-template-columns: 38px 1fr; gap: 13px; }
	.pt-footer__grid { grid-template-columns: 1fr; padding-top: 68px; }
	.pt-footer__brand,
	.pt-footer__cta { grid-column: auto; }
	.pt-footer__column { padding-top: 5px; }
	.pt-back-to-top { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	[data-reveal] { opacity: 1; transform: none; }
}

@media print {
	.pt-header,
	.pt-footer,
	.pt-back-to-top,
	.pt-page-hero .pt-ornament-line { display: none !important; }
	.pt-section,
	.pt-content-card { padding: 20px 0; color: #111; background: #fff; border: 0; box-shadow: none; }
	.pt-entry-content { color: #111; }
}
