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

:root {
    --azul: #164f73;
    --azul-claro: #358fc3;
    --fundo: #e7e7e7;
    --branco: #ffffff;
    --cinza: #666666;
    --amarelo: #ffc13b;
}

body {
    min-height: 100vh;

    background: var(--fundo);

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

    color: var(--azul);
}


/* =================================
   HEADER
================================= */

.topo {
    width: 100%;
    height: 62px;

    padding: 0 7%;

    background: var(--azul);

    display: flex;
    align-items: center;

    gap: 22px;

    position: relative;

    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;

    gap: 7px;

    color: white;

    text-decoration: none;

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

    white-space: nowrap;
}

.logo-simbolo {
    width: 31px;
    height: 31px;

    border: 3px solid white;

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

.pesquisa {
    width: 270px;
    height: 44px;

    background: white;

    border-radius: 30px;

    display: flex;

    overflow: hidden;
}

.pesquisa input {
    flex: 1;
    min-width: 0;

    padding-left: 15px;

    border: none;
    outline: none;

    color: var(--azul);

    font-weight: bold;
}

.pesquisa button {
    width: 50px;

    border: none;

    background: white;

    color: var(--azul);

    font-size: 25px;

    cursor: pointer;
}

.topo nav {
    flex: 1;

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

    gap: 30px;
}

.topo nav a {
    color: white;

    text-decoration: none;

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

    white-space: nowrap;
}


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

.usuario-menu {
    position: relative;
}

.avatar {
    width: 55px;
    height: 55px;

    border: 3px solid white;
    border-radius: 50%;

    background: white;

    position: relative;

    overflow: hidden;

    cursor: pointer;
}

.avatar-cabeca {
    width: 18px;
    height: 18px;

    background: var(--azul);

    border-radius: 50%;

    position: absolute;

    top: 6px;
    left: 50%;

    transform: translateX(-50%);
}

.avatar-corpo {
    width: 31px;
    height: 31px;

    background: var(--azul);

    border-radius: 50% 50% 0 0;

    position: absolute;

    bottom: -3px;
    left: 50%;

    transform: translateX(-50%);
}

.menu-dropdown {
    width: 210px;

    position: absolute;

    right: 0;
    top: 55px;

    padding: 10px;

    background: white;

    border: 3px solid var(--azul);
    border-radius: 15px;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .15);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition: .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: 11px;

    border: none;
    border-radius: 8px;

    background: transparent;

    color: var(--azul);

    text-align: left;
    text-decoration: none;

    font-weight: bold;

    cursor: pointer;
}

.menu-dropdown a:hover,
.menu-dropdown button:hover,
.menu-dropdown .selecionado-menu {
    background: var(--azul);

    color: white;
}

.divisor {
    height: 1px;

    margin: 5px;

    background: #ddd;
}


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

.pagina {
    width: 86%;
    max-width: 1150px;

    margin: 40px auto 100px;
}


/* =================================
   PERFIL PRINCIPAL
================================= */

.perfil-principal {
    background: white;

    border-radius: 30px;

    overflow: hidden;

    box-shadow:
        0 6px 22px rgba(0, 0, 0, .07);
}


/* CAPA */

.capa-perfil {
    height: 180px;

    background:
        linear-gradient(
            120deg,
            #164f73,
            #358fc3
        );

    position: relative;

    overflow: hidden;
}

.marca-capa {
    position: absolute;

    right: 50px;
    top: -35px;

    color:
        rgba(255, 255, 255, .08);

    font-size: 220px;
    font-weight: 900;
}


/* ÁREA */

.area-perfil {
    padding:
        0 40px 30px;

    position: relative;
}


/* FOTO */

.foto-perfil {
    width: 145px;
    height: 145px;

    position: absolute;

    top: -72px;

    border: 7px solid white;
    border-radius: 50%;

    background: white;

    overflow: hidden;

    box-shadow:
        0 5px 18px
        rgba(0, 0, 0, .15);
}

