/* ==========================================================================
   CTA - Centro de Tecnologia Alternativa do Vale do Guaporé
   Folha de estilo institucional - portal completo (2026)
   --------------------------------------------------------------------------
   1.  Variáveis e reset            7.  Seções da home
   2.  Acessibilidade               8.  Componentes de páginas internas
   3.  Cabeçalho e navegação        9.  Rodapé
   4.  Hero (home + interno)       10.  Responsividade
   5.  Botões
   6.  Métricas
   ========================================================================== */

/* 1. Variáveis e reset
   ========================================================================== */
:root {
  --green-950: #0d2417;
  --green-900: #102f1d;
  --green-800: #1e5b37;
  --green-650: #2e7d4a;
  --gold: #d8c39a;
  --gold-light: #ead8b4;
  --paper: #f7f4ed;
  --paper-2: #efeadd;
  --ink: #102015;
  --muted: #5f6f64;
  --white: #ffffff;
  --line: rgba(16, 32, 21, 0.12);
  --shadow-soft: 0 18px 55px rgba(13, 36, 23, 0.12);
  --shadow-deep: 0 24px 80px rgba(0, 0, 0, 0.28);
  --container: 1180px;
  --container-wide: 1320px;
  --header-offset: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; text-size-adjust: 100%; }

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
::selection { background: rgba(216, 195, 154, 0.55); color: var(--ink); }

/* 2. Acessibilidade
   ========================================================================== */
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 2000;
  padding: 12px 20px; border-radius: 999px;
  background: var(--green-950); color: var(--white);
  font-weight: 800; transition: top 180ms ease;
}
.skip-link:focus-visible { top: 16px; }
:focus-visible { outline: 3px solid rgba(216, 195, 154, 0.72); outline-offset: 4px; }

/* 3. Cabeçalho e navegação
   ========================================================================== */
.site-header {
  position: fixed; top: var(--header-offset); left: 0; z-index: 1000;
  width: 100%; padding: 0 clamp(12px, 2vw, 28px); pointer-events: none;
}
.header-shell {
  width: min(100%, 1560px); min-height: 78px; margin: 0 auto;
  padding: 10px 14px 10px 18px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: clamp(10px, 1.3vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px;
  background: rgba(13, 36, 23, 0.86);
  box-shadow: 0 16px 55px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  pointer-events: auto;
}
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand img { width: clamp(48px, 4.4vw, 60px); height: clamp(48px, 4.4vw, 60px); object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4)); }
.brand-text { display: none; color: var(--white); line-height: 1.05; }
.brand-text strong { display: block; font-size: 15px; font-weight: 900; letter-spacing: .01em; }
.brand-text span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

.main-nav { min-width: 0; display: flex; align-items: center; justify-content: center; gap: clamp(6px, 0.7vw, 15px); }
.main-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 38px; padding: 0 2px;
  color: rgba(255, 255, 255, 0.9); font-size: clamp(10.5px, 0.74vw, 12.5px);
  font-weight: 800; line-height: 1.1; text-transform: uppercase; white-space: nowrap;
  transition: color 180ms ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 18px; height: 2px;
  border-radius: 999px; background: var(--gold); opacity: 0;
  transform: translateX(-50%) scaleX(0.35); transition: opacity 180ms ease, transform 180ms ease;
}
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a[aria-current="page"] { color: var(--gold); }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a[aria-current="page"]::after { opacity: 1; transform: translateX(-50%) scaleX(1); }

.anniversary-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 0 clamp(14px, 1.4vw, 22px); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px; background: var(--gold); box-shadow: 0 10px 26px rgba(216, 195, 154, 0.2);
  color: var(--ink); font-size: 12.5px; font-weight: 900; line-height: 1; text-transform: uppercase;
  white-space: nowrap; transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.anniversary-button:hover, .anniversary-button:focus-visible { background: var(--gold-light); box-shadow: 0 16px 34px rgba(216, 195, 154, 0.34); transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); cursor: pointer; transition: background 180ms ease, border-color 180ms ease;
}
.nav-toggle:hover, .nav-toggle:focus-visible { border-color: rgba(216, 195, 154, 0.5); background: rgba(255, 255, 255, 0.14); }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 999px; background: var(--white); transition: transform 180ms ease, opacity 180ms ease; }
.header-shell.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-shell.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.header-shell.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 4. Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 90svh; display: flex; align-items: center; isolation: isolate;
  padding: clamp(150px, 16vh, 210px) clamp(20px, 5vw, 86px) clamp(70px, 10vh, 120px); color: var(--white);
}
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image { z-index: -3; background-color: var(--green-950); background-size: cover; background-position: center; }
.hero-overlay { z-index: -2; background: rgba(4, 16, 10, 0.3); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(4, 16, 10, 0.62) 0%, rgba(4, 16, 10, 0.34) 52%, rgba(4, 16, 10, 0.1) 100%);
}
.hero-content { width: min(100%, 1400px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 410px); align-items: end; gap: clamp(36px, 6vw, 92px); }
.hero-text { max-width: 850px; }

