/* ==================================================
   FONTS LOCAIS
================================================== */

@font-face {
    font-family: 'Leckerli One';
    src: url('../fonts/LeckerliOne-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-VariableFont_wght.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   COOKIE BANNER
========================================= */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-accept {
    background-color: #b5838d;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-accept:hover {
    background-color: #9c6f78;
}

.btn-reject {
    background-color: #ddd;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
}

.cookie-content a {
    color: #b5838d;
    font-weight: 600;
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Mobile */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}



/* ==================================================
   CONFIGURAÇÕES GERAIS
================================================== */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    background: url('../img/plano-de-fundo.webp') no-repeat center center;
    background-size: cover;
    font-family: "Playfair Display", serif;

}

section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* ==================================================
   HEADER / NAVBAR
================================================== */

.navbar {
    padding: 15px 0;
}

.navbar-brand span {
    font-family: 'Leckerli One', cursive;
    /* Fonte da marca */
    font-size: 22px;
    color: #b5838d;
    letter-spacing: 1px;
}

.navbar-brand img {
    border-radius: 50%;
}

/* ==================================================
   MENU ATIVO (SCROLL)
================================================== */

.navbar .nav-link {
    position: relative;
    transition: 0.3s ease;
    color: #555;
}

/* Cor quando ativo */
.navbar .nav-link.active {
    color: #fff !important;
    font-weight: 600;
}

/* Linha delicada embaixo */
.navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #b5838d;
}

/* ==================================================
   NAVBAR HIDE / SHOW ON SCROLL
================================================== */

#mainHeader {
    transition: transform 0.4s ease;
}

/* Classe que esconde */
.header-hidden {
    transform: translateY(-100%);
}


/* ==================================================
   SEÇÃO INÍCIO 
================================================== */

.inicio-section {
    position: relative;
    min-height: 75vh;
    max-height: 600px;
    padding: 120px 20px 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff !important;
    background: url('../img/estria.webp') no-repeat center center;
    background-size: cover;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 25% 100%, 0% 50%);
}




/* Camada escura por cima da imagem */
.inicio-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);

    /* escurece levemente */
}

/* Conteúdo acima da camada escura */
.inicio-section .container {
    position: relative;
    z-index: 2;
    color: #ffffff;
}


/* ==================================================
   SEÇÃO TRATAMENTOS
================================================== */

.card-tratamento {
    border-radius: 15px;
    padding: 20px;
    transition: 0.3s ease;
    background-color: #f8f4f6;
}

.card-tratamento:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card-tratamento-body {
    display: flex;
    flex-direction: column;
}

/* Topo do card (numero + titulo lado a lado) */
.topo-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

/* Número estilizado */
.numero-tratamento {
    font-family: 'Leckerli One', cursive;
    font-size: 48px;
    color: #b5838d;
    line-height: 1;
}

/* Título do card */
.titulo-card {
    font-weight: 600;
    font-size: 18px;
    margin: 0;
    color: #6d6875;
}

/* Texto descritivo */
.descricao-card {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}



/* ==================================================
   SEÇÃO QUEM SOU
================================================== */
#quem-sou {
    background: url('../img/plano-de-fundo-section.webp') no-repeat center center;
    background-size: cover;
}



.texto-quem-sou {
    color: #555;
    line-height: 1.8;
    margin-bottom: 18px;
}

.foto-liliane {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: 0.4s ease;
}

.foto-liliane:hover {
    transform: scale(1.02);
}

.box-destaque {
    background-color: #f8f4f6;
    padding: 25px;
    border-radius: 20px;
    border-left: 4px solid #b5838d;
}

.box-destaque-right {
    background-color: #f8f4f6;
    padding: 25px;
    border-radius: 20px;
    border-right: 4px solid #b5838d;
}

.frase-final {
    display: block;
    margin-top: 20px;
    font-family: 'Leckerli One', cursive;
    font-size: 22px;
    color: #b5838d;
}

/* ==================================================
   ANIMAÇÃO FOTO QUEM SOU
================================================== */

.reveal-foto {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

/* Estado ativo (quando aparece) */
.reveal-foto.active {
    opacity: 1;
    transform: scale(1);
}


/* ==================================================
   SEÇÃO PROCEDIMENTOS
================================================== */

#procedimentos {

    position: relative;

    background-image: url('../img/fundo-procedimentos.webp');
    background-size: cover;
    background-position: center;

    background-attachment: fixed;
    /* PARALLAX */

    min-height: 100vh;

    display: flex;
    align-items: center;

}

#procedimentos::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

#procedimentos .container {
    position: relative;
    z-index: 2;
}



.grid-procedimentos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-procedimentos .img-box:nth-child(3) {
    grid-column: span 2;
}

.img-box {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 20px;
    transition: 0.4s ease;

}

