/*  - - - - - BANNER HOME (carousel) - - - - - */
/* fn.js já inicializa $('.banner-home .owl-carousel').owlCarousel({...})
   -- items:1, loop, nav, autoplay, fade. Os dots usam o estilo global
   do reset.css (.owl-dots), só faltava a posição aqui. */

.banner-home {
    position: relative;
    width: 100%;
}

.banner-home .owl-dots {
    bottom: 24px;
    top: auto;
}

.banner-home .owl-nav {
    display: none !important;
}

/*  - - - - - BANNER HOME (carousel) - - - - - */

/*  - - - - - HERO / BANNER - - - - - */
/* valores (overlay escuro + textos) tirados direto do JSON do novo XD --
   Retângulo 228 (overlay preto 55%) e os 3 textos por cima, sem caixa */

.hero {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 7, 7, .55);
    z-index: 1;
}

.hero_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero_box {
    position: absolute;
    left: 50%;
    margin-left: -510px;
    top: 50%;
    width: 520px;
    transform: translateY(-50%);
    z-index: 2;
}

.hero_box-label {
    display: block;
    margin: 0 0 14px;
    font-family: var(--font-primary);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--white);
    text-transform: uppercase;
}

.hero_box-title {
    margin: 0;
    font-family: var(--font-primary);
    font-size: 45px;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    color: var(--primary);
}

.hero_box-title span {
    display: block;
    max-width: 335px;
    margin-top: 10px;
    font-size: 22px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.36;
    color: var(--white);
}

/*  - - - - - HERO / BANNER - - - - - */

/*  - - - - - SOBRE A BROGLIPLAST - - - - - */
.sobre {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.sobre_content {
    width: 50%;
    box-sizing: border-box;
    padding: 100px 0 100px 15vw;
}

.sobre_text {
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* cabeçalho (título/descrição) usa o .bloco genérico do reset.css --
   só o que é diferente do padrão fica aqui */
.sobre .bloco {
    margin-bottom: 24px;
}

.sobre .bloco .titulo.small {
    font-size: 17px;
    letter-spacing: .2em;
    color: var(--darker);
    margin-bottom: 0;
}

.sobre .bloco .titulo.grande {
    margin-bottom: 5px;
}

.sobre .bloco .descricao {
    font-weight: 700;
    color: var(--gray-text);
}

.sobre_texto {
    margin: 0 0 55px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sobre_texto p {
    margin: 0;
    font-family: var(--font-alt);
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray-text);
}

.sobre_destaque {
    margin: 0 0 70px;
    font-family: var(--font-primary);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-dark);
}

.sobre_text>.botao {
    align-self: flex-end;
}

.sobre .botao--outline {
    border-color: rgb(32, 47, 88);
    color: var(--primary);
}

.sobre .botao--outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.sobre_img {
    width: 45vw;
    position: relative;
    height: 660px;
    border-radius: 0 0 0 180px;
    overflow: hidden;
}

.sobre_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/*  - - - - - SOBRE A BROGLIPLAST - - - - - */

/*  - - - - - PRODUTOS (home) - - - - - */

.produtos-home {
    position: relative;
    width: 100%;
    padding: 110px 0 0;
}

.produtos-home .bloco {
    max-width: 700px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.produtos-home_row {
    width: 100%;
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.produtos-home_card {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: block;
}

.produtos-home_row .produtos-home_card {
    flex: 1 1 0;
}

.produtos-home_card--full {
    width: 100%;
}

.produtos-home_card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.produtos-home_card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 7, 7, .3);
    z-index: 1;
    transition: var(--transition);
}

.produtos-home_card:hover img {
    transform: scale(1.05);
}

.produtos-home_card:hover::before {
    background: rgba(7, 7, 7, .5);
}

.produtos-home_card-content {
    position: absolute;
    left: 50%;
    top: 280px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

/* nos 2 cards lado a lado, o texto puxa pro centro do conjunto (não
   fica centralizado dentro do próprio card) -- assim como no XD */
.produtos-home_card-content--leve {
    left: 68.5%;
}

.produtos-home_card-content--pesada {
    left: 31.5%;
}

.produtos-home_card--full .produtos-home_card-content {
    top: 227px;
    gap: 20px;
    max-width: 640px;
    padding: 0 20px;
}

.produtos-home_card-label {
    font-family: var(--font-primary);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--white);
}

.produtos-home_card-label--catalogo {
    font-style: italic;
}

.produtos-home_card-subtitle {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--white);
}

/* botão "clique e veja" usa .botao.botao--outline.botao--pill (genérico) */

/*  - - - - - PRODUTOS (home) - - - - - */

/*  - - - - - DEPOIMENTOS - - - - - */
/* carousel (owl) com cards de depoimento lado a lado, 2 por vez.
   valores tirados do XD -- card 477x258.5 #efefef, badge rosa rotacionado
   45deg "flutuando" sobre a borda de cima do card, nome do cliente
   centralizado embaixo do texto */

