/* CSS Variables - Light Premium Aesthetic */
:root {
    --primary-color: #2c4c3b; /* Deep sophisticated green */
    --accent-color: #84cc16; /* Dias Paisagismo lime green */
    --accent-hover: #65a30d;
    --text-dark: #222222;
    --text-gray: #666666;
    --bg-white: #ffffff;
    --bg-light: #f7f9f8; /* Very soft warm gray/green */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-gray);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* Buttons */
.btn-primary-large {
    display: inline-block;
    background-color: var(--accent-color);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 18px 40px;
    border-radius: 4px; /* Slightly square for elegance */
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 20px rgba(132, 204, 22, 0.3);
}

.btn-primary-large:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(132, 204, 22, 0.4);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--accent-color);
}

.btn-accent {
    display: inline-block;
    background-color: var(--accent-color);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 4px;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(132, 204, 22, 0.2);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(132, 204, 22, 0.3);
}

.btn-outline-white {
    display: inline-block;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.btn-outline-white:hover {
    background-color: #ffffff;
    color: var(--primary-color);
}

/* Typography & Layout Utility */
.section {
    padding: 100px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 0 auto 20px;
}

.divider.left {
    margin: 0 0 20px 0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 10px 0;
    background: rgba(44, 76, 59, 0.85); /* Verde escuro translúcido */
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
}

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

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

.logo img {
    height: 55px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Deixa a logo 100% branca */
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #8cc63f;
}

/* Header Scrolled Text Colors */
.header.scrolled .nav-menu a {
    color: #333333;
}

.mobile-menu-toggle {
    display: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(20, 30, 25, 0.9) 0%, rgba(20, 30, 25, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.hero-text-box {
    max-width: 650px;
    margin-bottom: 60px;
}

.hero-text-box h1 {
    color: #ffffff;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-text-box p {
    color: #e0e0e0;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.hero-floating-cards {
    display: flex;
    gap: 20px;
    margin-top: auto;
    margin-bottom: 50px;
}

.floating-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.floating-card:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.floating-card i {
    font-size: 1.5rem;
}

/* Accordion Services Section */
.accordion-container {
    display: flex;
    height: 500px;
    width: 100%;
    overflow: hidden;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.accordion-item {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
}

.accordion-item.active {
    flex: 3;
}

.accordion-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 40px;
    width: 100%;
    color: #ffffff;
}

.accordion-content h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 10px;
    white-space: nowrap;
}

.accordion-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    transition-delay: 0s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.accordion-item.active .accordion-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.accordion-item .btn-outline-white {
    opacity: 0;
    transition: all 0.4s ease;
}

.accordion-item.active .btn-outline-white {
    opacity: 1;
    transition-delay: 0.4s;
}

/* Service Detail (Alternating) */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.carousel-side, .text-side {
    min-width: 0;
    width: 100%;
}

.service-detail-grid.reverse .text-side {
    order: 1;
}

.service-detail-grid.reverse .carousel-side {
    order: 2;
}

.text-side h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.text-side p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
}

.feature-list li i {
    color: var(--accent-color);
}

/* Swiper Carousel Overrides */
.swiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 60px; /* Space for pagination */
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 320px;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pagination Dots from Screenshot */
.swiper-pagination-bullet {
    background-color: #cccccc !important;
    opacity: 1 !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
    background-color: #007bff !important; /* Blue dot from screenshot */
}

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

.about-image-box img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #ffffff;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-info p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 25px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: #ffffff;
    margin-right: 10px;
}

.social-icons a:hover {
    background-color: var(--accent-color);
}

.footer h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
    color: rgba(255,255,255,0.7);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
}

.footer-contact ul li i {
    color: var(--accent-color);
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.system-link {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.system-link:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-text-box h1 {
        font-size: 2.8rem;
    }
    
    .swiper-slide {
        width: 400px;
        height: 520px;
    }
    
    .service-detail-grid, .about-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-grid.reverse .text-side,
    .service-detail-grid.reverse .carousel-side {
        order: unset;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        background-color: rgba(44, 76, 59, 0.95);
        padding: 15px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(44, 76, 59, 0.95);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-text-box h1 {
        font-size: 2.2rem;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        align-items: flex-start;
        padding-top: 130px;
        padding-bottom: 60px;
    }
    
    .hero-content {
        height: auto;
        justify-content: flex-start;
    }
    
    .hero-floating-cards {
        flex-direction: column;
        width: 100%;
    }
    
    .floating-card {
        justify-content: center;
    }
    
    .accordion-container {
        flex-direction: column;
        height: 600px;
    }
    
    .accordion-item.active {
        flex: 2;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .d-flex {
        flex-direction: column;
        gap: 15px;
    }
}
