/* =========================================
   NOVO ESCOLHA PRIME
   HOME
   ========================================= */


/* =========================================
   HERO
   ========================================= */

.home-hero {
    position: relative;

    padding: 96px 0 100px;

    background:
        linear-gradient(
            135deg,
            var(--color-primary) 0%,
            #163A60 55%,
            #204E78 100%
        );

    color: var(--color-white);

    overflow: hidden;
}

.home-hero::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -140px;
    top: -160px;

    border: 1px solid rgba(217, 164, 65, 0.22);
    border-radius: 50%;

    pointer-events: none;
}

.home-hero__content {
    position: relative;
    z-index: 1;

    max-width: 820px;

    margin: 0 auto;

    text-align: center;
}

.home-hero__eyebrow,
.section-heading__eyebrow {
    display: inline-block;

    margin-bottom: var(--space-4);

    color: var(--color-gold);

    font-size: var(--font-size-xs);
    font-weight: 800;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-hero h1 {
    margin-bottom: var(--space-5);

    font-size: clamp(
        2.3rem,
        6vw,
        4.25rem
    );

    font-weight: 800;

    letter-spacing: -0.045em;
}

.home-hero p {
    max-width: 650px;

    margin: 0 auto var(--space-8);

    color: rgba(255, 255, 255, 0.82);

    font-size: var(--font-size-lg);
}


/* =========================================
   PESQUISA PRINCIPAL
   ========================================= */

.home-search {
    display: flex;

    max-width: 720px;

    min-height: 58px;

    margin: 0 auto;

    padding: var(--space-1);

    background: var(--color-white);

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-lg);
}

.home-search input {
    flex: 1;

    min-width: 0;

    padding: 0 var(--space-5);

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--color-text);

    font-size: var(--font-size-base);
}

.home-search input::placeholder {
    color: var(--color-text-muted);
}

.home-search .btn {
    min-width: 120px;

    border-radius: var(--radius-md);
}


/* =========================================
   FAIXA DE CONFIANÇA
   ========================================= */

.home-trust {
    position: relative;
    z-index: 2;

    width: 100%;

    background: var(--color-white);

    border-bottom: 1px solid var(--color-border);

    box-shadow: var(--shadow-sm);
}

.home-trust__grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 0;
}

.home-trust__item {
    display: flex;

    align-items: center;

    gap: var(--space-4);

    min-height: 92px;

    padding: var(--space-5) var(--space-6);

    border-right: 1px solid var(--color-border);
}

.home-trust__item:last-child {
    border-right: 0;
}

.home-trust__icon {
    flex: 0 0 36px;

    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(217, 164, 65, 0.12);

    color: var(--color-gold);

    border: 1px solid rgba(217, 164, 65, 0.35);

    border-radius: var(--radius-full);

    font-size: var(--font-size-sm);

    font-weight: 800;
}

.home-trust__item strong {
    display: block;

    margin-bottom: 3px;

    color: var(--color-primary);

    font-size: var(--font-size-sm);

    font-weight: 800;
}

.home-trust__item span:not(.home-trust__icon) {
    display: block;

    color: var(--color-text-muted);

    font-size: var(--font-size-xs);

    line-height: 1.5;
}


/* =========================================
   INTRODUÇÃO
   ========================================= */

.home-intro {
    padding: 88px 0;

    background: var(--color-white);
}

.section-heading {
    max-width: 720px;

    margin: 0 auto var(--space-12);

    text-align: center;
}

.section-heading h2 {
    margin-bottom: var(--space-4);

    color: var(--color-primary);

    font-size: clamp(
        1.8rem,
        4vw,
        2.6rem
    );

    font-weight: 800;

    letter-spacing: -0.03em;
}

.section-heading p {
    margin-bottom: 0;

    color: var(--color-text-light);

    font-size: var(--font-size-lg);
}


/* =========================================
   FEATURES
   ========================================= */

.home-features {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: var(--space-6);
}

.home-feature {
    padding: var(--space-8);

    background: var(--color-white);

    border: 1px solid var(--color-border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base);
}

.home-feature:hover {
    transform: translateY(-4px);

    border-color: rgba(217, 164, 65, 0.5);

    box-shadow: var(--shadow-md);
}

.home-feature__icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: var(--space-5);

    background: var(--color-primary);

    color: var(--color-gold);

    border-radius: var(--radius-md);

    font-size: var(--font-size-sm);

    font-weight: 800;
}

.home-feature h3 {
    margin-bottom: var(--space-3);

    color: var(--color-primary);

    font-size: var(--font-size-xl);
}

.home-feature p {
    margin-bottom: 0;

    color: var(--color-text-light);
}


/* =========================================
   PRODUTOS / DESTAQUES
   ========================================= */

.home-products {
    padding: 88px 0;

    background: var(--color-background);
}


/* =========================================
   FOOTER INICIAL
   ========================================= */

.site-footer {
    padding: var(--space-8) 0;

    background: var(--color-primary);

    color: rgba(255, 255, 255, 0.72);

    text-align: center;
}

.site-footer p {
    margin-bottom: 0;

    font-size: var(--font-size-sm);
}


/* =========================================
   RESPONSIVO
   ========================================= */

@media (max-width: 767px) {

    /* =========================================
       HERO — MOBILE
       ========================================= */

    .home-hero {
        padding: 78px 0 82px;
    }

    .home-hero__content {
        max-width: 100%;
    }

    .home-hero h1 {
        margin-bottom: var(--space-5);

        font-size: clamp(
            2.25rem,
            10vw,
            3rem
        );

        line-height: 1.08;

        letter-spacing: -0.04em;
    }

    .home-hero p {
        max-width: 100%;

        margin-bottom: var(--space-8);

        font-size: var(--font-size-base);

        line-height: 1.6;
    }


    /* =========================================
       BUSCA PRINCIPAL — MOBILE
       ========================================= */

    .home-search {
        flex-direction: column;

        width: 100%;

        min-height: auto;

        padding: var(--space-2);

        border-radius: var(--radius-lg);
    }

    .home-search input {
        width: 100%;

        min-height: 54px;

        padding: 0 var(--space-4);

        font-size: var(--font-size-base);
    }

    .home-search .btn {
        width: 100%;

        min-height: 52px;
    }


    /* =========================================
       FAIXA DE CONFIANÇA — MOBILE
       ========================================= */

    .home-trust__grid {
        grid-template-columns: 1fr;
    }

    .home-trust__item {
        min-height: auto;

        padding: var(--space-4) 0;

        border-right: 0;

        border-bottom: 1px solid var(--color-border);
    }

    .home-trust__item:last-child {
        border-bottom: 0;
    }


    /* =========================================
       SEÇÕES — MOBILE
       ========================================= */

    .home-intro,
    .home-products {
        padding: 64px 0;
    }

    .section-heading {
        margin-bottom: var(--space-10);
    }

    .section-heading h2 {
        font-size: 1.9rem;

        line-height: 1.15;
    }

    .section-heading p {
        font-size: var(--font-size-base);

        line-height: 1.6;
    }


    /* =========================================
       CARDS — MOBILE
       ========================================= */

    .home-features {
        grid-template-columns: 1fr;

        gap: var(--space-4);
    }

    .home-feature {
        padding: var(--space-6);
    }


    /* =========================================
       DECORAÇÃO DO HERO — MOBILE
       ========================================= */

    .home-hero::after {
        width: 280px;
        height: 280px;

        right: -150px;
        top: -120px;
    }
}