/**
 * SINDIBARRA — Componentes de Interface do Portal
 * Botões, Cards Editoriais, Formulários e Seções
 */

/* ==========================================================================
   1. BOTÕES E CTAs (#20, #209)
   ========================================================================== */
.sdb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.2;
}

.sdb-btn-primary {
  background-color: var(--color-brand);
  color: var(--color-white) !important;
}

.sdb-btn-primary:hover {
  background-color: var(--color-brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(197, 23, 46, 0.3);
}

.sdb-btn-primary:active {
  background-color: var(--color-brand-deep);
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 6px rgba(197, 23, 46, 0.4);
}

.sdb-btn-filiacao {
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
  color: var(--color-white) !important;
  box-shadow: 0 4px 12px rgba(197, 23, 46, 0.25);
}

.sdb-btn-filiacao:hover {
  background: var(--color-brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 23, 46, 0.35);
}

.sdb-btn-filiacao:active {
  background: var(--color-brand-deep);
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 6px rgba(197, 23, 46, 0.4);
}

.sdb-btn-secondary {
  background-color: var(--color-surface);
  color: var(--color-ink) !important;
  border-color: var(--color-border);
}

.sdb-btn-secondary:hover {
  background-color: var(--color-surface-2);
  border-color: #CBD5E1;
}

.sdb-btn-secondary:active {
  background-color: var(--color-border);
  transform: translateY(1px) scale(0.98);
}

.sdb-btn-outline {
  background-color: transparent;
  border-color: var(--color-brand);
  color: var(--color-brand) !important;
}

.sdb-btn-outline:hover {
  background-color: var(--color-brand);
  color: var(--color-white) !important;
}

.sdb-btn-outline:active {
  background-color: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
  color: var(--color-white) !important;
  transform: translateY(1px) scale(0.98);
}

.sdb-btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.sdb-btn-lg {
  padding: 16px 32px;
  font-size: 17px;
}

/* ==========================================================================
   2. HERO EDITORIAL ASSIMÉTRICO (#25, #141)
   ========================================================================== */
.sdb-hero-section,
.sdb-hero-editorial {
  padding: 32px 0 24px 0;
}

.sdb-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1024px) {
  .sdb-hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 24px;
    align-items: stretch;
  }
}

.sdb-hero-main {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

.sdb-hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
  border-radius: var(--radius-xl, 20px);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.sdb-hero-slides {
  display: grid;
  grid-template-areas: "slide";
  width: 100%;
  height: 100%;
  min-height: 440px;
}

.sdb-hero-slide {
  grid-area: slide;
  display: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  height: 100%;
  min-height: 440px;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
}

.sdb-hero-slide.is-active {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.sdb-hero-slider-nav {
  position: absolute;
  bottom: 24px;
  right: 28px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.sdb-hero-nav-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.15s ease;
}

.sdb-hero-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.sdb-hero-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sdb-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sdb-hero-dot.is-active {
  width: 22px;
  background: var(--color-brand);
}

.sdb-hero-card {
  position: relative;
  border-radius: var(--radius-xl, 20px);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.sdb-hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.sdb-hero-card-content {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.65) 30%, rgba(15, 23, 42, 0.95) 100%);
}

.sdb-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 12px 0;
  letter-spacing: -0.02em;
}

.sdb-hero-title a {
  color: #FFFFFF !important;
  text-decoration: none;
  transition: color 0.15s ease;
}

.sdb-hero-title a:hover {
  color: #FCA5A5 !important;
}

.sdb-hero-summary {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 600px;
}

.sdb-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #CBD5E1;
  font-weight: 500;
}

.sdb-hero-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}

.sdb-hero-side-card {
  position: relative;
  flex: 1;
  border-radius: var(--radius-lg, 14px);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.sdb-hero-side-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.sdb-hero-side-card--juridico {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.sdb-hero-side-card--filiacao {
  background: linear-gradient(135deg, #8F1022 0%, #C5172E 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.sdb-hero-side-fallback {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: #FFFFFF;
}

.sdb-hero-side-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.sdb-hero-side-content {
  position: relative;
  z-index: 2;
}

.sdb-hero-side-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin: 6px 0;
}

.sdb-hero-side-title a {
  color: #FFFFFF !important;
  text-decoration: none;
}

.sdb-hero-side-title a:hover {
  color: #FCA5A5 !important;
}

.sdb-hero-side-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  margin: 0;
}

.sdb-side-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.sdb-side-card:hover {
  border-color: var(--color-brand);
  transform: translateX(4px);
}

.sdb-side-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 8px;
  line-height: 1.3;
}