.depoimentos {
    position: relative;
    width: 100%;
    padding: 100px 20px 110px;
}

/* cabeçalho (eyebrow "Depoimentos" + pergunta) usa o .bloco center
   genérico -- só o que é diferente do padrão fica aqui */
.depoimentos .bloco {
    max-width: 700px;
    margin: 0 auto 50px;
}

.depoimentos .bloco .titulo.small {
    font-size: 26px;
    letter-spacing: normal;
    color: var(--primary);
}

.depoimentos .bloco .titulo {
    font-size: 36px;
    font-style: normal;
    color: var(--gray-text);
}

.depoimentos_carousel {
    max-width: 1000px;
    margin: 0 auto;
}

.depoimentos_card {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    /* margin-top (não padding) -- o .owl-stage-outer tem overflow:hidden e
       o badge rosa fica "pendurado" em cima do card (metade pra fora),
       então precisa desse respiro ACIMA do próprio card pra não ser cortado.
       funciona porque .owl-item é float:left (não dá collapse de margin) */
    margin-top: 35px;
    min-height: 258px;
    padding: 70px 40px 35px;
    background: #EFEFEF;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.depoimentos_card-badge {
    position: absolute;
    top: 0;
    left: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transform: translate(-50%, -50%) rotate(45deg);
}

.depoimentos_card-badge svg {
    width: 14px;
    height: 24px;
    color: var(--white);
    transform: rotate(-45deg);
}

.depoimentos_card-text {
    margin: 0 0 20px;
    font-family: var(--font-primary);
    font-size: 13px;
    line-height: 1.9;
    color: var(--gray-text);
}

.depoimentos_card-name {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-text);
}

/* os dots genéricos do reset.css são feitos pra ficar sobre foto (brancos,
   position:absolute) -- aqui o fundo é claro, então viram estáticos e
   com a cor do dot inativo ajustada pra aparecer */
.depoimentos .owl-dots {
    position: static;
    margin-top: 40px;
}

.depoimentos .owl-dots .owl-dot span {
    background: var(--gray-muted);
}

/*  - - - - - DEPOIMENTOS - - - - - */

/*  - - - - - CLIENTES - - - - - */
/* efeito "marquee": faixa de logos deslizando infinitamente, sem JS.
   clientes_logos() já duplica a lista de logos no PHP; a animação
   desliza a trilha exatamente 50% (uma lista inteira) e reinicia sem
   emenda, pois a segunda metade é idêntica à primeira. título usa o
   .titulo padrão (só o tamanho muda, 40px ao invés de 45) e a
   descrição já bate certo com o padrão (17px regular) */

.clientes {
    position: relative;
    width: 100%;
    padding: 90px 0 110px;
}

.clientes .bloco {
    max-width: 700px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.clientes .bloco .titulo {
    font-size: 40px;
}

.clientes-marquee {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0), rgb(0, 0, 0) 8%, rgb(0, 0, 0) 92%, rgba(0, 0, 0, 0));
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0), rgb(0, 0, 0) 8%, rgb(0, 0, 0) 92%, rgba(0, 0, 0, 0));
}

.clientes-track {
    display: flex;
    align-items: center;
    gap: 70px;
    width: max-content;
    animation: clientes-scroll 45s linear infinite;
}

.clientes-marquee:hover .clientes-track {
    animation-play-state: paused;
}

@keyframes clientes-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.clientes_logo {
    box-sizing: border-box;
    flex-shrink: 0;
    height: 110px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clientes_logo img {
    max-width: 170px;
    max-height: 100%;
    object-fit: contain;
}

/*  - - - - - CLIENTES - - - - - */

/*  - - - - - BLOG (home) - - - - - */
.blog {
    position: relative;
    z-index: 0;
    width: 100%;
    min-height: 465px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    box-sizing: border-box;
    padding: 120px 140px 70px;
    overflow: hidden;
}

.blog::before,
.blog::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    height: 465px;
    left: 0;
    right: 0;
}

.blog::before {
    background-image: url(../../imagens/bg-blog.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.blog::after {
    background: var(--darker);
    opacity: .7;
}

.blog .bloco {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    width: 370px;
    flex: 0 0 370px;
}

.blog_titulo {
    margin: 0 0 20px;
    font-family: var(--font-headers);
    font-size: 45px;
    font-weight: 300;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--white);
}

.blog_titulo span {
    display: block;
    font-weight: 700;
    color: var(--primary);
}

.blog_descricao {
    margin: 0 0 25px;
    font-family: var(--font-headers);
    font-size: 14px;
    line-height: 1.6;
    color: var(--white);
}

.blog_veja-todas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 22px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    font-family: var(--font-headers);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.blog_veja-todas:hover {
    background: var(--primary-hover);
}

.blog_cards {
    flex: 0 0 auto;
    display: flex;
    gap: 20px;
}

.blog .blog-item_conteudo h3:before {
    background: var(--primary);
}

/*  - - - - - BLOG (home) - - - - - */