@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital@0;1&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root { 
    --cor1: #756596;
    --cor2: #CDCDE0;
    --cor3: #6A725D;
    --cor4: #DAF2EA;
}


body {
    font-family: 'Raleway', serif;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Evita overflow horizontal */
    background-color: #fbfff48f;
}


html {
    min-width: 360px; /* Trava a largura mínima da tela */
    width: 100%;
    overflow-x: hidden; /* Evita overflow horizontal */
}

header {
    background-image: linear-gradient(to right,white, #756596a9 ); 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-button {
    position: fixed;
    bottom: 50px;  /* Adjusted to accommodate text below */
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    text-decoration: none;
    animation: bounce 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button img {
    width: 35px;
    height: 35px;
}

.whatsapp-text {
    position: fixed;
    bottom: 20px;  /* Adjusted to match the bottom of the button */
    right: 20px;
    font-size: 0.8em;
    font-weight: bold;
    color: black;
    text-align: center;
    z-index: 1000;
}

.mapa {
    color: #756596;
}

.menu {
    display: flex;
    flex-direction: row;
}

img.logo {
    width: 250px;
    height:100px;
}

a {
    color: #756596;
    padding: 10px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition-duration: 1s;
    text-transform: uppercase;
}

.sombra:hover {
    background-color: var(--cor2);
}

.saibamais:hover {
    color: green;
}

.logo:hover {
    background-color: transparent;
}

ul {
    list-style: none;
}

nav {
    margin: auto;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    max-width: 1400px;
}

main {
    margin: auto;
}


.apresentacao {
    max-width: 1200px;
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ajusta o espaçamento entre a imagem e o texto */
    margin: auto;
    padding: 20px; /* Adiciona espaçamento ao redor do contêiner */
    box-sizing: border-box; /* Inclui padding na largura total */
    background-image: url(imagens/fundo.jpg);
    background-size: cover;
    background-position: right;
}

.apresentacao > img {
    width: 40vh;
    height: 40vh;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px; /* Adiciona espaçamento à direita da imagem */
}

.apresentacao .texto {
    max-width: calc(100% - 40vh - 40px); /* Ajusta a largura máxima do texto com base no espaço restante */
    flex: 1;
}

.apresentacao h1 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 45px;
}

.apresentacao h2 {
    font-size: 30px;
    text-align: center;
    color: #756596d3;
}

.apresentacao p {
    margin: 0;
    padding: 0;
    
}

.texto > h2 {
    color: #756596;
}


.carousel-container {
    max-width: 1200px;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin: auto;
    position: relative;
    border-radius: 20px; /* Bordas arredondadas no contêiner */
}

.carousel {
    max-width: 1200px;
    width: 100%;
    height: 100%;
    align-items: center;
    margin: auto;
    overflow: hidden;
    position: relative;
    border-radius: 20px; /* Mantém o efeito arredondado */
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%; 
    height: 100%;
}

.carousel-slides .slide {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    height: 100%;
}

.carousel-slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: auto;
}


.carousel-slides .caption {
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%);
    background-color: rgba(117, 101, 150, 0.8); /* Pode adicionar opacidade */
    color: white;
    padding: 10px;
    font-size: 1.2em;
    border-radius: 5px;
    z-index: 3; /* Garante que o link da legenda ficará acima dos outros elementos */
    text-align: center;
}


button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

h1 {
    text-align: center;
    color: #756596;
}

h2 {
    font-size: 2rem;
    color: var(--cor3);
}

p {
    font-family: "Roboto", serif;
    text-align: left;
    font-size: 20px;
    color: black;
}

h3 {
    text-align: center;
    margin-bottom: 0;
}

.titulo {
    background-color: #6a725d83;
    margin-top: 50px;
    margin-bottom: 50px;
}

.titulo > div {
    max-width: 1200px;
    width: 85%;
    margin: auto;
    padding: 20px;
    font-size: 1.8em;
    line-height: 1.8em;
}

