:root {
    --azul-escuro: #232145;
    --amarelo: #DFD52F;
    --vermelho: #E04D3F;
    --branco: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--branco); overflow-x: hidden; }

/* ======================================================== */
/* OCULTAR ELEMENTOS MOBILE NO COMPUTADOR                   */
/* ======================================================== */
.controles-mobile, 
.header-direita-mobile, 
.logo-menu-mobile, 
.redes-sociais-mobile,
.loja-mobile-header {
    display: none;
}

/* HEADER */
header {
    background-color: rgba(35, 33, 69, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 0 3%;
    height: 90px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.header-esquerda { flex: 1; display: flex; justify-content: flex-start; }
.logo-principal { height: 55px; transition: transform 0.3s; }
.logo-principal:hover { transform: scale(1.05); }

.header-centro { flex: 2; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 35px; }

/* ANIMAÇÃO LOJA */
.container-loja { position: relative; }
.loja-link-animado { display: block; position: relative; animation: balançoLoja 3s infinite ease-in-out; transition: transform 0.3s ease; }
.loja-link-animado:hover { transform: scale(1.1); animation-play-state: paused; }
.img-loja { height: 58px; width: auto; display: block; }
@keyframes balançoLoja { 0%, 100% { transform: rotate(0deg); } 20% { transform: rotate(-6deg); } 40% { transform: rotate(5deg); } 60% { transform: rotate(-3deg); } 80% { transform: rotate(2deg); } }

/* LINKS MENU */
.menu-links { list-style: none; display: flex; gap: 20px; }
.menu-links li a { color: var(--branco); text-decoration: none; font-weight: 600; text-transform: uppercase; font-size: 0.85rem; transition: color 0.3s; position: relative; padding-bottom: 8px; }
.menu-links li a:hover { color: var(--amarelo); }
.menu-links li a::after { content: ''; position: absolute; width: 0; height: 3px; bottom: 0; left: 50%; background-color: var(--amarelo); transition: all 0.3s ease; transform: translateX(-50%); border-radius: 2px; }
.menu-links li a:hover::after { width: 100%; }

/* LADO DIREITO */
.header-direita { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 25px; }
.redes-sociais { display: flex; gap: 15px; }
.redes-sociais a { color: var(--branco); font-size: 2.5rem; transition: 0.3s; }
.redes-sociais a:hover { color: var(--amarelo); transform: translateY(-5px) scale(1.1); }

.btn-login { background: var(--amarelo); color: var(--azul-escuro); border: none; padding: 10px 22px; border-radius: 50px; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: 0.3s; box-shadow: 0 4px 10px rgba(223, 213, 47, 0.3); }
.btn-login:hover { transform: scale(1.05); background: var(--branco); }

/* HERO */
.hero { margin-top: 90px; min-height: 85vh; background: url('../Img/Principal/fundo.png') center/cover; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: white; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(35, 33, 69, 0.6); }
.hero-content { position: relative; z-index: 2; }
.logo-hero-animada { width: 100%; max-width: 480px; margin-bottom: 20px; animation: flutuarHero 3s infinite alternate ease-in-out; }
@keyframes flutuarHero { from { transform: translateY(0); } to { transform: translateY(-20px); } }
.btn { padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: 700; margin: 10px; display: inline-block; transition: 0.3s; }
.btn-vermelho { background: var(--vermelho); color: white; }
.btn-amarelo { background: var(--amarelo); color: var(--azul-escuro); }
.btn:hover { transform: translateY(-3px); filter: brightness(1.1); }

/* MODAL DE LOGIN */
.modal-iframe-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px);
    z-index: 9000; display: flex; justify-content: center; align-items: center;
}
.modal-iframe-overlay iframe { width: 100%; height: 100%; border: none; background: transparent; }
.btn-fechar-iframe { 
    position: absolute; top: 20px; right: 40px; font-size: 50px; color: white; cursor: pointer; 
    z-index: 10000; transition: 0.3s; 
}
.btn-fechar-iframe:hover { color: var(--amarelo); transform: scale(1.1); }
/* ======================================================== */
/* MODAL DE LOGOUT / PERFIL DE USUÁRIO (MINI MODAL)         */
/* ======================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 9500;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logout-box {
    background: linear-gradient(135deg, #232145, #161530);
    padding: 35px 30px;
    border-radius: 25px;
    border: 2px solid var(--amarelo);
    text-align: center;
    max-width: 400px;
    width: 90%;
    color: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    animation: popupLogout 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popupLogout {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.logo-pequena {
    height: 55px;
    width: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(223, 213, 47, 0.4));
}

.logout-box h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--amarelo);
    margin-bottom: 8px;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
}

.logout-box p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 25px;
}

/* Opções de botões dentro do mini modal */
.opcoes-perfil {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-perfil-item {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-perfil-item i {
    font-size: 1.1rem;
}

.btn-perfil-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: var(--amarelo);
    border-color: var(--amarelo);
}

/* Botão de Sair com Destaque Vermelho */
.btn-perfil-item.sair {
    background-color: var(--vermelho);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(224, 77, 63, 0.2);
}

.btn-perfil-item.sair:hover {
    background-color: #ff5f4f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 77, 63, 0.4);
}

/* Botão Voltar */
.btn-fechar-perfil {
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.btn-fechar-perfil:hover {
    color: white;
    text-decoration: underline;
}
/* ======================================================== */
/* BOTÃO WHATSAPP FIXO                                      */
/* ======================================================== */
.whatsapp-fixo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366; /* Verde oficial do WhatsApp */
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 8000; /* Fica acima do site, mas abaixo dos modais (que tem z-index 9000) */
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

/* Efeito ao passar o mouse */
.whatsapp-fixo:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #FFFFFF;
}

/* Animação de pulso para chamar atenção */
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Ajuste de tamanho para celular (Mobile) */
@media (max-width: 768px) {
    .whatsapp-fixo {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}