@import "../config.css";
@import "../topo.css";
@import "../rodape.css";

/* Publicidade */
.publicidade-banner {
    background-color: #f0edea;
    padding: 20px;
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
    font-size: 11px;
}

/* Banner busca */
.banner_busca {
    position: relative;
    background-image: url('/assets/images/img-bg2.jpg'); 
    background-size: cover;
    background-position: center;
    height: auto;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner_busca__textos  {
    margin-bottom: 25px;
}

.banner_busca__textos h1 {
    font-size: clamp(18px, 18px + 1.2vw, 26px);
    line-height: clamp(20px, 20px + 1.2vw, 28px);
    font-weight: 700;
    color: #FFF;
}

.banner_busca__form p {
    font-size: 12px;
    color: #000;
    margin: 0;
    /* font-style: italic; */
}

.banner_busca__form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.banner_busca__input {
    flex: 1;
    padding: clamp(15px, 15px + 1.2vw, 15px);
    border: 1px solid #dddddd;
    border-radius: 10px;
    font-size: 16px;
    min-width: 100%;
}

.banner_busca__button {
    border-radius: 10px;
    outline: initial;
    font-size: 16px;
    font-weight: 500;
    padding: clamp(15px, 15px + 1.2vw, 15px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .5s;
    color: #FFFFFF;  
    background-color: #000000;
    min-width: 100%;
    cursor: pointer;
    border: none;
    .fa-arrow-right {
        transform: rotate(-45deg);
        transition: inherit;
    }
}

.banner_busca__button:hover {
    background-color: #000000;
    .fa-arrow-right {
        transform: rotate(0deg);
    }
}


/* Categorias destaque */
.categorias {
    padding: 50px 0;
    background-color: #FFF;
}

.grid-categorias {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.categoria-card {
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.categoria-card span {
    display: block;
    font-size: 0.85rem;
    font-weight: normal;
    color: var(--gray);
    margin-top: 6px;
}

.categoria-card:hover {
    transform: translateY(-3px);
}

.categoria-card.destaque {
    background: var(--primary);
    color: #FFF;
    text-align: center;
    display: none;
}


/* Empresas destaque */
.mais-procuradas {
    padding: 50px 0;
    background-color: #f0edea;
}

.cards-empresas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.empresa-card-horizontal {
    background: #FFF;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: 0.3s ease;
}

.empresa-card-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.empresa-logo-circular {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #eee;
}

.empresa-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.empresa-info h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 600;
}

.empresa-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #999;
    line-height: 1.4;
}

.empresa-info .btn-ver {
    margin-top: 10px;
    color: #5f00cb;
    padding: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    align-self: flex-start;
    transition: background 0.3s;
    .fa-arrow-right {
        transform: rotate(-45deg);
        transition: inherit;
    }
}


/* Promover empresa */
.promover-empresa {
    background-color: #FFF; 
    padding: 60px 20px;
}

.promover-empresa .conteudo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.promover-empresa .texto {
    flex: 1;
    
}

.promover-empresa .texto h1 {
    max-width: 500px;
}

.promover-empresa .texto p {
    max-width: 500px;
}

.promover-empresa .btn_style01 {
    max-width: 300px;
}

.promover-empresa .imagem img {
    max-width: 380px;
    width: 100%;
    height: auto;
}


/* Sobre */
#sobre {
    width: 100%;
    height: auto;
    padding: 100px 0;
    position: relative;
    z-index: 9;
    background: url("/assets/images/bgHomeSobre.png") #f0edea center no-repeat;
    background-size: cover;
}

#sobre .text {
    width: 55%;
    color: #FFFFFF;
}

#sobre .text .p_default {
    color: #FFFFFF;
}

#sobre .link {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    gap: 10px;
    transition: .5s;
    .fa-arrow-right {
        transform: rotate(-45deg);
        transition: inherit;
    }
}

#sobre .link:hover {
    .fa-arrow-right {
        transform: rotate(0deg);
    }
}


/* Depoimentos */
#depositions {
    width: 100%;
    height: auto;
    background-color: #FFFFFF;
    overflow: hidden;
    padding: 100px 0;
    position: relative;
}

#depositions .text {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    gap: 20px;
}

#depositions .text h1,
#depositions .text p {
    max-width: 500px;
}

#depositions .detail01,
#depositions .detail02,
#depositions .detail03 {
    border: 5px solid var(--color-primary);
    position: absolute;
}

#depositions .detail01 {
    width: 250px;
    height: 250px;
    border-radius: 250px;    
    right: -125px;
    top: 25%;
}

