/* --- CONFIGURAÇÕES GERAIS --- */
:root {
    --bg-gradient: radial-gradient(circle at 50% 20%, #1c1c1c 0%, #000000 70%);
    --gold-primary: #d4af37;
    --gold-metallic: linear-gradient(135deg, #8a6e2f, #ffe680 50%, #8a6e2f);
    --text-white: #ffffff;
    --glass-bg: rgba(10, 10, 10, 0.9);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --premium-shadow: 0 20px 50px rgba(0,0,0,0.9);
    --font-luxury: 'Bodoni Moda', serif;
    --font-clean: 'Manrope', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-white);
    font-family: var(--font-clean);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Efeito de Luz de Fundo */
.bg-light-effect { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: hidden; }
.passing-beam {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(to right, transparent 40%, rgba(255, 255, 255, 0.03) 50%, transparent 60%);
    transform: rotate(35deg); filter: blur(80px); animation: passLight 12s infinite linear;
}
@keyframes passLight { 0% { transform: rotate(35deg) translateX(-80%); } 100% { transform: rotate(35deg) translateX(80%); } }

.container { width: 100%; max-width: 900px; padding-bottom: 120px; position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; }

/* --- HERO SECTION --- */
.hero-section { 
    position: relative; width: 100%; height: 600px; 
    display: flex; justify-content: center; align-items: flex-end; 
    margin-bottom: 40px; overflow: visible; 
}
.white-spotlight { position: absolute; top: 0%; left: 50%; transform: translateX(-50%); width: 100%; height: 70%; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%); filter: blur(90px); z-index: 0; pointer-events: none; }

.hero-img { 
    width: auto; height: 90%; 
    position: relative; z-index: 2; 
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%); 
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%); 
    filter: drop-shadow(0 0 50px rgba(0,0,0,0.9)); 
    /* Ajuste para não distorcer */
    object-fit: contain;
    max-width: 100%;
}

