/*
Theme Name: Escritório Inova
Description: Tema personalizado para consultoria em agronegócio - Escritório Inova. Design moderno, responsivo e otimizado para performance.
Author: Fabio Stampone
Version: 2.0
Text Domain: escritorios-inova
*/

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background-color: #ffffff !important;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

/* Smooth transitions for interactive elements */
a, button, input, textarea, select,
.btn, .btn-hero, .btn-primary, .btn-white, .btn-modern,
.service-card, .service-link, .service-icon,
.logo, .main-nav a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* ========================================
   HERO SECTION - SOLUÇÃO DEFINITIVA
   Aplicando TODAS as 4 soluções mencionadas
======================================== */

/* ========================================
   HERO SECTION - FIXO E ESTÁVEL COM VÍDEO
======================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* Vídeo de fundo */
.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
    filter: brightness(0.4);
}

/* Overlay escuro sobre o vídeo */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.6) 0%, rgba(74, 124, 89, 0.5) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.btn-hero {
    background: rgba(255, 255, 255, 0.95);
    color: #2c5530;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    background: white;
    color: #2c5530;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(44, 85, 48, 0.08);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.12);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    position: relative;
    width: 100%;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: #2c5530;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.02em;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #2c5530, #4a7c59);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover::after {
    width: 100%;
}

.logo:hover {
    color: #4a7c59;
    transform: translateY(-1px);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #2c5530;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 10000;
    position: relative;
    -webkit-tap-highlight-color: rgba(44, 85, 48, 0.1);
    user-select: none;
}

.mobile-menu-toggle:hover {
    background-color: rgba(44, 85, 48, 0.1);
}

.mobile-menu-toggle:active {
    background-color: rgba(44, 85, 48, 0.2);
    transform: scale(0.95);
}

.mobile-menu-toggle span {
    display: block;
    pointer-events: none;
    user-select: none;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Navigation */
.main-nav {
    transition: all 0.3s ease;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav li {
    position: relative;
    margin: 0;
    padding: 0;
}

.main-nav a {
    display: block;
    text-decoration: none;
    color: #4a5568;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.main-nav > ul > li > a:hover {
    color: #2c5530;
    background: rgba(44, 85, 48, 0.08);
}

/* Dropdown Arrow */
.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.menu-item-has-children:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Submenu Styles - LISTA VERTICAL */
.nav-menu .sub-menu,
.main-nav .sub-menu,
ul.sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #fff !important;
    min-width: 280px !important;
    max-width: 280px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
    border-radius: 8px !important;
    padding: 0.5rem 0 !important;
    margin-top: 0.5rem !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.2s ease !important;
    z-index: 1000 !important;
    border: 1px solid rgba(44, 85, 48, 0.1) !important;
    list-style: none !important;
    display: block !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.nav-menu .sub-menu li,
.main-nav .sub-menu li,
ul.sub-menu li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    flex: none !important;
    position: relative !important;
}

.nav-menu .sub-menu a,
.main-nav .sub-menu a,
ul.sub-menu a {
    display: block !important;
    padding: 0.8rem 1.2rem !important;
    color: #4a5568 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    border-left: 3px solid transparent !important;
    transition: all 0.2s ease !important;
    white-space: normal !important;
    line-height: 1.4 !important;
    text-align: left !important;
    width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
}

.sub-menu a:hover {
    background: rgba(44, 85, 48, 0.08) !important;
    color: #2c5530 !important;
    border-left-color: #2c5530 !important;
    padding-left: 1.4rem !important;
}

/* Remove conflicting styles */
.nav-menu > li > a::before,
.nav-menu > li > a::after {
    display: none;
}

/* Accessibility */
.sub-menu a:focus {
    outline: 2px solid #2c5530;
    outline-offset: -2px;
    background: rgba(44, 85, 48, 0.1);
}

/* Hero Section - DESABILITADO - Estilos agora estão no index.php */
/* 
.hero {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.4) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.6) 0%, rgba(74, 124, 89, 0.5) 100%);
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.05"/><circle cx="10" cy="90" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.05;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 10;
    padding: 140px 24px 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: #ffffff;
    text-shadow:
        0 4px 8px rgba(0, 0, 0, 0.6),
        0 8px 16px rgba(0, 0, 0, 0.4),
        0 16px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    letter-spacing: -0.02em;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    border-radius: 2px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.7;
    font-weight: 400;
}
*/



/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #f1f8f4 100%);
    position: relative;
    margin: 0;
    width: 100%;
}

