/* Cores Exatas do Vídeo */
:root {
    --mya-dark-blue: #1c4b5e;
    --mya-gold: #dfb07e;
    --mya-green: #90c2b3;
    --mya-bg-light: #f7f9fa;
    --mya-text-gray: #6c757d;
}

body {
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Classes Utilitárias */
.text-mya-blue {
    color: var(--mya-dark-blue) !important;
}

.text-mya-gold {
    color: var(--mya-gold) !important;
}

.text-mya-green {
    color: var(--mya-green) !important;
}

.bg-mya-blue {
    background-color: var(--mya-dark-blue) !important;
}

.bg-mya-gold {
    background-color: var(--mya-gold) !important;
}

.bg-mya-light {
    background-color: var(--mya-bg-light) !important;
}

/* Botão Padrão Dourado (Pill) */
.btn-mya-gold {
    background-color: var(--mya-gold);
    color: #fff !important;
    border-radius: 50rem;
    padding: 12px 32px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    display: inline-block;
    text-decoration: none;
}

.btn-mya-gold:hover {
    background-color: #c99c6b;
    transform: translateY(-2px);
}

/* 1. HERO SECTION COM O BG CORRETO */
.hero-section {
    position: relative;
    background-image: url('../images/site/clinica-de-estetica-em-vilamoura-no-algarve-harmonizacao-facial.webp');
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Gradiente suave à esquerda para destacar o texto e deixar a imagem das velas aparecer à direita */
    background: linear-gradient(90deg, rgba(28, 45, 55, 0.9) 0%, rgba(28, 45, 55, 0.4) 60%, rgba(0, 0, 0, 0.1) 100%);
}

/* 2. INTRODUÇÃO (Half/Half) */
.intro-section {
    /* O z-index e a shadow fazem essa seção deslizar "por cima" do hero */
    position: relative;
    z-index: 2;
    background-color: var(--mya-bg-light);
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.1);
}

.intro-image-bg {
    background-image: url('../images/site/clinica-estetica-algarve.jpg');
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

/* 3. CARDS SOBREPOSTOS (Três Serviços) */
.overlapping-cards {
    margin-top: -60px;
    /* Puxa para cima da imagem */
    position: relative;
    z-index: 10;
}

.card-icon-box {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: none;
    transition: transform 0.3s;
}

.card-icon-box:hover {
    transform: translateY(-5px);
}

/* 4. BLOCO AZUL ESCURO (Dúvidas) */
.doubts-box {
    background-color: var(--mya-dark-blue);
    border-radius: 16px;
    padding: 40px;
    color: #fff;
    box-shadow: 0 20px 40px rgba(28, 75, 94, 0.15);
}

.phone-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--mya-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-list li {
    margin-bottom: 12px;
    color: var(--mya-text-gray);
    font-size: 0.95rem;
}

.check-list i {
    color: var(--mya-green);
    font-size: 1.2rem;
    margin-right: 10px;
}

/* 5. SOBRE A CLÍNICA */
.sobre-icon-box {
    width: 65px;
    height: 65px;
    background-color: rgba(144, 194, 179, 0.2);
    /* Verde claro transparente */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 6. TRATAMENTOS */
.treatment-card-wrapper {
    position: relative;
    padding-bottom: 40px;
    transition: all 0.3s ease-in-out;
}

.treatment-card-wrapper img.main-img {
    border-radius: 16px;
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

/* Efeito ao passar o mouse no card de tratamento */
.treatment-card-wrapper:hover img.main-img {
    transform: scale(1.03);
}

.treatment-info-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: 85%;
    margin: -50px auto 0 auto;
    position: relative;
    padding: 20px;
    z-index: 2;
    transition: all 0.3s ease-in-out;
}

.treatment-card-wrapper:hover .treatment-info-box {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.treatment-info-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: 85%;
    margin: -50px auto 0 auto;
    /* Sobreposição */
    position: relative;
    padding: 20px;
    z-index: 2;
}

/* 7. GALERIA INTERATIVA (MAPA FACIAL) */
.interactive-gallery {
            position: relative;
            height: 600px; /* Altura fixa no PC */
            width: 100%;
            overflow: hidden;
        }

        .gallery-bg-layer {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background-size: cover;
            background-position: center 20%;
            opacity: 0;
            transition: opacity 0.6s ease-in-out;
            z-index: 1;
        }

        .gallery-bg-layer.active {
            opacity: 1;
        }

        /* Escurece a imagem suavemente para destacar o texto branco */
        .gallery-gradient-overlay {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);
            z-index: 2;
            pointer-events: none;
        }

        .gallery-columns-container {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            z-index: 3;
        }

        .gallery-col {
            flex: 1;
            background: rgba(144, 194, 179, 0.65); /* Verde translúcido */
            border-right: 1px solid rgba(255, 255, 255, 0.3);
            transition: all 0.4s ease;
            cursor: pointer;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .gallery-col:last-child {
            border-right: none;
        }

        .gallery-col.active {
            background: transparent; /* Remove o verde quando focado */
        }

        .gallery-title {
            color: #ffffff;
            font-size: 1.15rem;
            font-weight: 700;
            line-height: 1.4;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); /* Sombra forte */
            transition: transform 0.3s ease;
            margin: 0;
        }

        .gallery-col.active .gallery-title {
            transform: scale(1.05);
        }

        /* RESPONSIVO PARA TELEMÓVEL / CELULAR */
        @media (max-width: 991px) {
            .interactive-gallery {
                height: 70vh; /* Usa 70% da altura da tela no celular */
                min-height: 500px; 
            }
            .gallery-col {
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.3);
                padding: 15px;
            }
            .gallery-col:last-child {
                border-bottom: none;
            }
            .gallery-title {
                font-size: 1rem; /* Diminui um pouco a fonte no celular */
            }
        }

