:root {
    --navy: #0b2447;
    --navy-dark: #05162d;
    --gold: #cfa45d;
    --white: #ffffff;
    --wpp-green: #25d366;

    /* NOVO — altura da navbar para correção de âncoras */
    --navbar-height: 120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { 
    scroll-behavior: smooth;
}

body { 
    background-color: var(--navy-dark); 
    color: var(--white); 
    line-height: 1.8; 
    font-family: 'Montserrat', sans-serif; 
    overflow-x: hidden;
}

.container { 
    width: 90%; 
    max-width: 1200px; 
    margin: 0 auto; 
}

/* NAVBAR */
.navbar { 
    background: #fff; 
    padding: 1.2rem 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    border-bottom: 3px solid var(--gold);
}

.navbar-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo-text-wrapper { 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
}

.logo-initials { 
    background: var(--navy-dark); 
    color: var(--gold); 
    padding: 5px 10px; 
    border-radius: 4px; 
    font-weight: bold; 
    margin-right: 12px; 
}

.logo-text { 
    color: var(--navy); 
    font-family: 'Playfair Display', serif; 
    font-weight: 700; 
    font-size: 1.4rem; 
    letter-spacing: 1px; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--navy); 
    font-weight: 600; 
    font-size: 0.85rem; 
    margin: 0 15px; 
    transition: 0.3s; 
}

.nav-links a:hover { 
    color: var(--gold); 
}

/* HERO */
.hero-premium { 
    padding: 100px 0; 
    background: radial-gradient(circle at top right, #163152, var(--navy-dark)); 
}

.hero-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 60px; 
    align-items: center; 
}

.oab-tag { 
    color: var(--gold); 
    font-weight: 600; 
    letter-spacing: 2px; 
    font-size: 0.9rem; 
    margin-bottom: 15px; 
    display: block; 
}

h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: clamp(2.5rem, 5vw, 3.8rem); 
    color: var(--gold); 
    line-height: 1.1; 
    margin-bottom: 1.5rem; 
}

.hero-image { 
    width: 100%; 
    border-radius: 15px; 
    border: 1px solid rgba(207,164,93,0.3); 
    box-shadow: 25px 25px 0px var(--gold); 
}

/* AREAS */
.areas-section { 
    background: #fff; 
    padding: 100px 0; 
    color: var(--navy); 
}

.section-title { 
    font-family: 'Playfair Display', serif; 
    font-size: 2.8rem; 
    text-align: center; 
    margin-bottom: 60px; 
}

.grid-areas { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 35px; 
}

.card-premium { 
    background: #fff; 
    padding: 50px 35px; 
    text-align: center; 
    border: 1px solid #eee; 
    box-shadow: 0 12px 35px rgba(0,0,0,0.06); 
    transition: 0.4s; 
}

.card-premium:hover { 
    transform: translateY(-10px); 
    border-color: var(--gold); 
}

.card-icon { 
    font-size: 3rem; 
    color: var(--gold); 
    margin-bottom: 25px; 
}

/* FOOTER */
.footer-premium { 
    background: #030d1a; 
    padding: 80px 0 30px; 
    border-top: 2px solid var(--gold); 
    margin-top: 60px; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 50px; 
}

.footer-brand { 
    color: var(--gold); 
    font-weight: bold; 
    font-size: 1.5rem; 
    font-family: 'Playfair Display', serif; 
    margin-bottom: 8px; 
}

.oab-footer { 
    font-size: 0.85rem; 
    color: var(--gold); 
    opacity: 0.8; 
    margin-bottom: 15px; 
    letter-spacing: 1px; 
}

.footer-title { 
    color: var(--gold); 
    font-weight: 600; 
    margin-bottom: 25px; 
    text-transform: uppercase; 
    font-size: 0.9rem; 
    letter-spacing: 1px; 
}

.footer-link { 
    color: #fff; 
    text-decoration: none; 
    transition: 0.3s; 
    display: block; 
    margin-bottom: 12px; 
    font-size: 0.9rem; 
}

.footer-link:hover { 
    color: var(--gold); 
    transform: translateX(5px); 
}

.icon-gold { 
    color: var(--gold); 
    margin-right: 12px; 
    width: 20px; 
    text-align: center; 
}

.footer-bottom { 
    text-align: center; 
    padding-top: 50px; 
    margin-top: 50px; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    opacity: 0.5; 
    font-size: 0.85rem; 
    width: 100%; 
}

/* BOTÕES */
.btn-cta { 
    background: var(--gold); 
    color: white; 
    padding: 20px 40px; 
    text-decoration: none; 
    font-weight: bold; 
    border-radius: 5px; 
    display: inline-block; 
    transition: 0.3s; 
}

.btn-cta:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); 
}

.btn-top-whatsapp { 
    background: var(--navy); 
    color: var(--gold); 
    border: 1px solid var(--gold); 
    padding: 10px 20px; 
    text-decoration: none; 
    font-weight: bold; 
    border-radius: 5px; 
    font-size: 0.85rem; 
    transition: 0.3s; 
}

.btn-top-whatsapp:hover { 
    background: var(--gold); 
    color: white; 
}

/* WHATSAPP FIXO */
.whatsapp-fixed { 
    position: fixed; 
    bottom: 35px; 
    right: 35px; 
    background: var(--wpp-green); 
    color: #fff; 
    width: 65px; 
    height: 65px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 32px; 
    z-index: 1000; 
    text-decoration: none;
}

.pulse { 
    animation: pulse-animation 2s infinite; 
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0px rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0px rgba(37, 211, 102, 0); }
}

/* 🔥 CORREÇÃO PROFISSIONAL PARA ÂNCORAS */
#home,
#areas,
#contato {
    scroll-margin-top: var(--navbar-height);
}

@media (max-width: 850px) {
    .nav-links { display: none; }
    .hero-grid { text-align: center; }
    .hero-image { max-width: 85%; margin: 40px auto 0; }
    .footer-grid { text-align: center; }
}