:root {
    --primary-color: #d4af37; /* Elegant gold */
    --primary-color-hover: #f1c40f;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --bg-overlay: rgba(15, 20, 30, 0.7); /* Deep elegant overlay */
    --glass-bg: rgba(20, 25, 30, 0.4);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.5);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    width: 100%;
    font-family: var(--font-body);
    color: var(--text-primary);
    overflow: hidden;
    background-color: #0f141e; /* Fallback */
}

.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('./fundo.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.05);
    animation: slowPan 40s infinite alternate ease-in-out;
}

.background-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
}

@keyframes slowPan {
    0% { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.1) translate(-1%, -1%); }
}

.container {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    overflow-y: auto;
    position: relative;
    z-index: 2;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 28px;
    box-shadow: var(--glass-shadow);
    padding: 4rem 5rem;
    max-width: 850px;
    width: 100%;
    text-align: center;
    
    opacity: 0;
    transform: translateY(40px);
    animation: revealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    margin-bottom: 3rem;
}

.logo-placeholder {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
    animation: pulseGlow 4s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.15); }
    100% { box-shadow: 0 0 35px rgba(212, 175, 55, 0.4); }
}

h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    background: linear-gradient(to right, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
    line-height: 1.1;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 1rem;
}

.content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #fff;
    position: relative;
    display: inline-block;
}

.content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.divider {
    height: 1px;
    width: 60%;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 3.5rem auto;
}

.contact-info p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    backdrop-filter: blur(4px);
}

.social-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    color: #0f141e;
}

footer {
    margin-top: 4rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .glass-panel {
        padding: 3rem 4rem;
    }
    h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .glass-panel {
        padding: 3rem 2.5rem;
        border-radius: 24px;
        margin: auto 0;
    }
    
    h1 {
        font-size: 2.4rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
        letter-spacing: 0.15em;
    }
    
    .content h2 {
        font-size: 1.8rem;
    }
    
    .content p {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }
    .glass-panel {
        padding: 2.5rem 1.5rem;
    }
    h1 {
        font-size: 2rem;
    }
    .logo-placeholder {
        width: 60px;
        height: 60px;
    }
    .divider {
        width: 80%;
    }
}