/* ==========================================================================
   3. ACESSOS RÁPIDOS ("ENCONTRE RAPIDAMENTE" #132)
   ========================================================================== */
.sdb-quick-access {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: 32px 0;
  background: var(--color-surface);
}

.sdb-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.sdb-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.sdb-quick-item:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.sdb-quick-icon {
  width: 36px;
  height: 36px;
  color: var(--color-brand);
}

/* ==========================================================================
   4. CABEÇALHOS DE SEÇÃO (#7)
   ========================================================================== */
.sdb-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-surface-2);
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 640px) {
  .sdb-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .sdb-section-header .sdb-news-carousel-actions,
  .sdb-section-header .sdb-btn {
    width: 100%;
    justify-content: space-between;
  }
}

.sdb-section-title-wrap h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800;
  color: var(--color-ink);
  line-height: 1.15;
}

.sdb-section-title-wrap p {
  font-size: 14px;
  color: var(--color-muted);
  margin-top: 4px;
}

.sdb-section-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brand);
  text-decoration: none;
  white-space: nowrap;
}

.sdb-section-more:hover {
  text-decoration: underline;
}

/* ==========================================================================
   5. CARDS DE CONTEÚDO (#148, #149)
   ========================================================================== */
/* Grade Geral de Cards */
.sdb-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Card de Notícia */
.sdb-news-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.sdb-news-card:hover {
  border-color: var(--color-brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.sdb-news-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0F172A;
  overflow: hidden;
}

.sdb-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sdb-news-card:hover .sdb-news-thumb img {
  transform: scale(1.04);
}

.sdb-news-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sdb-news-cat {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-brand);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sdb-news-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.25;
  margin-bottom: 8px;
}

.sdb-news-lead {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.sdb-news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--color-muted);
  margin-top: auto;
}

