
.logo {
    width: clamp(20px, 25vw, 60px);
    height: auto;
}

.linha-vertical {
    width: 2px;
    height: 36px;
    object-fit: cover;
}

.cabecalho p {
    color: var(--cor-azulescuro);
    font-weight: 700;
    font-size: clamp(11px, 2.6vw, 13px);
    line-height: 1.3;
    
}

.container {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 14px;
    padding: 12px 0;
    order: 3;
}

.container.is-open { 
    display: flex; 
}

.container a {
    font-size: 16px;
    text-decoration: none;
    font-weight: 700;
    color: black;
    transition: transform .3s ease;
}

@media (min-width: 768px) {
    .container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        width: auto;
        padding: 0;
        order: 0;
    }
    .container a { 
        font-size: 15px; 
    }

    .container a:hover {
         transform: translateY(-4px); 
        }
}

@media (min-width: 1200px) {
    .container { 
        gap: 24px;
     }

    .container a { 
        font-size: 18px;
     }
}


.botao {
    transition: filter 0.5s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: linear-gradient(to left, #4d8eff, #c0d9ff);
    padding: 8px 16px;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
}


.botao:hover {
    filter: brightness(0.85);
}

.botao p {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}



#hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 70svh;
    padding: 5vh 16px 40px;
    display: flex;
    align-items: flex-start;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(199, 217, 255, 0.8), rgba(255, 255, 255, 0));
    z-index: 1;
    pointer-events: none;
}

.hero-track {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 0.6s ease;
    z-index: 0;
}

.hero-bg {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    color: var(--cor-azulescuro);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-prev:hover,
.hero-next:hover {
    background: #fff;
}

.hero-prev { left: 16px; }
.hero-next { right: 16px; }

.hero-content {
    position: relative;
    z-index: 2;
}



@media (max-width: 1023px) {
    .hero-bg { background-size: cover; }
}




@media (max-width: 1023px) {
    #hero {
        background-image: linear-gradient(to right, rgba(199, 217, 255, 0.8), rgba(255, 255, 255, 0.2));
        background-size: cover;
    }
}

@media (max-width: 767px) {
    .hero-track,
    .hero-prev,
    .hero-next { display: none; }
}

@media (min-width: 767px) and (max-width: 1023px){ /* Tablets */

    #hero {
        justify-content: center;  
        align-items: center;      
        text-align: center;
    }

    .hero-content {
        align-items: center;
        padding-top: 5vh;      
    }

 

    #sobre {
        display: block !important;
    }

    #sobre2 {
        display: flex;
        flex-direction: column;
    }

    .left {
        width: 100% !important;
        max-width: 100%;
        
    }


    .right {
        padding-top: 10vh;
        width: 100% !important;
        margin: auto !important;
    
    
        
    }
    .right img {
        width: 50% !important;
        height: 50% !important;
        
    }

    .left2,
    .right2 {
        width: 100% !important;
        max-width: 100%;
        margin: auto !important;
    }

    .right2 {
        order: 1;
    }

    .left2 {
        order: 2;
    }

    .left2 img {
        width: 50% !important;
        height: 50% !important;
    }

    .double {
        text-align: center;
        justify-content: center;
    }




}
.hero-content {
    display:flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    row-gap:5vh;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero-content h1{
        text-align: center;

    }
    
}


#hero h1 {
    color: black;
    font-size: clamp(30px, 10vw, 60px);
    line-height: 1.15;
    max-width: 100%;
}

#hero span {
    color: var(--cor-brilho);
}

#hero h1 br { display: none; }




#hero p {
    color: var(--cor-azulescuro);
    font-size: 1.5rem;
    line-height: 1.5;
    margin-top: 12px;
    max-width: 100%;
}

@media (min-width: 768px) {
    #hero { padding: 5% 6%; }
    #hero h1,
    #hero p { max-width: 60%; }
    #hero h1 br { display: inline; }
}

@media (min-width: 1100px) {
    #hero h1,
    #hero p { max-width: 45%; }
}


