/* =========================================================
   VOLUNTERSUL 2027 — Bombeiros Voluntários do RS
   ========================================================= */
:root {
  --red: #d62028;
  --red-dark: #a8141b;
  --green: #00873e;
  --yellow: #fac800;
  --ink: #121418;
  --ink-2: #1c1f25;
  --ink-3: #2a2e36;
  --paper: #f6f3ee;
  --paper-2: #ece7df;
  --white: #ffffff;
  --text: #22252b;
  --muted: #5d636e;
  --line: rgba(18, 20, 24, .12);
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px -12px rgba(18, 20, 24, .25);
  --shadow-lg: 0 30px 60px -20px rgba(18, 20, 24, .35);
  --container: 1200px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .005em;
  color: var(--ink);
  margin: 0 0 .5em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

/* RS flag stripe */
.flag-stripe { display: flex; height: 6px; }
.flag-stripe span { flex: 1; }
.flag-stripe span:nth-child(1) { background: var(--green); }
.flag-stripe span:nth-child(2) { background: var(--red); }
.flag-stripe span:nth-child(3) { background: var(--yellow); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #c9ccd2; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--yellow); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-emerg { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.topbar-emerg b { background: var(--red); color: #fff; padding: 2px 8px; border-radius: 6px; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .04em; }
@media (max-width: 760px) { .topbar-info .hide-sm { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .35); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 58px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.65rem; letter-spacing: .03em; }
.brand-text small { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-top: 4px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 12px; border-radius: 10px; white-space: nowrap;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--paper); color: var(--red); }
.main-nav a[aria-current="page"] { color: var(--red); }
.main-nav a[aria-current="page"]::after { content: ""; display: block; height: 3px; margin-top: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--green) 33%, var(--red) 33% 66%, var(--yellow) 66%); }
.main-nav .btn { margin-left: 8px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .3s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; z-index: 200;
    transform: translateX(100%); transition: transform .35s var(--ease); padding: 96px 20px 24px;
    box-shadow: var(--shadow-lg); overflow-y: auto;
  }
  .nav-open .main-nav { transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; }
  .main-nav .btn { margin: 12px 0 0; text-align: center; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(18, 20, 24, .5); z-index: 150; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  .nav-toggle { position: relative; z-index: 250; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; text-align: center; max-width: 100%; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(214, 32, 40, .7); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.main-nav a.btn-primary, .main-nav a.btn-primary:hover { color: #fff; background: var(--red); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffd83a; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(214, 32, 40, .45), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(0, 135, 62, .35), transparent 60%),
    var(--ink);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: repeating-linear-gradient(135deg, #fff 0 2px, transparent 2px 22px);
}
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 110px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--yellow); display: block; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow);
}
.eyebrow::before { content: ""; width: 32px; height: 3px; background: linear-gradient(90deg, var(--green) 33%, var(--red) 33% 66%, var(--yellow) 66%); border-radius: 3px; }
.hero-lead { font-size: 1.2rem; color: #d7dae0; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-badge {
  position: relative; width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02) 70%);
  border: 1px solid rgba(255, 255, 255, .12);
}
.hero-badge::before, .hero-badge::after {
  content: ""; position: absolute; inset: -22px; border-radius: 50%;
  border: 2px dashed rgba(250, 200, 0, .35); animation: spin 60s linear infinite;
}
.hero-badge::after { inset: -48px; border: 1px solid rgba(255, 255, 255, .08); animation: none; }
.hero-badge img { width: 76%; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .55)); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-chip {
  position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: .85rem; line-height: 1.2;
}
.hero-chip b { font-family: var(--font-display); font-size: 1.7rem; display: block; color: var(--red); }
.hero-chip.c1 { left: 0; top: 14%; }
.hero-chip.c2 { right: 0; bottom: 10%; }
.hero-chip.c2 b { color: var(--green); }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; color: var(--paper); }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: minmax(0, 1fr); padding-top: 56px; padding-bottom: 90px; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-badge { width: min(300px, 75%); }
  .hero-chip { padding: 10px 12px; }
  .hero-chip b { font-size: 1.35rem; }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-white { background: #fff; }
.section-dark { background: var(--ink); color: #c9ccd2; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.section-dark .section-head p { color: #a9aeb7; }
.section-head .eyebrow { color: var(--red); }
.section-dark .section-head .eyebrow { color: var(--yellow); }
@media (max-width: 700px) { .section { padding: 72px 0; } }

/* ---------- Stats ---------- */
.stats { margin-top: -60px; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 30px 24px; border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: 0; }
.stat::before { content: ""; position: absolute; top: 0; left: 24px; width: 34px; height: 4px; border-radius: 0 0 4px 4px; background: var(--red); }
.stat:nth-child(2)::before { background: var(--green); }
.stat:nth-child(3)::before { background: var(--yellow); }
.stat:nth-child(4)::before { background: var(--ink); }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; color: var(--ink); display: block; }
.stat-label { display: block; margin-top: 8px; font-size: .9rem; color: var(--muted); line-height: 1.35; }
.stats-note { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 960px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 40px; } .split.reverse > :first-child { order: 0; } }
.photo-frame { position: relative; }
.photo-frame img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.photo-frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius-lg); z-index: -1;
  background: repeating-linear-gradient(135deg, var(--red) 0 10px, transparent 10px 20px); opacity: .25;
}
.photo-tag {
  position: absolute; left: -16px; bottom: 28px; background: var(--yellow); color: var(--ink);
  padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow); font-weight: 700; line-height: 1.15;
}
.photo-tag b { font-family: var(--font-display); font-size: 2.2rem; display: block; }
@media (max-width: 600px) { .photo-tag { left: 10px; } .photo-frame::before { inset: 12px -8px -12px 8px; } }

