@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}


:root {
    --bg-color: #fdfdfd;
    --text-color: #333;
    --main-color: #256fa0;
    --white-color: #fdfdfd;
    --shadow-color: rgba(0, 0, 0, .2);
}

.dark-mode {
    --bg-color: #101011;
    --text-color: #fdfdfd;
    --shadow-color: rgba(0, 0, 0, .7);
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 7%;
    background: transparent;
    display: flex;
    align-items: center;
    z-index: 100;
    transition: .5s;
}

.header.sticky {
    background: var(--bg-color);
    box-shadow: 0 .1rem 1rem var(--shadow-color);
}

.logo {
    font-size: 2.5rem;
    color: var(--main-color);
    font-weight: 600;
    cursor: default;
    margin-right: auto;
}

.navbar a {
    position: relative;
    font-size: 1.7rem;
    color: var(--white-color);
    font-weight: 500;
    margin-right: 3.5rem;
}

.header.sticky .navbar a {
    color: var(--text-color);
}

.header.sticky .navbar a.active {
    color: var(--main-color);
}

.navbar a.active::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: .2rem;
    background: var(--white-color);
}

.header.sticky .navbar a::before {
    background: var(--main-color);
    opacity: .7;
}

#darkMode-icon {
    font-size: 2.4rem;
    color: var(--white-color);
    cursor: pointer;
}

.header.sticky #darkMode-icon {
    color: var(--text-color);
    opacity: .9;
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}

section {
    min-height: 100vh;
    padding: 10rem 7% 2rem;
}

.home {
    display: flex;
    align-items: center;
}

.home .home-content {
    max-width: 44rem;
}

.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: .3;
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.home-content p {
    font-size: 1.6rem;
}

.home-content .social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    box-shadow: 0 .2rem .5rem var(--shadow-color);
    font-size: 2rem;
    color: var(--main-color);
    margin: 2.5rem 1.5rem 3rem 0;
    transition: .5s ease;
}

.home-content .social-media a:hover {
    background: var(--main-color);
    color: var(--white-color);
}

.home-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}


.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--main-color);
    border-radius: .6rem;
    box-shadow: 0 .2rem .5rem var(--shadow-color);
    font-size: 1.6rem;
    color: var(--white-color);
    letter-spacing: .1rem;
    font-weight: 600;
    border: .2rem solid transparent;
    transition: .5s ease;
}

.btn:hover {
    background: transparent;
    color: var(--main-color);
    border-color: var(--main-color);
}

.home .profession-container  {
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(0);
    width: 768px;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.home .profession-container .profession-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 768px;
    height: 768px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: professionRotate 13s ease-out infinite;
}

@keyframes professionRotate {
    0%,20% {
        transform: rotate(0deg);
    }
        25%,45% {
        transform: rotate(-90deg);
    }
        50%,70% {
        transform: rotate(-180deg);
    }
        75%,95% {
        transform: rotate(-270deg);
    }
        100% {
        transform: rotate(-360deg);
    }
}

.home .profession-box .profession {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: var(--main-color);
    transform: rotate(calc(360deg / 4 * var(--i)));
    transform-origin: 384px;
    background: var(--bg-color);
    padding: 13px 0;
}

.home .profession-box .profession:nth-child(1) i {
    margin-right: 80px;
}

.home .profession-box .profession:nth-child(2),
.home .profession-box .profession:nth-child(4) {
    padding-bottom: 20px;
}

.home .profession i {
    font-size: 3.8rem;
}

.home .profession h3 {
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 600;
}

.home .profession-box .circle {
    width: 560px;
    height: 560px;
    border: 3px solid var(--main-color);
    border-radius: 50%;
}



.home .profession-container .overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 384px solid var(--main-color);
    border-right: 384px solid var(--main-color);
    border-bottom: 384px solid var(--main-color);
    border-left: 384px solid transparent;
}




.home-img img {
    position: absolute;
    bottom: 0;
    right: 0;
    pointer-events: none;

}

