:root {
    /* Color Palette */
    --primary-color: #917c63; /* Bronze */
    --primary-hover: #a68e73;
    --secondary-color: #e5c199; /* Bright Architectural Bronze/Gold */
    --bg-color: #000000; /* Pure Black */
    --bg-alt: #0d0d0d; 
    --text-heading: #ffffff; 
    --text-body: #f0f0f0; /* Ultra-bright gray for dark mode */
    --white: #ffffff;
    --border-color: rgba(255, 255, 255, 0.2);

    /* Typography */
    --font-family: 'Montserrat', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-alt);
}

.center {
    text-align: center;
}

/* Section Headers */
.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

.divider.center {
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white) !important;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--text-heading);
    color: var(--text-heading);
    border-radius: 4px;
}

.btn-outline:hover {
    background-color: var(--text-heading);
    color: var(--bg-color);
}

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

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #128c7e;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

img {
    max-width: 100%;
    height: auto;
}

.mobile-menu-toggle {
    display: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-img {
    height: 45px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: auto; /* Garante que empurre tudo para a direita se necessário */
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('assets/Mockup - 11.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 20; /* High z-index to stay above background and overlays */
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
    font-weight: 500;
}

.hero-content .btn {
    position: relative;
    z-index: 50 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.about-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-body);
}

.about .section-subtitle {
    font-size: 12rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15); /* Outline style */
    position: absolute;
    top: -50px;
    left: -20px;
    pointer-events: none;
    letter-spacing: -2px;
    white-space: nowrap;
    text-transform: uppercase;
}

.about .section-header {
    position: relative;
    padding-top: 80px;
    margin-bottom: 50px;
}

/* Visible solid subtitle for reading */
.about .section-header::after {
    content: 'SOBRE NÓS';
    display: block;
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--primary-color);
    margin-top: 10px;
    line-height: 1;
}

.about-image-wrapper {
    grid-column: 1 / -1;
    margin-top: 60px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: brightness(0.8);
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.05);
    filter: brightness(1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #141414; /* Slightly lighter than background for distinct separation */
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
    border-radius: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.service-number {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 2px;
    opacity: 0.8; /* Increased opacity for visibility */
}

.service-card:hover {
    border-color: var(--secondary-color); /* Highlight with bronze on hover */
    background-color: #1c1c1c;
    transform: translateY(-5px);
}

.service-icon {
    width: 50px;
    height: 50px;
    color: var(--secondary-color);
    margin-bottom: 35px;
}

.service-title {
    font-size: 1.6rem;
    margin-bottom: 22px;
    color: #ffffff;
    line-height: 1.2;
    font-weight: 700;
}

.service-desc {
    font-size: 1.05rem;
    color: #f0f0f0; 
    line-height: 1.8;
    font-weight: 400;
}

/* Background detail for Services section */
.services {
    position: relative;
}

.services::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(39, 67, 177, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Differentials */
.diff-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.diff-list li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    background-color: var(--bg-alt);
    padding: 20px;
    border-left: 3px solid var(--secondary-color);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.check {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    transition: bottom 0.3s ease;
    display: flex;
    align-items: flex-end;
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

.gallery-category {
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Parallax Divider */
.parallax-divider {
    height: 60vh;
    min-height: 400px;
    background-image: url('assets/Mockup - 3.png');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.parallax-divider::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.parallax-overlay {
    position: relative;
    z-index: 2;
    background-color: rgba(17, 17, 17, 0.7);
    padding: 50px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    max-width: 800px;
}

.parallax-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.contact {
    background-image: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)), url('assets/Mockup - 6.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-desc {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-form {
    background-color: var(--bg-alt);
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    color: var(--text-heading);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    border-radius: 4px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--bg-alt);
    color: var(--text-body);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 992px) {
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--bg-alt);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: 0.4s ease;
        z-index: 999;
        display: flex; /* Show as flex when active */
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 30px;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        width: 30px;
        height: 20px;
        position: relative;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--white);
        margin-bottom: 6px;
        transition: 0.3s;
    }

    .mobile-menu-toggle span:last-child {
        margin-bottom: 0;
    }

    /* Toggle Animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .services-grid,
    .diff-list,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .section {
        padding: 60px 0;
    }

    /* Mobile Parallax Fix */
    .parallax-hero, .hero, .parallax-divider, .contact {
        background-attachment: scroll !important;
        background-position: center center !important;
    }

    /* Fix hero height on mobile to prevent clipping */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px 0;
    }

    /* Fix large background text overflow */
    .about .section-subtitle {
        font-size: 5rem;
        top: 0;
        left: 0;
        white-space: normal;
        line-height: 0.9;
    }

    .about .section-header::after {
        font-size: 2.5rem;
    }

    .about .section-header {
        padding-top: 40px;
    }

    /* Prevent any horizontal overflow */
    body, html {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .parallax-overlay {
        padding: 30px 20px;
        width: 90%;
    }

    .parallax-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
