/* =============================================
   SECÇÃO DE DOCUMENTOS E CONTRIBUIÇÕES
   ============================================= */

/* Header e Título */
.documents-section {
  position: relative;
  padding: 80px 0;
}

/* Tabs de Documentos - Layout Flex */
.document-tabs {
  gap: 1rem;
}

.doc-tab-btn {
  background: #ffffff;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 1.5rem 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 280px;
  flex: 1;
  max-width: 350px;
}

.doc-tab-btn:hover {
  border-color: #003865;
  background: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 56, 101, 0.15);
}

.doc-tab-btn.active {
  background: linear-gradient(135deg, #003865 0%, #004580 100%);
  border-color: #003865;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 56, 101, 0.3);
}

.doc-tab-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #003865;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.doc-tab-btn.active .doc-tab-icon {
  background: linear-gradient(135deg, #ef5b06 0%, #d64d00 100%);
  color: white;
  transform: scale(1.1);
}

.doc-tab-content {
  text-align: left;
  flex: 1;
}

.doc-tab-content h6 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #003865;
  transition: color 0.3s ease;
}

.doc-tab-btn.active .doc-tab-content h6 {
  color: white;
}

.doc-tab-content small {
  font-size: 0.8rem;
  color: #6c757d;
  transition: color 0.3s ease;
}

.doc-tab-btn.active .doc-tab-content small {
  color: rgba(255, 255, 255, 0.8);
}

/* Botão CTA com Pulse */
@keyframes pulse-soft {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 5px 20px rgba(239, 91, 6, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 10px 35px rgba(239, 91, 6, 0.6);
  }
}

/* Card do Visualizador PDF */
.pdf-viewer-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.pdf-viewer-card .card-header {
  background: linear-gradient(135deg, #003865 0%, #004580 100%);
  color: white;
  border: none;
  padding: 20px 30px;
}

.pdf-viewer-card .card-header h5 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.pdf-viewer-card .card-body {
  padding: 0;
}

#pdf-viewer {
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#pdf-viewer iframe {
  width: 100%;
  height: 700px;
  border: none;
  background: white;
}

.pdf-viewer-card .card-footer {
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.pdf-viewer-card .card-footer .btn-group {
  margin-right: 15px;
}

.pdf-viewer-card .card-footer .btn {
  min-width: 40px;
  border-color: #dee2e6;
}

.pdf-viewer-card .card-footer .btn:hover {
  background: #003865;
  border-color: #003865;
  color: white;
}

/* Cards de Estatísticas */
.stat-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: #003865;
}

.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  background: linear-gradient(135deg, #003865 0%, #004580 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #003865;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.95rem;
  color: #6c757d;
  font-weight: 500;
}

/* Responsividade */
@media (max-width: 768px) {
  .doc-tab-btn {
    min-width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
  }
  
  .document-tabs {
    flex-direction: column;
  }
  
  #pdf-viewer iframe {
    height: 500px;
  }
  
  .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* =============================================
   MODAL DE CONTRIBUIÇÃO - DESIGN COMPACTO
   ============================================= */

/* Stepper Horizontal Compacto */
.stepper-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.step-compact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.step-circle-compact {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
}

.step-compact.active .step-circle-compact {
  background: #ef5b06;
  border-color: #fdb913;
  color: white;
  box-shadow: 0 0 0 4px rgba(239, 91, 6, 0.2);
  transform: scale(1.1);
}

.step-compact.completed .step-circle-compact {
  background: #28a745;
  border-color: #28a745;
  color: transparent;
  font-size: 0;
}

