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

:root {
    --bg-light: rgba(255, 255, 255, 0.82);
    --bg-soft: rgba(245, 249, 240, 0.82);
    --bg-green: rgba(238, 245, 224, 0.82);
    --bg-green-light: rgba(238, 245, 230, 0.82);
    --bg-gray: #f0f4ec;
    --text-dark: #2c3a26;
    --text-gray: #5b6b52;
    --green-dark: #416422;
    --green-olive: #598216;
    --green-mid: #6B911B;
    --green-yellow: #819A20;
    --gold: #D9D40C;
    --green-sage: #72A06A;
    --white: #ffffff;
    --border-radius: 18px;
    --shadow: 0 10px 35px rgba(65, 100, 34, 0.12);
    --shadow-sm: 0 4px 14px rgba(30, 60, 20, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    background-image: url('farm-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--green-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 16px rgba(30, 100, 20, 0.08);
}

.header-bar {
    background: linear-gradient(135deg, var(--green-mid), var(--green-yellow));
    color: var(--white);
    text-align: center;
    padding: 11px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.header-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    animation: shine 3.5s infinite;
}

@keyframes shine { 0% { left: -100%; } 100% { left: 100%; } }

.header-content { display: flex; align-items: center; justify-content: center; gap: 15px; }
.header-content i { font-size: 16px; animation: pulse 2s infinite; }

@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }

.navbar { background: transparent; border-bottom: 1px solid rgba(89, 130, 22, 0.12); }

.nav-content { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }

.logo-nav { display: flex; align-items: center; gap: 12px; }

.logo-nav-img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    background: var(--white);
    padding: 6px;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.logo-nav-texts { display: flex; flex-direction: column; line-height: 1.1; }

.logo-nav-text { font-size: 10px; font-weight: 600; color: var(--green-olive); letter-spacing: 1.5px; text-transform: uppercase; }
.logo-nav-main { font-size: 24px; font-weight: 800; color: var(--green-dark); letter-spacing: 0.5px; }

.nav-menu { display: flex; list-style: none; gap: 30px; align-items: center; }

.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-mid);
    transition: var(--transition);
}

.nav-menu a:hover { color: var(--green-olive); }
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
    background: linear-gradient(135deg, var(--green-olive), var(--green-mid));
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(89, 130, 22, 0.35); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: var(--green-dark); transition: var(--transition); border-radius: 2px; }

/* Hero */
.hero {
    padding: 130px 0 90px;
    background: linear-gradient(160deg, var(--bg-soft) 0%, var(--bg-light) 60%, var(--bg-green) 100%);
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
}

.hero-background-gradient { position: absolute; inset: 0; pointer-events: none; }

.hero-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo { margin-bottom: 28px; }

.logo-icon-wrapper {
    width: 74px;
    height: 74px;
    background: linear-gradient(135deg, var(--green-olive), var(--green-yellow));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 10px 28px rgba(89, 130, 22, 0.28);
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.logo-icon-wrapper i { font-size: 34px; color: var(--white); }

.logo-text { font-size: 22px; font-weight: 500; color: var(--green-olive); display: block; letter-spacing: 1px; }
.logo-main { font-size: 60px; font-weight: 900; color: var(--green-dark); display: block; line-height: 1.05; letter-spacing: -1px; }

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-green);
    border: 1px solid rgba(89, 130, 22, 0.25);
    padding: 11px 20px;
    border-radius: 30px;
    margin-bottom: 26px;
    font-size: 14px;
    color: var(--green-olive);
    font-weight: 600;
}
.badge-premium i { color: var(--gold); }

.hero-description { font-size: 18px; color: var(--text-gray); margin-bottom: 32px; line-height: 1.8; }
.hero-description strong { color: var(--green-olive); }

.hero-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 34px; }
.hero-feature-item { display: flex; align-items: center; gap: 12px; color: var(--text-gray); font-size: 15px; font-weight: 500; }
.hero-feature-item i { color: var(--green-mid); font-size: 18px; width: 24px; }

.hero-buttons { display: flex; gap: 18px; flex-wrap: wrap; }

.cta-button {
    border: none;
    padding: 17px 36px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.cta-button.primary { background: linear-gradient(135deg, var(--green-olive), var(--green-mid)); color: var(--white); }
.cta-button.primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(89, 130, 22, 0.35); }