span {
    color: var(--main-color);
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.about img {
    width: 40vw;
}

.heading {
    font-size: 4.5rem;
    text-align: center;
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

.about-content h3 {
    font-size: 2rem;
}

.about-content p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}

.services {
    min-height: auto;
    padding-bottom: 13rem;
}

.services h2 {
    margin-bottom: 7rem;
}

.services .services-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-container .services-box {
    min-height: 55rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.services-container {
    align-items: stretch;
}



.services-container .services-box {
    flex: 1 1 30rem;
    background: var(--bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
    text-align: center;
    border-top: .6rem solid var(--main-color);
    border-bottom: .6rem solid var(--main-color);
    transition: .5 ease;
    min-height: 55rem; /* Isso já ajuda a manter as caixas com a mesma altura */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Isso ajuda a empurrar o botão para baixo */
}

.services-container .services-box:hover {
    box-shadow: 0 .1rem 2rem var(--shadow-color);
    transform: scale(1.02);
}

.services-box i {
    font-size: 7rem;
    color: var(--main-color);
}

.services-box h3 {
    font-size: 2.6rem;
}

.services-box:hover h3 {
    color: var(--main-color);
    transition: .5s ease;
}



.services-box p {
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
 }  

 .services-box .exam-list {
    list-style-type: disc; /* Define o tipo de marcador. 'disc' é a bolinha padrão. Você pode usar 'circle', 'square', 'none', etc. */
    text-align: left; /* Alinha o texto da lista à esquerda dentro da caixa */
    margin: 1rem 2rem 3rem 2rem; /* Margens: topo, direita, baixo, esquerda (ajuste conforme necessário para espaçamento) */
    padding-left: 2rem; /* Adiciona padding à esquerda para as bolinhas aparecerem dentro da caixa */
    flex-grow: 1; /* Permite que a lista ocupe o espaço restante dentro do services-box flexível */
}

.services-box .exam-list li {
    font-size: 1.6rem;
    margin-bottom: 0.5rem; /* Espaçamento entre os itens da lista */
    line-height: 1.2; /* Ajusta a altura da linha para melhor leitura */
    color: var(--text-color); /* Garante que a cor do texto seja a padrão */
}



.portfolio {
    padding-bottom: 10rem;
}

.portfolio h2 {
    margin-bottom: 4rem;
}

.portfolio .portfolio-container {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    align-items: center;
    gap: 2.5rem;
}

.portfolio-container .portfolio-box {
    position: relative;
    display: flex;
    border-radius: 2rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, .1);
    overflow: hidden;
}

.portfolio-box img {
    width: 100%;
    transition: .5s ease;
}

.portfolio-box:hover img {
    transform: scale(1.1);
}

.portfolio-box .portfolio-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0 ,0 ,0, .1), var(--main-color));
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    opacity: 0;
    transition: .7 ease;
}

.portfolio-box:hover .portfolio-layer {
    opacity: 1;
}

.portfolio-layer h4 {
    font-size: 3rem;
}

.portfolio-layer p {
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
}

.portfolio-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--white-color);
    border-radius: 50%;
}

.portfolio-layer a i {
    font-size: 2rem;
    color: #333;
}

.testimonial-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 5rem 1rem;
}

.testimonial-container .testimonial-wrapper {
    position: relative;
    max-width: 90rem;
    width: 100%;
    padding: 5rem;
}

.testimonial-wrapper .testimonial-box {
    padding: 1rem;
    border-radius: 2rem;
    overflow: hidden;
}

.testimonial-content .testimonial-slide {
    display: flex;
    align-items: center;
    flex-direction: column;
    background: var(--bg-color);
    border-radius: 2rem;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
    padding: 3rem 5rem;
    border-top: .8rem solid var(--main-color);
    border-bottom: .8rem solid var(--main-color);
}

.testimonial-slide img {
    width: 14rem;
    height: 14rem;
    object-fit: cover;
    border-radius: 50%;
    border: .5rem solid var(--bg-color);
    outline: .5rem solid var(--main-color);
}

.testimonial-slide h3 {
    font-size: 2.5rem;
    margin: 2rem 0;
}

.testimonial-slide p {
    font-size: 1.4rem;
    text-align: center;
}

