/* ============================================================
   Portal Linha Verde — style.css
   Tecnologias: HTML5, CSS3, Bootstrap 5, jQuery 4
   ============================================================ */

/* ─── Variáveis ──────────────────────────────────────────── */
:root {
  --plv-green:        #009e7f;
  --plv-green-dark:   #007a62;
  --plv-green-xdark:  #005a48;
  --plv-green-light:  #e6f7f4;
  --plv-red:          #c0392b;
  --plv-red-dark:     #922b21;
  --plv-dark:         #1a1a2e;
  --plv-dark-2:       #2d2d44;
  --plv-gray:         #6c757d;
  --plv-gray-light:   #adb5bd;
  --plv-border:       #dee2e6;
  --plv-bg:           #f4f6f8;
  --plv-white:        #ffffff;
  --plv-card-shadow:  0 2px 12px rgba(0,0,0,.09);
  --plv-radius:       8px;
  --plv-radius-sm:    4px;
  --font-headline:    'Merriweather', Georgia, serif;
  --font-body:        'Roboto', 'Segoe UI', system-ui, sans-serif;
  --topbar-h:         40px;
  --header-h:         80px;
  --nav-h:            50px;
}

/* ─── Reset / Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--plv-bg);
  color: var(--plv-dark);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--plv-green); }

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

/* ─── Tipografia ─────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.25;
  color: var(--plv-dark);
}

.text-green { color: var(--plv-green) !important; }
.text-red   { color: var(--plv-red) !important; }

/* ─── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--plv-bg); }
::-webkit-scrollbar-thumb { background: var(--plv-green); border-radius: 3px; }

/* ══════════════════════════════════════════════════════════
   TOP BAR
   ══════════════════════════════════════════════════════════ */
#topbar {
  background: var(--plv-dark);
  color: #ccc;
  height: var(--topbar-h);
  font-size: 12px;
  z-index: 1050;
  position: relative;
}

#topbar a { color: #ccc; }
#topbar a:hover { color: var(--plv-green); }

.topbar-date { color: var(--plv-green); font-weight: 600; }

/* Breaking News Ticker */
.breaking-wrap {
  display: flex;
  align-items: center;
  height: var(--topbar-h);
  overflow: hidden;
  flex: 1;
  max-width: 620px;
}

.breaking-label {
  background: var(--plv-red);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 3px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .5px;
  flex-shrink: 0;
  margin-right: 12px;
}

.breaking-ticker {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.breaking-ticker-inner {
  display: inline-block;
  animation: ticker-scroll 35s linear infinite;
}

.breaking-ticker-inner:hover { animation-play-state: paused; }

.breaking-ticker-inner a {
  color: #ddd;
  margin-right: 60px;
  font-size: 12.5px;
}

.breaking-ticker-inner a:hover { color: var(--plv-green); }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.topbar-social a {
  color: #aaa;
  margin-left: 10px;
  font-size: 14px;
}
.topbar-social a:hover { color: var(--plv-green); }

/* ══════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════ */
#site-header {
  background: var(--plv-white);
  border-bottom: 3px solid var(--plv-green);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1040;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  transition: padding .3s;
}

#site-header.scrolled {
  padding: 6px 0;
}

.site-logo img {
  height: 58px;
  transition: height .3s;
}

#site-header.scrolled .site-logo img {
  height: 44px;
}

/* Search */
.header-search {
  position: relative;
  max-width: 360px;
  width: 100%;
}

.header-search input {
  border: 1.5px solid var(--plv-border);
  border-radius: 25px;
  padding: 8px 44px 8px 18px;
  font-size: 14px;
  width: 100%;
  outline: none;
  transition: border-color .2s;
  background: var(--plv-bg);
}

.header-search input:focus {
  border-color: var(--plv-green);
  background: #fff;
}

.header-search .btn-search {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--plv-green);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}

.header-search .btn-search:hover { background: var(--plv-green-dark); }

