/* CSS Custom Properties */
:root {
    --primary-color: #22ab08;
    /* Green */
    --primary-dark: #1a8a06;
    --secondary-color: #1a1a1a;
    /* Dark gray/Black */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #dee2e6;
    --success-color: #25D366;
    /* WhatsApp Green */

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

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

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-dark);
}

.text-white {
    color: #1a8a06;
}

.text-muted {
    color: var(--text-light);
}

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

.bg-primary {
    background-color: rgba(255, 255, 255, 0.97);
    color: var(--secondary-color);
}

.shadow {
    box-shadow: var(--shadow-md);
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

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

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.p-4 {
    padding: 1.5rem;
}

.w-100 {
    width: 100%;
}

.d-block {
    display: block;
}

.rounded {
    border-radius: 8px;
}

.section-padding {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

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

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

.btn-outline {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-outline-light {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

.btn-whatsapp {
    background-color: var(--success-color);
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
}

/* Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

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

.logo-img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo:hover {
    color: var(--primary-dark);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav a {
    color: var(--secondary-color);
    font-weight: 600;
}

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

.main-nav .btn {
    color: rgb(255 255 255);
}

.main-nav .btn:hover {
    color: rgb(255 255 255);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Page Header */
.page-header {
    background-color: #063d00;
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--white);
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, rgba(0, 46, 25, 0.8) 80%, rgba(0, 37, 14, 0.651) 75%, rgba(255, 255, 255, 1) 100%), url('../images/banner-home.webp') center/cover;
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-weight: 600;
}

.hero-features i {
    color: #22ab08;
    margin-right: 5px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card-img {
    margin: 0 0 1.5rem 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.service-card h3 {
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-actions {
    display: flex;
    gap: 10px;
}

.service-actions .btn {
    flex: 1;
    padding: 8px 10px;
    font-size: 0.9rem;
}

/* Service Detail */
.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.service-icon-large {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.features-list {
    margin: 1.5rem 0;
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.features-list i {
    margin-top: 5px;
}

.sidebar-widget {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-links li {
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.sidebar-links li:last-child {
    border: none;
    margin: 0;
    padding: 0;
}

.sidebar-links a {
    display: block;
}

.sidebar-links a:hover {
    color: var(--primary-dark);
    padding-left: 5px;
}

.sidebar-links i {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-right: 5px;
}

/* Regions Hub */
.zona-group {
    margin-bottom: 3rem;
}

.zona-group h3 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.regioes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.regioes-list a {
    display: block;
    background: var(--bg-light);
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.regioes-list a:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

/* Region Detail */
.region-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.region-services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.region-services-list li {
    background: var(--bg-light);
    padding: 10px;
    border-radius: 6px;
}

.region-services-list a {
    font-weight: 600;
    display: block;
}

.region-services-list a:hover {
    color: var(--primary-dark);
}

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

.stats-section {
    background: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
}

.stat-item h3 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Form */
.form-container {
    max-width: 800px;
}

.form-wrapper {
    padding: 3rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

.custom-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.custom-form input,
.custom-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.custom-form input:focus,
.custom-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(34, 171, 8, 0.2);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.stars {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.author span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Footer */
.main-footer {
    background: linear-gradient(to bottom, #1a1a1a 0%, #122410 80%, #1a8a06 100%);
    color: var(--white);
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 3rem;
}

.footer-brand p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-contact a {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-links h3,
.footer-services h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom {
    background: transparent;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 12px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: #a3ff99;
}

/* WhatsApp Floating Widget */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--success-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {

    .service-detail-grid,
    .region-detail-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

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

    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 20px;
        display: none;
        box-shadow: var(--shadow-md);
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    }

    .main-nav.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav a {
        color: var(--secondary-color);
    }

    .hero-actions {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

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

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

    .region-services-list {
        grid-template-columns: 1fr;
    }
}