#denuncia {
  --denuncia-primary: #1d4790;
  --denuncia-secondary: #10182c;
  --denuncia-accent: #f49b45;
  --denuncia-surface: #f6f8fc;
  --denuncia-card-bg: rgba(255, 255, 255, 0.94);
  --denuncia-border: rgba(16, 24, 44, 0.12);
  --denuncia-text: #1b2435;
  --denuncia-muted: #5a677b;
}

#denuncia .denuncia-main {
  font-family: "Poppins", sans-serif;
  color: var(--denuncia-text);
}

#denuncia .denuncia-hero {
  position: relative;
  padding: 120px 24px 140px;
  background: linear-gradient(
      135deg,
      rgba(16, 24, 44, 0.94) 0%,
      rgba(29, 71, 144, 0.9) 65%,
      rgba(244, 155, 69, 0.85) 100%
    ),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1920&q=80")
      center/cover no-repeat;
  color: #ffffff;
  text-align: center;
}

#denuncia .denuncia-hero__inner {
  max-width: 960px;
  margin: 0 auto;
}

#denuncia .denuncia-hero__inner h1 {
  font-size: clamp(2.75rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 18px;
}

#denuncia .denuncia-hero__inner p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

#denuncia .denuncia-wrapper {
  position: relative;
  max-width: 1140px;
  margin: -90px auto 0;
  padding: 0 24px 40px;
}

#denuncia .denuncia-article {
  background: #ffffff;
  border-radius: .75rem;
  padding: clamp(20px, 5vw, 20px);
}

#denuncia .denuncia-card {
  background: var(--denuncia-card-bg);
  border-radius: .75rem;
  padding: 25px;
  border: 1px solid var(--denuncia-border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease,
    transform 0.3s ease;
}

#denuncia .denuncia-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--denuncia-primary),
    var(--denuncia-accent)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

#denuncia .denuncia-card:hover,
#denuncia .denuncia-card:focus-within {
  border-color: rgba(29, 71, 144, 0.35);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1),
    rgba(244, 155, 69, 0.08)
  );
  box-shadow: 0 14px 32px rgba(16, 24, 44, 0.15);
  transform: translateY(-4px);
}

#denuncia .denuncia-card:hover::before,
#denuncia .denuncia-card:focus-within::before {
  opacity: 1;
}

#denuncia .denuncia-card--soft {
  background: var(--denuncia-surface);
  border-color: rgba(16, 24, 44, 0.08);
  box-shadow: none;
  transform: none;
}

#denuncia .denuncia-card--soft::before {
  display: none;
}

#denuncia .denuncia-card--soft:hover,
#denuncia .denuncia-card--soft:focus-within {
  background: var(--denuncia-surface);
  border-color: rgba(16, 24, 44, 0.12);
  box-shadow: none;
  transform: none;
}

#denuncia .denuncia-section {
  margin: clamp(40px, 6vw, 72px) 0;
}

#denuncia .denuncia-section__title {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: var(--denuncia-primary);
  margin-top: 3rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 3rem;
  text-align: center;
}

#denuncia .denuncia-section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: .75rem;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(29, 71, 144, 0.4),
    rgba(244, 155, 69, 0.6),
    transparent
  );
}

#denuncia .denuncia-lead p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--denuncia-muted);
  margin-bottom: 18px;
}

#denuncia .denuncia-lead p:last-child {
  margin-bottom: 0;
}

#denuncia .denuncia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

#denuncia .denuncia-grid .denuncia-card {
  height: 100%;
  border: 1px solid rgba(29, 71, 144, 0.15);
  background: rgba(29, 71, 144, 0.05);
}

#denuncia .denuncia-card__header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 20px;
  justify-content: center;
  flex-direction: column;
}

#denuncia .denuncia-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--denuncia-secondary);
  margin: 0;
  font-family: "Poppins", sans-serif;
}

#denuncia .denuncia-card__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--denuncia-muted);
  margin: 0;
}

#denuncia .denuncia-icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(29, 71, 144, 0.12),
    rgba(244, 155, 69, 0.12)
  );
  color: var(--denuncia-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(29, 71, 144, 0.25);
}

#denuncia .denuncia-icon-badge--accent {
  background: linear-gradient(
    135deg,
    rgba(244, 155, 69, 0.2),
    rgba(255, 190, 120, 0.3)
  );
  color: var(--denuncia-accent);
  border-color: rgba(244, 155, 69, 0.4);
}