/* Header ad/banner area */
.header-banner-slot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* ══════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════ */
#main-nav {
  background: var(--plv-green);
  min-height: var(--nav-h);
  z-index: 1030;
}

#main-nav .navbar-nav .nav-link {
  color: rgba(255,255,255,.9) !important;
  font-weight: 600;
  font-size: 13.5px;
  padding: 14px 14px !important;
  text-transform: uppercase;
  letter-spacing: .4px;
  position: relative;
  transition: background .2s;
}

#main-nav .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 3px;
  background: #fff;
  transition: width .2s, left .2s;
  transform: none;
}

#main-nav .navbar-nav .nav-link:hover::after,
#main-nav .navbar-nav .nav-link.active::after {
  width: calc(100% - 28px);
  left: 14px;
}

#main-nav .navbar-nav .nav-link:hover,
#main-nav .navbar-nav .nav-link.active {
  background: rgba(255,255,255,.12);
  color: #fff !important;
}

/* Dropdown cidades */
#main-nav .dropdown-menu {
  background: var(--plv-dark);
  border: none;
  border-top: 3px solid var(--plv-green);
  border-radius: 0 0 var(--plv-radius) var(--plv-radius);
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  padding: 8px 0;
}

#main-nav .dropdown-item {
  color: #ddd;
  font-size: 13px;
  padding: 8px 20px;
  transition: background .15s;
}

#main-nav .dropdown-item:hover {
  background: var(--plv-green);
  color: #fff;
}

#main-nav .dropdown-item .bi {
  margin-right: 8px;
  color: var(--plv-green);
}

#main-nav .dropdown-item:hover .bi {
  color: #fff;
}

/* Mega dropdown para cidades — 2 colunas */
.mega-menu {
  width: 420px;
  /* Sem display aqui — Bootstrap controla display:none/block */
}

.navbar-toggler {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.navbar-toggler-icon {
  filter: invert(1);
}

/* ══════════════════════════════════════════════════════════
   AD SLOTS
   ══════════════════════════════════════════════════════════ */
.ad-slot {
  position: relative;
  background: #f0f0f0;
  border: 1.5px dashed #ccc;
  border-radius: var(--plv-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #999;
  font-size: 12px;
  overflow: hidden;
}

.ad-slot::before {
  content: 'Publicidade';
  position: absolute;
  top: 4px; left: 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #bbb;
}

.ad-slot-leaderboard { width: 100%; height: 90px; max-width: 728px; margin: 0 auto; }
.ad-slot-rectangle   { width: 300px; height: 250px; }
.ad-slot-mobile      { width: 320px; height: 50px; margin: 0 auto; }
.ad-slot-strip       { width: 100%; height: 100px; }
.ad-slot-inline      { width: 100%; height: 280px; }

/* Banner de anunciante */
.sponsor-banner {
  border-radius: var(--plv-radius);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--plv-dark) 0%, var(--plv-dark-2) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  min-height: 100px;
}

.sponsor-banner-label {
  position: absolute;
  top: 6px; right: 8px;
  font-size: 10px;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ══════════════════════════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--plv-green);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-header h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--plv-green);
  border-radius: 2px;
}

.section-header.red-line { border-color: var(--plv-red); }
.section-header.red-line h2::before { background: var(--plv-red); }

.section-header .ver-mais {
  font-size: 12px;
  color: var(--plv-green);
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-header .ver-mais:hover { color: var(--plv-green-dark); }

/* ══════════════════════════════════════════════════════════
   NEWS CARDS
   ══════════════════════════════════════════════════════════ */
.news-card {
  background: var(--plv-white);
  border-radius: var(--plv-radius);
  overflow: hidden;
  box-shadow: var(--plv-card-shadow);
  transition: transform .25s, box-shadow .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
}

.news-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #ddd;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--plv-dark);
}

.news-card-title:hover { color: var(--plv-green); }

.news-card-excerpt {
  font-size: 13px;
  color: var(--plv-gray);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--plv-gray-light);
  flex-wrap: wrap;
  margin-top: auto;
}

.news-card-meta .bi { font-size: 12px; }

