:root {
    /* ====== DIMENSÕES ====== */
    --top_panel_height: 64px;        /* Mobile */
    --bottom_panel_height: 64px;
    --deslocamento_menu_direita: 75%;

    /* ====== SOMBRAS ====== */
    --sombra_padrao: 0px 0px 0px 2px rgba(0, 0, 0, 1);
    --cor_sombra_preta: rgba(0, 0, 0, 0.9);
    --cor_sombra_vermelha: rgba(139, 0, 0, 0.9);

    /* ====== CORES BÁSICAS ====== */
    --vermelho: #ff0000;
    --laranja: #ff7f00;
    --amarelo: #ffcc00;
    --verde: #00ff00;
    --azul: #0000ff;
    --roxo: #800080;
    --rosa: #ff1493;
    --marrom: #8b4513;
    --cinza: #808080;
    --preto: #000000;
    --branco: #ffffff;
    --bege: #f5f5dc;
    --amarelo_forte: #fbff00;

    /* Cores suaves */
    --vermelho_suave: #ff5c5c;
    --laranja_suave: #ff9b56;
    --amarelo_suave: #fbce2d;
    --verde_suave: #77d780;
    --azul_suave: #57a2ff;
    --roxo_suave: #b53eff;
    --rosa_suave: #f7a8d3;
    --marrom_suave: #9c715f;
    --cinza_suave: #d1d1d1;
    --preto_suave: #343434;
    --branco_suave: #f9f9f9;
    --bege_suave: #f4e1c1;

    /* Cores escuras suaves */
    --rosa_escuro_suave: rgb(204, 172, 172);
    --roxo_escuro_suave: rgb(145, 87, 160);
    --azul_escuro_suave: #52749e;

    /* Cores personalizadas */
    --verde_claro_suave: rgb(58, 189, 121);
    --rosa_suave_primeiro_plano: #F8BBD0;
    --rosa_suave_segundo_plano: #F48FB1;
    --azul_suave_primeiro_plano: #A3C9F1;
    --azul_suave_segundo_plano: #6EC6F0;
    --verde_suave_primeiro_plano: #A8D5BA;
    --verde_suave_segundo_plano: #81C784;
    --amarelo_suave_primeiro_plano: #FFF9C4;
    --amarelo_suave_segundo_plano: #FFEB3B;
    --lilas_suave_primeiro_plano: #E1BEE7;
    --lilas_suave_segundo_plano: #CE93D8;
    --pessego_suave_primeiro_plano: #FFCCBC;
    --pessego_suave_segundo_plano: #FFAB91;
    --cinza_suave_primeiro_plano: #B0BEC5;
    --cinza_suave_segundo_plano: #90A4AE;
    --turquesa_suave_primeiro_plano: #80CBC4;
    --turquesa_suave_segundo_plano: #4DB6AC;
    --coral_suave_primeiro_plano: #FFCC80;
    --coral_suave_segundo_plano: #FF7043;
    --peonia_suave_primeiro_plano: #F48FB1;
    --peonia_suave_segundo_plano: #EC407A;
    --lavanda_suave_primeiro_plano: #E1C6E9;
    --lavanda_suave_segundo_plano: #CE93D8;
}

@media (min-width: 768px) {
    :root {
        --top_panel_height: 96px;    /* Override para desktop */
        /* --bottom_panel_height: 80px;  (Exemplo: se mudar no desktop) */
    }
}

/* Reset e Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: rgb(224, 224, 224);
    padding-top: var(--top_panel_height);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Layout Principal */
.main-container.empurrado {
    margin-left: 250px;
    width: calc(100% - 250px);
}

body.menu-aberto {
    width: 100%;
    height: 100%;
}

/* Cabeçalho */
.cabecalho {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--top_panel_height);
    background-color: #B62128;
    color: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
}

.cabecalho .botao-hamburguer {
    cursor: pointer;
    margin-right: 20px;
}