.double {
    padding-top: 28px;
    display: flex;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.double a {
    display: inline-block;
    text-decoration: none;
    padding: 15px 27px;
    border-radius: 10px;
    border: 2px solid;
    font-size: clamp(20px, 3vw, 20px);
    transition: all .35s ease;
    
    
}

@media (max-width: 768px) { /* Celulares */
    .double {
        flex-wrap: nowrap;      
        padding: 28px 16px 0 16px;
    }

    .hero-content h1 {
        text-align: center;
    }

    .double a {
        flex: 1;              
        width: 0;
        min-width: 0;
        padding: 16px 8px;
        font-size: 14px;
        text-align: center;
        overflow: hidden;
    }

   
}

.double a:hover {
    transform: translateY(-4px) scale(1.03);
    filter: brightness(1.05);
}

.double a:first-child {
    border-color: var(--cor-azulescuro);
    color: #fff;
    background-color: var(--cor-azulescuro);
}

.double a:last-child {
    border-color: var(--cor-azulescuro);
    color: var(--cor-azulescuro);
    background: transparent;
}

.divisor {
    width: 1px;
    background: #ccc;
    display: none;
}

@media (min-width: 768px) {
    .divisor { display: block; }
}

@media (min-width: 1100px) {
}

@media (max-width: 506px) {
    .botao {
        width: 100%;
        justify-content: center;
    }
}


.carousel-mobile {
    display: none;
}

@media (max-width: 767px) {
    .carousel-mobile {
        display: block;
        width: 100vw;            
        margin-left: -16px;     
        overflow: hidden;
        border-radius: 0;
    }
}

.carousel-track {
    display: flex;
    animation: slide 30s linear infinite;
}

.carousel-mobile img {
    width: 100vw;   
    height: 190px;
    object-fit: cover;
    flex-shrink: 0;
}

/* 4 imagens */
@keyframes slide {
    from { transform: translateX(0); }
    to   { transform: translateX(-400vw); }
}

#sobre {
    display: flex;
    padding-inline: 6%;
    justify-content: space-between;
    background: #fff;
    padding-top: 10vh;
    position: relative;
    z-index: 1;
    
}

.left {
    width: 50%;

}

.left span {
    color: var(--cor-brilho);
}

@media (max-width: 767px) {
    .left {
        width: 100%;
        max-width: 100%;;
    }

    #sobre {
        display: block;
        
    }

    .right {
        padding-top: 10vh;
        width: 100% !important;
        margin: auto !important;
    }
    .right img {
        width: 50% !important;
        height: 50% !important;
        
    }

    .alexandre-destaque {
        margin-bottom: 22px;
    }
    
}


.left h3 {
    color: var(--cor-brilho);
}

.left h1 {
    color: var(--cor-azulescuro);
}

.left .sobre-destaque,
.right2 .sobre-destaque {
    margin: 28px 0 24px;
    padding: 12px 16px;
    border-left: 3px solid var(--cor-brilho);
    background: #eaf4ff;
    color: var(--cor-texto);
    font-size: 1.2rem;
}

.left p {
    color: var(--cor-texto);
    font-size: larger;
}

.left .sobre-destaque strong,
.right2 .sobre-destaque strong {
    color: var(--cor-azulescuro);
}

.right {
    
    margin: auto;
    text-align: center;
    width: 50%;
    justify-content: center; 
    align-items: center;     
    margin-left: 7%;  
}

.right p {
    display: flex;
    text-align: center;
    justify-content: center;
    font-weight: bolder;
    margin: auto;
    align-items: center;
    max-width: 50%;
    height: 7.5vh;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(132, 200, 255, 0.4), 0 6px 15px rgba(132, 200, 255, 0.4);
}

.right img {
    display: block;
    margin: auto;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
}

#sobre2 {
    display: flex;
    padding-inline: 6%;
    justify-content: space-between;
    background: #fff;
    padding-top: 10vh;
    position: relative;
    z-index: 1;
    align-items: center;
}

.left2 {
    width: 50%;
    margin: auto;
    text-align: center;
}

.left2 img {
    display: block;
    margin: auto;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
}

.left2 p {
    display: flex;
    text-align: center;
    justify-content: center;
    font-weight: bolder;
    margin: auto;
    align-items: center;
    max-width: 50%;
    height: 7.5vh;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(132, 200, 255, 0.4), 0 6px 15px rgba(132, 200, 255, 0.4);
}

.right2 {
    width: 50%;
    margin: auto;
    margin-left: 7%;
}

.right2 h3 {
    color: var(--cor-brilho);
}

.right2 h1 {
    color: var(--cor-azulescuro);
}

.right2 p {
    color: var(--cor-texto);
    font-size: larger;
}

