@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400;1,600&display=swap');

/* UTILITÁRIOS */
.alt-font { font-family: 'Lora', Georgia, serif !important; }
.letter-spacing-2 { letter-spacing: 0.15em; }
.letter-spacing-3 { letter-spacing: 0.08em; line-height: 1.5; }

.container-fluid{
    max-width: min(96%, 1440px) !important;
}

/* HEADER */

.navbar{
    z-index:990 !important;
    box-shadow: none;
}
#navbar-header {
    background-color: var(--primary);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
#navbar-header.transparent {
    background-color: transparent !important;
    box-shadow: none !important;
}
#navbar-header .nav-link {
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.8rem;
    transition: color 0.3s;
    color: var(--light-one); /* cor padrão */
}
#navbar-header .nav-link:hover {
    color:  var(--light-two); /* efeito hover suave */
}
#navbar-header .navbar-brand img {
    transition: transform 0.3s;
}
#navbar-header .navbar-toggler{
    border-color: rgba(255,255,255,.4);
    box-shadow: none;
}
#navbar-header.scrolled .navbar-brand img {
    transform: scale(0.95); /* efeito sutil quando scrolled */
}

/* CARROSSEL */

.carrossel-bg{
    width: 100%;
    height: 100%;
    background-image: url('../img/carousel/slider-img1.avif');
}
.carousel{
    height: 100svh;
}
.carousel-inner{
    height: 100%;
}
.carousel-item{
    height: 100%;
}
.carousel-item-img{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center !important;
    position: relative;
    padding: 0 1rem;
}
.carousel-item-img::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(3, 10, 6, 0.18) 0%, rgba(3, 10, 6, 0.7) 100%);
}
.carousel-item-img div{
    width: calc(100% - 2rem);
    position: relative;
    z-index: 1;
    max-width: calc(100% - 2rem);
    padding: 2rem;
    backdrop-filter:blur(2px);
    background-color: rgba(0,0,0,.3);
    border-radius: 10px;
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-align: center;
}
.carousel-item-img p{
    width: fit-content;
    margin: 0 auto 20px auto;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--quinary);
    color: var(--light-three);
}
.carousel-item-img span{
    font-size: clamp(1.3rem, 3.2vw, 3rem);
    color: var(--light-one);
    line-height: 1.45;
}
.carousel-indicators{
    margin-bottom: 2rem;
}
.carousel-indicators [data-bs-target]{
    width: 11px;
    height: 11px;
    border-radius: 999px;
}

/* SPA */

.about-spa .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: 0.3s ease-in-out;
}
.about-spa .position-absolute{
    opacity: .8;
    transition: .3s;
}
.about-spa .text-white{
    opacity: 0;
    transition: .3s;
    border-radius: 6px 6px 0 0;
}
.about-spa .hover-box:hover .overlay {
    background: rgba(0,0,0,0.75);
}

/* INTROS */

.custom-title{
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}
.custom-title h2{
    text-transform: uppercase;
    color: var(--dark-four);
    margin: 0;
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
    letter-spacing: .08em;
}
.custom-title h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--quinary), var(--primary));
    border-radius: 2px;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.4s ease;
}
.custom-title:hover h2::after {
    width: 100%;
}

/* SOBRE */

#sobre .col-md-6{
    margin-bottom:7%;
}
#sobre img{
    box-shadow: 0 20px 44px rgba(6,8,22,.12);
}
#sobre .col-md-6 b{
    display: block;
    color: var(--primary);
    margin-bottom: 20px;
}
.img-hover-effect{
    transition: .2s;
    filter: grayscale(50%);
}
.img-hover-effect:hover{
    filter: grayscale(0%);
}

/* TREATMENTS */

