/* 
===========================================
  CSS Variables & Theme Setup
=========================================== 
*/
:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --bg-lighter: #2a2a2a;
    
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    
    --accent-gold: #cda434;
    --accent-gold-hover: #e5b83b;
    --whatsapp-green: #25D366;
    --whatsapp-green-hover: #20BA5A;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition-fast: 0.2s ease;
    --transition-norm: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-main);
}

span.highlight { color: var(--accent-gold); }

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

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-norm);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--accent-gold);
    color: #000;
}

.btn-primary:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(205, 164, 52, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-muted);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1rem;
}

.btn-link:hover {
    color: var(--accent-gold-hover);
    gap: 0.8rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-norm);
}

.navbar.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn-primary) {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
}

.nav-links a:not(.btn-primary):hover {
    opacity: 1;
    color: var(--accent-gold);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

/* 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%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.7);
    transform: scale(1.05); /* for a slight parallax/animation feel */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(18,18,18,0.95) 0%, rgba(18,18,18,0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease forwards;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title span {
    color: var(--accent-gold);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

.flex-wrap {
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(205, 164, 52, 0.15); /* Fundo sutil dourado */
    color: var(--accent-gold);
    font-size: 2rem;
    border: 1px solid rgba(205, 164, 52, 0.3);
    animation: bounceGold 2s infinite;
    transition: var(--transition-norm);
}

.scroll-indicator a:hover {
    background-color: var(--accent-gold);
    color: #121212;
    transform: scale(1.1);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item h3 {
    color: var(--text-main);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.stat-item p {
    font-size: 0.95rem;
    color: var(--accent-gold);
    margin: 0;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.about-badge {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--bg-lighter);
}

.about-badge i {
    font-size: 2rem;
    color: var(--accent-gold);
}

.about-badge span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Services Section */
.services {
    background-color: var(--bg-card);
}

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

.service-card {
    background-color: var(--bg-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-norm);
    border: 1px solid rgba(255,255,255,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(205, 164, 52, 0.2);
}

.service-image {
    position: relative;
    height: 220px;
    width: 100%;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-price {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(18, 18, 18, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-gold);
    backdrop-filter: blur(5px);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    min-height: 70px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: rgba(205, 164, 52, 0.1);
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.map-placeholder {
    background: linear-gradient(145deg, var(--bg-lighter) 0%, var(--bg-card) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    border: 1px solid rgba(255,255,255,0.05);
    height: 100%;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.map-placeholder.highlighted-card {
    border: 1px solid var(--accent-gold);
    box-shadow: 0 15px 40px rgba(205, 164, 52, 0.15);
}

.map-placeholder.highlighted-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gold);
}

.diferencial-badge {
    position: absolute;
    top: 1.5rem;
    background-color: rgba(205, 164, 52, 0.15);
    color: var(--accent-gold);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(205, 164, 52, 0.3);
}

.map-placeholder .icon-main {
    font-size: 5rem;
    color: var(--accent-gold);
    opacity: 1;
    margin-top: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(205, 164, 52, 0.4));
}

.map-placeholder p {
    color: var(--text-main);
    font-size: 1.1rem;
    max-width: 90%;
}

/* Footer */
.footer {
    background-color: var(--bg-card);
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo span {
    color: var(--accent-gold);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.footer-social a:hover {
    background-color: var(--accent-gold);
    color: #000;
}

.footer-rights {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-norm);
}

.floating-whatsapp:hover {
    background-color: var(--whatsapp-green-hover);
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceGold {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); box-shadow: 0 0 0 rgba(205, 164, 52, 0); }
    40% { transform: translateY(-15px); box-shadow: 0 10px 20px rgba(205, 164, 52, 0.4); }
    60% { transform: translateY(-7px); box-shadow: 0 5px 10px rgba(205, 164, 52, 0.2); }
}

/* Responsive */
@media (max-width: 992px) {
    .about-container, .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-badge {
        bottom: 1rem;
        left: 1rem;
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-in-out;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-secondary {
        text-align: center;
    }
}
