/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-dark: #1b5e20;
    --green-primary: #2e7d32;
    --green-light: #4caf50;
    --green-soft: #e8f5e9;
    --orange: #f57c00;
    --orange-dark: #e65100;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #9e9e9e;
    --gray-dark: #424242;
    --text-dark: #212121;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
}

body {
    font-family: 'Open Sans', 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}

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

/* TYPOGRAPHY */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}
h1 { font-size: 2rem; }
h1 span { color: var(--green-primary); }
h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
}
h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--orange);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}
h3 { font-size: 1.2rem; margin: 1rem 0 0.5rem; }

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 24px; border-radius: 50px; text-decoration: none;
    font-weight: 600; transition: all 0.3s ease; border: none;
    cursor: pointer; font-size: 0.9rem;
}
.btn-primary { background: var(--green-primary); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-secondary { background: var(--orange); color: var(--white); }
.btn-secondary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-large { padding: 15px 35px; font-size: 1rem; }
.btn-link { color: var(--green-primary); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.btn-link:hover { color: var(--green-dark); gap: 12px; }
.btn-block { width: 100%; justify-content: center; }

/* HEADER */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
}
.header .container { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.3rem; font-weight: 800; text-decoration: none; color: var(--green-primary); z-index: 1002; }
.logo img { height: 35px; width: auto; }
.logo i { font-size: 1.5rem; }

/* MENU MOBILE */
.menu-toggle {
    background: none; border: none; font-size: 1.6rem; cursor: pointer;
    color: var(--green-primary); display: block; z-index: 1002; position: relative;
    min-width: 44px;
    min-height: 44px;
}

.menu-close {
    background: none; border: none; font-size: 1.5rem; cursor: pointer;
    color: var(--text-dark); position: absolute; top: 15px; right: 20px;
    z-index: 1006; display: block; padding: 10px;
    min-width: 44px;
    min-height: 44px;
}

.nav-menu {
    position: fixed; top: 0; right: -100%;
    width: 85%; max-width: 300px; height: 100vh;
    background: var(--white); box-shadow: -5px 0 25px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
    z-index: 1004; padding: 60px 20px 30px; overflow-y: auto;
}

.nav-menu.active { right: 0; }

.nav-menu ul { list-style: none; padding: 0; margin: 0; }
.nav-menu ul li { margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.nav-menu ul li:last-child { border-bottom: none; }

.nav-menu ul li a {
    text-decoration: none; color: #333; font-weight: 600; font-size: 1.1rem;
    display: block; padding: 12px 0; transition: all 0.3s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.nav-menu ul li a:hover { color: var(--green-primary); padding-left: 10px; }
.nav-menu ul li a:active { opacity: 0.7; }

/* Overlay */
.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); z-index: 1003;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.menu-overlay.active { opacity: 1; visibility: visible; }

body.menu-open { overflow: hidden; }

/* MAIN CONTENT */
main { margin-top: 65px; }

/* CARROSSEL */
.carousel-container {
    position: relative; width: 100%; height: 70vh; min-height: 400px; overflow: hidden; margin-top: 0;
}
.carousel-slides { position: relative; width: 100%; height: 100%; }
.carousel-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 0.8s ease-in-out;
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
.carousel-slide.active { opacity: 1; z-index: 1; }
.carousel-slide::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%); z-index: 1;
}
.carousel-content { position: absolute; bottom: 15%; left: 0; right: 0; text-align: center; color: white; z-index: 2; padding: 0 20px; }
.carousel-content h2 { font-size: 1.5rem; margin-bottom: 0.8rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); color: white; }
.carousel-content h2:after { background: var(--orange); margin: 0.5rem auto 0; }
.carousel-content p { font-size: 0.9rem; max-width: 700px; margin: 0 auto 1.2rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
.carousel-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: white; padding: 10px 20px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: all 0.3s ease; }
.carousel-btn:hover { background: var(--orange-dark); transform: translateY(-3px); }
.carousel-nav { position: absolute; bottom: 15px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s ease; }
.carousel-dot.active { background: var(--orange); width: 25px; border-radius: 10px; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 35px; height: 35px; background: rgba(255,255,255,0.2); backdrop-filter: blur(5px); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3; transition: all 0.3s ease; color: white; font-size: 1rem; }
.carousel-arrow:hover { background: var(--orange); }
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

