/* ==========================================================
   CICLORECYCLE
   PERFIL DO USUÁRIO
   perfil.css
========================================================== */


/* ==========================================================
   VARIÁVEIS
========================================================== */

:root {

    /* VERDE CICLORECYCLE */
    --verde-principal: #3f8f5a;
    --verde-escuro: #286b41;
    --verde-medio: #69a87c;
    --verde-claro: #eaf5ed;
    --verde-suave: #f5faf6;


    /* ROSA ECOLÓTUS */
    --rosa-principal: #e66f9b;
    --rosa-escuro: #bd4f79;
    --rosa-medio: #ee91b2;
    --rosa-claro: #f8c8d9;
    --rosa-suave: #fdebf2;
    --rosa-palido: #fff6f9;


    /* CORES COMPLEMENTARES */
    --amarelo: #e9b95e;
    --amarelo-claro: #fff7e5;

    --azul: #7798b8;
    --azul-claro: #eef5fa;

    --vermelho: #c95f6d;
    --vermelho-claro: #fff0f2;


    /* TEXTO */
    --texto-principal: #3e3438;
    --texto-secundario: #786a70;
    --texto-suave: #9c8e94;


    /* ESTRUTURA */
    --fundo: #fff9fb;
    --branco: #ffffff;
    --borda: #f0dce4;


    /* SOMBRAS */
    --sombra-suave:
        0 8px 28px rgba(157, 80, 110, 0.08);

    --sombra-media:
        0 12px 35px rgba(157, 80, 110, 0.13);
}
/* ==========================================================
   RESET
========================================================== */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    min-height: 100vh;

    padding-bottom: 95px;

    font-family:
        "Poppins",
        sans-serif;

    color:
        var(--texto);

    background:

        radial-gradient(
            circle at 5% 8%,
            rgba(45, 135, 72, 0.06),
            transparent 25%
        ),

        radial-gradient(
            circle at 95% 30%,
            rgba(233, 107, 151, 0.06),
            transparent 25%
        ),

        var(--fundo);

}


body,
button,
input {

    font-family:
        "Poppins",
        sans-serif;

}


a {

    color: inherit;

    text-decoration: none;

}


button {

    border: none;

    cursor: pointer;

}


button,
a {

    -webkit-tap-highlight-color:
        transparent;

}


img {

    display: block;

    max-width: 100%;

}


[hidden] {

    display: none !important;

}


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

.perfil-pagina {

    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    margin:
        0
        auto;

}


/* ==========================================================
   CABEÇALHO
========================================================== */

.topo {

    width: 100%;

    min-height: 78px;

    margin-top: 18px;

    padding:
        12px
        18px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 20px;

    border:
        1px solid
        var(--borda);

    border-radius: 18px;

    background:
        rgba(
            255,
            255,
            255,
            0.97
        );

    box-shadow:
        var(--sombra);

}


/* ==========================================================
   MARCA
========================================================== */

.marca {

    min-width: 0;

    display: flex;

    align-items: center;

    gap: 11px;

}


.marca img {

    width: 50px;
    height: 50px;

    min-width: 50px;

    padding: 3px;

    object-fit: contain;

    border-radius: 14px;

    background:
        var(--verde-claro);

}


.marca-texto {

    min-width: 0;

}


.marca-texto strong {

    display: block;

    color:
        var(--verde-escuro);

    font-size: 1.04rem;

    font-weight: 800;

    line-height: 1.15;

}


.marca-texto span {

    display: block;

    margin-top: 3px;

    color:
        var(--rosa-principal);

    font-size: 0.62rem;

    font-weight: 600;

}


/* ==========================================================
   USUÁRIO NO TOPO
========================================================== */

.usuario-topo {

    min-width: 0;

    padding:
        5px
        6px
        5px
        12px;

    display: flex;

    align-items: center;

    gap: 11px;

    border-radius: 14px;

}


.usuario-dados {

    min-width: 0;

    display: flex;

    flex-direction: column;

    align-items: flex-end;

}


.usuario-dados small {

    color:
        var(--texto-claro);

    font-size: 0.55rem;

}


.usuario-dados strong {

    display: block;

    max-width: 220px;

    overflow: hidden;

    color:
        #35483c;

    font-size: 0.74rem;

    font-weight: 700;

    white-space: nowrap;

    text-overflow: ellipsis;

}


.usuario-dados span {

    margin-top: 1px;

    color:
        var(--verde-principal);

    font-size: 0.59rem;

    font-weight: 700;

}


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

