/* --- VARIÁVEIS CSS (ROOT) --- */
:root {
    /* Paleta de Cores Premium */
    --color-primary: #1a3c40;
    /* Verde Petróleo Profundo */
    --color-secondary: #d4af37;
    /* Dourado Clássico */
    --color-accent: #ede6db;
    /* Bege Suave */
    --color-text: #333333;
    --color-text-light: #777777;
    --color-white: #ffffff;
    --color-bg-light: #f9f9f9;
    --color-footer: #111111;

    /* Tipografia */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Lato', sans-serif;

    /* Espaçamento */
    --container-width: 1200px;
    --section-padding: 80px 20px;
}

/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- UTILITÁRIOS --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-gold {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-gold:hover {
    background-color: #bfa030;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.section-title .divider {
    width: 80px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: 0 auto;
}

/* --- HEADER & NAV --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.logo i {
    color: var(--color-secondary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-secondary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-primary);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(26, 60, 64, 0.85), rgba(26, 60, 64, 0.7)), url('https://images.unsplash.com/photo-1609840114035-1c29046a80fa?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn Up 1s ease;
}

.hero h1 {
    font-size: 4rem;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--color-secondary);
    font-style: italic;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

/* --- FEATURES GRID --- */
.features {
    background-color: var(--color-white);
    transform: translateY(-50px);
    position: relative;
    z-index: 10;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* --- SOBRE (Grid Layout) --- */
.about {
    padding: var(--section-padding);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 4px;
    box-shadow: 20px 20px 0 var(--color-secondary);
}

.about-text h4 {
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    color: var(--color-text-light);
    margin-bottom: 20px;
}

/* --- SERVIÇOS (CSS Grid Avançado) --- */
.services {
    padding: var(--section-padding);
    background-color: var(--color-accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--color-secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-secondary);
    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* --- CTA BANNER --- */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(rgba(26, 60, 64, 0.9), rgba(26, 60, 64, 0.9)), url('https://images.unsplash.com/photo-1629909615184-74f495363b63?q=80&w=2069&auto=format&fit=crop');
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    color: var(--color-white);
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: 20px;
}

/* --- LOCALIZAÇÃO E CONTATO --- */
.contact {
    padding: var(--section-padding);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.contact-info {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 50px;
}

.contact-info h3 {
    color: var(--color-secondary);
    margin-bottom: 30px;
    font-size: 2rem;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-top: 5px;
}

.info-item h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: #cccccc;
    font-size: 0.9rem;
}

.map-container {
    position: relative;
    background-color: #eee;
    min-height: 400px;
}

.map-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- FOOTER --- */
footer {
    background-color: var(--color-footer);
    color: #888;
    padding: 60px 20px 20px;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
}

.social-icons {
    margin-bottom: 30px;
}

.social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background-color: #222;
    color: var(--color-white);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 5px;
    transition: 0.3s;
}

.social-icons a:hover {
    background-color: var(--color-secondary);
}

.copyright {
    border-top: 1px solid #222;
    padding-top: 20px;
    font-size: 0.8rem;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        box-shadow: none;
        margin-bottom: 30px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Simplificado para este exemplo */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .hero {
        padding-top: 80px;
    }
}