/*=============================================================
  PN - Theme UI Enhancements
  Inspired by Escul template (themeholy) — adapted for PN colors
=============================================================*/

/* ================================================
   REMOVER GRADIENTE DA SEÇÃO PELO BRASIL
================================================ */
#section-pelo-brasil,
#section-pelo-brasil *,
#section-pelo-brasil::before,
#section-pelo-brasil::after,
.pelo-brasil-home-section,
.pelo-brasil-home-section *,
.pelo-brasil-home-section::before,
.pelo-brasil-home-section::after,
.map-container,
.map-container *,
.map-container::before,
.map-container::after {
  background: transparent !important;
  background-image: none !important;
  background-gradient: none !important;
}

/* ================================================
   CSS Variables Override (PN color mapping)
================================================ */
:root {
  --pn-red:        #ed3000;
  --pn-red-dark:   #c02800;
  --pn-red-light:  #ff5a2e;
  --pn-yellow:     #ffce00;
  --pn-yellow-dark:#e6b800;
  --pn-dark:       #1a1a2e;
  --pn-dark2:      #0e0e1a;
  --pn-white:      #ffffff;
  --pn-smoke:      #f4f4f6;
  --pn-smoke2:     #fff7f5;
  --pn-border:     #e2e2e2;
  --pn-text:       #333333;
  --pn-text-light: #666666;
  --pn-icon-font:  "Font Awesome 6 Pro";
  --pn-title-font: "Plus Jakarta Sans", "Roboto", sans-serif;
  --pn-body-font:  "Open Sans", sans-serif;

  /* ripple & section */
  --pn-ripple-dur:   5s;
  --pn-section-gap:  100px;
}

/* ================================================
   GOOGLE FONTS — Roboto already on site, add Plus Jakarta Sans
================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* ================================================
   1. PRELOADER — hidden
================================================ */
.preloader {
  display: none !important;
}

/* ================================================
   2. SCROLL TO TOP with SVG Progress Circle
================================================ */
.scroll-top {
  position: fixed;
  right: 28px;
  bottom: 40px;
  height: 52px;
  width: 52px;
  cursor: pointer;
  display: block;
  border-radius: 50%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s ease;
}
.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top::after {
  content: "\f062";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  position: absolute;
  text-align: center;
  line-height: 52px;
  font-size: 16px;
  color: var(--pn-red);
  inset: 0;
  display: block;
  z-index: 1;
  border: 2px solid var(--pn-red);
  border-radius: 50%;
  background: var(--pn-white);
  transition: background 0.25s, color 0.25s;
}
.scroll-top:hover::after {
  background: var(--pn-red);
  color: var(--pn-white);
}
.scroll-top svg {
  color: var(--pn-red);
  border-radius: 50%;
}
.scroll-top svg path { fill: none; }
.scroll-top .progress-circle path {
  stroke: var(--pn-red);
  stroke-width: 6px;
  transition: stroke-dashoffset 0.35s linear;
}

/* ================================================
   3. BUTTONS — .pn-btn (liquid fill inspired)
================================================ */
.pn-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  border: none;
  text-align: center;
  font-family: var(--pn-title-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pn-white);
  background: var(--pn-dark);
  min-height: 52px;
  padding: 16px 36px;
  min-width: 150px;
  border-radius: 50px;
  overflow: hidden;
  cursor: pointer;
  transition: none;
  text-decoration: none;
}
.pn-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--pn-dark);
  border-radius: 50px;
  transform: scaleX(0);
  transform-origin: right center;
  transition: none;
  z-index: -1;
  display: none;
}
.pn-btn:hover,
.pn-btn:focus {
  color: var(--pn-white);
  box-shadow: none;
  background: var(--pn-dark);
}
.pn-btn:hover::before,
.pn-btn:focus::before {
  transform: scaleX(0);
  transform-origin: left center;
}

/* Yellow variant */
.pn-btn.pn-btn-yellow {
  background: var(--pn-yellow);
  color: var(--pn-dark);
}
.pn-btn.pn-btn-yellow:hover,
.pn-btn.pn-btn-yellow:focus {
  color: var(--pn-white);
  box-shadow: 0 8px 28px rgba(255,206,0,0.4);
}

/* Blue variant */
.pn-btn.pn-btn-blue {
  background: var(--pn-dark);
  color: var(--pn-white);
}
.pn-btn.pn-btn-blue:hover,
.pn-btn.pn-btn-blue:focus {
  color: var(--pn-white);
  box-shadow: none;
  background: var(--pn-dark);
}

/* Outline variant */
.pn-btn.pn-btn-outline {
  background: transparent;
  border: 2px solid var(--pn-red);
  color: var(--pn-red);
  min-height: 50px;
}
.pn-btn.pn-btn-outline::before {
  background: var(--pn-red);
}
.pn-btn.pn-btn-outline:hover,
.pn-btn.pn-btn-outline:focus {
  color: var(--pn-white);
  border-color: var(--pn-red);
  box-shadow: 0 8px 28px rgba(237,48,0,0.25);
}

/* White on dark bg */
.pn-btn.pn-btn-white {
  background: var(--pn-white);
  color: var(--pn-red);
}
.pn-btn.pn-btn-white::before {
  background: var(--pn-yellow);
}
.pn-btn.pn-btn-white:hover,
.pn-btn.pn-btn-white:focus {
  color: var(--pn-dark);
}

/* Sizes */
.pn-btn.pn-btn-sm {
  padding: 12px 24px;
  min-height: 44px;
  min-width: 120px;
  font-size: 13px;
}
.pn-btn.pn-btn-lg {
  padding: 20px 48px;
  min-height: 60px;
  font-size: 15px;
}

