/* ============================================================
   Ouvidoria Municipal — Rio Real / BA
   Estilos públicos: index, acompanhar, privacidade
   ============================================================ */

:root {
  --amarelo:    #FCB813;
  --azul:       #093F88;
  --verde:      #1A723A;
  --azul-claro: #e8f0fb;
  --cinza-bg:   #f5f6f8;
  --texto:      #1a1a2e;
  --subtexto:   #5a6275;
  --branco:     #ffffff;
  --borda:      #dde3ee;
  --sombra:     0 2px 16px rgba(9,63,136,0.08);
}

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

body {
  font-family: 'Source Sans 3', sans-serif;
  background: transparent;
  color: var(--texto);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* util-bar removida — substituída por .a11y-bar */

/* ── BARRA DE ACESSIBILIDADE ── */
.a11y-bar {
  background: #111827;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 101;
}
.a11y-bar-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.a11y-bar-left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.a11y-label {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-right: 2px;
}
.a11y-skip {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 3px;
  transition: color .15s;
}
.a11y-skip:hover { color: rgba(255,255,255,0.9); }
.a11y-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  border-radius: 4px;
  padding: 1px 7px;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, color .15s;
  line-height: 18px;
}
.a11y-btn:hover { background: rgba(255,255,255,0.16); color: #fff; }
.a11y-btn-contraste {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
}
.a11y-seguro {
  font-size: 11px;
  color: #6ee7b7;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 20px;
  padding: 1px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.a11y-seguro::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  flex-shrink: 0;
}

/* ── HEADER ── */
header {
  background: linear-gradient(135deg, #0c2d5a 0%, #093F88 40%, #1254a8 70%, #1a64c0 100%);
  padding: 0;
  position: sticky;
  top: 32px;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(9,63,136,0.35);
  isolation: isolate;
}
header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 60%, rgba(255,255,255,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(255,255,255,0.04) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}
header::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}
.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.header-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  outline-offset: 4px;
}
.header-logo-img {
  height: 54px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.25));
}

/* ── NAVBAR ── */
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-link {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 7px;
  border: 1px solid transparent;
  transition: background .18s, border-color .18s, color .18s;
  white-space: nowrap;
}
.nav-link:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.nav-link--active {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.nav-link--badge {
  background: var(--amarelo);
  color: var(--azul);
  border-color: transparent;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.03em;
  border-radius: 20px;
  padding: 7px 16px;
  margin-left: 4px;
}
.nav-link--badge:hover {
  background: #fdc92e;
  border-color: transparent;
  color: var(--azul);
}

/* Menu mobile toggle */
.header-menu-toggle {
  display: none;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 7px;
  padding: 8px 9px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.header-menu-toggle span {
  display: block;
  width: 19px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* Alto contraste */
body.alto-contraste { filter: invert(1) hue-rotate(180deg); }
body.alto-contraste img,
body.alto-contraste video { filter: invert(1) hue-rotate(180deg); }

/* mantido para compatibilidade */
.header-badge {
  display: inline-block;
  text-decoration: none;
  background: var(--amarelo);
  color: var(--azul);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--azul) 0%, #1a5cb5 100%);
  padding: 48px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(252,184,19,0.12) 0%, transparent 60%);
}
.hero-icon {
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.hero h2 {
  font-family: 'Merriweather', serif;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
}
.hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
}

/* ── CARDS TIPO ── */
.tipos-section {
  max-width: 900px;
  margin: -28px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}
.tipos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tipo-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--sombra);
  border-top: 3px solid var(--cor);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, border-width 0.1s;
}
.tipo-card:hover       { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(9,63,136,0.13); }
.tipo-card.selecionado { box-shadow: 0 0 0 3px var(--cor); }
.tipo-card .tipo-icon {
  width: 44px; height: 44px;
  background: color-mix(in srgb, var(--cor) 12%, white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
}
.tipo-card strong { display: block; font-size: 13px; font-weight: 600; color: var(--texto); margin-bottom: 4px; }
.tipo-card span   { font-size: 11px; color: var(--subtexto); line-height: 1.4; }

/* ── MAIN GRID ── */
.main {
  max-width: 900px;
  margin: 28px auto 48px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

/* ── FORMULÁRIO ── */
.form-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--sombra);
  overflow: hidden;
}
.form-header {
  background: var(--verde);
  padding: 18px 24px;
  display: flex; align-items: center; gap: 12px;
  transition: background 0.3s ease, color 0.3s ease;
}
.form-header svg { flex-shrink: 0; transition: stroke 0.3s ease; }
.form-header h3 { font-family: 'Merriweather', serif; font-size: 16px; color: #fff; font-weight: 700; transition: color 0.3s ease; }
.form-header p  { font-size: 11px; color: rgba(255,255,255,0.78); margin-top: 2px; transition: color 0.3s ease; }
.form-body { padding: 24px; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--subtexto);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--borda);
  border-radius: 7px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  color: var(--texto);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(9,63,136,0.1);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.anonimo-check {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: var(--azul-claro);
  border-radius: 7px;
  cursor: pointer;
  margin-bottom: 16px;
}
.anonimo-check input  { width: auto; }
.anonimo-check span   { font-size: 13px; color: var(--azul); font-weight: 500; }