#treatments .nav-link{
    color: var(--primary);
}
#treatments .nav-tabs{
    gap:.75rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .5rem;
    border-bottom: none;
    scrollbar-width: thin;
}
#treatments .nav-item{
    flex: 0 0 auto;
}
#treatments .nav-tabs .nav-link{
    border:1px solid rgba(0,102,51,.12);
    border-radius:999px;
    padding:.7rem 1.15rem;
    font-weight:500;
    background-color:rgba(255,255,255,.92);
    white-space:nowrap;
}
#treatments .nav-tabs .nav-link.active{
    background-color:var(--primary);
    color:var(--light-one);
    border-color:transparent;
    box-shadow:0 14px 24px rgba(0,102,51,.16);
}
.accordion-button {
    font-weight: bold;
    color: var(--light-one);
}
.accordion-button:not(.collapsed) {
    color: var(--light-one);
}
.accordion-item {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    border: none;
}
.tab-pane{
    padding: 20px 0 0 0;
}
.tab-pane img{
    width: 100%;
    max-width: 280px;
    margin: 1rem auto 3rem auto;
    border-radius: 10px;
}
.tab-pane p{
    max-width: 860px;
    margin: 0 auto 1rem auto;
}

/* RECOMENDAÇÕES E NORMAS */

.accordion h4{
    margin-bottom: 2rem;
    color:var(--primary);
}
#accordionExampleTwo .accordion-item , #accordionExampleOne .accordion-item{
    box-shadow: 0 0 10px rgba(0, 0, 0, .08);
}
#accordionExampleTwo .accordion-button, #accordionExampleOne .accordion-button {
    text-transform: uppercase;
    color: var(--dark-four);
    font-weight: 500;
    background-color: var(--light-one);
}
.accordion .accordion-body ul{
    padding-left: 1rem;
}
.accordion .accordion-body ul li{
    margin-bottom: .3rem;
}
#accordionExampleTwo .accordion-button:not(.collapsed), #accordionExampleOne .accordion-button:not(.collapsed) {
    background-color: var(--primary);
    color: var(--light-one);
}
#accordionExampleTwo .accordion-item, #accordionExampleOne .accordion-item {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    border: none;
}
#accordionExampleTwo .accordion-body, #accordionExampleOne .accordion-body {
    background-color: var(--light-one);
    padding: 1rem 1rem .5rem 1rem;
    color: var(--dark-four);
}

/* EVENTOS */

#eventos .card{
    border:1px solid var(--light-three) !important;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255,255,255,.96);
    box-shadow: 0 16px 40px rgba(6,8,22,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
#eventos .card:hover{
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(6,8,22,.14);
}
.event-img{
    width: 100%;
    min-height: 140px;
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-image: url('../img/icons/loading.gif');
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--light-three);
    background-size: 64px;
}
.event-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.event-img div{
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    width: calc(50% - 20px);
    padding: 6px 10px;
    border-radius: 6px;
    backdrop-filter:blur(5px);
    opacity: 0;
    transition: .2s;
    -webkit-backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, .3);
}
.event-img div img{
    max-width: 100%;
}
.event-img img{
    transition: .2s;
}
.event-img:hover img{
    transform: scale(1.05);
}
#eventos .card-body{
    width: calc(100% - 2.5rem);
    border-left: 2px solid var(--quinary);
    padding:0 0 0 15px;
    margin: 1.25rem 0 1.35rem 1.25rem;
}
.event-card .card-body > *:not(a,.form-min) {
    margin-bottom: 0.5rem;
}
#eventos .card-body h4{
    width: 100%;
    display: block;
    font-weight: 600;
    letter-spacing: 0px;
    color:var(--primary);
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--quinary);
    margin-bottom: 1rem;
}
#eventos .card-body p{
    font-weight: 400;
    color: var(--dark-four);
}
#eventos .card-body i{
    margin-right: 8px;
}
#eventos .card-body a:not(.form-min a){
    display:block;
    width: 100%;
    background-image: linear-gradient(to top, #00562B  0%, var(--primary)  100%);
    background-color: var(--primary);
    padding: .75rem 1rem;
    border: none;
    margin-top: .75rem;
    color: var(--light-one);
    border-radius: 12px;
    text-align:center;
}
.form-min{
    width: 100%;
    margin-top: 1.5rem;
    display: none;
}
.form-min span{
    display: block;
    width:100%;
    margin-bottom: 1.5rem;
    color: var(--dark-five);
    font-weight: 400;
}
.form-min span a{
    color: var(--primary);
}
.form-min input{
    margin-bottom: 10px;
    width:100%;
}
.form-min button{
    width: 100%;
    background-image: linear-gradient(to top, #00562B  0%, var(--primary)  100%);
    background-color: var(--primary);
    padding: .75rem 1rem;
    border: none;
    margin-top: .75rem;
    color: var(--light-one);
    border-radius: 12px;
    margin-bottom: 0;
}
.form-min button:hover{
    color:var(--light-one);
}
.form-min button:active{
    color:var(--light-one);
}
.img-min{
    margin: 20px auto 0 auto;
    display: none;
}

/* LARGE IMAGE */

.large-image{
    width: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 320px;
}
.large-image-mask{
    width: 100%;
    height: 100%;
    background-color: rgba(204,30,13,.5);
    color: var(--light-one);
    text-align: center;
    display:flex;
    align-items:center;
}
.large-image-mask p{
    width: 100%;
    padding: 1.5rem 1rem;
    border-left: 4px solid var(--quinary);
    letter-spacing: 1px;
    background-color: rgba(255,255,255,.1);
    border-radius: 0 10px 10px 0;
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-align: center;
}
.large-image-mask img{
    width:100%;
    max-width:100px;
    margin: 2rem auto 0 auto;
}

/* CONTATO */

#contato H4{
    color: var(--dark-four);
}
#contato .col-md-5,
#contato .col-md-7{
    padding:clamp(1.15rem, 1.8vw, 2rem);
}
#contato p{
    color: var(--dark-four);
}
#contato .form-control {
    width: 100% !important;
    flex: 1 1 auto !important;
}
#contato .form-footer-submit button{
    background-image: linear-gradient(to top, #00562B  0%, var(--primary)  100%);
    background-color: var(--primary);
    color:var(--light-one);
    padding:.7rem 1.1rem;
    border-radius:12px;
}