/* ================================================
   4. SECTION SUB-LABEL ("badge" acima do título)
================================================ */
.pn-sub-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pn-title-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pn-red);
  margin-bottom: 12px;
  position: relative;
}
.pn-sub-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--pn-yellow);
  border-radius: 2px;
}
.pn-sub-label.light {
  color: var(--pn-yellow);
}
.pn-sub-label.light::before {
  background: rgba(255,255,255,0.5);
}

/* ================================================
   5. SECTION TITLE overrides
================================================ */
.pn-sec-title {
  font-family: var(--pn-title-font);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--pn-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 0;
  margin-bottom: 0.4em;
}
.pn-sec-title.light {
  color: var(--pn-white);
}
.pn-sec-desc {
  font-size: 17px;
  color: var(--pn-text-light);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 0;
}
.pn-sec-desc.light {
  color: rgba(255,255,255,0.75);
}
.pn-section-header {
  margin-bottom: 48px;
}

/* ================================================
   6. STATS / COUNTER CARDS — redesign
================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--pn-red) 0%, var(--pn-red-dark) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before,
.stats-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.stats-section::before {
  width: 480px;
  height: 480px;
  top: -200px;
  right: -80px;
}
.stats-section::after {
  width: 280px;
  height: 280px;
  bottom: -100px;
  left: -60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.stats-item {
  text-align: center;
  padding: 32px 24px;
  position: relative;
  color: var(--pn-white);
}
.stats-item + .stats-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

.stats-number {
  display: block;
  font-family: var(--pn-title-font);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
  color: var(--pn-white);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.stats-suffix {
  font-size: 0.65em;
  color: var(--pn-yellow);
  font-weight: 700;
}
.stats-label {
  font-family: var(--pn-body-font);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-item + .stats-item::before { display: none; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ================================================
   7. FAQ SECTION — accordion style (Bootstrap-based)
================================================ */
.faq-section {
  background: var(--pn-smoke);
  padding: var(--pn-section-gap) 0;
}

.faq-section .faq-header {
  text-align: center;
  margin-bottom: 48px;
}
.faq-section .faq-title {
  font-family: var(--pn-title-font);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--pn-dark);
  margin-bottom: 12px;
}
.faq-section .faq-subtitle {
  color: var(--pn-text-light);
  font-size: 16px;
}

/* Accordion cards */
.faq-item {
  background: var(--pn-white);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: none;
}

.faq-item summary.faq-question {
  font-family: var(--pn-title-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--pn-dark);
  padding: 20px 60px 20px 24px;
  cursor: pointer;
  position: relative;
  list-style: none;
  transition: background 0.2s, color 0.2s;
  line-height: 1.4;
}
.faq-item summary.faq-question::-webkit-details-marker { display: none; }
.faq-item summary.faq-question::after {
  content: '\f107';
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--pn-red);
  transition: transform 0.3s ease;
}
.faq-item[open] summary.faq-question {
  background: var(--pn-red);
  color: var(--pn-white);
}
.faq-item[open] summary.faq-question::after {
  transform: translateY(-50%) rotate(180deg);
  color: var(--pn-white);
}

.faq-answer {
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--pn-text-light);
  border-top: 1px solid var(--pn-border);
}
.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

.faq-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

/* ================================================
   8. PHOTO GALLERY SECTION
================================================ */
.photo-gallery-section {
  padding: var(--pn-section-gap) 0;
  background: var(--pn-white);
}
.photo-gallery-title {
  font-family: var(--pn-title-font);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--pn-dark);
  text-transform: uppercase;
  text-align: left !important;
  display: block !important;
  position: static !important;
  left: auto !important;
  transform: none !important;
  border-left: 4px solid var(--pn-red) !important;
  padding-left: 12px !important;
  padding-bottom: 0 !important;
  margin-bottom: 24px;
}
.photo-gallery-title::after {
  display: none !important;
}