.foto-cabeca {
    width: 48px;
    height: 48px;

    position: absolute;

    top: 20px;
    left: 50%;

    transform: translateX(-50%);

    border-radius: 50%;

    background: var(--azul);
}

.foto-corpo {
    width: 90px;
    height: 75px;

    position: absolute;

    bottom: -5px;
    left: 50%;

    transform: translateX(-50%);

    border-radius:
        55px 55px 0 0;

    background: var(--azul);
}


/* AÇÕES */

.acoes-perfil {
    min-height: 75px;

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

    gap: 8px;
}

.btn-editar {
    height: 42px;

    padding: 0 18px;

    border-radius: 23px;

    background: var(--azul);

    color: white;

    display: inline-flex;
    align-items: center;

    text-decoration: none;

    font-size: 11px;
    font-weight: 900;
}

.btn-editar:hover {
    background: var(--azul-claro);
}

.btn-opcoes {
    width: 43px;
    height: 43px;

    border: 2px solid var(--azul);
    border-radius: 50%;

    background: white;

    color: var(--azul);

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

    cursor: pointer;
}


/* DADOS */

.dados-perfil {
    margin-top: 5px;
}

.nome-area {
    display: flex;
    align-items: center;

    gap: 8px;
}

.nome-area h1 {
    font-size: 28px;
}

.verificado {
    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: var(--azul-claro);

    color: white;

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

    font-size: 12px;
    font-weight: 900;
}

.username {
    margin-top: 4px;

    color: #777;

    font-size: 13px;
}

.bio {
    max-width: 620px;

    margin-top: 15px;

    color: #555;

    line-height: 1.5;

    font-size: 14px;
}

.informacoes-rapidas {
    margin-top: 18px;

    display: flex;
    flex-wrap: wrap;

    gap: 20px;

    color: #777;

    font-size: 12px;
}

.informacoes-rapidas strong {
    color: var(--azul);
}


/* =================================
   ESTATÍSTICAS
================================= */

.estatisticas {
    margin-top: 28px;

    padding-top: 25px;

    border-top: 1px solid #ddd;

    display: flex;

    gap: 50px;
}

.estatistica {
    display: flex;
    flex-direction: column;
}

.estatistica strong {
    font-size: 23px;
}

.estatistica span {
    margin-top: 3px;

    color: #777;

    font-size: 11px;
}


/* =================================
   ESTRUTURA
================================= */

.estrutura-perfil {
    margin-top: 25px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr) 320px;

    gap: 25px;

    align-items: start;
}


/* =================================
   ABAS
================================= */

.coluna-principal {
    min-width: 0;
}

.abas-perfil {
    padding: 7px;

    background: white;

    border-radius: 20px;

    display: flex;

    gap: 5px;

    box-shadow:
        0 5px 18px rgba(0,0,0,.05);
}

.aba {
    flex: 1;
    height: 43px;

    border: none;
    border-radius: 15px;

    background: transparent;

    color: var(--azul);

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

    cursor: pointer;
}

.aba:hover,
.aba.ativa {
    background: var(--azul);

    color: white;
}


/* =================================
   CONTEÚDO ABAS
================================= */

.conteudo-aba {
    display: none;

    margin-top: 18px;
}

.conteudo-aba.ativo {
    display: block;
}

.titulo-conteudo {
    margin-bottom: 15px;

    padding: 23px;

    background: white;

    border-radius: 18px;
}

.titulo-conteudo span,
.mini-titulo {
    color: var(--azul-claro);

    font-size: 10px;
    font-weight: 900;
}

.titulo-conteudo h2 {
    margin-top: 4px;

    font-size: 20px;
}


/* =================================
   ATIVIDADE
================================= */

.atividade-card {
    min-height: 100px;

    margin-bottom: 10px;

    padding: 20px;

    background: white;

    border-radius: 18px;

    display: flex;
    align-items: center;

    gap: 17px;

    box-shadow:
        0 4px 15px rgba(0,0,0,.04);
}

