/*
 * Hero baseado na referência aprovada.
 * Carregar depois de css/babyplus.css.
 */

.babyplus-page .bp-hero-reference {
    position: relative;
    min-height: 545px;
    padding: 34px 0 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 18%, rgba(255, 233, 224, .70) 0, rgba(255, 233, 224, 0) 31%),
        linear-gradient(90deg, #fffdfb 0%, #fffdfb 45%, #f7fbfb 100%);
}

.babyplus-page .bp-hero-reference .bp-container {
    position: relative;
    z-index: 4;
}

.babyplus-page .bp-hero-content {
    width: 45%;
    max-width: 520px;
    padding: 0;
}

.babyplus-page .bp-hero-badge {
    display: inline-block;
    margin-bottom: 18px;
    margin-top: 15px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #f36f8a;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(243, 111, 138, .24);
}

.babyplus-page .bp-hero-reference h1 {
    max-width: 500px;
    margin: 0 0 18px;
    color: #102f56;
    font-size: 48px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -1px;
}

.babyplus-page .bp-hero-text {
    max-width: 460px;
    margin: 0 0 25px;
    color: #536273;
    font-size: 16px;
    line-height: 1.58;
}

.babyplus-page .bp-hero-benefits {
    display: flex;
    align-items: flex-start;
    gap: 29px;
    margin-bottom: 24px;
}

.babyplus-page .bp-hero-benefit {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #183650;
    font-size: 13px;
    line-height: 1.32;
    font-weight: 700;
}

.babyplus-page .bp-hero-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: #f36f8a;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(243, 111, 138, .20);
}

.babyplus-page .bp-hero-percent-icon {
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

.babyplus-page .bp-hero-state-box {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 520px;
    min-height: 88px;
    padding: 15px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #079a8e 0%, #008e83 100%);
    box-shadow: 0 16px 34px rgba(0, 142, 131, .22);
}

.babyplus-page .bp-hero-state-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 50%;
    background: #fff;
    color: #f36f8a;
    font-size: 24px;
}

.babyplus-page .bp-hero-state-copy {
    min-width: 0;
    flex: 1;
}

.babyplus-page .bp-hero-state-copy strong,
.babyplus-page .bp-hero-state-copy small {
    display: block;
}

.babyplus-page .bp-hero-state-copy strong {
    margin-bottom: 5px;
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
}

.babyplus-page .bp-hero-state-copy small {
    color: rgba(255, 255, 255, .84);
    font-size: 11px;
    line-height: 1.35;
}

.babyplus-page .bp-hero-state-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 130px;
    padding: 13px 15px;
    border-radius: 7px;
    background: #f36f8a;
    color: #fff !important;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 9px 20px rgba(243, 111, 138, .25);
    transition: all .2s ease;
}

.babyplus-page .bp-hero-state-btn:hover {
    background: #e75d7a;
    transform: translateY(-1px);
}

.babyplus-page .bp-hero-state-btn span {
    font-size: 20px;
    line-height: .6;
    font-weight: 400;
}

.babyplus-page .bp-hero-state-buttons {
    display: flex;
    flex: 0 0 142px;
    flex-direction: column;
    gap: 9px;
    margin-left: 2px;
}

.babyplus-page .bp-hero-state-buttons .bp-hero-state-btn {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.babyplus-page .bp-hero-state-btn-secondary {
    border: 1px solid rgba(255, 255, 255, .88);
    background: #fff;
    color: #079a8e !important;
    box-shadow: 0 8px 18px rgba(0, 86, 79, .12);
}

.babyplus-page .bp-hero-state-btn-secondary:hover {
    border-color: #fff;
    background: #f3fbfa;
    color: #057d74 !important;
}

.babyplus-page .bp-hero-photo {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    overflow: hidden;
    border-top-left-radius: 48% 100%;
    border-bottom-left-radius: 48% 100%;
    background: #f4f4f4;
}

.babyplus-page .bp-hero-photo:before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 20%);
    pointer-events: none;
}

.babyplus-page .bp-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 545px;
    object-fit: cover;
    object-position: center center;
}

.babyplus-page .bp-hero-security-card {
    position: absolute;
    z-index: 5;
    right: 7.5%;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 285px;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,.90);
    border-radius: 13px;
    background: rgba(255,255,255,.94);
    color: #284154;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
    box-shadow: 0 15px 32px rgba(33, 63, 73, .17);
}