/* Desabilitado para evitar conflitos
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(44, 85, 48, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 124, 89, 0.03) 0%, transparent 50%);
    pointer-events: none;
}
*/

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #2c5530;
    margin-bottom: 2rem;
    position: relative;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c5530, #4a7c59);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
}



.service-card h3 {
    font-size: 1.5rem;
    color: #2c5530;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.service-card p {
    color: #718096;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #2c5530;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 24px;
    border-radius: 12px;
    border: 2px solid #2c5530;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.service-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #2c5530, #4a7c59);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.service-link:hover::before {
    left: 0;
}

.service-link:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    border-radius: 20px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.25);
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #2c5530, #4a7c59, #2c5530);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

/* About Section */
.about {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(44, 85, 48, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(74, 124, 89, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}



.about-image {
    text-align: center;
}

.about-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* CTA Section */


/* ========================================
   FOOTER - DESIGN MODERNO E PROFISSIONAL
======================================== */
.site-footer {
    background: linear-gradient(135deg, #1a3a1e 0%, #2c5530 100%);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

/* Footer content */
.site-footer .container {
    padding: 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer sections */
.footer-section h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0;
}

/* Footer about - sem underline no título principal */
.footer-about .footer-logo h3 {
    padding-bottom: 0;
}

/* Underline apenas nos títulos das colunas 2, 3 e 4 */
.footer-links h3::after,
.footer-services h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #4a7c59, transparent);
    border-radius: 2px;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    padding-bottom: 0.5rem;
}

/* Footer about */
.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #4a7c59;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 124, 89, 0.4);
}

/* Footer links */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: #4a7c59;
    padding-left: 5px;
}

.footer-section ul li a svg {
    opacity: 0.6;
}

/* Contact list */
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.contact-list svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.8;
}