#denuncia .denuncia-card:hover .denuncia-icon-badge,
#denuncia .denuncia-card:focus-within .denuncia-icon-badge {
  background: linear-gradient(
    135deg,
    rgba(29, 71, 144, 0.2),
    rgba(244, 155, 69, 0.25)
  );
  border-color: rgba(29, 71, 144, 0.35);
  box-shadow: 0 10px 24px rgba(16, 24, 44, 0.15);
  transform: scale(1.05);
}

#denuncia .denuncia-icon {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

#denuncia .denuncia-alert {
  margin: 60px auto;
  max-width: 640px;
  padding: 20px 24px;
  border-radius: .75rem;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 600;
}

#denuncia .denuncia-alert--warning {
  background: rgba(244, 155, 69, 0.18);
  color: var(--denuncia-secondary);
  border: 1px solid rgba(244, 155, 69, 0.35);
}

/* Formulário */
#denuncia .denuncia-form {
  animation: slideInLeft 0.8s ease-out;
}

#denuncia .form-group {
  margin-bottom: 20px;
  position: relative;
}

#denuncia .form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--denuncia-secondary);
  margin-bottom: 10px;
  letter-spacing: 0.2px;
  font-family: "Poppins", sans-serif;
}

#denuncia .form-group label .required {
  color: #dc3545;
  margin-left: 4px;
}

#denuncia .form-group input,
#denuncia .form-group textarea,
#denuncia .form-group select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(29, 71, 144, 0.15);
  border-radius: .75rem;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  color: var(--denuncia-secondary);
  background: #ffffff;
  transition: border-color 0.3s ease, background 0.3s ease;
}

#denuncia .form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231d4790' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

#denuncia .form-group input:focus,
#denuncia .form-group textarea:focus,
#denuncia .form-group select:focus {
  outline: none;
  border-color: var(--denuncia-accent);
  background: rgba(244, 155, 69, 0.05);
}

#denuncia .form-group textarea {
  resize: vertical;
  min-height: 140px;
}

#denuncia .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

#denuncia .form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
}

#denuncia .form-check-input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 2px solid rgba(35, 23, 115, 0.25);
  border-radius: .75rem;
  background: #ffffff;
  cursor: pointer;
  appearance: none;
  display: inline-block;
  position: relative;
  transition: all 0.2s ease;
}

#denuncia .form-check-input:checked {
  background: linear-gradient(135deg, #231773 0%, #2d1f8a 100%);
  border-color: #231773;
}

#denuncia .form-check-input:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 4px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#denuncia .form-check-label {
  color: #475569;
  line-height: 1.6;
  font-size: 0.9rem;
}

#denuncia .form-check-label small {
  display: block;
  font-size: 0.75rem;
  color: inherit;
}

#denuncia .form-check-link {
  display: inline;
  margin: 0;
  color: var(--denuncia-primary);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

#denuncia .form-check-link:hover {
  color: var(--denuncia-accent);
}

#denuncia .form-actions {
  margin-top: 24px;
}

#denuncia .submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  padding: 16px 28px;
  border-radius: .75rem;
  border: none !important;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff !important;
  background: linear-gradient(
    135deg,
    var(--denuncia-primary) 0%,
    var(--denuncia-secondary) 100%
  );
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

#denuncia .submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#denuncia .submit-btn:hover {
  transform: translateY(-2px);
}

#denuncia .denuncia-status-wrapper {
  margin-bottom: 32px;
}

#denuncia .status-banner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px;
  border-radius: 20px;
  border: 1px solid rgba(29, 71, 144, 0.18);
  background: rgba(29, 71, 144, 0.06);
  color: var(--denuncia-primary);
  animation: fadeInUp 0.4s ease-out;
}

#denuncia .status-banner--success {
  background: rgba(46, 204, 113, 0.18);
  border-color: rgba(39, 174, 96, 0.35);
  color: #1f7a4c;
}

#denuncia .status-banner--error {
  background: rgba(231, 76, 60, 0.16);
  border-color: rgba(231, 76, 60, 0.35);
  color: #8c2a20;
}

#denuncia .status-banner__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  text-align: center;
}

#denuncia .status-banner__details {
  margin-top: 8px;
}

#denuncia .status-banner__details p {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--denuncia-secondary);
}

#denuncia .status-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 768px) {
  #denuncia .denuncia-wrapper {
    padding: 0 20px 96px;
    margin-top: -70px;
  }

  #denuncia .denuncia-article {
    padding: 10px;
    border-radius: 24px;
  }

  #denuncia .denuncia-card {
    padding: 10px;
    border-radius: 20px;
  }

  #denuncia .denuncia-icon-badge {
    width: 40px;
    height: 40px;
  }

  #denuncia .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
