/* =============================================================================
   MAIN CONTENT - Estilos de Conteúdo
   ============================================================================= */

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.shield-icon-large {
    width: 48px;
    height: 48px;
    color: #3b82f6;
}

.hero-title {
    font-size: 2.5rem;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
}

/* Cards Container */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.card-icon-blue {
    background: linear-gradient(135deg, #4169e1 0%, #5a7def 100%);
}

.card-icon-green {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.card-title {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-description {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary {
    background: #4169e1;
    color: white;
}

.btn-primary:hover {
    background: #3558c7;
    transform: scale(1.02);
}

.btn-secondary {
    background: white;
    color: #1f2937;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

/* Features Section */
.features-section {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    margin-bottom: 3rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e3a8a;
}

.shield-icon-small {
    width: 40px;
    height: 40px;
    color: #3b82f6;
}

.feature-label {
    font-size: 1rem;
    color: #475569;
    font-weight: 500;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

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

.modal-small {
    max-width: 450px;
    text-align: center;
}

.modal-content h2 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.close {
    color: #9ca3af;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #4b5563;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4169e1;
}

.form-group textarea {
    resize: vertical;
}

/* Success Icon */
.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 50%;
}

.success-icon svg {
    width: 48px;
    height: 48px;
    color: white;
}

.info-text {
    color: #6b7280;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.resultado-consulta {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f3f4f6;
    border-radius: 8px;
    display: none;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.status-em-analise {
    background: #fef3c7;
    color: #92400e;
}

.status-concluida {
    background: #d1fae5;
    color: #065f46;
}

.status-em-andamento {
    background: #dbeafe;
    color: #1e40af;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .features-section {
        gap: 2rem;
        flex-wrap: wrap;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
    }
}