.cta-button.secondary { background: var(--white); color: var(--green-olive); border: 2px solid var(--green-mid); }
.cta-button.secondary:hover { background: var(--bg-green); transform: translateY(-3px); }

.pulse-animation { animation: pulseButton 2.2s infinite; }

@keyframes pulseButton {
    0%, 100% { box-shadow: 0 0 0 0 rgba(107, 145, 27, 0.5); }
    50% { box-shadow: 0 0 0 18px rgba(107, 145, 27, 0); }
}

.hero-right { position: relative; }

.hero-image { width: 100%; height: 560px; position: relative; }

.image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(89, 130, 22, 0.2);
    box-shadow: var(--shadow);
}

.hero-main-image { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; z-index: 1; }
.image-glow { display: none; }
.image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 60, 20, 0.3) 0%, transparent 45%);
    z-index: 2;
}

.floating-badge {
    position: absolute;
    background: var(--white);
    color: var(--green-dark);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(30, 80, 20, 0.2);
    z-index: 3;
    animation: floatBadge 3.5s ease-in-out infinite;
}
.floating-badge i { color: var(--green-mid); }

.badge-1 { top: 24px; right: 20px; animation-delay: 0s; }
.badge-2 { bottom: 24px; left: 20px; animation-delay: 1.5s; }

@keyframes floatBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Section headers */
.section-header { text-align: center; margin-bottom: 55px; }

.section-icon {
    width: 74px;
    height: 74px;
    background: linear-gradient(135deg, var(--green-olive), var(--green-yellow));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 26px;
    box-shadow: 0 10px 26px rgba(89, 130, 22, 0.22);
}
.section-icon i { font-size: 34px; color: var(--white); }

.section-title { font-size: 40px; font-weight: 800; margin-bottom: 18px; color: var(--green-dark); line-height: 1.2; }

.title-underline {
    width: 90px;
    height: 5px;
    background: linear-gradient(90deg, var(--green-mid), var(--gold));
    margin: 0 auto;
    border-radius: 3px;
}

/* About */
.about-section { padding: 90px 0; background: var(--bg-light); }

.about-content { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 55px; align-items: center; }

.section-description { font-size: 18px; color: var(--text-gray); max-width: 100%; margin-bottom: 26px; line-height: 1.8; }

.about-features { display: flex; flex-direction: column; gap: 22px; }

.about-feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--bg-soft);
    border-radius: 14px;
    padding: 18px 20px;
    transition: var(--transition);
    border: 1px solid rgba(89, 130, 22, 0.12);
}
.about-feature:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); border-color: rgba(89, 130, 22, 0.3); }
.about-feature i { font-size: 30px; color: var(--green-mid); margin-top: 2px; }
.about-feature h4 { font-size: 19px; font-weight: 700; color: var(--green-dark); margin-bottom: 6px; }
.about-feature p { font-size: 15px; color: var(--text-gray); line-height: 1.6; }

.about-video { position: relative; }

.video-card {
    background: var(--bg-green);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(89, 130, 22, 0.18);
    transition: var(--transition);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}
.video-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(30, 90, 20, 0.18); }

.about-logo-img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 20px;
    object-fit: contain;
    display: block;
}

.video-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    color: var(--green-olive);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    background: var(--white);
    border-radius: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.video-link:hover { color: var(--green-dark); transform: translateY(-2px); }
.video-link i { font-size: 20px; color: var(--green-mid); }

/* Modules */
.modules-section { padding: 90px 0; background: var(--bg-soft); }

.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; }

.module-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: left;
    transition: var(--transition);
    border: 1px solid rgba(89, 130, 22, 0.12);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.module-card:hover { border-color: var(--green-mid); transform: translateY(-8px); box-shadow: var(--shadow); }

.module-icon-wrapper {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--green-olive), var(--green-yellow));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(89, 130, 22, 0.25);
}
.module-icon-wrapper i { font-size: 30px; color: var(--white); }

