/* DESIGN SYSTEM MODERNO - INSPIRADO NO STRIPE / APPLE */
:root {
    --primary: #7ac142;
    --primary-dark: #5ca52d;
    --primary-light: rgba(122, 193, 66, 0.1);
    --dark: #0a0f0d;
    --dark-card: #141c18;
    --white: #ffffff;
    --light: #f4f7f5;
    --text-main: #2d3732;
    --text-muted: #627269;
    --border-color: rgba(0, 0, 0, 0.06);
    --font-main: 'Plus Jakarta Sans', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 16px 32px rgba(10,15,13,0.06);
    --shadow-lg: 0 24px 48px rgba(122,193,66,0.15);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* GLOBAL RESETS */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.max-width-md {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* IMAGES & WRAPPERS RESET */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.image-premium-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--light);
}

.inline-block-wrapper {
    display: inline-block;
    max-width: 100%;
}

.responsive-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition);
}

.image-premium-wrapper:hover .responsive-img {
    transform: scale(1.03);
}

.img-full-width {
    max-width: 700px;
    width: 100%;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; }

p { color: var(--text-muted); font-size: 1.05rem; }
.lead { font-size: 1.25rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* SECTIONS LAYOUT */
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--dark); }
.text-white h2, .text-white h3, .text-white h4 { color: var(--white); }
.text-white p { color: #a3b3ab; }
.text-light-muted { color: #81968d !important; }
.text-center { text-align: center; }
.section-header { margin-bottom: 60px; }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.gap-sm { gap: 20px; }
.content-align-center { align-items: center; }
.margin-top-md { margin-top: 32px; }
.margin-bottom-lg { margin-bottom: 48px; }

/* BUTTONS SYSTEM */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(122, 193, 66, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--light);
    transform: translateY(-2px);
}

.block-btn { width: 100%; text-align: center; }

/* ANIMATIONS */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(122, 193, 66, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(122, 193, 66, 0); }
    100% { box-shadow: 0 0 0 0 rgba(122, 193, 66, 0); }
}
.animate-pulse {
    animation: pulse 2s infinite;
}

/* HEADER PREMIUM (GLASSMORPHISM INTEGRAL) */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 110px; /* Mantém o padrão alto para a nova logo 150x90 */
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.img-logo {
    width: 150px;
    height: 90px;
    object-fit: contain;
    display: block;
}

.header-slogan {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
    padding-left: 16px;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
}

/* BOTÃO HAMBURGUER ROBUSTO */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-toggle .line {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

/* HERO SECTION HERO DESIGN */
.hero-section {
    padding-top: 190px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 80% 20%, rgba(122, 193, 66, 0.12) 0%, rgba(255,255,255,0) 60%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.10fr 0.90fr;
    gap: 48px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 32px;
}

/* MODERN PREMIUM CARDS (BENTO GLASSES) */
.card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: inline-block;
}

.feature-mini-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.mini-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

/* TIMELINE ELEGANTE */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.timeline-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(122,193,66,0.3);
}

.timeline-info h3 {
    margin-bottom: 8px;
}

/* PREÇOS / INVESTIMENTOS */
.price-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 6px 14px;
    background: var(--light);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

.primary-badge {
    background: var(--primary);
    color: var(--white);
}

.featured-card {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 24px 0 16px;
}