.testimonial-box .swiper-button-next,
.testimonial-box .swiper-button-prev {
    color: var(--main-color);
}

.testimonial-box .swiper-button-next {
    right: 0;
}
.testimonial-box .swiper-button-prev {
    left: 0;
}

.testimonial-box .swiper-pagination-bullet {
    background: rgba(0 ,0 ,0, .8);
}

.testimonial-box .swiper-pagination-bullet-active {
    background: var(--main-color);
}

.contact h2 {
    margin-bottom: 3rem;
}

.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--bg-color);
    border-radius: .8rem;
    margin: .7rem 0;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
}

.contact form .input-box input {
    width: 49%;
}

.contact form textarea {
    resize: none;
}

.contact form .btn {
    margin-top: 2rem;
    cursor: pointer;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 7%;
    background: var(--main-color);
}

.footer-text p {
    font-size: 1.6rem;
    color: var(--white-color);
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--white-color);
    border-radius: .8rem;
    border: .2rem solid var(--main-color);
    outline: .2rem solid transparent;
    transition: .5s ease;
}

.footer-iconTop a:hover {
    outline-color: var(--white-color);
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: #333;
}

/*BREAKPOINTS*/

@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }

    .home .profession-container {
        height: 85.8rem;
    }

    .home .profession-container .profession-box {
        right: -12rem;
        height: 85.8rem;
    }

    .home .profession-container .overlay {
        right: -9rem;
    }
}

@media (max-width: 1024px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .home .profession-container .profession-box {
        right: -22rem;
    }

        .home .profession-container .overlay {
        right: -15rem;
    }
}

@media (max-width: 991px) {
    .navbar a:nth-child(1),
    .navbar a:nth-child(2) {
        color: var(--main-color);
    }

    .navbar a:active::before {
        background: var(--main-color);
        opacity: .7;
    }

    .home .home-content {
        max-width: 50rem;
    }

    .home .profession-container .profession-box {
        right: -45rem;
    }

    .home .profession-container .overlay {
        right: -39rem;
    }

    .home-img img {
        display: none;
    }

    .services,
    .portfolio {
        padding-bottom: 7rem;
    }

    .contact {
        min-height: auto;
    }

    .footer {
        padding: 2rem 3%;
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    #darkMode-icon {
        position: absolute;
        right: 7rem;
        font-size: 2.6rem;
        color: var(--text-color);
        margin-bottom: .1rem;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0 ,0 ,0, .1);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: var(--text-color);
    }

    .navbar a:nth-child(1),
    .navbar a:nth-child(2) {
        color: var(--text-color);
    }

    .navbar a.active {
        color: var(--main-color);
    }

    .navbar a::before {
        display: none;
    }

    .home {
        padding: 0 3% 23rem;
        justify-content: center;
        text-align: center;
    }

    .home-content h3 {
        font-size: 2.6rem;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .home-content .social-media a {
        margin: 2.5rem .75rem 3rem;
    }

    .home .profession-container {
        left: 0;
        width: 100%;
        height: 100%;
    }

    .home .profession-container .profession-box {
        position: fixed;
        top: 100%;
        left: 0;
        border-radius: 0;
        width: 100%;
    }

    .home .profession-box .profession {
        padding: 0 13px;
        left: auto;
        transform-origin: 0;
    }

     .home .profession-box .profession:nth-child(1) {
        transform: rotate(-90deg) translateY(-120px, -210px);
     }

          .home .profession-box .profession:nth-child(1) i {
        margin-right: 0;
     }

          .home .profession-box .profession:nth-child(2) {
        transform: rotate(0deg) translateY(0, -335px);
     }

          .home .profession-box .profession:nth-child(3) {
        transform: rotate(90deg) translateY(-115px, -450px);
     }

          .home .profession-box .profession:nth-child(4) {
        transform: rotate(180deg) translateY(-220px, -335px);
     }

     .home .profession-box .circle {
        position: fixed;
        width: 670px;
        height: 670px;
        z-index: -1;
        display: none;
     }

    .home .profession-container .overlay {
        position: fixed;
        top: 70rem;
        left: 50%;
        right: 0;
        transform: rotate(90deg) translate(-50%, 50%) scaleY(3);
        border-width: 23.9rem;

    }

    .about {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-content h2 {
        text-align: center;
    }

    .about-img img {
        width: 70vw;
        margin-top: -2rem;
    }

    .services h2,
    .portfolio h2 {
        margin-bottom: 3rem;
    }

    .portfolio .portfolio-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-container .testimonial-wrapper {
        padding: 5rem 0;
    }

    .testimonial-content .testimonial-slide {
        padding: 3rem 2rem;
    }

    .testimonial-box .swiper-button-next,
    .testimonial-box .swiper-button-prev {
        display: none;
    }

}

@media (max-width: 617px) {
    .portfolio .portfolio-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    #darkMode-icon {
        right: 6rem;
    }

    .home {
        padding: 0 3% 30rem;
    }

    .home .profession-box .profession:nth-child(1) {
        transform: rotate(-90deg) translate(-110px, -220px);
    }

        .home .profession-box .profession:nth-child(2) {
        transform: rotate(0deg) translate(5px, -335px);
    }

        .home .profession-box .profession:nth-child(3) {
        transform: rotate(90deg) translate(-105px, -440px);
    }

        .home .profession-box .profession:nth-child(4) {
        transform: rotate(180deg) translate(-210px, -335px);
    }
}