/* Checkbox LGPD */
.lgpd-check {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 9px 12px;
  background: #fffbeb;
  border: 1px solid #fbd38d;
  border-radius: 7px;
  cursor: pointer;
  margin-top: 8px;
}
.lgpd-check input { width: auto; flex-shrink: 0; margin-top: 2px; }
.lgpd-check span  { font-size: 11px; color: #78350f; line-height: 1.5; }
.lgpd-check a     { color: #92400e; font-weight: 600; }

.btn-enviar {
  width: 100%;
  padding: 13px;
  background: linear-gradient(90deg, var(--verde) 0%, #239650 100%);
  color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-enviar:hover    { opacity: 0.9; transform: translateY(-1px); }
.btn-enviar:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 16px; }

.info-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--sombra);
  overflow: hidden;
}
.info-card-header {
  padding: 14px 18px;
  font-family: 'Merriweather', serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.bg-azul    { background: var(--azul); }
.bg-amarelo { background: var(--amarelo); color: var(--azul) !important; }
.bg-verde   { background: var(--verde); }

.info-card-body { padding: 16px 18px; }

.prazo-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--borda);
}
.prazo-item:last-child { border-bottom: none; }
.prazo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cor, var(--azul));
  margin-top: 5px; flex-shrink: 0;
}
.prazo-item p    { font-size: 13px; color: var(--texto); line-height: 1.4; }
.prazo-item span { font-size: 11px; color: var(--subtexto); }

.contato-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--borda);
  font-size: 13px;
  color: var(--texto);
}
.contato-item:last-child { border-bottom: none; }
.contato-item svg { flex-shrink: 0; }

.acompanhar-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--sombra);
  padding: 18px;
}
.acompanhar-box h4 {
  font-family: 'Merriweather', serif;
  font-size: 13px; font-weight: 700;
  color: var(--azul); margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.acompanhar-box p { font-size: 12px; color: var(--subtexto); margin-bottom: 12px; line-height: 1.5; }
.acompanhar-input { display: flex; gap: 6px; }
.acompanhar-input input {
  flex: 1; padding: 9px 10px;
  border: 1px solid var(--borda); border-radius: 7px;
  font-size: 13px; outline: none;
  font-family: 'Source Sans 3', sans-serif;
}
.acompanhar-input input:focus  { border-color: var(--azul); }
.acompanhar-input button {
  padding: 9px 14px;
  background: var(--azul); color: #fff;
  border: none; border-radius: 7px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: opacity 0.15s;
  font-family: 'Source Sans 3', sans-serif;
}
.acompanhar-input button:hover { opacity: 0.85; }

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #1a64c0 0%, #1254a8 30%, #093F88 60%, #0c2d5a 100%);
  padding: 20px 24px;
  text-align: center;
}
footer p { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.6; }
footer strong { color: rgba(255,255,255,0.9); }

