/* Melhorias adicionais para o layout geral */

/* Espaçamento e tipografia */
body {
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.2rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
}

/* Melhorias na seção hero */
.hero-section {
    min-height: 100vh;
    background-attachment: fixed;
}

.hero-section .display-4 {
    font-size: calc(1.8rem + 2vw);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

/* Melhorias nas seções */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-divider {
    height: 4px;
    width: 80px;
    margin-bottom: 2.5rem;
}

/* Melhorias nos cards */
.card {
    border: none;
    transition: all 0.4s ease;
    border-radius: 12px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 2rem;
}

/* Melhorias nos botões */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2rem;
}

.btn-primary {
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.4);
}

.btn-outline-primary {
    border-width: 2px;
}

.btn-outline-primary:hover {
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
}

/* Melhorias nos ícones */
.icon-box, .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1) 0%, rgba(32, 201, 151, 0.1) 100%);
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon-box i, .icon-circle i {
    font-size: 32px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature-card:hover .icon-box,
.resource-card:hover .icon-circle {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.2) 0%, rgba(32, 201, 151, 0.2) 100%);
}

/* Melhorias no formulário */
.form-control {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(26, 115, 232, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Melhorias no footer */
.footer {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.95) 0%, rgba(32, 201, 151, 0.9) 100%);
    padding: 3rem 0;
}

.social-link {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    margin: 0 5px;
}

/* Melhorias na responsividade */
@media (max-width: 991.98px) {
    section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-section .display-4 {
        font-size: calc(1.5rem + 1.5vw);
    }
    
    .icon-box, .icon-circle {
        width: 70px;
        height: 70px;
    }
    
    .icon-box i, .icon-circle i {
        font-size: 28px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Melhorias na acessibilidade */
:focus {
    outline: 3px solid rgba(26, 115, 232, 0.5);
    outline-offset: 2px;
}

/* Melhorias no contraste */
.text-muted {
    color: #555 !important;
}

/* Melhorias no espaçamento entre seções */
section + section {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