.babyplus-page .bp-hero-security-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    background: #079a8e;
    color: #fff;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .babyplus-page .bp-hero-reference h1 {
        font-size: 43px;
    }

    .babyplus-page .bp-hero-benefits {
        gap: 18px;
    }

    .babyplus-page .bp-hero-content {
        width: 47%;
    }

    .babyplus-page .bp-hero-photo {
        width: 56%;
    }

    .babyplus-page .bp-hero-security-card {
        right: 3%;
    }
}

@media (max-width: 991px) {
    .babyplus-page .bp-hero-reference {
        min-height: 510px;
    }

    .babyplus-page .bp-hero-reference h1 {
        font-size: 39px;
    }

    .babyplus-page .bp-hero-text {
        font-size: 15px;
    }

    .babyplus-page .bp-hero-benefits {
        gap: 13px;
    }

    .babyplus-page .bp-hero-benefit {
        gap: 6px;
        font-size: 11px;
    }

    .babyplus-page .bp-hero-benefit-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        font-size: 12px;
    }

    .babyplus-page .bp-hero-state-box {
        padding: 13px;
    }

    .babyplus-page .bp-hero-state-btn {
        min-width: 112px;
        padding: 12px 10px;
        font-size: 10px;
    }

    .babyplus-page .bp-hero-state-buttons {
        flex-basis: 122px;
        gap: 8px;
    }

    .babyplus-page .bp-hero-state-buttons .bp-hero-state-btn {
        min-width: 0;
    }

    .babyplus-page .bp-hero-photo img {
        min-height: 510px;
    }
}

@media (max-width: 767px) {
    .babyplus-page .bp-hero-reference {
        min-height: 0;
        padding: 32px 0 0;
        background:
            radial-gradient(circle at 12% 10%, rgba(255, 233, 224, .75) 0, rgba(255, 233, 224, 0) 34%),
            #fffdfb;
    }

    .babyplus-page .bp-hero-content {
        width: 100%;
        max-width: none;
        padding-bottom: 30px;
        text-align: center;
    }

    .babyplus-page .bp-hero-reference h1 {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
        font-size: 37px;
    }

    .babyplus-page .bp-hero-text {
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
    }

    .babyplus-page .bp-hero-benefits {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px 22px;
    }

    .babyplus-page .bp-hero-state-box {
        max-width: 570px;
        margin: 0 auto;
        text-align: left;
    }

    .babyplus-page .bp-hero-photo {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        height: 390px;
        border-radius: 38% 38% 0 0 / 18% 18% 0 0;
    }

    .babyplus-page .bp-hero-photo img {
        min-height: 390px;
        object-position: center;
    }

    .babyplus-page .bp-hero-security-card {
        right: 18px;
        bottom: 18px;
        min-width: 0;
        max-width: calc(100% - 36px);
    }
}

@media (max-width: 520px) {
    .babyplus-page .bp-hero-reference h1 {
        font-size: 33px;
    }

    .babyplus-page .bp-hero-benefits {
        display: flex;
        width: 100%;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        gap: 6px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: flex-start;
        text-align: center;
    }

    .babyplus-page .bp-hero-benefit {
        width: 33.333%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 7px;
        padding: 0 2px;
        font-size: 10px;
        line-height: 1.25;
        text-align: center;
    }

    .babyplus-page .bp-hero-benefit-icon {
        width: 31px;
        height: 31px;
        flex: 0 0 31px;
        font-size: 12px;
    }

    .babyplus-page .bp-hero-percent-icon {
        font-size: 15px;
        font-weight: 700;
        line-height: 31px;
    }

    .babyplus-page .bp-hero-state-box {
        display: block;
        text-align: center;
    }

    .babyplus-page .bp-hero-state-icon {
        margin: 0 auto 10px;
    }

    .babyplus-page .bp-hero-state-copy {
        margin-bottom: 13px;
    }

    .babyplus-page .bp-hero-state-buttons {
        width: 100%;
        margin: 0;
        flex: 0 0 auto;
        gap: 9px;
    }

    .babyplus-page .bp-hero-state-buttons .bp-hero-state-btn {
        width: 100%;
    }

    .babyplus-page .bp-hero-photo {
        height: 340px;
    }

    .babyplus-page .bp-hero-photo img {
        min-height: 340px;
    }

    .babyplus-page .bp-hero-security-card {
        align-items: flex-start;
        font-size: 11px;
    }
}