.check-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: 0 0 26px; height: 26px; border-radius: 50%; margin-top: 1px;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; }
.card-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(214, 32, 40, .1); color: var(--red);
}
.card-icon svg { width: 28px; height: 28px; }
.card.g .card-icon { background: rgba(0, 135, 62, .1); color: var(--green); }
.card.y .card-icon { background: rgba(250, 200, 0, .2); color: #8a6d00; }
.card.k .card-icon { background: rgba(18, 20, 24, .08); color: var(--ink); }
.section-dark .card { background: var(--ink-2); border-color: rgba(255, 255, 255, .08); }
.section-dark .card p { color: #a9aeb7; }
.section-dark .card h3 { color: #fff; }

.link-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.link-card .more { margin-top: auto; padding-top: 20px; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 8px; }
.link-card .more svg { width: 18px; transition: transform .2s; }
.link-card:hover .more svg { transform: translateX(4px); }
.link-card:hover { color: inherit; }

/* ---------- Steps (timeline) ---------- */
.timeline { position: relative; display: grid; gap: 28px; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(var(--green), var(--red), var(--yellow)); border-radius: 3px; }
.tl-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.tl-item::before { content: ""; position: absolute; left: -33px; top: 28px; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 4px solid var(--red); }
.tl-year { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--red); line-height: 1; margin-bottom: 6px; }
.tl-item p { margin: 0; color: var(--muted); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: step; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius-lg); padding: 30px 26px; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--yellow); display: block; margin-bottom: 16px; }
.step h3 { color: #fff; font-size: 1.35rem; }
.step p { color: #a9aeb7; margin: 0; font-size: .98rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--red); color: #fff; padding: 64px; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .88); margin: 0; font-size: 1.12rem; }
.cta-band .hero-actions { position: relative; z-index: 1; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; padding: 40px 28px; } }

/* ---------- News ---------- */
.news-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; display: grid; place-items: center; }
.news-thumb.t1 { background: linear-gradient(135deg, var(--red), #7c0e13); }
.news-thumb.t2 { background: linear-gradient(135deg, var(--green), #024a23); }
.news-thumb.t3 { background: linear-gradient(135deg, #3a3f49, var(--ink)); }
.news-thumb svg { width: 64px; height: 64px; color: rgba(255, 255, 255, .85); }
.news-thumb .tag { position: absolute; left: 16px; top: 16px; background: #fff; color: var(--ink); font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; }
.news-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.news-body time { font-size: .85rem; color: var(--muted); }
.news-body h3 { font-size: 1.4rem; margin: 8px 0 10px; }
.news-body h3 a { color: var(--ink); text-decoration: none; }
.news-body h3 a:hover { color: var(--red); }
.news-body p { color: var(--muted); font-size: .98rem; }

/* ---------- Partners / links ---------- */
.logo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 800px) { .logo-strip { grid-template-columns: repeat(2, 1fr); } }
.logo-strip a {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 96px; padding: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); text-transform: uppercase; letter-spacing: .03em;
  transition: border-color .2s, color .2s, transform .2s;
}
.logo-strip a:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); }

/* ---------- Page header ---------- */
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding: 72px 0 84px; }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .06; background-image: repeating-linear-gradient(135deg, #fff 0 2px, transparent 2px 22px); }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(214, 32, 40, .55), transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: .25em; }
.page-hero p { color: #c9ccd2; font-size: 1.15rem; max-width: 680px; margin: 0; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: #a9aeb7; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote {
  margin: 2em 0; padding: 24px 28px; border-left: 5px solid var(--red); background: #fff; border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; text-transform: uppercase; color: var(--ink);
}
.with-aside { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.aside-box { position: sticky; top: 100px; background: #fff; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); }
.aside-box h3 { font-size: 1.3rem; }
.aside-box ul { list-style: none; padding: 0; margin: 0 0 20px; }
.aside-box li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.aside-box li:last-child { border-bottom: 0; }
.aside-box a { text-decoration: none; font-weight: 600; color: var(--ink); }
.aside-box a:hover { color: var(--red); }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } .aside-box { position: static; } }

.note {
  background: rgba(250, 200, 0, .15); border: 1px dashed #c9a100; border-radius: var(--radius); padding: 14px 18px; font-size: .92rem; color: #5c4900;
}

/* ---------- Board ---------- */
.person { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 20px; }
.avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: #fff; background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.person:nth-child(3n+2) .avatar { background: linear-gradient(135deg, var(--green), #015a2a); }
.person:nth-child(3n+3) .avatar { background: linear-gradient(135deg, #3a3f49, var(--ink)); }
.person h3 { font-size: 1.25rem; margin-bottom: 4px; }
.person span { color: var(--muted); font-size: .92rem; }

/* ---------- Map ---------- */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #ddd; aspect-ratio: 16/9; position: relative; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .map-wrap { aspect-ratio: 4/5; } }
.region-list { columns: 3 220px; column-gap: 32px; padding: 0; list-style: none; }
.region-list li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.region-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: 0 0 8px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 700; font-size: 1.05rem; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 14px 16px; border-radius: 12px; border: 1.5px solid #d3cfc8; background: #fff; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(214, 32, 40, .12); }
.form-status { font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: var(--green); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ci { flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(214, 32, 40, .1); color: var(--red); }
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list span, .contact-list a { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a9aeb7; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 72px 0 48px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1.15rem; letter-spacing: .06em; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #d7dae0; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-brand img { width: 84px; margin-bottom: 16px; }
.footer-brand p { max-width: 340px; }
.footer-motto { font-family: var(--font-display); text-transform: uppercase; color: var(--yellow); font-size: 1.1rem; letter-spacing: .03em; line-height: 1.2; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--ink-3); transition: background .2s, transform .2s; }
.socials a:hover { background: var(--red); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }

/* ---------- Floating emergency ---------- */
.fab-193 {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: #fff; text-decoration: none; padding: 12px 18px 12px 14px; border-radius: 999px;
  font-weight: 700; box-shadow: 0 14px 30px -10px rgba(214, 32, 40, .8);
}
.fab-193:hover { color: #fff; background: var(--red-dark); }
.fab-193 .pulse { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

@media print {
  .topbar, .site-header, .site-footer, .fab-193, .hero-actions { display: none !important; }
  body { background: #fff; }
}

@media (max-width: 600px) {
  h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .hero-lead { font-size: 1.05rem; }
  .hero-actions .btn { width: 100%; }
  .stat { padding: 22px 16px; }
  .stat::before { left: 16px; }
  .hero-chip.c1 { left: -4px; } .hero-chip.c2 { right: -4px; }
  .brand-text small { display: none; }
  .fab-193 { padding: 10px 14px 10px 12px; font-size: .9rem; }
}
.brand-text small { white-space: nowrap; }
.main-nav a.btn { border-radius: 999px; padding: 12px 20px; }

/* ---------- Mapa interativo das corporações ---------- */
.cmap {
  display: grid; grid-template-columns: 340px minmax(0, 1fr); height: 640px;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.cmap-side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); }
.cmap-head { padding: 22px 20px 16px; border-bottom: 1px solid var(--line); background: var(--ink); color: #c9ccd2; }
.cmap-count { font-size: .9rem; margin-bottom: 12px; }
.cmap-count b { font-family: var(--font-display); font-size: 2rem; color: var(--yellow); margin-right: 4px; vertical-align: -3px; }
.cmap-search {
  width: 100%; font: inherit; font-size: .98rem; padding: 12px 14px 12px 40px; border-radius: 12px; border: 0; color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d636e' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 13px center/18px no-repeat;
}
.cmap-search:focus { outline: 3px solid var(--yellow); outline-offset: 0; }
.cmap-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip {
  --c: #fff; font: inherit; font-size: .76rem; font-weight: 600; cursor: pointer; padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #d7dae0; display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s, color .2s, border-color .2s;
}
.chip[data-region]:not([data-region=""])::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chip:hover { border-color: rgba(255, 255, 255, .5); color: #fff; }
.chip.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.cmap-list { overflow-y: auto; padding: 8px 12px 16px; flex: 1; min-height: 0; scrollbar-width: thin; }
.cmap-group h3 {
  font-size: .95rem; letter-spacing: .06em; margin: 14px 8px 6px; display: flex; align-items: center; gap: 8px; color: var(--ink);
}
.cmap-group h3 i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: 0 0 10px; }
.cmap-group h3 small { margin-left: auto; font-family: var(--font-body); font-size: .75rem; color: var(--muted); font-weight: 600; background: var(--paper); padding: 2px 8px; border-radius: 999px; }
.cmap-group ul { list-style: none; margin: 0; padding: 0; }
.cmap-item {
  width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; font: inherit; font-size: .95rem; color: var(--text);
  background: none; border: 0; padding: 9px 10px; border-radius: 10px; cursor: pointer; transition: background .15s, color .15s;
}
.cmap-item svg { width: 16px; height: 16px; color: var(--c); flex: 0 0 16px; }
.cmap-item:hover { background: var(--paper); }
.cmap-item.is-active { background: var(--ink); color: #fff; }
.cmap-item.is-active svg { color: var(--yellow); }
.cmap-empty { padding: 20px 10px; color: var(--muted); }
.cmap-map { position: relative; min-height: 0; background: #e8eef0; z-index: 0; }
.cmap-compact { display: block; height: 440px; position: relative; }
.cmap-compact .cmap-map { height: 100%; }
.cmap-open {
  position: absolute; left: 14px; bottom: 14px; z-index: 500; background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 700; font-size: .9rem; padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow);
}
.cmap-open:hover { background: var(--red); color: #fff; }
@media (max-width: 900px) {
  .cmap { grid-template-columns: 1fr; grid-template-rows: 420px auto; height: auto; }
  .cmap-side { order: 2; border-right: 0; border-top: 1px solid var(--line); }
  .cmap-map { order: 1; }
  .cmap-list { max-height: 420px; }
  .cmap-compact { height: 360px; }
}

/* marcadores */
.cpin { background: none; border: 0; }
.cpin span {
  --c: var(--red); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--c); border: 3px solid #fff; box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .45); transition: transform .2s var(--ease);
}
.cpin span svg { width: 16px; height: 16px; transform: rotate(45deg); fill: #fff; }
.cpin:hover span { transform: rotate(-45deg) scale(1.12); }
.cpin.is-active span { transform: rotate(-45deg) scale(1.25); border-color: var(--yellow); }

/* popup */
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: var(--shadow-lg); padding: 0; }
.leaflet-popup-content { margin: 16px 18px; font-family: var(--font-body); }
.cpop { display: grid; gap: 6px; min-width: 200px; }
.cpop strong { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; line-height: 1.05; color: var(--ink); }
.cpop-reg { --c: var(--red); display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cpop-reg::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.leaflet-container a.cpop-btn {
  margin-top: 6px; justify-self: start; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem; padding: 8px 14px; border-radius: 999px;
}
.leaflet-container a.cpop-btn:hover { background: var(--red-dark); }
.leaflet-container { font-family: var(--font-body); }
.leaflet-bar a { border-radius: 10px !important; }
.leaflet-control-zoom { border: 0 !important; box-shadow: var(--shadow) !important; border-radius: 12px !important; overflow: hidden; }
