/* =========================================================
   MPT — folha de estilos partilhada
   ========================================================= */

:root {
  /* Verde original do logotipo MPT (escala derivada) */
  --g-50:  #F2FAE6;
  --g-100: #E1F4C7;
  --g-200: #C8E89A;
  --g-300: #A8D767;
  --g-400: #8AC23E;
  --g-500: #6FA831;     /* MAIN — verde do logo */
  --g-600: #588C26;
  --g-700: #45711F;
  --g-800: #34561A;
  --g-900: #243C13;
  --g-950: #11200A;

  --white:   #FFFFFF;
  --off:     #FCFCFB;
  --gray-50: #F6F8F5;
  --gray-100:#EDF1EA;
  --gray-200:#D9E0D5;
  --gray-300:#B6C0B0;
  --gray-500:#6A7464;
  --gray-700:#3A4236;
  --gray-900:#16201A;

  --shadow-sm:  0 2px 4px rgba(17, 32, 10, 0.04);
  --shadow-md:  0 8px 24px rgba(17, 32, 10, 0.07);
  --shadow-lg:  0 24px 60px rgba(17, 32, 10, 0.12);
  --shadow-xl:  0 40px 100px rgba(17, 32, 10, 0.18);
  --shadow-green: 0 12px 32px rgba(111, 168, 49, 0.32);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 40px;
  --r-full: 999px;
}

* { margin:0; padding:0; box-sizing:border-box; }
*:focus-visible { outline: 2px solid var(--g-500); outline-offset: 3px; border-radius: 4px; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--gray-900);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gray-100);
  padding: 20px 32px;
  transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.header.scrolled { padding: 12px 32px; }

/* OVER-HERO mode: transparent over video, becomes solid on scroll */
.header.over-hero {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header.over-hero.scrolled {
  position: fixed;
  background: rgba(255,255,255,0.96);
  border-bottom-color: var(--gray-100);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.header.over-hero:not(.scrolled) .logo img {
  filter: brightness(0) invert(1);  /* White logo over video */
}
.header.over-hero:not(.scrolled) .logo-meta {
  color: var(--white);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.30);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header.over-hero:not(.scrolled) nav.main {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--r-full);
  padding: 5px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header.over-hero:not(.scrolled) nav.main .nav-link { color: var(--white); }
.header.over-hero:not(.scrolled) nav.main .nav-link:hover {
  background: rgba(255,255,255,0.95);
  color: var(--g-800);
}
.header.over-hero:not(.scrolled) .dropdown { color: var(--gray-700); }
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo img {
  height: 88px;
  width: auto;
  transition: height 0.3s;
}
.header.scrolled .logo img { height: 64px; }
.logo-meta {
  color: var(--g-700);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 5px 12px;
  border: 1.5px solid var(--g-200);
  background: var(--g-50);
  border-radius: var(--r-full);
}

/* NAV with dropdowns */
nav.main {
  display: flex;
  gap: 4px;
}
.nav-item {
  position: relative;
}
.nav-link {
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: var(--r-full);
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover { background: var(--gray-100); color: var(--gray-900); }
.nav-link.active { background: var(--gray-100); color: var(--g-700); }
.nav-caret {
  font-size: 10px;
  margin-top: 1px;
  opacity: 0.6;
  transition: transform 0.3s;
}
.nav-item:hover .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  z-index: 200;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--r-sm);
  transition: all 0.2s;
}
.dropdown a:hover {
  background: var(--gray-100);
  color: var(--gray-900);
  padding-left: 18px;
}
.dropdown a.active { background: var(--gray-100); color: var(--g-700); }

/* MOBILE TOGGLE */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--g-50);
  color: var(--g-700);
  align-items: center;
  justify-content: center;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-decoration: none;
}
.btn-arrow { transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--g-500);
  color: var(--white);
  box-shadow: var(--shadow-green);
}
.btn-primary:hover {
  background: var(--g-600);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(111, 168, 49, 0.45);
}
.btn-secondary {
  background: var(--white);
  color: var(--g-800);
  border: 1.5px solid var(--gray-200);
}
.btn-secondary:hover {
  border-color: var(--g-500);
  background: var(--g-50);
}
.btn-dark {
  background: var(--g-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--g-950); transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-xl { padding: 18px 32px; font-size: 16px; }

.btn-circle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 6px 6px 26px;
  background: var(--g-500);
  color: var(--white);
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: var(--shadow-green);
  text-decoration: none;
}
.btn-circle:hover { background: var(--g-600); padding-right: 8px; transform: translateY(-2px); }
.btn-circle .circle {
  width: 40px;
  height: 40px;
  background: var(--white);
  color: var(--g-700);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.btn-circle:hover .circle { transform: rotate(-45deg); }

/* SECTION SHELL */
.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 32px;
}
.section-sm { padding: 80px 32px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 56px;
}
.section-head-text { max-width: 700px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--g-700);
  margin-bottom: 18px;
  letter-spacing: 0;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--g-500);
}
.section h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--gray-900);
  margin-bottom: 20px;
}
.section h2 .accent { color: var(--g-600); }
.section-sub {
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1.55;
  font-weight: 400;
}