.icone-atividade {
    min-width: 48px;
    width: 48px;
    height: 48px;

    border-radius: 14px;

    background: var(--azul);

    color: white;

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

    font-size: 20px;
    font-weight: 900;
}

.atividade-info h3 {
    font-size: 13px;
}

.atividade-info p {
    margin-top: 5px;

    color: #666;

    font-size: 13px;
}

.atividade-info span {
    display: block;

    margin-top: 8px;

    color: #999;

    font-size: 10px;
}


/* =================================
   AVALIAÇÕES
================================= */

.avaliacao-card {
    margin-bottom: 12px;

    padding: 22px;

    background: white;

    border-radius: 20px;

    box-shadow:
        0 4px 15px rgba(0,0,0,.04);
}

.avaliacao-topo {
    display: flex;
    align-items: center;

    gap: 12px;
}

.mini-avatar {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    background: var(--azul);

    color: white;

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

    font-weight: 900;
}

.avaliacao-topo h3 {
    font-size: 13px;
}

.avaliacao-topo p {
    margin-top: 3px;

    color: #777;

    font-size: 11px;
}

.data-avaliacao {
    margin-left: auto;

    color: #999;

    font-size: 10px;
}

.estrelas {
    margin-top: 15px;

    color: var(--amarelo);

    font-size: 20px;
}

.comentario {
    margin-top: 10px;

    color: #555;

    font-size: 13px;

    line-height: 1.5;
}


/* =================================
   FAVORITOS
================================= */

.grade-favoritos {
    display: grid;

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

    gap: 15px;
}

.favorito-card {
    background: white;

    border-radius: 20px;

    overflow: hidden;

    position: relative;

    box-shadow:
        0 4px 15px rgba(0,0,0,.05);
}

.foto-servico {
    height: 130px;

    background: var(--azul);

    color: white;

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

    font-size: 50px;
}

.coracao {
    width: 38px;
    height: 38px;

    position: absolute;

    right: 12px;
    top: 12px;

    border: none;
    border-radius: 50%;

    background: white;

    font-size: 20px;

    cursor: pointer;
}

.coracao.favorito {
    color: #d34242;
}

.favorito-info {
    padding: 18px;
}

.categoria {
    color: var(--azul-claro);

    font-size: 9px;
    font-weight: 900;
}

.favorito-info h3 {
    margin-top: 5px;

    font-size: 15px;
}

.favorito-avaliacao {
    margin-top: 8px;

    color: var(--amarelo);

    font-weight: bold;
}

.favorito-info p {
    margin-top: 8px;

    color: #777;

    font-size: 11px;
}

.ver-servico {
    width: 100%;
    height: 38px;

    margin-top: 15px;

    border: none;
    border-radius: 20px;

    background: var(--azul);

    color: white;

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

    cursor: pointer;
}


/* =================================
   COLUNA LATERAL
================================= */

.coluna-lateral {
    display: flex;
    flex-direction: column;

    gap: 18px;
}

.card-lateral {
    padding: 25px;

    background: white;

    border-radius: 22px;

    box-shadow:
        0 5px 18px rgba(0,0,0,.05);
}

.card-lateral h2 {
    margin-top: 5px;

    font-size: 18px;
}

.item-sobre {
    margin-top: 20px;

    display: flex;
    align-items: center;

    gap: 12px;
}

