/* =========================================
   1. Configurações Globais e Cores
   ========================================= */
:root {
    --gold: #d4af37;        /* Ouro Velho */
    --gold-hover: #f1c40f;  /* Ouro Brilhante */
    --dark-deep: #05010a;   /* Roxo quase preto para o fundo */
    --text-light: #f1f1f1;  /* Branco Marfim para leitura */
    
    /* A Mágica da Transparência */
    --glass-bg: rgba(15, 5, 26, 0.75); 
    --glass-border: rgba(212, 175, 55, 0.3);
    --grad-gold: linear-gradient(45deg, #bf953f, #fcf6ba, #b38728);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-deep);
    color: var(--text-light);
    font-family: 'Raleway', sans-serif;
    background-image: linear-gradient(rgba(5, 1, 10, 0.85), rgba(5, 1, 10, 0.95)), 
                      url('https://images.unsplash.com/photo-1572911364516-77894101e464?q=80&w=1920'); 
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Tipografia Mística */
h1, h2, h3, h4, .logo {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    letter-spacing: 2px;
    font-weight: 700;
}

/* =========================================
   2. Cabeçalho Adaptável (Mobile & Desktop)
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(0, 0, 0, 0.7); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.4rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

header nav a {
    text-decoration: none;
    color: var(--text-light);
    margin-left: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

header nav a:hover { color: var(--gold); }

/* =========================================
   3. Seção Hero (Abertura Impactante)
   ========================================= */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1.5s ease;
}

.gold-text {
    color: var(--gold);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.hero h1 {
    font-size: 2.5rem; /* Ajustado para mobile */
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.cta-principal {
    display: inline-block;
    background: var(--grad-gold);
    color: #000;
    padding: 18px 35px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 50px;
    font-size: 1rem;
    text-transform: uppercase;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    transition: 0.3s;
}

.cta-principal:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

/* =========================================
   4. Efeito de Vidro e Cards (Otimizado)
   ========================================= */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

/* Brilho que passa pelos cards */
.glass::after {
    content: "";
    position: absolute;
    top: -50%; left: -100%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.bio-section { padding: 60px 5%; }
.bio-container { padding: 30px; }
.bio-text h2 { font-size: 2rem; margin-bottom: 15px; }

/* Grid de Oráculos e Trabalhos */
.container-cards, .trabalhos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding-top: 40px;
}

.card-mystic {
    padding: 40px 25px;
    text-align: center;
}

.card-mystic i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.card-mystic h3 { font-size: 1.4rem; }

/* =========================================
   5. Botão WhatsApp Fixo (Gera Dinheiro!)
   ========================================= */
.btn-whatsapp-fixo {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 9999;
    text-decoration: none;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================
   6. Rodapé
   ========================================= */
footer {
    text-align: center;
    padding: 60px 20px;
    background: rgba(0,0,0,0.9);
    border-top: 1px solid var(--glass-border);
}

.social-icons { margin-bottom: 20px; }
.social-icons a { color: var(--gold); font-size: 1.5rem; margin: 0 10px; }

/* =========================================
   7. Responsividade Mobile (Super Top)
   ========================================= */
@media (max-width: 768px) {
    header nav { display: none; } /* Esconde o menu de texto no celular */
    
    .hero { height: 80vh; }
    
    .hero h1 { 
        font-size: 2rem; 
        padding: 0 10px;
    }
    
    .hero p { font-size: 1rem; }
    
    .title-center { 
        font-size: 1.8rem; 
        padding: 0 10px;
    }

    .bio-text h2 { font-size: 1.8rem; }
    
    /* Faz os cards ocuparem quase toda a largura no celular */
    .container-cards, .trabalhos-grid {
        grid-template-columns: 1fr;
        padding: 20px 0;
    }
}