.section-kicker {
  display: inline-flex; align-items: center; max-width: 100%; padding: 9px 15px;
  border: 1px solid rgba(216, 195, 154, 0.3); border-radius: 999px; background: rgba(255, 255, 255, 0.08);
  color: var(--gold); font-size: clamp(10px, 1vw, 12px); font-weight: 900; line-height: 1.25;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.section-kicker.dark { border-color: rgba(30, 91, 55, 0.16); background: rgba(46, 125, 74, 0.08); color: var(--green-800); }

.hero h1 { margin-top: 24px; max-width: 900px; font-size: clamp(34px, 3.7vw, 58px); font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; text-shadow: 0 2px 24px rgba(0,0,0,0.5); }
.hero-text > p { text-shadow: 0 1px 14px rgba(0,0,0,0.5); }
.hero .section-kicker { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-text > p { max-width: 760px; margin-top: 28px; color: rgba(255, 255, 255, 0.88); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-card {
  width: 100%; padding: clamp(26px, 3vw, 38px); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 28px;
  background: rgba(13, 36, 23, 0.7); box-shadow: var(--shadow-deep);
  backdrop-filter: blur(24px) saturate(135%); -webkit-backdrop-filter: blur(24px) saturate(135%);
}
.hero-card span { display: block; color: var(--gold); font-size: 12px; font-weight: 900; line-height: 1.25; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-card strong { display: block; margin-top: 16px; color: var(--white); font-size: clamp(28px, 2.6vw, 38px); font-weight: 900; line-height: 1.08; }
.hero-card p { margin-top: 18px; color: rgba(255, 255, 255, 0.82); font-size: 16px; line-height: 1.75; }

/* Hero interno (páginas) */
.page-hero {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: clamp(360px, 52vh, 520px); padding: clamp(132px, 17vh, 200px) clamp(20px, 5vw, 86px) clamp(46px, 6vh, 74px);
  color: var(--white);
}
.page-hero-image, .page-hero-overlay { position: absolute; inset: 0; }
.page-hero-image { z-index: -3; background-color: var(--green-950); background-size: cover; background-position: center; }
.page-hero-overlay { z-index: -2; background: linear-gradient(180deg, rgba(4,16,10,.55) 0%, rgba(4,16,10,.5) 40%, rgba(4,16,10,.82) 100%); }
.page-hero-inner { width: min(100%, var(--container-wide)); margin: 0 auto; }
.page-hero h1 { margin-top: 18px; max-width: 18ch; font-size: clamp(34px, 4.4vw, 60px); font-weight: 900; line-height: 1.05; }
.page-hero p { max-width: 70ch; margin-top: 18px; color: rgba(255, 255, 255, 0.86); font-size: clamp(16px, 1.25vw, 20px); line-height: 1.65; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 600; }
.breadcrumb a { color: rgba(255,255,255,.72); transition: color 160ms ease; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,.4); }

/* 5. Botões
   ========================================================================== */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; max-width: 100%;
  padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 800; line-height: 1.15; text-align: center;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-1px); }
.button-primary { background: var(--gold); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18); color: var(--ink); }
.button-primary:hover, .button-primary:focus-visible { background: var(--gold-light); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22); }
.button-secondary { border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.08); color: var(--white); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: rgba(216, 195, 154, 0.5); background: rgba(255, 255, 255, 0.14); }
.button-dark { background: var(--green-950); color: var(--white); box-shadow: 0 16px 34px rgba(13, 36, 23, 0.18); }
.button-dark:hover, .button-dark:focus-visible { background: var(--green-800); }
.button-outline { border: 1px solid rgba(16,32,21,.2); background: transparent; color: var(--ink); }
.button-outline:hover, .button-outline:focus-visible { border-color: var(--green-650); background: rgba(46,125,74,.06); }