/* Cards horizontais (lista) */
.news-card-h {
  display: flex;
  background: var(--plv-white);
  border-radius: var(--plv-radius);
  overflow: hidden;
  box-shadow: var(--plv-card-shadow);
  transition: transform .25s;
  gap: 0;
}

.news-card-h:hover { transform: translateY(-2px); }

.news-card-h .news-card-img {
  width: 140px;
  min-width: 140px;
  aspect-ratio: auto;
  height: 110px;
}

.news-card-h .news-card-body {
  padding: 12px 14px;
}

.news-card-h .news-card-title {
  font-size: 14px;
}

.clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* ─── Card Hero (destaque principal) ───────────────────── */
.hero-card {
  position: relative;
  border-radius: var(--plv-radius);
  overflow: hidden;
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--plv-card-shadow);
}

.hero-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.hero-card:hover img { transform: scale(1.04); }

.hero-card-overlay {
  position: relative;
  background: linear-gradient(to top, rgba(10,10,20,.88) 0%, rgba(10,10,20,.45) 60%, transparent 100%);
  padding: 28px 24px 20px;
  z-index: 2;
}

.hero-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  margin-bottom: 10px;
}

.hero-card-title:hover { color: var(--plv-green-light); }

.hero-card-meta {
  color: rgba(255,255,255,.75);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Card médio (hero secundário) */
.hero-secondary {
  position: relative;
  border-radius: var(--plv-radius);
  overflow: hidden;
  min-height: 195px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--plv-card-shadow);
  flex: 1;
}

.hero-secondary img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.hero-secondary:hover img { transform: scale(1.05); }

.hero-secondary .hero-card-overlay { padding: 18px 16px 14px; }