.module-number { position: absolute; top: 18px; right: 22px; font-size: 46px; font-weight: 900; color: rgba(89, 130, 22, 0.12); line-height: 1; }
.module-card h3 { font-size: 23px; font-weight: 800; margin-bottom: 16px; color: var(--green-dark); position: relative; z-index: 2; }
.module-card p { font-size: 15px; color: var(--text-gray); line-height: 1.75; position: relative; z-index: 2; }

/* Benefits */
.benefits-section { padding: 90px 0; background: var(--bg-light); }

.check-icon-wrapper {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, var(--green-olive), var(--green-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 26px;
    box-shadow: 0 10px 26px rgba(89, 130, 22, 0.22);
    animation: floatIcon 3s ease-in-out infinite;
}
.check-icon-wrapper i { font-size: 40px; color: var(--white); }

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

.benefit-card {
    background: var(--bg-soft);
    border-radius: 20px;
    padding: 38px 30px;
    text-align: left;
    transition: var(--transition);
    border: 1px solid rgba(89, 130, 22, 0.1);
    position: relative;
    overflow: hidden;
}
.benefit-card:hover { border-color: var(--green-mid); transform: translateY(-8px); box-shadow: var(--shadow); background: var(--white); }

.benefit-icon-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--green-mid), var(--green-yellow));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(89, 130, 22, 0.22);
}
.benefit-icon-wrapper i { font-size: 28px; color: var(--white); }

.benefit-number { position: absolute; top: 18px; right: 22px; font-size: 44px; font-weight: 900; color: rgba(89, 130, 22, 0.1); line-height: 1; }
.benefit-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 14px; color: var(--green-dark); position: relative; z-index: 2; }
.benefit-card p { font-size: 15px; color: var(--text-gray); line-height: 1.75; position: relative; z-index: 2; }

/* CTA section */
.cta-section { padding: 90px 0; background: linear-gradient(135deg, var(--green-olive), var(--green-mid)); }

.cta-box {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 25px 60px rgba(30, 80, 20, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-icon { font-size: 44px; color: var(--green-mid); margin-bottom: 18px; }
.cta-box h2 { font-size: 34px; font-weight: 800; margin-bottom: 18px; color: var(--green-dark); }
.cta-box p { font-size: 17px; color: var(--text-gray); max-width: 640px; margin: 0 auto 32px; line-height: 1.7; }

/* Contact */
.contact-section { padding: 90px 0; background: var(--bg-soft); }

.social-desc { text-align: center; font-size: 18px; color: var(--text-gray); margin-bottom: 38px; }

.social-buttons { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--green-dark);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    border: 1px solid rgba(89, 130, 22, 0.18);
    box-shadow: var(--shadow-sm);
}
.social-btn:hover { border-color: var(--green-mid); transform: translateY(-3px); box-shadow: var(--shadow); }
.social-btn img { width: 28px; height: 28px; }

/* Toast */
.toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--green-dark);
    border-left: 5px solid var(--gold);
    border-radius: 12px;
    padding: 14px 18px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 9999;
    pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.toast-content { display: flex; align-items: center; gap: 10px; }
.toast svg { width: 22px; height: 22px; stroke: var(--gold); }

/* Footer */
.footer { padding: 50px 0; background: var(--green-dark); text-align: center; }

.footer-logo { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 18px; }
.footer-logo-img { width: 52px; height: 52px; object-fit: contain; background: var(--white); padding: 6px; border-radius: 12px; }
.footer-name { font-weight: 800; color: var(--white); font-size: 16px; letter-spacing: 1px; }
.footer p { font-size: 14px; color: rgba(255, 255, 255, 0.75); }

/* Scroll to top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--green-olive), var(--green-mid));
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 6px 18px rgba(89, 130, 22, 0.4);
}
.scroll-to-top.visible { opacity: 1; visibility: visible; }
.scroll-to-top:hover { transform: translateY(-5px); box-shadow: 0 10px 26px rgba(89, 130, 22, 0.55); }

/* Responsive */
@media (max-width: 1024px) {
    .hero-content, .about-content { grid-template-columns: 1fr; gap: 45px; }
    .modules-grid, .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-menu { display: none; }
    .hamburger { display: flex; }
}