/* PAGE HEADER (interior pages) */
.page-hero {
  background: var(--white);
  padding: 80px 32px 60px;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--g-100), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}
.page-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 24px;
  font-weight: 500;
}
.breadcrumb a { color: var(--g-700); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--gray-300); }
.page-hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--gray-900);
  margin-bottom: 16px;
  max-width: 900px;
}
.page-hero h1 .accent { color: var(--g-600); }
.page-hero p {
  font-size: 19px;
  color: var(--gray-500);
  max-width: 720px;
  line-height: 1.55;
}

/* PROSE — for article-like pages */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--gray-700);
}
.prose h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-top: 48px;
  margin-bottom: 16px;
}
.prose h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--g-800);
  margin-top: 36px;
  margin-bottom: 12px;
}
.prose p { margin-bottom: 18px; }
.prose strong { color: var(--gray-900); font-weight: 700; }
.prose ul, .prose ol { margin: 0 0 18px 24px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  border-left: 3px solid var(--g-500);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--g-800);
  font-size: 19px;
}
.prose a { color: var(--g-700); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--g-600); }

/* FOOTER */
footer {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 80px 32px 32px;
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--gray-100);
}
.footer-brand img {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
}
.footer-about {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 320px;
}
.footer-address {
  font-size: 13px;
  color: var(--gray-700);
  margin-top: 20px;
  line-height: 1.7;
  font-weight: 500;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 14px;
  color: var(--gray-500);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--g-700); }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-legal {
  font-size: 13px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-legal a { color: var(--gray-700); font-weight: 500; }
.footer-legal a:hover { color: var(--g-700); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px;
  height: 40px;
  background: var(--g-50);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--g-700);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s;
}
.socials a:hover {
  background: var(--g-500);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}

/* COOKIE */
.cookie {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: 28px;
  z-index: 1000;
  box-shadow: var(--shadow-xl);
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.cookie.show { transform: translateY(0); }
.cookie-header { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.cookie-header .ico {
  width: 40px;
  height: 40px;
  background: var(--g-100);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--g-700);
}
.cookie h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--gray-900);
}
.cookie p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-500);
  margin-bottom: 20px;
}
.cookie p a {
  color: var(--g-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.cookie .btn { padding: 13px 16px; font-size: 13px; justify-content: center; }
.cookie-legal {
  font-size: 11px;
  color: var(--gray-500);
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  line-height: 1.6;
  font-weight: 500;
}

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: all 0.85s cubic-bezier(0.2,0.8,0.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  nav.main { display: none; }
  .mobile-toggle { display: inline-flex; }
}
@media (max-width: 1024px) {
  .header { padding: 14px 20px; }
  .header.scrolled { padding: 10px 20px; }
  .logo img { height: 64px; }
  .header.scrolled .logo img { height: 52px; }
  .section { padding: 80px 24px; }
  .page-hero { padding: 56px 24px 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .logo img { height: 52px; }
  .logo-meta { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .cookie-actions { grid-template-columns: 1fr; }
  .cookie { left: 12px; right: 12px; bottom: 12px; padding: 22px; }
}

.sr-only { position: absolute; width:1px; height:1px; overflow:hidden; clip: rect(0,0,0,0); }

/* ===========================================================
   VIDEO HERO + ANNOUNCEMENT BANNER + MODERN BENTO NEWS
   =========================================================== */

/* VIDEO HERO */
.hero-video {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 32, 10, 0.55) 0%, rgba(17, 32, 10, 0.35) 40%, rgba(17, 32, 10, 0.88) 100%);
  z-index: 2;
}
.hero-video-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(111, 168, 49, 0.22), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(138, 194, 62, 0.15), transparent 50%);
  z-index: 3;
}
.hero-video-content {
  position: relative;
  z-index: 4;
  max-width: 1400px;
  margin: 0 auto;
  padding: 180px 32px 100px;
  width: 100%;
}
.hero-video .hero-tag {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero-video .hero-dot {
  background: var(--g-400);
  box-shadow: 0 0 0 4px rgba(138, 194, 62, 0.35);
}
.hero-video h1 {
  font-size: clamp(48px, 7.4vw, 104px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  max-width: 1100px;
  color: var(--white);
}
.hero-video h1 .accent {
  background: linear-gradient(135deg, var(--g-300) 0%, var(--g-400) 60%, var(--g-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.hero-video h1 .thin { font-weight: 400; opacity: 0.85; }
.hero-video .hero-lead {
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin-bottom: 44px;
}
.hero-video .hero-trust {
  border-top-color: rgba(255,255,255,0.18);
  max-width: 720px;
}
.hero-video .trust-num { color: var(--white); }
.hero-video .trust-label { color: rgba(255,255,255,0.65); }

.hero-video .btn-secondary {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border-color: rgba(255,255,255,0.30);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-video .btn-secondary:hover {
  background: rgba(255,255,255,0.96);
  color: var(--g-800);
  border-color: var(--white);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 4;
  animation: scrollBounce 3s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translate(-50%, 0); }
  50%     { transform: translate(-50%, -8px); }
}
.hero-scroll-cue .line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, transparent, var(--g-400));
}

/* PRESIDENT BANNER — foto larga + overlay limpo */
.president-banner {
  background: var(--white);
  padding: 32px 32px 20px;
  position: relative;
}
.president-banner-link {
  display: block;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  background: linear-gradient(125deg, var(--g-700) 0%, var(--g-500) 48%, var(--g-600) 100%);
}
.president-banner-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
/* textura "água" — brilhos radiais claros */
.president-banner-link::before {
  content: '';
  position: absolute;
  top: -40%;
  right: 8%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255,255,255,0.20), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.president-banner-link::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: 28%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 215, 103, 0.32), transparent 62%);
  pointer-events: none;
  z-index: 1;
}