.hero-secondary .hero-card-title {
  font-size: 1.05rem;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Category Badges ────────────────────────────────────── */
.badge-cat {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #fff;
  margin-bottom: 6px;
}

.badge-cat.politica    { background: #2980b9; }
.badge-cat.seguranca   { background: var(--plv-red); }
.badge-cat.saude       { background: #27ae60; }
.badge-cat.educacao    { background: #8e44ad; }
.badge-cat.esporte     { background: #e67e22; }
.badge-cat.shows       { background: #e91e8c; }
.badge-cat.eventos     { background: #9c27b0; }
.badge-cat.show-evento { background: #e91e8c; }
.badge-cat.transito    { background: #f39c12; }
.badge-cat.economia    { background: #16a085; }
.badge-cat.geral       { background: var(--plv-gray); }

/* Badge de cidade */
.badge-city {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  background: var(--plv-green-light);
  color: var(--plv-green-dark);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.badge-city:hover,
.badge-city.active {
  background: var(--plv-green);
  color: #fff;
}

.badge-city .bi { font-size: 11px; }

/* ══════════════════════════════════════════════════════════
   CITY FILTER BAR
   ══════════════════════════════════════════════════════════ */
.city-filter-bar {
  background: var(--plv-white);
  border-radius: var(--plv-radius);
  padding: 14px 18px;
  box-shadow: var(--plv-card-shadow);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.city-filter-bar .filter-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--plv-gray);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-right: 4px;
  white-space: nowrap;
}

.city-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--plv-border);
  background: transparent;
  color: var(--plv-dark);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.city-filter-btn:hover,
.city-filter-btn.active {
  background: var(--plv-green);
  border-color: var(--plv-green);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════════════════════════ */
.sidebar-widget {
  background: var(--plv-white);
  border-radius: var(--plv-radius);
  box-shadow: var(--plv-card-shadow);
  overflow: hidden;
  margin-bottom: 24px;
}

.sidebar-widget-header {
  background: var(--plv-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-widget-header .bi { color: var(--plv-green); }

.sidebar-widget-body { padding: 14px 16px; }

/* Most read list */
.most-read-list { list-style: none; padding: 0; margin: 0; }

.most-read-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--plv-border);
  align-items: flex-start;
}

.most-read-list li:last-child { border-bottom: none; padding-bottom: 0; }

.most-read-num {
  font-size: 24px;
  font-weight: 900;
  color: var(--plv-green-light);
  line-height: 1;
  min-width: 28px;
  text-align: center;
  color: var(--plv-green);
}

.most-read-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--plv-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.most-read-title:hover { color: var(--plv-green); }

.most-read-meta {
  font-size: 11px;
  color: var(--plv-gray-light);
  margin-top: 2px;
}

/* Newsletter widget */
.newsletter-widget {
  background: linear-gradient(135deg, var(--plv-green-dark), var(--plv-green));
  color: #fff;
  border-radius: var(--plv-radius);
  padding: 20px;
  margin-bottom: 24px;
  text-align: center;
}

.newsletter-widget h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 6px;
}

.newsletter-widget p {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  margin-bottom: 14px;
}

.newsletter-widget input {
  width: 100%;
  padding: 9px 14px;
  border-radius: 6px;
  border: none;
  font-size: 13px;
  margin-bottom: 8px;
  outline: none;
}

.newsletter-widget .btn-subscribe {
  width: 100%;
  background: var(--plv-dark);
  color: #fff;
  border: none;
  padding: 9px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s;
}

.newsletter-widget .btn-subscribe:hover { background: var(--plv-dark-2); }

/* ══════════════════════════════════════════════════════════
   HERO / DESTAQUE SECTION
   ══════════════════════════════════════════════════════════ */
.hero-section {
  padding: 20px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 440px;
}

.hero-main { grid-row: 1 / 3; }

/* ══════════════════════════════════════════════════════════
   EVENTS / SHOWS SECTION
   ══════════════════════════════════════════════════════════ */
.event-card {
  background: var(--plv-white);
  border-radius: var(--plv-radius);
  overflow: hidden;
  box-shadow: var(--plv-card-shadow);
  display: flex;
  gap: 0;
  transition: transform .25s;
}

.event-card:hover { transform: translateY(-3px); }

.event-date-box {
  background: var(--plv-green);
  color: #fff;
  min-width: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  text-align: center;
}

.event-date-box .day {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.event-date-box .month {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.event-card-body {
  padding: 14px;
  flex: 1;
}

.event-card-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card-title:hover { color: var(--plv-green); }

.event-card-info {
  font-size: 12px;
  color: var(--plv-gray);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.event-card-info .bi { color: var(--plv-green); margin-right: 4px; }

/* ══════════════════════════════════════════════════════════
   CITY TABS SECTION
   ══════════════════════════════════════════════════════════ */
.city-tabs-section {
  background: var(--plv-white);
  border-radius: var(--plv-radius);
  box-shadow: var(--plv-card-shadow);
  overflow: hidden;
}

.city-tabs-section .nav-tabs {
  background: var(--plv-bg);
  border-bottom: 2px solid var(--plv-green);
  padding: 0 16px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.city-tabs-section .nav-tabs::-webkit-scrollbar { display: none; }

.city-tabs-section .nav-tabs .nav-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--plv-gray);
  border: none;
  border-bottom: 3px solid transparent;
  padding: 10px 14px;
  white-space: nowrap;
  border-radius: 0;
  transition: color .2s;
}

.city-tabs-section .nav-tabs .nav-link:hover { color: var(--plv-green); }

.city-tabs-section .nav-tabs .nav-link.active {
  color: var(--plv-green);
  border-bottom-color: var(--plv-green);
  background: transparent;
}

.city-tabs-section .tab-content {
  padding: 20px;
}

/* ══════════════════════════════════════════════════════════
   ARTICLE / NOTÍCIA SINGLE
   ══════════════════════════════════════════════════════════ */
.article-header { margin-bottom: 24px; }

.article-header h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 14px;
}

.article-header .article-lead {
  font-size: 1.1rem;
  color: var(--plv-gray);
  font-style: italic;
  border-left: 3px solid var(--plv-green);
  padding-left: 16px;
  line-height: 1.6;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--plv-gray);
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--plv-border);
  border-bottom: 1px solid var(--plv-border);
  margin: 16px 0 24px;
}

.article-meta-bar .author {
  font-weight: 600;
  color: var(--plv-dark);
}

.article-meta-bar .bi { color: var(--plv-green); }

/* Share buttons */
.share-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}

.share-btn:hover { opacity: .85; color: #fff; }

.share-btn.whatsapp { background: #25D366; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter  { background: #1da1f2; }
.share-btn.copy     { background: var(--plv-gray); }

/* Article body */
.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.article-body p { margin-bottom: 1.2em; }

.article-body h2 {
  font-size: 1.4rem;
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--plv-green-light);
}

.article-body h3 {
  font-size: 1.2rem;
  margin: 22px 0 10px;
}

.article-body blockquote {
  border-left: 4px solid var(--plv-green);
  margin: 24px 0;
  padding: 14px 20px;
  background: var(--plv-green-light);
  border-radius: 0 var(--plv-radius) var(--plv-radius) 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--plv-dark);
}

.article-body figure {
  margin: 24px 0;
  border-radius: var(--plv-radius);
  overflow: hidden;
}

.article-body figcaption {
  font-size: 12px;
  color: var(--plv-gray);
  padding: 8px 12px;
  background: var(--plv-bg);
  font-style: italic;
}

/* Reading progress */
#reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--plv-green), var(--plv-red));
  z-index: 9999;
  width: 0%;
  transition: width .1s;
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.article-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--plv-bg);
  border: 1px solid var(--plv-border);
  font-size: 12px;
  color: var(--plv-gray);
  transition: all .2s;
}

.article-tag:hover {
  background: var(--plv-green);
  border-color: var(--plv-green);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════
   NEWS LIST PAGE (noticias.html)
   ══════════════════════════════════════════════════════════ */
.filter-bar {
  background: var(--plv-white);
  border-radius: var(--plv-radius);
  padding: 14px 20px;
  box-shadow: var(--plv-card-shadow);
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-bar label {
  font-size: 12px;
  font-weight: 700;
  color: var(--plv-gray);
  text-transform: uppercase;
  letter-spacing: .4px;
}

.filter-bar select {
  border: 1.5px solid var(--plv-border);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  outline: none;
  cursor: pointer;
  color: var(--plv-dark);
  background: var(--plv-bg);
}

.filter-bar select:focus { border-color: var(--plv-green); }

/* Pagination */
.pagination .page-link {
  color: var(--plv-dark);
  border-color: var(--plv-border);
  font-size: 14px;
  padding: 7px 13px;
}

.pagination .page-link:hover {
  background: var(--plv-green-light);
  border-color: var(--plv-green);
  color: var(--plv-green-dark);
}

.pagination .page-item.active .page-link {
  background: var(--plv-green);
  border-color: var(--plv-green);
  color: #fff;
}

.article-feature-img {
      width: 100%;
      border-radius: var(--plv-radius);
      overflow: hidden;
      margin-bottom: 20px;
      aspect-ratio: 16/9;
      background: #ddd;
    }
    .article-feature-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .article-feature-caption {
      font-size: 12px;
      color: var(--plv-gray);
      padding: 8px 0 0;
      font-style: italic;
    }
    /* Comments placeholder */
    .comments-section {
      background: var(--plv-white);
      border-radius: var(--plv-radius);
      box-shadow: var(--plv-card-shadow);
      padding: 24px;
      margin-top: 32px;
    }
    .related-article {
      display: flex;
      gap: 14px;
      padding: 14px 0;
      border-bottom: 1px solid var(--plv-border);
    }
    .related-article:last-child { border-bottom: none; }
    .related-article img {
      width: 120px;
      min-width: 90px;
      /* height: 70px; */
      object-fit: cover;
      border-radius: var(--plv-radius-sm);
    }
    .related-article-title {
      font-size: 14px;
      font-weight: 700;
      line-height: 1.3;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      color: var(--plv-dark);
    }
    .related-article-title:hover { color: var(--plv-green); }

/* ══════════════════════════════════════════════════════════
   SOBRE PAGE
   ══════════════════════════════════════════════════════════ */

.stat-box {
  background: var(--plv-white);
  border-radius: var(--plv-radius);
  box-shadow: var(--plv-card-shadow);
  padding: 28px 20px;
  text-align: center;
  border-top: 4px solid var(--plv-green);
}

.stat-box .number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--plv-green);
  font-family: var(--font-headline);
  line-height: 1;
}

.stat-box .label {
  font-size: 13px;
  color: var(--plv-gray);
  margin-top: 4px;
}

.team-card {
  background: var(--plv-white);
  border-radius: var(--plv-radius);
  box-shadow: var(--plv-card-shadow);
  overflow: hidden;
  text-align: center;
  padding: 24px 16px;
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid var(--plv-green-light);
}

.team-name { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.team-role { font-size: 13px; color: var(--plv-green); font-weight: 600; margin-bottom: 8px; }
.team-bio  { font-size: 13px; color: var(--plv-gray); line-height: 1.5; }

.team-social { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }

.team-social a {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--plv-bg); color: var(--plv-gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: all .2s;
}

.team-social a:hover { background: var(--plv-green); color: #fff; }

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--plv-white);
  border-radius: var(--plv-radius);
  box-shadow: var(--plv-card-shadow);
}

.value-icon {
  width: 52px; min-width: 52px; height: 52px;
  background: var(--plv-green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--plv-green);
}


/* ══════════════════════════════════════════════════════════
   CONTATO PAGE
   ══════════════════════════════════════════════════════════ */
.contact-card {
  background: var(--plv-white);
  border-radius: var(--plv-radius);
  box-shadow: var(--plv-card-shadow);
  padding: 30px;
}

.contact-icon-box {
  width: 52px;
  height: 52px;
  background: var(--plv-green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plv-green);
  font-size: 22px;
  margin-bottom: 12px;
}

.form-control:focus, .form-select:focus {
  border-color: var(--plv-green);
  box-shadow: 0 0 0 3px rgba(0,158,127,.15);
}
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--plv-white);
  border-radius: var(--plv-radius);
  box-shadow: var(--plv-card-shadow);
  transition: transform .2s;
}

.contact-info-item:hover { transform: translateY(-2px); }

.contact-info-icon {
  width: 52px; min-width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}

.contact-info-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--plv-gray);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--plv-dark);
}