@media (max-width: 768px) {
    .header-bar { font-size: 11px; padding: 10px; }
    .hero { padding: 110px 0 60px; }
    .logo-main { font-size: 38px; }
    .section-title { font-size: 30px; }
    .hero-image { height: 360px; }
    .hero-content { text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-features { align-items: center; }
    .hero-feature-item { text-align: left; }
    .modules-grid, .benefits-grid { grid-template-columns: 1fr; }
    .about-content { text-align: center; }
    .about-features { align-items: stretch; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .logo-main { font-size: 30px; }
    .section-title { font-size: 24px; }
    .cta-button { padding: 15px 28px; font-size: 14px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .cta-button { width: 100%; justify-content: center; }
}

html, body { max-width: 100%; overflow-x: hidden; }
body { -webkit-text-size-adjust: none; touch-action: manipulation; }

@media (max-width: 900px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--white);
        flex-direction: column;
        width: 240px;
        padding: 20px;
        border: 1px solid rgba(89, 130, 22, 0.18);
        border-radius: 14px;
        box-shadow: var(--shadow);
    }
    .nav-menu.active { display: flex; }
    .hamburger { display: flex; }
    .nav-cta { display: none; }
    .nav-menu .nav-cta { display: block; width: 100%; text-align: center; margin-top: 10px; }
    .nav-menu a { padding: 10px 0; text-align: center; width: 100%; }
}

/* ============================================================
   AGQÕES AVANÇADAS (nível sênior)
   ============================================================ */

/* Scroll progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, var(--green-olive), var(--green-mid), var(--gold));
    z-index: 2000;
    transition: width 0.1s linear;
}

/* Stats strip */
.stats-strip { padding: 60px 0; background: var(--white); border-top: 1px solid rgba(89,130,22,0.1); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stat-number { font-size: 56px; font-weight: 900; color: var(--green-olive); line-height: 1; }
.stat-suffix { font-size: 30px; font-weight: 800; color: var(--green-mid); }
.stat-label { font-size: 15px; color: var(--text-gray); font-weight: 600; margin-top: 10px; }

/* Testimonials */
.testimonials-section { padding: 90px 0; background: var(--bg-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; }
.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 34px 28px;
    position: relative;
    border: 1px solid rgba(89,130,22,0.12);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-mid); }
.quote-icon { font-size: 34px; color: var(--green-yellow); margin-bottom: 16px; }
.testimonial-card > p { font-size: 15px; color: var(--text-gray); line-height: 1.7; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--green-olive), var(--green-mid));
    display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 18px;
}
.testimonial-author strong { display: block; color: var(--green-dark); font-size: 15px; }
.testimonial-author span { display: block; color: var(--text-gray); font-size: 13px; }

/* FAQ */
.faq-section { padding: 90px 0; background: var(--bg-soft); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: var(--white);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid rgba(89,130,22,0.12);
    box-shadow: var(--shadow-sm);
}
.faq-item.active { border-color: var(--green-mid); }
.faq-question { display: flex; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; transition: var(--transition); }
.faq-question span:last-child { font-size: 16px; font-weight: 700; color: var(--green-dark); flex: 1; }
.faq-icon {
    width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
    background: var(--bg-green); color: var(--green-olive);
    display: flex; align-items: center; justify-content: center; font-size: 15px; transition: var(--transition);
}
.faq-item.active .faq-icon { background: linear-gradient(135deg, var(--green-olive), var(--green-mid)); color: var(--white); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.active .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 22px 20px 72px; color: var(--text-gray); line-height: 1.7; font-size: 15px; }

/* Contact grid + form */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.lead-form {
    background: var(--white);
    border-radius: 20px;
    padding: 34px;
    border: 1px solid rgba(89,130,22,0.14);
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--green-dark); margin-bottom: 7px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 13px 15px;
    border: 1.5px solid rgba(89,130,22,0.2);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif; font-size: 15px; color: var(--green-dark);
    background: var(--bg-soft); transition: var(--transition);
    resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--green-mid); background: var(--white); box-shadow: 0 0 0 3px rgba(107,145,27,0.12);
}
.form-feedback { margin-top: 16px; padding: 12px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; display: none; }
.form-feedback.success { display: block; background: #e8f5e9; color: var(--green-olive); border: 1px solid var(--green-mid); }
.form-feedback.error { display: block; background: #fdecea; color: #c62828; border: 1px solid #ef9a9a; }

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    right: 25px; bottom: 90px;
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 32px;
    box-shadow: 0 8px 24px rgba(37,211,102,0.45);
    z-index: 1500;
    transition: var(--transition);
    animation: pulseWa 2.2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulseWa {
    0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.45); }
    50% { box-shadow: 0 8px 34px rgba(37,211,102,0.75); }
}

