/* =========================================================
   CASA DOS PELUDOS
   PÁGINA DE PERFIL
========================================================= */


/* =========================================================
   RESET
========================================================= */

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

html {
    width: 100%;
    min-height: 100%;
}

body {
    width: 100%;
    min-height: 100vh;

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

    background: #f8e9e5;

    color: #403236;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: Arial, Helvetica, sans-serif;
}


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

.page {
    width: 100%;
    min-height: 100vh;

    display: flex;

    background: #f8e9e5;
}


/* =========================================================
   MENU LATERAL
========================================================= */

.navbar {
    width: 230px;
    min-width: 230px;

    min-height: 100vh;

    position: fixed;

    left: 0;
    top: 0;

    background: #853b4b;

    padding: 22px 15px;

    display: flex;
    flex-direction: column;

    z-index: 1000;
}


/* LOGO */

.logo {
    width: 100%;
    height: 80px;

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

    margin-bottom: 25px;
}

.logo img {
    width: 155px;
    max-width: 100%;

    height: auto;

    object-fit: contain;
}


/* MENU */

.menu {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 6px;
}

.menu a {
    width: 100%;

    min-height: 43px;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 10px 13px;

    border-radius: 8px;

    color: white;

    font-size: 13px;

    transition: .2s ease;
}

.menu a span {
    width: 24px;

    text-align: center;

    font-size: 15px;
}

.menu a:hover {
    background: rgba(255,255,255,.12);
}

.menu a.active {
    background: rgba(255,255,255,.20);
}


/* SAIR */

.sair {
    width: 100%;

    min-height: 43px;

    margin-top: auto;

    padding: 10px 13px;

    display: flex;
    align-items: center;

    gap: 11px;

    color: white;

    border-radius: 8px;

    font-size: 13px;

    transition: .2s ease;
}

.sair:hover {
    background: rgba(255,255,255,.12);
}

.sair span {
    width: 24px;

    text-align: center;
}


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

.conteudo {
    width: calc(100% - 230px);

    min-height: 100vh;

    margin-left: 230px;

    background: #f8e9e5;
}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {
    width: 100%;

    min-height: 74px;

    padding: 12px 35px;

    background: white;

    border-bottom: 1px solid #e3c6c2;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* ESQUERDA */

.topbar-esquerda {
    display: flex;

    align-items: center;

    gap: 12px;
}

.botao-voltar {
    color: #853b4b;

    font-size: 28px;

    line-height: 1;
}

.topbar-esquerda h1 {
    color: #853b4b;

    font-size: 23px;

    font-weight: 700;
}

.topbar-esquerda p {
    margin-top: 3px;

    color: #817174;

    font-size: 10px;
}


/* USUÁRIO */

.usuario {
    display: flex;

    align-items: center;

    gap: 10px;
}

.usuario-foto {
    width: 38px;
    height: 38px;

    display: flex;

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

    border-radius: 50%;

    background: #853b4b;

    color: white;

    font-weight: bold;

    font-size: 14px;
}

.usuario-info strong {
    display: block;

    color: #403236;

    font-size: 11px;
}

.usuario-info span {
    display: block;

    margin-top: 2px;

    color: #817174;

    font-size: 8px;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb {
    width: 100%;

    padding: 17px 35px 10px;

    font-size: 10px;

    color: #817174;
}

.breadcrumb a {
    color: #853b4b;

    font-weight: bold;
}

.breadcrumb span {
    margin: 0 4px;
}


/* =========================================================
   BANNER DO PERFIL
========================================================= */

.perfil-banner {
    width: calc(100% - 70px);

    margin: 0 35px 20px;

    min-height: 125px;

    padding: 20px 25px;

    display: flex;

    align-items: center;

    gap: 20px;

    background: #f1d7d3;

    border: 1px solid #dfbeb9;

    border-radius: 10px;
}


/* FOTO */

.foto-container {
    position: relative;

    flex-shrink: 0;
}

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

    display: block;

    object-fit: cover;

    border-radius: 50%;

    border: 4px solid white;

    background: #e8cccc;
}

.botao-camera {
    width: 29px;
    height: 29px;

    position: absolute;

    right: -3px;
    bottom: -2px;

    display: flex;

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

    padding: 0;

    border: 2px solid white;

    border-radius: 50%;

    background: #853b4b;

    color: white;

    font-size: 12px;

    cursor: pointer;
}


/* SAUDAÇÃO */

.saudacao h2 {
    color: #853b4b;

    font-size: 20px;

    margin-bottom: 5px;
}

.saudacao h2 span {
    color: #71303f;
}

.saudacao p {
    color: #817174;

    font-size: 10px;
}


/* =========================================================
   ÁREA DOS CARDS
========================================================= */

.cards-area {
    width: calc(100% - 70px);

    margin: 0 35px;

    padding-bottom: 30px;

    display: grid;

    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .9fr);

    gap: 20px;

    align-items: start;
}