.titulo2 > p {
    color: white;
    font-size: 18px;
    max-width: 1000px;
    margin: auto;
}

.titulo2 > ul {
    font-size: 18px;
    max-width: 1000px;
    margin: auto;
}


.titulo2 {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 0.5s linear forwards;
    
}

.titulo3 {
    background-color: #DAF2EA;
    display: flex;
    justify-content: center;
    align-items: center;
}

.titulo3 > div {
    max-width: 1400px;
    width: 60%;
    margin: auto;
    padding: 20px;
    font-size: 1.5em;
    line-height: 1.5em;
    text-align: center;
}

.titulo3 > div p {
    text-align: center;
}

@keyframes showContent {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

.blog-post {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 50px auto;
    max-width: 1200px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
}

.blog-image {
    flex: 1;
    margin-right: 20px;
}

.blog-image img {
    width: 250px;
    height: 250px;
    border-radius: 10px;
}

.blog-content {
    flex: 2;
}

.blog-content > h3 {
    margin-top: 0;
    text-align: left;
    font-size: 1.5em;
}

.blog-content > p {
    line-height: 2em;
    text-align: justify;
}

.link:hover {
    text-decoration: underline;
}

.link {
    color: blue;
}

.acesso:hover {
    text-decoration: underline;
}

footer {
    background-color: #756596;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 18px;
}

footer > a:hover {
    background-color: transparent;
    color: blue;
}

footer > a {
    color: white;
    padding: 0px;
    text-decoration: none;
    font-weight: normal;
    border-radius: 0px;
    transition-duration: 0s;
    text-transform: none;
}

.especialidades {
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    max-width: 1000px;
    line-height: 2em;
    width: 80%;
}

.especialidades li {
    font-size: 20px;
}

.sub {
    text-align: left;
}

section.imag {
    justify-content: center;
    align-items: center;
    position: relative;
    height: 40vh;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    box-shadow: inset 6px 6px 13px 0px rgba(0, 0, 0, 0.418);
    text-align: center;
    padding: 20px;
}

section.imag h2,
section.imag p,
section.imag a,
section.imag h3 {
    z-index: 1;
    position: relative;
    max-width: 1400px;
    margin: auto;
    font-size: 1.5em;
    line-height: 2em;
    width: 60%;
    font-weight: 600;
}

section.imag h2 {
    font-size: 2.5em;
}

section.imag a {
    color: #6c4baf;
}

section.imag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #9ba591c5; /* Adjust the opacity as needed */
    z-index: 0;
}

section.imagem {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 40vh;
    background-size: cover;
    background-attachment: fixed;
    background-color: rgba(0, 0, 0, 0.308);
    color: white;
    box-shadow: inset 6px 6px 13px 0px rgba(0, 0, 0, 0.418);
}

section.imagem > h2 {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(5px);
    background-color: transparent;
    padding: 5px;
    text-shadow: 1px 1px 0px black;
    font-size: 50px;
    z-index: 1;
    border-radius: 10px;
    color: white;
    max-width: 1400px;
    text-align: center;
}

section#img01 {
    background-image: url(imagens/flor.jpg);
    background-position: right center;
}

section#img02 {
    background-image: url(imagens/essencia.jpg);
    background-position: right center;
}

section#img04 {
    background-image: url(imagens/alimentos.jpg);
    background-position: right center;
}

section#img05 {
    background-image: url(imagens/enteroterapia2.jpg);
    background-position: right center;
}

section#img06 {
    background-image: url(imagens/enteroterapia3.jpg);
    background-position: right center;
}

section#img07 {
    background-image: url(imagens/auriculoterapia2.jpg);
    background-position: right center;
}

section#img08 {
    background-image: url(imagens/auriculoterapia4.jpg);
    background-position: center;
}

section#img09 {
    background-image: url(imagens/nutricao_online.jpg);
    background-position: center;
}

