/* =========================
   CONFIGURAÇÕES GERAIS
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    min-height: 100vh;

    background: #e7e7e7;

    font-family: Arial, Helvetica, sans-serif;

    color: #164f73;

}


/* =========================
   MENU SUPERIOR
========================= */

.topo {

    width: 100%;
    height: 62px;

    background: #164f73;

    display: flex;
    align-items: center;

    padding: 0 8%;

    gap: 20px;

}


/* =========================
   LOGO
========================= */

.logo {

    display: flex;
    align-items: center;

    gap: 6px;

    color: white;

    text-decoration: none;

    font-size: 28px;
    font-weight: 900;

    white-space: nowrap;

}

.logo-simbolo {

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 3px solid white;

    font-size: 20px;

}


/* =========================
   PESQUISA
========================= */

.pesquisa {

    width: 265px;
    height: 47px;

    background: white;

    border-radius: 30px;

    display: flex;
    align-items: center;

    overflow: hidden;

}

.pesquisa input {

    flex: 1;

    height: 100%;

    border: none;
    outline: none;

    padding-left: 14px;

    color: #164f73;

    font-size: 12px;
    font-weight: bold;

}

.pesquisa input::placeholder {

    color: #164f73;
    opacity: 1;

}

.pesquisa button {

    width: 55px;

    height: 100%;

    border: none;

    background: white;

    color: #164f73;

    font-size: 25px;

    cursor: pointer;

}


/* =========================
   LINKS SUPERIORES
========================= */

.menu-principal {

    flex: 1;

    display: flex;
    align-items: center;
    justify-content: space-around;

    gap: 20px;

}

.menu-principal a {

    color: white;

    text-decoration: none;

    font-size: 14px;
    font-weight: 900;

    display: flex;
    align-items: center;

    gap: 8px;

    white-space: nowrap;

}

.menu-principal a:hover {

    opacity: 0.75;

}

.icone {

    font-size: 24px;

}


/* =========================
   AVATAR
========================= */

.usuario-menu {

    position: relative;

}

.avatar {

    width: 58px;
    height: 58px;

    border-radius: 50%;

    border: 3px solid white;

    background: white;

    position: relative;

    overflow: hidden;

    cursor: pointer;

}

.avatar-cabeca {

    width: 19px;
    height: 19px;

    background: #164f73;

    border-radius: 50%;

    position: absolute;

    top: 6px;
    left: 50%;

    transform: translateX(-50%);

}

.avatar-corpo {

    width: 32px;
    height: 31px;

    background: #164f73;

    border-radius: 50% 50% 0 0;

    position: absolute;

    bottom: -2px;
    left: 50%;

    transform: translateX(-50%);

}


/* =========================
   DROPDOWN
========================= */

.menu-dropdown {

    position: absolute;

    width: 210px;

    right: 0;
    top: 58px;

    padding: 10px;

    background: white;

    border: 3px solid #164f73;
    border-radius: 15px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.2);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition: 0.2s;

    z-index: 1000;

}

.usuario-menu:hover .menu-dropdown,
.usuario-menu:focus-within .menu-dropdown,
.menu-dropdown.aberto {

    opacity: 1;
    visibility: visible;

    transform: translateY(0);

}

.menu-dropdown a,
.menu-dropdown button {

    width: 100%;

    display: block;

    padding: 12px;

    border: none;
    border-radius: 8px;

    background: transparent;

    text-align: left;

    text-decoration: none;

    color: #164f73;

    font-size: 14px;
    font-weight: bold;

    cursor: pointer;

}

.menu-dropdown a:hover,
.menu-dropdown button:hover {

    background: #164f73;

    color: white;

}

.divisor {

    height: 1px;

    background: #ddd;

    margin: 5px;

}

#sair {

    color: #c0392b;

}


/* =========================
   PÁGINA
========================= */

.pagina {

    width: 86%;
    max-width: 1100px;

    margin: 55px auto;

}


/* =========================
   CATEGORIAS
========================= */

.categorias {

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 13px;

    margin-bottom: 30px;

}

.categoria {

    flex: 1;

    height: 53px;

    border: none;
    border-radius: 30px;

    background: #164f73;

    color: white;

    font-size: 17px;
    font-weight: 900;

    cursor: pointer;

    transition: 0.2s;

}

.categoria:hover {

    transform: translateY(-2px);

}

.categoria.ativo {

    background: #358fc3;

}

.seta-categoria {

    flex: 0 0 95px;

    font-size: 35px;

}


/* =========================
   DESTAQUE
========================= */

.destaque {

    width: 100%;
    min-height: 159px;

    background: #164f73;

    border-radius: 32px;

    padding: 30px 45px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}

.destaque h2 {

    color: white;

    font-size: 29px;
    font-weight: 900;

}

.estrelas {

    display: flex;

    gap: 8px;

    color: #ffc338;

    font-size: 61px;

    line-height: 1;

}

.seta-destaque {

    border: none;

    background: transparent;

    color: white;

    font-size: 55px;

    cursor: pointer;

}


/* =========================
   ANÚNCIO
========================= */

.anuncio {

    width: 86%;

    min-height: 76px;

    margin: 26px auto 52px;

    background: #272d31;

    color: white;

    display: flex;

    justify-content: center;
    align-items: center;

    text-align: center;

    font-size: 16px;
    font-weight: 900;

    padding: 15px;

}


