/*
|--------------------------------------------------------------------------
| Funerária LaPaz - Hero
|--------------------------------------------------------------------------
| Estilo exclusivo do bloco principal da Home.
| A imagem vem do storage via tenant_asset() no Blade.
|--------------------------------------------------------------------------
*/

section#hero.hero {
    width: 100%;
    position: relative;
    padding: 0;
    overflow: hidden;
    background-color: #f5f9ff;
    display: grid;
}

section#hero.hero .hero-bg-img {
    grid-area: 1 / 1;
    display: block;
    width: 100%;
    height: auto;
}

section#hero.hero .hero-overlay {
    grid-area: 1 / 1;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

section#hero.hero .hero-content {
    grid-area: 1 / 1;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
}

/*--------------------------------------------------------------
# Título principal
--------------------------------------------------------------*/
section#hero.hero h1 {
    margin: 0 0 26px 0;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.08;
    color: #ffffff;
    letter-spacing: -1.5px;
    text-shadow:
        2px 3px 5px rgba(0, 0, 0, 0.85),
        0 0 18px rgba(0, 0, 0, 0.45);
}

section#hero.hero h1 span {
    color: #106eea;
    text-shadow:
        2px 3px 6px rgba(0, 0, 0, 0.95),
        0 0 16px rgba(0, 0, 0, 0.45);
}

/*--------------------------------------------------------------
# Título da compra programada
--------------------------------------------------------------*/
section#hero.hero h4 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 22px 0;
    text-shadow:
        2px 3px 5px rgba(0, 0, 0, 0.85),
        0 0 14px rgba(0, 0, 0, 0.45);
}

/*--------------------------------------------------------------
# Caixas de texto
--------------------------------------------------------------*/
section#hero.hero p {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    padding: 22px 32px;
    border-radius: 12px;

    width: fit-content;
    max-width: 92%;
    margin: 0 0 38px 0;
    text-align: left;

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.65),
        0 4px 12px rgba(0, 0, 0, 0.38);

    font-size: 24px;
    font-weight: 650;
    letter-spacing: 0.2px;
    line-height: 1.55;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

section#hero.hero p strong {
    font-weight: 850;
}

/*--------------------------------------------------------------
# Botões
--------------------------------------------------------------*/
section#hero.hero .d-flex {
    gap: 24px;
    flex-wrap: wrap;
}

section#hero.hero .btn-get-started,
section#hero.hero .btn-get-started-tele {
    color: #ffffff;
    background: #106eea;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.5px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 36px;
    border-radius: 8px;
    min-width: 250px;

    transition: 0.3s ease-in-out;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    text-align: center;
    text-decoration: none;
    border: 0;
}

section#hero.hero .btn-get-started:hover,
section#hero.hero .btn-get-started:focus {
    background: #0b5ed7;
    color: #ffffff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

section#hero.hero .btn-get-started-tele {
    background-color: #059652;
}

section#hero.hero .btn-get-started-tele:hover,
section#hero.hero .btn-get-started-tele:focus {
    background-color: #047f46;
    color: #ffffff;
}

section#hero.hero .btn-watch-video {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    background-color: #106eea;

    padding: 16px 30px;
    border: 2px solid #106eea;
    border-radius: 8px;

    transition: all 0.3s ease-in-out;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

section#hero.hero .btn-watch-video i {
    font-size: 25px;
    color: #ffffff;
}

section#hero.hero .btn-watch-video:hover,
section#hero.hero .btn-watch-video:focus {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
    color: #ffffff;
}

section#hero.hero .btn-watch-video:hover i {
    transform: scale(1.15);
}

/*--------------------------------------------------------------
# Responsivo
--------------------------------------------------------------*/
@media (max-width: 991px) {
    section#hero.hero {
        min-height: 620px;
    }

    section#hero.hero .hero-bg-img {
        width: 100%;
        height: 100%;
        min-height: 620px;
        object-fit: cover;
        object-position: center center;
    }

    section#hero.hero .hero-content {
        padding: 70px 0;
    }

    section#hero.hero h1 {
        font-size: 48px;
        line-height: 1.12;
    }

    section#hero.hero h4 {
        font-size: 28px;
        margin-top: 24px;
    }

    section#hero.hero p {
        font-size: 20px;
        max-width: 100%;
    }

    section#hero.hero .btn-get-started,
    section#hero.hero .btn-get-started-tele,
    section#hero.hero .btn-watch-video {
        font-size: 17px;
    }
}

@media (max-width: 575px) {
    section#hero.hero {
        min-height: 760px;
    }

    section#hero.hero .hero-bg-img {
        min-height: 760px;
    }

    section#hero.hero .hero-content {
        padding: 60px 0;
    }

    section#hero.hero h1 {
        font-size: 38px;
        line-height: 1.18;
        margin-bottom: 22px;
    }

    section#hero.hero h4 {
        font-size: 24px;
        margin-top: 28px;
        margin-bottom: 18px;
    }

    section#hero.hero p {
        font-size: 17px;
        line-height: 1.55;
        padding: 16px 20px;
        margin-bottom: 26px;
        max-width: 100%;
    }

    section#hero.hero .d-flex {
        flex-direction: column;
        gap: 14px;
    }

    section#hero.hero .btn-get-started,
    section#hero.hero .btn-get-started-tele,
    section#hero.hero .btn-watch-video {
        width: 100%;
        min-width: unset;
        justify-content: center;
        font-size: 15px;
        padding: 14px 18px;
    }
}

/*--------------------------------------------------------------
# Correção mobile - Hero LaPaz
--------------------------------------------------------------*/
@media (max-width: 575px) {
    section#hero.hero {
        min-height: auto;
    }

    section#hero.hero .hero-bg-img {
        min-height: 780px;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    section#hero.hero .hero-content {
        padding: 48px 12px 56px;
    }

    section#hero.hero h1 {
        font-size: 32px;
        line-height: 1.15;
        margin-bottom: 18px;
    }

    section#hero.hero h4 {
        font-size: 22px;
        line-height: 1.2;
    }

    section#hero.hero p {
        font-size: 16px;
        line-height: 1.5;
        padding: 14px 16px;
        margin-bottom: 22px;
    }

    section#hero.hero .btn-get-started,
    section#hero.hero .btn-get-started-tele,
    section#hero.hero .btn-watch-video {
        width: 100%;
        min-height: 56px;
        font-size: 15px;
        padding: 13px 16px;
    }
}