/* FOOTER */

#footer a{
    color: var(--light-one);
}

/* WHATSAPP FLUTUANTE */

.btn-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0,0,0,.2);
    z-index: 980;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}
.btn-whatsapp svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}
.btn-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0,0,0,.22);
}
.btn-whatsapp::before {
    content: '';
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.25);
    animation: whatsapp-pulse 2.2s infinite;
    z-index: -1;
}
@keyframes whatsapp-pulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    70%  { transform: scale(1.55);opacity: 0; }
    100% { transform: scale(1.55);opacity: 0; }
}

@media (min-width: 0px) and (max-width: 980px) {
    .container-fluid {
        max-width: calc(100% - 24px) !important;
    }
    #navbar-header {
        background-color: var(--primary) !important;
        box-shadow: 0 6px 6px rgba(0,0,0,.2) !important;
    }
    .carousel,
    .carousel-inner,
    .carousel-item,
    .carousel-item-img{
        height: 100svh;
    }
    .carousel-item-img{
        padding: 0 1rem;
    }
    .carousel-item-img div{
        width: 100%;
        max-width: 100%;
    }
    .carousel-item-img span{
        font-size: clamp(1.1rem, 5vw, 1.8rem);
        color: var(--light-one);
    }
    #treatments .nav-tabs{
        justify-content: flex-start !important;
    }
    #eventos .card-body{
        width: calc(100% - 2rem);
        margin: 1rem 0 1.1rem 1rem;
    }
    .large-image{
        background-attachment: scroll;
    }
    .large-image-mask img{
        max-width:64px;
    }
}
@media (max-width: 640px) {
    .custom-title{
        margin-bottom: 12px;
    }
    #sobre .col-md-6{
        margin-bottom: 1rem;
    }
    .event-img{
        aspect-ratio: 16 / 10;
    }
    .large-image-mask p{
        padding: 1.2rem .9rem;
    }
    .btn-whatsapp {
        bottom: 18px;
        right: 18px;
        width: 50px;
        height: 50px;
    }
    .btn-whatsapp svg {
        width: 24px;
        height: 24px;
    }
    .btn-whatsapp::before {
        width: 50px;
        height: 50px;
    }
}
