/* Estilos Globais */
:root {
    /* Paleta Clean & Modern */
    --cor-azul: #2563EB;
    /* Royal Blue moderno */
    --cor-azul-escuro: #0F172A;
    /* Navy para textos/logo */
    --cor-roxo: #4F46E5;
    /* Indigo suave (se necessário) */
    --cor-laranja: #F59E0B;
    /* Amber para destaques */
    --cor-amarelo: #FCD34D;
    /* Amarelo suave */

    --color-light: #F8FAFC;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Removed heavy gradients */
    --bg-color: #F8FAFC;
    --cor-fundo: #F8FAFC;
    --cor-texto: #334155;
    /* Slate 700 */
    --cor-borda: #E2E8F0;

    --bg-header: #FFFFFF;
    --bg-footer: #1E293B;
    /* Slate 900 */
    --texto-footer: #F1F5F9;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    line-height: 1.6;

}

/* Cabeçalho */
.header-gcl {
    width: 100%;
    max-width: 1280px;
    background-color: var(--bg-header);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Sombra mais suave */
    padding-bottom: 0;
    margin: 0 auto;
}

.header-division-1 {
    padding: 8px 5%;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    background-color: var(--bg-header);
    /* Removed purple bg */
    border-bottom: 1px solid var(--cor-borda);
    color: var(--cor-texto);
}

.header-division-1 label,
.header-division-1 span {
    font-weight: 500;

}

.header-division-2 {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.logo-gcl {
    border-radius: 8px;
    /* Removed heavy gradient background */
    height: 90px;
    display: flex;
    align-items: center;
}

.banner-rotativo-small,
.banner-rotativo-large {
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border-radius: 8px;
    font-weight: bold;

}

.banner-rotativo-small {
    width: 300px;
    height: 90px;

}

.banner-rotativo-small img {
    border-radius: 8px;
    margin-top: 5px;

}

.banner-rotativo-large {
    width: 728px;
    height: 90px;

}

.header-division-3 {
    padding: 15px 2%;
    background: var(--bg-header);
    /* White bg */
    border-bottom: 1px solid var(--cor-borda);
    color: var(--cor-texto);
}

.search-and-action-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.search-form-unified {
    display: flex;
    align-items: center;
    height: 45px;
    flex-grow: 1;
    max-width: 800px;
    gap: 10px;
}

.categoria-list select,
#select-categoria {
    height: 45px !important;
    border: 1px solid var(--cor-borda) !important;
    border-radius: 5px !important;
    padding: 0 15px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    background-color: #fff !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
}

#search-input {
    height: 45px !important;
    border: 1px solid var(--cor-borda) !important;
    border-radius: 5px !important;
    padding: 0 15px !important;
    flex-grow: 1 !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    display: block !important;
}

#search-button {
    height: 45px !important;
    border: none !important;
    border-radius: 0 5px 5px 0 !important;
    background-color: var(--cor-azul) !important;
    color: white !important;
    font-weight: bold !important;
    padding: 0 25px !important;
    cursor: pointer !important;
    margin: 0 !important;
    display: block !important;
}

.action-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.mini-banner-head {
    max-height: 45px;
    width: auto;
    border-radius: 4px;
}

.btn-cadastre {
    height: 45px !important;
    background-color: transparent !important;
    border: 2px solid var(--cor-azul) !important;
    color: var(--cor-azul) !important;
    border-radius: 5px !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
}

.btn-cadastre a {
    color: var(--cor-azul) !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.btn-cadastre:hover {
    background-color: var(--cor-azul) !important;
    color: white !important;
}

.btn-cadastre:hover a {
    color: white !important;
}

.btn-cadastre a {
    color: var(--cor-texto);

}

.btn-cadastre a:hover {
    text-decoration: none;

}

/* Layout Principal */
.main-content {
    width: 100%;
    max-width: 1280px;
    display: grid;
    grid-template-columns: 350px 1fr;
    margin: 20px auto;
    gap: 20px;
    padding: 0 10px;
}

/* Seções */
.section-left-empresas {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    border: 1px solid var(--cor-borda);
    /* Removed colored top border */
}

/* Componentes */
.lista-empresas-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 5px;

}

.lista-empresas-item a {
    color: var(--cor-texto);
    text-decoration: none;

}

.lista-empresas-item a:hover {
    text-decoration: none;

}

.lista-empresas-item:hover {
    background-color: #f1f5f9;
    transform: translateX(5px);
    border-left: 3px solid var(--cor-azul);
}