.contact-info-value a { color: var(--plv-dark); }
.contact-info-value a:hover { color: var(--plv-green); }

.social-contact-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--plv-radius);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  transition: opacity .2s, transform .2s;
}

.social-contact-btn:hover { opacity: .9; transform: translateX(4px); color: #fff; }
.social-contact-btn .bi  { font-size: 24px; }
.social-contact-btn .sub { font-size: 12px; font-weight: 400; opacity: .8; }

/* ══════════════════════════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════════════════════════ */
.plv-breadcrumb {
  background: transparent;
  padding: 10px 0;
  font-size: 12.5px;
}

.plv-breadcrumb .breadcrumb-item a { color: var(--plv-green); }
.plv-breadcrumb .breadcrumb-item.active { color: var(--plv-gray); }
.plv-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: var(--plv-gray-light);
}

/* ══════════════════════════════════════════════════════════
   PAGE HERO BANNER (sobre, privacidade, contato)
   ══════════════════════════════════════════════════════════ */
.page-banner {
  background: linear-gradient(135deg, var(--plv-dark) 0%, var(--plv-dark-2) 60%, var(--plv-green-xdark) 100%);
  color: #fff;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23009e7f' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner h1 {
  color: #fff;
  font-size: 1.8rem;
  position: relative;
}