section#img10 {
    background-image: url(imagens/atendimento.png);
    background-position: center;
}

section#img11 {
    background-image: url(imagens/domicilio.jpg);
    background-position: center;
}

section#img12 {
    background-image: url(imagens/bemestar.jpg);
    background-position: center;
}

.section-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

.servico {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Alinha o conteúdo do card no topo */
    align-items: stretch; /* Ocupa toda a largura do card */
    box-sizing: border-box;
    border: 2px solid black;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.219);
    transition: transform 0.3s ease-in-out;
    height: 97%;
    margin-bottom: 20px;
    background-color: white;
}

.servico img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.servico > h2 {
    text-align: center;
    margin: 0;
    margin-top: 5px;
}

.servico > p {
    text-align: left;
    padding: 0 10px;
    margin: 10px 0;
    line-height: 1.5em;
    flex-grow: 1; /* Faz com que o texto ocupe o espaço restante e empurre o botão para baixo */
}

.servico .btn-saiba-mais {
    display: block;
    text-align: center;
    background-color: #756596;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    width: 80%;
    margin-top: auto; /* Empurra o botão para o final */
}

.servico:hover {
    transform: scale(1.05);
}

.section-servicos2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2%;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin: auto;
    padding-left: 15px;
    padding-right: 15px;
    transition-duration: 2s;
}