.item-sobre > span {
    width: 40px;
    height: 40px;

    border-radius: 12px;

    background: var(--azul);

    color: white;

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

.item-sobre small,
.item-sobre strong {
    display: block;
}

.item-sobre small {
    color: #999;

    font-size: 8px;
    font-weight: 900;
}

.item-sobre strong {
    margin-top: 3px;

    font-size: 12px;
}


/* SEGURANÇA */

.seguranca-card {
    text-align: center;
}

.icone-seguranca {
    width: 55px;
    height: 55px;

    margin: 0 auto 15px;

    border-radius: 17px;

    background: var(--azul);

    color: white;

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

    font-size: 25px;
}

.seguranca-card p,
.parceiro-card p {
    margin-top: 8px;

    color: #777;

    font-size: 12px;

    line-height: 1.5;
}

.seguranca-card a,
.parceiro-card a {
    height: 40px;

    margin-top: 18px;

    border-radius: 22px;

    background: var(--azul);

    color: white;

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

    text-decoration: none;

    font-size: 10px;
    font-weight: 900;
}


/* =================================
   OPÇÕES FLUTUANTES
================================= */

.opcoes-flutuantes {
    width: 220px;

    position: fixed;

    padding: 8px;

    background: white;

    border: 2px solid var(--azul);
    border-radius: 15px;

    box-shadow:
        0 10px 25px rgba(0,0,0,.18);

    display: none;

    z-index: 2000;
}

.opcoes-flutuantes.aberto {
    display: block;
}

.opcoes-flutuantes button {
    width: 100%;

    padding: 11px;

    border: none;
    border-radius: 9px;

    background: transparent;

    color: var(--azul);

    text-align: left;

    font-weight: bold;

    cursor: pointer;
}

.opcoes-flutuantes button:hover {
    background: var(--azul);

    color: white;
}


/* =================================
   RESPONSIVO
================================= */

@media (max-width: 950px) {

    .topo nav {
        display: none;
    }

    .estrutura-perfil {
        grid-template-columns: 1fr;
    }

    .coluna-lateral {
        display: grid;

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

}


@media (max-width: 650px) {

    .topo {
        padding: 0 12px;
    }

    .logo span:last-child {
        display: none;
    }

    .pesquisa {
        flex: 1;
    }

    .pagina {
        width: 92%;

        margin-top: 25px;
    }

    .capa-perfil {
        height: 130px;
    }

    .area-perfil {
        padding:
            0 20px 25px;
    }

    .foto-perfil {
        width: 110px;
        height: 110px;

        top: -55px;
    }

    .foto-cabeca {
        width: 36px;
        height: 36px;
    }

    .foto-corpo {
        width: 70px;
        height: 58px;
    }

    .acoes-perfil {
        min-height: 70px;
    }

    .dados-perfil {
        margin-top: 15px;
    }

    .nome-area h1 {
        font-size: 22px;
    }

    .estatisticas {
        gap: 20px;

        justify-content: space-between;
    }

    .estatistica strong {
        font-size: 19px;
    }

    .estatistica span {
        max-width: 90px;
    }

    .grade-favoritos {
        grid-template-columns: 1fr;
    }

    .coluna-lateral {
        grid-template-columns: 1fr;
    }

    .abas-perfil {
        overflow-x: auto;
    }

    .aba {
        min-width: 110px;
    }

}

/* =========================================================
   HEADER NEXU — MESMAS PROPORÇÕES DO inicio1.html (sem pesquisa)
========================================================= */
.topo {
    width: 100%;
    height: 62px;
    background: #164f73;
    display: flex;
    align-items: center;
    padding: 0 8%;
    gap: 20px;
}
.topo .logo {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    text-decoration: none;
    font-size: 28px;
    font-weight: 900;
    white-space: nowrap;
}
.topo .logo-simbolo {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    font-size: 20px;
}
.topo .menu-principal {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    margin-left: 0;
}
.topo .menu-principal a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.topo .menu-principal a:hover { opacity: .75; }
.topo .icone { font-size: 24px; }
.topo .usuario-menu { position: relative; }
.topo .avatar {
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    border-radius: 50%;
    border: 3px solid white;
    background: white;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
}
.topo .avatar-cabeca {
    width: 19px; height: 19px; background: #164f73; border-radius: 50%;
    position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
}
.topo .avatar-corpo {
    width: 32px; height: 31px; background: #164f73; border-radius: 50% 50% 0 0;
    position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
}