.page-banner p {
  color: rgba(255,255,255,.75);
  position: relative;
}

.page-banner .breadcrumb-item a { color: var(--plv-green); }
.page-banner .breadcrumb-item.active { color: rgba(255,255,255,.6); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
#site-footer {
  background: var(--plv-dark);
  color: #aaa;
  padding: 48px 0 0;
  margin-top: 48px;
}

.footer-logo img { height: 54px; margin-bottom: 14px; }

.footer-about {
  font-size: 13px;
  line-height: 1.7;
  color: #888;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  color: #aaa;
  font-size: 15px;
  transition: background .2s, color .2s;
}

.footer-social a:hover {
  background: var(--plv-green);
  color: #fff;
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--plv-green);
  display: inline-block;
}

.footer-links { list-style: none; padding: 0; margin: 0; }

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  color: #888;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}

.footer-links a::before {
  content: '›';
  color: var(--plv-green);
  font-size: 16px;
  line-height: 1;
}

.footer-links a:hover { color: var(--plv-green); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 16px 0;
  margin-top: 40px;
  font-size: 12px;
  color: #555;
}

.footer-bottom a { color: #555; }
.footer-bottom a:hover { color: var(--plv-green); }

/* ══════════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════════ */
.btn-plv {
  background: var(--plv-green);
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-plv:hover { background: var(--plv-green-dark); color: #fff; }

.btn-plv-outline {
  background: transparent;
  color: var(--plv-green);
  border: 2px solid var(--plv-green);
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-plv-outline:hover {
  background: var(--plv-green);
  color: #fff;
}

.divider {
  border: none;
  height: 1px;
  background: var(--plv-border);
  margin: 24px 0;
}

.section-py { padding: 32px 0; }

.bg-white-card {
  background: var(--plv-white);
  border-radius: var(--plv-radius);
  box-shadow: var(--plv-card-shadow);
  padding: 24px;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   ══════════════════════════════════════════════════════════ */

/* Extra small: <576px */
@media (max-width: 575.98px) {
  #topbar .topbar-date { display: none; }

  .breaking-wrap { max-width: 100%; }

  .header-banner-slot { display: none; }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
  }

  .hero-main { grid-row: auto; }
  .hero-card  { min-height: 260px; }
  .hero-secondary { min-height: 160px; }

  .hero-card-title { font-size: 1.15rem; }

  .article-header h1 { font-size: 1.4rem; }

  .news-card-h .news-card-img { width: 110px; min-width: 110px; height: 90px; }

  .city-filter-bar { overflow-x: auto; flex-wrap: nowrap; padding: 12px; }

  .ad-slot-leaderboard { height: 60px; }

  .page-banner h1 { font-size: 1.4rem; }
}

/* Small: 576–767px */
@media (max-width: 767.98px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-main { grid-row: auto; }

  .header-search { max-width: 100%; }

  /* Mobile: mega-menu em coluna única quando aberto via JS (.show) */
  .mega-menu.show {
    display: block !important;
    width: 100%;
  }

  .ad-slot-rectangle { width: 100%; }

  .share-buttons { gap: 6px; }
  .share-btn { padding: 6px 10px; font-size: 12px; }
}

/* Medium: 768–991px */
@media (max-width: 991.98px) {
  #main-nav .navbar-nav .nav-link { padding: 10px 10px !important; font-size: 12.5px; }

  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-main { grid-row: auto; }
}

/* Large: ≥992px — hover via CSS puro (sem Bootstrap JS no dropdown) */
@media (min-width: 992px) {
  #main-nav .dropdown:hover > .dropdown-menu {
    display: block;
  }

  /* Mega-menu de 2 colunas só quando visível no desktop */
  #main-nav .dropdown:hover > .mega-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Back to top ─────────────────────────────────────────── */
#back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--plv-green); color: #fff;
  border: none; font-size: 20px; cursor: pointer;
  opacity: 0; visibility: hidden; transition: all .3s;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.2); z-index: 999;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--plv-green-dark); transform: translateY(-3px); }

/* ── Print ───────────────────────────────────────────────── */
@media print {
  #topbar, #main-nav, #site-footer, .sidebar-widget,
  .ad-slot, .share-buttons, .city-filter-bar { display: none !important; }

  .article-body { font-size: 14px; }
}