.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.photo-gallery-item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  height: 200px;
  position: relative;
}
.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.645,0.045,0.355,1);
}
.photo-gallery-item::after {
  content: '\f002';
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  position: absolute;
  inset: 0;
  background: rgba(237,48,0,0.7);
  color: var(--pn-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.photo-gallery-item:hover img { transform: scale(1.08); }
.photo-gallery-item:hover::after { opacity: 1; }

@media (max-width: 900px) {
  .photo-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .photo-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================
   9. CARDS — news cards shine + hover
================================================ */
.news-card-col,
.editoria-card,
.news-card {
  transition: transform 0.35s cubic-bezier(0.645,0.045,0.355,1),
              box-shadow 0.35s cubic-bezier(0.645,0.045,0.355,1);
}
.news-card-col:hover,
.editoria-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* Shine sweep on card hover */
.news-card-col::before,
.editoria-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 40%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 3;
}
.news-card-col { position: relative; overflow: hidden; }
.editoria-card { position: relative; overflow: hidden; }
.news-card-col:hover::before,
.editoria-card:hover::before {
  left: 120%;
}

/* ================================================
   11. MOVIMENTO SECTION
================================================ */
.movimento-section {
  padding: var(--pn-section-gap) 0;
  background: var(--pn-white);
}
.movimento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.movimento-card {
  background: var(--pn-white);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border: 2px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.movimento-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pn-red), var(--pn-yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.movimento-card:hover {
  border-color: rgba(237,48,0,0.15);
  box-shadow: 0 16px 48px rgba(237,48,0,0.12);
  transform: translateY(-6px);
}
.movimento-card:hover::after {
  transform: scaleX(1);
}
.movimento-icon {
  font-size: 2.5rem;
  color: var(--pn-red);
  margin-bottom: 20px;
  display: block;
}
.movimento-card-title {
  font-family: var(--pn-title-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--pn-dark);
  margin-bottom: 12px;
}
.movimento-card-text {
  font-size: 15px;
  color: var(--pn-text-light);
  line-height: 1.6;
}

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

/* ================================================
   12. MANIFESTO SECTION
================================================ */
.manifesto-section {
  background: var(--pn-dark);
  padding: var(--pn-section-gap) 0;
  position: relative;
  overflow: hidden;
}
.manifesto-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(237,48,0,0.06);
  top: -150px;
  right: -100px;
  pointer-events: none;
}
.manifesto-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.manifesto-label {
  font-family: var(--pn-title-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pn-yellow);
  display: block;
  margin-bottom: 16px;
}
.manifesto-title {
  font-family: var(--pn-title-font);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  color: #fff !important;
  margin-bottom: 20px;
  line-height: 1.2;
}
.manifesto-block-title {
  color: #fff !important;
}
.manifesto-intro {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 16px;
}
.manifesto-cta {
  margin-top: 8px;
}
@media (max-width: 900px) {
  .manifesto-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ================================================
   13. HERO SUB-BANNER
================================================ */
.hero-sub-banner {
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 8px 8px;
  margin-bottom: 0;
}
.hero-sub-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================================================
   14. RIPPLE ANIMATIONS
================================================ */
@keyframes pnRipple {
  0%   { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

.pn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(237,48,0,0.3);
  animation: pnRipple var(--pn-ripple-dur) ease-out infinite;
}
.pn-ripple:nth-child(2) { animation-delay: 1s; }
.pn-ripple:nth-child(3) { animation-delay: 2s; }

/* ================================================
   15. DATA-BG-SRC support
================================================ */
[data-bg-src] {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ================================================
   16. BREADCRUMB
================================================ */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--pn-text-light);
  margin-bottom: 24px;
  padding: 12px 0;
  font-family: var(--pn-body-font);
}
.breadcrumb-nav a {
  color: var(--pn-red);
  font-weight: 600;
  transition: color 0.2s;
}
.breadcrumb-nav a:hover { color: var(--pn-red-dark); }
.breadcrumb-sep { color: var(--pn-border); }
.breadcrumb-current { color: var(--pn-text-light); }

/* ================================================
   17. STICKY HEADER
================================================ */
.main-header.sticky-active {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: var(--pn-dark) !important;
  background-image: url('../video_alta_definicao.gif') !important;
  background-size: cover !important;
  background-position: center !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  animation: pnStickySlide 0.35s ease forwards;
}
@keyframes pnStickySlide {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* ================================================
   18. NEWS GRID (3-col) — enhanced
================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card-col-figure {
  height: 210px;
  overflow: hidden;
}
.news-card-col-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.645,0.045,0.355,1);
}
.news-card-col:hover .news-card-col-figure img {
  transform: scale(1.07);
}

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

/* ================================================
   19. EDITORIAL GRID
================================================ */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  margin: 3rem 0;
}
.editorias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.editoria-card {
  background: var(--pn-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border: 1px solid var(--pn-border);
}
@media (max-width: 1024px) {
  .editorial-grid { grid-template-columns: 1fr; }
  .editorias-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .editorias-grid { grid-template-columns: 1fr; }
}

/* ================================================
   20. FOOTER — 4-col grid redesign
================================================ */
.main-footer {
  background: linear-gradient(160deg, #16162a 0%, var(--pn-dark2) 100%);
  color: rgba(255,255,255,0.6);
  font-family: var(--pn-body-font);
}

/* Top section — 4-col grid */
.footer-top {
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-top .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Brand column */
.footer-brand {}
.footer-logo {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 20px;
  filter: none;
  opacity: 1;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
  max-width: 260px;
}
.footer-social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6) !important;
  font-size: 14px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social-list a:hover {
  background: var(--pn-red);
  border-color: var(--pn-red);
  color: #fff !important;
}

/* Nav columns */
.footer-col {}
.footer-col-title {
  font-family: var(--pn-title-font);
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pn-white) !important;
  margin: 0 0 14px !important;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(237,48,0,0.4);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 0;
}
.footer-links li a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55) !important;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s, padding-left 0.2s;
  line-height: 1.4;
}
.footer-links li:last-child a { border-bottom: none; }
.footer-links li a:hover {
  color: var(--pn-yellow) !important;
  padding-left: 6px;
}

/* Bottom bar */
.footer-bottom {
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom span {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a {
  color: rgba(255,255,255,0.45) !important;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--pn-yellow) !important; }

@media (max-width: 1024px) {
  .footer-top .container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
  .footer-tagline { max-width: 380px; }
}
@media (max-width: 600px) {
  .footer-top .container { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; flex-direction: column; gap: 16px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

/* ================================================
   21. ARTICLE PAGE
================================================ */
.article-featured-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center center !important;
  border-radius: 14px;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 48px 0;
}
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
}
.article-title {
  font-family: var(--pn-title-font);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--pn-dark);
}

/* ================================================
   22. NEWSLETTER SIDEBAR — article pages
================================================ */
.article-sidebar .newsletter-widget {
  background: var(--pn-smoke) !important;
  color: var(--pn-text) !important;
  border-radius: 14px;
  padding: 24px !important;
}
.article-sidebar .newsletter-widget-title {
  color: var(--pn-dark) !important;
}
.article-sidebar .newsletter-widget-form {
  width: 100% !important;
}
.article-sidebar .newsletter-widget-field input {
  border: 1.5px solid var(--pn-border) !important;
  background: var(--pn-white) !important;
  color: var(--pn-text) !important;
}