#depositions .detail02 {
    width: 75px;
    height: 300px;
    border-radius: 100px;
    left: 5%;
    top: -30%;
}

#depositions .detail03 {
    width: 300px;
    height: 80px;
    border-radius: 100px;
    left: -10%;
    bottom: -25px;
}

#depositions .owl-carousel {
    max-width: 1200px;
    margin: 0 auto;
}

#depositions .owl-theme #segmentos .owl-nav {
    display: none;
}

#depositions .owl-theme .owl-dots {
    text-align: center;
    margin-top: 30px;
}

#depositions .comment {
    width: 100%;
    height: auto;
    background-color: #f0edea;
    padding: 20px;
    border-radius: 15px;
}

#depositions .comment .person {
    margin-bottom: 20px;
}

#depositions .comment .cover {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: #f0edea;
    overflow: hidden;
    margin-right: 10px;
}

#depositions .comment .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#depositions .comment .name {
    line-height: 20px;
    color: #333333;
}

#depositions .comment .name h5 {
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

#depositions .comment .name .fa-star {
    color: #f8b81f;
    font-size: 12px;
}

#depositions .box_text p {         
    display: block;
    color: #555555;
}


/* Grid links */
#links {
    width: 100%;
    height: auto;
    padding: 35px 0 65px 0;
    background-color: #f0edea;
    border-radius: 60px 60px 60px 60px;
}

#links .text {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    gap: 20px;
}
#links .text h1,
#links .text p {
    max-width: 500px;
}

#links .parent {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

#links .parent .box:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
#links .parent .box:nth-child(2) { grid-area: 2 / 1 / 3 / 2; }
#links .parent .box:nth-child(3) { grid-area: 1 / 2 / 3 / 3; }
#links .parent .box:nth-child(4) { grid-area: 1 / 3 / 2 / 4; }
#links .parent .box:nth-child(5) { grid-area: 2 / 3 / 3 / 4; }
#links .parent .box:nth-child(6) { grid-area: 1 / 4 / 3 / 5; }

#links .parent .box {
    width: 100%;  
}

#links .parent .box .cover_links {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

#links .parent .box:nth-child(3) .cover_links,
#links .parent .box:nth-child(6) .cover_links {
    height: 410px;
}

#links .parent .box .cover_links img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

#links .parent .box .cover_links a {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
}

#links .parent .box .cover_links a div {
    position: absolute;
    padding: 20px;
    bottom: 0;
}

#links .parent .box .cover_links h3 {
    font-size: clamp(14px, 14px + 1.2vw, 18px);
    line-height: clamp(20px, 20px + 1.2vw, 24px);
    font-weight: 700;
    margin-bottom: 5px
} 

#links .parent .box .cover_links span i {
    font-size: 12px;
    margin-left: 5px;
    color: var(--color-primary);
} 

#links .parent .box .cover_links:hover img {
    transform: scale(1.05);
    filter: grayscale(1);
}


/* CSS RESPONSIVO */
@media screen and (max-width: 1200px) {

}

@media screen and (max-width: 900px)
{

    #depositions .text,
    #links .text {
        width: 100%;
        height: auto;
        gap: 0;
        flex-wrap: wrap;
    }
        
    #depositions .text h1,
    #links .text h1,
    #depositions .text p,
    #links .text p {
        max-width: 100%;
    }
    
    #segmentos .box a {
        padding: 15px;
    }

    #segmentos .box h3 {
        font-size: clamp(14px, 14px + 1.2vw, 18px);
    }
    
    #sobre {
        padding: 50px 0;
    }

    #sobre .flex {
        flex-wrap: wrap;
    }

    #sobre .text {
        width: 100%;
    }
    
    #depositions {
        padding: 50px 0;
    }

    #depositions .detail01,
    #depositions .detail02,
    #depositions .detail03 {
        display: none;
    }
        
    #links {
        border-radius: 0;
        padding: 50px 0;
    }
    #links .parent {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        grid-column-gap: 10px;
        grid-row-gap: 10px;
    }

    #links .parent .box:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
    #links .parent .box:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
    #links .parent .box:nth-child(3) { grid-area: 2 / 1 / 3 / 3; }
    #links .parent .box:nth-child(4) { grid-area: 3 / 1 / 4 / 2; }
    #links .parent .box:nth-child(5) { grid-area: 3 / 2 / 4 / 3; }
    #links .parent .box:nth-child(6) { grid-area: 4 / 1 / 5 / 3; }

    #links .parent .box:nth-child(3) .cover_links,
    #links .parent .box:nth-child(6) .cover_links {
        height: 200px;
    }

}