/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== DESIGN TOKENS ===== */
:root {
  --color-primary:       #003D7D;
  --color-primary-dark:  #002F5F;
  --color-primary-light: #2F6FA8;
  --color-secondary:     #00A550;
  --color-accent:        #FDEC00;
  --color-bg:            #F5F7FA;
  --color-surface:       #FFFFFF;
  --color-border:        #D6DEE8;
  --color-text:          #1F2A37;
  --color-text-muted:    #6B7280;

  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);

  --container:  1200px;
  --gap:        2rem;
}

/* ===== UTILITIES ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--alt { background-color: var(--color-surface); }
.section--dark { background-color: var(--color-primary-dark); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== TYPOGRAPHY ===== */
.heading-xl { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.25; font-weight: 700; }
.heading-lg { font-family: var(--font-heading); font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.3; font-weight: 700; }
.heading-md { font-family: var(--font-heading); font-size: clamp(1.125rem, 2vw, 1.5rem); line-height: 1.4; font-weight: 700; }
.label { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.lead { font-size: 1.125rem; color: var(--color-text-muted); line-height: 1.75; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--color-secondary); color: #fff; }
.btn--primary:hover { background: #008c42; }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--ghost:hover { background: var(--color-primary); color: #fff; }
.btn--sm { padding: .5rem 1.25rem; font-size: .85rem; }

/* ===== BADGE / TAG ===== */
.badge {
  display: inline-block; padding: .2rem .75rem;
  border-radius: 99px; font-size: .75rem; font-weight: 600;
}
.badge--green { background: #e6f7ee; color: #006b34; }
.badge--blue  { background: #e6eef8; color: var(--color-primary); }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--color-accent); color: var(--color-text);
  padding: .5rem 1rem; font-weight: 700; border-radius: var(--radius-sm);
  z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-primary-dark);
  border-bottom: 3px solid var(--color-secondary);
  box-shadow: var(--shadow-md);
}
.page-home .site-header {
  border-bottom: 0;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 2rem;
}
.nav__logo {
  display: flex; align-items: center; gap: .875rem;
  flex-shrink: 0;
}
.nav__logo img { height: 44px; width: auto; }
.nav__logo-text { line-height: 1.2; }
.nav__logo-name { color: #fff; font-weight: 700; font-size: 1.1rem; }
.nav__logo-tagline { color: rgba(255,255,255,.65); font-size: .7rem; letter-spacing: .04em; }

.nav__links {
  display: flex; align-items: center; gap: .25rem;
}
.nav__links a {
  color: rgba(255,255,255,.85); font-size: .875rem; font-weight: 500;
  padding: .5rem .875rem; border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav__links a:hover, .nav__links a[aria-current="page"] {
  background: rgba(255,255,255,.12); color: #fff;
}
.nav__cta { margin-left: .5rem; }
.nav__toggle {
  display: none; background: none; border: none; cursor: pointer;
  color: #fff; padding: .5rem; border-radius: var(--radius-sm);
}

/* ===== MOBILE NAV ===== */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--color-primary-dark);
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: var(--shadow-lg);
  }
  .nav__links.open a { padding: .75rem 1rem; }
  .nav__cta { display: none; }
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
  color: #fff;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  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='%23ffffff' fill-opacity='0.03'%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");
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__label {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--color-accent); font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem;
}
.page-hero__label::before {
  content: ''; width: 24px; height: 2px; background: var(--color-accent);
}
.page-hero h1 { color: #fff; margin-bottom: .75rem; }
.page-hero .lead { color: rgba(255,255,255,.8); }

/* ===== HERO (home) ===== */
.hero {
  background: linear-gradient(135deg, #dbeeff 0%, #f2f8ff 58%, #ffffff 100%);
  color: var(--color-primary);
  padding: .5rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(47, 111, 168, .12) 0%, rgba(47, 111, 168, 0) 52%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 1.5rem; align-items: center;
}
.hero__label {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--color-accent); font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.hero__label::before {
  content: ''; width: 24px; height: 2px; background: var(--color-accent);
}
.hero h1 {
  color: var(--color-primary-dark);
  margin-bottom: 1.25rem;
  font-size: clamp(1.6rem, 2.9vw, 2.3rem);
}
.hero__desc { font-size: 1.1rem; color: var(--color-primary); line-height: 1.75; margin-bottom: 2rem; max-width: 520px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn--outline {
  color: var(--color-primary);
  border-color: var(--color-primary-light);
}
.hero .btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.hero__visual {
  display: flex; justify-content: center; align-items: center;
  margin-right: -10rem;
}
.hero__map-wrapper {
  width: 100%; max-width: 800px; position: relative;
}
.hero__map-wrapper svg {
  width: 100%; height: auto; display: block;
}
.map-state {
  fill: rgba(47, 111, 168, 0.55);
  stroke: rgba(0, 61, 125, .6);
  stroke-width: .6;
  cursor: default;
  transition: fill .18s, filter .18s;
}
.map-state--cadastrado {
  fill: rgba(0, 61, 125, 0.78);
  cursor: pointer;
}
.map-state--cadastrado:hover, .map-state--cadastrado.active {
  fill: #00A550;
  filter: drop-shadow(0 0 6px rgba(0,165,80,.6));
}
.map-state--inativo {
  opacity: .72;
}
.map-tooltip {
  position: fixed; z-index: 300; pointer-events: none;
  background: var(--color-primary-dark); color: #fff;
  padding: .45rem 1rem; border-radius: var(--radius-sm);
  font-size: .85rem; font-weight: 600; white-space: nowrap;
  border-left: 3px solid var(--color-secondary);
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(4px);
  transition: opacity .15s, transform .15s;
}
.map-tooltip.visible {
  opacity: 1; transform: translateY(0);
}
.map-loading {
  width: 100%; aspect-ratio: 1000/912;
  background: rgba(255,255,255,.75); border-radius: var(--radius-lg);
  border: 1px solid rgba(47, 111, 168, .18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(0, 61, 125, .65); font-size: .85rem;
}

@media (max-width: 900px) {
  .hero__map-wrapper { max-width: 560px; }
}
@media (max-width: 768px) {
  .hero { padding: .25rem 0 3.5rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__map-wrapper { max-width: 380px; }
}

/* ===== HOME QUICK LINKS ===== */
.quick-links__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.quick-link-card {
  background: var(--color-surface); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .875rem;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  text-decoration: none; color: inherit;
}
.quick-link-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-3px);
  border-color: var(--color-primary-light);
}
.quick-link-card__icon { font-size: 2rem; }
.quick-link-card h3 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--color-primary); }
.quick-link-card p { font-size: .875rem; color: var(--color-text-muted); line-height: 1.6; flex: 1; }
.quick-link-card__arrow {
  font-size: .85rem; font-weight: 600; color: var(--color-secondary);
  margin-top: .25rem;
}

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

/* ===== SOBRE / QUEM SOMOS ===== */
.sobre__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.sobre__section-label { color: var(--color-primary); margin-bottom: .75rem; }
.sobre__text p + p { margin-top: 1rem; }
.sobre__text .lead { margin-bottom: 1.5rem; }
.sobre__highlights { margin-top: 2rem; display: flex; flex-direction: column; gap: .875rem; }
.sobre__item {
  display: flex; align-items: flex-start; gap: .875rem;
  padding: 1rem 1.25rem; background: var(--color-bg);
  border-radius: var(--radius-md); border-left: 3px solid var(--color-secondary);
}
.sobre__item-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: .1rem; }
.sobre__item-text { font-size: .9rem; color: var(--color-text); line-height: 1.5; }
.sobre__item-text strong { color: var(--color-primary); display: block; margin-bottom: .2rem; }
.sobre__image-block {
  background: var(--color-primary);
  border-radius: var(--radius-lg); overflow: hidden;
  min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem; position: relative;
}
.sobre__image-block::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6) 100%);
}
.sobre__image-badge {
  position: relative; z-index: 1;
  background: var(--color-secondary); color: #fff;
  padding: 1.25rem 1.5rem; border-radius: var(--radius-md);
  font-size: .875rem; font-weight: 600; line-height: 1.5;
}

