html {
    box-sizing: border-box;
}

*,
:after,
:before {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    background-color: #E6E9D8;
}

a{
    text-decoration: none;
}

header{
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    background-color: #1B1B1B;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
}

header .logo{
    width: 170px;
    height: auto;
    margin: auto 0;
}

header .filters{
    display: flex;
    flex-direction: row;
    gap: 20px;
    font-size: 15px;
}

header .estilo-search{
    position: relative;
    cursor: pointer;
}

header .estilo-search i {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #f04d38;
    font-size: 20px;
}

header .search{
    width: 450px;
    padding: 10px 35px 10px 15px;
    background-color: #000;
    border: 1px solid #f04d38;
    color: #FFF;
    outline: none;
}

header .search::placeholder{
    color: #FFF;
    text-transform: uppercase;
}

header .estilo-segmento{
    position: relative;
    cursor: pointer;
}

header .estilo-segmento i {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #f04d38;
    font-size: 14px;
}

header .segmento{
    position: relative;
    padding: 10px 30px 10px 10px;
    background-color: #000;
    border: 1px solid #f04d38;
    color: #FFF;
    outline: none;
    cursor: pointer;
    width: 250px;
    text-transform: uppercase;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

main{
    padding: 140px 0 50px;
}

.hidden{
    max-height: 0!important;
    opacity: 0!important;
    margin: 0!important;
    padding: 0!important;
    border: none!important;
    pointer-events: none;
}

#loader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #262c3c;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loader img {
    width: 80px;
    height: 80px;
}

.lista-empresas{
    overflow: hidden;
}

.empresa{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 20px;
    transition: all 0.3s ease-in-out;
    /* border: 1px solid #f04d38; */
    background-color: #FFF;
}

.empresa label{
    font-size: 16px;
    font-weight: 600;
    color: #f04d38;
}

.empresa h1{
    font-size: 25px;
    font-weight: 800;
    color: #000;
}

.empresa h2, .empresa a{
    margin-bottom: 15px;
}

.empresa h2, .empresa li, .empresa a{
    font-size: 17px;
    font-weight: 500;
    color: #000;
}

.empresa .bloco-1{
    width: 150px;
    height: 150px;
    overflow: hidden;
}

.empresa .bloco-1 .logo{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

.empresa:hover .bloco-1 .logo{
    transform: scale(1.1);
}

.empresa .bloco-2{
    flex: 1;
    padding: 0 20px;
}

.empresa .bloco-2 .nome-empresa{
    position: relative;
    height: 100px;
}

.empresa .bloco-2 .nome-empresa h1{
    margin: 0;
}

.empresa .bloco-2 .email-empresa h2, .empresa .bloco-2 .telefone-empresa h2{
    margin: 0;
}

.empresa .accordion{
    overflow: hidden;
    flex: 1 0 100%;
    width: 100%;
    height: 0;
    padding: 0;
    transition: all 0.3s ease-in-out;
    clip-path: polygon(0 0, 100% 0, 100% 0%, 0 0%);
}

.empresa .accordion .segmentos ul{
    padding-left: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 5px;
    column-gap: 30px;
}

.empresa .accordion .segmentos li{
    list-style: circle;
}

.empresa.ativo .accordion{
    height: auto;
    padding: 20px 0 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.empresa .maps iframe{
    width: 100%!important;
    height: 300px!important;
}

.btn-carregar{
    position: relative;
    z-index: 10;
    margin: 10px auto;
    display: block;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    background: transparent;
}

/* BOTOES */
.botao-hamburguer {
    z-index: 2;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    border: none;
    outline: none;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

.line {
    width: 20px;
    height: 1px;
    background-color: #f04d38;
    margin: 4px 0;
    transition: 0.4s;
}

.botao-hamburguer.ativado .line:nth-child(2) {
    opacity: 0;
}

.botao-hamburguer.ativado .line:nth-child(1) {
    transform: translateX(0px) translateY(10px) rotate(50deg);
    width: 20px;
}

.botao-hamburguer.ativado .line:nth-child(3) {
    transform: translateX(0px) translateY(-8px) rotate(-50deg);
    width: 20px;
}

.btn-x {
    position: absolute;
    top: 30px;
    right: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    border: none;
    outline: none;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

.btn-x .line {
    width: 20px;
    height: 1px;
    background-color: #000;
    margin: 4px 0;
    transition: 0.4s;
}

.btn-x .line:nth-child(2) {
    transform: translateX(0px) translateY(-9px) rotate(-90deg);
    width: 20px;
}

.empresa.ativo .btn-x .line:nth-child(1) {
    transform: translateX(0px) translateY(0px) rotate(50deg);
    width: 20px;
}

.empresa.ativo .btn-x .line:nth-child(2) {
    transform: translateX(0px) translateY(-9px) rotate(-50deg);
    width: 20px;
}

@media(max-width: 1200px){
    .desktop{
        display: none!important;
    }

    header .filters{
        position: absolute;
        top: 75px;
        left: 0;
        flex-direction: column;
        width: 100%;
        gap: 5px;
        padding: 10px;
        background-color: #1B1B1B;
        transform: translateX(1400px);
        transition: all 0.3s ease-in-out;
    }

    header .filters.ativado{
        transform: translateX(0px);
    }

    header .search, header .segmento{
        width: 100%;
    }

    .empresa h2, .empresa a{
        word-wrap: break-word;
    }

    .empresa .bloco-1{
        width: 100%;
        height: auto;
    }

    .empresa .bloco-2{
        padding: 10px 0 0 0;
        width: 100%;
    }

    .empresa .bloco-2 .nome-empresa{
        height: auto;
        margin-bottom: 15px;
    }

    .empresa .bloco-2 .nome-empresa::after{
        bottom: 5px;
    }

    .empresa.ativo .accordion{
        padding-top: 15px;
    }

    .empresa .bloco-2 .email-empresa h2{
        margin-bottom: 15px
    }
}