.step-compact.completed .step-circle-compact::after {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.step-text-compact {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
  display: none;
}

.step-compact.active .step-text-compact {
  color: white;
  display: block;
}

.step-line-compact {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 0.5rem;
}

/* Card Compacto */
.form-step-card-compact {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
}

/* Labels e Inputs Compactos */
.form-label-compact {
  font-size: 0.85rem;
  font-weight: 600;
  color: #003865;
  margin-bottom: 0.4rem;
}

.input-group-compact {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.input-group-compact .input-group-text {
  background: linear-gradient(135deg, #003865 0%, #004580 100%);
  border: none;
  color: white;
  padding: 0.5rem 0.75rem;
}

.input-group-compact .form-control {
  border: 1px solid #e9ecef;
  border-left: none;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
}

.input-group-compact .form-control:focus {
  border-color: #003865;
  box-shadow: none;
}

/* Radio Buttons em Linha */
.radio-inline-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.radio-inline-option {
  display: inline-block;
  margin: 0;
  cursor: pointer;
  position: relative;
}

.radio-inline-option input[type="radio"] {
  display: none;
}

.radio-inline-text {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.radio-inline-option:hover .radio-inline-text {
  border-color: #003865;
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 56, 101, 0.1);
}

.radio-inline-option input[type="radio"]:checked + .radio-inline-text {
  background: linear-gradient(135deg, #003865 0%, #004580 100%);
  border-color: #003865;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 56, 101, 0.3);
  transform: translateY(-2px);
}

.radio-inline-option input[type="radio"]:checked + .radio-inline-text::after {
  content: '✓';
  margin-left: 0.5rem;
  font-weight: 700;
}

/* Botões Compactos */
.btn-primary-compact {
  background: linear-gradient(135deg, #003865 0%, #004580 100%);
  border: none;
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 56, 101, 0.3);
}

.btn-primary-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 56, 101, 0.4);
  color: white;
}

.btn-outline-secondary-compact {
  background: white;
  border: 2px solid #dee2e6;
  color: #6c757d;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.btn-outline-secondary-compact:hover {
  background: #f8f9fa;
  border-color: #6c757d;
  color: #495057;
}

.btn-success-compact {
  background: linear-gradient(135deg, #28a745 0%, #20873a 100%);
  border: none;
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.btn-success-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
  color: white;
}

/* Contador de Caracteres Simples */
#char-status.badge-success {
  background: #28a745;
}

#char-status.badge-warning {
  background: #ffc107;
  color: #000;
}

/* Upload Simples */
.file-upload-compact .btn {
  font-size: 0.85rem;
}

/* Validação de Campos */
.input-group-compact .form-control.is-invalid {
  border-color: #dc3545;
  border-left-width: 1px;
}

.input-group-compact .form-control.is-valid {
  border-color: #28a745;
  border-left-width: 1px;
}

.form-control.is-invalid {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
  padding-right: calc(1.5em + 0.75rem);
}

.form-control.is-valid {
  border-color: #28a745;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
  padding-right: calc(1.5em + 0.75rem);
}

.invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.form-control.is-invalid ~ .invalid-feedback,
.is-invalid ~ .invalid-feedback {
  display: block;
}

#tipo-feedback {
  margin-top: 0.5rem;
}

/* Animação de Fade para Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeInStep 0.3s ease-in-out;
}

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

/* Modal Compacto */
#contribuicaoModal .modal-xl {
  max-width: 700px;
}