.avatar {

    width: 42px;
    height: 42px;

    min-width: 42px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color:
        var(--branco);

    background:
        linear-gradient(
            135deg,
            var(--rosa-principal),
            var(--rosa-escuro)
        );

    box-shadow:
        0 5px 15px
        rgba(201, 79, 123, 0.18);

}


.avatar span {

    font-size: 0.75rem;

    font-weight: 800;

}


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

.perfil-conteudo {

    width:
        min(
            1050px,
            100%
        );

    margin:
        0
        auto;

    padding-top: 25px;

}


/* ==========================================================
   VOLTAR
========================================================== */

.perfil-voltar {

    width: fit-content;

    min-height: 38px;

    margin-bottom: 16px;

    padding:
        0
        13px;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    border:
        1px solid
        var(--borda);

    border-radius: 11px;

    color:
        var(--verde-principal);

    background:
        var(--branco);

    font-size: 0.60rem;

    font-weight: 700;

    box-shadow:
        0 4px 14px
        rgba(31, 78, 45, 0.04);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;

}


.perfil-voltar:hover {

    transform:
        translateX(-2px);

    border-color:
        #bdd8c5;

    background:
        var(--verde-claro);

}


/* ==========================================================
   HERO
========================================================== */

.perfil-hero {

    position: relative;

    min-height: 190px;

    padding:
        34px
        38px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 30px;

    overflow: hidden;

    border-radius: 24px;

    color:
        var(--branco);

    background:
        linear-gradient(
            135deg,
            #1e6837,
            #318a4c
        );

    box-shadow:
        0 14px 38px
        rgba(32, 105, 56, 0.13);

}


.perfil-hero::before {

    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    top: -150px;
    right: 140px;

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.06
        );

}


.perfil-hero::after {

    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -100px;
    bottom: -150px;

    border-radius: 50%;

    background:
        rgba(
            233,
            107,
            151,
            0.22
        );

}


.perfil-hero-texto {

    position: relative;

    z-index: 2;

    max-width: 650px;

}


.perfil-label {

    display: block;

    margin-bottom: 5px;

    color:
        #ccebd5;

    font-size: 0.56rem;

    font-weight: 800;

    letter-spacing: 0.09em;

}


.perfil-hero h1 {

    margin-bottom: 7px;

    color:
        var(--branco);

    font-size:
        clamp(
            1.7rem,
            4vw,
            2.5rem
        );

    font-weight: 800;

    letter-spacing: -0.035em;

}


.perfil-hero p {

    max-width: 600px;

    color:
        rgba(
            255,
            255,
            255,
            0.78
        );

    font-size: 0.70rem;

    line-height: 1.7;

}


.perfil-hero-icone {

    position: relative;

    z-index: 2;

    width: 95px;
    height: 95px;

    min-width: 95px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.15
        );

    border-radius: 26px;

    color:
        var(--branco);

    background:
        rgba(
            255,
            255,
            255,
            0.10
        );

    backdrop-filter:
        blur(8px);

}


.perfil-hero-icone i {

    font-size: 2rem;

}


/* ==========================================================
   RESUMO DO PERFIL
========================================================== */

.perfil-resumo {

    position: relative;

    z-index: 5;

    margin:
        -25px
        22px
        0;

    padding:
        18px
        20px;

    display: flex;

    align-items: center;

    gap: 15px;

    border:
        1px solid
        var(--borda);

    border-radius: 19px;

    background:
        var(--branco);

    box-shadow:
        var(--sombra);

}


.perfil-avatar-grande {

    width: 62px;
    height: 62px;

    min-width: 62px;

    display: grid;

    place-items: center;

    border:
        4px solid
        var(--rosa-claro);

    border-radius: 50%;

    color:
        var(--branco);

    background:
        linear-gradient(
            135deg,
            var(--rosa-principal),
            var(--rosa-escuro)
        );

}


.perfil-avatar-grande span {

    font-size: 1rem;

    font-weight: 800;

}


.perfil-resumo-dados {

    min-width: 0;

    flex: 1;

}


.perfil-tipo-badge {

    width: fit-content;

    display: inline-flex;

    align-items: center;

    margin-bottom: 3px;

    padding:
        3px
        8px;

    border-radius: 50px;

    color:
        var(--verde-principal);

    background:
        var(--verde-claro);

    font-size: 0.47rem;

    font-weight: 800;

    text-transform: uppercase;

}


.perfil-resumo-dados h2 {

    overflow: hidden;

    color:
        #33463a;

    font-size: 0.95rem;

    font-weight: 750;

    white-space: nowrap;

    text-overflow: ellipsis;

}


.perfil-resumo-dados p {

    margin-top: 2px;

    overflow: hidden;

    color:
        var(--texto-secundario);

    font-size: 0.60rem;

    white-space: nowrap;

    text-overflow: ellipsis;

}