.contact-list a,
.contact-list span {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.contact-list a:hover {
    color: #4a7c59;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Design - Mobile First */

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about-grid {
        gap: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Reset geral para mobile */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .container {
        padding: 0 20px;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
    }

    /* Header Mobile */
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: white;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 9998;
        overflow-y: auto;
        transition: left 0.3s ease;
    }

    .main-nav.menu-open {
        left: 0;
    }

    .main-nav ul,
    .main-nav .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        margin: 0;
        width: 100%;
        list-style: none;
        display: flex;
    }

    .main-nav li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 1.2rem 2rem;
        color: #333;
        border-radius: 0;
        width: 100%;
        box-sizing: border-box;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a:hover,
    .main-nav a:active {
        background: rgba(44, 85, 48, 0.1);
        color: #2c5530;
    }

    /* Mobile Dropdown Styles */
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 0;
        margin-top: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .menu-item-has-children:hover .sub-menu,
    .menu-item-has-children.active .sub-menu {
        max-height: 300px;
    }

    .sub-menu a {
        color: rgba(255, 255, 255, 0.9);
        padding: 0.5rem 1rem;
        margin-left: 1rem;
        border-left: 2px solid rgba(255, 255, 255, 0.3);
    }

    .sub-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        border-left-color: #fff;
    }

    .dropdown-arrow {
        float: right;
    }

    /* Hero Mobile */
    .hero {
        text-align: center;
        min-height: 100vh;
        height: 100vh;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero .container {
        padding: 100px 20px 60px;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        padding: 0;
        word-wrap: break-word;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0;
        line-height: 1.5;
        max-width: 100%;
    }

    .btn,
    .btn-hero {
        padding: 14px 28px;
        font-size: 0.95rem;
        margin: 0 auto;
        width: 100%;
        max-width: 280px;
        display: block;
        text-align: center;
        box-sizing: border-box;
    }

    /* Services Mobile */
    .services {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        text-align: center;
        padding: 0 15px;
        line-height: 1.2;
        word-wrap: break-word;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 15px;
        line-height: 1.5;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
        padding: 0 15px;
    }

    .service-card {
        padding: 2rem 1.5rem;
        margin: 0;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        border-radius: 15px;
    }

    .service-card h3 {
        font-size: 1.3rem;
        text-align: center;
        margin-bottom: 1rem;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .service-card p {
        text-align: center;
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .service-link {
        display: block;
        text-align: center;
        margin-top: 1rem;
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
    }

    /* About Mobile */
    .about {
        padding: 50px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 15px;
    }

    .about-content {
        order: 2;
        padding: 0;
    }

    .about-content h2 {
        text-align: center;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        padding: 0;
        word-wrap: break-word;
    }

    .about-content p {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
        line-height: 1.6;
        padding: 0;
    }
    
    .about-content .btn,
    .about-content .btn-primary {
        margin: 1.5rem auto 0;
        max-width: 280px;
        width: 100%;
    }

    .about-image {
        order: 1;
        width: 100%;
        padding: 0;
    }

    .about-image img {
        height: 250px;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        object-fit: cover;
        margin: 0 auto;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* CTA Mobile */
    .cta-section {
        padding: 50px 15px;
        margin: 0 auto;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .cta-section .container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .cta-section h2 {
        font-size: 1.8rem;
        line-height: 1.2;
        text-align: center;
        margin-bottom: 1rem;
        padding: 0;
        word-wrap: break-word;
    }

    .cta-section p {
        font-size: 1rem;
        padding: 0;
        text-align: center;
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    .cta-section .btn,
    .cta-section .btn-white {
        display: block;
        text-align: center;
        max-width: 280px;
        width: 100%;
        margin: 0 auto;
        padding: 14px 28px;
        font-size: 0.95rem;
        box-sizing: border-box;
    }

    /* Footer Mobile */
    .site-footer {
        padding: 50px 0 30px;
    }
    
    .site-footer .container {
        padding: 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: left;
    }

    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-section h3::after {
        left: 0;
    }

    .footer-about {
        text-align: left;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-section ul li a {
        font-size: 0.95rem;
    }

    .contact-list li {
        font-size: 0.95rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .footer-bottom p {
        font-size: 0.9rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    .hero {
        min-height: 100vh;
        height: 100vh;
    }

    .hero .container {
        padding: 100px 15px 40px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1.2rem;
        padding: 0 5px;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
        width: calc(100% - 30px);
        max-width: 280px;
        margin: 0 auto;
        display: block;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
        padding: 0 15px;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 15px;
        line-height: 1.5;
    }

    .services {
        padding: 40px 0;
    }

    .services-grid {
        padding: 0 15px;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
        margin: 0;
        width: 100%;
        border-radius: 15px;
    }

    .service-card h3 {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .about {
        padding: 50px 0;
    }

    .about-grid {
        padding: 0 15px;
        gap: 2.5rem;
    }

    .about-content h2 {
        font-size: 2rem;
        padding: 0 10px;
        line-height: 1.2;
    }

    .about-content p {
        font-size: 1rem;
        padding: 0 10px;
        line-height: 1.6;
    }

    .about-image img {
        height: 220px;
        margin: 0 auto;
        width: 100%;
        max-width: 320px;
        border-radius: 12px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .cta-section {
        padding: 50px 15px;
        margin: 0 auto;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .cta-section .container {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .cta-section h2 {
        font-size: 2rem;
        padding: 0 10px;
        line-height: 1.2;
    }

    .cta-section p {
        font-size: 1rem;
        padding: 0 10px;
        line-height: 1.5;
    }

    .site-footer {
        padding: 40px 15px 20px;
    }

    .footer-content {
        padding: 0 5px;
    }

    .footer-section {
        padding: 0 5px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        height: 100vh;
        padding: 0;
    }

    .hero .container {
        padding: 60px 20px 40px;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .services,
    .about,
    .cta-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .service-icon,
    .hero::before,
    .cta-section::before {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {

    .site-header,
    .mobile-menu-toggle,
    .btn,
    .service-link {
        display: none !important;
    }

    .hero {
        background: none !important;
        color: #000 !important;
        padding: 20px 0 !important;
    }

    .services,
    .about,
    .cta-section {
        padding: 20px 0 !important;
    }

    .service-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .btn:hover {
        transform: none;
    }

    .service-link:hover {
        transform: none;
    }

    /* Increase touch targets */
    .btn,
    .service-link,
    .main-nav a {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}



/* Advanced Visual Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) scaleX(0);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Enhanced Service Cards */
.service-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(44, 85, 48, 0.08);
    max-width: 380px;
    width: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c5530, #4a7c59);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(44, 85, 48, 0.15);
}

.service-card .service-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.1) translateY(-4px);
}

/* Enhanced About Section */
.about-content {
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a7c59, #2c5530);
    border-radius: 20px;
    opacity: 0.08;
    z-index: -1;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 2.5rem;
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c5530;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-content h2.section-title::after {
    left: 0;
    transform: none;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #718096;
    line-height: 1.8;
}

/* Enhanced CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(74, 124, 89, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(44, 85, 48, 0.15) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
    z-index: 0;
}

.cta-section>* {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Scroll Reveal Effects */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.95);
    color: #2c5530;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
}

/* Primary Button - for light backgrounds */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 16px 32px;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(44, 85, 48, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(44, 85, 48, 0.4);
    color: #ffffff;
    background: linear-gradient(135deg, #4a7c59, #2c5530);
}

/* White Button - for dark/green backgrounds */
.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.95);
    color: #2c5530;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-white:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    background: #ffffff;
    color: #2c5530;
}

/* Micro-interactions */
.interactive {
    transition: all 0.2s ease;
}

.interactive:hover {
    transform: translateY(-2px);
}

.interactive:active {
    transform: translateY(0);
}

/* Enhanced Typography - Moved to hero section above */

/* Optional subtle animation for hero title */
.hero h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 2px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
    }

    .hero .container {
        padding: 100px 20px 40px;
    }

    .hero-video {
        /* Keep video on mobile but with better performance */
        filter: brightness(0.3) contrast(1.2);
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 100vh;
    }

    .hero-video-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 100vh;
    }

    .hero-overlay {
        /* Stronger overlay for mobile readability */
        background: linear-gradient(135deg, rgba(44, 85, 48, 0.7) 0%, rgba(74, 124, 89, 0.6) 100%);
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
    }

    .hero .container {
        padding: 80px 15px 30px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }
}

@keyframes shimmer {

    0%,
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }

    50% {
        transform: translateX(100%);
        opacity: 1;
    }
}

/* Enhanced Focus States */
.btn:focus,
.main-nav a:focus,
.service-link:focus,
.mobile-menu-toggle:focus {
    outline: 2px solid #4a7c59;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(74, 124, 89, 0.1);
}

input:focus,
textarea:focus {
    outline: 2px solid #4a7c59;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(74, 124, 89, 0.1);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Optional: Add dark mode styles if needed */
}
/*
 Mobile Styles para Páginas Internas */
@media (max-width: 768px) {
    /* Page Hero Mobile */
    main.main-content {
        padding-top: 80px !important;
    }
    
    .page-hero {
        padding: 2.5rem 1.5rem !important;
        margin-bottom: 2rem !important;
        border-radius: 15px !important;
    }
    
    .page-hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word;
    }
    
    .page-hero p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        padding: 0 !important;
    }
    
    /* Contact Page Mobile */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 0 !important;
    }
    
    #contact-form,
    .contact-info-card {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .contact-item {
        flex-direction: column !important;
        text-align: center !important;
        padding: 1rem !important;
    }
    
    .contact-icon {
        margin-right: 0 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .contact-item h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .contact-item p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    
    /* Map Mobile */
    .map-section {
        margin: 2rem 0 !important;
    }
    
    .map-section h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .map-container {
        height: 300px !important;
        border-radius: 12px !important;
    }
    
    .map-container iframe {
        height: 300px !important;
        border-radius: 12px !important;
    }
    
    /* About Page Mobile */
    .mvv-card {
        padding: 2rem 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .mvv-card h3 {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
    }
    
    .mvv-card p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    
    /* Carousel Mobile */
    .carousel-container {
        height: 300px !important;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
    }
    
    .carousel-prev svg,
    .carousel-next svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    /* Team Mosaic Mobile */
    .team-mosaic {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 !important;
    }
    
    .team-member {
        grid-column: 1 / -1 !important;
    }
    
    .team-member img {
        height: 280px !important;
        border-radius: 12px !important;
    }
    
    /* Statistics Mobile */
    .stat-item {
        padding: 1rem !important;
    }
    
    .stat-item > div:first-child {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 1rem !important;
    }
    
    .stat-item > div:nth-child(2) {
        font-size: 2rem !important;
    }
    
    .stat-item > div:last-child {
        font-size: 0.9rem !important;
    }
    
    /* Service Pages Mobile */
    .service-features,
    .process-timeline,
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 15px !important;
    }
    
    .feature-card,
    .process-step,
    .benefit-card {
        padding: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .feature-card h3,
    .process-step h3,
    .benefit-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .feature-card p,
    .process-step p,
    .benefit-card p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    
    /* Buttons Mobile */
    .btn,
    .btn-primary,
    .btn-hero,
    .btn-white,
    a[class*="btn"] {
        width: 100% !important;
        max-width: 280px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
        text-align: center !important;
        padding: 14px 24px !important;
        font-size: 0.95rem !important;
        box-sizing: border-box !important;
    }
    
    /* WhatsApp Button Mobile */
    .whatsapp-float {
        bottom: 70px !important;
        right: 15px !important;
    }
    
    .whatsapp-button {
        padding: 10px 14px !important;
        font-size: 0.9rem !important;
    }
}

/* Extra Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.75rem !important;
    }
    
    .hero p {
        font-size: 0.95rem !important;
    }
    
    .section-title {
        font-size: 1.6rem !important;
    }
    
    .section-subtitle {
        font-size: 0.95rem !important;
    }
    
    .page-hero h1 {
        font-size: 1.6rem !important;
    }
    
    .service-card,
    .mvv-card,
    .feature-card {
        padding: 1.5rem 1rem !important;
    }
    
    .service-card h3,
    .mvv-card h3 {
        font-size: 1.1rem !important;
    }
    
    .service-card p,
    .mvv-card p {
        font-size: 0.9rem !important;
    }
    
    .carousel-container {
        height: 250px !important;
    }
    
    .team-member img {
        height: 250px !important;
    }
    
    .map-container,
    .map-container iframe {
        height: 280px !important;
    }
    
    .btn,
    .btn-primary,
    .btn-hero,
    .btn-white {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh !important;
        height: auto !important;
        padding: 80px 0 40px !important;
    }
    
    .hero .container {
        padding: 40px 20px !important;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .hero p {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .services,
    .about,
    .cta-section {
        padding: 40px 0 !important;
    }
    
    .section-title {
        font-size: 1.6rem !important;
        margin-bottom: 1rem !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Aumentar área de toque para botões */
    button,
    a,
    .btn,
    .service-link,
    .contact-icon {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remover hover effects em dispositivos touch */
    .service-card:hover,
    .mvv-card:hover,
    .team-member:hover {
        transform: none !important;
    }
    
    /* Melhorar feedback visual em toque */
    button:active,
    a:active,
    .btn:active {
        opacity: 0.8;
        transform: scale(0.98);
    }
}


/* ========================================
   FIX PARA HERO ESTÁVEL - NÃO SE MOVE
======================================== */
.main-content {
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.hero,
.services,
.about,
.cta-section {
    position: relative;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Garantir que nada tenha position fixed exceto header */
section:not(.site-header) {
    position: relative !important;
}


/* ========================================
   MENU MOBILE - SOLUÇÃO LIMPA E FUNCIONAL
======================================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        margin-left: auto;
    }
    
    .main-nav {
        display: block;
    }
}


/* ========================================
   FIX: Forçar exibição de imagens
   (Corrige conflito com plugins de cache/lazy load)
======================================== */
.carousel-slide img,
.team-member img,
.about-image img,
.office-carousel img,
img.loading-skeleton,
img[class*="loading"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Remove skeleton loading */
.loading-skeleton {
    background: none !important;
    animation: none !important;
}

/* ========================================
   FIX: Barra branca no topo das imagens
   Imagens inline geram espaço extra pelo line-height
======================================== */
.team-member,
.carousel-slide,
.carousel-container,
.office-carousel,
.office-carousel-wrapper,
.about-image {
    line-height: 0 !important;
    font-size: 0 !important;
    padding: 0 !important;
}

.team-member > img,
.carousel-slide > img,
.office-carousel img,
.about-image > img,
.carousel-container img {
    display: block !important;
    width: 100% !important;
    vertical-align: top !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Garantir que carousel-slide comece do topo */
.carousel-slide {
    top: 0 !important;
    left: 0 !important;
}


/* ========================================
   FIX: Barra branca abaixo do footer
   Garante que não haja espaço branco após o footer
======================================== */
html {
    background-color: #1a3a1e !important;
}

.main-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.site-footer {
    margin-bottom: 0 !important;
}