/* ── SUCCESS STATE ── */
.success-msg {
  display: none;
  text-align: center;
  padding: 32px 24px;
}
.success-msg .check {
  width: 60px; height: 60px;
  background: #e6f4ec;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.success-msg h4 { font-family: 'Merriweather', serif; font-size: 18px; color: var(--verde); margin-bottom: 8px; }
.success-msg p  { font-size: 14px; color: var(--subtexto); line-height: 1.6; }

.btn-sucesso-primario,
.btn-sucesso-secundario {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .15s, transform .1s;
}
.btn-sucesso-primario   { background: var(--verde);    color: #fff; }
.btn-sucesso-secundario { background: var(--azul-claro); color: var(--azul); border: 1px solid var(--borda); }
.btn-sucesso-primario:hover,
.btn-sucesso-secundario:hover { opacity: .85; transform: translateY(-1px); }
.success-msg .protocolo {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--azul-claro);
  border-radius: 8px;
  font-size: 16px;
  color: var(--azul);
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background .15s, transform .1s;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.success-msg .protocolo::after {
  content: '📋';
  font-size: 14px;
  opacity: 0.6;
}
.success-msg .protocolo:hover {
  background: #d0e4f7;
  transform: translateY(-1px);
}

/* ── ACOMPANHAR PAGE ── */
.acomp-main {
  max-width: 680px;
  width: 100%;
  margin: 40px auto;
  padding: 0 20px 60px;
  flex: 1;
}
.acomp-main h2 { font-family: 'Merriweather', serif; font-size: 20px; color: var(--azul); margin-bottom: 6px; }
.acomp-main .sub { font-size: 14px; color: var(--subtexto); margin-bottom: 28px; }
.acomp-card { background: #fff; border-radius: 12px; box-shadow: var(--sombra); padding: 28px; margin-bottom: 20px; }
.search-row { display: flex; gap: 8px; flex-wrap: wrap; }
.search-row input {
  flex: 1; min-width: 160px; padding: 10px 14px;
  border: 1px solid var(--borda); border-radius: 8px;
  font-size: 14px; outline: none; font-family: inherit;
}
.search-row input:focus { border-color: var(--azul); box-shadow: 0 0 0 3px rgba(9,63,136,.1); }
.btn-buscar {
  padding: 10px 22px;
  background: var(--azul); color: #fff;
  border: none; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: opacity .15s;
}
.btn-buscar:hover { opacity: .88; }
.alerta-erro { background: #fff5f5; border: 1px solid #fc8181; border-radius: 8px; padding: 16px; color: #c53030; font-size: 14px; margin-bottom: 20px; }
.protocolo-badge { display: inline-block; background: #e8f0fb; color: var(--azul); font-weight: 700; font-size: 13px; padding: 4px 14px; border-radius: 20px; margin-bottom: 12px; }
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 20px; }
.meta-item label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--subtexto); display: block; margin-bottom: 2px; }
.meta-item span  { font-size: 14px; color: var(--texto); }
.status-pill { display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 13px; font-weight: 700; }

/* timeline */
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: var(--borda); }
.tl-item { position: relative; margin-bottom: 20px; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--azul); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--azul); position: absolute; left: -24px; top: 3px; }
.tl-status { font-size: 13px; font-weight: 700; color: var(--texto); }
.tl-obs    { font-size: 13px; color: var(--subtexto); margin-top: 2px; }
.tl-data   { font-size: 11px; color: var(--subtexto); margin-top: 2px; }