/* 6. Métricas
   ========================================================================== */
.metrics {
  position: relative; z-index: 5; width: min(calc(100% - 40px), var(--container)); margin: -42px auto 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden;
  border: 1px solid rgba(16, 32, 21, 0.08); border-radius: 24px; background: var(--white); box-shadow: var(--shadow-soft);
}
.metrics article { min-width: 0; padding: clamp(24px, 3vw, 36px); border-right: 1px solid rgba(16, 32, 21, 0.08); }
.metrics article:last-child { border-right: 0; }
.metrics strong { display: block; color: var(--green-800); font-size: clamp(30px, 3vw, 44px); font-weight: 900; line-height: 1; }
.metrics span { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.45; }

/* 7. Seções da home
   ========================================================================== */
.section { padding: clamp(76px, 9vw, 124px) clamp(20px, 5vw, 86px); }
.section.tight { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.section.alt { background: linear-gradient(180deg, var(--paper-2), rgba(255,255,255,0)); }
.section.cream { background: var(--paper-2); }
.section.dark { background: var(--green-950); color: var(--white); }

.section-grid, .section-heading, .cards-grid, .project-grid, .page-grid,
.anniversary-content, .contact-band, .footer-inner, .footer-bottom,
.prose, .pillars, .feature, .timeline, .voice-grid, .news-grid,
.partner-grid, .contact-grid, .map-figure, .gallery, .chips-block, .info-cards, .cta-banner {
  width: min(100%, var(--container)); margin-right: auto; margin-left: auto;
}
.wide { width: min(100%, var(--container-wide)) !important; }

.section-grid { display: grid; grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(34px, 6vw, 86px); }
.section-grid.reverse .image-panel { order: 2; }
.image-panel { overflow: hidden; border-radius: 28px; background: #dfe7dc; box-shadow: var(--shadow-soft); }
.image-panel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.image-panel.wide-ratio img { aspect-ratio: 16 / 10; }

.text-panel h2, .section-heading h2, .anniversary-content h2, .contact-band h2 { color: var(--ink); font-size: clamp(32px, 3.6vw, 52px); font-weight: 900; line-height: 1.1; }
.section.dark .section-heading h2, .section.dark .text-panel h2 { color: var(--white); }
.text-panel h2 { margin-top: 18px; }
.text-panel p { margin-top: 22px; color: var(--muted); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.78; }
.section.dark .text-panel p { color: rgba(255,255,255,.78); }

.text-link { display: inline-flex; align-items: center; margin-top: 28px; color: var(--green-800); font-weight: 900; line-height: 1.2; }
.section.dark .text-link { color: var(--gold); }
.text-link::after { content: ""; width: 34px; height: 2px; margin-left: 12px; border-radius: 999px; background: currentColor; transition: width 180ms ease; }
.text-link:hover::after, .text-link:focus-visible::after { width: 48px; }

.section-heading { max-width: 850px; text-align: center; }
.section-heading.left { text-align: left; margin-left: 0; }
.section-heading h2 { margin-top: 18px; }
.section-heading p { margin-top: 18px; color: var(--muted); font-size: clamp(16px,1.15vw,18px); line-height: 1.7; }
.section-heading.light h2 { color: var(--white); }
.section.dark .section-heading p { color: rgba(255,255,255,.74); }

.cards-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cards-grid.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.area-card, .project-grid article, .page-grid a { min-width: 0; border-radius: 22px; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease; }
.area-card { padding: 28px; border: 1px solid rgba(16, 32, 21, 0.09); background: rgba(255, 255, 255, 0.72); box-shadow: 0 12px 30px rgba(13, 36, 23, 0.06); }
.area-card:hover { border-color: rgba(46, 125, 74, 0.24); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.area-card span, .project-grid article span, .page-grid span, .contact-band span { display: inline-flex; color: var(--green-650); font-size: 12px; font-weight: 900; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; }
.area-card h3, .project-grid h3 { margin-top: 18px; color: var(--ink); font-size: clamp(20px, 1.6vw, 25px); font-weight: 900; line-height: 1.15; }
.area-card p, .project-grid p { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.72; }

.projects { background: var(--green-950); color: var(--white); }
.projects .section-kicker { background: rgba(216, 195, 154, 0.08); }
.project-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.project-grid.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.project-grid article { padding: 28px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.06); }
.project-grid article:hover { border-color: rgba(216, 195, 154, 0.38); background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.project-grid article span { color: var(--gold); }
.project-grid h3 { color: var(--white); }
.project-grid p { color: rgba(255, 255, 255, 0.74); }

.institutional-pages { background: var(--paper); }
.page-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.page-grid a { display: flex; min-height: 138px; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid rgba(16, 32, 21, 0.1); background: rgba(255, 255, 255, 0.6); }
.page-grid a:hover, .page-grid a:focus-visible { border-color: rgba(46, 125, 74, 0.26); background: var(--white); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.page-grid strong { color: var(--ink); font-size: 20px; font-weight: 900; line-height: 1.2; }

.anniversary-section { padding: clamp(76px, 9vw, 124px) clamp(20px, 5vw, 86px); background: #efe8d8; }
.anniversary-content { max-width: 920px; text-align: center; }
.anniversary-content h2 { margin-top: 18px; }
.anniversary-content p { margin: 24px auto 0; max-width: 760px; color: var(--muted); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.78; }
.anniversary-content .button { margin-top: 34px; }

.contact-band { margin-top: clamp(58px, 7vw, 90px); margin-bottom: clamp(58px, 7vw, 90px); padding: clamp(30px, 5vw, 54px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; border-radius: 28px; background: var(--green-800); box-shadow: var(--shadow-soft); color: var(--white); }
.contact-band span { color: var(--gold); }
.contact-band h2 { margin-top: 10px; color: var(--white); }
.contact-band p { max-width: 620px; margin-top: 12px; color: rgba(255, 255, 255, 0.78); font-size: 17px; }

/* 8. Componentes de páginas internas
   ========================================================================== */
/* Texto longo */
.prose { max-width: 820px; }
.prose .lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.6; color: var(--ink); font-weight: 500; }
.prose h2 { margin-top: 46px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 900; line-height: 1.15; color: var(--ink); }
.prose h3 { margin-top: 32px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 800; color: var(--green-800); }
.prose p { margin-top: 18px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.prose ul { margin-top: 18px; padding-left: 0; list-style: none; display: grid; gap: 12px; }
.prose ul li { position: relative; padding-left: 30px; color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 9px; height: 9px; border-radius: 3px; background: var(--green-650); transform: rotate(45deg); }
.prose strong { color: var(--ink); }
.prose a:not(.button) { color: var(--green-800); font-weight: 700; border-bottom: 1px solid rgba(46,125,74,.35); }
.prose a:not(.button):hover { color: var(--green-650); }

/* Pilares / cartões de valor */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.pillars.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.pillars.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.pillar { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 12px 30px rgba(13,36,23,.05); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.pillar:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: rgba(46,125,74,.22); }
.pillar .ico { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(46,125,74,.1); color: var(--green-800); font-size: 22px; font-weight: 900; }
.pillar h3 { margin-top: 18px; font-size: 21px; font-weight: 900; color: var(--ink); line-height: 1.2; }
.pillar p { margin-top: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.section.dark .pillar { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section.dark .pillar h3 { color: var(--white); }
.section.dark .pillar p { color: rgba(255,255,255,.74); }
.section.dark .pillar .ico { background: rgba(216,195,154,.12); color: var(--gold); }

/* Bloco feature alternado (imagem + texto) */
.feature { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(34px, 5vw, 72px); margin-top: clamp(40px,5vw,72px); }
.feature:first-of-type { margin-top: 0; }
.feature.reverse .feature-media { order: 2; }
.feature-media { overflow: hidden; border-radius: 26px; box-shadow: var(--shadow-soft); background: #dfe7dc; }
.feature-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-body h2 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 900; line-height: 1.12; color: var(--ink); }
.feature-body h3 { font-size: clamp(22px,2vw,28px); font-weight: 900; color: var(--ink); }
.feature-body p { margin-top: 16px; color: var(--muted); font-size: 16.5px; line-height: 1.78; }
.section.dark .feature-body h2, .section.dark .feature-body h3 { color: var(--white); }
.section.dark .feature-body p { color: rgba(255,255,255,.78); }

/* Linha do tempo */
.timeline { max-width: 900px; position: relative; margin-top: 56px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--green-650), rgba(46,125,74,.15)); }
.tl-item { position: relative; padding-bottom: 42px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -34px; top: 4px; width: 18px; height: 18px; border-radius: 999px; background: var(--white); border: 4px solid var(--green-650); box-shadow: 0 0 0 4px rgba(46,125,74,.12); }
.tl-item .year { display: inline-block; color: var(--green-800); font-weight: 900; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.tl-item h3 { margin-top: 6px; font-size: clamp(19px,1.7vw,23px); font-weight: 900; color: var(--ink); line-height: 1.2; }
.tl-item p { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.section.dark .timeline::before { background: linear-gradient(180deg, var(--gold), rgba(216,195,154,.15)); }
.section.dark .tl-item::before { background: var(--green-950); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(216,195,154,.15); }
.section.dark .tl-item .year { color: var(--gold); }
.section.dark .tl-item h3 { color: var(--white); }
.section.dark .tl-item p { color: rgba(255,255,255,.76); }

/* Chips / municípios */
.chips-block { margin-top: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 14px; font-weight: 700; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--green-650); }
.section.dark .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--white); }

/* Cartões de info (cidades/regiões) */
.info-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 40px; }
.info-card { padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 12px 30px rgba(13,36,23,.05); }
.info-card .tag { color: var(--green-650); font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.info-card h3 { margin-top: 10px; font-size: 20px; font-weight: 900; color: var(--ink); }
.info-card p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* Mapa */
.map-figure { margin-top: 44px; overflow: hidden; border-radius: 26px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-soft); }
.map-figure img { width: 100%; height: auto; }
.map-figure figcaption { padding: 16px 22px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }

/* Vozes do território */
.voice-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 50px; }
.voice-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 12px 30px rgba(13,36,23,.05); transition: transform 180ms ease, box-shadow 180ms ease; }
.voice-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.voice-card .ph { aspect-ratio: 4/3; background: var(--green-800); overflow: hidden; }
.voice-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.voice-card .body { padding: 24px; }
.voice-card .body .tag { color: var(--green-650); font-weight: 900; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.voice-card blockquote { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--ink); font-weight: 500; }
.voice-card cite { display: block; margin-top: 16px; font-style: normal; color: var(--muted); font-size: 14px; font-weight: 700; }

/* Notícias */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 50px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 12px 30px rgba(13,36,23,.05); transition: transform 180ms ease, box-shadow 180ms ease; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.news-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--green-800); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-card .meta { color: var(--green-650); font-weight: 800; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
.news-card h3 { margin-top: 10px; font-size: 19px; font-weight: 900; color: var(--ink); line-height: 1.25; }
.news-card p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.65; flex: 1; }
.news-card .text-link { margin-top: 18px; }

/* Parceiros */
.partner-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 44px; }
.partner-grid.cols-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.partner { display: flex; align-items: center; justify-content: center; min-height: 130px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 10px 26px rgba(13,36,23,.05); transition: transform 180ms ease, box-shadow 180ms ease; }
.partner:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.partner img { max-height: 78px; max-width: 100%; width: auto; object-fit: contain; }
.partner.text { flex-direction: column; text-align: center; }
.partner.text strong { font-size: 18px; font-weight: 900; color: var(--green-800); }
.partner.text span { margin-top: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-rows: 200px; gap: 14px; margin-top: 44px; }
.gallery figure { overflow: hidden; border-radius: 18px; background: var(--green-800); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .tall { grid-row: span 2; }
.gallery .wide-cell { grid-column: span 2; }

/* Citação em destaque */
.highlight-quote { width: min(100%, 980px); margin: clamp(40px,5vw,72px) auto; padding: clamp(30px,4vw,52px); border-radius: 28px; background: var(--green-800); color: var(--white); box-shadow: var(--shadow-soft); text-align: center; }
.highlight-quote p { font-size: clamp(20px, 2.2vw, 30px); font-weight: 800; line-height: 1.35; }
.highlight-quote cite { display: block; margin-top: 20px; font-style: normal; color: var(--gold); font-weight: 700; font-size: 15px; }

/* Faixa CTA genérica */
.cta-banner { margin: clamp(40px,5vw,72px) auto; padding: clamp(30px,5vw,54px); display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 28px; border-radius: 28px; background: var(--green-950); color: var(--white); box-shadow: var(--shadow-soft); }
.cta-banner h2 { font-size: clamp(26px,2.6vw,38px); color: var(--white); font-weight: 900; line-height: 1.12; }
.cta-banner p { margin-top: 10px; color: rgba(255,255,255,.78); font-size: 16.5px; max-width: 60ch; }

/* Contato */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(34px,5vw,64px); align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 10px 26px rgba(13,36,23,.04); }
.contact-item .ico { flex: 0 0 auto; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(46,125,74,.1); color: var(--green-800); font-size: 20px; }
.contact-item .tag { color: var(--green-650); font-weight: 900; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.contact-item p, .contact-item a { margin-top: 4px; color: var(--ink); font-size: 16px; line-height: 1.5; }
.contact-item a:hover { color: var(--green-800); }
.contact-item small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

.form-card { padding: clamp(26px,3vw,40px); border-radius: 26px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-soft); }
.form-card h2 { font-size: clamp(22px,2vw,28px); font-weight: 900; color: var(--ink); }
.form-card p.sub { margin-top: 8px; color: var(--muted); font-size: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-top: 16px; }
.field label { font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select { padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fbfaf6; color: var(--ink); transition: border-color 160ms ease, box-shadow 160ms ease; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-650); box-shadow: 0 0 0 3px rgba(46,125,74,.14); }
.field textarea { min-height: 130px; resize: vertical; }
.form-card .button { width: 100%; margin-top: 22px; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.form-note a { color: var(--green-800); font-weight: 800; border-bottom: 1px solid rgba(46,125,74,.28); }
.form-note a:hover, .form-note a:focus-visible { color: var(--green-650); border-bottom-color: currentColor; }
.form-feedback { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: rgba(46,125,74,.1); color: var(--green-800); font-weight: 700; font-size: 14px; display: none; }
.form-feedback.show { display: block; }

/* Redes sociais inline */
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 700; color: var(--ink); transition: border-color 160ms ease, background 160ms ease; }
.socials a:hover { border-color: var(--green-650); background: rgba(46,125,74,.06); }