/* ================================================
   23. SCROLL ANIMATIONS (WOW.js classes)
================================================ */
.wow { visibility: hidden; }
.animated {
  animation-duration: 0.8s;
  animation-fill-mode: both;
  visibility: visible !important;
}
.animated.delay-1 { animation-delay: 0.1s; }
.animated.delay-2 { animation-delay: 0.2s; }
.animated.delay-3 { animation-delay: 0.3s; }
.animated.delay-4 { animation-delay: 0.4s; }

/* ================================================
   24. GLOBAL POLISH
================================================ */

/* Remove blue outlines, use PN focus ring */
*:focus-visible {
  outline: 2px solid var(--pn-red);
  outline-offset: 3px;
}

/* Links */
a {
  color: var(--pn-red);
  transition: color 0.2s;
}
a:hover { color: var(--pn-red-dark); }

/* Selection color */
::selection {
  background: var(--pn-yellow);
  color: var(--pn-dark);
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Improve image rendering */
img { image-rendering: -webkit-optimize-contrast; }

/* ================================================
   25. RESPONSIVE — General
================================================ */
@media (max-width: 1200px) {
  :root { --pn-section-gap: 80px; }
}
@media (max-width: 768px) {
  :root { --pn-section-gap: 60px; }
  .pn-btn { min-width: 130px; padding: 14px 28px; }
}

/* ================================================
   26. PAGE BANNER / BREADCRUMB (todas as páginas internas)
       Sobrescreve .page-header — estilo template
================================================ */
.page-header {
  background: var(--pn-dark2);
  padding: 56px 0 52px;
  position: relative;
  overflow: hidden;
  /* Dot pattern overlay */
  background-image:
    radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
/* Red bottom accent */
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pn-red) 0%, var(--pn-yellow) 60%, transparent 100%);
}
/* Large decorative circle right side */
.page-header::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(237,48,0,.09);
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

/* Left column */
.page-header-content {
  max-width: 680px;
}

/* Sub-label (optional) — injected by JS if no .page-header-meta */
.page-header-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pn-yellow);
  margin-bottom: 12px;
}
.page-header-meta::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--pn-yellow);
  border-radius: 2px;
}

/* Title */
.page-header-title {
  font-family: var(--pn-title-font) !important;
  font-size: clamp(28px, 4vw, 52px) !important;
  font-weight: 900 !important;
  color: var(--pn-white) !important;
  line-height: 1.15 !important;
  letter-spacing: -.02em !important;
  margin: 0 0 14px !important;
  text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
/* Red first-word accent — set via JS if needed */
.page-header-title span { color: var(--pn-red); }

/* Breadcrumb */
.page-header-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-family: var(--pn-body-font);
  font-weight: 500;
  color: rgba(255,255,255,.5) !important;
}
.page-header-breadcrumb a {
  color: rgba(255,255,255,.75) !important;
  transition: color .2s;
}
.page-header-breadcrumb a:hover { color: var(--pn-yellow) !important; }
.page-header-breadcrumb .sep {
  color: rgba(255,255,255,.3) !important;
  font-size: 10px;
  margin: 0 2px;
}
/* current (last item) */
.page-header-breadcrumb span:last-child { color: var(--pn-yellow) !important; }

/* Right: decorative PN logo mark */
.page-header-deco {
  display: none;
}
@media (min-width: 768px) {
  .page-header-deco {
    display: block;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(237,48,0,.12);
    border: 2px solid rgba(237,48,0,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .page-header-deco img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .6;
  }
}

/* When container is a simple div without grid children, reset grid */
.page-header .container > h1,
.page-header .container > .page-header-title {
  /* direct child fallback — single column */
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .page-header { padding: 40px 0 36px; }
  .page-header .container { grid-template-columns: 1fr; }
  .page-header-deco { display: none !important; }
}

/* ================================================
   27. NEWS CARD REDESIGN (listagem / categorias)
================================================ */
.news-card {
  background: var(--pn-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  border: 1px solid var(--pn-border);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.13);
  border-color: rgba(237,48,0,.15);
}
.news-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.645,.045,.355,1);
}
.news-card:hover .news-card-img img { transform: scale(1.07); }
.news-card-category {
  position: absolute;
  top: auto;
  bottom: 14px;
  left: 14px;
  background: var(--pn-red);
  color: var(--pn-white);
  font-family: var(--pn-title-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
  width: auto;
  display: inline-block;
  line-height: 1.4;
  white-space: nowrap;
}
.news-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card-title {
  font-family: var(--pn-title-font) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: var(--pn-dark) !important;
  line-height: 1.35 !important;
  margin-bottom: 10px !important;
}
.news-card-title a {
  color: inherit !important;
  transition: color .2s;
}
.news-card-title a:hover { color: var(--pn-red) !important; }
.news-card-excerpt {
  font-size: 14px;
  color: var(--pn-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--pn-border);
  font-size: 12px;
}
.news-card-date {
  color: var(--pn-text-light);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}
.news-card-date::before {
  content: '\f017';
  font-family: "Font Awesome 6 Pro";
  font-weight: 400;
  font-size: 11px;
  color: var(--pn-red);
}
.news-card-share { display: flex; gap: 8px; }
.news-card-share a {
  color: var(--pn-text-light) !important;
  font-size: 13px;
  transition: color .2s;
}
.news-card-share a:hover { color: var(--pn-red) !important; }

/* Grid: 2 or 3 cols */
.news-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.news-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) {
  .news-grid.cols-2,
  .news-grid.cols-3 { grid-template-columns: 1fr; }
}