/* COLUNAS */

.coluna-esquerda,
.coluna-direita {
    min-width: 0;

    width: 100%;
}


/* =========================================================
   CARD
========================================================= */

.card {
    width: 100%;

    padding: 20px;

    background: #fffaf8;

    border: 1px solid #e2c6c1;

    border-radius: 10px;

    box-shadow: 0 3px 12px rgba(100, 45, 55, .07);
}

.card + .card {
    margin-top: 20px;
}


/* TÍTULO */

.card-titulo {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 17px;
}

.card-titulo h3 {
    color: #853b4b;

    font-size: 13px;

    font-weight: 700;
}

.icone-titulo {
    width: 28px;
    height: 28px;

    display: flex;

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

    border-radius: 7px;

    background: #f1d7d3;

    font-size: 13px;
}


/* =========================================================
   DADOS PESSOAIS
========================================================= */

.dados-grid {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 13px 18px;
}

.campo {
    min-width: 0;
}

.campo label {
    display: block;

    margin-bottom: 5px;

    color: #817174;

    font-size: 9px;

    font-weight: 500;
}

.campo-valor {
    width: 100%;

    min-height: 37px;

    padding: 8px 10px;

    display: flex;

    align-items: center;

    background: white;

    border: 1px solid #ead6d2;

    border-radius: 6px;

    color: #403236;

    font-size: 10px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* BOTÃO */

.botao-principal {
    width: 100%;

    height: 38px;

    margin-top: 18px;

    border: none;

    border-radius: 7px;

    background: #853b4b;

    color: white;

    font-size: 10px;

    font-weight: bold;

    cursor: pointer;

    transition: .2s;
}

.botao-principal:hover {
    background: #71303f;
}


/* =========================================================
   SEGURANÇA
========================================================= */

.seguranca-linha {
    width: 100%;

    min-height: 58px;

    padding: 11px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    border-top: 1px solid #ead6d2;
}

.seguranca-linha:first-of-type {
    border-top: none;
}

.seguranca-texto {
    min-width: 0;
}

.seguranca-texto h4 {
    color: #403236;

    font-size: 10px;

    font-weight: 700;
}

.seguranca-texto p {
    margin-top: 3px;

    color: #817174;

    font-size: 8px;
}


/* BOTÃO ALTERAR */

.botao-alterar {
    flex-shrink: 0;

    padding: 7px 13px;

    border: 1px solid #dfc2bd;

    border-radius: 6px;

    background: white;

    color: #853b4b;

    font-size: 9px;

    font-weight: bold;

    cursor: pointer;
}


/* =========================================================
   TOGGLE
========================================================= */

.toggle {
    width: 40px;
    height: 21px;

    position: relative;

    flex-shrink: 0;

    border-radius: 20px;

    background: #c9b8ba;
}

.toggle .bolinha {
    width: 15px;
    height: 15px;

    position: absolute;

    top: 3px;
    left: 3px;

    border-radius: 50%;

    background: white;

    transition: .2s;
}

.toggle.ativo {
    background: #b95d6e;
}

.toggle.ativo .bolinha {
    left: 22px;
}


/* =========================================================
   RESUMO
========================================================= */

.resumo {
    width: 100%;

    display: grid;

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

    gap: 8px;
}

.resumo-item {
    min-width: 0;

    padding: 13px 5px;

    text-align: center;

    background: white;

    border: 1px solid #ead6d2;

    border-radius: 7px;
}

.resumo-item strong {
    display: block;

    color: #853b4b;

    font-size: 22px;

    line-height: 1;

    font-weight: 700;
}

.resumo-item span {
    display: block;

    margin-top: 6px;

    color: #403236;

    font-size: 8px;

    font-weight: bold;
}

.resumo-item small {
    display: block;

    margin-top: 2px;

    color: #817174;

    font-size: 7px;
}


/* =========================================================
   ACESSO RÁPIDO
========================================================= */

.acesso {
    width: 100%;

    display: flex;

    flex-direction: column;
}

.acesso a {
    min-height: 45px;

    display: grid;

    grid-template-columns: 30px 1fr 20px;

    align-items: center;

    gap: 7px;

    border-top: 1px solid #ead6d2;

    color: #403236;

    font-size: 10px;
}

.acesso a:first-child {
    border-top: none;
}

.acesso a:hover {
    color: #853b4b;
}

.acesso-icone {
    font-size: 16px;
}

.acesso a strong {
    color: #853b4b;

    text-align: right;

    font-size: 16px;
}


/* =========================================================
   RODAPÉ
========================================================= */

.footer {
    width: 100%;

    padding: 35px 40px;

    background: #853b4b;

    color: white;

    display: grid;

    grid-template-columns: 1.2fr 1fr 1.3fr 1fr;

    gap: 25px;
}


/* IMAGEM */

.footer-imagem {
    display: flex;

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

.pet-circulo {
    width: 115px;
    height: 115px;

    overflow: hidden;

    border: 4px solid rgba(255,255,255,.8);

    border-radius: 50%;
}

.pet-circulo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* COLUNAS */

.footer-coluna h3 {
    margin-bottom: 9px;

    font-size: 13px;
}

.footer-coluna p {
    color: rgba(255,255,255,.82);

    font-size: 9px;

    line-height: 1.7;
}

.footer-coluna strong {
    display: block;

    margin-top: 10px;

    font-size: 10px;
}


/* BOTÃO */

.botao-footer {
    display: inline-block;

    margin-top: 12px;

    padding: 8px 12px;

    border-radius: 6px;

    background: white;

    color: #853b4b;

    font-size: 9px;

    font-weight: bold;
}


/* REDES */

.redes {
    display: flex;

    gap: 7px;

    margin-top: 12px;
}

.redes a {
    width: 27px;
    height: 27px;

    display: flex;

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

    border: 1px solid rgba(255,255,255,.6);

    border-radius: 50%;

    color: white;

    font-size: 11px;
}


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


/* TELAS MÉDIAS */

@media (max-width: 1000px) {

    .cards-area {
        grid-template-columns: 1fr;
    }

    .footer {
        grid-template-columns: 1fr 1fr;
    }
}


/* TABLET / CELULAR */

@media (max-width: 700px) {

    .page {
        display: block;
    }

    .navbar {
        width: 100%;

        min-width: 100%;

        min-height: auto;

        position: relative;

        padding: 12px;
    }

    .logo {
        height: 55px;

        margin-bottom: 10px;
    }

    .logo img {
        width: 130px;
    }

    .menu {
        display: grid;

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

        gap: 5px;
    }

    .menu a {
        justify-content: center;

        padding: 8px 5px;

        font-size: 10px;
    }

    .menu a span {
        display: none;
    }

    .sair {
        display: none;
    }


    .conteudo {
        width: 100%;

        margin-left: 0;
    }


    .topbar {
        padding: 14px 18px;
    }

    .topbar-esquerda h1 {
        font-size: 19px;
    }

    .usuario-info {
        display: none;
    }


    .breadcrumb {
        padding: 14px 18px 8px;
    }


    .perfil-banner {
        width: calc(100% - 36px);

        margin-left: 18px;
        margin-right: 18px;

        padding: 15px;
    }


    .cards-area {
        width: calc(100% - 36px);

        margin-left: 18px;
        margin-right: 18px;
    }


    .dados-grid {
        grid-template-columns: 1fr;
    }


    .footer {
        grid-template-columns: 1fr 1fr;

        padding: 28px 20px;
    }

    .footer-imagem {
        display: none;
    }
}


/* CELULAR PEQUENO */

@media (max-width: 450px) {

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

    .perfil-banner {
        align-items: flex-start;
    }

    .foto-perfil {
        width: 65px;
        height: 65px;
    }

    .saudacao h2 {
        font-size: 16px;
    }

    .card {
        padding: 15px;
    }

    .resumo {
        grid-template-columns: 1fr 1fr;
    }

    .seguranca-linha {
        align-items: flex-start;
    }

    .footer {
        grid-template-columns: 1fr;
    }
}