/* Card de Evento / Agenda (#32, #213) */
.sdb-event-card {
  display: flex;
  gap: 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.sdb-event-card:hover {
  border-color: var(--color-brand);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.sdb-event-datebox {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  text-align: center;
  flex-shrink: 0;
}

.sdb-event-day {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-brand);
  line-height: 1;
}

.sdb-event-month {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.sdb-event-info {
  display: flex;
  flex-direction: column;
}

.sdb-event-info h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.sdb-event-location {
  font-size: 13px;
  color: var(--color-muted);
}

/* Card de Benefício (#35, #211) */
.sdb-benefit-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.sdb-benefit-card:hover {
  border-color: var(--color-brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.sdb-benefit-badge {
  align-self: flex-start;
  background: #DCFCE7;
  color: #15803D;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.sdb-benefit-partner {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.sdb-benefit-discount {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-brand);
  margin-bottom: 10px;
}

.sdb-benefit-desc {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.4;
  margin-bottom: 16px;
}

/* Mural de Recados Vivo (#30, #215) */
.sdb-mural-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.sdb-mural-card {
  background: #FEF9C3;
  border: 1px solid #FEF08A;
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.sdb-mural-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #854D0E;
  margin-bottom: 8px;
}

.sdb-mural-card p {
  font-size: 13px;
  color: #713F12;
  line-height: 1.5;
  margin-bottom: 14px;
}

.sdb-mural-setor {
  font-size: 11px;
  font-weight: 700;
  color: #A16207;
  margin-top: auto;
}

/* Card de Documento (#38) */
.sdb-doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  gap: 16px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.sdb-doc-info {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.sdb-doc-body {
  min-width: 0;
  flex: 1;
}

.sdb-doc-badge {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-brand);
  font-weight: 800;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.sdb-doc-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.sdb-doc-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.sdb-doc-title a {
  color: inherit;
  text-decoration: none;
}

.sdb-doc-title a:hover {
  color: var(--color-brand);
}

.sdb-doc-version {
  font-size: 11px;
  font-weight: 700;
  background: var(--color-surface-2);
  color: var(--color-muted);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.sdb-doc-meta {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sdb-doc-changed {
  margin-top: 6px;
  font-size: 12px;
  color: #B45309;
  background: #FEF3C7;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  word-break: break-word;
}

.sdb-doc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sdb-favorite-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--color-muted);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sdb-favorite-btn:hover,
.sdb-favorite-btn.is-active {
  color: #D97706;
  border-color: #FBBF24;
  background: #FFFBEB;
}

@media (max-width: 768px) {
  .sdb-doc-row {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 12px;
    gap: 12px;
  }

  .sdb-doc-info {
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }

  .sdb-doc-title {
    font-size: 14px;
  }

  .sdb-doc-meta {
    font-size: 11px;
    line-height: 1.4;
  }

  .sdb-doc-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px dashed var(--color-border);
    padding-top: 10px;
  }

  .sdb-doc-actions .sdb-doc-download-btn {
    flex: 1;
    justify-content: center;
    text-align: center;
  }
}

/* Breadcrumbs (#68) */
.sdb-breadcrumbs {
  padding: 16px 0;
  font-size: 13px;
  color: var(--color-muted);
}

.sdb-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.sdb-breadcrumbs a {
  color: var(--color-muted);
  text-decoration: none;
}

.sdb-breadcrumbs a:hover {
  color: var(--color-brand);
}

.sdb-breadcrumb-sep {
  color: #CBD5E1;
}

/* ==========================================================================
   6. SEÇÕES ESPECIAIS DA HOMEPAGE & PORTAL (#140-#160)
   ========================================================================== */

/* Hero Editorial Assimétrico */
.sdb-hero-section {
  padding: 32px 0 24px 0;
}

.sdb-hero-card {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sdb-hero-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.sdb-hero-card-content {
  padding: 32px;
  color: #FFFFFF;
  width: 100%;
}

.sdb-hero-card-content .sdb-hero-title a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sdb-hero-card-content .sdb-hero-title a:hover {
  color: var(--color-surface-2);
}

.sdb-hero-side-card {
  position: relative;
  min-height: 205px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.sdb-hero-side-card:hover {
  transform: translateY(-2px);
}

.sdb-hero-side-content {
  padding: 20px;
  color: #FFFFFF;
  width: 100%;
}

.sdb-hero-side-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin: 6px 0 10px 0;
}

.sdb-hero-side-title a {
  color: #FFFFFF;
  text-decoration: none;
}

/* Badges */
.sdb-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-pill);
}

.sdb-badge-primary {
  background-color: var(--color-brand);
  color: #FFFFFF;
}

.sdb-badge-secondary {
  background-color: var(--color-surface);
  color: var(--color-ink);
}

.sdb-badge-alert {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

.sdb-badge-gold {
  background-color: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

/* ==========================================================================
   ESTADOS VAZIOS E FEEDBACK EDITORIAL (#24, #143, #145, #146)
   ========================================================================== */
.sdb-empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--color-surface, #F8FAFC);
  border: 1.5px dashed var(--color-border, #E2E8F0);
  border-radius: var(--radius-lg, 14px);
  text-align: center;
  gap: 10px;
  width: 100%;
}

.sdb-empty-state--sm {
  padding: 28px 16px;
}

.sdb-empty-icon {
  font-size: 32px;
  line-height: 1;
  opacity: 0.85;
}

.sdb-empty-state--sm .sdb-empty-icon {
  font-size: 26px;
}

.sdb-empty-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink, #0F172A);
  margin: 0;
}

.sdb-empty-desc {
  font-size: 14px;
  color: var(--color-muted, #64748B);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Barra de Acesso Rápido */
.sdb-quick-access-section {
  padding: 16px 0 32px 0;
}

.sdb-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .sdb-quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .sdb-quick-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.sdb-quick-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 14px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-ink);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sdb-quick-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand);
  box-shadow: 0 6px 16px rgba(197, 23, 46, 0.12);
}

.sdb-quick-highlight {
  border-color: rgba(197, 23, 46, 0.3);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F5 100%);
}

.sdb-quick-alert {
  border-color: rgba(185, 28, 28, 0.3);
  background: linear-gradient(180deg, #FFFFFF 0%, #FEF2F2 100%);
}

.sdb-quick-icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.sdb-quick-card:hover .sdb-quick-icon {
  transform: scale(1.15);
}

.sdb-quick-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 4px;
}

.sdb-quick-desc {
  font-size: 11px;
  color: var(--color-muted);
}

/* Seções Gerais */
.sdb-section {
  padding: 56px 0;
  overflow: visible;
}

.sdb-section-alt {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.sdb-section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-brand);
  margin-bottom: 4px;
}

.sdb-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--color-ink);
  line-height: 1.2;
}