/* ==========================================================
   BOTÃO EDITAR
========================================================== */

.btn-editar-perfil {

    min-height: 40px;

    padding:
        0
        14px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    border-radius: 11px;

    color:
        var(--branco);

    background:
        var(--verde-principal);

    font-size: 0.58rem;

    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}


.btn-editar-perfil:hover {

    transform:
        translateY(-1px);

    background:
        var(--verde-escuro);

}


/* ==========================================================
   ATALHOS
========================================================== */

.perfil-atalhos {

    margin-top: 20px;

    display: grid;

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

    gap: 12px;

}


.perfil-atalho {

    min-width: 0;

    padding:
        15px;

    display: flex;

    align-items: center;

    gap: 11px;

    border:
        1px solid
        var(--borda);

    border-radius: 16px;

    background:
        var(--branco);

    box-shadow:
        0 5px 18px
        rgba(31, 78, 45, 0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;

}


.perfil-atalho:hover {

    transform:
        translateY(-2px);

    border-color:
        #c8ddce;

    box-shadow:
        var(--sombra-hover);

}


.perfil-atalho > div:nth-child(2) {

    min-width: 0;

    flex: 1;

}


.perfil-atalho strong {

    display: block;

    color:
        #34473b;

    font-size: 0.66rem;

    font-weight: 750;

}


.perfil-atalho span {

    display: block;

    margin-top: 2px;

    overflow: hidden;

    color:
        var(--texto-secundario);

    font-size: 0.50rem;

    white-space: nowrap;

    text-overflow: ellipsis;

}


.perfil-atalho > i {

    color:
        #a0aaa4;

    font-size: 0.62rem;

}


.perfil-atalho-icone {

    width: 38px;
    height: 38px;

    min-width: 38px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    color:
        var(--verde-principal);

    background:
        var(--verde-claro);

}


.perfil-atalho-icone.rosa {

    color:
        var(--rosa-escuro);

    background:
        var(--rosa-claro);

}


.perfil-atalho-icone.amarelo {

    color:
        #b47d12;

    background:
        var(--amarelo-claro);

}


/* ==========================================================
   GRID PRINCIPAL
========================================================== */

.perfil-grid {

    margin-top: 20px;

    display: grid;

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

    gap: 16px;

}


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

.perfil-card {

    margin-top: 16px;

    padding: 22px;

    border:
        1px solid
        var(--borda);

    border-radius: 19px;

    background:
        var(--branco);

    box-shadow:
        0 6px 22px
        rgba(31, 78, 45, 0.045);

}


.perfil-grid .perfil-card {

    margin-top: 0;

}


.perfil-card-cabecalho {

    margin-bottom: 19px;

    display: flex;

    align-items: center;

    gap: 11px;

}


.perfil-card-icone {

    width: 41px;
    height: 41px;

    min-width: 41px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    color:
        var(--verde-principal);

    background:
        var(--verde-claro);

}


.perfil-card-icone.rosa {

    color:
        var(--rosa-escuro);

    background:
        var(--rosa-claro);

}


.perfil-card-icone.empresa {

    color:
        var(--azul);

    background:
        var(--azul-claro);

}


.perfil-card-icone.descarte {

    color:
        var(--verde-principal);

    background:
        var(--verde-claro);

}


.perfil-card-icone.editar {

    color:
        var(--rosa-escuro);

    background:
        var(--rosa-claro);

}


.perfil-card-icone.seguranca {

    color:
        #63736a;

    background:
        #f1f5f2;

}


.perfil-card-cabecalho > div:last-child {

    min-width: 0;

}


.perfil-card-cabecalho span {

    display: block;

    margin-bottom: 2px;

    color:
        var(--rosa-principal);

    font-size: 0.48rem;

    font-weight: 800;

    letter-spacing: 0.08em;

}


.perfil-card-cabecalho h2 {

    color:
        #34473b;

    font-size: 0.82rem;

    font-weight: 750;

}


/* ==========================================================
   LISTA DE DADOS
========================================================== */

.perfil-lista-dados {

    display: grid;

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

    gap: 10px;

}


.perfil-dado {

    min-width: 0;

    padding:
        11px
        12px;

    display: flex;

    align-items: center;

    gap: 9px;

    border:
        1px solid
        #edf2ee;

    border-radius: 12px;

    background:
        #fbfdfb;

}


.perfil-dado-icone {

    width: 31px;
    height: 31px;

    min-width: 31px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    color:
        var(--verde-principal);

    background:
        var(--verde-claro);

    font-size: 0.67rem;

}


.perfil-dado > div:last-child {

    min-width: 0;

}


.perfil-dado span {

    display: block;

    margin-bottom: 1px;

    color:
        var(--texto-claro);

    font-size: 0.47rem;

}


.perfil-dado strong {

    display: block;

    overflow: hidden;

    color:
        #435248;

    font-size: 0.56rem;

    font-weight: 650;

    white-space: nowrap;

    text-overflow: ellipsis;

}


/* ==========================================================
   ENDEREÇO
========================================================== */

.perfil-endereco {

    padding: 15px;

    display: flex;

    align-items: center;

    gap: 12px;

    border:
        1px solid
        #f0e1e7;

    border-radius: 14px;

    background:
        #fffafb;

}


.perfil-endereco-icone {

    width: 42px;
    height: 42px;

    min-width: 42px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    color:
        var(--rosa-escuro);

    background:
        var(--rosa-claro);

}


.perfil-endereco > div:last-child {

    min-width: 0;

}


.perfil-endereco span {

    display: block;

    margin-bottom: 3px;

    color:
        var(--texto-claro);

    font-size: 0.48rem;

}


.perfil-endereco strong {

    display: block;

    color:
        #435248;

    font-size: 0.58rem;

    font-weight: 650;

    line-height: 1.5;

    overflow-wrap: anywhere;

}


.perfil-card-observacao {

    margin-top: 13px;

    padding:
        10px
        12px;

    display: flex;

    align-items: flex-start;

    gap: 7px;

    border-radius: 10px;

    color:
        #6f7e75;

    background:
        #f7faf8;

    font-size: 0.50rem;

    line-height: 1.55;

}


.perfil-card-observacao i {

    margin-top: 2px;

    color:
        var(--verde-principal);

}


/* ==========================================================
   DADOS DE EMPRESA
========================================================== */

.perfil-dados-duplos {

    display: grid;

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

    gap: 12px;

}


.perfil-dado-box {

    min-width: 0;

    padding: 15px;

    border:
        1px solid
        #e6edf4;

    border-radius: 13px;

    background:
        #f9fbfd;

}


.perfil-dado-box span {

    display: block;

    margin-bottom: 4px;

    color:
        var(--texto-claro);

    font-size: 0.49rem;

}


.perfil-dado-box strong {

    display: block;

    overflow-wrap: anywhere;

    color:
        #435248;

    font-size: 0.62rem;

    font-weight: 650;

}


/* ==========================================================
   USUÁRIO DE DESCARTE
========================================================== */

.perfil-descarte {

    border-color:
        #d8eadc;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #fbfefc
        );

}