.right2 span {
    color: var(--cor-brilho);
}

@media (max-width: 767px) {
    #sobre2 {
        display: flex;
        flex-direction: column;
    }

    .left2,
    .right2 {
        width: 100% !important;
        max-width: 100%;
        margin: auto !important;
    }

    .right2 {
        order: 1;
    }

    .left2 {
        order: 2;
    }

    .left2 img {
        width: 50% !important;
        height: 50% !important;
    }
}



#galeria {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6%;
    padding: 2vh 2%;
    width: 90%;
    margin: auto;
    border-radius: 24px;
    margin-top: 10vh;
    background: #f9f9f9;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.40);
    
}

@media (max-width: 767px) {
    #galeria {
        display: block !important;
        text-align: center;
        padding: 16px;
    }


    .grid_galeria {
        margin: auto;
        border-color: #000000;
        width: 100% !important;
        max-width: 100%;
    }

    .grid_galeria img {
        height: 100%;
        width: 90% !important;
        max-height: none !important;
        margin: auto;
    }

    .texto {
        margin: auto !important;
        width: 90% !important;
        max-width: 100%;
    }

    .texto h1 {
        text-align: center;
    }


}

.texto {
    
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    background: linear-gradient(180deg, #eff7ff 0%, #afd8ff 100%);
    border: 1px solid rgba(255,255,255,0.65);
    box-shadow: 0 20px 50px rgba(15, 58, 105, 0.08);
    width: 36%;
    margin: 0;
    padding: 32px 28px;
    border-radius: 24px;
    order: 2;
    gap: 7.5vh;
    
}


.texto h3 {
    margin: 0 0 16px;
    display: inline-flex;
    align-items: center;
    text-align: center;
    margin: auto;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--cor-brilho);
}

.texto h1 {
    margin: 0;
    font-size: clamp(1.9rem, 2.5vw, 2.3rem);
    line-height: 1.12;
    margin-bottom: 1rem;
    color: black;
}

.texto p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    max-width: 100%;
}

.texto span {
    color: var(--cor-brilho);
}



@keyframes surgir {
    from { opacity: 0; transform: translateY(20px) scale(0.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.grid_galeria {

    margin-bottom: 16px;
    justify-self: center;
    width: 50%;
    max-width: 600px;
    height: auto;
    display: grid;
    gap: 12px;
    grid-auto-rows: minmax(110px, auto);
    grid-template-areas:
        "item1 item1"
        "item2 item3"
        "item4 item5";
}

.grid_galeria img {
    opacity: 0;
    width: 100%;
    max-height: 190px;
    display: block;
    object-fit: cover;
    border-radius: 16px;
    
}


.grid_galeria img:hover {
    outline: 3px solid #4d8eff;
    outline-offset: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}


.visivel_universal {
    animation: surgir 2s ease forwards;
}

.grid_galeria img:nth-child(1) { grid-area: item1; }
.grid_galeria img:nth-child(2) { grid-area: item2; }
.grid_galeria img:nth-child(3) { grid-area: item3; }
.grid_galeria img:nth-child(4) { grid-area: item4; }
.grid_galeria img:nth-child(5) { grid-area: item5; }



@media (max-width: 767px) {
    .grid_galeria {
        grid-template-columns: 1fr;
        grid-template-areas:
            "item1"
            "item2"
            "item3"
            "item4"
            "item5";
    }
}



#exames {
    background-color: white;
    height: 100%;
    width: 100%;
    margin: auto;
    margin-top: 10vh;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}


.esquerda {
    left: 0%;
    top: 50%;
    transform: translateY(-50%);
   
    
    
}
.direita, .esquerda {
    width: 35px;
    height: 5vh;
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    cursor: pointer;
    z-index: 10;
    filter: brightness(0) invert(1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    
    
    

}

.direita {
    right: 0%;
    top: 50%;
    transform: translateY(-50%);
}


.tela {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin: auto;
  border-radius: 24px;
  border: 1px solid rgba(22,59,122,0.08);
  padding: 0;
}

.interna {

    transition: transform 1s ease;
    display: flex;
   
    }

@media (max-width: 450px) {
  .interna img {
    width: calc(100vw) !important;
  }
}

@media (min-width: 450px) and (max-width: 767px) {
  .interna img {
    width: calc(100vw / 2) !important;
  }
}


@media (min-width: 767px) and (max-width: 1023px) {
  .interna img {
    width: calc(100vw / 3) !important;
  }
}




.interna img {
    opacity: 0;
    position: relative;
    width: calc(100vw / 4);
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 24px;
}

.exam-card {
    opacity: 0;
    position: relative;
    width: calc(100vw / 4);
    height: 200px;
    flex-shrink: 0;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: default;
}

.exam-card span {
    position: relative;
    z-index: 1;
    color: white;
    font-weight: 600;
    font-size: clamp(11px, 1.2vw, 15px);
    text-align: center;
    padding: 0 14px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    line-height: 1.3;
}

@media (max-width: 450px) {
    .exam-card { width: calc(100vw) !important; }
}

@media (min-width: 450px) and (max-width: 767px) {
    .exam-card { width: calc(100vw / 2) !important; }
}

@media (min-width: 767px) and (max-width: 1023px) {
    .exam-card { width: calc(100vw / 3) !important; }
}





.conjunto {
    text-align: center;
    color: rgb(0, 0, 0); 
    padding-top: 2vh;

}


.conjunto h3 {
    color: var(--cor-brilho);
}

.conjunto h1{
    color: black;

}

.conjunto h1 span {
    color: var(--cor-brilho);
}

#cirurgias {
    background-color: var(--cor-azulescuro);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 8vh 6% 5vh;
    text-align: center;
    border-radius: 48px;
    margin-top: 15vh;
}

#cirurgias h3 {
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
    font-size: clamp(18px, 2.2vw, 22px);
}

#cirurgias h3 span {
    color: var(--cor-brilho);
}