.sdb-news-grid,
.sdb-events-grid,
.sdb-benefits-grid,
.sdb-courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .sdb-news-grid,
  .sdb-events-grid,
  .sdb-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sdb-news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sdb-courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   CARROSSEL DE ÚLTIMAS NOTÍCIAS (#143)
   ========================================================================== */
.sdb-news-carousel-wrap {
  position: relative;
  width: 100%;
  margin-top: 16px;
  overflow: hidden;
}

.sdb-news-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  user-select: none;
  touch-action: pan-y;
  outline: none;
}

.sdb-news-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 24px !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.sdb-news-slide {
  flex: 0 0 calc((100% - 48px) / 3) !important;
  width: calc((100% - 48px) / 3) !important;
  max-width: calc((100% - 48px) / 3) !important;
  box-sizing: border-box !important;
}

@media (max-width: 1023px) and (min-width: 640px) {
  .sdb-news-slide {
    flex: 0 0 calc((100% - 24px) / 2) !important;
    width: calc((100% - 24px) / 2) !important;
    max-width: calc((100% - 24px) / 2) !important;
  }
}

@media (max-width: 639px) {
  .sdb-news-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

.sdb-news-carousel-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sdb-carousel-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sdb-carousel-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sdb-carousel-arrow:hover:not(:disabled) {
  border-color: var(--color-brand);
  background: var(--color-brand);
  color: var(--color-white);
  transform: translateY(-1px);
}

.sdb-carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.sdb-news-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.sdb-news-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--color-gray-300);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sdb-news-carousel-dot.is-active {
  width: 24px;
  background: var(--color-brand);
}

.sdb-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

@media (min-width: 900px) {
  .sdb-split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
}

/* Callouts / Editais */
.sdb-callout-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-brand);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sdb-callout-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.sdb-callout-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--color-brand);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.sdb-callout-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.sdb-callout-title a {
  color: var(--color-ink);
  text-decoration: none;
}

.sdb-callout-title a:hover {
  color: var(--color-brand);
}

.sdb-callout-meta {
  display: block;
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 6px;
}

/* Cursos */
.sdb-course-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sdb-course-body {
  padding: 24px;
  flex-grow: 1;
}

.sdb-course-badge {
  display: inline-block;
  background: #E0E7FF;
  color: #3730A3;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.sdb-course-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.sdb-course-title a {
  color: var(--color-ink);
  text-decoration: none;
}

.sdb-course-excerpt {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.sdb-course-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-ink);
}

.sdb-course-footer {
  padding: 16px 24px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.sdb-btn-block {
  width: 100%;
}

/* Seção Filiação em 3 Passos */
.sdb-filiacao-section {
  padding: 64px 0;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
}

.sdb-filiacao-box {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.sdb-filiacao-header {
  margin-bottom: 48px;
}

.sdb-filiacao-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  margin: 16px 0;
  color: #FFFFFF;
}

.sdb-filiacao-lead {
  font-size: 17px;
  color: #E2E8F0;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 500;
}

.sdb-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: left;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .sdb-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sdb-step-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  backdrop-filter: blur(8px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.sdb-step-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.sdb-step-num {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
  box-shadow: 0 4px 12px rgba(197, 23, 46, 0.4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}

.sdb-step-item h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.sdb-step-item p {
  font-size: 14px;
  color: #CBD5E1;
  line-height: 1.55;
}

.sdb-filiacao-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sdb-filiacao-note {
  font-size: 13px;
  color: #CBD5E1;
  font-weight: 500;
}

/* Serviços / Jurídico e Transparência */
.sdb-split-grid--services {
  align-items: stretch;
}

.sdb-services-sticky-col {
  height: 100%;
  position: relative;
}

.sdb-service-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.sdb-service-box--sticky {
  height: auto;
  min-height: auto;
  align-self: start;
}

.sdb-service-box--sticky .sdb-service-list {
  flex-grow: 0;
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .sdb-service-box--sticky {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--header-height-scrolled, 64px) + 24px);
    z-index: 20;
    transition: top 0.25s ease, box-shadow 0.25s ease;
  }
}

.sdb-service-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
  min-width: 0;
}