.perfil-descarte-descricao {

    max-width: 720px;

    margin-top: -7px;

    margin-bottom: 17px;

    color:
        var(--texto-secundario);

    font-size: 0.58rem;

    line-height: 1.65;

}


.perfil-acoes-descarte {

    display: grid;

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

    gap: 12px;

}


.acao-descarte {

    min-width: 0;

    padding: 15px;

    display: flex;

    align-items: center;

    gap: 11px;

    border:
        1px solid
        var(--borda);

    border-radius: 14px;

    background:
        var(--branco);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}


.acao-descarte:hover {

    transform:
        translateY(-2px);

    border-color:
        #bcdac4;

    box-shadow:
        0 8px 20px
        rgba(31, 78, 45, 0.07);

}


.acao-descarte > div {

    width: 40px;
    height: 40px;

    min-width: 40px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    color:
        var(--verde-principal);

    background:
        var(--verde-claro);

}


.acao-descarte.principal > div {

    color:
        var(--branco);

    background:
        var(--verde-principal);

}


.acao-descarte > span {

    min-width: 0;

    flex: 1;

}


.acao-descarte strong {

    display: block;

    color:
        #34473b;

    font-size: 0.63rem;

    font-weight: 750;

}


.acao-descarte small {

    display: block;

    margin-top: 2px;

    color:
        var(--texto-secundario);

    font-size: 0.49rem;

}


.acao-descarte > i {

    color:
        #9ba69f;

    font-size: 0.60rem;

}


/* ==========================================================
   EDIÇÃO DO PERFIL
========================================================== */

.perfil-edicao {

    scroll-margin-top: 20px;

}


.form-grid {

    display: grid;

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

    gap: 13px;

}


.form-grupo {

    min-width: 0;

}


.form-grupo-completo {

    grid-column:
        1 / -1;

}


.form-grupo label {

    display: block;

    margin-bottom: 6px;

    color:
        #526258;

    font-size: 0.53rem;

    font-weight: 650;

}