@media (max-width: 768px) {
  .sobre__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== MISSÃO / VISÃO / VALORES ===== */
.mvv__header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.mvv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.mvv__card {
  background: var(--color-surface); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s;
}
.mvv__card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.mvv__card-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
}
.mvv__card-icon--blue { background: #e6eef8; }
.mvv__card-icon--green { background: #e6f7ee; }
.mvv__card-icon--yellow { background: #fffbe6; }
.mvv__card h3 { margin-bottom: .75rem; color: var(--color-primary); }
.mvv__card p { font-size: .9rem; color: var(--color-text-muted); line-height: 1.65; }

@media (max-width: 768px) {
  .mvv__grid { grid-template-columns: 1fr; }
}

/* ===== ATUAÇÃO ===== */
.atuacao__header { margin-bottom: 3rem; }
.atuacao__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.atuacao__card {
  background: var(--color-surface); border-radius: var(--radius-lg);
  padding: 1.75rem; border: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.atuacao__card:hover { border-color: var(--color-primary-light); box-shadow: var(--shadow-md); }
.atuacao__num {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 700;
  color: var(--color-border); line-height: 1;
}
.atuacao__card h3 { font-family: var(--font-heading); font-size: 1rem; color: var(--color-primary); }
.atuacao__card p { font-size: .875rem; color: var(--color-text-muted); line-height: 1.6; flex: 1; }
.atuacao__card .badge { align-self: flex-start; }

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

/* ===== GOVERNANÇA ===== */
.gov__header { text-align: center; max-width: 600px; margin: 0 auto 3rem; }
.gov__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gov__card {
  text-align: center; padding: 2.5rem 1.75rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
}
.gov__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.1); margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; border: 2px solid rgba(255,255,255,.2);
}
.gov__card h3 { color: var(--color-accent); margin-bottom: .5rem; font-size: 1.1rem; }
.gov__card p { color: rgba(255,255,255,.75); font-size: .875rem; line-height: 1.6; }

@media (max-width: 768px) {
  .gov__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ===== MURAL DE PRESIDENTES ===== */
.mural__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.mural__card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.mural__card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.mural__avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--color-primary-dark);
  margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #fff;
  border: 3px solid var(--color-secondary);
  overflow: hidden;
}
.mural__avatar img { width: 100%; height: 100%; object-fit: cover; }
.mural__name { font-weight: 700; color: var(--color-primary); font-size: 1rem; margin-bottom: .25rem; }
.mural__period { font-size: .8rem; color: var(--color-secondary); font-weight: 600; letter-spacing: .04em; margin-bottom: .5rem; }
.mural__assoc { font-size: .8rem; color: var(--color-text-muted); }
@media (max-width: 600px) {
  .mural__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* ===== FILIADOS ===== */
.filiados__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.filiados__list { margin: 1.5rem 0; display: flex; flex-direction: column; gap: .75rem; }
.filiados__item {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .9rem; color: var(--color-text);
}
.filiados__item::before {
  content: '✓';
  color: var(--color-secondary); font-weight: 700; flex-shrink: 0;
  margin-top: .05rem;
}
.filiados__cta-block {
  background: var(--color-primary); border-radius: var(--radius-lg);
  padding: 2.5rem; color: #fff; text-align: center;
}
.filiados__cta-block h3 { color: #fff; margin-bottom: .75rem; }
.filiados__cta-block p { color: rgba(255,255,255,.8); font-size: .9rem; margin-bottom: 1.5rem; }

@media (max-width: 768px) {
  .filiados__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== NOTICIAS ===== */
.noticias__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem;
}
.noticias__header--split { margin-bottom: 2rem; }
.noticias__bloco + .noticias__bloco { margin-top: 3.25rem; }
.noticias__subheading { margin-bottom: 1.25rem; color: var(--color-primary); }
.noticias__empty {
  color: var(--color-text-muted);
  text-align: center;
  padding: 1.25rem 0 1.75rem;
}
.noticias__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.noticia-card {
  background: var(--color-surface); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s;
}
.noticia-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.noticia-card__img {
  background: var(--color-primary); height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.noticia-card__img--foto {
  background-size: cover;
  background-position: center;
  font-size: 0;
}
.noticia-card__body { padding: 1.5rem; }
.noticia-card__meta {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: .875rem; flex-wrap: wrap;
}
.noticia-card__date { font-size: .75rem; color: var(--color-text-muted); }
.noticia-card h3 { font-family: var(--font-heading); font-size: 1rem; color: var(--color-primary); margin-bottom: .5rem; line-height: 1.4; }
.noticia-card__assoc {
  margin-bottom: .45rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-secondary);
}
.noticia-card p { font-size: .85rem; color: var(--color-text-muted); line-height: 1.6; }
.noticia-card__link {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: 1rem; font-size: .85rem; font-weight: 600;
  color: var(--color-primary); transition: gap .2s;
}
.noticia-card__link:hover { gap: .6rem; }

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

/* ===== BANNER CTA ===== */
.cta-banner {
  background: linear-gradient(120deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #fff; text-align: center; padding: 5rem 0;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute;
  top: -60px; right: -60px; width: 240px; height: 240px;
  border-radius: 50%; background: rgba(0,165,80,.15); pointer-events: none;
}
.cta-banner::after {
  content: ''; position: absolute;
  bottom: -80px; left: -40px; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(253,236,0,.07); pointer-events: none;
}
.cta-banner__inner { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.8); max-width: 540px; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-banner__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__brand-name { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: .25rem; }
.footer__brand-desc { font-size: .85rem; color: rgba(255,255,255,.6); line-height: 1.6; margin-top: .75rem; }
.footer__org-info {
  margin-top: .9rem;
  font-size: .8rem;
  color: rgba(255,255,255,.68);
  line-height: 1.55;
}
.footer__org-info p { margin: 0; }
.footer__org-info p + p { margin-top: .3rem; }
.footer__green-bar { width: 40px; height: 3px; background: var(--color-secondary); margin: 1rem 0; }
.footer__social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.footer__social a {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1); display: flex; align-items: center;
  justify-content: center; font-size: .9rem; transition: background .2s;
}
.footer__social a:hover { background: var(--color-secondary); }
.footer__social-handles {
  margin-top: .7rem;
  font-size: .78rem;
  color: rgba(255,255,255,.62);
  line-height: 1.45;
}
.footer__col-title { color: #fff; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.25rem; }
.footer__links { display: flex; flex-direction: column; gap: .6rem; }
.footer__links a { font-size: .85rem; color: rgba(255,255,255,.65); transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  padding-top: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  font-size: .8rem; color: rgba(255,255,255,.5);
}
.footer__lgpd a { color: rgba(255,255,255,.65); transition: color .2s; }
.footer__lgpd a:hover { color: #fff; }
.footer__lgpd { display: flex; gap: 1.5rem; flex-wrap: wrap; }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ===== DIVIDERS & MISC ===== */
.section-label-line {
  display: flex; align-items: center; gap: .75rem; margin-bottom: .625rem;
}
.section-label-line span { color: var(--color-primary); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.section-label-line::after { content: ''; flex: 1; max-width: 40px; height: 2px; background: var(--color-secondary); }

.divider { width: 48px; height: 4px; background: var(--color-secondary); border-radius: 2px; margin: 1.25rem 0; }
.divider--center { margin: 1.25rem auto; }
.divider--white { background: rgba(255,255,255,.4); }

/* ===== POPUP ASSOCIAÇÃO ===== */
.assoc-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0, 15, 40, .65);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  animation: fadeOverlay .2s ease;
}
.assoc-overlay[hidden] { display: none; }
@keyframes fadeOverlay { from { opacity: 0; } to { opacity: 1; } }

.assoc-popup {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: slideUp .22s ease;
  position: relative;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.assoc-popup__header {
  background: var(--color-primary);
  padding: 1.5rem 1.75rem 1.25rem;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.assoc-popup__estado {
  font-size: .8rem; font-weight: 700; letter-spacing: .03em;
  color: var(--color-accent);
  border: 1px solid rgba(253,236,0,.4); border-radius: 99px;
  padding: .2rem .75rem;
}
.assoc-popup__icon { font-size: 1.75rem; }

.assoc-popup__body { padding: 1.5rem 1.75rem; }
.assoc-popup__nome {
  font-family: var(--font-heading); font-size: 1.15rem;
  color: var(--color-primary); margin-bottom: .4rem; line-height: 1.3;
}
.assoc-popup__descricao {
  font-size: .85rem; color: var(--color-text-muted);
  margin-bottom: 1.25rem; line-height: 1.5;
}
.assoc-popup__links {
  display: flex; flex-direction: column; gap: .6rem;
  border-top: 1px solid var(--color-border); padding-top: 1.1rem;
}
.assoc-popup__links li {
  display: flex; align-items: center; gap: .65rem; font-size: .875rem;
}
.assoc-popup__links .link-icon {
  width: 28px; height: 28px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .9rem;
}
.assoc-popup__links .link-icon--web   { background: #e6eef8; }
.assoc-popup__links .link-icon--email { background: #e6f7ee; }
.assoc-popup__links a {
  color: var(--color-primary-light); word-break: break-all;
  transition: color .15s;
}
.assoc-popup__links a:hover { color: var(--color-primary); text-decoration: underline; }

.assoc-popup__footer {
  padding: 1rem 1.75rem 1.5rem;
  display: flex; justify-content: flex-end; gap: .75rem;
  border-top: 1px solid var(--color-border);
}

.assoc-close {
  position: absolute; top: .875rem; right: .875rem;
  background: rgba(255,255,255,.15); border: none; color: #fff;
  width: 28px; height: 28px; border-radius: 50%; font-size: 1.1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s; line-height: 1;
}
.assoc-close:hover { background: rgba(255,255,255,.3); }
.assoc-close:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
