/* ==========================================================================
   SlotPokerPro Blog — main.css
   Identidade herdada do slotpokerpro.com: navy profundo, ciano, Google Sans,
   bordas com gradiente radial e botões "neon" (azul / verde / dourado).
   ========================================================================== */

@font-face { font-family: 'Google Sans'; src: url('../fonts/GoogleSans-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Google Sans'; src: url('../fonts/GoogleSans-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Google Sans'; src: url('../fonts/GoogleSans-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Google Sans'; src: url('../fonts/GoogleSans-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
	--bg: #07070A;
	--bg-2: #09112B;
	--card: #0A0E1E;
	--card-2: #0E1526;
	--line: #1E2C4A;
	--line-soft: rgba(184, 220, 253, .08);
	--text: #FFFFFF;
	--text-2: #C9D4E8;
	--muted: #94A3BF;
	--cyan: #4FC3F7;
	--cyan-2: #B8DCFD;
	--blue: #2F6BFF;
	--accent: #00C6FF;
	--gold: #F7E360;

	--radius: 12px;
	--radius-sm: 8px;
	--wrap: 1216px;
	--gutter: 24px;
	--header-h: 72px;
	--font: 'Google Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--shadow: 0 20px 60px -20px rgba(0, 0, 0, .8);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	background-image: radial-gradient(1200px 600px at 50% -200px, rgba(47, 107, 255, .14), transparent 70%), linear-gradient(180deg, var(--bg-2) 0, var(--bg) 900px);
	background-repeat: no-repeat;
	color: var(--text);
	font: 400 16px/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cyan-2); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(79, 195, 247, .35); }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--cyan); color: #000; border-radius: 6px; }
.skip:focus { top: 12px; color: #000; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(760px + var(--gutter) * 2); }

/* ---------- Tons por categoria ---------- */
.tone-cyan   { --tone: #4FC3F7; --tone-bg: rgba(79, 195, 247, .12); }
.tone-blue   { --tone: #7EA2FF; --tone-bg: rgba(47, 107, 255, .16); }
.tone-green  { --tone: #7FDBFF; --tone-bg: rgba(0, 198, 255, .10); }
.tone-gold   { --tone: #F7E360; --tone-bg: rgba(247, 227, 96, .10); }
.tone-violet { --tone: #B79CFF; --tone-bg: rgba(183, 156, 255, .12); }
.tone-pink   { --tone: #FF8FC7; --tone-bg: rgba(255, 143, 199, .10); }

/* ---------- Borda gradiente (mesma técnica do site) ---------- */
.card-glow { position: relative; background: linear-gradient(180deg, #0C1534 0%, #08080D 100%); border-radius: var(--radius); isolation: isolate; }
.card-glow::before {
	content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; pointer-events: none;
	background: radial-gradient(ellipse at top, #B8DCFD 0%, #1E3C76 45%, #111D42 80%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
}

/* ---------- Botões (neon do site) ---------- */
.btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 22px; border: 0; border-radius: 6px; cursor: pointer; isolation: isolate; overflow: hidden;
	font-weight: 500; font-size: 15px; line-height: 1.4; color: #fff; white-space: nowrap;
	transition: filter .2s ease, transform .2s var(--ease);
}
.btn:hover { filter: brightness(1.15); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; mix-blend-mode: screen; filter: blur(12px); opacity: .9; pointer-events: none; }
.btn--blue  { background: #194057; box-shadow: inset 0 1px 3px #60D8F7; }
.btn--blue::before  { background: radial-gradient(60% 70% at 50% 120%, #60D8F7, transparent 70%); }
.btn--green { background: #255719; box-shadow: inset 0 1px 3px #60F78D; }
.btn--green::before { background: radial-gradient(60% 70% at 50% 120%, #60F78D, transparent 70%); }
.btn--gold  { background: #886003; box-shadow: inset 0 1px 3px #F7E360; }
.btn--gold::before  { background: radial-gradient(60% 70% at 50% 120%, #F7E360, transparent 70%); }
.btn--light { background: #fff; color: #07070A; }
.btn--light:hover { color: #07070A; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; border: 0; background: transparent; color: var(--text-2); cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .06); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-weight: 500; font-size: 15px; white-space: nowrap; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--cyan-2); }
.link-arrow:hover .icon { transform: translateX(3px); }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--cyan-2); background: rgba(79, 195, 247, .08); box-shadow: inset 0 0 0 1px rgba(79, 195, 247, .25); }
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
:where(.chip, .thumb--art) { --tone: var(--cyan-2); --tone-bg: rgba(255, 255, 255, .04); }
.chip {
	display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
	font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--tone); background: var(--tone-bg);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 28%, transparent);
	transition: background .2s;
}
a.chip:hover { color: var(--tone); background: color-mix(in srgb, var(--tone) 22%, transparent); }
.chip.is-active { background: var(--tone); color: #07070A; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }

/* ---------- Progresso de leitura ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #194057, var(--accent)); box-shadow: 0 0 12px rgba(79, 195, 247, .7); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(4, 4, 6, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
	border-bottom: 1px solid rgba(30, 60, 118, .55);
}
.admin-bar .site-header { top: 32px; }
.site-header__in { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 120px; height: auto; }
.brand__tag { padding: 2px 8px; border-radius: 5px; font-size: 12px; font-weight: 600; color: var(--cyan-2); background: rgba(79, 195, 247, .1); box-shadow: inset 0 0 0 1px rgba(79, 195, 247, .3); }
.nav { flex: 1; }
.nav__list { display: flex; gap: 2px; list-style: none; }
.nav__list a { display: block; padding: 8px 10px; white-space: nowrap; border-radius: 6px; font-size: 15px; color: var(--text-2); }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current-cat > a { color: #fff; background: rgba(255, 255, 255, .05); }
.nav__mobile-extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-toggle { display: none; }
.lang { display: inline-flex; align-items: center; gap: 4px; padding: 0 6px; font-size: 13px; color: var(--muted); }
.lang a { padding: 4px 6px; border-radius: 5px; font-weight: 500; }
.lang a.is-current { color: #fff; background: rgba(255, 255, 255, .08); }

.searchbar { border-top: 1px solid var(--line-soft); background: rgba(4, 4, 6, .9); }
.searchbar__in { display: flex; align-items: center; gap: 12px; height: 64px; color: var(--muted); }
.searchbar input { flex: 1; height: 44px; border: 0; background: transparent; font-size: 18px; color: #fff; outline: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero__bg {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(700px 380px at 82% 30%, rgba(79, 195, 247, .16), transparent 70%),
		radial-gradient(520px 320px at 10% 0%, rgba(47, 107, 255, .18), transparent 70%);
}
.hero__bg::after {
	content: ''; position: absolute; inset: 0;
	background-image: linear-gradient(rgba(184, 220, 253, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(184, 220, 253, .05) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero__text { display: grid; gap: 22px; justify-items: start; }
.hero__title { font-size: clamp(38px, 5.4vw, 64px); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
.hero__title span { background: linear-gradient(90deg, #4FC3F7 0%, #B8DCFD 60%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { max-width: 540px; font-size: 18px; color: var(--text-2); }
.hero__search {
	display: flex; align-items: center; gap: 10px; width: 100%; max-width: 520px; padding: 6px 6px 6px 16px;
	border-radius: 10px; background: rgba(14, 21, 38, .8); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted);
	transition: box-shadow .2s;
}
.hero__search:focus-within { box-shadow: inset 0 0 0 1px var(--cyan), 0 0 0 4px rgba(79, 195, 247, .12); }
.hero__search input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; outline: none; font-size: 16px; color: #fff; }
.hero__search--inline { margin-top: 20px; }

.hero__offer { padding: 28px; box-shadow: var(--shadow); }
.hero__offer-top { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center; margin-bottom: 22px; }
.hero__offer-title { margin: 8px 0 6px; font-size: 22px; line-height: 1.2; }
.hero__offer-sub { font-size: 14px; color: var(--muted); }

/* ---------- Capas de material ---------- */
.mat-cover { position: relative; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--card-2); }
.mat-cover img { width: 100%; height: 100%; object-fit: cover; }
.mat-cover--art {
	display: flex; flex-direction: column; justify-content: space-between; padding: 12% 11%;
	background: linear-gradient(160deg, #13306B 0%, #0B1532 45%, #07070A 100%);
	box-shadow: inset 0 0 0 1px rgba(184, 220, 253, .18), 0 18px 40px -18px rgba(79, 195, 247, .45);
	transform: perspective(800px) rotateY(-6deg); transition: transform .4s var(--ease);
}
.mat-cover--art::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 7%; background: linear-gradient(90deg, rgba(0, 0, 0, .45), transparent); }
.mat-cover__glow { position: absolute; width: 90%; aspect-ratio: 1; right: -35%; top: -25%; border-radius: 50%; background: radial-gradient(circle, rgba(79, 195, 247, .45), transparent 65%); }
.mat-cover__type { position: relative; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.mat-cover__title { position: relative; font-size: 15px; font-weight: 600; line-height: 1.18; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.mat-cover__brand { position: relative; font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mat-cover--sm .mat-cover__title { font-size: 10px; -webkit-line-clamp: 4; }
.mat-cover--sm .mat-cover__type, .mat-cover--sm .mat-cover__brand { font-size: 7px; }
.mat-cover--hero .mat-cover__title { font-size: 12px; -webkit-line-clamp: 4; }
.mat-cover--hero .mat-cover__type, .mat-cover--hero .mat-cover__brand { font-size: 8px; }
.mat-cover--big { max-width: 260px; margin: 0 auto -48px; position: relative; z-index: 2; }
.mat-cover--big .mat-cover__title { font-size: 22px; }

/* ---------- Seções ---------- */
.section { padding: 56px 0; }
.section--tight { padding: 32px 0 64px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section__head h2 { font-size: clamp(24px, 3vw, 32px); }
.section__head .kicker { margin-bottom: 8px; }
.section__sub { margin-top: 8px; color: var(--muted); max-width: 520px; }
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid__wide { grid-column: 1 / -1; }
.empty { padding: 48px 0; color: var(--muted); text-align: center; }

.rail-title { display: flex; align-items: center; gap: 12px; }
.rail-title__bar { width: 4px; height: 26px; border-radius: 4px; background: var(--tone); box-shadow: 0 0 14px var(--tone); }

.section--library { position: relative; }
.section--library::before {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, transparent, rgba(25, 64, 87, .22) 40%, rgba(47, 107, 255, .06) 70%, transparent);
}

/* ---------- Cards de artigo ---------- */
.card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card__media { display: block; border-radius: var(--radius); overflow: hidden; }
.thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: inherit; background: var(--card); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .thumb img, .card:hover .thumb__mark { transform: scale(1.04); }
.thumb--art {
	display: grid; place-items: center;
	background: radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--tone) 32%, transparent), transparent 60%), linear-gradient(160deg, #0E1A3D, #07070A);
	box-shadow: inset 0 0 0 1px rgba(184, 220, 253, .1);
	color: var(--tone);
}
.thumb__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(184, 220, 253, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(184, 220, 253, .06) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.thumb__mark { position: relative; filter: drop-shadow(0 0 18px var(--tone)); transition: transform .5s var(--ease); }
.thumb__label { position: absolute; left: 16px; bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--tone) 80%, #fff); }
.card__body { display: grid; gap: 10px; justify-items: start; }
.card__title { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.card__title a:hover { color: var(--cyan-2); }
.card__excerpt { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.card--feature .card__title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
.card--feature .card__excerpt { -webkit-line-clamp: 3; font-size: 16px; }
.card--row { flex-direction: row; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.card--row:last-child { border-bottom: 0; padding-bottom: 0; }
.card--row .card__media { flex: 0 0 168px; border-radius: 10px; }
.card--row .card__title { font-size: 17px; }
.card--row .card__body { gap: 8px; }

.latest { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; }
.latest__list { display: flex; flex-direction: column; gap: 20px; }

/* ---------- Cards de material ---------- */
.mcard { display: flex; flex-direction: column; border-radius: var(--radius); background: linear-gradient(180deg, #0C1430, #08080D); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .25s, transform .25s var(--ease); }
.mcard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(79, 195, 247, .5), 0 20px 50px -24px rgba(79, 195, 247, .5); }
.mcard:hover .mat-cover--art { transform: perspective(800px) rotateY(0); }
.mcard__media { display: block; padding: 28px 44px 8px; background: radial-gradient(80% 70% at 50% 100%, rgba(79, 195, 247, .14), transparent 70%); }
.mcard__body { display: grid; gap: 10px; padding: 20px 22px 24px; flex: 1; align-content: start; }
.mcard__type { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--cyan); font-weight: 500; }
.mcard__title { font-size: 18px; line-height: 1.3; }
.mcard__excerpt { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mcard .link-arrow { margin-top: 6px; }

/* ---------- Formulário de captação ---------- */
.leadform__native { display: grid; grid-template-columns: 1fr; gap: 10px; }
.leadform input[type=text], .leadform input[type=email],
.leadform__cf7 input[type=text], .leadform__cf7 input[type=email], .leadform__cf7 input[type=tel], .leadform__cf7 select, .leadform__cf7 textarea {
	width: 100%; height: 48px; padding: 0 14px; border-radius: 8px; border: 0; background: #0E1526; color: #fff;
	box-shadow: inset 0 0 0 1px var(--line); outline: none; transition: box-shadow .2s;
}
.leadform input:focus, .leadform__cf7 input:focus, .leadform__cf7 select:focus { box-shadow: inset 0 0 0 1px var(--cyan), 0 0 0 4px rgba(79, 195, 247, .12); }
.leadform input::placeholder { color: #6B7A96; }
.leadform .btn { height: 48px; }
.leadform__consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.leadform__consent input { margin: 2px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.leadform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.leadform__msg { min-height: 0; font-size: 13px; color: #FF9A9A; }
.leadform__msg:empty { display: none; }
.leadform__msg:not(:empty) { margin-top: 10px; }
.leadform__done { display: grid; gap: 12px; justify-items: start; padding: 4px 0; color: var(--cyan-2); font-weight: 500; }
.leadform__done[hidden] { display: none; }
.leadform.is-done form, .leadform.is-done .leadform__cf7 { display: none; }
.leadform--newsletter .leadform__native { grid-template-columns: 1fr auto; }
.leadform--newsletter .leadform__consent { grid-column: 1 / -1; }
/* Contact Form 7 */
.leadform__cf7 .wpcf7-form { display: grid; gap: 10px; }
.leadform__cf7 p { margin: 0; }
.leadform__cf7 br { display: none; }
.leadform__cf7 .wpcf7-submit { width: 100%; height: 48px; border: 0; border-radius: 6px; cursor: pointer; font-weight: 500; color: #fff; background: #194057; box-shadow: inset 0 1px 3px #60D8F7; }
.leadform__cf7 .wpcf7-submit:hover { filter: brightness(1.15); }
.leadform__cf7 .wpcf7-list-item { margin: 0; font-size: 12px; color: var(--muted); }
.leadform__cf7 .wpcf7-not-valid-tip { font-size: 12px; color: #FF9A9A; }
.leadform__cf7 .wpcf7-response-output { margin: 8px 0 0 !important; padding: 8px 12px !important; border-radius: 6px; font-size: 13px; }
.leadform__cf7 .wpcf7-spinner { position: absolute; }
.fineprint { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* ---------- Mais lidos / produto ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.split .product-band { padding: 0; height: 100%; }
.split .product-band__in { height: 100%; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.ranking { padding: 28px; }
.ranking__title { font-size: 20px; margin-bottom: 14px; }
.ranking ol { list-style: none; counter-reset: r; display: grid; }
.ranking li { counter-increment: r; display: grid; grid-template-columns: 36px 1fr; column-gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.ranking li:last-child { border-bottom: 0; }
.ranking li::before { content: counter(r, decimal-leading-zero); grid-row: span 2; font-size: 22px; font-weight: 700; line-height: 1.1; color: transparent; -webkit-text-stroke: 1px var(--cyan); }
.ranking a { font-weight: 500; font-size: 15px; line-height: 1.35; }
.ranking span { font-size: 12px; color: var(--muted); }

.product-band { padding: 24px 0 56px; }
.product-band__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px; overflow: hidden; }
.product-band__in::after { content: ''; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 107, 255, .3), transparent 65%); z-index: -1; }
.product-band h2 { margin: 10px 0 10px; font-size: clamp(24px, 2.6vw, 32px); max-width: 560px; }
.product-band p:not(.kicker) { color: var(--text-2); max-width: 520px; }
.product-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Newsletter ---------- */
.newsletter { padding: 24px 0 80px; }
.newsletter__box { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 44px; overflow: hidden; }
.newsletter__box::after { content: ''; position: absolute; left: -100px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 198, 255, .14), transparent 65%); z-index: -1; }
.newsletter h2 { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 10px; }
.newsletter p { color: var(--text-2); }

/* ---------- Cabeçalho de listagens ---------- */
.page-head { position: relative; padding: 56px 0 28px; overflow: hidden; }
.page-head .wrap { display: grid; gap: 16px; justify-items: start; }
.page-head__title { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.03em; }
.page-head.tone-cyan .page-head__title, .page-head[class*=tone-] .page-head__title { background: linear-gradient(90deg, #fff 30%, var(--tone, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-head__desc { color: var(--text-2); max-width: 640px; font-size: 17px; }
.page-head--library, .page-head--404 { padding-bottom: 40px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--cyan-2); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 48px; }
.pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 14px; display: grid; place-items: center; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); }
.pagination .current { background: var(--cyan); color: #07070A; box-shadow: none; font-weight: 600; }
.pagination a:hover { box-shadow: inset 0 0 0 1px var(--cyan); }

/* ---------- Artigo ---------- */
.article__head { padding: 48px 0 32px; }
.article__head .wrap { display: grid; gap: 18px; }
.article__head .wrap > * { max-width: 860px; }
.article__title { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.03em; line-height: 1.08; }
.article__lead { font-size: 20px; line-height: 1.5; color: var(--text-2); }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.byline__avatar, .author-box img { border-radius: 50%; box-shadow: 0 0 0 2px var(--line); }
.byline__name { font-weight: 500; font-size: 15px; }
.article__cover { margin: 0 auto 48px; }
.article__cover img { width: 100%; border-radius: 16px; aspect-ratio: 2 / 1; object-fit: cover; box-shadow: 0 0 0 1px var(--line-soft); }
.article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.article__main { min-width: 0; max-width: 760px; }
.article__aside { align-self: stretch; }
.article__aside .sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }

.toc { padding: 20px 0 4px 20px; border-left: 1px solid var(--line); }
.toc__title { margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toc__list { list-style: none; display: grid; gap: 2px; max-height: 52vh; overflow: auto; }
.toc__item a { position: relative; display: block; padding: 6px 0; font-size: 14px; line-height: 1.4; color: var(--muted); transition: color .2s; }
.toc__item a::before { content: ''; position: absolute; left: -21px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--cyan); transform: scaleY(0); transition: transform .25s var(--ease); }
.toc__item a:hover { color: #fff; }
.toc__item a.is-active { color: #fff; }
.toc__item a.is-active::before { transform: scaleY(1); }
.toc__item--h3 a { padding-left: 14px; font-size: 13px; }

/* Resposta rápida */
.answer { max-width: 860px; margin: 0 0 40px; padding: 20px 24px; border-radius: var(--radius); background: linear-gradient(110deg, rgba(25, 64, 87, .5), rgba(12, 21, 52, .6)); box-shadow: inset 3px 0 0 var(--accent), inset 0 0 0 1px rgba(96, 216, 247, .18); }
.answer__label { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.answer__text { font-size: 18px; line-height: 1.6; color: #fff; }
.author-box__role { margin: -2px 0 6px; font-size: 14px; color: var(--cyan); }
.byline__name a:hover, .author-box__name a:hover { color: var(--cyan-2); }

/* Página de autor */
.author-head { display: flex; gap: 24px; align-items: center; }
.author-head img { border-radius: 50%; box-shadow: 0 0 0 3px var(--line), 0 0 40px rgba(79, 195, 247, .25); flex-shrink: 0; }
.author-head .social { margin-top: 12px; }
@media (max-width: 640px) { .author-head { flex-direction: column; align-items: flex-start; } }

/* Texto do artigo */
.prose { font-size: 18px; line-height: 1.75; color: #DCE4F2; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.1em; font-size: 30px; color: #fff; }
.prose h3 { margin-top: 1.7em; font-size: 23px; color: #fff; }
.prose h4 { margin-top: 1.5em; font-size: 19px; color: #fff; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(79, 195, 247, .4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--cyan); }
.prose strong { color: #fff; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--cyan); }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--cyan); font-size: 21px; line-height: 1.55; color: #fff; }
.prose img, .prose figure { border-radius: 12px; }
.prose figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.prose code { padding: 2px 6px; border-radius: 5px; background: #0E1526; font-size: .88em; }
.prose pre { padding: 18px; border-radius: 10px; background: #0E1526; overflow: auto; font-size: 14px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: #fff; font-weight: 600; background: rgba(79, 195, 247, .06); }
.prose .wp-block-table { margin-inline: 0; }
/* Caixa de destaque: o autor aplica a classe "dica" / "atencao" num bloco de grupo/parágrafo */
.prose .dica, .prose .atencao, .prose .is-style-dica {
	padding: 18px 20px; border-radius: 10px; font-size: 16px;
	background: rgba(79, 195, 247, .07); box-shadow: inset 3px 0 0 var(--cyan);
}
.prose .atencao { background: rgba(247, 227, 96, .07); box-shadow: inset 3px 0 0 var(--gold); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.tags a { font-size: 14px; color: var(--muted); padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, .04); }
.tags a:hover { color: var(--cyan-2); }

.article__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding: 20px 0; border-block: 1px solid var(--line-soft); }
.helpful { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 500; }
.pill-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); font-size: 14px; cursor: pointer; transition: all .2s; }
.pill-btn:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--cyan); }
.pill-btn.is-on { background: rgba(0, 198, 255, .12); color: var(--cyan-2); box-shadow: inset 0 0 0 1px rgba(0, 198, 255, .45); }
.helpful.is-done .pill-btn:not(.is-on) { opacity: .4; pointer-events: none; }
.share { display: flex; align-items: center; gap: 6px; }
.share__label { margin-right: 4px; font-size: 14px; color: var(--muted); }
.share__btn { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .04); color: var(--text-2); cursor: pointer; transition: all .2s; }
.share__btn:hover { background: rgba(79, 195, 247, .12); color: var(--cyan-2); }

.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 32px; padding: 24px; border-radius: var(--radius); background: rgba(14, 21, 38, .6); box-shadow: inset 0 0 0 1px var(--line-soft); }
.author-box img { flex-shrink: 0; }
.author-box__name { margin: 4px 0 6px; font-weight: 600; font-size: 18px; }
.author-box p:last-child { color: var(--muted); font-size: 15px; }

/* CTAs de material dentro do artigo */
.mat-cta { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; border-radius: var(--radius); isolation: isolate; overflow: hidden; }
.mat-cta--inline, .mat-cta--end {
	padding: 22px 26px 22px 22px; margin-block: 2em !important;
	background: linear-gradient(110deg, rgba(25, 64, 87, .55), rgba(12, 21, 52, .9) 45%, #08080D);
	box-shadow: inset 0 0 0 1px rgba(96, 216, 247, .28);
}
.mat-cta--inline::after, .mat-cta--end::after { content: ''; position: absolute; left: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 198, 255, .18), transparent 65%); z-index: -1; }
.mat-cta .kicker { color: var(--accent); }
.mat-cta__body { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.mat-cta__title { font-size: 20px; font-weight: 600; line-height: 1.25; color: #fff; letter-spacing: -.01em; }
.mat-cta__sub { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.prose .mat-cta a { text-decoration: none; color: #fff; }
.mat-cta--end { grid-template-columns: 150px 1fr; gap: 28px; padding: 28px; margin-top: 40px !important; }
.mat-cta--end .mat-cta__title { font-size: 24px; }
.mat-cta--end .leadform { width: 100%; margin-top: 6px; }
.mat-cta--end .mat-cover--sm .mat-cover__title { font-size: 13px; }
.mat-cta--aside { grid-template-columns: 64px 1fr; gap: 14px; padding: 16px; background: linear-gradient(180deg, #0C1534, #08080D); box-shadow: inset 0 0 0 1px var(--line); }
.mat-cta--aside .mat-cta__title { font-size: 15px; }
.mat-cta--aside .kicker { font-size: 10px; }
.mat-cta--aside .mat-cover__title { font-size: 6px; }
.mat-cta--aside .mat-cover__type, .mat-cta--aside .mat-cover__brand { display: none; }

/* Comentários */
.comments__title { font-size: 24px; margin-bottom: 20px; }
.comments__list { list-style: none; display: grid; gap: 20px; margin-bottom: 40px; }
.comments__list .children { list-style: none; margin: 16px 0 0 24px; padding-left: 20px; border-left: 1px solid var(--line); }
.comment-body { padding: 18px; border-radius: 10px; background: rgba(14, 21, 38, .6); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.comment-content { color: var(--text-2); }
.reply a { font-size: 13px; color: var(--cyan); }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; color: var(--muted); }
.comment-form input:not([type=checkbox]):not([type=submit]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 0; border-radius: 8px; background: #0E1526; box-shadow: inset 0 0 0 1px var(--line); outline: none; }
.comment-form textarea { min-height: 140px; }
.comment-form-cookies-consent { display: flex; gap: 8px; font-size: 13px; color: var(--muted); }

/* ---------- Página do material ---------- */
.mat-hero { position: relative; padding: 48px 0 80px; overflow: hidden; }
.mat-hero__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.mat-hero__text { display: grid; gap: 20px; justify-items: start; }
.mat-hero__title { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.03em; line-height: 1.05; }
.mat-hero__sub { font-size: 19px; color: var(--text-2); max-width: 560px; }
.checklist { list-style: none; display: grid; gap: 12px; margin-top: 6px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--text-2); }
.checklist .icon { flex-shrink: 0; margin-top: 2px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 198, 255, .14); color: var(--accent); }
.mat-hero__side { position: relative; }
.mat-hero__form { padding: 76px 28px 28px; box-shadow: var(--shadow); }
.mat-hero__form-title { text-align: center; font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.mat-hero__form .fineprint { text-align: center; }

/* ---------- Rodapé ---------- */
.site-footer { margin-top: 24px; border-top: 1px solid var(--line-soft); background: #050507; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 40px; padding-block: 56px 40px; }
.site-footer__brand p { margin: 16px 0 18px; color: var(--muted); font-size: 15px; max-width: 320px; }
.site-footer__title { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer li a { color: var(--muted); font-size: 15px; }
.site-footer li a:hover { color: #fff; }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: rgba(255, 255, 255, .04); color: var(--text-2); }
.social a:hover { background: rgba(79, 195, 247, .12); color: var(--cyan-2); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 28px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; padding: 10px 18px; border-radius: 8px; background: #fff; color: #07070A; font-weight: 500; font-size: 14px; transform: translate(-50%, 20px); opacity: 0; transition: all .3s var(--ease); pointer-events: none; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article__layout { grid-template-columns: minmax(0, 1fr); }
	.article__aside { display: none; }
	.article__main { margin-inline: auto; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1180px) {
	:root { --header-h: 64px; }
	.nav-toggle { display: inline-grid; }
	.hide-mobile { display: none !important; }
	.nav {
		position: fixed; inset: var(--header-h) 0 0; z-index: 99; padding: 24px var(--gutter);
		background: rgba(5, 5, 8, .97); backdrop-filter: blur(16px);
		transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
		display: flex; flex-direction: column; gap: 24px; overflow-y: auto;
	}
	.nav.is-open { transform: none; visibility: visible; }
	.nav__list { flex-direction: column; }
	.nav__list a { padding: 14px 4px; font-size: 20px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
	.nav__mobile-extra { display: grid; gap: 16px; margin-top: auto; }
	.nav__mobile-extra .lang { justify-content: flex-start; padding: 0; font-size: 15px; }
	body.nav-open { overflow: hidden; }

}

@media (max-width: 960px) {
	:root { --header-h: 64px; }
	.hero { padding: 40px 0 56px; }
	.hero__in, .mat-hero__in { grid-template-columns: 1fr; gap: 40px; }
	.latest { grid-template-columns: 1fr; gap: 28px; }
	.split { grid-template-columns: 1fr; }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.newsletter__box { grid-template-columns: 1fr; padding: 32px; gap: 24px; }
	.product-band__in { flex-direction: column; align-items: flex-start; padding: 32px; }
	.mat-hero__side { max-width: 460px; width: 100%; margin-inline: auto; }
}

@media (max-width: 640px) {
	:root { --gutter: 16px; }
	body { font-size: 15px; }
	.section { padding: 40px 0; }
	.section__head { flex-direction: column; align-items: flex-start; gap: 12px; }
	.grid--3, .grid--4 { grid-template-columns: 1fr; }
	.hero__sub { font-size: 16px; }
	.hero__offer { padding: 22px; }
	.hero__offer-top { grid-template-columns: 84px 1fr; gap: 16px; }
	.hero__offer-title { font-size: 18px; }
	.card--row .card__media { flex-basis: 112px; }
	.card--row .card__title { font-size: 15px; }
	.card--row .meta { font-size: 12px; }
	.prose { font-size: 17px; }
	.prose h2 { font-size: 25px; }
	.prose h3 { font-size: 20px; }
	.article__lead { font-size: 18px; }
	.mat-cta, .mat-cta--end { grid-template-columns: 1fr; padding: 22px; }
	.mat-cta__cover { max-width: 96px; }
	.mat-cta--end .mat-cta__cover { max-width: 120px; }
	.leadform--newsletter .leadform__native { grid-template-columns: 1fr; }
	.article__actions { flex-direction: column; align-items: flex-start; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.brand img { width: 104px; }
	.product-band__actions { width: 100%; }
	.product-band__actions .btn { flex: 1; }
	.mcard__media { padding: 24px 72px 8px; }
}