.form-grupo input {

    width: 100%;

    min-height: 43px;

    padding:
        0
        13px;

    border:
        1px solid
        #dce7df;

    border-radius: 11px;

    outline: none;

    color:
        #34473b;

    background:
        #fcfdfc;

    font-size: 0.60rem;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

}


.form-grupo input:hover {

    border-color:
        #c8d9cc;

}


.form-grupo input:focus {

    border-color:
        #94c5a1;

    background:
        var(--branco);

    box-shadow:
        0 0 0 3px
        rgba(45, 135, 72, 0.09);

}


.form-grupo input::placeholder {

    color:
        #a7b0aa;

}


.form-empresa {

    margin-top: 15px;

    padding-top: 15px;

    border-top:
        1px solid
        var(--borda);

}


.form-acoes {

    margin-top: 19px;

    display: flex;

    justify-content: flex-end;

    gap: 9px;

}


.btn-cancelar,
.btn-salvar {

    min-height: 41px;

    padding:
        0
        15px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    border-radius: 11px;

    font-size: 0.56rem;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;

}


.btn-cancelar {

    border:
        1px solid
        var(--borda);

    color:
        #65736b;

    background:
        var(--branco);

}


.btn-cancelar:hover {

    background:
        #f5f8f6;

}


.btn-salvar {

    color:
        var(--branco);

    background:
        var(--verde-principal);

}


.btn-salvar:hover {

    transform:
        translateY(-1px);

    background:
        var(--verde-escuro);

}


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

.perfil-seguranca {

    margin-bottom: 25px;

}


.perfil-seguranca-conteudo {

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 20px;

}


.perfil-seguranca-conteudo > div {

    min-width: 0;

}


.perfil-seguranca-conteudo strong {

    display: block;

    margin-bottom: 3px;

    color:
        #405047;

    font-size: 0.62rem;

    font-weight: 700;

}


.perfil-seguranca-conteudo p {

    color:
        var(--texto-secundario);

    font-size: 0.52rem;

    line-height: 1.55;

}


.btn-sair {

    min-width: 95px;

    min-height: 40px;

    padding:
        0
        13px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    border:
        1px solid
        #f2d3d3;

    border-radius: 11px;

    color:
        var(--vermelho);

    background:
        var(--vermelho-claro);

    font-size: 0.55rem;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;

}


.btn-sair:hover {

    transform:
        translateY(-1px);

    background:
        #ffe7e7;

}


/* ==========================================================
   TOAST
========================================================== */

.toast {

    position: fixed;

    left: 50%;
    bottom: 98px;

    z-index: 2000;

    max-width:
        calc(
            100% - 30px
        );

    padding:
        11px
        16px;

    pointer-events: none;

    opacity: 0;

    visibility: hidden;

    transform:
        translate(
            -50%,
            15px
        );

    border-radius: 12px;

    color:
        var(--branco);

    background:
        #283d30;

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

    font-size: 0.58rem;

    font-weight: 600;

    text-align: center;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;

}


.toast.mostrar {

    opacity: 1;

    visibility: visible;

    transform:
        translate(
            -50%,
            0
        );

}


/* ==========================================================
   MENU INFERIOR
========================================================== */

.menu-inferior {

    position: fixed;

    left: 50%;
    bottom: 14px;

    z-index: 1000;

    width:
        min(
            620px,
            calc(100% - 28px)
        );

    min-height: 68px;

    padding: 7px;

    display: grid;

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

    align-items: center;

    transform:
        translateX(-50%);

    border:
        1px solid
        var(--borda);

    border-radius: 21px;

    background:
        rgba(
            255,
            255,
            255,
            0.97
        );

    backdrop-filter:
        blur(15px);

    box-shadow:
        0 8px 32px
        rgba(28, 72, 41, 0.13);

}


.menu-inferior > a {

    position: relative;

    min-width: 0;

    min-height: 52px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 4px;

    border-radius: 15px;

    color:
        #7b8a81;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;

}


.menu-inferior > a:hover {

    color:
        var(--rosa-principal);

    background:
        #fff7fa;

    transform:
        translateY(-1px);

}


.menu-inferior > a.ativo {

    color:
        var(--verde-principal);

    background:
        var(--verde-claro);

}


.menu-inferior > a > i,
.icone-menu > i {

    font-size: 1rem;

}


.menu-inferior > a > span {

    font-size: 0.55rem;

    font-weight: 650;

}


/* ==========================================================
   CONTADOR CARRINHO
========================================================== */

.icone-menu {

    position: relative;

    display: grid;

    place-items: center;

}


