/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/
/* DEFAULT */
:root {
    --dourado-medio:      #C88D4B;
    --dourado-terra:      #C17449;
    --preto-chumbo:       #252528;
    --preto-chumbo-claro:       #2F2F2F;
    --areia-suave:        #E1D5BF;
    --verde-musgo-escuro: #4C6A2B;
}


.title-section-default {
    font-size: 48px;
    line-height: 1.4;
}

@media (max-width: 690px) {
    .title-section-default {
        font-size: 28px;
        line-height: 1.4;
    }
}

/* HERO SECTION */

/* Container Principal do Produto */
.content-area {
    background-color: var(--preto-chumbo);
    margin-top: -128px;
}

.single-produto-gorgurao {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
}

.container-header-orange {
    background-color: var(--dourado-terra);
}

.header-produto-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--preto-chumbo);
    color: var(--areia-suave);
    padding: 400px 0 0;
    border-radius: 0 0 30px 30px;
    position: relative;
}

.container-product-section {
    display: flex;
    width: 1070px;
    margin: auto;
}


@media (max-width: 690px) {
    .container-product-section {
        display: flex;
        flex-direction: column;
        width: unset;
    }
}

.header-produto-section .content-left {
    flex: 1;
    max-width: 50%;
    z-index: 2;
}

.subtitle-section {
    background-color: var(--dourado-terra);
}

.subtitle-section .container-subtitle-section {
    display: flex;
    width: 1070px;
    margin: auto;
}

@media (max-width: 690px) {
    .subtitle-section {
        padding: 0 40px;
    }

    .subtitle-section .container-subtitle-section {
        flex-direction: column-reverse;
        width: 100%;
    }
}


.subtitle-section .sub-title {
    padding-top: 70px;
    font-size: 32px;
    font-weight: 300;
    line-height: 1.2;
    max-width: 400px;
    color: var(--preto-chumbo);
}

@media (max-width: 690px) {
    .subtitle-section .sub-title {
    padding-top: 10px;
    font-size: 22px;
}
}


.header-produto-section .categoria-label {
    font-size: 0.9em;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--areia-suave);
    margin-bottom: 10px;
}

.header-produto-section .entry-title {
    font-size: 3.5em;
    font-weight: bold;
    color: var(--areia-suave);
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.1;
}

.content-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    height: 100%;
    max-width: 50%;
}

.img-produto-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: auto;
    transform: translateY(-32%);
    z-index: 3;
}

.img-produto-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Seção de Descrição Abaixo */
.description-section {
    display: flex;
    justify-content: center;
    background-color:  var(--dourado-terra);
    padding-top: 300px;
    padding-bottom: 140px;
    color: var(--areia-suave);
}

.description-section .description-text {
    max-width: 1000px;
    line-height: 1.4;
}

.description-section .product-description-custom p {
font-size: 24px;
}

@media (max-width: 690px) {
    .description-section .product-description-custom p {
        font-size: 18px;
    }
    .img-produto-wrapper img {
        max-width: 255px;
        max-height: 379px;
    }
}

/* Responsividade (exemplo básico) */
@media (max-width: 992px) {
    .header-produto-section {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
        padding-top: 182px;
        min-height: auto;
    }

    .content-left,
    .content-right {
        max-width: 100%;
        width: 100%;
        padding-bottom: 0px;
    }

    .description-section {
        margin-top: 0;
        padding: 40px;
    }

    .description-section .description-text {
        margin-left: 0;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .header-produto-section .entry-title {
        font-size: 2.5em;
    }

    .header-produto-section .sub-title {
        font-size: 1.2em;
    }

    .content-right{
        padding-bottom: 19vh;
    }
    
    .img-produto-wrapper {
        top: 18px;
        right: unset;
        width: 328px;
        max-height: 379px;
        left: 50%;
        transform: translate(-40%, 0%);
    }
}

/* SECTION APLICAÇÕES */

.aplicacoes {
    background-color:  var(--dourado-terra);
    padding-bottom: 140px;
}

.aplicacoes-container {
    display: flex;
    align-items: flex-start;
    gap: 10%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 140px;
    border-radius: 50px;
    background-color: var(--areia-suave);
}

@media (max-width: 690px) {
    .aplicacoes {
    background-color:  var(--dourado-terra);
    padding-bottom: 70px;
}
    .aplicacoes-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 60px 40px;
        margin: 0 20px;
    }
}