@media (max-width: 365px) {
    .about-img img {
        width: 90vw;
    }

    .footer {
        flex-direction: column-reverse;
    }
    .footer p {
        text-align: center;
        margin-top: 2rem;
    }
}

/* Ajuste para alinhar ícones na lista de contato */
.services-box .exam-list li {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Espaçamento entre o ícone e o texto */
    margin-bottom: 1rem; /* Espaçamento entre os itens da lista */
}

/* Garante que a cor do link seja a mesma do texto */
.services-box .exam-list li a {
    color: inherit;
    text-decoration: none; /* Remove o sublinhado padrão dos links */
}

/* Efeito hover para o link */
.services-box .exam-list li a:hover {
    text-decoration: underline;
}

/* Style for the Contact Section */
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 10rem; /* Adjust padding as needed */
}

.contact .heading {
    margin-bottom: 5rem; /* Space between title and box */
}

.contact-info-container {
    display: flex;
    justify-content: center;
    width: 100%; /* Ensure it takes full width to allow centering */
}

.contact-info-box {
    background: var(--bg-color);
    padding: 3rem 4rem; /* Adjust padding to control size */
    border-radius: 2rem;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
    text-align: center;
    border-top: .6rem solid var(--main-color);
    border-bottom: .6rem solid var(--main-color);
    max-width: 45rem; /* Limit the max-width to make it more quadrangular */
    width: 100%; /* Ensure it responds to smaller screens */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.contact-info-box h3 {
    display: none; /* Hide the title inside the box as it's now outside */
}

.contact-info-box .exam-list {
    list-style: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
    text-align: left; /* Align text to the left within the box */
}

.contact-info-box .exam-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem; /* Spacing between list items */
    font-size: 1.8rem;
    gap: 1.5rem;
}

.contact-info-box .exam-list li:last-child {
    margin-bottom: 0; /* No margin for the last item */
}

.contact-info-box .exam-list li i {
    font-size: 2.4rem;
    color: var(--main-color);
}

.contact-info-box .exam-list li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-box .exam-list li a:hover {
    color: var(--main-color);
    text-decoration: underline;
}

/* Estilos para o contêiner do mapa */
.map-container {
    margin-top: 5rem; /* Espaço entre o box de contato e o mapa */
    display: flex;
    justify-content: center;
    width: 100%;
}

.map-container iframe {
    border-radius: 1rem; /* Adiciona bordas arredondadas ao mapa */
    box-shadow: 0 .1rem .8rem var(--shadow-color); /* Adiciona uma sombra ao mapa */
    max-width: 80%; /* Garante que o mapa seja responsivo e não ultrapasse 80% da largura do contêiner */
    height: 400px; /* Altura fixa para o mapa. Ajuste conforme necessário */
}

/* Quebras de linha para o mapa em telas menores */
@media (max-width: 768px) {
    .map-container iframe {
        height: 300px; /* Altura menor para telas menores */
    }
}