.hero-name-base { position: absolute; bottom: 0; left: 0; width: 100%; text-align: center; z-index: 5; padding-bottom: 20px; }
.hero-name-base h1 { font-family: var(--font-luxury); font-size: 4rem; font-weight: 700; font-style: italic; line-height: 0.9; color: #ffffff; letter-spacing: -2px; margin-bottom: 10px; text-shadow: 0 10px 40px rgba(0,0,0,1); }
.hero-subtitle { font-family: var(--font-clean); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 6px; color: var(--gold-primary); font-weight: 700; min-height: 1.2em; display: inline-flex; align-items: center; justify-content: center; }
.cursor-blink { display: inline-block; width: 2px; height: 1em; background-color: var(--gold-primary); margin-left: 4px; vertical-align: middle; animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Notificações */
.notif-card { position: absolute; background: var(--glass-bg); border: var(--glass-border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 12px 18px; border-radius: 50px; display: flex; align-items: center; gap: 12px; box-shadow: var(--premium-shadow); border: 1px solid rgba(255,255,255,0.08); visibility: visible !important; }
.icon-box { width: 42px; height: 42px; flex-shrink: 0; display: flex; justify-content: center; align-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(212, 175, 55, 0.3); box-shadow: 0 0 15px rgba(212, 175, 55, 0.15); color: var(--gold-primary); }
.premium-icon { width: 24px; height: 24px; fill: currentColor; display: block; }
.notif-text { display: flex; flex-direction: column; }
.notif-text h4 { font-size: 0.85rem; color: #fff; font-weight: 700; margin: 0; line-height: 1.2; }
.notif-text p { font-size: 0.7rem; color: #aaa; font-weight: 500; margin: 0; }

/* Posições Desktop */
.n1 { top: 35%; left: 2%; z-index: 1; animation: float 6s ease-in-out infinite; }
.n2 { top: 48%; right: -15px; z-index: 3; animation: float 5s ease-in-out 1s infinite; }
.n3 { bottom: 22%; left: 5%; z-index: 3; animation: float 7s ease-in-out 0.5s infinite; }

/* AJUSTES MOBILE (HERO) */
@media (max-width: 480px) { 
    .hero-section { height: auto; min-height: 500px; padding-bottom: 80px; }
    /* Ajuste para imagem não cortar */
    .hero-img { height: auto; max-height: 450px; width: 100%; object-fit: contain; object-position: bottom; }
    .hero-name-base h1 { font-size: 2.8rem; }
    
    /* Posições Mobile (Evita rosto) */
    .n1 { top: 10%; left: -5%; transform: scale(0.85); } 
    .n2 { top: 48%; right: 3%; transform: scale(0.50); } 
    .n3 { bottom: 20%; left: 2%; transform: scale(0.85); }
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* --- BANNERS (THUMBNAILS) --- */
.links-wrapper { position: relative; z-index: 10; margin-top: -100px; padding: 0 20px; display: flex; flex-direction: column; gap: 20px; align-items: center; }

.thumb-card { 
    display: block; position: relative; 
    width: 100%; 
    /* Altura fixa desktop */
    height: 240px; 
    border-radius: 24px; text-decoration: none; overflow: hidden; padding: 2px; 
    background: var(--gold-metallic); box-shadow: 0 25px 70px rgba(0,0,0,0.95);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
}

/* Usamos aspect-ratio no container interno para manter proporção da imagem */
.thumb-inner { 
    position: relative; width: 100%; height: 100%; 
    background: #050505; border-radius: 22px; 
    overflow: hidden; 
}

.thumb-card:hover { transform: scale(1.02); z-index: 20; box-shadow: 0 40px 90px rgba(0,0,0,1), 0 0 60px rgba(212, 175, 55, 0.3); }

/* A imagem agora é COVER para preencher tudo, mas com truque de proporção no mobile */
.card-bg { 
    width: 100%; height: 100%; 
    object-fit: cover; 
    object-position: center; 
    opacity: 1; transition: 0.6s ease; 
}
.thumb-card:hover .card-bg { transform: scale(1.03); }

/* Shine Effect */
.thumb-card::after { content: ''; position: absolute; top: 0; left: -150%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4) 50%, transparent); transform: skewX(-25deg); z-index: 6; filter: blur(4px); animation: shine 5s infinite cubic-bezier(0.4, 0.0, 0.2, 1); pointer-events: none; }
@keyframes shine { 0% { left: -100%; opacity: 0; } 20% { opacity: 1; } 50% { left: 150%; opacity: 0; } 100% { left: 150%; opacity: 0; } }

/* AJUSTE MOBILE (THUMBNAILS PROPORCIONAIS) */
@media (max-width: 480px) { 
    .thumb-card { 
        /* Aqui a mágica: aspect-ratio garante que a altura diminua conforme a largura diminui */
        /* Assim não corta as laterais */
        height: auto; 
        aspect-ratio: 16 / 6; /* Ajuste essa proporção conforme a sua imagem (ex: 1920/500 = 3.84) */
    } 
    .card-bg {
        /* Garante que preencha */
        object-fit: cover; 
    }
}

/* Footer */
footer { margin-top: 80px; padding: 40px 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); background: linear-gradient(to top, rgba(0,0,0,1), transparent); text-align: center; display: flex; flex-direction: column; gap: 15px; width: 100%; }
.footer-logo { font-family: var(--font-luxury); color: #fff; font-size: 1.5rem; margin-bottom: 5px; opacity: 0.9; letter-spacing: 2px; }
.footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: #888; text-decoration: none; font-size: 0.75rem; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a:hover { color: var(--gold-primary); text-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }
.copyright { color: #555; font-size: 0.7rem; letter-spacing: 1px; }

/* --- BOTÕES FLUTUANTES --- */
.floating-buttons {
    position: fixed; bottom: 25px; right: 25px;
    display: flex; flex-direction: column-reverse; /* Mobile: Whats embaixo */
    align-items: flex-end; gap: 15px; z-index: 9999;
    pointer-events: none;
}
.float-btn, .whatsapp-btn, .to-top-btn { pointer-events: auto; }

@media (min-width: 768px) { .floating-buttons { flex-direction: row; align-items: flex-end; } }

/* WhatsApp */
.whatsapp-btn {
    width: 60px; height: 60px; min-width: 60px; min-height: 60px;
    border-radius: 50%; background: linear-gradient(135deg, #25D366, #075E54); border: 2px solid #25D366;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6); cursor: pointer; text-decoration: none;
    animation: pulse-green 3s infinite; transition: transform 0.3s ease; margin: 0; padding: 0;
}
.whatsapp-btn svg { width: 32px; height: 32px; fill: #fff; display: block; }
.whatsapp-btn:hover { transform: scale(1.1); animation: none; }
@keyframes pulse-green { 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); } }

/* BOTÃO TOPO (ESTILO SQUIRCLE COM ANEL) */
.to-top-btn {
    width: 48px; height: 48px; min-width: 48px; min-height: 48px;
    border-radius: 14px; /* Squircle */
    position: relative; background: #000;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer; border: none; padding: 0;
    
    opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.to-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

/* Anel de Luz */
.to-top-btn::before {
    content: ''; position: absolute; inset: -2px; border-radius: 16px; 
    background: conic-gradient(from 0deg, transparent 0%, var(--gold-primary) 30%, transparent 60%);
    animation: rotate-light 2s linear infinite; z-index: -1;
}
/* Máscara */
.to-top-btn::after {
    content: ''; position: absolute; inset: 2px; background: rgba(20, 20, 20, 0.95); border-radius: 12px; z-index: 0;
}
@keyframes rotate-light { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.to-top-btn svg { width: 24px; height: 24px; fill: var(--gold-primary); position: relative; z-index: 2; }
.to-top-btn:hover { transform: translateY(-5px); box-shadow: 0 0 25px rgba(212, 175, 55, 0.3); }

@media (max-width: 480px) {
    .floating-buttons { bottom: 20px; right: 20px; gap: 12px; }
    .whatsapp-btn { width: 55px; height: 55px; min-width: 55px; min-height: 55px; }
    .whatsapp-btn svg { width: 28px; height: 28px; }
    .to-top-btn { width: 45px; height: 45px; min-width: 45px; min-height: 45px; }
}