/* ITENS DAS APLICAÇÕES */
 .destaques-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
}

.item-base {
    padding: 10px 42px;
    border-radius: 50px;
    font-size: 16px;
    min-height: 46px;
    flex: auto;
    text-align: center;
    min-width: 140px;
}

.item-amarelo {
    background-color: var(--dourado-medio);
    color: var(--areia-suave);
}

.item-laranja {
    background-color: var(--dourado-terra);
    color: var(--areia-suave);
}

.item-bordas-laranjas {
    border: 1px solid var(--dourado-terra);
    color: var(--dourado-terra);
}

.item-bordas-verdes {
    border: 1px solid var(--verde-musgo-escuro);
    color: var(--verde-musgo-escuro);
}


.item-fundo-verde {
    background-color: var(--verde-musgo-escuro);
    color: var(--areia-suave);
}

.item-vazio-verde {
    border-radius: 50px 50px 50px 0;
    background-color: var(--verde-musgo-escuro);
}

.item-vazio-amarelo {
    border-radius: 0px 30px 0px 30px;
    background-color: var(--dourado-medio);
}

.item-vazio-escuro {
    background-color: var(--preto-chumbo);
    border-radius: 50px 50px 50px 0;
}
.title-section-aplicacoes {
    width: 20%;
}

@media (max-width: 690px){
    .item-vazio {
        display: none;
    }
    .title-section-aplicacoes {
        width: 100%;
    }
}

/* FIM SECTION APLICAÇÕES */

/* SECTION FORMAS */

 .formas {
    background-color: var(--dourado-medio);
    padding: 140px 0;
}

.container-formas {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.formas-section-title {
    padding-bottom: 70px;
}

.formasSwiper .swiper-slide img {
    width: 100%;
    border-radius: 50px;
    object-fit: contain;
}

@media (max-width: 690px) {
     .formas {
        background-color: #C88D4B;
        padding: 70px 40px;
    }

    .formas-section-title {
        width: 68%;
    }
}


/* --- ESTILO DAS SETAS CUSTOMIZADAS --- */

.custom-slider-formas .swiper-button-prev,
.custom-slider-formas .swiper-button-next {
    color: var(--preto-chumbo);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 4px solid var(--preto-chumbo);
    background-color: transparent;
    top: 3%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-slider-formas .swiper-button-prev::after,
.custom-slider-formas .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}

/* Efeito de hover (opcional, mas recomendado) */
.custom-slider-formas .swiper-button-prev:hover,
.custom-slider-formas .swiper-button-next:hover {
    background-color: rgba(37, 37, 40, 0.1);
}

/* Alinhamento horizontal das setas */
.custom-slider-formas .formas-prev {
    right: 5%;
    left: unset;
}

.custom-slider-formas .formas-next {
    right: 10px;
    /* Afasta da borda direita do container */
}

@media (max-width: 690px) {

    .custom-slider-formas .swiper-button-prev,
    .custom-slider-formas .swiper-button-next {
        border: 2px solid var(--preto-chumbo);
        width: 26px;
        height: 26px;
        top: 19%;
    }

    .custom-slider-formas .swiper-button-prev::after,
    .custom-slider-formas .swiper-button-next::after {
        font-size: 14px;
        font-weight: bold;
    }


    .custom-slider-formas .formas-prev {
        right: 16%;
    }

    .custom-slider-formas .formas-next {
        right: 0;
    }
}

/* SECTION CTA */
.sectio-cta {
    background-color: var(--preto-chumbo);
    padding: 140px 0;
    }

@media (max-width: 690px){
    .sectio-cta {
    padding: 70px 20px;
    }
}

.container-cta {
    max-width: 1600px;
    margin: 0 auto;
    padding: 100px 150px;
    background-color: var(--dourado-terra);
    border-radius: 50px;

    display: flex;
    justify-content: space-around;
    align-items: stretch;
}

.cta-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    height: 100%;
}