@media (max-width: 450px) {
    .map-container iframe {
        height: 250px; /* Altura ainda menor para celulares */
        max-width: 95%; /* Ocupa quase toda a largura em celulares */
    }
}

.footer-text p1 {
    font-size: 1.9;
    color: var(--white-color);
}



 /* ===== ESTILOS COMPLETOS PARA O NOVO RODAPÉ (COM HOVER) ===== */

.footer {
    background: #18202c;
    padding: 5rem 7% 2rem;
    display: flex;
    flex-direction: column;
    color: var(--white-color);
    position: relative; /* Necessário para posicionar o ícone de voltar ao topo */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.footer-column {
    flex: 1 1 22rem; /* Permite que as colunas se ajustem */
}

.footer-column .footer-logo img {
    max-width: 150px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-column .footer-description {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ddd;
}

/* Ícones de Mídia Social */
.footer .social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    color: var(--white-color);
    border: 1px solid var(--white-color);
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.9rem;
    margin-right: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.footer .social-media a:hover {
    background: var(--main-color); /* Cor de fundo ao passar o mouse */
    color: var(--white-color); /* Cor do ícone ao passar o mouse */
    border-color: var(--white-color); /* Cor da borda para combinar */
}

/* Títulos das Colunas */
.footer-column h4 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--white-color);
    opacity: 0.5;
}

/* Listas de Links */
.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-column ul li a {
    color: var(--white-color); /* Altera a cor do texto dos links para branco */
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-column ul li i {
    font-size: 1.8rem;
    color: var(--white-color);
    transition: color 0.3s ease;
}

/* Efeito de hover para o item da lista inteiro (ícone + texto) */
.footer-column ul li:hover a,
.footer-column ul li:hover i {
    color: var(--main-color); /* Cor do link e do ícone ao passar o mouse */
}

.footer-column ul li:hover a {
    padding-left: 5px; /* Pequeno deslocamento do texto para a direita */
}

/* Botão "Agendar Exame" no rodapé */
.footer-btn {
    margin-top: 1.5rem;
    background: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
    border-radius: 2rem;
}

.footer-btn:hover {
    background: transparent;
    color: var(--white-color);
}

/* Seção Inferior do Rodapé */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 1.4rem;
}

.footer-bottom-links a {
    color: #ddd;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #89bdd3; /* Cor do link ao passar o mouse */
    text-decoration: underline;
}

/* Ícone "Voltar ao Topo" */
.footer .footer-iconTop {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
}

/* ===== AJUSTES DE RESPONSIVIDADE PARA O RODAPÉ ===== */
@media (max-width: 991px) {
    .footer-content {
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .footer-column {
        flex-basis: 100%; /* Cada coluna ocupa 100% da largura */
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%); /* Centraliza a linha abaixo do título */
    }

    .footer-column ul li {
        justify-content: center; /* Centraliza os itens da lista */
    }
    
    .footer .social-media {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column; /* Empilha os itens */
        text-align: center;
    }

    .footer-bottom-links a {
        display: block;
        margin: 1rem 0 0 0;
    }

    .footer .footer-iconTop {
       display: none; /* Opcional: esconde o botão em telas muito pequenas */
    }
}

.footer-column ul li span {
    color: var(--white-color);
}


.footer-column ul li i {
    font-size: 1.8rem;
    color: var(--main-color); /* Ícone fixo com a cor principal */
    transition: color 0.3s ease;
}

.footer-column ul li:hover i {
    color: var(--white-color); /* Fica branco no hover */
}