.sdb-service-icon {
  font-size: 36px;
  line-height: 1;
  flex-shrink: 0;
}

.sdb-service-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-ink);
  margin-bottom: 6px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.sdb-service-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: break-word;
}

.sdb-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--color-ink);
  flex-grow: 1;
  min-width: 0;
}

.sdb-service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
}

.sdb-service-list li .sdb-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .sdb-service-box {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }

  .sdb-service-header {
    gap: 12px;
    margin-bottom: 16px;
  }

  .sdb-service-icon {
    font-size: 28px;
  }

  .sdb-service-title {
    font-size: 19px;
    line-height: 1.25;
  }

  .sdb-service-desc {
    font-size: 13px;
    line-height: 1.45;
  }

  .sdb-service-list {
    gap: 10px;
    font-size: 13px;
  }

  .sdb-service-box .sdb-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Chamada Canal de Denúncia */
.sdb-denuncia-cta-section {
  padding: 40px 0;
}

.sdb-denuncia-cta-card {
  background: linear-gradient(135deg, #B91C1C 0%, #991B1B 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 10px 25px rgba(185, 28, 28, 0.25);
}

@media (min-width: 900px) {
  .sdb-denuncia-cta-card {
    grid-template-columns: 3fr 1fr;
  }
}

.sdb-denuncia-cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800;
  color: #FFFFFF;
  margin: 12px 0;
  line-height: 1.2;
}

.sdb-denuncia-cta-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.sdb-btn-white {
  background: #FFFFFF;
  color: #B91C1C !important;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sdb-btn-white:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
}

/* Sobre o Sindibarra */
.sdb-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .sdb-about-grid {
    grid-template-columns: 7fr 5fr;
  }
}

.sdb-about-text .sdb-lead-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.5;
  margin-bottom: 16px;
}

.sdb-about-text p {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.sdb-about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.sdb-stat-item {
  display: flex;
  flex-direction: column;
}

.sdb-stat-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-brand);
  line-height: 1;
}

.sdb-stat-label {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 6px;
  line-height: 1.3;
}

.sdb-about-card {
  background: var(--color-navy, #0F172A);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}

.sdb-about-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.sdb-about-card p {
  font-size: 14px;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 0;
}

.sdb-about-card strong {
  color: #F8FAFC;
}

/* ==========================================================================
   7. FORMULÁRIOS & CANAL DE DENÚNCIAS (#41, #42, #43)
   ========================================================================== */
.sdb-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .sdb-form-card {
    padding: 48px;
  }
}

.sdb-form-group {
  margin-bottom: 24px;
}

.sdb-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .sdb-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.sdb-form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 8px;
}

.sdb-form-label .sdb-req {
  color: var(--color-brand);
}

.sdb-form-control,
.sdb-form-select,
.sdb-form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-ink);
  background-color: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: all 0.2s ease;
  outline: none;
}

.sdb-form-control:focus,
.sdb-form-select:focus,
.sdb-form-textarea:focus {
  background-color: var(--color-white);
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(197, 23, 46, 0.15);
}

.sdb-form-textarea {
  min-height: 140px;
  resize: vertical;
}

.sdb-form-help {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 6px;
}

.sdb-form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 16px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.sdb-form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--color-brand);
}

.sdb-form-checkbox-label {
  font-size: 14px;
  color: var(--color-ink);
  line-height: 1.4;
}

.sdb-feedback-box {
  margin-top: 24px;
  border-radius: var(--radius-md);
  padding: 24px;
}

.sdb-feedback-success {
  background-color: #ECFDF5;
  border: 1.5px solid #10B981;
  color: #065F46;
}

.sdb-feedback-success h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.sdb-feedback-error {
  background-color: #FEF2F2;
  border: 1.5px solid #EF4444;
  color: #991B1B;
}

.sdb-protocol-card {
  margin: 16px 0;
  background: #FFFFFF;
  border: 2px dashed #10B981;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.sdb-protocol-card span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-muted);
  letter-spacing: 0.5px;
}

