@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Montserrat:wght@300;400;600&display=swap');

:root {
    --bg-color: #050505;
    --card-bg: #121212;
    --text-color: #f0f0f0;
    --gold-primary: #c5a059;
    --gold-hover: #e0b040;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--gold-primary); text-transform: uppercase; letter-spacing: 2px; }
a { text-decoration: none; transition: 0.3s; color: inherit; }

/* --- Header Otimizado --- */
header {
    padding: 15px 0;
    background: rgba(0,0,0,0.9);
    position: fixed; /* Fixado para estar sempre acessível */
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid #222;
    transition: 0.3s;
}
header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-img { max-height: 50px; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-whatsapp-header {
    color: #fff;
    font-size: 1.5rem;
    transition: 0.3s;
}
.btn-whatsapp-header:hover { color: #25D366; transform: scale(1.1); }

.btn-header-quote {
    background: var(--gold-primary);
    color: #000;
    padding: 10px 25px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-header-quote:hover {
    background: var(--gold-hover);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

/* --- Hero --- */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px; /* Espaço para o header fixo */
}
.hero::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), var(--bg-color));
}
.hero-content {
    position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 20px;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; text-shadow: 0 4px 10px rgba(0,0,0,0.8); }
.hero p { font-size: 1.2rem; margin-bottom: 40px; font-weight: 300; }

/* --- Buttons Gerais --- */
.btn-gold {
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 15px 40px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
}
.btn-gold:hover { background: var(--gold-primary); color: #000; box-shadow: 0 0 20px rgba(197, 160, 89, 0.4); }

/* --- Sections --- */
.section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; text-align: center; }
.section-title { font-size: 2.5rem; margin-bottom: 60px; position: relative; display: inline-block; }
.section-title::after {
    content: ''; display: block; width: 60px; height: 3px; background: var(--gold-primary); margin: 20px auto 0;
}

/* --- Features Grid --- */
.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.feature-card {
    background: var(--card-bg); padding: 40px; border: 1px solid #333; transition: 0.3s;
}
.feature-card:hover { border-color: var(--gold-primary); transform: translateY(-10px); }
.feature-icon { font-size: 2rem; color: var(--gold-primary); margin-bottom: 20px; }

/* --- Footer --- */
footer { background: #000; border-top: 1px solid #333; padding: 60px 20px; margin-top: 50px; }
.footer-container {
    max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px;
}
.footer-col h4 { margin-bottom: 20px; font-size: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--gold-primary); padding-left: 5px; }
.social-links a { margin-right: 15px; font-size: 1.2rem; }
.copyright { text-align: center; margin-top: 40px; font-size: 0.8rem; color: #666; border-top: 1px solid #1a1a1a; padding-top: 20px; }

/* --- MODAL DE CONTATO --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    display: none; /* Oculto por padrão */
    justify-content: center; align-items: center;
    backdrop-filter: blur(5px);
}
.modal-overlay.active { display: flex; animation: fadeIn 0.3s ease; }

.modal-content {
    background: #1a1a1a;
    width: 90%; max-width: 500px;
    padding: 40px;
    border: 1px solid var(--gold-primary);
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.close-modal {
    position: absolute; top: 15px; right: 20px;
    color: #666; font-size: 1.5rem; cursor: pointer; transition: 0.3s;
}
.close-modal:hover { color: var(--gold-primary); }

.modal-content h3 { font-size: 1.5rem; margin-bottom: 20px; text-align: center; }

/* Formulário */
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-size: 0.8rem; color: #999; margin-bottom: 5px; text-transform: uppercase; }
.form-control {
    width: 100%; padding: 12px;
    background: #0a0a0a; border: 1px solid #333;
    color: #fff; font-family: var(--font-body);
    font-size: 1rem;
}
.form-control:focus { outline: none; border-color: var(--gold-primary); }
textarea.form-control { resize: vertical; min-height: 100px; }

.btn-submit {
    width: 100%;
    background: var(--gold-primary); color: #000;
    border: none; padding: 15px;
    font-family: var(--font-heading); font-weight: 700;
    cursor: pointer; text-transform: uppercase;
    transition: 0.3s;
}
.btn-submit:hover { background: var(--gold-hover); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* Mensagens de Retorno */
.form-response { margin-top: 15px; text-align: center; font-size: 0.9rem; display: none; }
.form-response.success { color: #4ade80; }
.form-response.error { color: #f87171; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Mobile */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .footer-container { flex-direction: column; text-align: center; }
    .header-actions { gap: 15px; }
    .btn-header-quote { padding: 8px 15px; font-size: 0.8rem; }
}