/* =========================================
   1. CONFIGURAÇÕES BASE E VARIÁVEIS
   ========================================= */
@font-face {
    font-family: 'Priestacy';
    src: url('./fonts/Priestacy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --rosa-choque: #d63384;
    --azul-claro: #00d4ff;
    --rosa-gradiente: #ff5e98;
    --fundo-escuro: #c2206d;
    --texto-claro: #ffffff;
    --fundo-coracoes: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 46.5l-1.8-1.6C16.8 34.3 11 29 11 21.5c0-6 4.8-10.5 10.5-10.5 4.3 0 8.1 2.7 9.5 6.5 1.4-3.8 5.2-6.5 9.5-6.5C46.2 11 51 15.5 51 21.5c0 7.5-5.8 12.8-17.2 23.4L30 46.5z' fill='%23ffffff' fill-opacity='0.15'/%3E%3C/svg%3E");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--rosa-choque);
    color: var(--texto-claro);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* =========================================
   2. CABEÇALHO E MENU (HOME)
   ========================================= */
.cabecalho {
    position: absolute;
    top: 0; width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-family: 'Priestacy', cursive;
    font-size: 60px;
    color: var(--texto-claro);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.botao-menu {
    background: transparent;
    border: none;
    color: var(--texto-claro);
    font-size: 28px;
    cursor: pointer;
}

.dropdown { position: relative; }
.dropdown-conteudo {
    display: none;
    position: absolute;
    right: 0; top: 100%;
    background: var(--fundo-escuro);
    min-width: 180px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.dropdown-conteudo a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    font-weight: bold;
}

.dropdown-conteudo a:hover { background: var(--azul-claro); color: var(--fundo-escuro); }
.dropdown:hover .dropdown-conteudo { display: block; }

/* =========================================
   3. HERO E CONTEÚDO (HOME)
   ========================================= */
.hero { height: 80vh; position: relative; background: #000; overflow: hidden; }
.video-background video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.3); }

.onda-divisor { margin-top: -5px; }
.conteudo { background-image: var(--fundo-coracoes); padding: 50px 20px; text-align: center; }

.texto-intro-container {
    max-width: 1000px; margin: 0 auto 40px;
    display: flex; align-items: center; gap: 30px;
    background: rgba(255,255,255,0.1); padding: 30px; border-radius: 20px;
    backdrop-filter: blur(5px);
}

.foto-introducao { width: 300px; border-radius: 15px; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }

.grade-videos {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; max-width: 1100px; margin: 0 auto;
}

.video-container { position: relative; padding-bottom: 56.25%; border-radius: 15px; overflow: hidden; }
.video-container iframe { position: absolute; top:0; left:0; width:100%; height:100%; }

/* =========================================
   4. PÁGINAS INTERNAS (PRODUTOS / EVENTOS)
   ========================================= */
.pagina-produtos { background-image: var(--fundo-coracoes); min-height: 100vh; }
.cabecalho-sobre { padding: 30px; }

.link-voltar {
    color: white; text-decoration: none; font-weight: bold;
    padding: 12px 25px; background: var(--fundo-escuro);
    border-radius: 50px; border: 2px solid white; transition: 0.3s;
}

.link-voltar:hover { background: var(--azul-claro); color: var(--fundo-escuro); }

.titulo-produtos { font-family: 'Priestacy', cursive; font-size: 70px; text-align: center; margin: 20px 0 40px; }

.grid-produtos {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}

.foto-item {
    background: white; border-radius: 20px; overflow: hidden;
    border: 5px solid white; display: flex; flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.foto-item img { width: 100%; height: 350px; object-fit: cover; }

.produto-legenda {
    color: var(--fundo-escuro); font-size: 26px; font-weight: bold;
    padding: 20px; text-align: center; background: white;
}

/* =========================================
   5. PÁGINA DE LOGIN (O QUE ESTAVA QUEBRADO)
   ========================================= */
.pagina-login {
    display: flex; justify-content: center; align-items: center;
    height: 100vh; background-image: var(--fundo-coracoes);
}

.caixa-login {
    background: white; padding: 40px; border-radius: 25px;
    text-align: center; width: 90%; max-width: 400px;
    border: 5px solid var(--azul-claro); color: var(--fundo-escuro);
}

.logo-login {
    font-family: 'Priestacy', cursive; font-size: 80px;
    color: var(--rosa-choque); margin-bottom: 10px;
}

.caixa-login h2 { margin-bottom: 10px; font-size: 22px; }
.caixa-login p { margin-bottom: 25px; font-size: 16px; }

.caixa-login input {
    width: 100%; padding: 15px; margin-bottom: 15px;
    border: 2px solid #ddd; border-radius: 10px; font-size: 16px;
}

.botao-entrar {
    width: 100%; padding: 15px; font-size: 20px; font-weight: bold;
    background: linear-gradient(135deg, var(--rosa-choque), var(--rosa-gradiente));
    color: white; border: none; border-radius: 10px; cursor: pointer;
    text-transform: uppercase; transition: 0.3s;
}

.botao-entrar:hover { transform: scale(1.02); filter: brightness(1.1); }

/* =========================================
   6. RODAPÉ E RESPONSIVIDADE
   ========================================= */
.rodape { background: var(--fundo-escuro); padding: 20px; text-align: center; font-weight: bold; margin-top: 50px; }

@media (max-width: 768px) {
    .cabecalho { flex-direction: column; padding: 15px; }
    .logo { font-size: 45px; }
    .texto-intro-container { flex-direction: column; text-align: center; }
    .foto-introducao { width: 100%; }
    .titulo-produtos { font-size: 50px; }
    .foto-item img { height: 250px; }
}