/* Overrides CSS - Desktop Only Adjustments */
@media (min-width: 992px) {
    .form-cadastro-profissional {
        max-width: 900px;
        width: 100%;
        margin: 0 auto;
    }
}

/* Seção Como Funciona - Novos Estilos */
.como-funciona {
    padding: 4px 0 80px 0; /* Reduzido padding superior para 4px */
    background-color: #f9fbfd !important; /* Fundo sutilmente moderno */
}

.passos {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.passo {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px 20px; /* Reduzido o padding */
    background: #ffffff;
    border-radius: 12px; /* Reduzido levemente o radius */
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); /* Sombra mais contida */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.passo:hover {
    transform: translateY(-5px); /* Movimento mais sutil */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Títulos da Seção */
.como-funciona .section-title h3 {
    font-size: 38px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.como-funciona .section-title p.subtitulo {
    font-size: 26px; /* Aumentado de 20px para 26px */
    font-weight: 400;
    color: #718096;
    margin-top: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Números e Passos */
.passo .numero {
    display: inline-block;
    font-size: 64px; /* Levemente menor para equilibrar */
    font-weight: 600; /* Meio termo: nem 900, nem 300. Semi-Bold */
    color: var(--primary-color); /* Retornado para azul original */
    line-height: 1;
    margin-bottom: 20px;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
}

/* Detalhe decorativo no número */
.passo .numero::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px; /* Reduzido proporcionalmente */
    height: 3px;
    background-color: rgba(30, 136, 229, 0.3); /* Retornado para azul */
    border-radius: 2px;
}

.passo h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2d3748;
}

.passo p {
    font-size: 16px;
    color: #718096;
    line-height: 1.7;
}

/* Ajustes para Mobile (preservando legibilidade) */
@media (max-width: 768px) {
    .passos {
        flex-direction: column;
        gap: 20px;
    }
    
    .passo {
        margin-bottom: 10px;
    }
}

/* Botão Buscar Home */
.btn-search-home {
    background-color: #1E88E5; /* Azul padrão */
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 4px 4px 0; /* Arredondado apenas na direita para unir com o input */
    transition: background-color 0.3s ease;
}

.btn-search-home:hover {
    background-color: #43A047; /* Verde claro no hover */
}

/* Footer Center Alignment */
.footer-col {
    text-align: center;
}

.footer-col h4 {
    text-align: center;
}

.footer-col ul {
    text-align: center;
    padding-left: 0;
}

/* Ensure logo in footer is centered too */
.footer-col img {
    margin: 0 auto 10px auto;
    display: block;
}

/* --- BANNER SYSTEM CORRECTIONS (DESKTOP) --- */

/* Home Top Banner (728x90) */
.banner-topo-home {
    width: 728px;
    max-width: 100%;
    min-height: 90px;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.banner-topo-home img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Home Middle Banner (300x250) */
.banner-meio-home {
    width: 300px;
    height: 250px;
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.banner-meio-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sidebar Banner (300x250) */
.banner-sidebar {
    width: 300px;
    height: 250px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 30px;
}
.banner-sidebar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Profile Banners (Internal) */
.banner-perfil-topo {
    width: 300px;
    height: 250px;
    margin-bottom: 20px;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.banner-perfil-topo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-perfil-lateral {
    width: 300px;
    height: 250px;
    margin-top: 30px;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.banner-perfil-lateral img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-perfil-footer {
    width: 300px;
    height: 250px;
    margin: 30px auto;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.banner-perfil-footer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer Banner (728x90) */
.banner-footer {
    width: 728px;
    max-width: 100%;
    min-height: 90px;
    margin: 0 auto 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.banner-footer img {
    max-width: 100%;
    height: auto;
}

/* Search Page Layout */
.search-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.search-main {
    flex: 1;
    min-width: 0;
}

.search-sidebar {
    width: 300px;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .search-layout {
        flex-direction: column;
    }
    .search-sidebar {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }
}

/* Profile Layout System */
.profile-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.profile-sidebar-col {
    width: 300px; /* Fixed width matching banners */
    flex-shrink: 0;
}

.profile-main-col {
    flex: 1;
    min-width: 0;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.profile-sidebar-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    margin-bottom: 30px;
}

@media (max-width: 991px) {
    .profile-container {
        flex-direction: column;
    }
    .profile-sidebar-col {
        width: 100%;
    }
}
