:root {
    --primary: #FFCB7A;
    --dark: #000000;
    --light: #ffffff;
    --gray: #1a1a1a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--light);
    line-height: 1.6;
    background-color: var(--dark);
    padding-top: 76px;
    /* Espaço para navbar fixa */
}

/* Navbar Styles */
.navbar {
    background-color: var(--dark);
    border-bottom: 1px solid rgba(255, 203, 122, 0.2);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary) !important;
}

.navbar-brand span {
    color: var(--light);
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    margin: 0 8px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

/* Toggler button improvements */
.navbar-toggler {
    border: 1px solid rgba(255, 203, 122, 0.3);
    padding: 6px 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255, 203, 122, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 203, 122, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('../images/banner.png') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: -76px;
    /* Compensa o padding-top do body */
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #e6b86e;
    border-color: #e6b86e;
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: var(--primary);
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background-color: var(--gray);
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    transition: transform 0.3s;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 203, 122, 0.1);
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 203, 122, 0.3);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

.product-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    margin-bottom: 30px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 203, 122, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 203, 122, 0.3);
}

.product-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-content {
    padding: 20px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center;
    background-size: cover;
    color: white;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 203, 122, 0.1);
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 15px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255, 203, 122, 0.2);
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary);
}

.footer-links h5 {
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Page specific styles */
.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.page-content {
    padding: 80px 0;
}

.carousel-item img {
    height: 500px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.investment-card {
    background: #111;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.investment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
}

.investment-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.investment-card h3 {
    margin: 14px 0 4px;
    font-size: 1.15rem;
}

.investment-card p {
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: #ccc;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.partner-logo {
    width: 150px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 203, 122, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.partner-logo:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 203, 122, 0.3);
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 30px;
    border: 1px solid rgba(255, 203, 122, 0.2);
}

/* ============ RESPONSIVE STYLES ============ */

/* Tablet and Mobile - 992px and below */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: var(--dark);
        padding: 20px;
        border-radius: 0 0 8px 8px;
        border: 1px solid rgba(255, 203, 122, 0.2);
        border-top: none;
        margin-top: 10px;
    }

    .navbar-nav {
        text-align: center;
    }

    .nav-item {
        margin: 10px 0;
    }

    .nav-link {
        padding: 10px 0;
        font-size: 1.1rem;
        margin: 0;
        display: block;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .contact-form {
        padding: 20px;
    }
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero-section {
        padding: 100px 20px 60px;
        margin-top: -70px;
    }

    .hero-section h1,
    .page-hero h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .carousel-item img {
        height: 300px;
    }

    .value-card,
    .product-card {
        margin-bottom: 20px;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .values-section,
    .products-section,
    .contact-section,
    .page-content {
        padding: 60px 0;
    }

    footer {
        text-align: center;
        padding: 40px 0 20px;
    }

    footer .row>div {
        margin-bottom: 30px;
    }

    .footer-links ul li {
        margin-bottom: 15px;
    }

    .btn-primary {
        width: 100%;
        max-width: 300px;
    }

    .partner-logos {
        gap: 15px;
    }

    .partner-logo {
        width: 130px;
        height: 90px;
    }
}

/* Small Mobile - 576px and below */
@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.1rem;
    }

    .navbar-brand img {
        height: 35px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .value-icon {
        font-size: 2.5rem;
    }

    .contact-form .row>div {
        width: 100%;
    }

    .investment-grid {
        grid-template-columns: 1fr;
    }

    .partner-logo {
        width: 100px;
        height: 70px;
    }

    .map-container {
        height: 300px;
    }
}

/* Extra Small Mobile - 400px and below */
@media (max-width: 400px) {
    .navbar-brand span {
        font-size: 0.9rem;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .partner-logo {
        width: 80px;
        height: 60px;
    }
}