.cta-text {
    width: 48%;
}

.cta-text .title-section-default{
    font-size: 46px;
    line-height: 50px;
    text-transform: uppercase;
    color: var(--areia-suave);
}

.cta-btn-container {
    width: 50%;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

@media (max-width: 690px){

    .container-cta {
        align-items: center;
    }

    .container-cta {
        flex-direction: column;
        padding: 40px;
    }

    .cta-text .title-section-default{
        font-size: 26px;
        line-height: 1.2;
        padding-bottom: 40px;
        text-align: center;
    }

    .cta-text {
        width: 100%;
    }

    .cta-btn-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cta-btn {
        padding-bottom: 40px;
    }

}

.cta-btn p {
    font-size: 26px;
    color: var(--areia-suave);
    padding-bottom: 10px;
}

/* CTA BUTTON ESTILO LAYOUT */
/* Contêiner principal para agrupar e posicionar os dois elementos */
.cta-btn-style {
    display: inline-flex; /* Permite que os filhos fiquem lado a lado */
    align-items: center; /* Alinha verticalmente */
    position: relative; /* Para posicionar o círculo relativamente a este container */
    background-color: transparent; /* A cor de fundo será definida pelos elementos filhos */
    height: 60px; /* Altura do conjunto */
    /* Você pode adicionar um padding aqui se precisar de espaço extra ao redor */
}

/* Estilo para o link "VER MAIS" (o "botão" principal) */
.cta-btn-style-redirect {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80%;
    padding: 0 30px 0 30px;
    background-color: var(--areia-suave);
    color: var(--preto-chumbo);
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: normal;
    line-height: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s 
ease;
    z-index: 1;
}
@media(max-width: 690px) {
    .cta-btn p {
        font-size: 26px;
        text-align: center;
        padding-bottom: 10px;
    }
.cta-btn-style-redirect {
    height: 70%;
}
}

.icon-cta-btn {
   display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: transparent;
    color: var(--areia-suave);
    border: 5px solid var(--areia-suave);
    margin-left: -6px;
    transition: transform 0.3s 
ease;
    z-index: 2;
}

@media(max-width: 690px) {
    .icon-cta-btn {
    width: 40px;
    height: 40px;
}
}

.cta-btn-style:hover .icon-cta-btn {
    transform: scale(1.05); /* Pequeno efeito de zoom no hover */
}

/* Estilo para o ícone SVG dentro do círculo */
.icon-cta-btn svg {
    width: 24px;
    height: 24px;
    /* Ajuste fino da posição da seta dentro do círculo */
    transform: translateX(1px); /* Move ligeiramente para a direita */
}

/* SECTION RELATED POSTS */

.section-related-posts {
    background-color: var(--dourado-terra);
}

.container-related-posts {
    padding: 140px 0;
    background-color: var(--preto-chumbo);
    border-radius: 0 0 40px 40px;
}

.container-related-posts-max-width {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.section-related-posts .title-section-default {
    color: var(--areia-suave);
    width: 50%;
    padding-bottom: 50px;
}

.related-post-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.related-post-card.swiper-slide .card-image-wrapper{
    border-radius: 0 0 100px 0;
    overflow: hidden;
    transition: all 0.5s ease;
}


.related-post-card.swiper-slide-active .card-image-wrapper{
    border-radius: 0 126px 126px 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.related-post-card.swiper-slide-next .card-image-wrapper{
    border-radius: 100px;
    overflow: hidden;
    transition: all 0.5s ease;
}

.related-post-card .card-image-wrapper{
    max-width: 100%;
    max-height: 24vh;
}

.related-post-card .card-image-wrapper img{
    width: 100%;
    height: 24vh;
    object-fit: cover;
}

.related-post-card .card-title {
    font-size: 20px;
    font-weight: 400;
    color: var(--areia-suave);
    padding-top: 16px;
}


@media(max-width: 690px){
    .container-related-posts{
        padding: 70px 40px;
    }

    .section-related-posts .title-section-default {
    width: 82%;
}
}





/* --- ESTILO DAS SETAS CUSTOMIZADAS --- */

.section-related-posts .swiper-button-prev,
.section-related-posts .swiper-button-next {
    color: var(--areia-suave);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 4px solid var(--areia-suave);
    background-color: transparent;
    top: 3%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.section-related-posts .swiper-button-prev::after,
.section-related-posts .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}

/* Efeito de hover (opcional, mas recomendado) */
.section-related-posts .swiper-button-prev:hover,
.section-related-posts .swiper-button-next:hover {
    background-color: rgba(37, 37, 40, 0.1);
}

/* Alinhamento horizontal das setas */
.section-related-posts .related-prev {
    right: 5%;
    left: unset;
}

.section-related-posts .related-next {
    right: 10px;
    /* Afasta da borda direita do container */
}

@media (max-width: 690px) {

    .section-related-posts .swiper-button-prev,
    .section-related-posts .swiper-button-next {
        border: 2px solid var(--areia-suave);;
        width: 26px;
        height: 26px;
        top: 19%;
    }

    .section-related-posts .swiper-button-prev::after,
    .section-related-posts .swiper-button-next::after {
        font-size: 14px;
        font-weight: bold;
    }


    .section-related-posts .related-prev {
        right: 16%;
    }

    .section-related-posts .related-next {
        right: 0;
    }
}






/* COMPONENTE CIRCULAR COM LOGO */

.circular-component-container {
    position: absolute;
    top: -8%;
    right: 7%;
    z-index: 30;
}

.circular-component-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    position: relative;
    margin: 50px auto; 
    background: radial-gradient(circle,rgba(193, 116, 73, 0) 42%, rgba(193, 116, 73, 1) 43%);
}

/* SVG do texto giratório */
.rotating-text-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Ocupa todo o wrapper */
    height: 100%;
    transform-origin: center center; /* Garante que a rotação seja do centro */
    animation: rotateText 20s linear infinite; /* Animação de rotação */
    z-index: 1; /* Abaixo da logo */
}

/* Estilo do texto dentro do SVG */
.circular-text {
    font-family: Arial, sans-serif;
    font-size: 15px;
    fill: #E3DAC6; /* Cor do texto */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: bold;
}

/* Círculo da Logo no Canto Inferior Esquerdo */
.logo-circle-bottom-left {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px; /* Tamanho do círculo do logo */
    height: 70px;
    padding: 10px;
        padding-top: 16px;
    background-color: #252528; /* Cor de fundo do círculo do logo */
    border-radius: 50%;
    position: absolute; /* Posicionamento absoluto dentro do wrapper */
    bottom: 0px; /* Ajusta para fora da borda inferior */
    left: 10px; /* Ajusta para fora da borda esquerda */
    z-index: 2; /* Fica à frente do anel e do texto */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Sombra sutil */
}

.logo-circle-bottom-left .logo-image {
    max-width: 80%; /* Ajusta o tamanho do logo dentro do círculo */
    height: auto;
    display: block;
}

/* --- ANIMAÇÃO DE ROTAÇÃO --- */
@keyframes rotateText {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


@media(max-width: 768px) {
    .circular-component-container {
        top: 0;
        right: 0;
        transform: translate(-44%, -28%);
    }
}
@media(max-width: 690px) {
    .circular-component-wrapper {
        width: 112px;
        height: 112px;
    }
    
    .logo-circle-bottom-left {
        width: 54px;
        height: 54px;
    }
}