/* =========================
   CARDS
========================= */

.servicos {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 50px;

}

.card-profissional {

    min-height: 320px;

    background: #164f73;

    border-radius: 28px;

    overflow: hidden;

    color: white;

    transition: 0.25s;

}

.card-profissional:hover {

    transform: translateY(-7px);

    box-shadow:
        0 12px 25px
        rgba(0,0,0,0.15);

}


/* FOTO */

.foto-profissional {

    height: 135px;

    background: #f8f8f8;

    color: #164f73;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 65px;

}


/* CONTEÚDO CARD */

.card-conteudo {

    padding: 20px;

}

.card-topo {

    display: flex;

    justify-content: space-between;
    align-items: center;

}

.card-topo h3 {

    font-size: 20px;

}

.favoritar {

    border: none;

    background: transparent;

    color: white;

    font-size: 28px;

    cursor: pointer;

}

.favoritar.ativo {

    color: #ffc338;

}

.profissao {

    margin-top: 8px;

    font-size: 14px;
    font-weight: bold;

}

.local {

    margin-top: 12px;

    font-size: 13px;

}

.avaliacao {

    margin-top: 12px;

    color: #ffc338;

}

.avaliacao span {

    color: white;

    margin-left: 5px;

}


/* BOTÃO PERFIL */

.ver-perfil {

    width: 100%;

    height: 40px;

    margin-top: 18px;

    border: none;
    border-radius: 20px;

    background: white;

    color: #164f73;

    font-weight: 900;

    cursor: pointer;

}

.ver-perfil:hover {

    background: #358fc3;

    color: white;

}


/* =========================
   RESPONSIVIDADE
========================= */

@media (max-width: 1050px) {

    .menu-principal a {

        font-size: 0;

    }

    .menu-principal .icone {

        font-size: 25px;

    }

    .servicos {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .estrelas {

        font-size: 40px;

    }

}


@media (max-width: 700px) {

    .topo {

        padding: 0 15px;

    }

    .logo span:last-child {

        display: none;

    }

    .pesquisa {

        flex: 1;

    }

    .menu-principal {

        display: none;

    }

    .pagina {

        width: 92%;

        margin-top: 30px;

    }

    .categorias {

        overflow-x: auto;

        justify-content: flex-start;

    }

    .categoria {

        flex: 0 0 140px;

    }

    .destaque {

        flex-direction: column;

        text-align: center;

        padding: 30px 20px;

    }

    .destaque h2 {

        font-size: 23px;

    }

    .estrelas {

        font-size: 38px;

    }

    .servicos {

        grid-template-columns: 1fr;

    }

    .anuncio {

        width: 100%;

    }

}
/* v25 - filtros da vitrine */
.pagina{max-width:1180px;margin:42px auto 70px}
.categorias{justify-content:flex-start;gap:14px;margin-bottom:18px;flex-wrap:wrap}
.categoria{flex:0 1 250px;min-width:180px}
.filtros-categorias{display:none;gap:10px;flex-wrap:wrap;margin:0 0 28px;padding:18px;background:#fff;border-radius:22px;box-shadow:0 8px 24px rgba(0,0,0,.06)}
.filtros-categorias.aberto{display:flex}
.filtro-categoria{border:1px solid #d9e4eb;background:#fff;color:#164f73;border-radius:999px;padding:10px 16px;font-weight:800;cursor:pointer}
.filtro-categoria.ativo,.filtro-categoria:hover{background:#164f73;color:#fff}
.destaque{min-height:120px;margin-bottom:28px;padding:28px 38px}
.servicos{gap:28px;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
.card-profissional{position:relative;min-height:0}
.favoritar-servico{position:absolute;right:14px;top:14px;z-index:3;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#164f73;font-size:23px;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.14)}
.favoritar-servico.ativo{color:#d7334c}
@media(max-width:800px){.categoria{flex:1 1 140px}.servicos{grid-template-columns:1fr}.destaque{min-height:100px;padding:24px}}

/* Filtro de localização - NEXU v26 */
.filtros-localizacao{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin:0 0 28px;padding:18px 20px;background:#fff;border-radius:22px;box-shadow:0 8px 24px rgba(0,0,0,.06)}
.filtro-localizacao-campo{display:flex;flex-direction:column;gap:7px;flex:1 1 220px}
.filtro-localizacao-campo label{font-size:11px;font-weight:900;letter-spacing:.08em;color:#164f73}
.filtro-localizacao-campo select{width:100%;height:46px;border:1px solid #d9e4eb;border-radius:14px;background:#fff;color:#123f5c;padding:0 14px;font-weight:700;outline:none;cursor:pointer}
.filtro-localizacao-campo select:focus{border-color:#3598c8;box-shadow:0 0 0 3px rgba(53,152,200,.12)}
.filtro-localizacao-campo select:disabled{opacity:.55;cursor:not-allowed}
.limpar-localizacao{height:46px;border:0;border-radius:14px;padding:0 20px;background:#eaf3f8;color:#164f73;font-weight:900;cursor:pointer}
.limpar-localizacao:hover{background:#164f73;color:#fff}
@media(max-width:700px){.filtros-localizacao{align-items:stretch}.filtro-localizacao-campo{flex:1 1 100%}.limpar-localizacao{width:100%}}