/* ABOUT SUMMARY */
.about-summary { padding: 40px 20px; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 25px; align-items: center; }
.about-icon { text-align: center; }
.about-icon i { font-size: 4rem; color: var(--green-primary); }

/* WHAT WE COLLECT */
.what-we-collect { background: var(--gray-light); padding: 40px 20px; }
.collect-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.collect-card { background: var(--white); padding: 25px; text-align: center; border-radius: 15px; box-shadow: var(--shadow); transition: transform 0.3s; }
.collect-card:hover { transform: translateY(-5px); }
.collect-card i { font-size: 2.5rem; color: var(--green-primary); }

/* HOW IT WORKS */
.how-it-works { padding: 40px 20px; }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 25px; }
.step { text-align: center; position: relative; padding: 15px; }
.step-number { width: 35px; height: 35px; background: var(--orange); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; margin: 0 auto 12px; }
.step i { font-size: 2rem; color: var(--green-primary); }

/* DIFFERENTIALS */
.differentials { background: var(--green-soft); padding: 40px 20px; }
.diffs-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.diff-card { background: var(--white); padding: 25px; text-align: center; border-radius: 15px; box-shadow: var(--shadow); }
.diff-card i { font-size: 2rem; color: var(--orange); }

/* CTA FINAL */
.cta-final { background: var(--green-primary); color: var(--white); text-align: center; padding: 40px 20px; }
.cta-final h2:after { background: var(--orange); }
.cta-final .btn-primary { background: var(--orange); }
.cta-final .btn-primary:hover { background: var(--orange-dark); }

/* PAGE HEADER */
.page-header { background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%); color: var(--white); text-align: center; padding: 40px 20px; }
.page-header h1 { margin-bottom: 0.5rem; font-size: 1.8rem; }
.page-header h1:after { display: none; }

/* SERVICES PAGE */
.services-grid-section { padding: 40px 20px; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 25px; }
.service-card-full { background: var(--white); padding: 25px; border-radius: 15px; box-shadow: var(--shadow); border-left: 4px solid var(--green-primary); }
.service-card-full.highlight { border-left-color: var(--orange); background: linear-gradient(135deg, var(--white) 0%, var(--green-soft) 100%); }
.service-card-full i { font-size: 2rem; color: var(--green-primary); margin-bottom: 12px; }
.service-card-full ul { list-style: none; margin-top: 12px; }
.service-card-full ul li { margin: 6px 0; display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.service-card-full ul li i { font-size: 0.8rem; color: var(--green-primary); margin: 0; }
.cta-service { background: var(--gray-light); text-align: center; padding: 40px 20px; }

/* EVENTOS PAGE */
.gincana-highlight { padding: 30px 20px; }
.gincana-banner { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%); color: var(--white); padding: 30px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 15px; }
.gincana-icon i { font-size: 3rem; }
.gincana-premio { font-size: 1.1rem; margin: 10px 0; }
.benefits { padding: 40px 20px; }
.benefits-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.benefit-card { text-align: center; padding: 25px; background: var(--gray-light); border-radius: 15px; }
.benefit-card i { font-size: 2rem; color: var(--green-primary); }
.results { background: var(--green-soft); padding: 40px 20px; }
.results-stats { display: grid; grid-template-columns: 1fr; gap: 30px; text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--orange); display: block; }
.stat-label { font-size: 0.9rem; color: var(--gray-dark); }
.upcoming-events { padding: 40px 20px; }
.events-list { display: flex; flex-direction: column; gap: 15px; }
.event-item { display: flex; gap: 15px; background: var(--gray-light); padding: 15px; border-radius: 15px; flex-wrap: wrap; }
.event-date { text-align: center; min-width: 60px; }
.event-date .day { font-size: 1.5rem; font-weight: 800; color: var(--green-primary); display: block; }
.event-date .month { font-size: 0.8rem; font-weight: 600; }
.event-info h3 { margin-top: 0; font-size: 1rem; }
.cta-event { background: var(--green-primary); color: var(--white); text-align: center; padding: 40px 20px; }
.cta-event .btn-primary { background: var(--orange); }