.cabecalho .logomarca {
    width: clamp(24px, 8vw, 56px);
    height: clamp(24px, 8vw, 56px);
    margin-right: 20px;
    border-radius: 5px;
}

.menu-lateral {
    position: fixed;
    top: var(--top_panel_height);
    left: -250px;
    width: 250px;
    height: calc(100% - 64px);
    background-color: #000000;
    z-index: 999;
    overflow-y: auto;
}

.menu-lateral.aberto {
    left: 0;
}

.menu-lateral a {
    display: block;
    color: #D3D3D3;
    padding: 15px;
    text-decoration: none;
}

.menu-lateral a:hover {
    background-color: #555;
}

.menu-lateral i {
    color: #B62128;
}

/* Conteúdo */
.conteudo {
    padding: 10px;
    text-align: center;
    transition: margin-left 0.3s ease-in-out;
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
}

.conteudo.empurrado {
    margin-left: 250px;
    min-height: calc(100vh - var(--top_panel_height));
    width: calc(100% - 250px);
}

.footer {
    width: 100%;
    max-height: var(--bottom_panel_height); /* Altura máxima rígida */
    background-color: #B62128;
    color: black;
    text-align: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centraliza verticalmente */
    gap: 4px; /* Reduz o espaçamento entre os elementos */
    margin-top: auto;
    box-sizing: border-box;
    overflow: hidden; /* Evita vazamentos */
    z-index: 1000;
}

.footer p {
    margin: 0; /* Remove margens padrão do <p> */
    line-height: 1.2; /* Compacta o texto */
    font-size: clamp(10px, 2vw, 12px); /* Texto responsivo (min 10px, max 12px) */
}

.footer a {
    white-space: nowrap; /* Evita quebra de links */
}

.footer___linha_de_parceria img {
    width: 14px !important; /* Reduz a logo */
    height: 14px !important;
    vertical-align: middle;
}

/* Componentes */
.navbar {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.navbar a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    padding: 5px 10px;
    background-color: #555;
    border-radius: 5px;
}

.navbar a:hover {
    background-color: #666;
}

.botoes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.botao {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 3px 3px 8px rgb(119 0 0 / 64%), -3px -3px 8px rgb(164 164 164);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: #333;
    width: 100%;
    max-width: 90%;
    box-sizing: border-box;
}

.botao:hover {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3), -5px -5px 10px rgba(255, 255, 255, 0.6);
}

.botao img {
    width: 36px;
    height: 36px;
}

/* Formulários */
form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.password___ {
    position: relative;
}

.password___ input[type="checkbox"] {
    margin-left: 10px;
}

.botao_verde {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: #333;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2), -3px -3px 8px #B62128;
}

.botao_verde:hover {
    background-color: #218838;
}

/* Elementos diversos */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.link {
    word-wrap: break-word;
    max-width: 90%;
}

.imagem-principal {
    width: 100%;
    max-width: 128px;
    height: auto;
    margin: 20px auto;
    border-radius: 5px;
    box-shadow: 3px 3px 8px rgb(119 0 0 / 64%), -3px -3px 8px rgb(164 164 164);
}

/* Classes de imagens */
.imagem.icone {
    width: 24px;
    max-width: 24px;
    box-shadow: none !important;
    filter: none !important;
}

.imagem.pequena {
    width: 100%;
    max-width: 128px;
}

.imagem.media {
    width: 100%;
    max-width: 256px;
}

.imagem.media_grande {
    width: 100%;
    max-width: 360px;
}

.imagem.grande {
    width: 100%;
    max-width: 720px;
}

/* Versões alternativas (standby) */
/*
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    font-size: 14px;
    background-color: #B62128;
    color: white;
    text-align: center;
    padding: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.footer.empurrado {
    margin-left: 250px;
}

.footer___linha_de_parceria.empurrado {
    margin-left: 250px;
}
*/