.sdb-protocol-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--color-brand);
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ==========================================================================
   NOVA CAMADA: AGORA NO SINDIBARRA (#7, #8, #9)
   ========================================================================== */
.sdb-agora-section {
  margin: 32px 0;
}

.sdb-agora-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sdb-agora-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(197, 23, 46, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.sdb-agora-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.sdb-agora-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #FFFFFF;
}

.sdb-agora-live-pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: sdbPulse 2s infinite;
}

@keyframes sdbPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.sdb-agora-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.sdb-agora-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: transform var(--motion-fast) var(--ease-standard),
              background var(--motion-fast) var(--ease-standard),
              border-color var(--motion-fast) var(--ease-standard);
}

.sdb-agora-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.sdb-agora-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.sdb-agora-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.sdb-tag-hoje { background: var(--color-brand); color: #FFF; }
.sdb-tag-amanha { background: #F59E0B; color: #FFF; }
.sdb-tag-breve { background: #3B82F6; color: #FFF; }
.sdb-tag-andamento { background: #10B981; color: #FFF; }

.sdb-agora-text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #FFFFFF;
  margin: 0 0 8px 0;
}

.sdb-agora-context {
  font-size: 13px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sdb-agora-empty {
  text-align: center;
  padding: 32px 16px;
  color: #E2E8F0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.sdb-agora-empty p {
  color: #E2E8F0 !important;
  font-size: 15px;
  max-width: 520px;
  margin: 0;
  line-height: 1.5;
}

.sdb-agora-empty .sdb-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
  transition: all 0.2s ease;
}

.sdb-agora-empty .sdb-btn:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   NOVA CAMADA: COMMAND CENTER SEARCH (#10, #11, #12, #13)
   ========================================================================== */
.sdb-search-box {
  width: 100%;
  max-width: 680px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.sdb-command-header {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding: 16px 20px;
}

.sdb-command-icon {
  font-size: 20px;
  color: var(--color-muted);
  margin-right: 12px;
}

.sdb-command-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  color: var(--color-ink);
  outline: none;
}

.sdb-command-kbd {
  background: var(--color-surface-2);
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  margin-left: 8px;
}

.sdb-live-results {
  max-height: 440px;
  overflow-y: auto;
  padding: 12px 16px;
  display: none;
}

.sdb-live-results.has-results {
  display: block;
}

.sdb-search-group-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-muted);
  letter-spacing: 0.8px;
  margin: 12px 8px 6px 8px;
}

.sdb-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-ink);
  transition: background var(--motion-fast) var(--ease-standard);
  margin-bottom: 4px;
}

.sdb-search-row:hover,
.sdb-search-row:focus-visible {
  background: var(--color-surface);
  color: var(--color-brand);
}

.sdb-search-row-title {
  font-size: 14px;
  font-weight: 600;
  margin-right: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sdb-search-row-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-2);
  color: var(--color-muted);
  white-space: nowrap;
}

/* ==========================================================================
   NOVA CAMADA: QUICK FACTS & LEIA EM 1 MINUTO (#23, #26, #27, #28)
   ========================================================================== */
.sdb-quick-facts {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 4px solid var(--color-brand);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 28px 0;
}

.sdb-quick-facts-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-ink);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sdb-quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.sdb-quick-fact-item {
  display: flex;
  flex-direction: column;
}

.sdb-quick-fact-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
}

.sdb-quick-fact-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink);
  margin-top: 2px;
}

.sdb-leia-1min {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-left: 4px solid #F59E0B;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0;
}

.sdb-leia-1min-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #92400E;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sdb-leia-1min ul {
  margin: 0;
  padding-left: 20px;
  color: #78350F;
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   NOVA CAMADA: ACCORDION COM ROTAÇÃO (#65)
   ========================================================================== */
.sdb-accordion {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--color-white);
}

.sdb-accordion-header {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background var(--motion-fast) var(--ease-standard);
}

.sdb-accordion-header:hover {
  background: var(--color-surface);
}

.sdb-accordion-icon {
  font-size: 18px;
  transition: transform var(--motion-normal) var(--ease-standard);
}

.sdb-accordion.is-open .sdb-accordion-icon {
  transform: rotate(180deg);
}

.sdb-accordion-body {
  display: none;
  padding: 0 20px 20px 20px;
  color: var(--color-ink);
  font-size: 15px;
  line-height: 1.6;
}

.sdb-accordion.is-open .sdb-accordion-body {
  display: block;
}

