/* Denúncia CSS */

/* ===== INFO SECTION ===== */
.denuncia-info-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.info-content {
    max-width: 1100px;
    margin: 0 auto;
}

.info-text h2 {
    font-size: 2.25rem;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.info-text > p {
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.info-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.highlight-item {
    display: flex;
    gap: var(--spacing-md);
    padding: 1.75rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 2px solid var(--gray-200);
    transition: var(--transition-base);
}

.highlight-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(44, 95, 45, 0.12);
    transform: translateY(-3px);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 40px;
    margin-top: px;
}

.highlight-item h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.highlight-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== TIPOS DE DENÚNCIA ===== */
.tipos-denuncia-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.tipos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.tipo-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: var(--transition-base);
    border: 2px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.tipo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.tipo-card:hover::before {
    transform: scaleX(1);
}

.tipo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(44, 95, 45, 0.15);
    border-color: var(--primary-color);
}

.tipo-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    transition: var(--transition-base);
}

.tipo-card:hover i {
    transform: scale(1.1);
}

.tipo-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    margin-top: -0.5rem;
    font-size: 1.15rem;
    font-weight: 500;
}

.tipo-card p {
    color: var(--gray-600);
    margin-top: 2rem;
    margin-bottom: -2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== PROCESSO / COMO FUNCIONA ===== */
.processo-section {
    padding: var(--spacing-xl) 0;
    background: var(--gray-100);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.processo-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(44, 95, 45, 0.04);
    border-radius: 50%;
}

.processo-section .section-header {
    position: relative;
    z-index: 1;
}

.processo-section .section-title {
    color: var(--text-color) !important;
    font-size: 2.25rem;
}

.processo-section .section-subtitle {
    color: #666 !important;
    font-size: 1.05rem;
}

.processo-timeline {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.timeline-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    padding: 0 0.5rem;
}

.timeline-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: relative;
    border: 2px solid var(--gray-200);
    transition: var(--transition-base);
    flex: 1 1 0;
    min-width: 200px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.timeline-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(44, 95, 45, 0.12);
}

.timeline-number {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 16px rgba(44, 95, 45, 0.25);
}

.timeline-item h3 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 300;
}

.timeline-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ===== FORMULÁRIO ===== */
.denuncia-form-section {
    padding: var(--spacing-xl) 0;
    background: var(--gray-100);
    position: relative;
}

.denuncia-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--accent-color));
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-200);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-200);
}

.form-header-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 16px rgba(44, 95, 45, 0.25);
}

.form-header-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.form-header h2 {
    font-size: 2.25rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.form-header p {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.denuncia-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-section {
    border-top: 2px solid var(--gray-200);
    padding-top: var(--spacing-md);
}

.form-section h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-section h3 i {
    color: var(--primary-color);
}

.form-section-info {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--gray-700);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-base);
    background-color: var(--gray-100);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(44, 95, 45, 0.08);
    background-color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.form-row-compact {
    gap: var(--spacing-xs, 0.5rem);
    margin-bottom: 0.25rem;
}

.char-counter {
    text-align: right;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.form-hint {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.file-upload-area {
    position: relative;
}

.file-upload-area input[type="file"] {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.file-upload-area label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    background-color: var(--gray-100);
    border: 3px dashed var(--gray-400);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-base);
    text-align: center;
}

.file-upload-area label:hover {
    background-color: rgba(44, 95, 45, 0.04);
    border-color: var(--primary-color);
}

.file-upload-area label i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.file-upload-area label span {
    font-size: 1.125rem;
    color: var(--gray-700);
    font-weight: 500;
}

.file-upload-area label small {
    color: var(--gray-500);
    margin-top: 0.5rem;
}

.file-list {
    margin-top: var(--spacing-sm);
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm);
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

.file-item span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
}

.file-item button {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 1.25rem;
}

.protocol-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background-color: #e7f3ff;
    border-left: 4px solid #0066cc;
    border-radius: var(--radius-md);
}

.protocol-info i {
    color: #0066cc;
    font-size: 1.5rem;
}

.protocol-info p {
    color: var(--gray-700);
    margin: 0;
}

.btn-submit {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0;
    border-radius: var(--radius-lg);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 95, 45, 0.3);
}

.btn-submit i {
    margin-right: 0.5rem;
}