/* Animação reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in { opacity: 1; transform: none; }

/* 9. Rodapé
   ========================================================================== */
.footer { padding: 64px clamp(20px, 5vw, 86px) 0; background: var(--green-950); color: var(--white); }
.footer-top { width: min(100%, var(--container)); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { width: 88px; height: 88px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,.35)); }
/* Botões sociais no rodapé escuro (corrige texto invisível por conflito com .footer-col a) */
.footer .socials a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.footer .socials a:hover, .footer .socials a:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.footer-brand strong { display: block; margin-top: 16px; font-size: 16px; font-weight: 900; }
.footer-brand p { margin-top: 8px; color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.6; max-width: 34ch; }
.footer-col h4 { color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.footer-col nav, .footer-col .lines { display: flex; flex-direction: column; gap: 11px; margin-top: 18px; }
.footer-col a, .footer-col .lines p { color: rgba(255,255,255,.74); font-size: 14.5px; font-weight: 600; transition: color 160ms ease; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { padding: 20px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-bottom p, .footer-bottom a { color: rgba(255,255,255,.55); font-size: 13px; }
.footer-bottom a { font-weight: 800; transition: color 160ms ease; }
.footer-bottom a:hover, .footer-bottom a:focus-visible { color: var(--gold); }
.footer-bottom .socials a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }

/* 10. Responsividade
   ========================================================================== */
/* O logotipo já contém o nome do CTA; o wordmark textual fica oculto para não duplicar. */

@media (max-width: 1366px) {
  .header-shell { min-height: 74px; gap: 9px; padding-right: 12px; }
  .brand { min-width: 120px; }
  .main-nav { gap: 8px; }
  .main-nav a { font-size: 10.5px; }
  .anniversary-button { min-height: 42px; padding-right: 14px; padding-left: 14px; font-size: 11.5px; }
  .hero-content { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); }
}

@media (max-width: 1300px) {
  .site-header { top: 10px; padding: 0 12px; }
  .header-shell { min-height: 0; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "brand action toggle"; gap: 10px; padding: 10px 12px 10px 16px; border-radius: 28px; }
  .brand { grid-area: brand; }
  .anniversary-button { grid-area: action; }
  .nav-toggle { display: flex; grid-area: toggle; }
  .main-nav { grid-area: nav; display: none; flex-direction: column; align-items: stretch; gap: 2px; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.1); max-height: 70vh; overflow-y: auto; }
  .header-shell.is-open { grid-template-areas: "brand action toggle" "nav nav nav"; }
  .header-shell.is-open .main-nav { display: flex; }
  .main-nav a { min-height: 44px; padding: 0 14px; border-radius: 14px; font-size: 13px; white-space: normal; }
  .main-nav a:hover, .main-nav a:focus-visible, .main-nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.08); }
  .main-nav a::after { display: none; }
  .hero { padding-top: 150px; }
  .hero-content { grid-template-columns: 1fr; gap: 34px; }
  .hero-card { max-width: 620px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics article:nth-child(2) { border-right: 0; }
  .metrics article:nth-child(-n + 2) { border-bottom: 1px solid rgba(16, 32, 21, 0.08); }
  .section-grid, .contact-band, .feature, .contact-grid { grid-template-columns: 1fr; }
  .feature.reverse .feature-media, .section-grid.reverse .image-panel { order: 0; }
  .image-panel img { aspect-ratio: 16 / 10; }
  .cards-grid, .project-grid, .page-grid, .pillars, .pillars.cols-4, .voice-grid, .news-grid, .info-cards, .partner-grid, .partner-grid.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-band { align-items: start; }
  .contact-band .button, .cta-banner .button { justify-self: start; }
  .cta-banner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .header-shell { padding: 9px 10px 9px 12px; border-radius: 24px; }
  .brand img { height: 46px; }
  .anniversary-button { min-height: 38px; padding: 0 12px; font-size: 11px; }
  .nav-toggle { width: 42px; height: 42px; }
  .hero { min-height: auto; padding: 140px 18px 66px; }
  .hero::before { background: rgba(4, 16, 10, 0.7); }
  .page-hero { padding: 124px 18px 48px; }
  .page-hero-overlay { background: rgba(4,16,10,.66); }
  .section-kicker { align-items: flex-start; border-radius: 18px; white-space: normal; }
  .hero h1 { margin-top: 20px; font-size: clamp(34px, 10vw, 48px); line-height: 1.06; }
  .hero-text > p { margin-top: 20px; font-size: 16px; line-height: 1.62; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .button { width: 100%; min-height: 50px; padding-right: 18px; padding-left: 18px; }
  .hero-card { padding: 24px; border-radius: 22px; }
  .hero-card strong { font-size: 28px; }
  .metrics { width: calc(100% - 28px); margin-top: -26px; grid-template-columns: 1fr; border-radius: 20px; }
  .metrics article, .metrics article:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(16, 32, 21, 0.08); }
  .metrics article:last-child { border-bottom: 0; }
  .section { padding-right: 18px; padding-left: 18px; }
  .text-panel h2, .section-heading h2, .anniversary-content h2, .contact-band h2 { font-size: clamp(28px, 8.4vw, 40px); line-height: 1.14; }
  .cards-grid, .project-grid, .page-grid, .pillars, .pillars.cols-2, .pillars.cols-4, .voice-grid, .news-grid, .info-cards, .partner-grid, .partner-grid.cols-5, .form-row { grid-template-columns: 1fr; }
  .area-card, .project-grid article, .page-grid a { border-radius: 18px; }
  .page-grid a { min-height: 116px; }
  .anniversary-section { padding-right: 18px; padding-left: 18px; }
  .contact-band { width: calc(100% - 36px); border-radius: 22px; }
  .footer { padding-right: 18px; padding-left: 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery .wide-cell, .gallery .tall { grid-column: auto; grid-row: auto; }
  .timeline { padding-left: 28px; }
  .tl-item::before { left: -28px; }
}

@media (max-width: 420px) {
  .site-header { padding: 0 8px; }
  .brand { min-width: 0; }
  .brand img { height: 42px; max-width: 140px; }
  .anniversary-button { padding: 0 10px; font-size: 10px; }
  .hero { padding-top: 128px; }
  .hero-card { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Data nas publicações/notícias */
.news-card .date { display: inline-block; margin-top: 6px; color: var(--green-800); font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.news-card .date::before { content: "🗓 "; }

/* Transparência — lista de documentos */
.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 30px; }
.doc-item { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 10px 26px rgba(13,36,23,.05); transition: transform .18s ease, box-shadow .18s ease; }
.doc-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.doc-item .doc-tag { color: var(--green-650); font-weight: 900; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.doc-item h3 { margin-top: 8px; font-size: 18px; font-weight: 900; color: var(--ink); line-height: 1.25; }
.doc-item p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.doc-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.doc-date { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 12px; border-radius: 999px; background: rgba(46,125,74,.08); color: var(--green-800); font-size: 13px; font-weight: 800; line-height: 1.2; }
.doc-dl { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(30,91,55,.16); background: var(--green-950); color: var(--white); box-shadow: 0 10px 24px rgba(13,36,23,.14); font-size: 13.5px; font-weight: 900; line-height: 1; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease; }
.doc-dl::before { content: ""; width: 17px; height: 17px; flex: 0 0 auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M9 15h6'/%3E%3Cpath d='M12 12v6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M9 15h6'/%3E%3Cpath d='M12 12v6'/%3E%3C/svg%3E") center / contain no-repeat; }
.doc-dl:hover, .doc-dl:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--ink); box-shadow: 0 14px 30px rgba(13,36,23,.18); transform: translateY(-1px); }
@media (max-width: 560px) {
  .doc-meta { align-items: stretch; }
  .doc-date, .doc-dl { width: 100%; justify-content: center; text-align: center; }
}
/* Enquadramento dos heros (evita cortar rostos) */
.page-hero-image, .hero-image { background-position: center 28%; }

/* Ícone nas métricas */
.metrics .m-ico { display:block; width:56px; height:56px; margin-bottom:14px; }
.metrics .m-ico svg { width:100%; height:100%; display:block; }

/* Lightbox da galeria */
.gallery img { cursor: zoom-in; }
.lightbox { position:fixed; inset:0; z-index:3000; display:none; align-items:center; justify-content:center; background:rgba(4,16,10,.92); padding:28px; }
.lightbox.open { display:flex; }
.lightbox img { max-width:92vw; max-height:88vh; border-radius:14px; box-shadow:0 30px 80px rgba(0,0,0,.55); }
.lightbox .lb-close { position:absolute; top:20px; right:24px; width:48px; height:48px; border-radius:999px; border:1px solid rgba(255,255,255,.3); background:rgba(255,255,255,.1); color:#fff; font-size:26px; line-height:1; cursor:pointer; transition:background .15s ease; }
.lightbox .lb-close:hover { background:rgba(255,255,255,.22); }
.gallery img:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

/* Ações do cabeçalho + seletor de idioma */
.header-actions { display: inline-flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 999px; background: rgba(255,255,255,.08); }
.lang-switch button { padding: 0; background: transparent; border: 0; line-height: 0; cursor: pointer; border-radius: 6px; opacity: .5; transition: opacity .15s ease, transform .15s ease, box-shadow .15s ease; }
.lang-switch button img { height: 22px; width: auto; display: block; border-radius: 5px; }
.lang-switch button.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--gold); }
.lang-switch button:hover { opacity: .9; transform: translateY(-1px); }
@media (max-width: 1300px) { .header-actions { grid-area: action; } }
@media (max-width: 480px) { .lang-switch button img { height: 19px; } }

/* Grid de 4 parceiros (home) + bandeiras limpas */
.partner-grid.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.lang-switch button img { height: 21px; width: auto; display: block; border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
@media (max-width: 1180px){ .partner-grid.cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Bandeiras inline do seletor de idioma */
.lang-switch .flag { width: 26px; height: 26px; display: block; flex: 0 0 auto; border-radius: 50%; }
/* Ícones temáticos em cartões */
.area-card .card-ico { display: inline-flex; width: 54px; height: 54px; margin-bottom: 6px; }
.area-card .card-ico svg, .pillar .card-ico svg { width: 100%; height: 100%; display: block; }
.pillar .card-ico { display: inline-flex; width: 52px; height: 52px; }

/* Ícone (line) dentro dos selos de pilar */
.pillar .ico svg { width: 26px; height: 26px; display: block; }
.pillar .ico { overflow: hidden; }
