/* Design System & Variables */
:root {
    --primary: #F39200;
    /* Orange */
    --primary-dark: #cc7a00;
    --secondary: #1A1A1A;
    /* Charcoal */
    --text: #333333;
    --bg-light: #FFFFFF;
    --bg-gray: #FFFFFF;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--secondary);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.highlight {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 700;
    display: inline-block;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

#main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

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

.logo img {
    height: 60px;
    /* Increased size */
    border-radius: 0;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Blends white background with the white/glass header */
}

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

.nav-links li a {
    font-weight: 500;
    color: var(--secondary);
}

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

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-color: var(--bg-gray);
    padding-top: 80px;
}

#hero .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 60px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 10px solid var(--primary);
    z-index: -1;
    border-radius: var(--border-radius);
    opacity: 0.2;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}



/* Projects Section */
#projetos {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    border: 1px solid #eee;
    background: var(--white);
    color: var(--secondary);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 350px;
    cursor: pointer;
}

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

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card:hover .card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.card-overlay h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Benefits Section */
#beneficios {
    padding: 80px 0;
    background-color: var(--bg-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.benefit-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

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

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 15px;
}

/* Testimonials */
#depoimentos {
    padding: 100px 0;
    text-align: center;
}

.testimonial p {
    font-size: 1.8rem;
    font-weight: 300;
    font-style: italic;
    color: var(--secondary);
    max-width: 800px;
    margin: 0 auto 30px;
}

.testimonial span {
    font-weight: 700;
    color: var(--primary);
}

/* Partner CTA */
#parceiros {
    padding: 80px 0;
}

.cta-box {
    background-color: var(--primary);
    padding: 80px;
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--white);
}

.cta-box h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: #111;
    color: #eee;
    padding: 80px 0 20px;
}

.footer-grid {
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 50px;
    border-radius: 5px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-info p {
    margin-bottom: 25px;
    color: #999;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--white);
}

.social-links a:hover {
    background-color: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #999;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-contact i {
    color: #FFB100;
    /* A slightly brighter, more "yellow" tone matching the brand orange */
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.9rem;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
}

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

/* Mobile Responsiveness */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    #hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .partner-logos {
        justify-content: center;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 40px 20px;
    }
}