/* STYLES DA PARTE DA ABA SOBRE NÓS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
/* STYLES DA PARTE DA ABA SOBRE NÓS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
/* STYLES DA PARTE DA ABA SOBRE NÓS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
/* STYLES DA PARTE DA ABA SOBRE NÓS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
/* STYLES DA PARTE DA ABA SOBRE NÓS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
/* STYLES DA PARTE DA ABA SOBRE NÓS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
/* STYLES DA PARTE DA ABA SOBRE NÓS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
/* STYLES DA PARTE DA ABA SOBRE NÓS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
/* STYLES DA PARTE DA ABA SOBRE NÓS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
/* STYLES DA PARTE DA ABA SOBRE NÓS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
/* STYLES DA PARTE DA ABA SOBRE NÓS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
/* STYLES DA PARTE DA ABA SOBRE NÓS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
/* STYLES DA PARTE DA ABA SOBRE NÓS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
/* STYLES DA PARTE DA ABA SOBRE NÓS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
/* STYLES DA PARTE DA ABA SOBRE NÓS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
/* STYLES DA PARTE DA ABA SOBRE NÓS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/


.statistics {

    text-align: center;
    padding: 6rem 2rem;
}

.statistics .heading {
    font-size: 3.6rem;
    margin-bottom: 4rem;
    color: var(--text-color);
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
}

.stat-box {
    min-width: 180px;
}

.stat-box h3 {
    font-size: 4rem;
    font-weight: 700;
    color: #256fa0;
}

.stat-box p {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-top: 1rem;
}

.diferenciais {

    text-align: center;
    padding: 6rem 2rem;
}

.diferenciais .heading {
    font-size: 3.6rem;
    margin-bottom: 1rem;
}

.diferenciais-frase {
    color: #256fa0;
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.diferenciais-descricao {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 4rem;
}

.diferenciais-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
}

.diferencial-box {
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-width: 320px;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.diferencial-box:hover {
    transform: translateY(-5px);
}

.diferencial-box .icone {
    font-size: 4rem;
    color: #256fa0;
    margin-bottom: 1rem;
}

.diferencial-box h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.diferencial-box p {
    font-size: 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

.trabalhe-conosco {
    padding: 0 7% 8rem;
}

.trabalhe-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.trabalhe-texto {
    flex: 1 1 500px;
    max-width: 600px;
}

.trabalhe-subtitulo {
    font-size: 1.4rem;
    color: whitesmoke;
    font-weight: 600;
    margin-bottom: 1rem;
    background-color: var(--main-color);
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
}

.trabalhe-titulo {
    font-size: 3.6rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.trabalhe-desc {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
}

.trabalhe-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem;
}

.trabalhe-lista li {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
}

.trabalhe-lista li i {
    color: #256fa0;
    font-size: 2rem;
    margin-right: 1rem;
}

.trabalhe-numeros {
    display: flex;
    gap: 4rem;
    margin-top: 2rem;
}

.trabalhe-numeros h3 {
    font-size: 2.8rem;
    color: #256fa0;
}

.trabalhe-numeros p {
    font-size: 1.4rem;
    color: var(--text-color);
}

.trabalhe-img {
    flex: 1 1 400px;
    max-width: 500px;
}

.trabalhe-img img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 .3rem 1rem rgba(0,0,0,0.1);
}



.trabalhe-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem; /* reduzido */
}

.trabalhe-texto {
    flex: 1 1 500px;
    max-width: 600px;
}

.trabalhe-img {
    flex: 1 1 380px;
    max-width: 460px;
}

.trabalhe-img img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 .3rem 1rem rgba(0,0,0,0.1);
}

/* Botão personalizado */
.trabalhe-btn {
    margin-top: 3rem;
    display: inline-block;
    background-color: var(--main-color);
    color: var(--white-color);
    padding: 1.2rem 2.4rem;
    border-radius: .6rem;
    font-size: 1.6rem;
    font-weight: 600;
    transition: 0.4s ease;
}

.trabalhe-btn:hover {
    background-color: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
}


.team-container {
    margin-top: 5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    text-align: center;
}

.team-member {
    flex: 1 1 250px;
    max-width: 260px;
}

.avatar-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid var(--main-color);
    margin: 0 auto 1rem;
    padding: 4px;
    position: relative;
    transition: transform 0.3s ease;
}

.avatar-wrapper:hover {
    transform: scale(1.05);
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.8rem;
    color: var(--white-color);
    margin: 0.5rem 0 0.2rem;
}

.team-member p {
    font-size: 1.4rem;
    color: #ccc;
}

.team-member .info-extra {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-top: 0.5rem;
    line-height: 1.5;
}


