/* Ajustes finais do cliente — homepage Netsearch */

/* Indicadores mais compactos e com os valores finais */
.stats-strip-inner {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.stat-item {
    min-width: 0 !important;
}

/* Fundos: cartões com aparência de logótipo institucional */
.funds-section .fund-logos {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(150px, 210px)) !important;
    gap: 16px !important;
    margin: 30px 0 26px !important;
}

.funds-section .fund-logo {
    position: relative !important;
    min-height: 84px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 18px 18px 16px 66px !important;
    color: #fff !important;
    background: linear-gradient(145deg, rgba(12,38,52,.98), rgba(7,28,40,.98)) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 14px !important;
    box-shadow: inset 0 0 0 1px rgba(121,201,66,.035), 0 14px 32px rgba(0,0,0,.14) !important;
    line-height: 1.05 !important;
}

.funds-section .fund-logo::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 34px;
    height: 34px;
    border: 3px solid var(--green);
    border-radius: 9px;
    transform: translateY(-50%) rotate(10deg);
    box-shadow: 0 0 20px rgba(121,201,66,.18);
}

.funds-section .fund-logo::after {
    content: "";
    position: absolute;
    left: 29px;
    top: 50%;
    width: 14px;
    height: 14px;
    background: var(--green);
    border-radius: 50%;
    transform: translateY(-50%);
}

.funds-section .fund-logo span {
    color: var(--green) !important;
    font-size: .78rem !important;
    font-weight: 900 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
}

.funds-section .fund-logo strong,
.funds-section .fund-logo {
    font-weight: 850 !important;
}

/* Contactos: título e frase numa só linha em desktop */
.inquiry-section .section-heading {
    max-width: none !important;
}

.inquiry-section .section-heading h2,
.inquiry-section .section-heading p {
    max-width: none !important;
}

.inquiry-section .section-heading h2 {
    white-space: nowrap !important;
    font-size: clamp(2.35rem, 4.15vw, 4.35rem) !important;
}

.inquiry-section .section-heading p {
    white-space: nowrap !important;
}

/* CRM: título e texto mais diretos */
.crm-bonus h2 {
    max-width: 600px !important;
}

/* MOBILE — correção estrutural completa */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 980px) {
    .container {
        width: min(calc(100% - 28px), var(--container)) !important;
    }

    .site-header,
    .site-header.scrolled {
        height: 76px !important;
    }

    .header-inner {
        gap: 12px !important;
    }

    .brand,
    .brand img,
    .site-header.scrolled .brand img {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .brand img,
    .site-header.scrolled .brand img {
        width: min(58vw, 245px) !important;
        height: auto !important;
        max-height: 58px !important;
    }

    .header-cta {
        display: none !important;
    }

    .menu-toggle {
        display: block !important;
        flex: 0 0 auto !important;
    }

    .nav-wrap {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        min-width: 0 !important;
        padding: 96px 24px 34px !important;
        overflow-y: auto !important;
    }

    .main-nav {
        width: 100% !important;
        max-width: 430px !important;
        margin: 0 auto !important;
    }

    .home-hero,
    .home-hero .page-hero-grid {
        min-height: auto !important;
    }

    .home-hero .page-hero-grid {
        display: block !important;
        width: 100% !important;
        padding-top: 112px !important;
        padding-bottom: 46px !important;
    }

    .home-hero .page-hero-copy {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .home-hero .page-hero-copy > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .home-hero .page-hero-copy > .eyebrow {
        margin-bottom: 16px !important;
    }

    .home-hero .page-hero-copy > h1 {
        margin-bottom: 24px !important;
        font-size: clamp(2.45rem, 10.5vw, 4rem) !important;
        line-height: 1.02 !important;
        letter-spacing: -.045em !important;
    }

    .home-hero .page-hero-copy > p {
        margin-bottom: 22px !important;
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    .home-hero .hero-pillar-list {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-bottom: 26px !important;
    }

    .home-hero .hero-pillar-list li {
        font-size: .91rem !important;
        line-height: 1.45 !important;
    }

    .home-hero .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .home-hero .hero-actions .btn {
        width: 100% !important;
        min-width: 0 !important;
    }

    .stats-strip {
        margin-top: 0 !important;
    }

    .stats-strip-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        padding: 12px !important;
    }

    .stat-item {
        min-height: 90px !important;
        padding: 15px 13px !important;
        border-bottom: 1px solid rgba(255,255,255,.09) !important;
    }

    .section,
    .ai-lab,
    .crm-section,
    .crm-bonus,
    .funds-section,
    .inquiry-section {
        padding: 70px 0 !important;
    }

    .solution-grid,
    .cards-grid,
    .split-grid,
    .crm-grid,
    .crm-bonus-box,
    .ai-stack,
    .funds-grid,
    .inquiry-wrap {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .solution-card,
    .split-panel,
    .crm-panel,
    .crm-bonus-box > *,
    .contact-form,
    .next-steps-panel {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .engine-wrap,
    .funds-visual {
        display: none !important;
    }

    .funds-section .fund-logos {
        grid-template-columns: 1fr !important;
        max-width: 420px !important;
    }

    .funds-section .fund-checks {
        grid-template-columns: 1fr !important;
    }

    .inquiry-section .section-heading h2,
    .inquiry-section .section-heading p {
        white-space: normal !important;
    }

    .inquiry-section .section-heading h2 {
        font-size: clamp(2.2rem, 9vw, 3.5rem) !important;
    }

    .inquiry-wrap {
        padding: 16px !important;
        gap: 18px !important;
    }

    .inquiry-section .contact-form,
    .inquiry-section .next-steps-panel {
        padding: 22px 18px !important;
    }

    .crm-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .crm-body,
    .bonus-features {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 22px), var(--container)) !important;
    }

    .brand img,
    .site-header.scrolled .brand img {
        width: min(62vw, 210px) !important;
    }

    .stats-strip-inner,
    .crm-metrics {
        grid-template-columns: 1fr !important;
    }

    .stat-item {
        min-height: 76px !important;
    }

    .section-heading h2,
    .crm-bonus h2,
    .funds-section h2,
    .ai-lab h2,
    .crm-section h2 {
        font-size: clamp(2rem, 10vw, 3rem) !important;
        line-height: 1.08 !important;
    }

    .content-pill-grid {
        grid-template-columns: 1fr !important;
    }

    .contact-form .form-grid {
        grid-template-columns: 1fr !important;
    }
}
