﻿body {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.9s ease, color 0.9s ease;
}

/* Adiciona um padding-top para compensar a altura do navbar fixo */
.body-content {
    padding-top: 30px; /* Ajuste o valor conforme a altura do seu navbar */
}

h1, h2, h3, h4, h5 {
    font-family: 'Modak', cursive;
    color: rgb(88,45,45) !important;
}

.fonte-Caveat {
    font-family: 'Caveat Brush', cursive; /* Aplica a fonte Caveat Brush */
}

.opc-menu {
    font-family: 'Caveat Brush', cursive; /* Aplica a fonte Caveat Brush */
    font-size: 24px; /* Tamanho da fonte */
    color: rgb(88,45,45); /* Cor do texto */
    line-height:21px;
    margin: 0px 0px 0px 10px;
}

.fonte-Poppins {
    font-family: 'Poppins', cursive; /* Aplica a fonte Poppins */
    text-align: center; /* Centraliza horizontalmente */
}

.fonte-Marrom {
    color: rgb(88,45,45); /* Cor do texto - Marrom*/
}

.fonte-Vermelha {
    color: rgb(238,63,67); /* Cor do texto - Vermelha*/
}

.fonte-Amarela {
    color: rgb(253,191,56); /* Cor do texto - Amarela*/
}

.btn-primary {
    background-color: #EE3F43;
    border-color: #EE3F43;
}

/* Centralizar a animação */
.body-picole {
    height: 100vh;
    background: white; /* Cor do texto - Branco*/
}

/* Estiliza o traçado do picolé */
svg path {
    stroke: rgb(88,45,45); /* Cor do texto - Marrom*/
    stroke-width: 4;
    fill: none;
    stroke-linecap: round; /* Suaviza as extremidades */
    stroke-linejoin: round; /* Suaviza os cantos */
    stroke-dasharray: 550; /* Ajustado para cobrir todo o traço */
    stroke-dashoffset: 550; /* Começa oculto */
    animation: draw 2.5s linear infinite; /* Loop infinito */
}

/* Animação do contorno sendo desenhado */
@keyframes draw {
    0% {
        stroke-dashoffset: 550; /* Começa escondido */
    }

    100% {
        stroke-dashoffset: 0; /* Desenha todo o traço */
    }
}

/* Configuracao Modal Inicial */
/* Fundo escuro do modal */
.modal-inicial {
    display: none; /* Oculto por padrão */
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7); /* Fundo semitransparente */
    display: flex;
    justify-content: center;
    align-items: center;
    border: none !important; /* Sem bordas */
}

/* Conteúdo do modal */
.modal-content-inicial {
    position: relative;
    background: none !important; /* Sem fundo para a imagem */
    border: none !important; /* Sem bordas */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80% !important;
    height: auto;
}

/* Imagem no modal */
.modal-image-inicial {
    max-width: 90%;
    height: auto;
    border: none !important; /* Sem bordas */
}

/* Botão de fechar */
.close-btn-inicial {
    position: absolute;
    top: 10px;
    right: 10px;
    background: black;
    color: white;
    border: none;
    font-size: 22px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 50%;
}



/* configuracao para o Swiper */

.swiper {
    width: auto;
    height: auto;
    padding-bottom: 10px !important;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
    line-height:1;
}

    .swiper-slide img {
        width: inherit; /* Largura máxima */
        height: auto; /* Mantém proporção */
        display: block;
        margin: 0 auto;
        object-fit: contain;
    }

    /* Define o fundo da imagem */
    .swiper-slide::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1;
    }

.swiper-button-next, .swiper-button-prev {
    position: absolute;
    bottom: 10px; /* Ajuste a posição vertical */
    background-color: rgba(88, 45, 45, 0.5); /* Cor do botão */
    transition: background-color 0.3s, opacity 0.3s;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    padding: 0; /* Remove padding para manter o tamanho */
}

    .swiper-button-next:after, .swiper-button-prev:after {
        font-family: swiper-icons;
        font-size: 20px !important;
        text-transform: none !important;
        letter-spacing: 0;
        font-variant: initial;
        line-height: 1;
        color: white;
        font-weight: bold;
    }

/* Ajusta as posições individuais */
.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

.parallax-text {
    font-family: 'Poppins', sans-serif;
    color: rgb(88,45,45) !important;
    font-size: 1.5rem;
    line-height: 1.1; /* Reduz o espaçamento entre as linhas */
    margin-top: 5px;
    margin-bottom: 0px;
}