/* Ripple effect */
.ripple {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transform: scale(0); animation: ripple-anim 0.6s ease-out;
    pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(3.5); opacity: 0; } }

/* Responsive das novas seções */
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .stat-number { font-size: 40px; }
    .faq-answer p { padding-left: 18px; }
    .lead-form { padding: 24px 20px; }
}

/* ============================================================
   OTIMIZAÇÃO MOBILE — organização sem sobreposições
   ============================================================ */

/* Corpo sem rolagem horizontal */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
}

@media (max-width: 900px) {

    /* ===== HEADER / MENU ===== */
    .header-bar { padding: 10px 6px; letter-spacing: 1.5px; font-size: 10.5px; }
    .header-bar .header-content { gap: 6px; }
    .header-content i { display: none; }
    .header-content span { white-space: normal; line-height: 1.3; }

    .nav-content { padding: 12px 0; }
    .logo-nav-img { width: 44px; height: 44px; }
    .logo-nav-main { font-size: 20px; }
    .logo-nav-text { font-size: 9px; letter-spacing: 1px; }

    /* Menu: dropdown full-width centralizado */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 10px;
        right: 10px;
        width: auto;
        background: var(--white);
        flex-direction: column;
        gap: 4px;
        padding: 16px;
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(30, 80, 20, 0.18);
        border: 1px solid rgba(89, 130, 22, 0.18);
    }
    .nav-menu a {
        padding: 13px 10px;
        text-align: center;
        width: 100%;
        font-size: 15px;
        border-radius: 10px;
    }
    .nav-menu a:hover, .nav-menu a:active { background: var(--bg-soft); }
    .nav-menu .nav-cta {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 8px;
        padding: 14px;
    }

    /* ---------- HERO ===== */
    .hero { padding: 96px 0 50px; min-height: auto; }
    .hero-content { grid-template-columns: 1fr; gap: 34px; text-align: center; }
    .hero-left { display: flex; flex-direction: column; align-items: center; }
    .logo { margin-bottom: 20px; }
    .logo-icon-wrapper { width: 62px; height: 62px; margin-bottom: 14px; }
    .logo-icon-wrapper i { font-size: 28px; }
    .logo-text { font-size: 18px; }
    .logo-main { font-size: 34px; letter-spacing: -1px; }
    .badge-premium { margin-bottom: 20px; font-size: 13px; padding: 9px 15px; text-align: center; }
    .hero-description { font-size: 16px; margin-bottom: 24px; }
    .hero-features {
        align-items: center;
        width: 100%;
        max-width: 340px;
        gap: 12px;
    }
    .hero-feature-item { justify-content: center; text-align: left; font-size: 14px; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 430px; gap: 12px; }
    .hero-buttons .cta-button { width: 100%; justify-content: center; padding: 15px 20px; font-size: 14px; }

    /* Imagem do herói com altura adaptável, selos dentro */
    .hero-right { width: 100%; }
    .hero-image { height: auto; aspect-ratio: 4 / 3; width: 100%; max-width: 460px; margin: 0 auto; }
    .floating-badge { font-size: 11px; padding: 8px 13px; }
    .badge-1 { top: 12px; right: 12px; }
    .badge-2 { bottom: 12px; left: 12px; }
    .scroll-indicator-hero { display: none; }

    /* ---------- SEÇÕES ===== */
    .about-section, .modules-section, .benefits-section,
    .testimonials-section, .faq-section, .cta-section,
    .contact-section { padding: 60px 0; }
    .stats-strip { padding: 40px 0; }

    .section-header { margin-bottom: 36px; }
    .section-icon { width: 60px; height: 60px; margin-bottom: 18px; }
    .section-icon i { font-size: 28px; }
    .section-title { font-size: 26px; line-height: 1.25; padding: 0 6px; }

    /* About */
    .about-content { grid-template-columns: 1fr; gap: 30px; text-align: left; }
    .section-description { font-size: 16px; }
    .about-features { gap: 16px; }
    .about-feature { padding: 15px 16px; gap: 14px; }
    .about-feature i { font-size: 26px; }
    .about-feature h4 { font-size: 17px; }
    .about-feature p { font-size: 14px; }
    .video-card { padding: 20px; }
    .about-logo-img { max-width: 220px; }

    /* Módulos e benefícios: 1 coluna */
    .modules-grid, .benefits-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 20px; }
    .module-card, .benefit-card { padding: 28px 22px; }
    .module-card h3, .benefit-card h3 { font-size: 20px; }
    .module-card p, .benefit-card p { font-size: 14px; }
    .module-number, .benefit-number { font-size: 40px; top: 14px; right: 16px; }

    /* Stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .stat-number { font-size: 38px; }
    .stat-suffix { font-size: 22px; }
    .stat-label { font-size: 13px; }

    /* Depoimentos */
    .testimonials-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 20px; }
    .testimonial-card { padding: 24px 20px; }

    /* FAQ */
    .faq-list { margin-top: 16px; }
    .faq-question { padding: 16px 16px; }
    .faq-question span:last-child { font-size: 14px; }
    .faq-answer p { padding: 0 16px 16px 16px; font-size: 14px; }

    /* Contato e formulário */
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .lead-form { padding: 24px 20px; }
    .form-group input, .form-group textarea { font-size: 15px; }
    .social-buttons { flex-direction: column; align-items: stretch; gap: 14px; }
    .social-btn { justify-content: center; padding: 14px 20px; }
    .social-desc { font-size: 16px; margin-bottom: 26px; }

    /* CTA */
    .cta-box { padding: 34px 20px; }
    .cta-box h2 { font-size: 24px; }
    .cta-box p { font-size: 15px; }
    .cta-box .cta-button { width: 100%; justify-content: center; }

    /* Footer */
    .footer { padding: 36px 16px; }
    .footer-logo { flex-direction: column; gap: 10px; text-align: center; }
    .footer-name { font-size: 14px; line-height: 1.4; }
    .footer p { font-size: 13px; }

    /* Botões flutuantes sem sobreposição */
    .whatsapp-float {
        right: 16px;
        bottom: 20px;
        width: 56px;
        height: 56px;
        font-size: 30px;
    }
    .scroll-to-top {
        right: 16px;
        bottom: 88px;
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .logo-main { font-size: 30px; }
    .hero-image { aspect-ratio: 4 / 3; }
    .stats-grid { gap: 18px; }
    .stat-number { font-size: 32px; }
    .stat-label { font-size: 12px; }
    .badge-premium { font-size: 12px; }
}