.contador-carrinho {

    position: absolute;

    top: -10px;
    right: -13px;

    min-width: 17px;
    height: 17px;

    padding:
        0
        4px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        2px solid
        var(--branco);

    border-radius: 50px;

    color:
        var(--branco);

    background:
        var(--rosa-principal);

    font-size: 0.47rem;

    font-weight: 800;

}


/* ==========================================================
   FOCO
========================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible {

    outline:
        3px solid
        rgba(
            45,
            135,
            72,
            0.20
        );

    outline-offset: 3px;

}


/* ==========================================================
   TABLET
========================================================== */

@media
(max-width: 900px) {

    .perfil-grid {

        grid-template-columns:
            1fr;

    }


    .perfil-atalhos {

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

    }


    .perfil-atalho:last-child {

        grid-column:
            1 / -1;

    }

}


/* ==========================================================
   TABLET PEQUENO
========================================================== */

@media
(max-width: 700px) {

    .perfil-hero {

        min-height: 170px;

        padding:
            28px
            25px;

    }


    .perfil-hero-icone {

        width: 75px;
        height: 75px;

        min-width: 75px;

        border-radius: 21px;

    }


    .perfil-hero-icone i {

        font-size: 1.55rem;

    }


    .perfil-lista-dados {

        grid-template-columns:
            1fr;

    }


    .perfil-acoes-descarte {

        grid-template-columns:
            1fr;

    }

}


/* ==========================================================
   CELULAR
========================================================== */

@media
(max-width: 600px) {

    body {

        padding-bottom: 84px;

    }


    .perfil-pagina {

        width:
            calc(
                100% - 24px
            );

    }


    /* =====================================================
       TOPO
    ====================================================== */

    .topo {

        min-height: 66px;

        margin-top: 12px;

        padding:
            9px
            11px;

        gap: 8px;

        border-radius: 16px;

    }


    .marca {

        gap: 8px;

    }


    .marca img {

        width: 42px;
        height: 42px;

        min-width: 42px;

        border-radius: 12px;

    }


    .marca-texto strong {

        font-size: 0.81rem;

    }


    .marca-texto span {

        max-width: 145px;

        overflow: hidden;

        font-size: 0.49rem;

        white-space: nowrap;

        text-overflow: ellipsis;

    }


    .usuario-topo {

        padding: 4px;

        gap: 7px;

    }


    .usuario-dados small {

        display: none;

    }


    .usuario-dados strong {

        max-width: 95px;

        font-size: 0.60rem;

    }


    .usuario-dados span {

        max-width: 100px;

        overflow: hidden;

        font-size: 0.49rem;

        white-space: nowrap;

        text-overflow: ellipsis;

    }


    .avatar {

        width: 36px;
        height: 36px;

        min-width: 36px;

    }


    .avatar span {

        font-size: 0.64rem;

    }


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

    .perfil-conteudo {

        padding-top: 16px;

    }


    .perfil-voltar {

        min-height: 35px;

        margin-bottom: 12px;

        padding:
            0
            11px;

        font-size: 0.54rem;

    }


    /* =====================================================
       HERO
    ====================================================== */

    .perfil-hero {

        min-height: 155px;

        padding:
            25px
            21px;

        border-radius: 20px;

    }


    .perfil-hero h1 {

        font-size: 1.55rem;

    }


    .perfil-hero p {

        font-size: 0.61rem;

    }


    .perfil-label {

        font-size: 0.49rem;

    }


    .perfil-hero-icone {

        display: none;

    }


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

    .perfil-resumo {

        margin:
            -17px
            10px
            0;

        padding:
            14px;

        gap: 10px;

        border-radius: 16px;

    }


    .perfil-avatar-grande {

        width: 52px;
        height: 52px;

        min-width: 52px;

    }


    .perfil-resumo-dados h2 {

        font-size: 0.76rem;

    }


    .perfil-resumo-dados p {

        max-width: 170px;

        font-size: 0.52rem;

    }


    .perfil-tipo-badge {

        font-size: 0.41rem;

    }


    .btn-editar-perfil {

        min-width: 38px;
        width: 38px;
        height: 38px;

        padding: 0;

    }


    .btn-editar-perfil {

        font-size: 0;

    }


    .btn-editar-perfil i {

        font-size: 0.70rem;

    }


    /* =====================================================
       ATALHOS
    ====================================================== */

    .perfil-atalhos {

        margin-top: 15px;

        grid-template-columns:
            1fr;

        gap: 9px;

    }


    .perfil-atalho:last-child {

        grid-column: auto;

    }


    .perfil-atalho {

        padding: 12px;

    }


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

    .perfil-grid {

        margin-top: 15px;

        gap: 11px;

    }


    .perfil-card {

        margin-top: 11px;

        padding: 17px;

        border-radius: 17px;

    }


    .perfil-card-cabecalho {

        margin-bottom: 15px;

    }


    .perfil-card-cabecalho h2 {

        font-size: 0.72rem;

    }


    .perfil-card-cabecalho span {

        font-size: 0.43rem;

    }


    /* =====================================================
       EMPRESA
    ====================================================== */

    .perfil-dados-duplos {

        grid-template-columns:
            1fr;

    }


    /* =====================================================
       FORMULÁRIO
    ====================================================== */

    .form-grid {

        grid-template-columns:
            1fr;

        gap: 11px;

    }


    .form-grupo-completo {

        grid-column: auto;

    }


    .form-grupo input {

        min-height: 42px;

        font-size: 0.57rem;

    }


    .form-acoes {

        flex-direction: column-reverse;

    }


    .btn-cancelar,
    .btn-salvar {

        width: 100%;

    }


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

    .perfil-seguranca-conteudo {

        align-items:
            flex-start;

        flex-direction: column;

    }


    .btn-sair {

        width: 100%;

    }


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

    .menu-inferior {

        bottom: 8px;

        width:
            calc(
                100% - 20px
            );

        min-height: 62px;

        padding: 5px;

        border-radius: 18px;

    }


    .menu-inferior > a {

        min-height: 50px;

        border-radius: 13px;

    }


    .menu-inferior > a > i,
    .icone-menu > i {

        font-size: 0.91rem;

    }


    .menu-inferior > a > span {

        font-size: 0.50rem;

    }


    .toast {

        bottom: 82px;

        font-size: 0.54rem;

    }

}