/* Pagination */
.news-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}
.news-pagination a,
.news-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--pn-border);
  color: var(--pn-text);
  transition: all .2s;
}
.news-pagination a:hover,
.news-pagination .active {
  background: var(--pn-red);
  border-color: var(--pn-red);
  color: var(--pn-white) !important;
}

/* ================================================
   28. ARTICLE PAGE — redesign
================================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 48px 0 64px;
  align-items: start;
}
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
}

/* Article main */
.article-main-column {
  min-width: 0;
}

/* Article header */
.article-header {
  margin-bottom: 28px;
}
.article-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(237,48,0,.1);
  color: var(--pn-red) !important;
  font-family: var(--pn-title-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  transition: background .2s;
}
.article-category:hover {
  background: var(--pn-red);
  color: var(--pn-white) !important;
}
.article-title {
  font-family: var(--pn-title-font) !important;
  font-size: clamp(22px, 3.5vw, 38px) !important;
  font-weight: 900 !important;
  color: var(--pn-dark) !important;
  line-height: 1.2 !important;
  margin-bottom: 16px !important;
  letter-spacing: -.02em !important;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--pn-text-light);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--pn-border);
}
.article-meta span { display: flex; align-items: center; gap: 5px; }
.article-meta .author { font-weight: 700; color: var(--pn-dark); }
.article-meta span::before {
  font-family: "Font Awesome 6 Pro";
  font-size: 12px;
  color: var(--pn-red);
}
.article-meta span:nth-child(1)::before { content: '\f007'; font-weight: 900; }
.article-meta span:nth-child(2)::before { content: '\f073'; font-weight: 400; }
.article-meta span:nth-child(3)::before { content: '\f017'; font-weight: 400; }

/* Featured image */
.article-featured-img {
  margin-bottom: 32px;
  border-radius: 16px;
  overflow: hidden;
}
.article-featured-img img {
  width: 100% !important;
  height: 420px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 16px !important;
  margin: 0 !important;
}

/* Body text */
.article-body {
  font-size: 16.5px;
  line-height: 1.85;
  color: #2d2d2d;
}
.article-body h2 {
  font-family: var(--pn-title-font);
  font-size: clamp(19px, 2.5vw, 26px);
  font-weight: 800;
  color: var(--pn-dark);
  margin: 36px 0 14px;
  padding-left: 16px;
  border-left: 4px solid var(--pn-red);
}
.article-body h3 {
  font-family: var(--pn-title-font);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  color: var(--pn-dark);
  margin: 28px 0 12px;
}
.article-body p { margin-bottom: 20px; }
.article-body strong { color: var(--pn-dark); font-weight: 700; }
.article-body a { color: var(--pn-red); font-weight: 600; }
.article-body a:hover { color: var(--pn-red-dark); }
.article-body blockquote {
  background: var(--pn-smoke2);
  border-left: 5px solid var(--pn-red);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-style: italic;
  font-size: 17px;
  color: #444;
}

/* Share bar */
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0;
  padding: 20px 24px;
  background: var(--pn-smoke);
  border-radius: 12px;
}
.article-share > span {
  font-weight: 700;
  font-size: 14px;
  color: var(--pn-dark);
  font-family: var(--pn-title-font);
}
.article-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--pn-white);
  color: var(--pn-dark) !important;
  font-size: 14px;
  border: 1.5px solid var(--pn-border);
  transition: all .2s;
}
.article-share a:hover {
  background: var(--pn-red);
  color: var(--pn-white) !important;
  border-color: var(--pn-red);
}

/* Related articles */
.related-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 2px solid var(--pn-border);
}
.related-title {
  font-family: var(--pn-title-font) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--pn-dark) !important;
  margin-bottom: 28px !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.related-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: var(--pn-red);
  border-radius: 2px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* Sidebar */
.article-sidebar .sidebar-widget {
  background: var(--pn-white);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  border: 1px solid var(--pn-border);
}
.article-sidebar .sidebar-widget-title,
.content-sidebar .sidebar-widget-title {
  font-family: var(--pn-title-font) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--pn-dark) !important;
  margin-bottom: 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid var(--pn-border) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-sidebar .sidebar-widget-title::before,
.content-sidebar .sidebar-widget-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--pn-red);
  border-radius: 2px;
  flex-shrink: 0;
}



/* Sidebar CTA widget */
.sidebar-cta {
  background: linear-gradient(135deg, var(--pn-red), var(--pn-red-dark)) !important;
  border: none !important;
  text-align: center;
}
.sidebar-cta .sidebar-widget-title {
  color: var(--pn-white) !important;
  border-bottom-color: rgba(255,255,255,.2) !important;
}
.sidebar-cta .sidebar-widget-title::before { background: var(--pn-yellow); }
.sidebar-cta p {
  color: rgba(255,255,255,.8) !important;
  font-size: 14px;
  margin-bottom: 16px;
}
.sidebar-cta .btn,
.sidebar-cta .btn-secondary {
  background: var(--pn-white) !important;
  color: var(--pn-red) !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 800 !important;
  font-family: var(--pn-title-font) !important;
  padding: 12px 24px !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  transition: background .2s, color .2s !important;
}
.sidebar-cta .btn:hover,
.sidebar-cta .btn-secondary:hover {
  background: var(--pn-yellow) !important;
  color: var(--pn-dark) !important;
}