.resposta-publica { background: #f0fff4; border-left: 3px solid var(--verde); border-radius: 0 8px 8px 0; padding: 14px 16px; margin-bottom: 14px; }
.resposta-publica p { font-size: 14px; color: var(--texto); line-height: 1.6; white-space: pre-wrap; }
.resposta-meta { font-size: 11px; color: var(--subtexto); margin-top: 8px; }

/* ── ANIMAÇÕES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tipo-card                { animation: fadeUp 0.4s ease both; }
.tipo-card:nth-child(1)   { animation-delay: 0.05s; }
.tipo-card:nth-child(2)   { animation-delay: 0.12s; }
.tipo-card:nth-child(3)   { animation-delay: 0.19s; }
.form-card, .info-card, .acompanhar-box { animation: fadeUp 0.5s ease both; animation-delay: 0.25s; }

/* ── RESPONSIVO ── */
@media (max-width: 680px) {
  .tipos-grid            { grid-template-columns: 1fr; }
  .main                  { grid-template-columns: 1fr; }
  .field-row             { grid-template-columns: 1fr; }
  .hero h2               { font-size: 22px; }
  .header-badge          { display: none; }
  .meta-grid             { grid-template-columns: 1fr; }
  .search-row            { flex-direction: column; }
  /* header responsivo */
  .header-nav            { display: none; flex-direction: column; }
  .header-nav--open      { display: flex; position: absolute; top: 100%; left: 0; right: 0;
                           background: #093F88; padding: 12px 16px; gap: 4px; z-index: 99;
                           box-shadow: 0 8px 24px rgba(9,63,136,0.4); }
  .header-menu-toggle    { display: flex; }
  .header-logo-img       { height: 44px; }
  .header-inner          { padding: 10px 16px; }
  .a11y-bar-inner        { padding: 0 16px; }
  .a11y-label            { display: none; }
}

/* ── TAMANHO DE FONTE (acessibilidade) ── */
body.fonte-grande  { font-size: 18px; }
body.fonte-pequena { font-size: 13px; }

/* Hambúrguer → X quando aberto */
.header-menu-toggle--open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header-menu-toggle--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header-menu-toggle--open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── DICA DE PROTOCOLO (página acompanhar) ── */
.protocolo-dica {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--sombra);
  overflow: hidden;
  margin-top: 16px;
}
.protocolo-dica-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--borda);
}
.protocolo-dica-header strong {
  font-size: 14px;
  color: var(--texto);
  font-weight: 700;
}
.protocolo-dica-icone {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--azul-claro);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--azul);
}
.protocolo-dica-lista {
  list-style: none;
  padding: 16px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.protocolo-dica-lista li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--subtexto);
}
.protocolo-dica-lista li strong {
  color: var(--texto);
  font-weight: 600;
}
.dica-bullet {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--azul-claro);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--azul);
}
.protocolo-exemplo {
  display: inline-block;
  background: #eef2ff;
  color: #3730a3;
  font-family: 'Source Code Pro', 'Courier New', monospace;
  font-size: 12.5px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  border: 1px solid #c7d2fe;
}
.protocolo-dica-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  background: linear-gradient(90deg, rgba(9,63,136,0.05) 0%, transparent 100%);
  border-top: 1px solid var(--borda);
  font-size: 12px;
  color: var(--subtexto);
}
.protocolo-dica-footer strong { color: var(--azul); }
.protocolo-dica-footer svg { color: var(--azul); flex-shrink: 0; }

/* ── PARTICLES BACKGROUND ── */
#particles-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--cinza-bg);
}

/* Garante z-index correto em cada seção — sem quebrar position:sticky */
.hero              { z-index: 1; position: relative; }
.tipos-section     { z-index: 10; /* já tem position: relative */ }
.main              { position: relative; z-index: 1; }
.acomp-main        { position: relative; z-index: 1; }
.privacidade-corpo { position: relative; z-index: 1; }