/* ==========================================================
   CELULAR PEQUENO
========================================================== */

@media
(max-width: 420px) {

    .marca-texto span {

        display: none;

    }


    .usuario-dados strong {

        max-width: 75px;

    }


    .usuario-dados span {

        max-width: 78px;

    }


    .perfil-resumo {

        margin:
            -14px
            6px
            0;

    }


    .perfil-avatar-grande {

        width: 47px;
        height: 47px;

        min-width: 47px;

    }


    .perfil-resumo-dados p {

        max-width: 125px;

    }


    .perfil-endereco {

        align-items:
            flex-start;

    }

}


/* ==========================================================
   CELULAR MUITO PEQUENO
========================================================== */

@media
(max-width: 350px) {

    .usuario-dados {

        display: none;

    }


    .perfil-resumo {

        flex-wrap: wrap;

    }


    .perfil-resumo-dados {

        flex:
            1 1
            calc(
                100% - 65px
            );

    }


    .btn-editar-perfil {

        width: 100%;

        min-height: 38px;

    }


    .btn-editar-perfil {

        font-size: 0.52rem;

    }


    .btn-editar-perfil i {

        font-size: 0.65rem;

    }

}
/* =========================================================
   IDENTIDADE ROSA + VERDE
========================================================= */

body {
    background:
        radial-gradient(
            circle at top left,
            rgba(230, 111, 155, 0.12),
            transparent 32%
        ),
        radial-gradient(
            circle at top right,
            rgba(63, 143, 90, 0.08),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #fff9fb 0%,
            #fffefe 55%,
            #fff7fa 100%
        );
}


/* HERO */

.perfil-hero {
    background:
        linear-gradient(
            135deg,
            #397f51 0%,
            #4f9966 55%,
            #da7398 145%
        );
}


/* CARDS */

.perfil-card,
.perfil-resumo,
.perfil-atalho {
    border-color: #f0dce4;
}


/* ÍCONES */

.perfil-card-icone {
    color: var(--verde-escuro);
    background: var(--verde-claro);
}

.perfil-card-icone.rosa {
    color: var(--rosa-escuro);
    background: var(--rosa-suave);
}


/* BOTÃO EDITAR */

.btn-editar-perfil {
    border-color: var(--rosa-claro);
    color: var(--rosa-escuro);
    background: var(--rosa-suave);
}

.btn-editar-perfil:hover {
    color: #ffffff;
    border-color: var(--rosa-principal);
    background: var(--rosa-principal);
}


/* =========================================================
   FOTO DE PERFIL
========================================================= */

.perfil-avatar-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}


.perfil-avatar-grande {
    position: relative;

    overflow: hidden;

    border: 4px solid #ffffff;

    box-shadow:
        0 8px 24px
        rgba(190, 79, 121, 0.18);
}


.foto-perfil-selecionada {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: inherit;
}


/* FOTO PEQUENA NO TOPO */

.avatar {
    overflow: hidden;
}