/* ================================================
   29. CONTENT-LAYOUT — listing & institutional
================================================ */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  padding: 40px 0 64px;
  align-items: start;
}
@media (max-width: 1024px) {
  .content-layout { grid-template-columns: 1fr; }
}
.content-main { min-width: 0; }
.content-sidebar { min-width: 0; }

/* Institutional content (historia, estrutura, etc.) */
.institutional-content h2 {
  font-family: var(--pn-title-font);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 800;
  color: var(--pn-dark);
  margin: 32px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--pn-red);
}
.institutional-content h2:first-child { margin-top: 0; }
.institutional-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--pn-text-light);
  margin-bottom: 16px;
}
.institutional-content ul,
.institutional-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.institutional-content li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--pn-text-light);
  margin-bottom: 6px;
}
.institutional-content li::marker { color: var(--pn-red); }

/* ================================================
   30. FILIACAO PAGE
================================================ */
.filiacao-form-card {
  background: var(--pn-white);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.1);
  padding: 40px;
  border: 1px solid var(--pn-border);
}
.filiacao-form-card h2 {
  font-family: var(--pn-title-font);
  font-size: 22px;
  font-weight: 800;
  color: var(--pn-dark);
  margin-bottom: 4px;
}
.filiacao-form-card .form-lead {
  color: var(--pn-text-light);
  margin-bottom: 28px;
  font-size: 15px;
}
.filiacao-form .form-group,
.filiacao-form .mb-3 { margin-bottom: 18px; }
.filiacao-form label {
  font-weight: 700;
  font-size: 13px;
  color: var(--pn-dark);
  margin-bottom: 6px;
  display: block;
}
.filiacao-form input,
.filiacao-form select,
.filiacao-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--pn-border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--pn-text);
  background: var(--pn-white);
  transition: border-color .2s, box-shadow .2s;
  font-family: var(--pn-body-font);
}
.filiacao-form input:focus,
.filiacao-form select:focus,
.filiacao-form textarea:focus {
  outline: none;
  border-color: var(--pn-red);
  box-shadow: 0 0 0 3px rgba(237,48,0,.1);
}
.filiacao-form .btn-submit,
.filiacao-form button[type="submit"] {
  width: 100%;
  background: var(--pn-red);
  color: var(--pn-white);
  border: none;
  border-radius: 50px;
  padding: 16px 32px;
  font-family: var(--pn-title-font);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, box-shadow .25s;
  margin-top: 8px;
}
.filiacao-form .btn-submit:hover,
.filiacao-form button[type="submit"]:hover {
  background: var(--pn-red-dark);
  box-shadow: 0 8px 24px rgba(237,48,0,.35);
}

/* ================================================
   31. CONTACT PAGE
================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info-card {
  background: var(--pn-dark);
  color: var(--pn-white);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(237,48,0,.1);
}
.contact-info-card h3 {
  font-family: var(--pn-title-font);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.contact-info-card p { color: rgba(255,255,255,.7); margin-bottom: 28px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(237,48,0,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pn-yellow);
  font-size: 16px;
  flex-shrink: 0;
}
.contact-info-text strong { display: block; color: var(--pn-white); font-size: 14px; font-weight: 700; }
.contact-info-text span { color: rgba(255,255,255,.6); font-size: 14px; }

.contact-form-card {
  background: var(--pn-white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,.08);
  border: 1px solid var(--pn-border);
}
.contact-form-card h3 {
  font-family: var(--pn-title-font);
  font-size: 22px;
  font-weight: 800;
  color: var(--pn-dark);
  margin-bottom: 24px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--pn-border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--pn-text);
  margin-bottom: 16px;
  font-family: var(--pn-body-font);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pn-red);
  box-shadow: 0 0 0 3px rgba(237,48,0,.1);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form button[type="submit"] {
  background: var(--pn-red);
  color: var(--pn-white);
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  font-family: var(--pn-title-font);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
}
.contact-form button[type="submit"]:hover {
  background: var(--pn-red-dark);
  box-shadow: 0 8px 24px rgba(237,48,0,.35);
}

/* ================================================
   32. DIRETORIA / ESTRUTURA PAGE
================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: var(--pn-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  border: 1px solid var(--pn-border);
  text-align: center;
  padding: 0 !important;
  transition: transform .3s, box-shadow .3s;
}
.team-name { padding: 0 15px; }
.team-role { padding: 0 15px 20px; }
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}
.team-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--pn-smoke);
}
/* Fallback avatar placeholder */
.team-card .team-avatar {
  height: 320px;
  width: 100%;
  border-radius: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: var(--pn-smoke);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.15);
  font-size: 64px;
  transition: transform 0.5s ease;
}
.team-card:hover .team-avatar {
  transform: scale(1.05);
}
.team-card .team-avatar:not([style*="background-image"])::after {
  content: '\f007';
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
}
.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.team-card:hover .team-card-img img { transform: scale(1.07); }
.team-card-body { padding: 20px; }
/* When name/role are direct children (no body wrapper) */
.team-card .team-name,
.team-card .team-role {
  padding: 0 16px;
}
.team-card .team-name { padding-top: 16px; }
.team-card .team-role { padding-bottom: 16px; }
.team-card-name,
.team-card .team-name {
  font-family: var(--pn-title-font);
  font-size: 17px;
  font-weight: 800;
  color: var(--pn-dark);
  margin-bottom: 4px;
}
.team-card-role,
.team-card .team-role {
  font-size: 13px;
  color: var(--pn-red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.team-card-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.team-card-social a {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--pn-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--pn-text-light) !important;
  font-size: 12px;
  transition: all .2s;
}
.team-card-social a:hover {
  background: var(--pn-red);
  border-color: var(--pn-red);
  color: var(--pn-white) !important;
}

/* ================================================
   33. GENERAL CONTENT PAGE SPACING
================================================ */
body > .container > .content-layout,
body > .container > div[style*="padding-top"] {
  padding-top: 48px;
}

/* Utility: pn-card */
.pn-card {
  background: var(--pn-white);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  border: 1px solid var(--pn-border);
  overflow: hidden;
}
.pn-card-body { padding: 28px; }

/* ================================================
   34. HEADER — global body font
================================================ */
body {
  font-family: var(--pn-body-font);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--pn-title-font);
}