/* ==========================================================================
   NOVA CAMADA: FAVORITOS LOCAL-FIRST (#18, #19, #20)
   ========================================================================== */
.sdb-favorite-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-muted);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--motion-fast) var(--ease-standard);
}

.sdb-favorite-btn:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.sdb-favorite-btn.is-active {
  background: #FEF2F2;
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.sdb-favorite-btn.is-active .sdb-fav-icon {
  color: var(--color-brand);
  font-variation-settings: 'FILL' 1;
}

/* Link animado com underline (#61) */
.sdb-animated-link {
  position: relative;
  text-decoration: none;
  color: var(--color-brand);
}

.sdb-animated-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--color-brand);
  transform-origin: bottom right;
  transition: transform var(--motion-normal) var(--ease-standard);
}

.sdb-animated-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* ==========================================================================
   BOTÕES FLUTUANTES DESKTOP & NOTEBOOK (WHATSAPP, INSTAGRAM, VOLTAR AO TOPO)
   ========================================================================== */
.sdb-floating-actions {
  display: none !important;
}

@media (min-width: 1024px) {
  .sdb-floating-actions {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: fixed;
    right: 28px;
    bottom: 32px;
    z-index: 990;
    pointer-events: none;
  }

  .sdb-floating-actions > * {
    pointer-events: auto;
  }

  .sdb-floating-btn {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.15);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.25s ease,
                filter 0.25s ease;
    outline: none;
  }

  .sdb-floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
  }

  /* Tooltip Flutuante Lateral */
  .sdb-floating-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  }

  .sdb-floating-tooltip::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: rgba(15, 23, 42, 0.92);
  }

  .sdb-floating-btn:hover .sdb-floating-tooltip,
  .sdb-floating-btn:focus-visible .sdb-floating-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
  }

  /* 1. WhatsApp Oficial */
  .sdb-floating-whatsapp {
    background: #25D366;
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }

  .sdb-floating-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
  }

  .sdb-floating-whatsapp:active {
    background: #128C7E;
    transform: translateY(1px) scale(0.96);
  }

  /* 2. Instagram Oficial */
  .sdb-floating-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(214, 36, 159, 0.4);
  }

  .sdb-floating-instagram:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 28px rgba(214, 36, 159, 0.55);
    filter: brightness(1.08);
  }

  .sdb-floating-instagram:active {
    transform: translateY(1px) scale(0.96);
    filter: brightness(0.95);
  }

  /* 3. Voltar ao Topo com Borda Circular de Progresso */
  .sdb-floating-top {
    background: #FFFFFF;
    color: var(--color-brand);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
  }

  .sdb-floating-top.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px) scale(0.85);
  }

  .sdb-floating-top:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 28px rgba(185, 28, 28, 0.25);
  }

  .sdb-floating-top:hover .sdb-top-icon {
    transform: translateY(-2px);
  }

  .sdb-floating-top:active {
    transform: translateY(1px) scale(0.96);
  }

  .sdb-scroll-progress-svg {
    position: absolute;
    inset: 0;
    width: 52px;
    height: 52px;
    transform: rotate(-90deg);
    pointer-events: none;
  }

  .sdb-scroll-track {
    fill: none;
    stroke: #E2E8F0;
    stroke-width: 3px;
  }

  .sdb-scroll-circle {
    fill: none;
    stroke: var(--color-brand);
    stroke-width: 3px;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
  }

  .sdb-top-icon {
    position: relative;
    z-index: 2;
    color: var(--color-brand);
  }
}

/* ==========================================================================
   FASE 1 & 2: REFINAMENTOS DE USABILIDADE (NIELSEN & NORMAN)
   ========================================================================== */