/* Swiper 2 - familia de produtos */
.swiper-card-container {
    width: 95%;
    height: auto;
    position: relative;
}
.swiper-card {
    width: 65%;
    height: auto;
    margin: auto;
}

.swiper-card-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-family: 'Caveat Brush', cursive; /* Aplica a fonte Caveat Brush */
    font-size: 30px; /* Tamanho da fonte */
    color: #fff;
}

/* Swiper 3 - Item da familia de produtos */
.swiper-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.swiper-item-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Caveat Brush', cursive; /* Aplica a fonte Caveat Brush */
    font-size: 30px; /* Tamanho da fonte */

    flex-shrink: 0;
    width: 100%;
    height: 100%;
}

    .swiper-item-slide img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }


/* Estiliza input dados */
.form-control {
    max-width: 100%;
    width: 300px;
    margin: 0 auto;
}


/* Botão de fechar */
.close {
    font-size: 50px;
    border: none;
    position: absolute;
    right: 10px;
    background: transparent; 
}


/* Menu Navbar */
.navbar {
    background-color: rgb(238, 63, 67) !important;
    max-width: 100%; /* Limita a largura do navbar à largura da tela */
    overflow-x: hidden; /* Oculta qualquer conteúdo que ultrapasse a largura */
}

.nav-link {
    color: rgb(88, 45, 45) !important;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

    /* Efeito ao passar o mouse */
    .nav-link:hover {
        background-color: #f8b400;
        color: #000;
    }

    /* Estilo para a página ativa */
    .nav-link.active {
        background-color: #f8b400;
        color: #000;
        font-weight: bold;
    }




/* deslocamento lateral do navbar */
/* Estilos para desktop */

.offcanvas {
    max-width: 50% !important;
}

.offcanvas.offcanvas-end {
    width: 50vw; /* Ocupa 50% da largura da tela */
    height: fit-content; /* Ocupa 50% da altura da tela */
    right: 20px !important;
    top: 50px !important;
    transform: translateX(100%); /* Inicialmente escondido */
}

.offcanvas-header {
    background-color: rgb(238, 63, 67);
    padding:8px !important;
    display: flex;
    align-items: flex-start !important;
    flex-direction: row-reverse;

}

.offcanvas.show {
    transform: translateX(0); /* Mostra o Offcanvas */
}

/* Estilos para mobile */
@media (max-width: 767.98px) {
    .offcanvas.offcanvas-end {
        width: 50vw; /* Ocupa 50% da largura da tela no mobile */
        height: fit-content; /* Ocupa 50% da altura da tela no mobile */
        right: 20px !important;
        top: 50px !important; /* Centraliza verticalmente */
        background-color: #FDCB38; /* Amarelo */
    }
}


/* Botões flutuantes */
.floating-button {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 99;
    padding: 0; /* Remove padding para manter o tamanho */
}

.whatsapp-button {
    left: 20px;
}

/* botao que volta ao top */
.top-button {
    display: none; /* Inicialmente escondido */
    right: 20px;
    background-color: rgb(88, 45, 45);
}

/* Estilos imagem no corpo */
.body-img {
    width: 50%;
    height: auto;
    left: 0px;
    position: relative;
}

.body2-img {
    width: 100%;
    height: auto;
    left: 0px;
    position: relative;
    margin: 25px 0px 25px 0px;
}

/* Estilos Cabecalhos */
.cabec-txt {
    text-align: center; /* Centraliza horizontalmente */
    font-family: 'Modak', cursive;
    line-height: 1;
    margin-bottom: 15px;
    margin-top: 15px;
}

.img-container {
    display: flex; /* Alinha os elementos na mesma linha */
    justify-content: center; /* Centraliza as imagens na tela (opcional) */
    gap: 0px; /* Espaçamento entre as imagens */
}

.block-container {
    display: flex; /* Ativa o flexbox para alinhar os itens na mesma linha */
    justify-content: center; /* Centraliza os elementos horizontalmente */
    flex-wrap: wrap; /* Permite que os itens quebrem linha se não couberem */
    gap: 0px; /* Espaçamento entre os elementos */
}

.img-cone {
    display: flex; /* Alinha os elementos na mesma linha */
    justify-content: center; /* Centraliza as imagens na tela (opcional) */
    gap: 0px; /* Espaçamento entre as imagens */
}

.block-cone {
    display: flex; /* Ativa o flexbox para alinhar os itens na mesma linha */
    justify-content: center; /* Centraliza os elementos horizontalmente */
    flex-wrap: wrap; /* Permite que os itens quebrem linha se não couberem */
    gap: 0px; /* Espaçamento entre os elementos */
    margin:40px 0px 40px 0px;
}