.price-to {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

.price-list {
    list-style: none;
    margin-bottom: 32px;
}

.price-list li {
    margin-bottom: 12px;
    font-weight: 500;
    display: flex;
    gap: 8px;
    color: var(--text-main);
}

.price-list li span {
    color: var(--primary);
    font-weight: 700;
}

/* CALCULADORA BOX */
.calculator-box {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.range-group {
    margin-bottom: 32px;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.range-labels label {
    font-weight: 700;
    font-size: 1.05rem;
}

.range-badge-val {
    background: var(--dark);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: var(--radius-full);
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: var(--transition);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calc-result {
    background: var(--light);
    padding: 32px;
    border-radius: var(--radius-md);
}

.result-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 12px 0;
    letter-spacing: -0.02em;
}

.disclaimer {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* DEPOIMENTOS DE PARCEIROS */
.review-card {
    position: relative;
    padding-top: 60px;
}

.quote-mark {
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 5rem;
    font-family: serif;
    color: rgba(122,193,66,0.15);
    line-height: 1;
}

.review-text {
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    color: var(--text-main);
}

.review-author strong {
    display: block;
    color: var(--dark);
}

.review-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ACCORDION FAQ AUTOMÁTICO */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    text-align: left;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icon-arrow {
    width: 12px;
    height: 12px;
    border-right: 2.5px solid var(--dark);
    border-bottom: 2.5px solid var(--dark);
    transform: rotate(45deg);
    transition: var(--transition);
    margin-right: 6px;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 24px;
}

.accordion-body p {
    padding-bottom: 24px;
}

/* Estado ativo do Accordion */
.accordion-item.active .icon-arrow {
    transform: rotate(-135deg);
}

.accordion-item.active .accordion-body {
    max-height: 300px;
}

/* CTA FINAL */
.cta-final {
    background: linear-gradient(135deg, #14211a 0%, var(--dark) 100%);
    color: var(--white);
}

.cta-final h2 { color: var(--white); margin-bottom: 20px; }
.cta-final p { color: #a3b3ab; font-size: 1.2rem; margin-bottom: 40px; }

/* FOOTER */
.main-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 64px;
    margin-bottom: 60px;
}

.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 24px;
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 14px; }
.footer-links ul li a { color: #81968d; text-decoration: none; transition: var(--transition); font-weight: 500; }
.footer-links ul li a:hover { color: var(--primary); }

.footer-contact p { color: #81968d; margin-bottom: 12px; }
.footer-contact strong { color: var(--white); }

.legal-links { margin-top: 24px; }
.legal-links a { color: #81968d; text-decoration: none; font-size: 0.85rem; }
.legal-links a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 32px;
    font-size: 0.9rem;
    color: #55665e;
}

/* TABELA PREMIUM */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 32px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    text-align: left;
}

.premium-table th, .premium-table td {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 1rem;
}

.premium-table th {
    background-color: #f8fafc;
    font-weight: 700;
    color: var(--primary-dark);
}

.highlight-cell {
    background-color: rgba(122, 193, 66, 0.03);
    font-weight: 500;
}

/* ==========================================================================
    MEDIA QUERIES - RESPONSIVIDADE SEGURA (TRAVAS DE MOBILE SEM QUEBRA DESKTOP)
   ========================================================================== */

@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    .hero-container { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero-image { order: -1; max-width: 500px; margin: 0 auto; width: 100%; }
    .hero-actions { justify-content: center; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    /* Impede vazamentos laterais indesejados globais */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .section-padding { padding: 60px 0 !important; }
    
    /* Converte as grids de conteúdo em blocos simples empilhados de forma limpa */
    .grid-2, .grid-3 { grid-template-columns: 1fr !important; gap: 32px !important; }
    
    /* Garante ordenação correta das imagens laterais no mobile */
    .side-image-content { order: -1 !important; width: 100% !important; }
    .order-mobile-1 { order: 1 !important; }
    .order-mobile-2 { order: -1 !important; }
    
    /* Correções de textos gerais */
    .content-align-center { text-align: left !important; }
    .text-center-mobile { text-align: center !important; }

    /* MENU MOBILE INTEGRAL */
    .mobile-menu-toggle { display: flex !important; }
    .mobile-menu-toggle.active .line:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .mobile-menu-toggle.active .line:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active .line:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .nav-menu {
        position: fixed !important;
        top: 110px !important; /* Fixado perfeitamente na altura do header */
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 110px) !important;
        background: var(--white) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        padding: 24px !important;
        transform: translateX(100%) !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 999 !important;
        overflow-y: auto !important;
    }

    .nav-menu.active { transform: translateX(0) !important; }
    .nav-menu a {
        width: 100% !important;
        padding: 20px 0 !important;
        font-size: 1.2rem !important;
        border-bottom: 1px solid var(--border-color) !important;
        display: block !important;
        text-align: left !important;
    }
    .nav-menu .btn-header { margin-top: 32px !important; text-align: center !important; border-bottom: none !important; }
    
    /* Ajustes de componentes internos */
    .card, .calculator-box { padding: 32px 20px !important; }
    .result-value { font-size: 2.3rem !important; }

    /* RENDERIZAÇÃO DA TABELA RESPONSIVA EM MÓDULOS NO MOBILE */
    .premium-table, .premium-table thead, .premium-table tbody, .premium-table th, .premium-table td, .premium-table tr { 
        display: block !important; 
    }
    .premium-table thead tr { position: absolute !important; top: -9999px !important; left: -9999px !important; }
    .premium-table tr { border: 1px solid rgba(0, 0, 0, 0.08) !important; border-radius: 12px !important; margin-bottom: 20px !important; padding: 10px 0 !important; background: #ffffff !important; }
    .premium-table td { border: none !important; border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important; position: relative !important; padding-left: 50% !important; text-align: right !important; font-size: 0.95rem !important; }
    .premium-table td:last-child { border-bottom: none !important; }
    .premium-table td:before { 
        position: absolute !important; top: 16px !important; left: 20px !important; width: 45% !important; padding-right: 10px !important; white-space: nowrap !important; text-align: left !important; font-weight: 700 !important; color: #64748b !important;
        content: attr(data-label) !important;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.3rem !important; }
    h2 { font-size: 1.7rem !important; }
    .container { padding: 0 20px !important; }
}