/* style.css - VERSÃO MÁGICA ENHANCED */
:root {
    --gold: #f1c40f; /* Um dourado mais vibrante para brilhar */
    --gold-dim: #b8950c;
    --deep-black: #050505;
    --mystic-purple: #1a0a2e; /* Roxo sutil para as sombras */
    --mystic-white: #e0e0e0;
    --smoke-filter: sepia(100%) hue-rotate(320deg) brightness(30%); /* Filtro para a fumaça */
}

/* Redefinição Básica */
html, body {
    max-width: 100%;
    overflow-x: hidden; /* Corta qualquer conteúdo que tente sair pela lateral */
    position: relative;
}

* {
    box-sizing: border-box; /* Garante que padding e bordas não aumentem o tamanho do elemento */
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--deep-black);
    color: var(--mystic-white);
    scroll-behavior: smooth;
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
    font-weight: 700;
}

/* --- HEADER MÁGICO --- */
header {
    padding: 15px 50px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    transition: 0.3s;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul li a:hover {
    color: var(--gold);
    text-shadow: 0 0 15px var(--gold);
}

/* --- SECTION HERO (A "MAGIA" PRINCIPAL) --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Essencial para a fumaça */
}
/* --- RESPONSIVIDADE (MOBILE FIRST) --- */

/* Ajustes gerais para celulares */
@media (max-width: 768px) {
    /* Menu */
    nav {
        flex-direction: column;
        padding: 15px 0;
    }
    
    nav ul {
        margin-top: 15px;
        gap: 15px;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2rem !important;
        padding: 0 15px;
    }
    
    .hero-content p {
        font-size: 1rem !important;
    }

    /* Grid de Cards */
    .card-container {
        display: flex;
        flex-direction: column; /* Um card embaixo do outro */
        align-items: center;
        gap: 20px;
        padding: 0 20px;
    }

    .card {
        width: 100%;
        max-width: 350px;
    }
}

/* Evita que a página "dance" para os lados */
body {
    overflow-x: hidden;
    width: 100%;
}
/* 1. Imagem de Fundo do Hero (Baralho e Ilusionismo) */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Substitua pelo URL da sua imagem. Usando um placeholder temático */
    background-image: linear-gradient(rgba(0,0,0,0.5), var(--deep-black)), 
                      url('max.png'); 
    background-size: cover;
    background-position: center 20%; /* Foca a imagem nos elementos */
    z-index: 1;
}
/* Container principal do botão */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.3s ease;
    animation: pulse-green 2s infinite; /* Efeito de atenção */
}

/* Ícone do WhatsApp */
.whatsapp-fixed img {
    width: 35px;
    height: 35px;
}

/* Bolinha de notificação (Número 1) */
.whatsapp-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff0000;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
}

/* Animação para chamar atenção */
@keyframes pulse-green {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Efeito ao passar o mouse */
.whatsapp-fixed:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}
/* 2. Efeito de Fumaça Dinâmica */
.hero-smoke {
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 200%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/asfalt-dark.png'); /* Textura de base */
    background: radial-gradient(circle at 50% 120%, rgba(30, 10, 50, 0.4), transparent 70%); /* Cor da fumaça no fundo */
    opacity: 0.8;
    z-index: 2;
    filter: var(--smoke-filter) blur(20px);
    animation: smokeMovement 20s linear infinite;
}

/* 3. Conteúdo do Hero (Texto) */
.hero-content {
    position: relative;
    z-index: 3; /* Acima do fundo e da fumaça */
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 10px;
    letter-spacing: 6px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

/* Botão Mágico Enhaced */
.btn-magic {
    padding: 18px 35px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.5s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.btn-magic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(251, 236, 17, 0.4), transparent);
    transition: 0.5s;
}

.btn-magic:hover::before {
    left: 100%;
}

.btn-magic:hover {
    background: var(--gold);
    color: var(--deep-black);
    box-shadow: 0 0 30px var(--gold);
}

/* --- SECTION SERVIÇOS ("CARDS LEVITANTES") --- */
.services {
    padding: 120px 20px;
    text-align: center;
    background-color: #080808; /* Tom levemente diferente para contraste */
}

.services h2 {
    font-size: 2.8rem;
    margin-bottom: 60px;
    letter-spacing: 3px;
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: linear-gradient(145deg, #101010, #181818);
    padding: 50px 40px;
    border-radius: 15px;
    width: 320px;
    transition: all 0.4s ease-out;
    border: 1px solid #222;
    position: relative;
}

/* Efeito de Levitação e Brilho no Hover do Card */
.card:hover {
    transform: translateY(-20px) scale(1.03); /* Levita mais */
    border-color: var(--gold-dim);
    box-shadow: 0 15px 40px rgba(241, 196, 15, 0.15); /* Sombra suave dourada */
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 30px;
    display: inline-block;
    transition: 0.3s;
}

.card:hover .card-icon {
    transform: rotateY(360deg); /* Ícone gira no hover */
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--gold-dim);
}

.card p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* --- ANIMAÇÕES (KEYFRAMES) --- */

@keyframes smokeMovement {
    0% { transform: translateX(0%) translateY(0); }
    50% { transform: translateX(-25%) translateY(-10px); }
    100% { transform: translateX(0%) translateY(0); }
}

@keyframes textGlow {
    0% { text-shadow: 0 0 10px rgba(241, 196, 15, 0.5); }
    50% { text-shadow: 0 0 20px rgba(241, 196, 15, 0.8), 0 0 30px rgba(241, 196, 15, 0.4); }
    100% { text-shadow: 0 0 10px rgba(241, 196, 15, 0.5); }
}

/* Aplica o pulsar de brilho no h1 do hero */
.hero h1 {
    animation: textGlow 4s ease-in-out infinite;
}

/* --- FOOTER SIMPLES --- */
footer {
    text-align: center;
    padding: 60px 20px;
    font-size: 0.85rem;
    color: #444;
    background: rgba(0,0,0,0.5);
    margin-top: -1px; /* Evita fresta no layout */
}