/* CTAs do blog — kit Karl Fischer / Vapor Pro XL (artes da Mari, paleta da LP) */

.lbr-cta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 2rem 0;
    padding: 24px 32px;
    border-radius: 12px;
    background: linear-gradient(90deg, #0A366F 0%, #00224B 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.lbr-cta__conteudo {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.lbr-cta__titulo {
    margin: 0 0 0.6rem;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.lbr-cta__texto {
    margin: 0 0 0.6rem;
    font-size: 14px;
    line-height: 1.55;
    color: #C9DAED;
}

.lbr-cta__texto strong {
    color: #fff;
}

.lbr-cta__chip {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 4px;
    background: #58C7F3;
    color: #062B57;
    font-weight: 700;
    white-space: nowrap;
}

.lbr-cta a.lbr-cta__botao,
.lbr-cta a.lbr-cta__botao:visited {
    display: inline-block;
    margin-top: 0.4rem;
    padding: 14px 26px;
    border-radius: 50px;
    background: #009FE3;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    transition: filter 0.15s ease;
}

.lbr-cta__botao:hover,
.lbr-cta__botao:focus {
    filter: brightness(1.08);
    color: #fff;
}

.lbr-cta__foto {
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}

.lbr-cta__foto .lbr-cta__img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Variante custo: marca d'água do logo no canto direito (receita do banner da LP) */
.lbr-cta--custo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("https://laboraltec.com.br/wp-content/uploads/2026/01/logo.webp") no-repeat 520px -20px / auto 100%;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.lbr-cta--custo .lbr-cta__foto {
    max-width: 260px;
    margin: -24px -12px -24px -40px;
}

/* Variante final: foto grande à esquerda, botão azul mais claro com texto branco */
.lbr-cta--final {
    padding: 0;
    gap: 1.5rem;
}

.lbr-cta--final .lbr-cta__foto {
    flex: 0 0 45%;
    align-self: stretch;
}

.lbr-cta--final .lbr-cta__foto .lbr-cta__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.lbr-cta--final .lbr-cta__conteudo {
    padding: 1.75rem 1.75rem 1.75rem 0;
}

.lbr-cta--final .lbr-cta__titulo {
    font-size: 23px;
    margin-bottom: 0.85rem;
}


.lbr-cta__lista {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.lbr-cta__lista li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 7px;
    font-size: 15px;
    color: #E6EFF9;
}

.lbr-cta__check {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: #2EA8E8;
}

/* Variante amostra: réplica da seção 85c301c da LP (foto de fundo + overlay azul) */
.lbr-cta--amostra {
    display: block;
    padding: 40px 32px;
}

.lbr-cta--amostra .lbr-cta__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 20% 50%;
    z-index: 0;
}

.lbr-cta--amostra::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 30, 60, 0.98) 0%, rgba(10, 54, 111, 0.85) 45%, rgba(10, 54, 111, 0.2) 100%);
    z-index: 1;
    pointer-events: none;
}

.lbr-cta--amostra .lbr-cta__conteudo {
    position: relative;
    z-index: 2;
    max-width: 430px;
}

.lbr-cta__titulo-grande {
    margin: 0 0 1rem;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.4;
    color: #fff;
}

.lbr-cta__destaque {
    display: inline-block;
    padding: 1px 10px;
    background: #009FE3;
    color: #fff;
    font-weight: 700;
}

.lbr-cta__texto-claro {
    margin: 0 0 0.9rem;
    font-size: 16px;
    line-height: 1.3;
    color: #fff;
}

.lbr-cta--amostra .lbr-cta__lista li {
    margin: 0 0 7px;
    padding-bottom: 7.5px;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}

.lbr-cta__check-lp {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.lbr-cta__frase-forte {
    margin: 0 0 1.5rem;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.lbr-cta a.lbr-cta__botao--grande {
    padding: 18px 24px;
    font-size: 14px;
}

/* Embeds de vídeo no corpo do post: canto arredondado + sombra suave */
.post-content .wp-block-embed.is-provider-youtube .wp-block-embed__wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(10, 54, 111, 0.12);
}

/* Grid de setores — réplica dos cards .kf-ind-card da LP /karl-fischer/ */
.lbr-setores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 1.5rem 0 2rem;
}

.lbr-setores__card {
    margin: 0;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1 / 1;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 6px rgba(10, 54, 111, 0.05);
}

.lbr-setores__img {
    display: block;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    object-fit: cover;
}

.lbr-setores__card figcaption {
    flex: 0 0 auto;
    padding: 10px 8px;
    background: #fff;
    text-align: center;
    font-size: 13px;
    line-height: 1.2;
    font-style: normal;
    font-weight: 700;
    color: #0A366F;
}

/* Mobile */
@media (max-width: 767px) {
    .lbr-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 1.25rem;
    }

    .lbr-cta--custo .lbr-cta__foto {
        max-width: 220px;
        margin: 0 auto;
    }

    .lbr-cta--custo::before {
        background-position: 90px -80px;
        background-size: auto 220%;
    }

    .lbr-cta--final {
        padding: 0 0 1.5rem;
    }

    .lbr-cta--final .lbr-cta__foto {
        flex-basis: auto;
        width: 100%;
    }

    .lbr-cta--final .lbr-cta__foto .lbr-cta__img {
        max-height: 220px;
    }

    .lbr-cta--final .lbr-cta__conteudo {
        padding: 0 1.25rem;
    }

    .lbr-cta--amostra {
        padding: 1.75rem 1.25rem;
    }

    .lbr-cta--amostra::before {
        background: linear-gradient(180deg, rgba(6, 30, 60, 0.98) 0%, rgba(10, 54, 111, 0.88) 60%, rgba(10, 54, 111, 0.45) 100%);
    }

    .lbr-cta__titulo-grande {
        font-size: 23px;
    }

    .lbr-setores {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