.servico2 {
    flex: 1 1 calc(33.333% - 2%);
    box-sizing: border-box;
    border: 2px solid black;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 04rem;
    margin-bottom: 04rem;
    box-shadow: 05px 05px 10px rgba(0, 0, 0, 0.219);
    transition-duration: 2s;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.servico2 > h2 {
    text-align: center;
    font-size: 24px;
}

.servico2 > p {
    padding: 50px;
    line-height: 1.5em;
}

.servico2 img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.servico2 > p,
h2 {
    margin: 10px;
}

.servico2:hover {
    transform: scale(1.05);
}

.blog-post {
    width: 80%;
    max-width: 1200px;
}

.blog-image img {
    object-fit: cover;
}

.blog {
    background-color: #DAF2EA;
    margin-top: 50px;
    margin-bottom: 50px;
}

.blog > div {
    max-width: 1400px;
    width: 60%;
    margin: auto;
    padding: 20px;
    font-size: 1.8em;
    line-height: 1.8em;
}

.centralizado {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 1400px;
    margin: auto;
    margin-bottom: 100px;
}

.maps p {
    margin: 0;
    padding: 15px;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.sobre-joyce .content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.sobre-joyce .text-content {
    width: 50%;
    text-align: justify;
}

.sobre-joyce .slider-wrapper {
    width: 30%;
    position: relative;
    top: 25px;
    right: 0;
    border-radius: 50% 10% 50% 10% / 10% 50% 10% 50%;
    overflow: hidden;
 
}


.sobre-joyce .slider img {
    width: 100%;
    height: auto;
}

.frase {
    text-align: center;
    max-width: 1400px;
    margin: auto;
    margin-top: 100px;
    margin-bottom: 100px;
    font-family: "Dancing Script", serif;
    width: 80%;
}

.s-m {
    margin: auto;
    max-width: 1400px;
    width: 60%;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.s-m a {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background-color: #6c4baf;
    color: white;
    margin: 0 6px;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    font-size: 20px;
}

.s-m a:hover {
    background: #63ceaa;
}

.s-m a i {
    transition: 0.4s all;
}

.s-m a:hover > i {
    transform: scale(1.6) rotate(25deg);
}


.nutri {
    list-style-type: circle;
    
}

.nutricao {
    list-style: disc;
    color: white;
    
}

iframe {
    width: 50vh;
    height: 50vh;
}

.maps:hover {
    transform: scale(1.1);
}


.artigo {
    max-width: 1200px;
}

.artigo h1 {
    margin: auto;
    padding: 20px;
}

.artigo h2 {
    margin: 0;
}

.action {
    display: flex;
    align-items: center;
    justify-content: center;
}

.action a {
    margin-left: 10px;
    text-align: center;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

@media screen and (max-width: 768px) {
    .carousel-slides img {
        height: auto;
    }

    button.prev, button.next {
        padding: 5px;
    }
    
    .section-servicos {
        display: block;
    }

    iframe {
        width: 30vh;
        height: 30vh;
        margin: 2em;
    }

    .titulo {
        font-size: 10px;
    }

    .titulo2 {
        margin: 0px;
        padding: 02px;
    }

    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        
    }

    .menu {
        align-items: center;
        gap: 0.1rem;
        padding: 0;
    }

    nav {
        flex-direction: column;
        align-items: center;
        gap: 0.1rem;
    }

    nav a {
        font-size: 12px;
    }

    .sobre-joyce .content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .sobre-joyce .text-content, .sobre-joyce .slider-wrapper {
        width: 100%;
    }

    .sobre-joyce .text-content {
        order: 1;
    }

    .sobre-joyce .slider-wrapper {
        order: 2;
        margin-top: 20px;
    }

    .titulo3 {
        font-size: 0.8em;
        text-align: center;
    
    }
           
    .apresentacao {
        flex-direction: column;
        height: auto;
    }

    .apresentacao > img {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .apresentacao .texto {
        max-width: 100%;
    }

    .apresentacao h1 {
        font-size: 35px;
    }

    .apresentacao h2 {
        font-size: 25px;
    }

    .apresentacao p {
        font-size: medium;
    }
    .centralizado {
        padding: 10px;
    }

    .maps p {
        font-size: 1em; /* Ajuste o tamanho da fonte para telas menores */
        padding: 10px;
    }

    .carousel-container {
        height: 70vh;
        max-height: 70vh;
    }

    .carousel {
        height: 70vh;
        max-height: 70vh;
    }

    .carousel-slides {
        height: 100%;
    }

    .carousel-slides .slide {
        height: 100%;
    }

    .carousel-slides img {
        height: 100%;
        object-fit: cover;
    }

    .blog-post {
        flex-direction: column; 
        align-items: center; 
        margin: 10px auto;
        width: 80%;
    }

    .blog-image {
        margin-right: 0; 
        margin-bottom: 20px;
        width: 100%;
        height: 40vh; 
        overflow: hidden; 
    }

    .blog-image img {
        width: 100%; 
        height: 40vh; 
        object-fit: cover;
        border-radius: 10px;
    }

    .blog-content {
        width: 90%; 
    }

    .blog-content > h1 {
        font-size: 1.5em;
        text-align: left; 
    }

    .blog-content > p {
        font-size: 1.2rem; 
        text-align: left;
    }


@media (min-width: 481px) and (max-width: 700px) {
        .servico2 {
            flex: 1 1 calc(50% - 2%); 
            max-width: none; 
        }
    }

@media (max-width: 480px) {
    .apresentacao h1 {
        font-size: 28px;
    }

    .apresentacao h2 {
        font-size: 20px;
    }

    .apresentacao p {
        font-size: small;
    }

    .carousel-container {
        height: 60vh;
        max-height: 60vh;
    }

    .carousel {
        height: 60vh;
        max-height: 60vh;
    }

    .carousel-slides {
        height: 100%;
    }

    .carousel-slides .slide {
        height: 100%;
    }

    .carousel-slides img {
        height: 100%;
        object-fit: cover;
    }

    .carousel-slides .caption {
        text-align: center;
    }

    iframe {
        width: 50vh;
        height: 50vh;
    }

    .frase h2 {
        font-size: 24px;
    }

    nav a {
        font-size: 10px;
        padding: 10;
    }

    .servico2 {
        flex: 1 1 100%; /* 1 card por linha */
        max-width: none; /* Remove o limite de largura */
    }

    .blog-post {
        margin: 10px auto;
        width: 80%;
    }

}