#cirurgias h1 {
    color: white;
    margin: 0 auto 2rem;
    max-width: 720px;
    line-height: 1.08;
    font-size: clamp(32px, 5vw, 48px);
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0 auto;
    max-width: 1080px;
    padding-bottom: 2rem;
}

@media (max-width: 1023px) {
    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .cards {
        grid-template-columns: minmax(0, 340px);
        justify-content: center;
    }
}

.cards h3 {
    font-weight: bolder;
    color: white;
}

.card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 14px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    opacity: 0;
}



.card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 48px rgba(0,0,0,0.25);
}

.card img {
    
    width: 60%;
    max-width: 130px;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.card h3 {
    margin: 0;
    font-size: clamp(16px, 2vw, 18px);
}

.card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.5;
    text-align: center;
}


#convenios {

    height: auto;
    padding-top: 10vh;    
    text-align: center;
}

#convenios h3, #convenios h1 {
    color: var(--cor-azulescuro);
}

#convenios h3 span, #convenios h1 span {
    color: var(--cor-brilho);
}

.convs {
    display: flex;
    justify-content: space-between;
    padding-inline: 10%;
    align-items: center;
    width: 90%;
}

    
.convs img {
    width: 30%;
    height: 20%;  
}

@media (max-width: 506px) {
    .convs {
        display: flex;
        flex-direction: column;
        align-items: center; /* centraliza horizontalmente */
        justify-content: center;
        width: 100%;
        gap: 20px;
        margin: 0 auto;
        padding: 0;
    }

    .convs img {
        display: block;
        margin: 0 auto;
    }
}


#mapa {
    padding-top: 10vh;
}


/* Rodapé o footer*/
#contato {
    display: flex;
    justify-content: space-between;
    color: white;
    padding-inline: 2.5%;
    padding-top: 2.5vh;
    width: 100%;
}

#contato img {
    width: 30%;
    height: 20vh;
    margin: auto;
}

#contato > div {
    width: calc(100% / 4);
}

#contato div p {
    max-width: 75%;
}

#contato div img {
    width: 15%;
    height: 15%;
}

#contato a,
#contato p {
    display: block;
    text-decoration: none;
    color: var(--cor-texto2);
    margin-bottom: 8px;
    width: fit-content;
}

.contato-true div {
    display: flex;
}

.contato-true div span {
    font-weight: bolder;
    color: white;
}

@media (min-width: 500px) and (max-width: 1023px) {
    #contato {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    #contato > div {
        width: 100%;
    }
}

@media (max-width: 500px) {
    #contato {
        display: block;
    }

    #contato > div {
        text-align: center;
        width: 100%;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
    }

    #contato a,
    #contato p {
        margin-inline: auto;
    }

    .contato-true div {
        justify-content: center;
    }
}





