/* =========================================
   RESET E VARIÁVEIS GERAIS
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary-color: #00ff88; /* Verde Neon Esportivo */
    --dark-bg: #111111;
    --light-bg: #f4f4f4;
    --text-color: #333;
    --text-light: #fff;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg); /* Garante fundo cinza claro geral */
}

a { text-decoration: none; }
a:focus-visible,
.btn:focus-visible,
#backToTop:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* =========================================
   COMPONENTES (BOTÕES E CONTAINER)
   ========================================= */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin: 5px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Sombra suave */
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--dark-bg); /* Texto escuro para leitura fácil */
    background: transparent;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    margin-top: 15px;
}

/* Efeito de Hover (Levantar e brilhar) */
.btn:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 6px 20px rgba(0,255,136,0.4);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5); /* Adiciona um brilho extra */
}


/* =========================================
   HERO SECTION (CAPA)
   ========================================= */
.hero {
    /* O JS injeta a imagem aqui. Fallback: */
    background-color: #222; 

    background-size: cover;
    
    /* SEU AJUSTE DE POSIÇÃO (Foco no rosto) */
    background-position: center 20%;
    
    background-repeat: no-repeat;
    background-attachment: fixed; /* Efeito Parallax Premium */

    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

/* PELÍCULA (GRADIENTE SUAVE) */
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradiente cinemático: Transparente no meio, escuro nas pontas */
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem; /* Aumentei um pouco */
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); /* Leitura melhor */
}

.tagline {
    color: var(--primary-color);
    font-weight: bold;
    letter-spacing: 3px;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

.intro {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* =========================================
   SECTIONS GERAIS
   ========================================= */
.section { padding: 80px 0; } /* Mais respiro vertical */
.section-dark { background: var(--dark-bg); color: var(--text-light); }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.insta-embed-limited { max-width: 550px; margin: 0 auto; }

h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

/* Detalhe embaixo do título */
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* =========================================
   GRID SOBRE & STATS (COM GLASSMORPHISM)
   ========================================= */
.grid-sobre {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.foto-perfil img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3); /* Sombra mais forte */
    transition: transform 0.3s ease;
}

.foto-perfil img:hover {
    transform: scale(1.02);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

/* CARD PREMIUM (EFEITO VIDRO CLARO) */
.stat-card {
    background: rgba(255, 255, 255, 0.85); /* Branco translúcido */
    backdrop-filter: blur(10px); /* Desfoque atrás */
    -webkit-backdrop-filter: blur(10px);
    
    padding: 25px 20px;
    text-align: center;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.8);
    border-bottom: 4px solid var(--primary-color);
    
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px); /* Sobe ao passar o mouse */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background: #fff;
}

.stat-card h3 { 
    font-size: 1.8rem; 
    margin: 5px 0; 
    color: var(--dark-bg); 
    font-family: var(--font-heading);
}

.stat-card i { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 10px; }

/* =========================================
   VÍDEO & MÍDIA
   ========================================= */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 900px; /* Um pouco maior */
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); /* Sombra de cinema */
    border: 1px solid rgba(255,255,255,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

#insta-embed-container {
    margin: 40px auto;
    display: flex;
    justify-content: center;
}

/* =========================================
   FOOTER & CONTATO (GLASS ESCURO)
   ========================================= */
.footer {
    background: #000;
    /* Imagem de fundo sutil no footer (opcional, textura) */
    background-image: radial-gradient(#222 1px, transparent 1px);
    background-size: 20px 20px;
    
    color: white;
    padding: 80px 0 30px;
    text-align: center;
}

.contato-box {
    /* EFEITO VIDRO ESCURO */
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    margin: 30px auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.contato-box p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.copyright {
    margin-top: 40px;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* =========================================
   RESPONSIVO (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero { background-attachment: scroll; /* Mobile nem sempre lida bem com fixed */ }
    
    .grid-sobre { grid-template-columns: 1fr; gap: 30px; }
    
    .hero-btns { 
        display: flex; 
        flex-direction: column; 
        gap: 15px; 
        padding: 0 20px;
    }
    
    .stat-card { padding: 15px; }
}
/* =========================================
   PRELOADER
   ========================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111; /* Cor de fundo do carregamento */
    z-index: 9999; /* Fica acima de tudo */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease; /* Efeito de sumir suave */
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,255,255,0.1);
    border-top: 5px solid var(--primary-color); /* Gira com a cor verde neon */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* 2. Exceção: Quando estiver em fundos ESCUROS */
/* Se o botão estiver dentro de .hero, .section-dark ou .footer, ele fica BRANCO */
.hero .btn-outline,
.section-dark .btn-outline,
.footer .btn-outline {
    border-color: var(--text-light); /* Borda Branca */
    color: var(--text-light); /* Texto Branco */
}

/* Hover nos fundos escuros: Fica branco sólido */
.hero .btn-outline:hover,
.section-dark .btn-outline:hover,
.footer .btn-outline:hover {
    background: var(--text-light);
    color: var(--dark-bg);
    border-color: var(--text-light);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); /* Brilho branco */
}




/*##############################################*/
/*	AJUSTE DO BACK TO TOP 			*/
/* =========================================
   BOTÃO VOLTAR AO TOPO (Back to Top)
   ========================================= */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999; /* Fica acima de tudo, mas abaixo do Preloader */
    
    /* Tamanho e Forma */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    
    /* Cores (Estilo Neon) */
    background: var(--primary-color);
    color: var(--dark-bg);
    
    /* Centralizar o ícone */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    
    /* Sombra e Transição */
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
    transition: all 0.4s ease;
    
    /* Estado Inicial: Invisível e deslocado para baixo */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

/* Classe que o Javascript adiciona para mostrar o botão */
#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Efeito Hover */
#backToTop:hover {
    background: #fff; /* Fica branco ao passar o mouse */
    color: var(--dark-bg);
    transform: scale(1.1); /* Aumenta um pouquinho */
}

/*	FIM DO BACK TO TOP		*/
