/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #F7F9FA;
    color: #2E2E2E;
    line-height: 1.8;
}

/* HEADER */
header {
    background-color: #2F5D62;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

header p {
    font-size: 2.1rem;
    opacity: 0.9;
}

/* HERO COM IMAGEM DE FUNDO */
.hero {
    position: relative;
    min-height: 90vh;
    background-image: url("imagens/background-trg.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(47, 93, 98, 0.75);
    /* Overlay clínico */
}

.hero-content {
    position: relative;
    max-width: 900px;
    color: white;
}


.hero h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.15rem;
}

/* VIDEO */
.video-section {
    background-color: white;
    padding: 80px 20px;
    text-align: center;
}

.video-section h2 {
    color: #2F5D62;
    font-size: 1.8rem;
}

.video-container {
    max-width: 820px;
    margin: 40px auto;
}

.video-container video {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

}

.video-text {
    color: #666;
    margin-top: 15px;
}

/* ABOUT */
.about {
    max-width: 900px;
    margin: auto;
    padding: 80px 20px;

}

/* INDICATIONS */
.indications {
    background-color: #F7F9FA;
    padding: 80px 20px;
    text-align: center;

}

.indications h2 {
    color: #2F5D62;
    font-size: 1.9rem;
    margin-bottom: 10px;
}

.indications-subtitle {
    color: #666;
    margin-bottom: 50px;
    font-size: 1.05rem;
}

.indications-grid {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.indication-card {
    background-color: white;
    padding: 30px 20px;
    border-radius: 8px;
    border: 1px solid #E3E3E3;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;

}

.indication-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    border-color: #5FA8A0;
}

.indication-card:active {
    transform: scale(0.97);
}

/* IMAGE */
.image-section {
    background-color: white;
    padding: 80px 20px;
    text-align: center;

}

.image-section img {
    width: 100%;
    max-width: 250px;
    margin-top: 30px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;

}

/* CONTACT */
.contact {
    background-color: #2F5D62;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.contact h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact p {
    max-width: 600px;
    margin: 0 auto 20px auto;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 75px;
    margin-top: 25px;
}

.contact-icon img {
    width: 75px;
    height: 75px;
    transition: transform 0.3s, filter 0.3s;
}

.contact-icon:hover img {
    transform: scale(1.2);
    filter: brightness(1.2);
}

/* LINK DE TEXTO OPCIONAL */
.contact-link {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 3px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #E6F2F1;
    border-bottom-color: #E6F2F1;
}

/* FOOTER */
footer {
    background-color: #1F1F1F;
    color: #CCC;
    text-align: center;
    padding: 20px;


}

.whatsapp-fixo {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-fixo img {
    width: 70px;
    height: 70px;

}

.image-slider {
    background-color: #fff;
    padding: 30px 20px;
    text-align: center;
}

.image-slider h2 {
    color: #2F5D62;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.slider-wrapper {
    overflow: hidden;
    max-width: 450px;
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 400px;


    /* altura ajustada para desktop */
}

.slider-track {
    display: flex;
    transition: transform 1s ease;

}

.slider-img {
    flex: -5 -5 -20%;
    /* cada slide ocupa 100% da largura */
    width: 10%;
    height: 10%;
    object-fit: contain;
    /* mantém proporção da imagem */
    object-position: center;
    /* centraliza a imagem */
    cursor: pointer;
    border-radius: 8px;

}

/* LIGHTBOX */
.lightbox {
    display: none;
    /* MUITO IMPORTANTE */
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}


.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);

}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
    .slider-wrapper {
        height: 200px;
        /* altura menor no celular */
    }

    .image-slider h2 {
        font-size: 1.5rem;
    }

    .slider-wrapper {
        overflow: hidden;
        max-width: 800px;
        margin: auto;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        position: relative;
        height: 340px;

        /* altura ajustada para desktop */
    }

}



/* MOBILE */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    header p {
        font-size: 0.95rem;
    }

    .hero {
        min-height: 60vh;
        background-position: top center;
        padding: 50px 20px;
    }

    .hero h2 {
        font-size: 1.7rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .contact-icons {
        gap: 20px;
    }

    .contact-icon img {
        width: 48px;
        height: 48px;
    }

    .indication-card {
        padding: 25px 15px;
    }
}