:root {
    --marrom: #775d3a;
    --laranja-claro: #ffc279;
    --cinza-escuro: #27292b;
    --verde-escuro: #042d2b;
    --bege-claro: #f0e8e2;
    --rosa-pessego: #fbcebb;
    --coral: #ef6062;
    --background-2: #07524e;
}

html {
    scroll-behavior: smooth !important;
}

body {
    background-color: var(--bege-claro);
    color: var(--cinza-escuro);
    padding-top: 95px;
    overflow-x: hidden;
}


/* --- Animações --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Navbar --- */
.navbar {
    background-color: var(--verde-escuro);
    box-shadow: 0 2px 15px rgba(0,0,0,.15);
    padding: 12px 0;
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: var(--bege-claro);
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: var(--laranja-claro);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28240, 232, 226, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Hero Section --- */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('../imagens/fachada.png') no-repeat center center;
    background-size: cover;
    min-height: 70vh;
    color: white;
    position: relative;
}

.btn-primary-custom {
    background-color: var(--laranja-claro);
    border: none;
    color: var(--cinza-escuro);
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    background-color: var(--laranja-claro);
    box-shadow: 0 5px 15px rgba(255, 194, 121, 0.4);
}

/* --- Sections --- */
section {
    scroll-margin-top: 85px;
    position: relative;
    overflow-x: hidden;
}


section:nth-child(even) {
    background-color: white;
}

section:nth-child(odd) {
    background-color: var(--bege-claro);
}

h2 {
    color: var(--verde-escuro);
    font-weight: bold;
    margin-bottom: 2rem;
}

/* --- Services and Specialties --- */
#servicos .card,
#especialidades .card {
    border: none;
    background: white;
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

#servicos .card:hover,
#especialidades .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(119, 93, 58, 0.15);
}

#servicos .card-body,
#especialidades .card-body {
    padding: 2rem 1.5rem;
}

#servicos .service-icon,
#especialidades .service-icon {
    height: 64px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: opacity(0.8);
    transition: filter 0.3s ease;
}

#servicos .card:hover .service-icon,
#especialidades .card:hover .service-icon {
    filter: opacity(1);
}

#servicos .service-icon.bi,
#especialidades .service-icon.bi {
    font-size: 64px; /* Match the height of the PNG icons */
}

#servicos .card-title,
#especialidades .card-title {
    color: var(--verde-escuro);
    font-weight: bold;
    margin-bottom: 0.75rem;
}

#servicos .card-text,
#especialidades .card-text {
    color: var(--cinza-escuro);
    font-size: 0.95rem;
}

/* --- Health Plans Section --- */
#planos{
    background-color: var(--background-2);
}
.health-plan-logo {
    max-height: 80px;
    transition: all 0.3s ease;
    filter: grayscale(0.5);
}

.health-plan-logo:hover {
    transform: scale(1.05);
    filter: grayscale(0);
}
/* --- About us Section --- */
#sobre {
    background-color: var(--background-2);
}

#sobre h2 {
    color: white;
    margin-bottom: 1.5rem;
}

#sobre .lead {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: white;
    max-width: 800px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.doctor-image {
    width: 350px;
    height: 500px;
    object-fit: cover;
}



@media (max-width: 768px) {
    #sobre {
        padding: 3rem 0;
    }

    #sobre .lead {
        font-size: 1rem;
        line-height: 1.7;
        padding: 0 20px;
        margin-bottom: 2rem;
        letter-spacing: 0.3px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
    }

    #sobre .container {
        max-width: 100%;
        padding: 0 15px;
    }
}
/* --- Our Space Section --- */
#nosso-espaco #carouselSobre {
    max-width: 800px;
    margin: 0 auto;
}

#nosso-espaco #carouselSobre .carousel-item img {
    height: 400px;
    object-fit: cover;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* --- Prêmio --- */
#premio {
    background: linear-gradient(rgba(255, 255, 255, 0.877), rgba(255, 255, 255, 0.884)),
                url('../imagens/premio.jpg') no-repeat center center;
    background-size: cover;
    padding: 4rem 0;
    position: relative;
}

#premio .award-text {
    font-size: 1.2rem;
    color: var(--verde-escuro);
    font-weight: 500;
    line-height: 1.6;
    margin-top: 1rem;
}

#premio img {
    max-width: 300px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 15px;
}

/* --- Testimonials Section --- */
#carouselDepoimentos {
    max-width: 700px;
    margin: 0 auto;
}

#carouselDepoimentos .carousel-item img {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* --- Contact --- */
#contato i {
    color: var(--verde-escuro);
}



.social-icon {
    text-decoration: none;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
    color: var(--coral);
}

#contato .social-icon {
    color: var(--cinza-escuro);
}

/* --- Footer --- */
footer {
    background-color: var(--cinza-escuro);
    color: var(--bege-claro);
    padding: 2rem 0;
}

footer .social-icon {
    color: var(--bege-claro);
}

/* Whatsapp Float Button */
.whatsapp-float img {
    width: 64px;
    height: 64px;
}

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 100;
    transition: transform 0.3s ease;
}


.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
    
    #hero {
        min-height: 60vh;
    }
    
    .health-plan-logo {
        max-height: 60px;
        margin: 1rem 0;
    }

    #servicos .service-icon,
    #especialidades .service-icon {
        height: 50px;
    }

    #servicos .service-icon.bi,
    #especialidades .service-icon.bi {
        font-size: 50px;
    }

    .social-icon {
        font-size: 1.5rem;
    }

    .whatsapp-float img {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float {
        right: 15px;
        bottom: 15px;
    }
}