/* 8. DEPOIMENTOS NATIVO */
.testimonials-wrapper {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.testimonials-summary {
    min-width: 200px;
    text-align: center;
}

.testimonials-slider-container {
    position: relative;
    flex-grow: 1;
    overflow: hidden;
    padding: 10px 0;
}

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
    -ms-overflow-style: none;
    /* Oculta scrollbar no IE e Edge */
    scrollbar-width: none;
    /* Oculta scrollbar no Firefox */
}

.testimonials-track::-webkit-scrollbar {
    display: none;
    /* Oculta scrollbar no Chrome/Safari */
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    min-width: 330px;
    max-width: 330px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    scroll-snap-align: start;
    text-align: left;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #eaeaea;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    z-index: 10;
    color: var(--mya-text-gray);
    transition: all 0.3s;
}

.slider-btn:hover {
    background: #f8f9fa;
    color: var(--mya-dark-blue);
}

.slider-btn-prev {
    left: 0px;
}

.slider-btn-next {
    right: 0px;
}

@media (max-width: 991px) {
    .testimonials-wrapper {
        flex-direction: column;
    }

    .testimonials-summary {
        margin-bottom: 1rem;
    }

    .slider-btn {
        display: none;
    }

    /* Oculta botões no mobile pois o usuário desliza com o dedo */
}

/* 9. BLOG CARDS */
.blog-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    /* Adiciona a transição suave no card */
}

/* Efeito de elevação do card no hover */
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Efeito de zoom suave na imagem do post ao passar o mouse */
.blog-card img.card-img-top {
    transition: transform 0.4s ease-in-out;
}

.blog-card:hover img.card-img-top {
    transform: scale(1.05);
}

.blog-page-title {
    background-color: #1c4b5e;
    padding: 40px 0;
}

/* Estilos do Blog */
.blog-page-title {
    background-color: #1c4b5e;
    padding: 40px 0;
}

/* Container do Card com Flexbox para alinhar elementos perfeitamente */
.blog-card-custom {
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease-in-out;
}

/* Caixa da Imagem com Overflow Hidden para conter o Zoom */
.blog-img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    height: 220px;
}

.blog-card-custom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

/* Efeito de zoom na imagem ao passar o mouse no card */
.blog-card-custom:hover img {
    transform: scale(1.04);
}

.blog-card-title {
    color: #1c4b5e;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card-title a:hover {
    color: #dfb07e;
}

.blog-card-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Botão Leia Mais empurrado sempre para o rodapé do card */
.blog-card-footer {
    margin-top: auto;
}

.btn-leia-mais {
    background-color: #dfb07e;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 10px 25px;
    border-radius: 50rem;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: none;
    border: none;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-leia-mais:hover {
    background-color: #c99c6b;
    transform: translateY(-2px);
}

/* Estilos exatos do Post Interno */
.post-main-title {
    color: #1c4b5e;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 15px;
    margin-top: 30px;
}

.post-main-excerpt {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 30px;
}

.post-main-img {
    width: 100%;
    border-radius: 0;
    margin-bottom: 40px;
}

.post-content-body {
    color: #666666;
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 40px;
}

.post-content-body h2,
.post-content-body h3,
.post-content-body h4 {
    color: #1c4b5e;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
}

.btn-agendar-agora {
    background-color: #dfb07e;
    color: #fff !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50rem;
    text-decoration: none;
    display: inline-block;
    border: none;
    transition: background-color 0.3s;
}

.btn-agendar-agora:hover {
    background-color: #c99c6b;
}

/* Sidebar Posts Recentes */
.sidebar-title {
    color: #1c4b5e;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 25px;
    margin-top: 30px;
}

.recent-post-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.recent-post-img {
    width: 110px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
    flex-shrink: 0;
}

.recent-post-title {
    color: #1c4b5e;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 5px;
    text-decoration: none;
}

.recent-post-title:hover {
    opacity: 0.8;
}

.recent-post-link {
    color: #dfb07e;
    font-size: 0.75rem;
    text-decoration: none;
    font-weight: 600;
}

/* FAQ / Accordion Premium */
.faq-title {
    color: #1c4b5e;
    font-weight: 400;
    font-size: 1.5rem;
    margin-top: 50px;
    margin-bottom: 15px;
}

.faq-desc {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.accordion-item {
    border: none;
    background-color: transparent;
    margin-bottom: 15px;
}

.accordion-button {
    background-color: #ffffff;
    color: #1c4b5e;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    border-radius: 4px !important;
    padding: 18px 25px;
    font-size: 0.95rem;
}

.accordion-button:not(.collapsed) {
    background-color: #a3d0c3;
    color: #ffffff;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    box-shadow: none !important;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dfb07e'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    background-color: #ffffff;
    color: #666666;
    padding: 25px;
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}