/* ================================================
   35. SEARCH BAR — override Escul's global input rules
================================================ */
/* Escul: input { height:56px; padding:0 25px; background:var(--smoke-color);
   border-radius:50px; border:1px solid transparent; text-transform:uppercase } */
.pn-search-input {
  height: 46px !important;
  padding: 0 8px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  text-transform: none !important;
  font-size: 14px !important;
  font-family: inherit !important;
  color: #333 !important;
  width: 100% !important;
  flex: 1 !important;
  margin: 0 !important;
}
.pn-search-input:focus {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}
#site-search-form label {
  margin: 0 !important;
  display: flex !important;
}
#site-search-form button:hover {
  background: #c0392b !important;
}

/* ================================================
   36. HEADER — menu button, close button, animation
================================================ */

/* Header action area: align items and gap */
.header-actions {
  gap: 10px !important;
  align-items: center;
}

/* FILIE-SE / CONTATO buttons hover — white glass instead of amber */
.header-login-buttons a:hover {
  background: rgba(255,255,255,0.18) !important;
  color: #fff !important;
  border-color: #fff !important;
}

/* Hamburger MENU button — same pill shape as the login buttons */
.header-menu-btn {
  border: 2px solid rgba(255,255,255,0.85) !important;
  border-radius: 32px !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  gap: 8px;
  transition: background 0.2s, border-color 0.2s !important;
}
.header-menu-btn i {
  font-size: 15px !important;
  height: auto !important;
  width: auto !important;
}
.header-menu-btn span {
  display: inline !important;
}
.header-menu-btn:hover {
  background: rgba(255,255,255,0.18) !important;
  border-color: #fff !important;
}

/* Close button — pill styled, visible */
.header-close-btn {
  border: 2px solid rgba(255,255,255,0.85) !important;
  border-radius: 32px !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  margin-top: 0 !important;
  /* Override Escul @media(1145px) position:absolute that misplaces the button */
  position: relative !important;
  bottom: auto !important;
  right: auto !important;
  gap: 8px;
  transition: background 0.2s, border-color 0.2s !important;
}
.header-close-btn:hover {
  background: rgba(255,255,255,0.18) !important;
  border-color: #fff !important;
}
.header-close-btn i {
  font-size: 15px !important;
  height: auto !important;
  width: auto !important;
  font-style: normal;
  font-weight: 900;
}

/* Nav overlay — smooth open/close animation */
.main-header-nav {
  display: block !important;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0s linear 0.45s;
}
.main-header-nav.active {
  max-height: 1200px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0s linear 0s;
}

/* ================================================
   37. GLOBAL BUTTON HOVERS — consistent across site
================================================ */

/* pn-btn enhanced shadow on hover */
.pn-btn:hover,
.pn-btn:focus {
  box-shadow: 0 8px 32px rgba(237,48,0,0.45) !important;
}

/* News card / editorial card link hovers */
.news-card-col:hover .news-card-col-title,
.editoria-card:hover .editoria-card-title {
  color: var(--pn-red) !important;
}

/* Nav item links hover */
.nav-item-link:hover {
  color: var(--pn-yellow) !important;
  padding-left: 4px;
  transition: color 0.2s, padding-left 0.2s !important;
}

/* Footer links hover */
.footer-links li a:hover {
  color: var(--pn-yellow) !important;
  padding-left: 8px;
}

/* ================================================
   38. CONTRAST FIXES — text legível sobre fundos coloridos
================================================ */