.president-banner-info {
  position: relative;
  z-index: 3;
  padding: 28px 52px;
  text-align: center;
}
.president-banner-text {
  max-width: 880px;
  margin: 0 auto;
}
.president-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px 5px 8px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--r-full);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.president-banner-tag .pip {
  width: 6px; height: 6px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.35);
}
.president-banner-quote {
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.005em;
  margin-bottom: 26px;
}
.president-banner-quote .mark {
  font-family: Georgia, serif;
  font-size: 1.8em;
  line-height: 0;
  vertical-align: -0.35em;
  margin-right: 2px;
  opacity: 0.7;
}
.president-banner-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.president-banner-sign {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.president-banner-sign .av {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.55);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.president-banner-sign .av img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.president-banner-sign .who strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.president-banner-sign .who span {
  font-size: 14px;
  color: rgba(255,255,255,0.88);
}
.president-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px 5px 5px 18px;
  background: var(--white);
  color: var(--g-800);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  flex-shrink: 0;
}
.president-banner-cta .circle {
  width: 32px;
  height: 32px;
  background: var(--g-500);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.president-banner-link:hover .president-banner-cta { background: var(--g-50); }
.president-banner-link:hover .president-banner-cta .circle { transform: rotate(-45deg); }

@media (max-width: 860px) {
  .president-banner { padding: 28px 16px 18px; }
  .president-banner-info { padding: 32px 26px; }
}

/* ============================
   NEWS CARDS — image on top, light body below, "Ler mais »"
   ============================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.news-grid.compact { grid-template-columns: repeat(5, 1fr); gap: 18px; }

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  text-decoration: none;
  color: inherit;
  position: relative;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--g-300);
}
.news-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--g-50);
  overflow: hidden;
  position: relative;
}
.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.news-card:hover .news-card-image img { transform: scale(1.06); }

.news-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--white);
  color: var(--g-700);
  padding: 5px 10px;
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.news-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-meta {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.news-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-900);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.news-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--g-600);
  font-size: 13px;
  font-weight: 700;
  margin-top: auto;
  transition: all 0.25s;
}
.news-link::after { content: '»'; font-size: 14px; margin-left: 2px; transition: transform 0.25s; }
.news-card:hover .news-link { color: var(--g-700); }
.news-card:hover .news-link::after { transform: translateX(3px); }

/* COMPACT (used on /noticias) */
.news-grid.compact .news-card-image { aspect-ratio: 16 / 11; }
.news-grid.compact .news-body { padding: 14px 14px 16px; }
.news-grid.compact .news-card h3 { font-size: 14px; margin-bottom: 8px; }
.news-grid.compact .news-meta { font-size: 10px; margin-bottom: 6px; }
.news-grid.compact .news-link { font-size: 12px; }
.news-grid.compact .news-tag { font-size: 9px; padding: 4px 8px; }


@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid.compact { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .news-grid.compact { grid-template-columns: repeat(3, 1fr); }
  .news-card h3 { font-size: 14px; }
}
@media (max-width: 560px) {
  .news-grid, .news-grid.compact { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
}

/* When over-hero header is active, the banner sits below the full-screen video hero */
.has-video-hero { padding-top: 0 !important; }


/* ============================================================
   MENU MOBILE  (toggle via .nav-open em #header)
   ============================================================ */
.header { position: relative; }

@media (max-width: 1100px) {
  /* Anular o estilo "glassy" do over-hero no menu mobile */
  .header.over-hero:not(.scrolled) nav.main {
    background: var(--white);
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
  }
  /* Nav oculto por defeito; abre quando .nav-open */
  .header.nav-open nav.main,
  .header.over-hero.nav-open nav.main {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white) !important;
    border: none;
    border-top: 3px solid var(--g-500);
    box-shadow: 0 16px 48px rgba(0,0,0,0.13);
    z-index: 9999;
    padding: 8px 0 28px;
    max-height: 85vh;
    overflow-y: auto;
    gap: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Links de nível 1 */
  .header.nav-open .nav-link,
  .header.nav-open span.nav-link,
  .header.over-hero.nav-open nav.main .nav-link,
  .header.over-hero.nav-open nav.main span.nav-link {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800) !important;
    border-bottom: 1px solid var(--gray-50);
    cursor: pointer;
  }
  .header.nav-open .nav-link:hover,
  .header.nav-open span.nav-link:hover { background: var(--g-50); color: var(--g-700); }

  /* Indicador de dropdown */
  .header.nav-open .nav-caret { float: right; transition: transform .2s; }
  .header.nav-open .nav-item.open .nav-caret { transform: rotate(180deg); }

  /* Dropdown expande inline */
  .header.nav-open .nav-item { width: 100%; position: static; }
  .header.nav-open .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border-radius: 0;
    border: none;
    padding: 4px 0 8px;
    background: var(--gray-50);
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .header.nav-open .nav-item.open > .dropdown { display: block; }
  .header.nav-open .dropdown a {
    padding: 10px 40px;
    font-size: 14px;
    color: var(--gray-600);
    border-bottom: none;
  }
  .header.nav-open .dropdown a:hover { color: var(--g-700); background: var(--g-50); }

  /* Botão Aderir — esconder quando menu aberto para não poluir */
  .header.nav-open .btn.btn-primary { display: none; }

  /* Ícone do toggle já é gerido pelo JS (open/close) */
  .mobile-toggle { cursor: pointer; }
}

/* Ajustar grelha de notícias homepage para 4 colunas fixas */
@media (max-width: 860px) {
  .home-feature { grid-template-columns: 1fr; }
  .home-feature-img { min-height: 220px; }
}
@media (max-width: 480px) {
  .news-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .news-card h3 { font-size: 13px; }
}

/* Balão "Área Sócio" (junto ao Aderir) */
.socio-badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--g-700);background:var(--g-50);border:1px solid var(--g-300);border-radius:999px;padding:6px 13px;margin-right:12px;text-decoration:none;white-space:nowrap;letter-spacing:.01em;transition:all .2s;}
.socio-badge:hover{background:var(--g-100);border-color:var(--g-500);color:var(--g-700);}
@media (max-width:1100px){.socio-badge{display:none;}}

/* ===== Rodapé verde — global (todas as páginas) ===== */
footer{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--g-700) 0%,var(--g-500) 75%,var(--g-600) 100%);border-top:none;}
footer .footer-inner{position:relative;z-index:2;}
footer .footer-brand img{filter:brightness(0) invert(1);opacity:0.95;}
footer .footer-col h4{color:#fff;}
footer .footer-col a{color:rgba(255,255,255,0.82);}
footer .footer-col a:hover{color:#fff;}
footer .footer-about{color:rgba(255,255,255,0.86);}
footer .footer-address{color:rgba(255,255,255,0.86);}
footer .footer-address a{color:rgba(255,255,255,0.92);}
footer .footer-bottom{border-color:rgba(255,255,255,0.18);}
footer .footer-legal{color:rgba(255,255,255,0.8);}
footer .footer-legal a{color:rgba(255,255,255,0.88);}
footer .footer-legal a:hover{color:#fff;}
