/* =========================================
   SH Negócios Imobiliários - Premium Styles
   ========================================= */

:root {
    --primary-color: #0d2c52; /* Deep Navy Blue */
    --secondary-color: #d4a373; /* Gold/Bronze */
    --accent-color: #fefae0;
    --text-color: #333333;
    --text-light: #777777;
    --bg-light: #f8f9fa;
    --bg-dark: #121212;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); color: var(--white); }
.highlight { color: var(--secondary-color); }
.mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }

/* Typography */
.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.4);
}

.btn-primary:hover {
    background-color: #b0855b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header & Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.2rem 0;
    background: transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* Glassmorphism */
    box-shadow: var(--shadow-sm);
    padding: 0.8rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-sh {
    background: var(--secondary-color);
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.logo-text {
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
    text-transform: uppercase;
    transition: var(--transition);
    line-height: 1.1;
}

.header.scrolled .logo-text, .header.scrolled .nav-link {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001; /* Above menu */
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    position: absolute;
    left: 0;
    transition: var(--transition);
}
.header.scrolled .mobile-menu-btn span {
    background-color: var(--primary-color);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 11px; }
.mobile-menu-btn span:nth-child(3) { bottom: 0; }

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
    background-color: var(--primary-color);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(8, 25, 48, 0.9) 0%, rgba(13, 44, 82, 0.7) 50%, rgba(13, 44, 82, 0.3) 100%);
}

.hero-content {
    color: var(--white);
    max-width: 650px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(212, 163, 115, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    background-color: var(--secondary-color);
    color: var(--white);
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}


/* Program MCMV */
.program {
    padding: 6rem 0;
}

.program-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.program-image {
    flex: 1;
    position: relative;
}

.program-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.program-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--secondary-color);
    border-radius: var(--border-radius);
    z-index: -1;
}

.program-text {
    flex: 1;
}

.program-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.program-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.check-list {
    margin-bottom: 2rem;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
    font-weight: bold;
    background: rgba(212, 163, 115, 0.2);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.contact-container {
    display: flex;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-info {
    flex: 1;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem;
}

.contact-info h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.contact-info p {
    opacity: 0.8;
    margin-bottom: 3rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-item .icon {
    font-size: 24px;
    background: rgba(255,255,255,0.1);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.info-item p, .info-item a {
    color: var(--white);
    opacity: 0.9;
    font-size: 0.95rem;
}

.contact-form-wrapper {
    flex: 1;
    padding: 4rem;
}

.lead-form h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.2);
}

.form-disclaimer {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
}
.form-disclaimer a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #081930;
    color: var(--white);
    padding: 4rem 0 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    opacity: 0.7;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links h4, .footer-legal h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li, .footer-legal ul li {
    margin-bottom: 1rem;
}

.footer-links ul a, .footer-legal ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links ul a:hover, .footer-legal ul a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

/* Float WhatsApp */
.fab-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    animation: pulse 2s infinite;
}

.fab-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

@keyframes pulse {
    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);
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 2000;
    padding: 1.5rem 0;
    transition: bottom 0.5s ease-in-out;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

/* Legal Pages Overrides */
.legal-page .header {
    background-color: var(--primary-color);
    position: relative;
    padding: 1rem 0;
}

.legal-content {
    padding: 5rem 0;
}

.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.legal-section {
    margin-top: 3rem;
}

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: inherit;
    font-weight: 600;
}

.legal-section p, .legal-section ul {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.legal-section ul {
    padding-left: 2rem;
    list-style-type: disc;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.highlight-box {
    background: rgba(212, 163, 115, 0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 2rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 2rem 0;
}

.highlight-box strong {
    font-size: 1.2rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 1rem;
}

/* Animations Scroll Reveal */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 992px) {
    .program-wrapper {
        flex-direction: column;
    }
    .contact-container {
        flex-direction: column;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right 0.4s ease;
        box-shadow: -10px 0 20px rgba(0,0,0,0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .contact-info, .contact-form-wrapper {
        padding: 2rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-content .btn {
        width: 100%;
    }
}