/* CONTATO PAGE */
.contact-section { padding: 40px 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 40px; }
.contact-info .info-item { display: flex; gap: 15px; margin-bottom: 25px; }
.contact-info .info-item i { font-size: 1.3rem; color: var(--green-primary); min-width: 35px; }
.contact-info .info-item h3 { margin: 0 0 5px; font-size: 1rem; }
.btn-whatsapp { display: inline-block; background: #25D366; color: var(--white); padding: 8px 16px; border-radius: 50px; text-decoration: none; font-size: 0.85rem; margin-top: 8px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px; border: 1px solid var(--gray); border-radius: 8px; font-family: inherit; font-size: 0.9rem; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--green-primary); }
.map-container { margin-top: 30px; }
.map-wrapper { border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); }

/* FOOTER */
.footer { background: var(--text-dark); color: var(--gray-light); padding: 40px 20px 20px; }
.footer-content { display: grid; grid-template-columns: 1fr; gap: 25px; margin-bottom: 25px; }
.footer-logo img { height: 35px; width: auto; margin-bottom: 8px; }
.footer-logo span { font-size: 1.2rem; font-weight: 800; }
.footer-links h4, .footer-contact h4 { color: var(--white); margin-bottom: 12px; font-size: 1rem; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 6px; }
.footer-links ul li a { color: var(--gray-light); text-decoration: none; font-size: 0.85rem; }
.footer-links ul li a:hover { color: var(--green-light); }
.footer-contact p { margin: 6px 0; display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.footer-bottom { text-align: center; padding-top: 15px; border-top: 1px solid var(--gray-dark); font-size: 0.75rem; }

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed; bottom: 15px; right: 15px; background: #25D366; color: var(--white);
    width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 1.5rem; box-shadow: var(--shadow-hover);
    transition: all 0.3s; z-index: 999; text-decoration: none;
}
.whatsapp-float span { display: none; }
.whatsapp-float:hover { transform: scale(1.1); background: #128C7E; }

/* TABLET */
@media (min-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .collect-grid, .steps-grid, .diffs-grid, .benefits-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
    .results-stats { grid-template-columns: repeat(3, 1fr); }
    .footer-content { grid-template-columns: repeat(3, 1fr); }
    .about-grid { grid-template-columns: 2fr 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .gincana-banner { flex-direction: row; text-align: left; }
    .carousel-content h2 { font-size: 2rem; }
    .whatsapp-float { width: auto; height: auto; padding: 10px 20px; border-radius: 50px; gap: 8px; }
    .whatsapp-float span { display: inline; font-size: 0.9rem; font-weight: 600; }
}

/* DESKTOP */
@media (min-width: 1024px) {
    .menu-toggle, .menu-close { display: none !important; }
    .nav-menu {
        position: static !important; width: auto !important; height: auto !important;
        background: none !important; box-shadow: none !important; padding: 0 !important;
        overflow-y: visible !important; right: auto !important;
    }
    .nav-menu ul { display: flex !important; gap: 25px !important; }
    .nav-menu ul li { margin-bottom: 0 !important; border-bottom: none !important; padding-bottom: 0 !important; }
    .nav-menu ul li a { padding: 0 !important; font-size: 1rem !important; }
    .nav-menu ul li a:hover { padding-left: 0 !important; color: var(--green-primary) !important; }
    .collect-grid, .services-grid { grid-template-columns: repeat(3, 1fr); }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .diffs-grid { grid-template-columns: repeat(3, 1fr); }
    .benefits-grid { grid-template-columns: repeat(4, 1fr); }
    .carousel-container { height: 80vh; }
    .carousel-content h2 { font-size: 2.5rem; }
    .carousel-content p { font-size: 1.1rem; }
}

/* Remove o fundo cinza escuro nos links do menu */
.nav-menu ul li a {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}

/* Cor do fundo quando clica no mobile */
.nav-menu ul li a:active {
    background-color: rgba(46, 125, 50, 0.1) !important;
    color: var(--green-primary) !important;
}

/* Força o menu a ficar acima de tudo */
.nav-menu.active {
    z-index: 10001 !important;
}

.nav-menu.active ul,
.nav-menu.active li,
.nav-menu.active a {
    z-index: 10002 !important;
    position: relative !important;
}