.foto-avatar-topo {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 50%;
}


/* =========================================================
   ALTERAR FOTO
========================================================= */

.btn-alterar-foto {
    padding: 8px 14px;

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

    gap: 7px;

    border:
        1px solid var(--rosa-claro);

    border-radius: 999px;

    color:
        var(--rosa-escuro);

    background:
        var(--rosa-suave);

    font-family: inherit;

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

    cursor: pointer;

    transition: 0.2s ease;
}


.btn-alterar-foto:hover {
    color: #ffffff;

    border-color:
        var(--rosa-principal);

    background:
        var(--rosa-principal);

    transform:
        translateY(-2px);

    box-shadow:
        0 7px 18px
        rgba(230, 111, 155, 0.25);
}


/* =========================================================
   CAIXA DE SELEÇÃO
========================================================= */

.seletor-foto-perfil {
    width: 100%;

    margin-top: 18px;
    padding: 22px;

    border:
        1px solid var(--rosa-claro);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            var(--rosa-palido)
        );

    box-shadow:
        var(--sombra-media);
}


.seletor-foto-cabecalho {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}


.seletor-foto-cabecalho h3 {
    margin: 7px 0 4px;

    color:
        var(--texto-principal);

    font-size: 18px;
}


.seletor-foto-cabecalho p {
    margin: 0;

    color:
        var(--texto-secundario);

    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   FECHAR
========================================================= */

.btn-fechar-fotos {
    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border:
        1px solid var(--rosa-claro);

    border-radius: 50%;

    color:
        var(--rosa-escuro);

    background:
        var(--rosa-suave);

    cursor: pointer;

    transition: 0.2s;
}


.btn-fechar-fotos:hover {
    color: #ffffff;

    border-color:
        var(--rosa-principal);

    background:
        var(--rosa-principal);

    transform: rotate(8deg);
}


/* =========================================================
   QUATRO FOTOS
========================================================= */

.opcoes-foto-perfil {
    display: grid;

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

    gap: 16px;
}


.opcao-foto {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    padding: 5px;

    overflow: hidden;

    border:
        3px solid transparent;

    border-radius: 22px;

    background:
        var(--rosa-suave);

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.opcao-foto:hover {
    border-color:
        var(--rosa-medio);

    background:
        var(--rosa-claro);

    transform:
        translateY(-4px);

    box-shadow:
        0 10px 25px
        rgba(230, 111, 155, 0.20);
}


.opcao-foto img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 16px;
}


/* FOTO SELECIONADA */

.opcao-foto.selecionada {
    border-color:
        var(--rosa-principal);

    background:
        var(--rosa-suave);

    box-shadow:
        0 0 0 4px
        rgba(230, 111, 155, 0.13);
}


/* CHECK */

.opcao-foto span {
    position: absolute;

    right: 8px;
    bottom: 8px;

    width: 28px;
    height: 28px;

    display: none;
    place-items: center;

    border:
        3px solid #ffffff;

    border-radius: 50%;

    color: #ffffff;

    background:
        var(--rosa-principal);

    font-size: 10px;

    box-shadow:
        0 4px 12px
        rgba(189, 79, 121, 0.28);
}


.opcao-foto.selecionada span {
    display: grid;
}


/* =========================================================
   AVISO
========================================================= */

.aviso-foto-perfil {
    margin:
        16px 0 0;

    padding:
        11px 13px;

    border:
        1px solid var(--rosa-claro);

    border-radius:
        12px;

    color:
        var(--rosa-escuro);

    background:
        var(--rosa-suave);

    font-size:
        10px;
}


.aviso-foto-perfil i {
    margin-right:
        5px;
}


/* =========================================================
   CAMPOS DO FORMULÁRIO
========================================================= */

.form-grupo input:focus {
    border-color:
        var(--rosa-medio);

    box-shadow:
        0 0 0 3px
        rgba(230, 111, 155, 0.10);
}


/* =========================================================
   BOTÃO SALVAR
========================================================= */

.btn-salvar {
    background:
        linear-gradient(
            135deg,
            var(--rosa-principal),
            var(--rosa-escuro)
        );
}

.btn-salvar:hover {
    box-shadow:
        0 8px 20px
        rgba(189, 79, 121, 0.25);
}


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

.menu-inferior a.ativo {
    color:
        var(--rosa-principal);
}


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

@media (max-width: 600px) {

    .opcoes-foto-perfil {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 12px;
    }


    .seletor-foto-perfil {
        padding: 16px;
    }


    .opcao-foto {
        border-radius: 18px;
    }


    .opcao-foto img {
        border-radius: 13px;
    }

}