/* ===== CONTATO ALTERNATIVO ===== */
.contato-alternativo {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.contato-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.contato-content h2 {
    font-size: 2.25rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contato-content > p {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
}

.canais {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.canal {
    padding: 2rem 1.5rem;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    border: 2px solid var(--gray-200);
    transition: var(--transition-base);
    text-align: center;
}

.canal:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(44, 95, 45, 0.1);
}

.canal i {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.canal h4 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.canal p {
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== STEPPER ===== */
.form-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.stepper-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    border: 3px solid var(--gray-300);
}

.stepper-step.active .stepper-circle,
.stepper-step.completed .stepper-circle {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(44, 95, 45, 0.3);
}

.stepper-step.completed .stepper-circle {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-color: #28a745;
}

.stepper-step span {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
    transition: color 0.3s ease;
}

.stepper-step.active span,
.stepper-step.completed span {
    color: var(--primary-dark);
    font-weight: 600;
}

.stepper-line {
    flex: 1;
    height: 3px;
    background: var(--gray-300);
    margin: 0 0.5rem;
    margin-bottom: 1.5rem;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.stepper-line.active {
    background: var(--primary-color);
}

.form-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.form-progress-fill {
    height: 100%;
    width: 33%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), #28a745);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* ===== FORM STEPS ===== */
.form-step {
    display: none;
    animation: fadeSlideIn 0.4s ease;
}

.form-step.active {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-md);
    gap: 1rem;
}

.btn-outline {
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.2);
}

.btn-next {
    padding: 0.875rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    background-color: var(--primary-light);
    color: var(--white);
    border-color: var(--primary-light);
}

.btn-next:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.3);
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

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

/* ===== FIELD VALIDATION FEEDBACK ===== */
.field-feedback {
    font-size: 0.85rem;
    min-height: 1.2em;
    transition: all 0.3s ease;
}

.field-feedback.valid {
    color: #28a745;
}

.field-feedback.valid::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.35rem;
}

.field-feedback.invalid {
    color: #dc3545;
}

.field-feedback.invalid::before {
    content: '\f06a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.35rem;
}

.form-group input.field-valid,
.form-group select.field-valid,
.form-group textarea.field-valid {
    border-color: #28a745;
    background-image: none;
}

.form-group input.field-invalid,
.form-group select.field-invalid,
.form-group textarea.field-invalid {
    border-color: #dc3545;
}

/* ===== TIPO CARD ACTION ===== */
.tipo-card {
    cursor: pointer;
}

.tipo-card-action {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.tipo-card:hover .tipo-card-action {
    opacity: 1;
    transform: translateY(0);
}

.tipo-card-action i {
    position: relative;
    top: 9px;
    margin-left: 4px;
}

.tipo-card.selected {
    border-color: var(--primary-color);
    background: rgba(44, 95, 45, 0.04);
    box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.15), 0 12px 28px rgba(44, 95, 45, 0.15);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== DRAG & DROP ===== */
.file-upload-area.drag-over label {
    background-color: rgba(44, 95, 45, 0.08);
    border-color: var(--primary-color);
    border-style: solid;
}

.file-upload-area.drag-over label i {
    transform: scale(1.2);
    color: var(--primary-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .processo-timeline {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .timeline-connector {
        display: none;
    }
    .timeline-item {
        min-width: 45%;
    }
}

@media (max-width: 900px) {
    .denuncia-hero h1 {
        font-size: 2.25rem;
    }
    
    .denuncia-hero p {
        font-size: 1.05rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-wrapper {
        padding: 1.75rem;
    }
    
    .processo-timeline {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline-item {
        min-width: 100%;
        max-width: 100%;
    }
    
    .timeline-connector {
        display: none;
    }
    
    .info-highlights {
        grid-template-columns: 1fr;
    }
    
    .tipos-grid {
        grid-template-columns: 1fr;
    }

    .stepper-step span {
        font-size: 0.75rem;
    }

    .stepper-circle {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .step-buttons {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }

    .step-buttons .btn-outline,
    .step-buttons .btn-next,
    .step-buttons .btn-submit {
        width: 100%;
        justify-content: center;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .denuncia-hero {
        padding: 120px 0 60px;
    }
    
    .hero-icon {
        width: 75px;
        height: 75px;
    }
    
    .hero-icon i {
        font-size: 2rem;
    }
    
    .form-wrapper {
        padding: 1.25rem;
    }
}