.team-member h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 0.5rem 0 0.2rem;
}


.team-member .cargo {
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.3rem;
}


.about-botoes {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-outline {
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
}

.btn-outline:hover {
    background: var(--main-color);
    color: var(--white-color);
}


/* ESTILOS DA ÁREA DE RESSONANCIA!!!!!!!!!!!!!!!!!! */
/* ESTILOS DA ÁREA DE RESSONANCIA!!!!!!!!!!!!!!!!!! */
/* ESTILOS DA ÁREA DE RESSONANCIA!!!!!!!!!!!!!!!!!! */
/* ESTILOS DA ÁREA DE RESSONANCIA!!!!!!!!!!!!!!!!!! */
/* ESTILOS DA ÁREA DE RESSONANCIA!!!!!!!!!!!!!!!!!! */
/* ESTILOS DA ÁREA DE RESSONANCIA!!!!!!!!!!!!!!!!!! */
/* ESTILOS DA ÁREA DE RESSONANCIA!!!!!!!!!!!!!!!!!! */
/* ESTILOS DA ÁREA DE RESSONANCIA!!!!!!!!!!!!!!!!!! */
/* ESTILOS DA ÁREA DE RESSONANCIA!!!!!!!!!!!!!!!!!! */
/* ESTILOS DA ÁREA DE RESSONANCIA!!!!!!!!!!!!!!!!!! */

.exame-lista {
    list-style: disc inside;
    padding-left: 0;
    color: var(--text-color);
}

.exame-lista li {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
}

.exame-lista li::marker {
    color: var(--main-color); /* bolinha azul do tema */
    font-size: 1.6rem;
}


.preparacao-exame {
    margin-top: 5rem;
    padding: 4rem 7% 0rem; /* reduz o espaçamento inferior */
    text-align: center;
}

.preparacao-box {

    padding: 2rem;
    border-radius: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.5rem;
    color: var(--text-color);
    text-align: left;
    justify-content: center;
    align-items: center;
}

.preparacao-box p {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.preparacao-box i {
    color: var(--main-color);
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.agendamento {

    margin-top: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.agendamento-container {
    margin-top: 5rem; 
    margin-bottom: 1rem; 
}


.agendamento-container h2 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.agendamento-container h2 span {
    color: var(--main-color);
}

.agendamento-container p {
    font-size: 1.6rem;
    margin-bottom: 3rem;
}

.botoes-agendamento {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.botoes-agendamento .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
    border-radius: .6rem;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.botoes-agendamento .btn i {
    font-size: 2rem;
}

.botoes-agendamento .btn {
    background-color: var(--main-color);
    color: white;
    border: none;
}

.botoes-agendamento .btn:hover {
    background-color: #1e5b8c;
}

.botoes-agendamento .btn-outline {
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
}

.botoes-agendamento .btn-outline:hover {
    background-color: var(--main-color);
    color: white;
}

/* Força as caixas de Cardiologia e Neuro a ocuparem linha abaixo */
.services-box.cardio,
.services-box.neuro {
    flex: 0 1 40rem; /* Tamanho fixo menor */
    align-self: flex-start; /* Alinha ao topo para manter padrão */
}

/* Empurra elas para a linha de baixo */
.services-box.cardio,
.services-box.neuro {
    width: 100%;
    max-width: 400px;
    margin-top: 2rem;
}

/* Centraliza na linha de baixo */
@media (min-width: 768px) {
    .services-box.cardio,
    .services-box.neuro {
        margin-left: auto;
        margin-right: auto;
    }
}


/* Agrupamento para quebrar linha manualmente */
.services-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    width: 100%;
    margin-bottom: 2rem;
}

/* As caixas pequenas (cardio e neuro) */
.services-row.smaller-row .services-box.smaller {
    max-width: 38rem;
    flex: 1 1 35rem;
    margin-left: auto;
    margin-right: auto;
}

/* Grupos de caixas */
.services-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

/* Menores ficam com largura fixa menor */
.services-row.smaller-row .services-box.smaller {
    max-width: 38rem;
    flex: 1 1 35rem;
    margin-top: 2rem;
}