/* 1. Spinner Vetorial de Carregamento */
@keyframes sdbSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.sdb-spinner {
  animation: sdbSpin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

/* 2. Skeleton Loading no Live Search (Ctrl+K) */
.sdb-search-skeleton {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sdb-skeleton-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.sdb-skeleton-line {
  height: 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%);
  background-size: 200% 100%;
  animation: sdb-skeleton-shimmer 1.4s infinite linear;
}

.sdb-skeleton-title {
  width: 65%;
}

.sdb-skeleton-badge {
  width: 75px;
  height: 20px;
  border-radius: var(--radius-pill);
}

@keyframes sdb-skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* 3. Botão de Cópia de Protocolo no Canal de Denúncias */
.sdb-copy-protocol-btn {
  background: var(--color-surface) !important;
  color: var(--color-ink) !important;
  border: 1px solid var(--color-border) !important;
  font-weight: 700;
  transition: all 0.2s ease;
}

.sdb-copy-protocol-btn:hover {
  background: #FEF2F2 !important;
  border-color: var(--color-brand) !important;
  color: var(--color-brand) !important;
}

.sdb-copy-protocol-btn.is-copied {
  background: #ECFDF5 !important;
  border-color: #10B981 !important;
  color: #065F46 !important;
}

/* 4. Badges Interativos do Filtro de Notícias */
.sdb-news-filter-badge {
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 13px;
  border: 1px solid transparent;
}

.sdb-news-filter-badge.is-active {
  background-color: var(--color-brand) !important;
  color: var(--color-white) !important;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.25);
}

.sdb-news-filter-badge:hover:not(.is-active) {
  background-color: var(--color-surface-2) !important;
  border-color: #CBD5E1 !important;
  color: var(--color-brand) !important;
}

.sdb-news-card {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ========================================================================== */
/* SISTEMA DE BUSCA PREMIUM TOP & PROFISSIONAL (#SEARCH-SYSTEM)               */
/* ========================================================================== */

/* Container da Barra de Busca e Filtros */
.sdb-filter-card-premium {
  margin-top: 24px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
}

.sdb-search-bar-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

/* Wrapper com Ícone Embutido */
.sdb-search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
  display: flex;
  align-items: center;
}

.sdb-search-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  pointer-events: none;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

/* Campo de Busca Premium */
.sdb-input,
.sdb-search-field-input,
.sdb-search-input-wrap input[type="search"] {
  width: 100%;
  height: 52px;
  padding: 12px 20px 12px 50px !important;
  background-color: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 12px !important;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-ink);
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02) !important;
  outline: none !important;
  transition: border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease !important;
  -webkit-appearance: none;
  appearance: none;
}

.sdb-input::placeholder,
.sdb-search-field-input::placeholder,
.sdb-search-input-wrap input[type="search"]::placeholder {
  color: #94A3B8;
  font-weight: 400;
  font-size: 14.5px;
}

.sdb-input:hover,
.sdb-search-field-input:hover,
.sdb-search-input-wrap input[type="search"]:hover {
  border-color: #CBD5E1 !important;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.06) !important;
}

.sdb-input:focus,
.sdb-search-field-input:focus,
.sdb-search-input-wrap input[type="search"]:focus {
  border-color: var(--color-brand) !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 4px rgba(197, 23, 46, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06) !important;
}

.sdb-search-input-wrap:focus-within .sdb-search-input-icon {
  color: var(--color-brand);
  transform: translateY(-50%) scale(1.1);
}

/* Botão Limpar Nativo */
.sdb-input::-webkit-search-cancel-button,
.sdb-search-field-input::-webkit-search-cancel-button,
.sdb-search-input-wrap input[type="search"]::-webkit-search-cancel-button {
  cursor: pointer;
  padding-right: 6px;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.sdb-input::-webkit-search-cancel-button:hover,
.sdb-search-field-input::-webkit-search-cancel-button:hover {
  opacity: 1;
}

/* Botão Meus Salvos Integrado */
.sdb-filter-fav-btn {
  height: 52px;
  padding: 0 20px !important;
  border-radius: 12px !important;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border: 1.5px solid #E2E8F0 !important;
  background: #FFFFFF !important;
  color: var(--color-ink) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sdb-filter-fav-btn:hover {
  border-color: #CBD5E1 !important;
  background: #F8FAFC !important;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.06) !important;
  transform: translateY(-1px);
}

.sdb-filter-fav-btn.is-active {
  background: #FFFBEB !important;
  border-color: #F59E0B !important;
  color: #B45309 !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2) !important;
}

/* Formulário de Busca Global nas Páginas de Pesquisa / 404 */
.sdb-search-form-premium {
  display: flex;
  gap: 12px;
  align-items: stretch;
  width: 100%;
}

.sdb-search-form-premium .sdb-search-input-wrap {
  flex: 1;
}

.sdb-search-form-premium .sdb-btn {
  height: 52px;
  border-radius: 12px;
  padding: 0 24px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(197, 23, 46, 0.25);
}
