/*
Theme Name: REABILITARTHEME
Theme URI: 
Description: Tema desenvolvido especialmente para a clínica de fisioterapia Reabilitar
Author: Andre Hirata
Author URI: 
Version: 1.0
*/

@font-face {
    font-family: 'Avenir';
    src: url('fonts/AvenirLTStd-Book.eot');
    src: url('fonts/AvenirLTStd-Book.eot?#iefix') format('embedded-opentype'),
        url('fonts/AvenirLTStd-Book.woff2') format('woff2'),
        url('fonts/AvenirLTStd-Book.woff') format('woff'),
        url('fonts/AvenirLTStd-Book.ttf') format('truetype'),
        url('fonts/AvenirLTStd-Book.svg#AvenirLTStd-Book') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('fonts/AvenirLTStd-Heavy.eot');
    src: url('fonts/AvenirLTStd-Heavy.eot?#iefix') format('embedded-opentype'),
        url('fonts/AvenirLTStd-Heavy.woff2') format('woff2'),
        url('fonts/AvenirLTStd-Heavy.woff') format('woff'),
        url('fonts/AvenirLTStd-Heavy.ttf') format('truetype'),
        url('fonts/AvenirLTStd-Heavy.svg#AvenirLTStd-Heavy') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --azul:#006495;
    --cinza: #515151;
}

*{
    margin:0;
    padding:0;
    font-family:Avenir;
    font-size: 18px;
    line-height: 25px;
    /*box-sizing: border-box;*/
}

html, body {    
    /*height: 100%;
    width: 100%;*/
    margin: 0;
}

h1 {
    margin: 50px 0 20px 0;
    font-size: 30px;
}

hr {
    margin: 50px 0 0 0;
    border: dotted 1px var(--azul);
}

h2 {
    color: var(--azul)
}

a {
    text-decoration: none;
}


/*  HEADER */
#topo {
    position: relative;
    box-sizing: border-box;
    top:0;
    width: 100vw;
    height: 210px;      
    background-color: #fff;    
    z-index: 999;           
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transition: all 0.3s ease;
    padding: 0 10%;
    


    display: flex;
    flex-direction: row;
    align-items: center;
    
    justify-content: space-between;
}

#topo.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    z-index: 1000;
}

#topo .logo {        
    height: 180px;
    margin: 5px;    
    transition: height 0.3s ease;    
}

#topo.fixed .logo {
    height: 80px;
}


#topo .logo img{
    width: auto;
    height: 100%;            
}

#menu {         
    font-weight: bold;    
    align-self: flex-end;
    margin-bottom: 1%;
    display:block;
}

#menu a {
    position: relative;
    text-decoration: none;
    color: var(--cinza);        
}

#menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--azul);
    transition: width 0.3s ease;
}

#menu a:hover::after {
    width: 100%;
}

#menu ul li {
    display: inline-block;
    margin: 0 10px;
}

#menu .cinza {
    opacity: 0.5;
}

#menu-hamburguer {
    position:absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

#menu-hamburguer:hover path{
    stroke: var(--cinza);    
}


.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -20;
    background: rgb(2,101,150), ;
    background: url('img/rede.png'), linear-gradient(0deg, rgba(2,101,150,1) 9%, rgba(18,171,228,1) 25%, rgba(255,255,255,1) 71%) ; 
    background-repeat: no-repeat;
    background-position: bottom;
    background-size:contain;
}


/*CORPO*/

.banner img {
    width:100vw;
    height:auto;
}

/*BANNER FLYCKITY*/
/* Ajuste do posicionamento das setas */
.flickity-prev-next-button {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: relative;
    z-index: 999;
}

.flickity-prev-next-button.previous {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.flickity-prev-next-button.next {
    margin-right: 30px;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

/* Ajuste do posicionamento dos bullets de paginação */
.flickity-page-dots {
    position: relative;
    top: 30px;
    right: 20px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.flickity-page-dots .dot {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    opacity: 0.6;
    cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
    background-color: #000;
    opacity: 1;
}







.conteudo {
    position:relative;
    left:0;
    width: 100vw;    
    display: flex;
    justify-content: center;
    z-index: 0;
}

.conteudo li {
    position: relative;
    margin-left: 50px;

}

.content {
    width: 80%;
    background-color: #fff;
    padding: 5%;
    margin-bottom: 20px;
}

.content .imagem {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: 10px 0;
}

.profissional {    
    display: flex;  
    width: 100%;
    align-items: flex-start;
    margin: 50px 0;
    flex-direction: row;
}

.profissional img {
    width: 300px;
    height: auto;    
    object-fit: contain;    
    transition: filter 0.5s ease, box-shadow 0.2s ease;
}

.profissional img:hover {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; 
}

.profissional .nome {
    margin: 0 10px;    
}


/*SERVIÇOS*/

.servicos{
    display:flex;
    flex-wrap: wrap; 
    justify-content: space-between;   
}

.servicos .servico {
    width: 49%;
    min-width: 435px;
    background-color: var(--azul);
    color: #ffffff;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;    
}

.servicos .servico img {
    width: 100%;       
    filter: saturate(25%);
    transition: filter 0.5s ease, box-shadow 0.2s ease;
}

.servicos .servico img:hover {    
    filter: saturate(80%);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.servicos .servico p{
    font-weight: bold;
    font-size: 15px;
    letter-spacing: 3px;
    margin: 5px;
    text-align: center;
}

.agendamento {
    display:flex;
    align-items: center;
    justify-content: center;
    background: #ec6e25;
    background-image: url('img/agendamento.png');
    background-repeat: no-repeat;
    background-position: right;
    margin-top: 50px;
}


.agendamento h1 {
    color: #ffffff;
}

.agendamento img {
    margin: 50px;
    transition: filter 0.3s ease;  
}

.agendamento img:hover {
    filter: saturate(3);    
}

.agendamento:hover {
    box-shadow: rgba(0, 0, 0, 0.35) 0px -50px 36px -28px inset;
}

.mapa {
    display:flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 50px;
}

.mapa iframe {
    margin: 0 20px;
}

/*FOOTER*/
.footer {
    width:100%;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.logo-footer {
    width: 150px;
    height: auto;    
}

.endereco {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    text-align: right;
    align-items: flex-end;
}

.endereco p {
    margin-right: 20px;
}

.endereco .midias-footer {
    display: flex;
    margin-left: 0 20px;
}

.endereco .midias-footer img {
    width: 50px;
    margin-left: 10px;
    transition: filter 0.3s ease;  
}

.endereco .midias-footer img:hover {
     filter: saturate(3);
}

/***************************************
TELA MENOR QUE 1200PX
*/

@media (max-width: 1230px) {



    /*SERVIÇOS*/
    .servicos {
        justify-content: center;
    }

    .servicos .servico {
        width: 90%;        
    }
}


@media (max-width: 768px) {
    #menu {        
        position: fixed;
        top: 0;
        left: -190px;
        width: 190px;
        height: 100vh;
        background-color: white;
        transition: left 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
        z-index: 1000;
        visibility: hidden;
        opacity: 0;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        padding-top: 30px;
    }
    #menu.show {        
        left:0;
        visibility: visible;
        opacity: 1;            
    }
    .profissional {        
        flex-direction: column;   
        align-items: center;
    }
    .profissional img {
        width: 100%;
        height: auto;
        margin: 30px 0;
    }
    #menu-hamburguer {
        display:block;
    }
    #topo {
        justify-content: center;
    }
    .banner {
        max-height: 400px;
    }
    .banner img {
        width: auto;
        height: 400px;
    }
    
    
}
