/*
Theme Name: Boa de Contar
Author: Arthur & equipe
Description: Tema do Boa de Contar — jornalismo cultural independente. Inclui paletas, destaques, vídeos, autores, anúncios, colaborações e pagamento por Pix (Mercado Pago), cartão e Google Pay (Stripe).
Version: 1.10.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pulso-brasil
Tags: news, blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, dark, two-columns
*/

:root {
  --pb-bg: #070a10;
  --pb-surface: #0e131d;
  --pb-surface-2: #151c28;
  --pb-surface-3: #1b2432;
  --pb-text: #f4f7fb;
  --pb-muted: #9ca8ba;
  --pb-line: rgba(255, 255, 255, 0.10);
  --pb-accent: #ff3d54;
  --pb-accent-dark: #c91f38;
  --pb-blue: #3c9cff;
  --pb-green: #31d697;
  --pb-on-accent: #ffffff;
  --pb-glow: rgba(60, 156, 255, 0.08);
  --pb-header-bg: rgba(7, 10, 16, 0.94);
  --pb-navbar-bg: rgba(10, 14, 21, 0.96);
  --pb-breaking-bg: #0b1018;
  --pb-footer-bg: #05070b;
  --pb-nav-bg: #090d14;
  --pb-nav-text: #dfe5ed;
  --pb-soft-text: #dce2ea;
  --pb-deck-text: #bbc5d3;
  --pb-ad-bg: rgba(255, 255, 255, 0.025);
  --pb-ad-line: rgba(255, 255, 255, 0.18);
  --pb-hover-line: rgba(255, 255, 255, 0.20);
  --pb-code-bg: #020407;
  --pb-video-bg: linear-gradient(145deg, #0d1421, #101019);
  --pb-placeholder-bg: linear-gradient(135deg, #152033, #2b1830 50%, #101923);
  --pb-max: 1240px;
  --pb-radius: 14px;
  --pb-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

html[data-pb-theme="dark"] { color-scheme: dark; }

html[data-pb-theme="light"] {
  color-scheme: light;
  --pb-bg: #ffffff;
  --pb-surface: #f7f8fa;
  --pb-surface-2: #edf0f4;
  --pb-surface-3: #e1e6ec;
  --pb-text: #12161c;
  --pb-muted: #606a78;
  --pb-line: rgba(15, 23, 34, 0.13);
  --pb-accent: #d92d47;
  --pb-accent-dark: #a91c33;
  --pb-blue: #1268c4;
  --pb-green: #16845b;
  --pb-on-accent: #ffffff;
  --pb-glow: rgba(34, 106, 178, 0.07);
  --pb-header-bg: rgba(255, 255, 255, 0.96);
  --pb-navbar-bg: rgba(247, 248, 250, 0.97);
  --pb-breaking-bg: #f2f4f7;
  --pb-footer-bg: #eef1f5;
  --pb-nav-bg: #ffffff;
  --pb-nav-text: #303844;
  --pb-soft-text: #303844;
  --pb-deck-text: #505b69;
  --pb-ad-bg: rgba(16, 28, 42, 0.025);
  --pb-ad-line: rgba(16, 28, 42, 0.20);
  --pb-hover-line: rgba(16, 28, 42, 0.25);
  --pb-code-bg: #edf0f4;
  --pb-video-bg: linear-gradient(145deg, #f5f7fa, #eef1f5);
  --pb-placeholder-bg: linear-gradient(135deg, #dce5f0, #eadde5 50%, #e7ebef);
  --pb-shadow: 0 18px 50px rgba(28, 38, 50, 0.12);
}

html[data-pb-theme="library"] {
  color-scheme: light;
  --pb-bg: #f4efe7;
  --pb-surface: #fffaf2;
  --pb-surface-2: #eadfce;
  --pb-surface-3: #dcc9b2;
  --pb-text: #3b2a20;
  --pb-muted: #77614d;
  --pb-line: rgba(91, 60, 38, 0.20);
  --pb-accent: #875a38;
  --pb-accent-dark: #60402a;
  --pb-blue: #69472f;
  --pb-green: #55744a;
  --pb-on-accent: #ffffff;
  --pb-glow: rgba(135, 90, 56, 0.09);
  --pb-header-bg: rgba(255, 250, 242, 0.96);
  --pb-navbar-bg: rgba(238, 227, 212, 0.97);
  --pb-breaking-bg: #efe4d6;
  --pb-footer-bg: #e6d6c2;
  --pb-nav-bg: #fffaf2;
  --pb-nav-text: #4a3325;
  --pb-soft-text: #513b2d;
  --pb-deck-text: #6e5744;
  --pb-ad-bg: rgba(91, 60, 38, 0.035);
  --pb-ad-line: rgba(91, 60, 38, 0.24);
  --pb-hover-line: rgba(91, 60, 38, 0.34);
  --pb-code-bg: #eadfce;
  --pb-video-bg: linear-gradient(145deg, #fffaf2, #eadfce);
  --pb-placeholder-bg: linear-gradient(135deg, #b99372, #7c5439 52%, #e2d1bd);
  --pb-shadow: 0 18px 45px rgba(67, 43, 27, 0.14);
}

html[data-pb-theme="custom"] {
  --pb-accent: var(--pb-user-color, #7c3aed);
  --pb-accent-dark: color-mix(in srgb, var(--pb-user-color, #7c3aed) 70%, #000000);
  --pb-bg: var(--pb-custom-bg, #0b0812);
  --pb-surface: var(--pb-custom-surface, #171123);
  --pb-surface-2: color-mix(in srgb, var(--pb-custom-surface, #171123) 90%, var(--pb-custom-text, #f8f7fb));
  --pb-surface-3: color-mix(in srgb, var(--pb-custom-surface, #171123) 82%, var(--pb-custom-text, #f8f7fb));
  --pb-text: var(--pb-custom-text, #f8f7fb);
  --pb-muted: color-mix(in srgb, var(--pb-custom-text, #f8f7fb) 67%, var(--pb-custom-bg, #0b0812));
  --pb-line: var(--pb-custom-border, #6d28d9);
  --pb-blue: var(--pb-user-color, #8b5cf6);
  --pb-glow: color-mix(in srgb, var(--pb-user-color, #7c3aed) 18%, transparent);
  --pb-header-bg: color-mix(in srgb, var(--pb-custom-surface, #171123) 94%, transparent);
  --pb-navbar-bg: var(--pb-custom-surface, #171123);
  --pb-breaking-bg: var(--pb-surface-2);
  --pb-footer-bg: var(--pb-custom-surface, #171123);
  --pb-nav-bg: var(--pb-custom-surface, #171123);
  --pb-nav-text: var(--pb-custom-text, #f8f7fb);
  --pb-soft-text: color-mix(in srgb, var(--pb-custom-text, #f8f7fb) 88%, var(--pb-custom-bg, #0b0812));
  --pb-deck-text: color-mix(in srgb, var(--pb-custom-text, #f8f7fb) 74%, var(--pb-custom-bg, #0b0812));
  --pb-ad-bg: var(--pb-surface-2);
  --pb-ad-line: var(--pb-custom-border, #6d28d9);
  --pb-hover-line: var(--pb-user-color, #8b5cf6);
  --pb-code-bg: var(--pb-surface-2);
  --pb-video-bg: linear-gradient(145deg, var(--pb-surface), var(--pb-bg));
  --pb-placeholder-bg: linear-gradient(135deg, var(--pb-surface-3), color-mix(in srgb, var(--pb-user-color, #7c3aed) 30%, var(--pb-surface)) 50%, var(--pb-bg));
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--pb-text);
  background:
    radial-gradient(circle at 85% -10%, var(--pb-glow), transparent 28rem),
    var(--pb-bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--pb-accent); }

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

button, input[type="submit"] { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--pb-blue);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute;
  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 {
  clip: auto !important;
  width: auto;
  height: auto;
  top: 8px;
  left: 8px;
  z-index: 99999;
  padding: 10px 14px;
  color: #111;
  background: #fff;
}

.pb-container { width: min(calc(100% - 32px), var(--pb-max)); margin-inline: auto; }
.pb-section { padding-block: 42px; }
.pb-section--tight { padding-block: 24px; }

.pb-site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--pb-line);
  background: var(--pb-header-bg);
}

.pb-topbar { border-bottom: 1px solid var(--pb-line); color: var(--pb-muted); font-size: 0.82rem; }
.pb-topbar__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pb-topbar__status { display: flex; align-items: center; gap: 8px; }
.pb-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pb-green); box-shadow: 0 0 0 4px rgba(49,214,151,.12); }
.pb-socials { display: flex; align-items: center; gap: 14px; }
.pb-socials a { color: var(--pb-muted); font-weight: 700; }
.pb-socials a:hover { color: var(--pb-text); }

.pb-brand-row { min-height: 112px; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(280px, 560px); gap: 32px; align-items: center; }
.pb-brand { display: inline-flex; flex-direction: column; align-items: flex-start; width: fit-content; }
.pb-brand__name { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 950; letter-spacing: -0.065em; line-height: 0.95; text-transform: uppercase; }
.pb-brand__name span { color: var(--pb-accent); }
.pb-brand__tagline { margin-top: 9px; color: var(--pb-muted); font-size: 0.73rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.custom-logo-link img { width: auto; max-height: 68px; }

.pb-ad {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px dashed var(--pb-ad-line);
  border-radius: 10px;
  color: var(--pb-muted);
  background: var(--pb-ad-bg);
  text-align: center;
  overflow: hidden;
}
.pb-ad img { max-height: 110px; width: 100%; object-fit: cover; border-radius: 7px; }
.pb-ad small { display: block; margin-bottom: 3px; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; opacity: .65; }
.pb-ad--wide { min-height: 106px; }
.pb-ad--article { margin-block: 32px; }

.pb-navbar { position: sticky; top: 0; z-index: 40; border-block: 1px solid var(--pb-line); background: var(--pb-navbar-bg); backdrop-filter: blur(14px); }
.admin-bar .pb-navbar { top: 32px; }
.pb-navbar__inner { min-height: 54px; display: flex; align-items: stretch; }
.pb-menu-toggle, .pb-search-toggle, .pb-theme-toggle {
  width: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--pb-text);
  background: transparent;
}
.pb-menu-toggle { display: none; }
.pb-menu-toggle:hover, .pb-search-toggle:hover, .pb-theme-toggle:hover, .pb-theme-toggle[aria-expanded="true"] { background: var(--pb-surface-2); color: var(--pb-accent); }
.pb-nav { flex: 1; min-width: 0; }
.pb-nav ul { height: 100%; display: flex; align-items: stretch; gap: 2px; margin: 0; padding: 0; list-style: none; }
.pb-nav li { display: flex; }
.pb-nav a { display: flex; align-items: center; padding: 0 15px; color: var(--pb-nav-text); font-size: .88rem; font-weight: 850; letter-spacing: .02em; }
.pb-nav a:hover, .pb-nav .current-menu-item > a { color: var(--pb-text); background: var(--pb-surface-2); }

.pb-theme-panel { display: none; padding: 14px 0; border-top: 1px solid var(--pb-line); background: var(--pb-navbar-bg); box-shadow: 0 18px 35px rgba(0,0,0,.18); }
.pb-theme-panel.is-open { display: block; }
.pb-theme-panel__inner { display: flex; align-items: center; gap: 14px; }
.pb-theme-panel__title { flex: 0 0 auto; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.pb-theme-options { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pb-theme-option, .pb-color-picker, .pb-color-reset { min-height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; border: 1px solid var(--pb-line); border-radius: 9px; color: var(--pb-text); background: var(--pb-surface); font-size: .82rem; font-weight: 800; }
.pb-theme-option:hover, .pb-theme-option[aria-pressed="true"] { border-color: var(--pb-accent); box-shadow: inset 0 0 0 1px var(--pb-accent); }
.pb-theme-swatch { width: 22px; height: 22px; flex: 0 0 22px; border: 2px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.16); }
.pb-theme-swatch--dark { background: linear-gradient(135deg, #070a10 50%, #ff3d54 50%); }
.pb-theme-swatch--light { background: linear-gradient(135deg, #ffffff 50%, #d92d47 50%); }
.pb-theme-swatch--library { background: linear-gradient(135deg, #fffaf2 50%, #875a38 50%); }
.pb-theme-swatch--custom { background: linear-gradient(135deg, var(--pb-user-color, #7c3aed) 50%, color-mix(in srgb, var(--pb-user-color, #7c3aed) 35%, #111) 50%); }
.pb-customizer-fields { display: none; flex: 1; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding-left: 14px; border-left: 1px solid var(--pb-line); }
html[data-pb-theme="custom"] .pb-customizer-fields { display: flex; }
.pb-color-picker { cursor: pointer; }
.pb-color-picker input { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 7px; background: transparent; cursor: pointer; }
.pb-color-picker input::-webkit-color-swatch-wrapper { padding: 0; }
.pb-color-picker input::-webkit-color-swatch { border: 2px solid var(--pb-line); border-radius: 7px; }
.pb-color-picker input::-moz-color-swatch { border: 2px solid var(--pb-line); border-radius: 7px; }
.pb-color-reset { cursor: pointer; }
.pb-color-reset:hover { border-color: var(--pb-accent); color: var(--pb-accent); }

.pb-search-panel { display: none; padding: 18px 0; border-top: 1px solid var(--pb-line); }
.pb-search-panel.is-open { display: block; }
.pb-search-form { display: flex; gap: 10px; }
.pb-search-form label { flex: 1; }
.pb-search-form input[type="search"] { width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--pb-line); border-radius: 9px; color: var(--pb-text); background: var(--pb-surface-2); }
.pb-search-form button { min-width: 110px; border: 0; border-radius: 9px; color: var(--pb-on-accent); background: var(--pb-accent); font-weight: 850; }

.pb-breaking { border-bottom: 1px solid var(--pb-line); background: var(--pb-breaking-bg); }
.pb-breaking__inner { min-height: 45px; display: flex; align-items: center; gap: 18px; overflow: hidden; }
.pb-breaking__label { align-self: stretch; display: flex; align-items: center; padding-inline: 16px; color: var(--pb-on-accent); background: var(--pb-accent); font-size: .74rem; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; transform: skew(-7deg); }
.pb-breaking__label span { transform: skew(7deg); white-space: nowrap; }
.pb-breaking__items { display: flex; gap: 34px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.pb-breaking__items::-webkit-scrollbar { display: none; }
.pb-breaking__item { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; font-size: .88rem; font-weight: 750; white-space: nowrap; }
.pb-breaking__time { color: var(--pb-accent); font-size: .75rem; }

.pb-kicker { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; color: var(--pb-accent); font-size: .74rem; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.pb-kicker::before { content: ""; width: 18px; height: 3px; border-radius: 4px; background: currentColor; }
.pb-section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--pb-line); }
.pb-section-title h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -.035em; }
.pb-section-title a { color: var(--pb-muted); font-size: .82rem; font-weight: 850; }

.pb-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .8fr); gap: 18px; }
.pb-hero__side { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pb-story { position: relative; min-height: 250px; overflow: hidden; border-radius: var(--pb-radius); color: #ffffff; background: var(--pb-surface-2); box-shadow: var(--pb-shadow); }
.pb-story--lead { min-height: 520px; }
.pb-story__media, .pb-story__media img, .pb-card__media, .pb-card__media img { width: 100%; height: 100%; }
.pb-story__media { position: absolute; inset: 0; }
.pb-story__media img, .pb-card__media img { object-fit: cover; transition: transform .5s ease; }
.pb-story:hover .pb-story__media img, .pb-card:hover .pb-card__media img { transform: scale(1.035); }
.pb-story__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 18%, rgba(3,5,9,.15) 42%, rgba(3,5,9,.94) 100%); }
.pb-story__content { position: absolute; z-index: 2; inset: auto 0 0; padding: 24px; }
.pb-story--lead .pb-story__content { padding: clamp(24px, 4vw, 42px); }
.pb-story h2, .pb-story h3 { margin: 0 0 10px; font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.pb-story h2 { font-size: clamp(2rem, 4.2vw, 4.25rem); }
.pb-story h3 { font-size: clamp(1.08rem, 1.8vw, 1.5rem); }
.pb-story__excerpt { max-width: 700px; margin: 0 0 14px; color: #d4dbe5; font-size: 1rem; }
.pb-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; color: var(--pb-muted); font-size: .78rem; }
.pb-meta a { color: inherit; font-weight: 750; }
.pb-story .pb-meta { color: #c7d0dc; }
.pb-story .pb-meta a { color: #e8edf4; }
.pb-meta__dot::before { content: "•"; margin-right: 14px; color: rgba(255,255,255,.3); }
.pb-badge { display: inline-flex; align-items: center; min-height: 25px; padding: 3px 9px; border-radius: 99px; color: var(--pb-on-accent); background: var(--pb-accent); font-size: .68rem; font-weight: 950; letter-spacing: .075em; text-transform: uppercase; }

.pb-placeholder { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 190px; overflow: hidden; color: rgba(255,255,255,.22); background: var(--pb-placeholder-bg); font-family: Georgia, serif; font-size: 5rem; font-weight: 900; }
.pb-placeholder::before { content: ""; position: absolute; width: 220px; height: 220px; border: 42px solid rgba(255,255,255,.035); border-radius: 50%; }

.pb-main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 42px; }
.pb-feed { display: grid; gap: 0; }
.pb-list-card { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 22px; padding-block: 22px; border-bottom: 1px solid var(--pb-line); }
.pb-list-card:first-child { padding-top: 0; }
.pb-list-card__media { width: 100%; min-height: 0; aspect-ratio: 3 / 2; align-self: start; overflow: hidden; border-radius: 11px; background: var(--pb-surface-2); }
.pb-list-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pb-list-card h3 { margin: 6px 0 8px; font-family: Georgia, serif; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.15; letter-spacing: -.025em; }
.pb-list-card p { margin: 0 0 10px; color: var(--pb-muted); line-height: 1.5; }

.pb-sidebar { min-width: 0; }
.pb-sidebar__sticky { position: sticky; top: 80px; display: grid; gap: 28px; }
.pb-widget { padding: 22px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: var(--pb-surface); }
.pb-widget__title, .widget-title { margin: 0 0 16px; color: var(--pb-text); font-size: .78rem; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.pb-ranking { counter-reset: ranking; display: grid; gap: 0; }
.pb-ranking__item { counter-increment: ranking; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--pb-line); }
.pb-ranking__item:last-child { border-bottom: 0; padding-bottom: 0; }
.pb-ranking__item::before { content: counter(ranking, decimal-leading-zero); color: var(--pb-accent); font-size: 1.1rem; font-weight: 950; }
.pb-ranking__item a { font-family: Georgia, serif; font-size: 1.02rem; font-weight: 750; line-height: 1.28; }

.pb-topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pb-card { overflow: hidden; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: var(--pb-surface); transition: transform .2s ease, border-color .2s ease; }
.pb-card:hover { transform: translateY(-3px); border-color: var(--pb-hover-line); }
.pb-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--pb-surface-2); }
.pb-card__body { padding: 18px; }
.pb-card h3 { margin: 7px 0 12px; font-family: Georgia, serif; font-size: 1.28rem; line-height: 1.18; letter-spacing: -.02em; }

.pb-video-zone { background: var(--pb-video-bg); border-block: 1px solid var(--pb-line); }
.pb-video-grid { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 20px; }
.pb-video-card { position: relative; min-height: 250px; overflow: hidden; border-radius: var(--pb-radius); background: var(--pb-surface-2); }
.pb-video-card:first-child { grid-row: span 2; min-height: 520px; }
.pb-video-card__play { position: absolute; z-index: 3; top: 18px; left: 18px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--pb-on-accent); background: var(--pb-accent); box-shadow: 0 8px 20px rgba(0,0,0,.25); }

.pb-authors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pb-author-card { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: var(--pb-surface); }
.pb-author-card img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.pb-author-card strong { display: block; line-height: 1.2; }
.pb-author-card span { color: var(--pb-muted); font-size: .78rem; }

.pb-community-cta-section { padding-top: 8px; }
.pb-community-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(26px, 5vw, 48px); border: 1px solid var(--pb-line); border-radius: calc(var(--pb-radius) + 4px); background: linear-gradient(125deg, var(--pb-surface), var(--pb-surface-2)); box-shadow: var(--pb-shadow); }
.pb-community-cta h2 { max-width: 720px; margin: 0 0 10px; font-family: Georgia, serif; font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1.05; letter-spacing: -.04em; }
.pb-community-cta p { max-width: 720px; margin: 0; color: var(--pb-muted); }
.pb-community-cta .pb-button { flex: 0 0 auto; }

.pb-submission-header p { max-width: 780px; font-size: 1.08rem; }
.pb-submission-layout { display: grid; grid-template-columns: 330px minmax(0, 760px); justify-content: center; align-items: start; gap: 42px; }
.pb-submission-guide { position: sticky; top: 80px; display: grid; gap: 20px; }
.pb-price-card { padding: 24px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); color: var(--pb-on-accent); background: var(--pb-accent); box-shadow: var(--pb-shadow); }
.pb-price-card > span { display: block; font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.pb-price-card strong { display: block; margin-block: 5px 10px; font-family: Georgia, serif; font-size: 2.6rem; line-height: 1; }
.pb-price-card small { display: block; font-size: .82rem; line-height: 1.45; }
.pb-process-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.pb-process-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--pb-line); }
.pb-process-list li > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--pb-on-accent); background: var(--pb-accent); font-size: .8rem; font-weight: 900; }
.pb-process-list strong { display: block; margin-bottom: 2px; }
.pb-process-list p { margin: 0; color: var(--pb-muted); font-size: .88rem; line-height: 1.45; }
.pb-rules-card { padding: 20px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: var(--pb-surface); }
.pb-rules-card h2 { margin: 0 0 10px; font-size: 1rem; }
.pb-rules-card ul { margin: 0; padding-left: 20px; color: var(--pb-muted); font-size: .86rem; }
.pb-rules-card li + li { margin-top: 8px; }

.pb-submission-form-wrap { min-width: 0; }
.pb-submission-form { display: grid; gap: 24px; }
.pb-submission-form fieldset { display: grid; gap: 17px; margin: 0; padding: clamp(20px, 4vw, 30px); border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: var(--pb-surface); }
.pb-submission-form legend { padding: 0 10px; color: var(--pb-text); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 800; }
.pb-submission-form label { display: grid; gap: 7px; color: var(--pb-text); font-size: .9rem; font-weight: 800; }
.pb-submission-form label > small { color: var(--pb-muted); font-size: .78rem; font-weight: 500; }
.pb-submission-form input[type="text"], .pb-submission-form input[type="email"], .pb-submission-form input[type="tel"], .pb-submission-form textarea, .pb-submission-form select { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--pb-line); border-radius: 9px; color: var(--pb-text); background: var(--pb-bg); }
.pb-submission-form textarea { min-height: 240px; resize: vertical; line-height: 1.55; }
.pb-submission-form input[type="file"] { width: 100%; padding: 12px; border: 1px dashed var(--pb-line); border-radius: 9px; color: var(--pb-muted); background: var(--pb-bg); }
.pb-submission-form input[type="file"]::file-selector-button { min-height: 36px; margin-right: 12px; padding: 6px 12px; border: 0; border-radius: 7px; color: var(--pb-on-accent); background: var(--pb-accent); font-weight: 800; cursor: pointer; }
.pb-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.pb-form-full { grid-column: 1 / -1; }
.pb-payment-box { border-color: var(--pb-accent) !important; background: linear-gradient(145deg, var(--pb-surface), var(--pb-surface-2)) !important; }
.pb-pix-line { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pb-pix-line > div { padding: 14px; border: 1px solid var(--pb-line); border-radius: 9px; background: var(--pb-bg); }
.pb-pix-line span, .pb-pix-key > span { display: block; color: var(--pb-muted); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pb-pix-line strong { display: block; margin-top: 4px; font-size: 1rem; }
.pb-pix-key { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; padding: 14px; border: 1px solid var(--pb-line); border-radius: 9px; background: var(--pb-bg); }
.pb-pix-key > span { grid-column: 1 / -1; }
.pb-pix-key code { min-width: 0; overflow-wrap: anywhere; color: var(--pb-text); font-size: .9rem; }
.pb-copy-button { min-height: 38px; padding: 7px 12px; border: 1px solid var(--pb-line); border-radius: 8px; color: var(--pb-text); background: var(--pb-surface); font-weight: 800; }
.pb-copy-button:hover { border-color: var(--pb-accent); color: var(--pb-accent); }
.pb-check { display: grid !important; grid-template-columns: 22px 1fr; align-items: start; gap: 10px !important; font-weight: 600 !important; line-height: 1.45; }
.pb-check input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--pb-accent); }
.pb-terms-check { padding: 18px; border: 1px solid var(--pb-line); border-radius: 10px; background: var(--pb-surface); }
.pb-submit-story { width: 100%; min-height: 52px; font-size: 1rem; }
.pb-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.pb-form-message { margin-bottom: 22px; padding: 18px 20px; border: 1px solid var(--pb-line); border-left: 4px solid var(--pb-muted); border-radius: 10px; background: var(--pb-surface); }
.pb-form-message strong { display: block; font-size: 1.05rem; }
.pb-form-message p { margin: 5px 0 0; color: var(--pb-muted); }
.pb-form-message--success { border-left-color: var(--pb-green); }
.pb-form-message--error { border-left-color: var(--pb-accent); }
.pb-form-message--warning { border-left-color: #d49b32; }

.pb-payment-page { max-width: 1000px; }
.pb-payment-stage { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .8fr); gap: 26px; align-items: stretch; }
.pb-payment-qr-card, .pb-payment-state { padding: clamp(22px, 4vw, 36px); border: 1px solid var(--pb-line); border-radius: calc(var(--pb-radius) + 4px); background: var(--pb-surface); box-shadow: var(--pb-shadow); }
.pb-payment-label { display: block; margin-bottom: 6px; color: var(--pb-muted); font-size: .74rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.pb-payment-value { display: block; margin-bottom: 20px; font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; }
.pb-payment-qr { display: block; width: min(100%, 330px); height: auto; margin: 0 auto 22px; padding: 12px; border-radius: 14px; background: #ffffff; }
.pb-pix-copy-block { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 12px; padding: 16px; border: 1px solid var(--pb-line); border-radius: 11px; background: var(--pb-bg); }
.pb-pix-copy-block > span { grid-column: 1 / -1; color: var(--pb-muted); font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pb-pix-copy-block code { max-height: 78px; overflow: auto; overflow-wrap: anywhere; color: var(--pb-text); font-size: .78rem; }
.pb-payment-ticket { width: 100%; margin-top: 14px; }
.pb-payment-state { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; }
.pb-payment-state__icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 24px; border: 5px solid var(--pb-surface-3); border-top-color: var(--pb-accent); border-radius: 50%; color: var(--pb-on-accent); background: transparent; font-size: 1.8rem; font-weight: 950; animation: pb-payment-spin 1s linear infinite; }
.pb-payment-state.is-approved .pb-payment-state__icon { border: 0; background: var(--pb-green); animation: none; }
.pb-payment-state.is-failed .pb-payment-state__icon { border: 0; background: var(--pb-accent); animation: none; }
.pb-payment-state h2 { margin: 4px 0 12px; font-family: Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.08; }
.pb-payment-state > p { color: var(--pb-muted); line-height: 1.6; }
.pb-payment-reference { width: 100%; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--pb-line); }
.pb-payment-reference span { display: block; color: var(--pb-muted); font-size: .76rem; text-transform: uppercase; }
.pb-payment-reference strong { display: block; margin-top: 3px; font-size: 1.05rem; }
.pb-payment-help { margin-bottom: 0; font-size: .84rem; }
@keyframes pb-payment-spin { to { transform: rotate(360deg); } }

.pb-empty { padding: 48px 28px; border: 1px dashed var(--pb-hover-line); border-radius: var(--pb-radius); color: var(--pb-muted); background: var(--pb-surface); text-align: center; }
.pb-empty h2 { margin-top: 0; color: var(--pb-text); font-family: Georgia, serif; }
.pb-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 18px; border: 0; border-radius: 9px; color: var(--pb-on-accent) !important; background: var(--pb-accent); font-weight: 850; }
.pb-button:hover { background: var(--pb-accent-dark); }
.pb-button--ghost { border: 1px solid var(--pb-line); background: transparent; }

.pb-page-header { padding-block: 48px 28px; border-bottom: 1px solid var(--pb-line); background: var(--pb-surface); }
.pb-page-header h1 { max-width: 900px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.05em; }
.pb-page-header p { max-width: 760px; margin-bottom: 0; color: var(--pb-muted); }
.pb-breadcrumbs { margin-bottom: 14px; color: var(--pb-muted); font-size: .78rem; }
.pb-breadcrumbs span { margin-inline: 7px; opacity: .5; }

.pb-article-layout { display: grid; grid-template-columns: minmax(0, 790px) 300px; justify-content: center; gap: 56px; padding-block: 48px; }
.pb-article-header h1 { margin: 10px 0 18px; font-family: Georgia, serif; font-size: clamp(2.5rem, 6.5vw, 5.2rem); line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.pb-article-deck { margin: 0 0 22px; color: var(--pb-deck-text); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.5; }
.pb-byline { display: flex; align-items: center; gap: 12px; padding-block: 18px; border-block: 1px solid var(--pb-line); }
.pb-byline img { width: 42px; height: 42px; border-radius: 50%; }
.pb-byline__text { color: var(--pb-muted); font-size: .82rem; line-height: 1.35; }
.pb-byline__text strong { color: var(--pb-text); }
.pb-featured-image { margin-block: 28px; }
.pb-featured-image img { width: 100%; height: auto; object-fit: contain; border-radius: var(--pb-radius); }
.pb-featured-image figcaption { margin-top: 8px; color: var(--pb-muted); font-size: .75rem; }

.pb-article-content { color: var(--pb-soft-text); font-family: Georgia, "Times New Roman", serif; font-size: 1.16rem; line-height: 1.82; }
.pb-article-content > * { max-width: 100%; }
.pb-article-content p, .pb-article-content ul, .pb-article-content ol { margin-block: 0 1.5em; }
.pb-article-content h2, .pb-article-content h3 { margin: 1.5em 0 .55em; color: var(--pb-text); line-height: 1.2; letter-spacing: -.025em; }
.pb-article-content h2 { font-size: 2rem; }
.pb-article-content h3 { font-size: 1.5rem; }
.pb-article-content a { color: var(--pb-blue); text-decoration: underline; text-underline-offset: 3px; }
.pb-article-content blockquote { margin: 2rem 0; padding: 8px 0 8px 24px; border-left: 4px solid var(--pb-accent); color: var(--pb-text); font-size: 1.35rem; font-style: italic; }
.pb-article-content iframe { max-width: 100%; }
.pb-article-content .wp-block-embed__wrapper { position: relative; }
.pb-article-content pre { overflow-x: auto; padding: 20px; border-radius: 10px; background: var(--pb-code-bg); }

.pb-reading-progress { position: fixed; z-index: 100; top: 0; left: 0; width: 0; height: 3px; background: var(--pb-accent); }
.admin-bar .pb-reading-progress { top: 32px; }
.pb-share { display: grid; gap: 10px; }
.pb-share a { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--pb-line); border-radius: 9px; color: var(--pb-text); background: var(--pb-surface); font-size: .8rem; font-weight: 850; }
.pb-share a:hover { border-color: var(--pb-accent); color: var(--pb-accent); }
.pb-author-box { display: grid; grid-template-columns: 76px 1fr; gap: 18px; margin-top: 40px; padding: 24px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: var(--pb-surface); }
.pb-author-box img { width: 76px; height: 76px; border-radius: 50%; }
.pb-author-box h3 { margin: 0 0 6px; }
.pb-author-box p { margin: 0; color: var(--pb-muted); }

.navigation.pagination { margin-top: 32px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--pb-line); border-radius: 8px; background: var(--pb-surface); font-weight: 800; }
.page-numbers.current, .page-numbers:hover { color: var(--pb-on-accent); border-color: var(--pb-accent); background: var(--pb-accent); }

.pb-comments { margin-top: 48px; }
.pb-comments ol { list-style: none; padding: 0; }
.pb-comments .comment-body { margin-bottom: 16px; padding: 18px; border: 1px solid var(--pb-line); border-radius: 10px; background: var(--pb-surface); }
.pb-comments textarea, .pb-comments input[type="text"], .pb-comments input[type="email"], .pb-comments input[type="url"] { width: 100%; padding: 12px; border: 1px solid var(--pb-line); border-radius: 8px; color: var(--pb-text); background: var(--pb-surface-2); }

.pb-site-footer { margin-top: 38px; border-top: 1px solid var(--pb-line); background: var(--pb-footer-bg); }
.pb-footer__top { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 48px; padding-block: 48px; }
.pb-footer__brand p { max-width: 430px; color: var(--pb-muted); }
.pb-footer__title { margin: 0 0 14px; font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; }
.pb-footer__links { display: grid; gap: 8px; color: var(--pb-muted); }
.pb-footer__bottom { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--pb-line); color: var(--pb-muted); font-size: .78rem; }

.alignwide { width: min(1100px, calc(100vw - 32px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }

@media (max-width: 1040px) {
  .pb-brand-row { grid-template-columns: 1fr 1fr; }
  .pb-hero { grid-template-columns: 1fr; }
  .pb-hero__side { grid-template-columns: repeat(4, 1fr); }
  .pb-story--lead { min-height: 480px; }
  .pb-story:not(.pb-story--lead) { min-height: 240px; }
  .pb-main-grid, .pb-article-layout { grid-template-columns: 1fr; }
  .pb-sidebar__sticky { position: static; grid-template-columns: 1fr 1fr; }
  .pb-video-grid { grid-template-columns: 1.2fr 1fr; }
  .pb-video-card:first-child { grid-row: span 2; }
  .pb-authors { grid-template-columns: repeat(2, 1fr); }
  .pb-submission-layout { grid-template-columns: 285px minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 820px) {
  .admin-bar .pb-navbar { top: 46px; }
  .pb-brand-row { min-height: 94px; grid-template-columns: 1fr; }
  .pb-brand-row .pb-ad { display: none; }
  .pb-menu-toggle { display: grid; }
  .pb-nav { position: fixed; inset: 0 auto 0 0; z-index: 100; width: min(86vw, 340px); padding: 88px 20px 28px; background: var(--pb-nav-bg); box-shadow: 30px 0 70px rgba(0,0,0,.38); transform: translateX(-105%); transition: transform .25s ease; }
  .pb-theme-panel__inner { align-items: flex-start; flex-direction: column; gap: 11px; }
  .pb-theme-options { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .pb-customizer-fields { width: 100%; grid-template-columns: 1fr 1fr; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--pb-line); }
  html[data-pb-theme="custom"] .pb-customizer-fields { display: grid; }
  .pb-color-picker { width: 100%; justify-content: space-between; }
  .pb-color-reset { width: 100%; justify-content: center; }
  .pb-nav.is-open { transform: translateX(0); }
  .pb-nav ul { display: block; height: auto; }
  .pb-nav li { display: block; border-bottom: 1px solid var(--pb-line); }
  .pb-nav a { min-height: 52px; padding: 0 8px; }
  .pb-navbar__inner { justify-content: space-between; }
  .pb-theme-toggle { margin-left: auto; }
  .pb-search-toggle { margin-left: 0; }
  .pb-hero__side { grid-template-columns: 1fr 1fr; }
  .pb-topic-grid { grid-template-columns: repeat(2, 1fr); }
  .pb-video-grid { grid-template-columns: 1fr 1fr; }
  .pb-video-card:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 430px; }
  .pb-footer__top { grid-template-columns: 1fr 1fr; }
  .pb-footer__brand { grid-column: 1 / -1; }
  .pb-submission-layout { grid-template-columns: 1fr; }
  .pb-submission-guide { position: static; grid-template-columns: 1fr 1fr; }
  .pb-process-list { grid-column: 1 / -1; }
  .pb-payment-stage { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .pb-container { width: min(calc(100% - 22px), var(--pb-max)); }
  .pb-topbar__date { display: none; }
  .pb-socials { gap: 10px; }
  .pb-brand__name { font-size: 2.25rem; }
  .pb-breaking__inner { gap: 12px; }
  .pb-breaking__label { margin-left: -8px; padding-inline: 13px; }
  .pb-section { padding-block: 30px; }
  .pb-story--lead { min-height: 430px; }
  .pb-story__excerpt { display: none; }
  .pb-story--lead .pb-story__content, .pb-story__content { padding: 20px; }
  .pb-story h2 { font-size: 2.15rem; }
  .pb-hero__side, .pb-topic-grid, .pb-video-grid, .pb-authors, .pb-sidebar__sticky { grid-template-columns: 1fr; }
  .pb-video-card:first-child { min-height: 360px; }
  .pb-list-card { grid-template-columns: 132px minmax(0, 1fr); gap: 14px; }
  .pb-list-card__media { min-height: 0; aspect-ratio: 3 / 2; }
  .pb-list-card h3 { margin-top: 3px; font-size: 1.08rem; }
  .pb-list-card p { display: none; }
  .pb-meta { font-size: .7rem; }
  .pb-meta__reading { display: none; }
  .pb-article-layout { padding-block: 30px; }
  .pb-article-header h1 { font-size: 2.55rem; }
  .pb-article-content { font-size: 1.07rem; }
  .pb-author-box { grid-template-columns: 56px 1fr; padding: 18px; }
  .pb-author-box img { width: 56px; height: 56px; }
  .pb-footer__top { grid-template-columns: 1fr; gap: 30px; }
  .pb-footer__brand { grid-column: auto; }
  .pb-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 16px; }
  .pb-search-form button { min-width: 82px; }
  .pb-theme-option { width: 100%; }
  .pb-community-cta { align-items: flex-start; flex-direction: column; }
  .pb-community-cta .pb-button { width: 100%; }
  .pb-submission-guide, .pb-form-grid, .pb-pix-line { grid-template-columns: 1fr; }
  .pb-process-list { grid-column: auto; }
  .pb-pix-key { grid-template-columns: 1fr; }
  .pb-pix-key > span { grid-column: auto; }
  .pb-copy-button { width: 100%; }
  .pb-pix-copy-block { grid-template-columns: 1fr; }
  .pb-pix-copy-block > span { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}

/* Escolha da forma de pagamento (Pix ou cartão/Google Pay) */
.pb-submission-form label[hidden] { display: none; }
.pb-pay-options { display: grid; gap: 10px; }
.pb-pay-option { display: grid !important; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 14px !important; padding: 16px 18px; border: 1px solid var(--pb-line); border-radius: 10px; background: var(--pb-bg); cursor: pointer; }
.pb-pay-option:hover { border-color: var(--pb-hover-line); }
.pb-pay-option:has(input:checked) { border-color: var(--pb-accent); box-shadow: inset 0 0 0 1px var(--pb-accent); }
.pb-pay-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--pb-accent); }
.pb-pay-option__body strong { display: block; font-size: 1rem; }
.pb-pay-option__body small { display: block; color: var(--pb-muted); font-size: .8rem; font-weight: 500; }
.pb-pay-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pb-pay-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 50px; min-height: 26px; padding: 3px 9px; border: 1px solid var(--pb-line); border-radius: 6px; color: var(--pb-text); background: var(--pb-surface-2); font-size: .7rem; font-weight: 850; white-space: nowrap; }
.pb-pay-badge--gpay { border-color: #1f1f1f; color: #fff; background: #1f1f1f; }
.pb-pay-badge--pix { border-color: #32bcad; color: #fff; background: #32bcad; }
.pb-card-pay p { color: var(--pb-muted); font-size: .92rem; }
.pb-submit-story:disabled { opacity: .7; cursor: progress; }
.pb-epigraph { font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-style: italic; color: var(--pb-accent); }
@media (max-width: 620px) {
  .pb-pay-option { grid-template-columns: 22px minmax(0, 1fr); }
  .pb-pay-option .pb-pay-badge { display: none; }
}

/* ==========================================================================
   Polimento de leitura (mantém cores, fontes e layout originais)
   ========================================================================== */

html { -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* Texto das matérias e páginas: corpo maior, entrelinha confortável e quebras mais bonitas */
.pb-article-content { font-size: 1.19rem; line-height: 1.78; letter-spacing: .002em; }
.pb-article-content p, .pb-article-content li { text-wrap: pretty; }
.pb-article-content p, .pb-article-content ul, .pb-article-content ol { margin-block: 0 1.35em; }
.pb-article-content li + li { margin-top: .4em; }
.pb-article-content h2, .pb-article-content h3 { text-wrap: balance; scroll-margin-top: 90px; }
.pb-article-content a { text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition-property: text-decoration-color, color; transition-duration: 150ms; }
.pb-article-content a:hover { text-decoration-color: currentColor; }
.pb-article-content img { border-radius: 10px; }
.pb-article-content figcaption { margin-top: 8px; color: var(--pb-muted); font-size: .82rem; text-wrap: pretty; }
.pb-article-deck { text-wrap: pretty; }
.pb-byline__text { line-height: 1.5; }

/* Títulos e resumos sem quebras estranhas */
.pb-section-title h2, .pb-card h3, .pb-list-card h3, .pb-page-header h1, .pb-community-cta h2, .pb-ranking__item a { text-wrap: balance; }
.pb-list-card p, .pb-story__excerpt, .pb-page-header p, .pb-community-cta p, .pb-footer__brand p { text-wrap: pretty; }
.pb-list-card p { line-height: 1.55; }

/* Números que não "pulam" */
.pb-meta, .pb-topbar__date, .pb-breaking__time, .pb-ranking__item::before, .pb-price-card strong, .pb-payment-value, .pb-payment-reference strong { font-variant-numeric: tabular-nums; }

/* Contorno sutil nas fotos para não se misturarem ao fundo */
.pb-story__media img, .pb-card__media img, .pb-list-card__media img, .pb-featured-image img, .pb-article-content img { outline: 1px solid rgba(255, 255, 255, .08); outline-offset: -1px; }
html[data-pb-theme="light"] .pb-story__media img, html[data-pb-theme="light"] .pb-card__media img, html[data-pb-theme="light"] .pb-list-card__media img, html[data-pb-theme="light"] .pb-featured-image img, html[data-pb-theme="light"] .pb-article-content img,
html[data-pb-theme="library"] .pb-story__media img, html[data-pb-theme="library"] .pb-card__media img, html[data-pb-theme="library"] .pb-list-card__media img, html[data-pb-theme="library"] .pb-featured-image img, html[data-pb-theme="library"] .pb-article-content img { outline-color: rgba(0, 0, 0, .08); }

/* Botões e cartões com resposta ao toque */
.pb-button { transition-property: background-color, transform, box-shadow; transition-duration: 150ms; transition-timing-function: ease-out; }
.pb-button:active { transform: scale(.97); }
.pb-card { transition-property: transform, border-color, box-shadow; transition-duration: 200ms; }
.pb-card:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, .22); }
.pb-list-card h3 a, .pb-card h3 a, .pb-ranking__item a { transition: color 150ms ease-out; }

/* Áreas de toque confortáveis */
.pb-socials a { display: inline-flex; align-items: center; min-height: 34px; }
.pb-breaking__item { min-height: 44px; }
.pb-footer__links a { display: inline-flex; min-height: 32px; align-items: center; }

/* Início: apresentação do projeto */
.pb-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 36px; padding: clamp(24px, 4vw, 36px); border: 1px solid var(--pb-line); border-left: 4px solid var(--pb-accent); border-radius: var(--pb-radius); background: var(--pb-surface); }
.pb-intro .pb-kicker { margin-bottom: 8px; }
.pb-intro h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.pb-intro p { margin: 0 0 12px; color: var(--pb-deck-text); font-size: 1.04rem; line-height: 1.6; text-wrap: pretty; }
.pb-intro__link { color: var(--pb-accent); font-size: .84rem; font-weight: 850; }
.pb-intro__link:hover { color: var(--pb-text); }

/* Contato */
.pb-contact { display: grid; gap: 32px; }
.pb-contact__intro { max-width: 720px; }
.pb-contact__intro > *:last-child { margin-bottom: 0; }
.pb-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pb-contact-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: var(--pb-surface); transition-property: border-color, transform; transition-duration: 200ms; }
.pb-contact-card:hover { border-color: var(--pb-hover-line); transform: translateY(-2px); }
.pb-contact-card h2 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; letter-spacing: -.02em; }
.pb-contact-card p { flex: 1; margin: 0 0 18px; color: var(--pb-muted); line-height: 1.55; text-wrap: pretty; }
.pb-contact-card .pb-button { align-self: flex-start; color: var(--pb-text) !important; }
.pb-contact-card .pb-button:hover { border-color: var(--pb-accent); color: var(--pb-on-accent) !important; background: var(--pb-accent); }
.pb-contact-channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 24px; border-top: 1px solid var(--pb-line); }
.pb-contact-channels > div > span { display: block; margin-bottom: 4px; color: var(--pb-muted); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.pb-contact-channels a { font-weight: 750; overflow-wrap: anywhere; }
.pb-contact-channels .pb-socials { justify-content: flex-start; }

@media (max-width: 820px) {
  .pb-intro, .pb-contact-grid, .pb-contact-channels { grid-template-columns: 1fr; }
  .pb-intro { gap: 14px; }
}
@media (max-width: 620px) {
  .pb-article-content { font-size: 1.1rem; line-height: 1.72; }
}
@media (prefers-reduced-motion: reduce) {
  .pb-button:active, .pb-contact-card:hover { transform: none; }
}

/* ==========================================================================
   Layout "Cinema" (proposta 4): preto profundo, âmbar, Manrope, capa em tela cheia
   ========================================================================== */

:root {
  --pb-cine-font: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
  --pb-bg: #08080a;
  --pb-surface: #121215;
  --pb-surface-2: #1a1a1f;
  --pb-surface-3: #24242b;
  --pb-text: #f5f3ef;
  --pb-muted: #b8b2a8;
  --pb-line: rgba(255, 255, 255, 0.09);
  --pb-accent: #ffb547;
  --pb-accent-dark: #f09a24;
  --pb-blue: #ffc56b;
  --pb-on-accent: #08080a;
  --pb-glow: transparent;
  --pb-navbar-bg: rgba(8, 8, 10, 0.78);
  --pb-breaking-bg: #121215;
  --pb-footer-bg: #08080a;
  --pb-nav-bg: #121215;
  --pb-nav-text: #f5f3ef;
  --pb-soft-text: #e4e0d8;
  --pb-deck-text: #cfc9bf;
  --pb-hover-line: rgba(255, 181, 71, 0.5);
  --pb-placeholder-bg: linear-gradient(135deg, #2a2420, #1a1a1f);
  --pb-radius: 12px;
}

body { font-family: var(--pb-cine-font); background: var(--pb-bg); }

/* Toda a tipografia do site em Manrope */
.pb-section-title h2, .pb-story h2, .pb-story h3, .pb-list-card h3, .pb-card h3, .pb-page-header h1,
.pb-article-header h1, .pb-article-content, .pb-ranking__item a, .pb-ranking__item::before, .pb-community-cta h2,
.pb-empty h1, .pb-empty h2, .pb-price-card strong, .pb-payment-value, .pb-payment-state h2,
.pb-submission-form legend, .pb-intro h2, .pb-contact-card h2, .pb-epigraph, .pb-placeholder, .pb-author-box h3 {
  font-family: var(--pb-cine-font);
}
.pb-section-title h2, .pb-story h2, .pb-story h3, .pb-page-header h1, .pb-article-header h1, .pb-community-cta h2, .pb-intro h2, .pb-contact-card h2 {
  font-weight: 800;
  letter-spacing: -0.035em;
}
.pb-list-card h3, .pb-card h3, .pb-ranking__item a { font-weight: 700; letter-spacing: -0.015em; }

/* Barra de navegação única, translúcida */
.pb-navbar--cinema { position: sticky; top: 0; z-index: 50; border: 0; background: var(--pb-navbar-bg); backdrop-filter: blur(16px) saturate(140%); transition-property: background-color; transition-duration: 250ms; }
.pb-navbar--cinema .pb-navbar__inner { min-height: 72px; align-items: center; gap: 20px; }
.pb-cine-brand { flex: none; }
.pb-cine-brand .pb-brand__name { font-family: var(--pb-cine-font); font-size: 1.55rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1; text-transform: none; }
.pb-cine-brand .custom-logo-link img { max-height: 44px; }
.pb-navbar--cinema .pb-nav ul { justify-content: flex-end; }
.pb-navbar--cinema .pb-nav a { padding: 0 12px; color: var(--pb-nav-text); font-size: .92rem; font-weight: 600; letter-spacing: 0; background: none; }
.pb-navbar--cinema .pb-nav a:hover, .pb-navbar--cinema .pb-nav .current-menu-item > a { color: var(--pb-accent); background: none; }
.pb-navbar--cinema .pb-menu-toggle, .pb-navbar--cinema .pb-search-toggle, .pb-navbar--cinema .pb-theme-toggle { width: 44px; height: 44px; flex-basis: 44px; border-radius: 22px; }
.pb-navbar--cinema .pb-theme-toggle:hover, .pb-navbar--cinema .pb-search-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.home .pb-navbar--cinema:not(.is-scrolled) { background: linear-gradient(180deg, rgba(8, 8, 10, 0.7), rgba(8, 8, 10, 0)); backdrop-filter: none; }

/* Capa em tela cheia */
.pb-cine-hero {
  position: relative;
  min-height: min(88vh, 780px);
  margin-top: -72px;
  display: flex;
  align-items: flex-end;
  background: #2a2420 center / cover no-repeat;
  color: #f5f3ef;
}
.pb-cine-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 8, 10, 0.92) 0%, rgba(8, 8, 10, 0.55) 45%, rgba(8, 8, 10, 0.05) 80%); }
.pb-cine-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, rgba(8, 8, 10, 0), var(--pb-bg)); }
.pb-cine-hero__content { position: relative; z-index: 1; padding-block: 140px 88px; display: flex; flex-direction: column; gap: 18px; }
.pb-cine-hero__content > * { max-width: 720px; }
.pb-cine-hero__kicker { color: var(--pb-accent); font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pb-cine-hero h1 { margin: 0; font-family: var(--pb-cine-font); font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.pb-cine-hero h1 a { color: inherit; }
.pb-cine-hero h1 a:hover { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.pb-cine-hero p { margin: 0; color: #d6d1c8; font-size: 1.15rem; line-height: 1.6; text-wrap: pretty; }
.pb-cine-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.pb-button { border-radius: 10px; font-weight: 800; }
.pb-button--glass { border: 0; background: rgba(245, 243, 239, 0.14); color: #f5f3ef !important; backdrop-filter: blur(6px); }
.pb-button--glass:hover { background: rgba(245, 243, 239, 0.24); }

/* Fileira de pôsteres (Tela) */
.pb-cine-row { padding-top: 16px; }
.pb-poster-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.pb-poster { display: flex; flex-direction: column; gap: 10px; }
.pb-poster__media { display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 12px; background: var(--pb-surface-2); }
.pb-poster__media img, .pb-poster__media .pb-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease-out; }
.pb-poster:hover .pb-poster__media img { transform: scale(1.04); }
.pb-poster__title { font-size: .95rem; font-weight: 700; line-height: 1.3; text-wrap: balance; }

/* Seções, cartões e listas mais limpos */
.pb-section-title { border-bottom: 0; padding-bottom: 0; }
.pb-section-title h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.pb-section-title a { color: var(--pb-muted); }
.pb-card { border: 0; background: transparent; }
.pb-card:hover { transform: none; box-shadow: none; }
.pb-card__body { padding: 14px 0 0; }
.pb-card__media, .pb-list-card__media { border-radius: 12px; }
.pb-badge { border-radius: 6px; color: var(--pb-on-accent); }
.pb-widget { border: 0; border-radius: 16px; background: var(--pb-surface); }
.pb-ranking__item::before { font-weight: 800; }
.pb-intro, .pb-community-cta { border: 1px solid var(--pb-line); border-radius: 16px; background: var(--pb-surface); box-shadow: none; }
.pb-intro { border-left: 1px solid var(--pb-line); }
.pb-breaking__label { transform: none; border-radius: 6px; margin-block: 8px; }
.pb-breaking__label span { transform: none; }
.pb-page-header { background: var(--pb-surface); }
.pb-site-footer { border-top: 1px solid var(--pb-line); }
.pb-article-content { font-size: 1.15rem; line-height: 1.8; font-weight: 400; }

@media (max-width: 1040px) {
  .pb-poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .pb-navbar--cinema .pb-navbar__inner { min-height: 64px; }
  .pb-cine-hero { margin-top: -64px; min-height: 620px; }
  .pb-cine-hero__content { padding-block: 120px 56px; }
  .pb-navbar--cinema .pb-nav a { padding: 0 4px; }
}
@media (max-width: 620px) {
  .pb-poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-cine-brand .pb-brand__name { font-size: 1.25rem; }
}

/* Capa "Cinema" com fundo Simples 1 · Brilho no canto (sem foto) */
.pb-cine-hero--brilho { min-height: min(74vh, 660px); background: var(--pb-bg); }
.pb-cine-hero--brilho::before { background: radial-gradient(circle 900px at 100% 0%, rgba(255, 181, 71, 0.30) 0%, rgba(255, 181, 71, 0.08) 40%, rgba(255, 181, 71, 0) 70%); }
.pb-cine-hero--brilho::after { display: none; }
@media (max-width: 820px) {
  .pb-cine-hero--brilho { min-height: 540px; }
  .pb-cine-hero--brilho::before { background: radial-gradient(circle 520px at 100% 0%, rgba(255, 181, 71, 0.30) 0%, rgba(255, 181, 71, 0.08) 40%, rgba(255, 181, 71, 0) 70%); }
}


/* ==========================================================================
   Layout "Adesivo" — bordô (padrão), marinho e vermelho
   Fonte gordinha (Titan One) só no nome do site; Inter em todo o resto.
   ========================================================================== */

:root,
html[data-pb-theme="bordo"] {
  color-scheme: light;
  --pb-font-brand: "Titan One", "Inter", sans-serif;
  --pb-cine-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pb-bg: #fbeeec;
  --pb-surface: #ffffff;
  --pb-surface-2: #f6d8d4;
  --pb-surface-3: #efc4be;
  --pb-text: #4a0b18;
  --pb-muted: #7a3a44;
  --pb-line: rgba(74, 11, 24, 0.16);
  --pb-accent: #8e1d33;
  --pb-accent-dark: #6e1327;
  --pb-on-accent: #ffffff;
  --pb-blue: #8e1d33;
  --pb-deep: #4a0b18;
  --pb-deep-text: #ffd6cc;
  --pb-header-bg: #fbeeec;
  --pb-navbar-bg: #fbeeec;
  --pb-breaking-bg: #f6d8d4;
  --pb-footer-bg: #4a0b18;
  --pb-nav-bg: #ffffff;
  --pb-nav-text: #4a0b18;
  --pb-soft-text: #3a0a14;
  --pb-deck-text: #7a3a44;
  --pb-hover-line: rgba(74, 11, 24, 0.4);
  --pb-ad-bg: rgba(74, 11, 24, 0.03);
  --pb-ad-line: rgba(74, 11, 24, 0.22);
  --pb-code-bg: #f6d8d4;
  --pb-video-bg: #f6d8d4;
  --pb-placeholder-bg: linear-gradient(135deg, #a3283d, #8e1d33);
  --pb-glow: transparent;
  --pb-radius: 18px;
}

html[data-pb-theme="marinho"] {
  color-scheme: light;
  --pb-bg: #eef2f9;
  --pb-surface: #ffffff;
  --pb-surface-2: #dbe4f3;
  --pb-surface-3: #c6d3ea;
  --pb-text: #0f1d3a;
  --pb-muted: #3d4a66;
  --pb-line: rgba(15, 29, 58, 0.16);
  --pb-accent: #1f3f7a;
  --pb-accent-dark: #142c58;
  --pb-on-accent: #ffffff;
  --pb-blue: #1f3f7a;
  --pb-deep: #0f1d3a;
  --pb-deep-text: #e9c46a;
  --pb-header-bg: #eef2f9;
  --pb-navbar-bg: #eef2f9;
  --pb-breaking-bg: #dbe4f3;
  --pb-footer-bg: #0f1d3a;
  --pb-nav-bg: #ffffff;
  --pb-nav-text: #0f1d3a;
  --pb-soft-text: #14223f;
  --pb-deck-text: #3d4a66;
  --pb-hover-line: rgba(15, 29, 58, 0.4);
  --pb-ad-bg: rgba(15, 29, 58, 0.03);
  --pb-ad-line: rgba(15, 29, 58, 0.22);
  --pb-code-bg: #dbe4f3;
  --pb-video-bg: #dbe4f3;
  --pb-placeholder-bg: linear-gradient(135deg, #2d4a85, #1f3f7a);
}

html[data-pb-theme="vermelho"] {
  color-scheme: light;
  --pb-bg: #ffffff;
  --pb-surface: #fff7f6;
  --pb-surface-2: #ffe6e3;
  --pb-surface-3: #fcc9cf;
  --pb-text: #2a0d0f;
  --pb-muted: #6b4a4c;
  --pb-line: rgba(42, 13, 15, 0.16);
  --pb-accent: #c8102e;
  --pb-accent-dark: #a00c24;
  --pb-on-accent: #ffffff;
  --pb-blue: #c8102e;
  --pb-deep: #c8102e;
  --pb-deep-text: #ffffff;
  --pb-header-bg: #ffffff;
  --pb-navbar-bg: #ffffff;
  --pb-breaking-bg: #ffe6e3;
  --pb-footer-bg: #c8102e;
  --pb-nav-bg: #ffffff;
  --pb-nav-text: #2a0d0f;
  --pb-soft-text: #2b1214;
  --pb-deck-text: #6b4a4c;
  --pb-hover-line: rgba(200, 16, 46, 0.4);
  --pb-ad-bg: rgba(200, 16, 46, 0.03);
  --pb-ad-line: rgba(200, 16, 46, 0.22);
  --pb-code-bg: #ffe6e3;
  --pb-video-bg: #ffe6e3;
  --pb-placeholder-bg: linear-gradient(135deg, #e0475a, #c8102e);
}

body { font-family: var(--pb-cine-font); background: var(--pb-bg); color: var(--pb-text); }
h1, h2, h3, h4, .pb-section-title h2, .pb-story h2, .pb-story h3, .pb-list-card h3, .pb-card h3,
.pb-page-header h1, .pb-article-header h1, .pb-article-content, .pb-ranking__item a, .pb-community-cta h2,
.pb-empty h2, .pb-intro h2, .pb-contact-card h2, .pb-price-card strong, .pb-payment-value, .pb-payment-state h2,
.pb-submission-form legend, .pb-author-box h3, .pb-epigraph, .pb-placeholder {
  font-family: var(--pb-cine-font);
  letter-spacing: -0.02em;
}

/* Faixa "Agora" */
.pb-ticker { background: var(--pb-deep); color: var(--pb-deep-text); font-size: .85rem; font-weight: 600; overflow: hidden; white-space: nowrap; }
.pb-ticker__inner { display: flex; align-items: center; gap: 28px; min-height: 40px; overflow: hidden; }
.pb-ticker strong { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pb-ticker a { color: inherit; opacity: .92; }
.pb-ticker a:hover { color: inherit; opacity: 1; text-decoration: underline; }
.pb-ticker a + a::before { content: "✦"; margin-right: 28px; opacity: .7; }

/* Nome gigante (única fonte gordinha do site) */
.pb-sticker-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-block: 28px 18px; }
.pb-sticker-brand { font-family: var(--pb-font-brand); font-size: clamp(3rem, 8vw, 6rem); font-weight: 400; line-height: .9; letter-spacing: -0.01em; color: var(--pb-text); }
.pb-sticker-brand span { color: var(--pb-accent); }
.pb-sticker-brand:hover { color: var(--pb-text); }
.pb-sticker-head .custom-logo-link img { max-height: 110px; }
.pb-sticker-head__tagline { max-width: 300px; margin: 0 0 8px; color: var(--pb-muted); font-size: 1rem; font-weight: 500; line-height: 1.45; text-align: right; }

/* Menu em pílulas */
.pb-navbar--adesivo { position: sticky; top: 0; z-index: 50; border: 0; background: var(--pb-navbar-bg); backdrop-filter: none; box-shadow: 0 1px 0 var(--pb-line); }
.pb-navbar--adesivo .pb-navbar__inner { min-height: 66px; align-items: center; gap: 10px; }
.pb-navbar--adesivo .pb-nav ul { height: auto; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 10px; }
.pb-navbar--adesivo .pb-nav li { display: flex; }
.pb-navbar--adesivo .pb-nav a { padding: 8px 18px; border: 2px solid var(--pb-text); border-radius: 99px; background: transparent; color: var(--pb-text); font-size: .9rem; font-weight: 700; letter-spacing: 0; text-transform: none; transition-property: background-color, color; transition-duration: 150ms; }
.pb-navbar--adesivo .pb-nav a::after { display: none; }
.pb-navbar--adesivo .pb-nav a:hover, .pb-navbar--adesivo .pb-nav .current-menu-item > a, .pb-navbar--adesivo .pb-nav li:first-child > a { background: var(--pb-text); color: var(--pb-bg); }
.pb-navbar--adesivo .pb-menu-toggle, .pb-navbar--adesivo .pb-theme-toggle, .pb-navbar--adesivo .pb-search-toggle { width: 44px; height: 44px; flex: 0 0 44px; border: 2px solid var(--pb-text); border-radius: 99px; color: var(--pb-text); }
.pb-navbar--adesivo .pb-theme-toggle { margin-left: auto; }
.pb-navbar--adesivo .pb-theme-toggle:hover, .pb-navbar--adesivo .pb-search-toggle:hover, .pb-navbar--adesivo .pb-theme-toggle[aria-expanded="true"] { background: var(--pb-text); color: var(--pb-bg); }

/* Capa: cartão com sombra recortada */
.pb-sticker-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 36px 12px; }
.pb-sticker-hero__media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; border: 3px solid var(--pb-text); border-radius: 28px; background: var(--pb-accent); box-shadow: 10px 10px 0 var(--pb-text); }
.pb-sticker-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.pb-sticker-tag { position: absolute; z-index: 1; top: 20px; left: 20px; padding: 8px 16px; border-radius: 12px; background: var(--pb-surface); color: var(--pb-text); font-size: .9rem; font-weight: 800; transform: rotate(-4deg); box-shadow: 3px 3px 0 var(--pb-text); }
.pb-sticker-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pb-chip { display: inline-flex; padding: 5px 14px; border-radius: 99px; background: var(--pb-surface-2); color: var(--pb-accent); font-size: .85rem; font-weight: 800; }
.pb-sticker-hero h1, .pb-sticker-hero .pb-hero-title { margin: 0; font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 800; line-height: 1.08; text-wrap: balance; }
.pb-sticker-hero h1 a, .pb-hero-title a { color: var(--pb-text); }
.pb-sticker-hero h1 a:hover, .pb-hero-title a:hover { color: var(--pb-accent); }
.pb-sticker-hero p { margin: 0; color: var(--pb-muted); font-size: 1.08rem; line-height: 1.6; text-wrap: pretty; }

/* Botões */
.pb-button { border: 0; border-radius: 99px; background: var(--pb-accent); color: var(--pb-on-accent) !important; font-weight: 700; transition-property: background-color, transform; transition-duration: 150ms; }
.pb-button:hover { background: var(--pb-accent-dark); }
.pb-button:active { transform: scale(.97); }
.pb-button--ink { padding: 13px 26px; background: var(--pb-text); color: var(--pb-bg) !important; }
.pb-button--ink:hover { background: var(--pb-accent); color: var(--pb-on-accent) !important; }

/* Cartões "adesivo" */
.pb-sticker-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pb-sticker-card { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 18px; border: 2px solid var(--pb-text); border-radius: 22px; background: var(--pb-surface); color: var(--pb-text); transition-property: transform, box-shadow; transition-duration: 200ms; }
.pb-sticker-card:nth-child(3n+1) { transform: rotate(-1.2deg); }
.pb-sticker-card:nth-child(3n+2) { transform: rotate(.8deg); }
.pb-sticker-card:nth-child(3n) { transform: rotate(-.6deg); }
.pb-sticker-card:hover { color: var(--pb-text); transform: rotate(0) translateY(-3px); box-shadow: 6px 6px 0 var(--pb-text); }
.pb-sticker-card__media { display: block; aspect-ratio: 16 / 8; overflow: hidden; border-radius: 14px; background: var(--pb-placeholder-bg); }
.pb-sticker-card__media img { width: 100%; height: 100%; object-fit: cover; }
.pb-sticker-card__tag { align-self: flex-start; padding: 3px 10px; border-radius: 8px; background: var(--pb-text); color: var(--pb-bg); font-size: .75rem; font-weight: 800; }
.pb-sticker-card__title { font-size: 1.15rem; font-weight: 800; line-height: 1.3; text-wrap: balance; }

/* Editorias, listas e laterais no mesmo espírito */
.pb-section-title { border: 0; padding: 0; }
.pb-section-title h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.pb-section-title a { color: var(--pb-accent); font-weight: 700; }
.pb-card { padding: 12px; border: 2px solid var(--pb-text); border-radius: 22px; background: var(--pb-surface); }
.pb-card:hover { transform: translateY(-3px); box-shadow: 6px 6px 0 var(--pb-text); }
.pb-card__media, .pb-list-card__media { border-radius: 14px; }
.pb-card__body { padding: 14px 4px 6px; }
.pb-card h3, .pb-list-card h3 { font-weight: 800; }
.pb-badge { border-radius: 8px; background: var(--pb-text); color: var(--pb-bg); letter-spacing: .02em; }
.pb-badge:hover { background: var(--pb-accent); color: var(--pb-on-accent); }
.pb-widget { padding: 22px; border: 2px solid var(--pb-text); border-radius: 22px; background: var(--pb-surface); }
.pb-widget__title, .widget-title { font-family: var(--pb-cine-font); font-weight: 800; letter-spacing: 0; text-transform: none; font-size: 1.1rem; }
.pb-ranking__item::before { color: var(--pb-accent); font-family: var(--pb-cine-font); font-weight: 800; }
.pb-intro { border: 2px solid var(--pb-text); border-radius: 22px; background: var(--pb-surface); }
.pb-community-cta { border: 3px solid var(--pb-text); border-radius: 26px; background: var(--pb-accent); box-shadow: 8px 8px 0 var(--pb-text); }
.pb-community-cta h2, .pb-community-cta p, .pb-community-cta .pb-kicker { color: var(--pb-on-accent); }
.pb-community-cta .pb-button { background: var(--pb-text); color: var(--pb-bg) !important; }
.pb-page-header { border: 0; background: var(--pb-surface-2); }
.pb-kicker { color: var(--pb-accent); }
.pb-breaking__label { transform: none; border-radius: 8px; margin-block: 8px; background: var(--pb-text); color: var(--pb-bg); }
.pb-breaking__label span { transform: none; }
.pb-article-content { font-size: 1.12rem; line-height: 1.8; }
.pb-article-content blockquote { border-left-color: var(--pb-accent); }

/* Rodapé na cor profunda do tema */
.pb-site-footer { margin-top: 56px; border: 0; background: var(--pb-deep); color: var(--pb-deep-text); }
.pb-footer__motto { padding-block: 26px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; }
.pb-site-footer .pb-brand__name { font-family: var(--pb-font-brand); font-weight: 400; text-transform: lowercase; letter-spacing: 0; color: var(--pb-deep-text); }
.pb-site-footer .pb-brand__name span { color: var(--pb-deep-text); }
.pb-site-footer p, .pb-footer__links, .pb-footer__bottom, .pb-footer__title { color: var(--pb-deep-text); }
.pb-site-footer a { color: var(--pb-deep-text); opacity: .9; }
.pb-site-footer a:hover { color: var(--pb-deep-text); opacity: 1; text-decoration: underline; }
.pb-footer__bottom { border-top-color: rgba(255, 255, 255, 0.16); }

/* Amostras do botão de paleta */
.pb-theme-swatch--bordo { background: linear-gradient(135deg, #fbeeec 50%, #8e1d33 50%); }
.pb-theme-swatch--marinho { background: linear-gradient(135deg, #eef2f9 50%, #0f1d3a 50%); }
.pb-theme-swatch--vermelho { background: linear-gradient(135deg, #ffffff 50%, #c8102e 50%); }

@media (max-width: 1040px) {
  .pb-sticker-hero { grid-template-columns: 1fr; gap: 32px; }
  .pb-sticker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .pb-sticker-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pb-sticker-head__tagline { text-align: left; }
  .pb-navbar--adesivo .pb-nav a { border: 0; border-radius: 0; padding: 0 4px; }
  .pb-navbar--adesivo .pb-nav li:first-child > a { background: transparent; color: var(--pb-text); }
}
@media (max-width: 620px) {
  .pb-sticker-grid { grid-template-columns: 1fr; }
  .pb-sticker-card:nth-child(n) { transform: none; }
  .pb-sticker-hero__media { box-shadow: 6px 6px 0 var(--pb-text); }
  .pb-ticker a:nth-of-type(n+2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pb-sticker-card, .pb-sticker-card:hover { transform: none; }
}

/* Tema "Escuro" do layout Adesivo: fundo quase preto, bordas claras, destaque bordô */
html[data-pb-theme="escuro"] {
  color-scheme: dark;
  --pb-bg: #121012;
  --pb-surface: #1c181b;
  --pb-surface-2: #272024;
  --pb-surface-3: #332a2f;
  --pb-text: #f6eeee;
  --pb-muted: #c9b5b8;
  --pb-line: rgba(246, 238, 238, 0.14);
  --pb-accent: #e8677c;
  --pb-accent-dark: #f08597;
  --pb-on-accent: #1a0a0e;
  --pb-blue: #f08597;
  --pb-deep: #0a0809;
  --pb-deep-text: #ffd6cc;
  --pb-header-bg: #121012;
  --pb-navbar-bg: #121012;
  --pb-breaking-bg: #1c181b;
  --pb-footer-bg: #0a0809;
  --pb-nav-bg: #1c181b;
  --pb-nav-text: #f6eeee;
  --pb-soft-text: #ece2e3;
  --pb-deck-text: #c9b5b8;
  --pb-hover-line: rgba(232, 103, 124, 0.5);
  --pb-ad-bg: rgba(246, 238, 238, 0.03);
  --pb-ad-line: rgba(246, 238, 238, 0.2);
  --pb-code-bg: #0a0809;
  --pb-video-bg: #1c181b;
  --pb-placeholder-bg: linear-gradient(135deg, #5a1424, #8e1d33);
}
html[data-pb-theme="escuro"] .pb-sticker-hero__media { background: #5a1424; }
html[data-pb-theme="escuro"] .pb-site-footer { border-top: 1px solid var(--pb-line); }
.pb-theme-swatch--escuro { background: linear-gradient(135deg, #121012 50%, #e8677c 50%); }

/* ==========================================================================
   Movimento: entradas suaves (uma vez só) e resposta ao toque
   - Capa e cabeçalhos entram ao carregar (0,8s); o resto entra ao aparecer na tela (1s + 0,1s).
   - Só opacidade e um leve deslocamento para cima; mídia isolada cresce de 98% para 100%.
   - Usa as propriedades "translate" e "scale" separadas para não brigar com o "transform"
     dos cartões inclinados e dos efeitos de hover.
   - Sem a classe .pb-motion (menos movimento, navegador antigo ou script falhou) nada fica escondido.
   ========================================================================== */
:root { --pb-ease-out: cubic-bezier(0.22, 1, 0.36, 1); --pb-reveal-travel: 12px; }

@keyframes pb-enter-up { from { opacity: 0; translate: 0 var(--pb-reveal-travel); } to { opacity: 1; translate: 0 0; } }
@keyframes pb-enter-scale { from { opacity: 0; scale: 0.98; } to { opacity: 1; scale: 1; } }

.pb-motion [data-pb-reveal="hero"] { animation: pb-enter-up 0.8s var(--pb-ease-out) backwards; }
.pb-motion [data-pb-reveal="hero-media"] { animation: pb-enter-scale 0.8s var(--pb-ease-out) backwards; }

.pb-motion [data-pb-reveal="up"]:not(.is-revealed),
.pb-motion [data-pb-reveal-children] > :not(.is-revealed),
.pb-motion [data-pb-reveal-stagger] > :not(.is-revealed) { opacity: 0; }

.pb-motion [data-pb-reveal="up"].is-revealed,
.pb-motion [data-pb-reveal-children] > .is-revealed,
.pb-motion [data-pb-reveal-stagger] > .is-revealed {
  animation: pb-enter-up 1s var(--pb-ease-out) calc(0.1s + var(--pb-stagger, 0s)) backwards;
}

/* Resposta ao toque onde ainda não havia nenhuma */
.pb-search-form button { transition: transform 0.25s var(--pb-ease-out); }
.pb-search-form button:hover { transform: scale(1.01); }
.pb-search-form button:active { transform: scale(0.99); }
/* A capa já cresce ao entrar, então aqui a resposta é só de opacidade */
.pb-sticker-hero__media { transition: opacity 0.25s var(--pb-ease-out); }
.pb-sticker-hero__media:hover { opacity: 0.9; }
.pb-sticker-hero__media:active { opacity: 0.8; }

@media (max-width: 620px) {
  :root { --pb-reveal-travel: 8px; }
  .pb-motion [data-pb-reveal-stagger] > * { --pb-stagger: 0s !important; }
}

@media (prefers-reduced-motion: reduce) {
  .pb-motion [data-pb-reveal],
  .pb-motion [data-pb-reveal-children] > *,
  .pb-motion [data-pb-reveal-stagger] > * { opacity: 1 !important; animation: none !important; }
  .pb-search-form button:hover, .pb-search-form button:active { transform: none; }
}

@media print {
  .pb-motion [data-pb-reveal],
  .pb-motion [data-pb-reveal-children] > *,
  .pb-motion [data-pb-reveal-stagger] > * { opacity: 1 !important; animation: none !important; }
}

/* ==========================================================================
   Capa em carrossel (inspirada em sites de revista de moda)
   - Imagem: troca cruzada com um leve "assentar" (106% → 100%).
   - Texto: o título entra por máscara de baixo para cima; selo, resumo e botão
     vêm em sequência (70 ms entre cada um). Quem sai some rápido, sem atraso.
   - Selo redondo girando (18 s por volta) e mancha de cor flutuando atrás.
   - Barra de progresso marca a troca automática; pausa no mouse, no foco e no botão.
   - "Menos movimento": nada gira nem desliza, troca só por opacidade e sem autoplay.
   ========================================================================== */
.pb-site-main { overflow-x: clip; }
.pb-sticker-hero { position: relative; isolation: isolate; }

.pb-hero-blob {
  position: absolute; z-index: -1; top: 2%; left: 16%;
  width: min(48vw, 580px); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, var(--pb-accent), transparent 66%),
    radial-gradient(circle at 70% 70%, var(--pb-surface-2), transparent 70%);
  filter: blur(64px); opacity: 0.32; pointer-events: none;
  animation: pb-blob-drift 16s ease-in-out infinite alternate;
}
html[data-pb-theme="escuro"] .pb-hero-blob { opacity: 0.4; }
@keyframes pb-blob-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(9%, -7%) scale(1.08); }
  100% { transform: translate(-7%, 8%) scale(0.95); }
}

.pb-sticker-hero__stage { position: relative; }
.pb-hero-media {
  position: absolute; inset: 0; display: block;
  opacity: 0; scale: 1.06;
  transition: opacity 0.7s var(--pb-ease-out), scale 1.4s var(--pb-ease-out);
}
.pb-hero-media.is-active { opacity: 1; scale: 1; }
.pb-hero-media img, .pb-hero-media .pb-placeholder { width: 100%; height: 100%; object-fit: cover; }

.pb-spin-badge {
  position: absolute; z-index: 2; right: -34px; bottom: -40px;
  width: 120px; height: 120px; display: grid; place-items: center;
  border: 3px solid var(--pb-text); border-radius: 50%;
  background: var(--pb-surface); color: var(--pb-text);
  box-shadow: 4px 4px 0 var(--pb-text);
}
.pb-spin-badge__ring {
  position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px);
  fill: currentColor; font-family: var(--pb-cine-font, Inter), sans-serif; font-size: 9px; font-weight: 800;
  animation: pb-spin 18s linear infinite;
}
.pb-spin-badge__plus {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: var(--pb-text); color: var(--pb-bg); font-size: 1.9rem; font-weight: 800; line-height: 1;
  transition: transform 0.25s var(--pb-ease-out), background-color 0.2s ease, color 0.2s ease;
}
.pb-spin-badge:active .pb-spin-badge__plus { transform: scale(0.94); }
@keyframes pb-spin { to { transform: rotate(360deg); } }

.pb-hero-slides { display: grid; }
.pb-hero-slide {
  grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  visibility: hidden; transition: visibility 0s 0.3s;
}
.pb-hero-slide.is-active { visibility: visible; transition-delay: 0s; }
.pb-hero-slide > * {
  opacity: 0; translate: 0 14px;
  transition: opacity 0.25s var(--pb-ease-out), translate 0.25s var(--pb-ease-out), clip-path 0.25s var(--pb-ease-out);
}
.pb-hero-slide .pb-hero-title { clip-path: inset(0 0 100% 0); translate: 0 32px; }
.pb-hero-slide.is-active > * {
  opacity: 1; translate: 0 0;
  transition-duration: 0.6s, 0.6s, 0.8s;
}
.pb-hero-slide.is-active .pb-hero-title { clip-path: inset(-10% 0 -18% 0); }
.pb-hero-slide.is-active > :nth-child(2) { transition-delay: 0.07s; }
.pb-hero-slide.is-active > :nth-child(3) { transition-delay: 0.14s; }
.pb-hero-slide.is-active > :nth-child(4) { transition-delay: 0.21s; }

.pb-hero-controls { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.pb-hero-controls[hidden] { display: none; }
.pb-hero-count { margin-right: 4px; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; overflow: hidden; }
.pb-hero-count > span { display: inline-block; }
.pb-hero-count > span.is-changing { animation: pb-count-in 0.45s var(--pb-ease-out); }
.pb-hero-count small { margin-left: 2px; color: var(--pb-muted); font-size: 0.85rem; }
@keyframes pb-count-in { from { opacity: 0; translate: 0 60%; } }
.pb-hero-progress { flex: 1; min-width: 48px; max-width: 160px; height: 3px; margin-right: 6px; overflow: hidden; border-radius: 3px; background: var(--pb-line); }
.pb-hero-progress > span { display: block; height: 100%; background: var(--pb-accent); transform-origin: left center; scale: 0 1; }
.is-autoplay .pb-hero-progress > span { animation: pb-progress var(--pb-slide-time, 6s) linear forwards; }
.is-autoplay.is-paused .pb-hero-progress > span { animation-play-state: paused; }
@keyframes pb-progress { to { scale: 1 1; } }
.pb-hero-btn {
  width: 42px; height: 42px; display: grid; place-items: center; padding: 0;
  border: 2px solid var(--pb-text); border-radius: 50%;
  background: var(--pb-surface); color: var(--pb-text); font: 800 1rem/1 var(--pb-cine-font, Inter), sans-serif; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.16s var(--pb-ease-out);
}
.pb-hero-btn:active { transform: scale(0.95); }
.pb-hero-btn[data-pb-slide-pause] { font-size: 0.7rem; letter-spacing: -0.1em; }

@media (hover: hover) and (pointer: fine) {
  .pb-spin-badge:hover .pb-spin-badge__plus { transform: rotate(90deg); background: var(--pb-accent); color: var(--pb-on-accent); }
  .pb-hero-btn:hover { background: var(--pb-text); color: var(--pb-bg); }
}

@media (max-width: 620px) {
  .pb-hero-blob { width: 90vw; left: 0; filter: blur(48px); }
  .pb-spin-badge { width: 92px; height: 92px; right: -8px; bottom: -34px; }
  .pb-spin-badge__plus { width: 36px; height: 36px; font-size: 1.5rem; }
  .pb-hero-controls { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .pb-hero-blob, .pb-spin-badge__ring { animation: none; }
  .pb-hero-media { scale: 1; transition: opacity 0.3s ease; }
  .pb-hero-slide > *, .pb-hero-slide .pb-hero-title { translate: none; clip-path: none; transition: opacity 0.2s ease; }
  .pb-hero-slide.is-active > * { transition-delay: 0s; }
  .pb-hero-count > span.is-changing { animation: none; }
  .pb-hero-progress { display: none; }
}

@media print {
  .pb-hero-blob, .pb-spin-badge, .pb-hero-controls { display: none; }
}