.lista-empresas-logo {
    width: 70px !important;
    height: 70px !important;
    flex-shrink: 0 !important;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20% !important;
    /* Logo redondo modeno */
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden !important;
}

.lista-empresas-logo img,
.img-logo-60 {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover !important;
    border-radius: 20% !important;
    display: inline-block;
}

/* Banner logo abaixo da lista empresa */
.section-left-empresas h4,
.section-right-anuncios h4 {
    color: var(--cor-azul-escuro);
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    text-align: center;

}

.section-center-perfil {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--cor-borda);
}

.section-center-perfil h2 {
    color: var(--cor-texto);
    margin: 15px 0 5px 0;

}

iframe.conteudo-incorporado {
    border: none;
    background-color: transparent;
    width: 100%;
    min-height: 500px;
    height: auto;
    overflow: hidden;
}

.section-bottom-anuncios {
    grid-column: 1 / -1;
    /* Ocupa as duas colunas */
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--cor-borda);
    margin-top: 10px;
    width: 100%;
}

.section-bottom-anuncios h4 {
    color: var(--cor-azul-escuro);
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    text-align: center;
    font-size: 1.5rem;

}

.grid-anuncios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;

}

.anuncio-card {
    background: #fff;
    border: 1px solid var(--cor-borda);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;

}

.anuncio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

}

.anuncio-card a {
    text-decoration: none;
    color: inherit;
    display: block;

}

.anuncio-card img {
    width: 100%;
    height: 120px;
    display: block;
    object-fit: cover;
}

.anuncio-desc {
    padding: 15px;
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;

}

/*
.banner-curriculum-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;

}
.banner-curriculum {
    width: 310px;
    background-color: var(--cor-laranja);
    padding: 5px;
    border-radius: 6px;

}
.banner-curriculum h3 {
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 5px;

}
*/
.section-right-anuncios {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--cor-laranja);

}

.anuncio-item {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.anuncio-item img {
    border-radius: 6px;

}

.anuncio-item img:hover {
    box-shadow: 0 5px 5px rgba(243, 159, 3, 0.5);

}

.banner-curriculum h3 {
    text-align: center;
    color: #fff;

}

/* Rodapé */
.footer-gcl {
    width: 100%;
    max-width: 1280px;
    background-color: var(--bg-footer);
    color: var(--texto-footer);
    padding: 50px 0 20px;
    margin-top: 50px;
    margin: 0 auto;
}

.footer-top {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;

}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 20px;

}

.redes-sociais {
    text-align: center;
    font-size: 1.5rem;

}

.redes-sociais a {
    color: var(--texto-footer);
    padding: 0 10px;

}

.footer-banner {
    width: 728px;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.02);
    /* Sutil */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    border-radius: 6px;
    border: 1px dashed #555;

}

.footer-menu {
    display: flex;
    gap: 25px;

}

.footer-menu a {
    color: var(--texto-footer);
    /* Links em amarelo */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;

}

.footer-menu a:hover {
    text-decoration: none;

}

/* Finaliza os estilos da pagina principal */

/* Responsivo */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
    }

    .header-division-2 {
        flex-direction: column;
        gap: 20px;
        height: auto !important;
    }

    .header-division-3 {
        flex-direction: column;
        text-align: center;
    }

    .search-and-action-container {
        flex-direction: column;
        gap: 15px;
    }

    .search-form-unified {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        height: auto;
    }

    .categoria-list {
        width: 100%;
    }

    .header-division-3 input[type="text"] {
        width: 100%;
    }

    .grid-anuncios {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-rotativo-large {
        display: none !important;
        /* Hide large banners on smaller screens */
    }

    .footer-banner {
        width: 100%;
        height: auto;
        border: none;
    }

    .footer-banner img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .grid-anuncios {
        grid-template-columns: 1fr;
    }

    .main-content {
        grid-template-columns: 1fr;
    }

    .header-division-1 {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .action-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-cadastre {
        width: 100%;
    }

    .footer-menu {
        flex-direction: column;
        gap: 10px;
    }

    /* Ensure search button / select are nice on mobile */
    #select-categoria,
    #search-input {
        margin-bottom: 10px !important;
        border-radius: 5px !important;
    }

    #search-button {
        width: 100% !important;
        border-radius: 5px !important;
    }

    /* Adjust iframe height for mobile */
    iframe.conteudo-incorporado {
        min-height: 400px;
    }
}