/* ============================================================
   FIX: cabeçalho fixo + rolagem sem conteúdo cortado
   ============================================================ */

/* Altura total do cabeçalho fixo (barra verde + menu) */
:root {
    --header-h: 120px;
}
@media (max-width: 768px) {
    :root { --header-h: 100px; }
}

/* Ao navegar por âncora, não deixar o conteúdo escondido atrás do cabeçalho */
#hero, #sobre, #modulos, #beneficios, #faq, #contato,
#depoimentos, .about-section, .modules-section, .benefits-section,
.testimonials-section, .faq-section, .cta-section, .contact-section,
.stats-strip {
    scroll-margin-top: calc(var(--header-h) + 10px);
}

/* Hero: garantir que o topo nunca fique sob o cabeçalho fixo */
.hero {
    margin-top: var(--header-h);
    padding-top: 40px;
}
@media (max-width: 768px) {
    .hero {
        margin-top: var(--header-h);
        padding-top: 30px;
    }
}

/* Barra de progresso fica sobre o cabeçalho (topo absoluto) */
.scroll-progress { z-index: 2001; }

/* Botões flutuantes: um acima do outro, sem sobrepor o conteúdo útil */
@media (max-width: 900px) {
    .whatsapp-float { right: 16px; bottom: 20px; width: 54px; height: 54px; font-size: 30px; }
    .scroll-to-top { right: 16px; bottom: 84px; width: 44px; height: 44px; font-size: 17px; }
}
@media (min-width: 901px) {
    .whatsapp-float { right: 26px; bottom: 26px; }
    .scroll-to-top { right: 30px; bottom: 96px; }
}