/* Responsividade */
@media (max-width: 768px) {
  .step-text-compact {
    display: none !important;
  }
  
  .step-circle-compact {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  
  .radio-inline-group {
    flex-direction: column;
  }
  
  .radio-inline-option {
    width: 100%;
  }
  
  .radio-inline-text {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* =============================================

/* Modal Geral */
#contribuicaoModal .modal-content {
  border-radius: 20px;
  border: none;
  overflow: hidden;
}

#contribuicaoModal .modal-xl {
  max-width: 900px;
}

/* Header do Modal */
.modal-icon-wrapper {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  backdrop-filter: blur(10px);
}

/* Indicador de Progresso Moderno */
.progress-container-modern {
  position: relative;
}

.progress-line {
  position: absolute;
  top: 20px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.step-item-modern {
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-circle-modern {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 3px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  transition: all 0.4s ease;
  position: relative;
}

.step-circle-modern .step-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  display: block;
}

.step-circle-modern .step-icon {
  font-size: 1.5rem;
  color: white;
  display: none;
}

.step-circle-modern.active {
  background: linear-gradient(135deg, #ef5b06 0%, #d64d00 100%);
  border-color: #fdb913;
  box-shadow: 0 5px 25px rgba(239, 91, 6, 0.5);
  transform: scale(1.1);
}

.step-circle-modern.active .step-number {
  display: none;
}

.step-circle-modern.active .step-icon {
  display: block;
}

.step-circle-modern.completed {
  background: #28a745;
  border-color: #28a745;
}

.step-circle-modern.completed .step-number {
  display: none;
}

.step-circle-modern.completed .step-icon {
  display: block;
}

.step-circle-modern.completed::after {
  content: '\\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  font-size: 1.2rem;
  color: white;
}

.step-label-modern {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.85rem;
}

.step-item-modern[data-step=\"1\"].active .step-label-modern,
.step-item-modern[data-step=\"2\"].active .step-label-modern,
.step-item-modern[data-step=\"3\"].active .step-label-modern {
  color: white;
}

/* Cards dos Passos */
.form-step-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.form-step-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1.5rem;
  border-bottom: 3px solid #003865;
}

.step-icon-badge {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #003865 0%, #004580 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.form-step-body {
  padding: 2rem;
}

.form-step-footer {
  padding: 1.5rem 2rem;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

/* Inputs Modernos */
.input-group-modern {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.input-group-modern:focus-within {
  box-shadow: 0 4px 15px rgba(0, 56, 101, 0.15);
  transform: translateY(-2px);
}

.input-group-modern .input-group-text {
  background: linear-gradient(135deg, #003865 0%, #004580 100%);
  border: none;
  color: white;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.input-group-modern .form-control {
  border: 1px solid #e9ecef;
  border-left: none;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.input-group-modern .form-control:focus {
  border-color: #003865;
  box-shadow: none;
}

.form-control-modern {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control-modern:focus {
  border-color: #003865;
  box-shadow: 0 4px 15px rgba(0, 56, 101, 0.1);
  transform: translateY(-1px);
}

/* Radio Cards Personalizados */
.custom-radio-card {
  position: relative;
}

.custom-radio-card .custom-control-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-radio-card .custom-control-label {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.custom-radio-card .custom-control-label:hover {
  border-color: #003865;
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 56, 101, 0.1);
}

.custom-radio-card .custom-control-input:checked + .custom-control-label {
  background: linear-gradient(135deg, #003865 0%, #004580 100%);
  border-color: #003865;
  color: white;
  box-shadow: 0 5px 20px rgba(0, 56, 101, 0.3);
}

.radio-card-icon {
  font-size: 2rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.radio-card-text {
  flex: 1;
}

.radio-card-text strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.radio-card-text small {
  display: block;
  opacity: 0.7;
  font-size: 0.85rem;
}

/* Textarea Wrapper */
.textarea-wrapper {
  position: relative;
}

.char-counter-wrapper {
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 0 0 10px 10px;
  margin-top: -10px;
  padding-top: 1rem;
}

#char-count {
  color: #003865;
  font-size: 1.1rem;
}

#char-status {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

#char-status.badge-success {
  background: #28a745;
}

#char-status.badge-warning {
  background: #ffc107;
  color: #000;
}

#char-status.badge-secondary {
  background: #6c757d;
}

/* Upload de Arquivo Moderno */
.custom-file-upload-modern {
  position: relative;
}

.file-drop-zone {
  border: 3px dashed #dee2e6;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  background: white;
}

.file-drop-zone:hover {
  border-color: #003865;
  background: #f8f9fa;
}

.file-drop-zone.dragover {
  border-color: #ef5b06;
  background: rgba(239, 91, 6, 0.05);
  transform: scale(1.02);
}

.file-info-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #dee2e6;
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
}

.file-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ef5b06 0%, #d64d00 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

/* Botões Modernos */
.btn-primary-modern {
  background: linear-gradient(135deg, #003865 0%, #004580 100%);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 56, 101, 0.3);
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 56, 101, 0.4);
  background: linear-gradient(135deg, #004580 0%, #003865 100%);
  color: white;
}

.btn-outline-secondary-modern {
  background: white;
  border: 2px solid #dee2e6;
  color: #6c757d;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-secondary-modern:hover {
  background: #f8f9fa;
  border-color: #6c757d;
  color: #495057;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-success-modern {
  background: linear-gradient(135deg, #28a745 0%, #20873a 100%);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(40, 167, 69, 0.4);
  background: linear-gradient(135deg, #20873a 0%, #1e7e34 100%);
  color: white;
}

/* Responsividade do Modal */
@media (max-width: 768px) {
  #contribuicaoModal .modal-xl {
    max-width: 95%;
    margin: 0.5rem;
  }
  
  .progress-line {
    display: none;
  }
  
  .step-circle-modern {
    width: 50px;
    height: 50px;
  }
  
  .step-circle-modern .step-number {
    font-size: 1rem;
  }
  
  .step-circle-modern .step-icon {
    font-size: 1.2rem;
  }
  
  .form-step-body {
    padding: 1.5rem;
  }
  
  .modal-icon-wrapper {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .radio-card-icon {
    font-size: 1.5rem;
  }
  
  .custom-radio-card .custom-control-label {
    padding: 0.75rem;
  }
}

/* =============================================   CUSTOM STYLES - Proposta de Lei INSS
   Consulta Pública - Baseado no Lei Geral do Trabalho
   ============================================ */

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-in {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background-color: var(--white);
}

/* Top Bar já está no header.php inline */

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover {
    opacity: 0.9;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

/* ===== HERO SECTION ===== */
.hero-contribution {
    background: linear-gradient(135deg, #003865 0%, #002950 100%);
    position: relative;
    padding-top: 80px;
    min-height: 100vh;
}

.btn-warning {
    background-color: #ef5b06;
    border-color: #ef5b06;
    color: white;
}

.btn-warning:hover {
    background-color: #d64d00;
    border-color: #d64d00;
    color: white;
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.2);
    border-color: white;
}

/* ===== COUNTDOWN COM DESTAQUE ===== */
.countdown-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    margin: 2rem 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-box {
    background: #ffffff;
    border: 2px solid #e8ecef;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    min-width: 100px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.countdown-box:hover {
    border-color: #003865;
    box-shadow: 0 4px 20px rgba(0, 56, 101, 0.12);
    transform: translateY(-3px);
}

.countdown-value {
    font-size: 3rem;
    font-weight: 700;
    color: #003865;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    color: #6c757d;
    font-weight: 600;
}

.countdown-separator {
    font-size: 2rem;
    font-weight: 400;
    color: #cbd5e0;
    line-height: 1;
    align-self: center;
    margin: 0 0.5rem;
}

@media (max-width: 768px) {
    .countdown-box {
        min-width: 75px;
        padding: 1rem 1.25rem;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
    }
    
    .countdown-separator {
        display: none !important;
    }
}

/* ===== BADGE PERSONALIZADO ===== */
.badge-primary {
    background: linear-gradient(135deg, #ef5b06 0%, #d64d00 100%);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(239, 91, 6, 0.3);
}

/* ===== ALERT MELHORADO ===== */
.alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #2196f3;
    border-radius: 10px;
    color: #0d47a1;
    font-size: 1rem;
}

/* ===== COUNTDOWN ANTERIOR (REMOVER/COMENTAR) ===== */
/* .countdown-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    min-width: 100px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.countdown-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.countdown-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
} */

/* ===== OBJECTIVES SECTION ===== */
.section-subtitle {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.objective-card {
    transition: all 0.3s ease;
}

.objective-card:hover {
    transform: translateY(-5px);
}

.objective-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.info-box {
    border-left: 4px solid var(--secondary-color);
    background: linear-gradient(135deg, rgba(0, 56, 101, 0.05) 0%, rgba(239, 91, 6, 0.05) 100%);
}

.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.custom-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* ===== DOCUMENTS SECTION ===== */
.documents-wrapper {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    height: 100%;
}transparent;
    padding: 0;
}

.document-card {
    transition: all 0.3s ease;
}

.document-card:hover {
    transform: translateY(-3px);
}

.document-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #ff7733);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0on-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}order-radius: 15px;
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control-lg,
.form-select-lg {
    padding: 1rem 1.25rem;
    font-size: 1.0625rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(239, 91, 6, 0.15);
}

.form-text {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

#submitBtn {
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d64d00 100%);
    border: none;
    transition: all 0.3s ease;
}

#submitBtn:hover {
    background: linear-gradient(135deg, #d64d00 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2
    border: none;
    border-radius: 10px;
    padding: 1rem 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* ===== FAQ SECTION ===== */
.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--bg-light);
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00508f 100%);
    color: var(--white);
}
transition: all 0.3s ease;
}

.accordion-button {
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--bg-light);
    padding: 1.25rem 1.5rem;
    font-size: 1.0625rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:not(.collapsed) i {
    color: var(--secondary-color) !important;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(239, 91, 6, 0.15);
    border-color: var(--secondary-color);
}

.accordion-body {
    padding: 1.5rem;
    background-color: var(--white);
    font-size: 1rem;
    lransition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-card a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--secondary-color);
}

/* ===== FOOTER ===== */
/* Footer styles estão no footer.php inline */

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-contribution {
        padding: 2rem 0;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 1rem 1.5rem;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .documents-wrapper,
    .contribution-form-wrapper {
        margin-bottom: 2rem;
    }
    
    .document-card .card-body {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .countdown-item {
        min-width: 70px;
        padding: 0.75rem 1rem;
    }
    
    .countdown-value {
        font-size: 1.75rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* ===== UTILITIES ===== */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary
.section {
    scroll-margin-top: 80px;
}
/* ===== FORMULÁRIO EM PASSOS ===== */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.4s ease-out;
}

.step-item {
    position: relative;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.step-item.active .step-circle,
.step-item.completed .step-circle {
    background: #ef5b06;
    color: white;
    box-shadow: 0 4px 12px rgba(239, 91, 6, 0.3);
}

.step-item.completed .step-circle {
    background: #28a745;
}

.step-label {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
}

.step-item.active .step-label,
.step-item.completed .step-label {
    color: #003865;
    font-weight: 700;
}

.step-divider {
    flex: 1;
    height: 2px;
    background: #e9ecef;
    margin: 0 10px;
    align-self: center;
    margin-top: -25px;
}

/* ===== VISUALIZADOR PDF ===== */
.pdf-viewer-container {
    border: 1px solid #dee2e6;
}

#pdf-canvas {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.doc-btn {
    transition: all 0.3s ease;
}

.doc-btn.active {
    background-color: #003865;
    color: white;
    border-color: #003865;
}

.doc-btn:hover {
    background-color: #004580;
    color: white;
}

/* ===== FILE UPLOAD MELHORADO ===== */
.custom-file-upload {
    position: relative;
}

#file-upload-btn {
    border: 2px dashed #003865;
    background: #f8f9fa;
    padding: 1rem;
    transition: all 0.3s ease;
}

#file-upload-btn:hover {
    background: #e9ecef;
    border-color: #ef5b06;
}

#file-info .alert {
    margin-bottom: 0;
}

/* ===== INPUTS MELHORADOS ===== */
.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
    color: #003865;
}

.input-group .form-control {
    border-left: none;
}

.input-group .form-control:focus {
    border-color: #ef5b06;
    box-shadow: 0 0 0 0.2rem rgba(239, 91, 6, 0.25);
}

.form-control:focus,
.form-select:focus {
    border-color: #ef5b06;
    box-shadow: 0 0 0 0.2rem rgba(239, 91, 6, 0.25);
}

/* ===== BADGES & ALERTS ===== */
#char-status.badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

#char-status.bg-success {
    background-color: #28a745 !important;
}

#char-status.bg-warning {
    background-color: #ffc107 !important;
    color: #000;
}

/* ===== BOTÕES ===== */
.btn-primary {
    background-color: #003865;
    border-color: #003865;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #002950;
    border-color: #002950;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 56, 101, 0.3);
}

.btn-success {
    background-color: #ef5b06;
    border-color: #ef5b06;
}

.btn-success:hover {
    background-color: #d64d00;
    border-color: #d64d00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 91, 6, 0.3);
}

/* ===== CARDS ===== */
.card {
    transition: all 0.3s ease;
}

/* ===== PDF CONTROLS ===== */
.pdf-controls {
    background: #343a40 !important;
}

.pdf-controls .btn-outline-light {
    border-color: rgba(255,255,255,0.2);
}

.pdf-controls .btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
}

/* ===== GAPS & SPACING UTILITIES ===== */
.gap-2 {
    gap: 0.5rem !important;
}

.gap-4 {
    gap: 1.5rem !important;
}

.g-4 {
    gap: 1.5rem !important;
}

/* ===== MODAL DE CONTRIBUIÇÃO ===== */
#contribuicaoModal .modal-content {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#contribuicaoModal .modal-header {
    border-bottom: none;
}

#contribuicaoModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

/* ===== BOTÃO PULSE ===== */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(239, 91, 6, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(239, 91, 6, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(239, 91, 6, 0.4);
    }
}

.pulse-button {
    animation: pulse 2s infinite;
}

.pulse-button:hover {
    animation: none;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(239, 91, 6, 0.6) !important;
}

/* ===== MELHORIAS NA MODAL ===== */
.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}

.modal-backdrop.show {
    opacity: 0.7;
}

/* ===== RESPONSIVO MODAL ===== */
@media (max-width: 768px) {
    #contribuicaoModal .modal-dialog {
        margin: 0.5rem;
    }
    
    #contribuicaoModal .modal-body {
        padding: 1.5rem !important;
    }
}