.img-box img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: 0.4s ease;
    object-position: bottom;
}

.img-box:hover {
    box-shadow: 0 0 30px rgba(181, 131, 141, 0.9), 0 0 10px rgba(181, 131, 141, 0.5);
}

.img-box:hover img {
    transform: scale(1.05);
}

.overlay-texto {
    position: absolute;
    bottom: 15px;
    left: 20px;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 15px;
    border-radius: 20px;
}

/* ==================================================
   IMAGEM MODAL GALERIA
================================================== */

.img-modal {
    max-width: 800px;
    max-height: 600px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}


/* Mobile */
@media (max-width: 768px) {
    .grid-procedimentos {
        grid-template-columns: 1fr;
    }

    .grid-procedimentos .img-box:nth-child(3) {
        grid-column: span 1;
    }

    .img-modal {
        max-width: 400px;
        max-height: 400px;
    }
}





/* ==================================================
   SEÇÃO CONTATO
================================================== */

#contato {
    background: url('../img/plano-de-fundo.webp') no-repeat center center;
    background-size: cover;
}

.section-contato {
    background: linear-gradient(180deg, #f8f4f6 0%, #ffffff 100%);
}

.box-contato {
    background-color: #ffffff;
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.box-contato:hover {
    transform: translateY(-5px);
}

.icone-contato {
    width: 30px;
    height: 30px;
    fill: #b5838d;
    margin-bottom: 15px;
    transition: 0.3s ease;
    color: #b5838d;
}

.box-contato:hover .icone-contato {
    transform: scale(1.1);
    fill: #a06c75;
}

.titulo-contato {
    font-weight: 600;
    color: #b5838d;
    margin-bottom: 15px;
}

.box-contato p {
    color: #555;
    margin-bottom: 8px;
}

/* Botão personalizado */
.btn-contato {
    background-color: #b5838d;
    color: #ffffff;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 14px;
    transition: 0.3s ease;
}

.btn-contato:hover {
    background-color: #9d6b75;
    color: #ffffff;
}

/* Mapa */
.mapa-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}


/* ==================================================
   SEÇÃO CONTATO PREMIUM
================================================== */

.section-contato {
    background: linear-gradient(180deg, #f8f4f6 0%, #ffffff 100%);
}


/* ==================================================
   BOTÃO FLUTUANTE WHATSAPP
================================================== */

#whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 999;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#whatsapp-btn:hover {
    transform: scale(1.1);
}

/* ==================================================
   RESPONSIVIDADE
================================================== */

@media (max-width: 768px) {

    .navbar-brand span {
        font-size: 18px;
    }

    .titulo-secao {
        font-size: 26px;
        text-align: center;
    }

    .inicio-section {

        clip-path: none;
    }

    .foto-liliane {
        margin-top: 10px;
    }

}

/* ==================================================
   SEÇÃO CLÍNICA 
================================================== */

.img-carousel {
    height: 500px;
    object-fit: cover;
    filter: brightness(0.75);
}

/* Texto sobre imagem */
.carousel-caption-custom {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ffffff;
    max-width: 700px;
}

.carousel-caption-custom h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
}

.carousel-caption-custom p {
    font-size: 18px;
}

.carousel-fade .carousel-item {
    transition: opacity 0.8s ease-in-out;
}



/* Mobile */
@media (max-width: 768px) {

    .img-carousel {
        height: 300px;
    }

    .carousel-caption-custom h3 {
        font-size: 22px;
    }

    .carousel-caption-custom p {
        font-size: 14px;
    }

    /* ==================================================
   BOTÕES FIXOS
================================================== */

    .botoes-fixos {
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .botoes-fixos.hide-fixed {
        opacity: 0;
        transform: translateY(20px);
        pointer-events: none;
    }

}


/* ==================================================
   FOOTER
================================================== */

.footer-liliane {
    position: relative;
    background-color: #e4b7c0;
    padding: 30px 0;
    text-align: center;
}

/* Texto central */
.footer-texto {
    font-size: 14px;
    color: #777;
}

/* ==================================================
   INSTAGRAM FIXO
================================================== */
.icon-instagram {
    right: 20px;
    width: 50px;
    fill: white;
    transition: 0.3s ease;
}

.icon-instagram:hover {
    fill: #d6249f;
}

.instagram-fixo {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
}

.instagram-fixo a {
    display: flex;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: radial-gradient(circle at 30% 107%,
            #fdf497 0%,
            #fdf497 5%,
            #fd5949 45%,
            #d6249f 60%,
            #285AEB 90%);
    transition: all 0.3s ease;
}

.instagram-fixo i {
    font-size: 26px;
    color: white;
    transition: all 0.3s ease;
}

/* Hover com degradê oficial */
.instagram-fixo a:hover {

    transform: scale(1.1);
}

/* ==================================================
   Animação
================================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}


