/* Ajustes adicionais da homepage solicitados pelo cliente */

/* HERO: mais compacto, com os indicadores visíveis no primeiro ecrã */
.home-hero {
    min-height: min(90vh, 860px) !important;
}

.home-hero .page-hero-grid {
    min-height: min(90vh, 860px) !important;
    padding-top: clamp(118px, 13vh, 148px) !important;
    padding-bottom: clamp(48px, 6vh, 72px) !important;
}

.home-hero .page-hero-copy {
    grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr) !important;
    column-gap: clamp(38px, 5vw, 78px) !important;
}

.home-hero .page-hero-copy > h1 {
    width: 100% !important;
    max-width: 620px !important;
    font-size: clamp(3.25rem, 4.75vw, 5.25rem) !important;
    line-height: .98 !important;
    letter-spacing: -.055em !important;
    text-wrap: balance;
}

.home-hero .page-hero-copy > p {
    max-width: 670px !important;
    font-size: clamp(.98rem, 1.12vw, 1.12rem) !important;
    line-height: 1.58 !important;
}

.home-hero .hero-pillar-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 24px !important;
}

.home-hero .hero-pillar-list li {
    font-size: clamp(.78rem, .82vw, .91rem) !important;
    line-height: 1.38 !important;
}

.home-hero .hero-actions {
    gap: 12px !important;
}

.home-hero .hero-actions .btn {
    min-height: 52px !important;
    padding: 0 23px !important;
}

.stats-strip {
    position: relative;
    z-index: 5;
    margin-top: -18px !important;
}

/* Fundos: conteúdo alinhado à esquerda e melhor aproveitamento horizontal */
.funds-section .funds-grid {
    grid-template-columns: 1fr !important;
    align-items: start !important;
}

.funds-section .funds-grid > .reveal:first-child {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 1120px !important;
    margin: 0 !important;
    text-align: left !important;
}

.funds-section .fund-logos,
.funds-section .fund-checks,
.funds-section .funds-actions {
    justify-content: flex-start !important;
}

.funds-section .fund-checks {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 34px !important;
    max-width: 980px !important;
}

/* Formulário mais compacto após remoção do campo pessoa de contacto */
.inquiry-section .contact-form .form-grid {
    gap: 20px 26px !important;
}

.inquiry-section .contact-form textarea {
    min-height: 126px !important;
}

.inquiry-section .privacy-row {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

/* O bloco CRM bónus passa a surgir imediatamente depois da secção principal de CRM */
.crm-section + .crm-bonus {
    margin-top: 0 !important;
}

@media (max-width: 1180px) {
    .home-hero,
    .home-hero .page-hero-grid {
        min-height: auto !important;
    }

    .home-hero .page-hero-grid {
        padding-top: 122px !important;
        padding-bottom: 76px !important;
    }

    .home-hero .page-hero-copy > h1 {
        max-width: 780px !important;
        font-size: clamp(3.1rem, 7vw, 5.15rem) !important;
    }
}

@media (max-width: 760px) {
    .home-hero .page-hero-grid {
        padding-top: 104px !important;
        padding-bottom: 58px !important;
    }

    .home-hero .page-hero-copy > h1 {
        font-size: clamp(2.55rem, 11vw, 4.1rem) !important;
        line-height: 1.02 !important;
    }

    .home-hero .hero-pillar-list {
        grid-template-columns: 1fr !important;
    }

    .funds-section .fund-checks {
        grid-template-columns: 1fr !important;
    }
}