/* Filiacao hero: Escul sobrescreve headings com cor escura — forçar branco */
.filiacao-hero h1,
.filiacao-hero h2,
.filiacao-hero h3 {
  color: #fff !important;
}
.filiacao-hero p {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* ================================================
   25. PELO BRASIL (ESTADOS) GRID
================================================ */
.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.state-card {
  background: var(--pn-white);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pn-border);
  text-decoration: none !important;
  color: var(--pn-dark);
}
.state-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(237,48,0,0.1);
  border-color: var(--pn-red);
}
.state-flag {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 1px solid #eee;
}
.state-name {
  font-family: var(--pn-title-font);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.state-initials {
  font-size: 13px;
  color: var(--pn-text-light);
  font-weight: 600;
  text-transform: uppercase;
}
.state-card .btn-sm {
  margin-top: 16px;
  opacity: 1;
  transform: translateY(0);
  transition: none;
}
.state-card:hover .btn-sm {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

@media (max-width: 576px) {
  .states-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ================================================
   26. MAPA INTERATIVO DO BRASIL
================================================ */


/* Unified Stats Grid logic is now at the end of the file */

/* Layout Expansion */
.content-main-full {
  width: 100%;
  flex: 0 0 100%;
}
.institutional-content {
  max-width: 100% !important;
}

/* Map Styling */
.map-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 20px 20px 60px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid var(--pn-border);
}
.state {
  fill: #f0f0f0;
  stroke: #fff;
  stroke-width: 1;
  transition: all 0.3s ease;
  cursor: pointer;
}
.state:hover {
  fill: var(--pn-red) !important;
  stroke: var(--pn-yellow);
  stroke-width: 2;
  transform: scale(1.02);
  filter: drop-shadow(0 0 8px rgba(237,48,0,0.3));
}

.map-tooltip {
  position: absolute;
  background: var(--pn-dark);
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
}
.tooltip-flag img { width: 24px; height: auto; border-radius: 2px; }
.tooltip-info strong { display: block; font-size: 14px; }
.tooltip-info span { font-size: 10px; color: rgba(255,255,255,0.5); }

@media (max-width: 1199px) {
  .stats-grid-value { font-size: 32px; }
}

@media (max-width: 991px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid-container { padding: 40px 30px; }
}

@media (max-width: 575px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid-item { padding: 25px 15px; }
  .stats-grid-container { padding: 30px 20px; }
  .stats-grid-value { font-size: 28px; }
}

/* ================================================
   X. INSTITUTIONAL LAYOUT (Added for CMS pages)
================================================ */
.content-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
  padding-top: 40px;
}

.content-main {
  flex: 1;
  min-width: 300px;
}

.content-sidebar {
  width: 330px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .content-sidebar {
    width: 100%;
  }
}

.institutional-content {
  color: var(--pn-text);
  line-height: 1.8;
  font-family: var(--pn-body-font);
}

.institutional-content h2 {
  font-family: var(--pn-title-font);
  font-weight: 800;
  color: var(--pn-dark);
  margin-top: 2rem;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
}

.institutional-content h3 {
  font-family: var(--pn-title-font);
  font-weight: 700;
  color: var(--pn-dark);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.institutional-content p {
  margin-bottom: 1.25rem;
}

.institutional-content ul, 
.institutional-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
}

.institutional-content li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

.institutional-content strong {
  color: var(--pn-dark);
  font-weight: 700;
}

.institutional-content a {
  color: var(--pn-red);
  text-decoration: underline;
  font-weight: 600;
}

.institutional-content a:hover {
  color: var(--pn-red-dark);
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--pn-white);
  border: 1px solid var(--pn-border);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.sidebar-widget-title {
  font-family: var(--pn-title-font);
  font-weight: 800;
  font-size: 20px;
  color: var(--pn-dark);
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--pn-red);
  display: inline-block;
}

.sidebar-categories a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--pn-smoke);
  margin-bottom: 10px;
  border-radius: 8px;
  color: var(--pn-dark) !important;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.sidebar-categories a::after {
  content: '\f054';
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  font-size: 10px;
  color: var(--pn-red);
  transition: color 0.3s;
}

.sidebar-categories a:hover,
.sidebar-categories a.active {
  background: var(--pn-red) !important;
  color: var(--pn-white) !important;
}

.sidebar-categories a:hover::after,
.sidebar-categories a.active::after {
  color: var(--pn-white);
}

.sidebar-cta {
  background: var(--pn-dark);
  color: var(--pn-white);
  text-align: center;
}

.sidebar-cta .sidebar-widget-title {
  color: var(--pn-white);
  border-bottom-color: var(--pn-yellow);
}

.sidebar-cta p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 25px;
  font-size: 14px;
}

/* Page Header (Hero) */
.page-header {
  background: var(--pn-dark);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header-title {
  color: var(--pn-white);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  font-family: var(--pn-title-font);
}

.page-header-breadcrumb {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 14px;
}

.page-header-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.page-header-breadcrumb a:hover {
  color: var(--pn-yellow);
}

.page-header-breadcrumb .sep {
  margin: 0 12px;
  opacity: 0.5;
}

.page-header-deco {
  position: absolute;
  right: 50px;
  bottom: 30px;
  opacity: 0.9;
  width: 130px;
  height: 130px;
  background: var(--pn-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  border: 4px solid rgba(255,255,255,0.1);
}

.page-header-deco img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

@media (max-width: 767px) {
  .page-header {
    padding: 80px 0 60px;
  }
  .page-header-title {
    font-size: 2.2rem;
  }
  .page-header-deco {
    width: 80px;
    height: 80px;
    right: 20px;
    bottom: 15px;
    padding: 12px;
  }
}

/* Specific component fixes */
.team-avatar {
  background-size: cover;
  background-position: center top;
  border-radius: 0;
  width: 100%;
  height: 320px;
  margin-bottom: 15px;
  background-color: var(--pn-smoke);
}

/* ================================================
   STATS GRID (Unified)
================================================ */
.stats-grid-container {
  background: #fff;
  border-radius: 30px;
  padding: 50px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.06);
  margin-top: 40px;
  position: relative;
  z-index: 10;
  border: none;
}
.stats-grid-header {
  text-align: center;
  margin-bottom: 40px;
}
.stats-grid-header h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--pn-dark);
  margin-bottom: 5px;
}
.stats-grid-subtitle {
  color: var(--pn-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}
.stats-grid, .stats-grid-national {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stats-grid-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--pn-smoke);
  border-radius: 24px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.stats-grid-item:hover {
  background: #fff;
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: var(--pn-red);
}
.stats-grid-value {
  display: block;
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--pn-red);
  line-height: 1.1;
  margin-bottom: 8px;
  font-family: var(--pn-title-font);
}
.stats-grid-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pn-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 991px) {
  .stats-grid, .stats-grid-national { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .stats-grid, .stats-grid-national { grid-template-columns: 1fr; }
  .stats-grid-container { padding: 30px 20px; }
  .stats-grid-header h3 { font-size: 1.5rem; }
}





