:root {
    --font-family: "Montserrat", sans-serif;
    --text-color: #ffffff;
    --btn-color: #0362C0;
    --btn-hover: #024a91;
    --btn-padding: 12px 25px;
    --btn-radius: 5px;
    --h1-size: 3rem;
    --h2-size: 2.8rem;
    --p-size: 1rem;
    --line-height: 1.8;
    --paragraph-spacing: 20px;
    --h1-mobile-size: 1.5rem;
    --h2-mobile-size: 1.5rem;
    --hero-overlay-color: #9a444415;
    --hero-overlay-blur: 0px;
    --hero-bg-gradient: linear-gradient(to right, #5B9CD2, #00000000);
    --hero-padding: 120px 60px;
    --module-overlay-color: #010110b0;
    --module-overlay-blur: 0px;
    --module-padding: 60px;
    --tele-overlay-color: #397fb88b;
    --tele-overlay-blur: 0px;
    --tele-padding: 60px;
    --teleradio-overlay-color: #050a30b0;
    --teleradio-overlay-blur: 0px;
    --teleradio-padding: 60px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;


}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    color: #333;
    background: #f8f9fb;
}

/* Seções sem margem inferior */
.hero,
.module,
.telemedicina,
.teleradio {
    margin-bottom: 0;
}

/* Header */

/* Header */
.header1 {
    background: #ffffff;
    padding: 0px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    font-family: 'Montserrat', sans-serif;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Navbar */
.Hnavbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

/* Logo - desktop */
.logo-container {
    flex-shrink: 0;
}

.logo {
    max-width: 400px;
    /* desktop */
    height: auto;
    display: block;
}

/* Links desktop */
.nav-links {
    display: flex;
    gap: 25px;
    transition: all 0.3s ease-in-out;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    padding: 8px 12px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
    color: #0362C0;
    transform: scale(1.05);
}

/* Menu hamburguer */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    display: none;
    width: 28px;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile */
@media screen and (max-width: 800px) {
    .Hnavbar {
        justify-content: space-between;
        padding: 0 10px;
    }

    .logo {
        max-width: 80%;
        /* reduz a logo no mobile */
        height: auto;
    }

    .logo img {
        max-width: 100%;
        /* reduz a logo no mobile */
        height: auto;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle .bar {
        display: flex;
    }

    /* Menu dropdown */
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 15px;
        background-color: #fff;
        position: absolute;
        top: 70px;
        right: 10px;
        width: 200px;
        padding: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        transition: all 0.3s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        opacity: 1;
        transform: translateX(0);
        transition: none;
    }
}

/* Delay links menu mobile */
.nav-links.active a:nth-child(1) {
    transition-delay: 0.1s;
}

.nav-links.active a:nth-child(2) {
    transition-delay: 0.2s;
}

.nav-links.active a:nth-child(3) {
    transition-delay: 0.3s;
}

.nav-links.active a:nth-child(4) {
    transition-delay: 0.4s;
}

/* Hamburger → X */
.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* PAROU */

/* Hero Section */
.hero {
    height: 70vh;
    background-image: url("../Imagens/IndexBg1.jpeg");
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    display: flex;
    align-items: sgtar;
    justify-content: flex-start;
    color: #ffffff;
    height: 100vh;

    padding: 40px 0px;
    background-color: #0362C0;
    background-image: url("../Imagens/BackgroundSaudCorp.jpg") center/cover no-repeat;
    /* imagem de fundo */
    background-size: cover;
    /* cobre todo o container */
    background-position: center;
    /* centraliza a imagem */
    background-repeat: no-repeat;
    /* não repete */
    display: flex;
    align-items: center;
    justify-content: center;
}



.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    /* ajuste a opacidade se quiser */
    z-index: 1;

}

.hero-content {

    max-width: 600px;
    /* limita a largura do texto */
    text-align: left;
    /* garante alinhamento à esquerda */
    background: var(--hero-bg-gradient);
    /* opcional: fundo semi-transparente para contraste */
    padding: 20px;
    margin-right: 50%;
    padding-left: 6%;
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* Textos */

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    padding-top: 1%;
    padding-bottom: 2%;
    line-height: 1em;
    font-weight: 400;
}

.hero-content .description {
    font-size: 1.3rem;
    margin-bottom: 20px;
}


/* === Seções principais === */
.module,
.telemedicina,
.teleradio {
    position: relative;
    display: flex;
    align-items: stretch;
    /* Força os filhos a ocuparem toda a altura */
    height: 500px;
    /* Altura reduzida para formato mais retangular */
    color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Backgrounds específicos para cada seção */
.module {
    background-image: url('Imagens/indexScorpp.jpg');

}

.telemedicina {
    background-image: url('Imagens/IndexBGTeleM.jpg');

}

.teleradio {
    background-image: url('Imagens/IndexBGTeleR.jpg');

}

/* Overlays coloridos para cada seção */
.module::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #010110b0;
    /* Overlay colorido - MODIFICÁVEL */
    z-index: 1;
}

.telemedicina::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #397fb88b;
    /* Overlay colorido - MODIFICÁVEL */
    z-index: 1;
}

.teleradio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050a30b0;
    /* Overlay colorido - MODIFICÁVEL */

}

/* === Containers de conteúdo === */
.module,
.telemedicina,
.teleradio {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 500px;
    color: #ffffff;
    /* Cor padrão herdada */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Backgrounds específicos */
.module {
    background-image: url('Imagens/indexScorpp.jpg');
}

.telemedicina {
    background-image: url('Imagens/IndexBGTeleM.jpg');
}

.teleradio {
    background-image: url('Imagens/IndexBGTeleR.jpg');
}

/* Overlays */
.module::before,
.telemedicina::before,
.teleradio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.module::before {
    background-color: #010110b0;
}

.telemedicina::before {
    background-color: #397fb88b;
}

.teleradio::before {
    background-color: #050a30b0;
}

/* Containers de conteúdo */
.module-content,
.tele-content,
.teleradio-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
}

/* Imagens */
.module-content .image,
.tele-content .image,
.teleradio-content .image {
    flex: 0 0 500px;
    height: 100%;
    overflow: hidden;
}

.module-content .image img,
.tele-content .image img,
.teleradio-content .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Textos */
.module-content .text,
.tele-content .text,
.teleradio-content .text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px;
    position: relative;
}

.module-content .text {
    text-align: right;
}

.tele-content .text {
    text-align: left;
}

.teleradio-content .text {
    text-align: right;
}

/* Tipografia */
.module-content h2,
.tele-content h2,
.teleradio-content h2,
.module-content h3,
.tele-content h3,
.teleradio-content h3,
.module-content p,
.tele-content p,
.teleradio-content p {
    color: #ffffff;
    /* Garante que TODO o texto seja sempre branco */
}

h2 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
    font-weight: 500;
}

h3 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 15px;
    opacity: 0.9;
    letter-spacing: 1px;
}

p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.95;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1e5bb8;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    background-color: #0056b3;
}

.module-content .btn,
.teleradio-content .btn {
    position: absolute;
    bottom: 40px;
    right: 100px;
    margin: 0;
}

/* Ordem do Layout */
.tele-content {
    flex-direction: row;
}

/* =============================================== */
/* === REGRAS DE RESPONSIVIDADE (MOBILE-FRIENDLY) === */
/* =============================================== */

@media (max-width: 992px) {

    .module,
    .telemedicina,
    .teleradio {
        height: auto;
    }

    .module-content,
    .tele-content,
    .teleradio-content {
        flex-direction: column !important;
    }

    .module-content .image,
    .tele-content .image,
    .teleradio-content .image {
        flex-basis: 300px;
        width: 100%;
    }

    .module-content .text,
    .tele-content .text,
    .teleradio-content .text {
        padding: 40px;
        text-align: center !important;
        /* CORREÇÃO: Adiciona um fundo escuro ao texto no mobile para contraste */
        background-color: #bdbdbd1e;
        /* Fundo escuro com 90% de opacidade */
    }

    .btn {
        align-self: center !important;
    }

    .module-content .btn,
    .teleradio-content .btn {
        position: static;
        margin-top: 20px;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 0.9rem;
    }

    p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {

    .module-content .text,
    .tele-content .text,
    .teleradio-content .text {
        padding: 30px 25px;
    }

    .module-content .image,
    .tele-content .image,
    .teleradio-content .image {
        flex-basis: 250px;
    }

    h2 {
        font-size: 1.8rem;
    }
}

/* PAROU */
/* Botões */


/* FAQ */
.faq {
    background:
        linear-gradient(rgb(4, 0, 31), rgb(0, 0, 0)),
        url('../Imagens/FaqBack.jpg') center/cover no-repeat;
    padding: 40px 0;
    color: #fff;
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
}

.faq-item {
    width: 80%;
    margin: 0 auto 15px auto;
    position: relative;
    color: white;
}

.faq-question {
    width: 100%;
    padding: 15px 15px 15px 45px;
    text-align: left;
    background-color: #0d5dae70;
    color: #fff;
    border: 1px solid #0362c0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s, transform 0.2s;
    position: relative;
}

.faq-question:hover {
    background-color: #D0F4FD;
    color: black;
    transform: translateX(3px);
}

.faq-question::before {
    content: '\2713';
    position: absolute;
    left: 15px;
    font-size: 1.2rem;
    color: #0080ff;
}

.faq-question::after {
    content: '\276F';
    font-size: 1.5rem;
    transition: transform 0.3s;
    color: #fff;
}

.faq-item.active .faq-question::after {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    margin-top: 5px;
    font-size: 1rem;
    color: #fff;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px 15px;
    margin-bottom: 20px;
    max-height: 600px;
}

.faq-answer p {
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: #17181e;
    color: #fff;
    padding: 50px 20px;
    /* aumentei o padding */
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    margin: 0 auto;
    gap: 25px;
    /* espaço maior entre logo e texto */
}

.footer-image img {
    width: 450px;
    /* logo maior */
    height: auto;
    border-radius: 8px;
    padding-left: 8%;
}

.footer-text p {
    margin: 8px 0;
    font-size: 1rem;
    color: white;
}

.footer-text p a {
    color: #00aaff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    /* espaço entre ícone e texto */
    transition: color 0.3s;
}

.footer-text p a:hover {
    color: #ffffff;
}

.footer-text p:last-child {
    font-size: 0.9rem;
    opacity: 0.8;
}



/* Layout lado a lado em telas grandes */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
    }


    .footer-text {
        max-width: 500px;
    }
}

/* RESPONSIVO MOBILE */
@media (max-width: 800px) {
    .footer-content img {
        max-width: 100%;
    }

    .hero::before {
        background-color: rgba(0, 0, 0, 0);
        backdrop-filter: blur(0px);

    }

    .hero-content {
        background: #5b9dd284;
        margin: 0px;

    }


    .hero-content,
    .module-content,
    .tele-content,
    .teleradio-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        /* aumenta espaçamento */
        padding: 20px;
    }

    .module-content .text,
    .tele-content .text,
    .teleradio-content .text {
        text-align: center;
    }

    /* Hero textos */
    .hero-content .subtitle {
        color: #A0D8F1;
        /* azul claro */
        margin-bottom: 10px;
        font-size: 1.1rem;
    }

    .hero-content h1 {
        color: #FFFFFF;
        /* branco */
        font-size: 1.8rem;
        line-height: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-content .description {
        color: #D0F4FD;
        /* azul suave */
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-content .btn {
        margin-top: 15px;
    }

    /* Módulos e imagens */
    .module-content .image,
    .tele-content .image,
    .teleradio-content .image {
        max-width: 100%;
    }

    .module-content .text h2,
    .tele-content .text h2,
    .teleradio-content .text h2 {
        color: #f9f9f9;
        /* dourado */
        margin-bottom: 10px;
        font-size: 1.5rem;
    }

    .module-content .text h3,
    .tele-content .text h3,
    .teleradio-content .text h3 {
        color: rgb(140, 141, 184);
        /* azul forte */
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .module-content .text p,
    .tele-content .text p,
    .teleradio-content .text p {
        color: #E0E0E0;
        /* cinza claro */
        margin-bottom: 15px;
        line-height: 1.6rem;
    }

    .header1 {
        padding-bottom: 10px;

    }

}

.header1 {
    text-align: center;
    margin: 0%;
    position: relative;
    z-index: 100;

}

.Hnavbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 30px;

    background-color: #fff;
    /* ajuste conforme seu tema */
    position: relative;

    font-size: 17px;
}

.Hnavbar a {
    color: #000000;
    padding: 8px 12px;
    text-decoration: none;
    justify-content: right;

    transition: color 0.5s ease;
    width: auto;
}


.Hnavbar a:hover {
    color: #0362C0;

}

.Hnavbar img {
    margin-right: 13%;
    margin-left: 11%;


}

.Flexpai_telemedicina {
    display: flex;
    padding-top: 4%;
    background-size: auto;
    width: 100%;
    background-image: linear-gradient(#d0f4fde2, #d0f4fdc7), url(../Imagens/backgroundtelemed.jpg);
    background-size: cover;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 15%;

}

.Flexpai_telemedicina img {
    padding: 0%;
    object-position: left;
}

.flex_telemedicina {
    color: black;
    margin-left: 4%;
    font-size: 20px;
}

.flex_telemedicina h3 {
    padding-bottom: 20px;
}

.Flexpai_teleradiologia {
    display: flex;
    padding-top: 4%;
    background-size: auto;
    width: 100%;
    background-image: linear-gradient(#d0f4fdb4, #d0f4fd), url(../Imagens/backgrndradio.jpg);
    background-size: cover;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 15%;

}

.Flexpai_teleradiologia img {
    padding: 0%;
    object-position: left;
}

.flex_teleradiologia {
    color: black;
    margin-left: 4%;
    font-size: 20px;
}

.flex_teleradiologia h1 {
    color: black;
    font-size: 38px;
}

.flex_teleradiologia h2 {
    color: #3a87d4;
    font-size: 28px;

}

.flex_teleradiologia h4 {
    color: rgb(141, 141, 141);
    font-size: 24px;

}

.LocBotao_telemedicina {
    color: rgb(2, 165, 146);
    margin-top: 3%;

}

.botao_telemedicina {

    background: black;
    color: white;
    padding: 10px;
    border-radius: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px 30px 10px 30px;
    text-decoration: none;
}

.botao_telemedicina:hover {
    background: #0362C0;
}

.LocBotao_teleradiologia {
    color: rgb(2, 165, 146);
    margin-top: 3%;
    font-size: 22px;

}

.botao_teleradiologia {

    background: black;
    color: white;
    padding: 10px;
    border-radius: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px 30px 10px 30px;
    text-decoration: none;
}

.botao_teleradiologia:hover {
    background: #04c40d;
}

.MRblue {
    background-color: #0362C0;
    padding: 2px;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    padding: 5px;
}


/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 2rem 0;
}

.container h2 {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 2rem 0;
    font-size: 38px;

}

/* Header */
header {
    background: #0366d6;
    padding: 1rem 0;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: .3s;
}

nav a:hover {
    color: #4da6ff;
}

/* Botões */
.btn {
    background: #004aad;
    color: #fff;
    padding: .8rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: .3s;
    display: inline-block;
}

.btn:hover {
    background: #4da6ff;
    color: #0a0a0a;
}

/* Hero */


.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}



/* FAQ */
.faq-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.faq-card {
    background: #111;
    border-radius: 10px;
    flex: 1 1 calc(33% - 1rem);
    padding: 1rem;
    transition: all .3s;
}

.faq-card details summary {
    cursor: pointer;
    font-weight: bold;
    color: #4da6ff;
}

.faq-card details p {
    margin-top: .5rem;
    color: #f5f5f5;
}



/* Responsividade */
@media(max-width:800px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .beneficio-item {
        flex: 1 1 100%;
    }

    .flex-por-que {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-card {
        flex: 1 1 100%;
    }

    .MRblue {
        background-color: #ffffff;
        color: #0362C0;
        font-weight: bold;
    }
}

/* Saude corporativa */
/* Hero-SC */
.hero-SC {
    position: relative;
    display: flex;
    align-items: center;
    /* centraliza vertical */
    justify-content: center;
    /* centraliza horizontal */
    padding: 100px 60px;
    height: 100vh;
    /* ocupa toda a altura da tela */
    background-size: cover;
    background-position: center;
    color: #fff;
}


.hero-SC::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 3, 0.536);

}

.hero-conteudo-SC {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: center;
    justify-content: center
}

.hero-titulo-SC {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: center;
    max-width: 900px;
    /* aumenta largura para não quebrar em 3 linhas */
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
}

.hero-subtitulo-SC {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #f1f1f1;
}

.hero-btn-SC {
    display: inline-block;
    padding: 12px 30px;
    background: #0362C0;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s ease;
}

.hero-btn-SC:hover {
    background: #013467;
}

/* Responsivo */
@media (max-width: 800px) {
    .hero-SC {
        padding: 60px 20px;
        height: auto;
        text-align: center;
        justify-content: center;
    }

    .hero-conteudo-SC {
        text-align: center;
    }

    .hero-titulo-SC {
        font-size: 2rem;
    }

    .hero-subtitulo-SC {
        font-size: 1rem;
    }
}

/* Grid */
.sobre {
    background: #0362c046 url(../Imagens/FundoSc.jpg);
}

.textSCorp {
    color: #ffffff;
    font-size: 30px;
}

.textSCorp h2 {
    color: #ffffff;
    font-size: 30px;
}

.textSCorp p {
    color: #ffffff;
    font-size: 24px;
    text-align: justify;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Benefícios */
.beneficios {
    padding: 4rem;
}

.beneficios-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.beneficio-item {
    background: #111;
    color: #fff;
    border-left: 4px solid #4da6ff;
    border-radius: 10px;
    padding: 1.5rem;
    flex: 1 1 calc(33% - 1.5rem);
    transition: transform .3s, box-shadow .3s;
}

.beneficio-item h3 {
    text-align: center;

}

.beneficio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(3, 102, 214, 0.5);
}

/* Como Funciona - Linha do tempo */
.como-funciona {
    padding: 6rem 2rem;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.353), rgba(2, 2, 2, 0.562)), url(../Imagens/Teste6.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    font-size: 24px;
    color: white;
}

.container-CM {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 2rem 0;
    ;
}

.timeline-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 4rem;
    align-items: flex-start;
}

.timeline-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fff, #6981a0);
    width: 100%;
    transform: translateY(-50%);
    z-index: 0;
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    background: #111;
    border: 4px solid #4da6ff;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    top: 0;
    transition: all .3s ease;
}

.timeline-dot:hover {
    transform: scale(1.3);
    border-color: #fff;
}

.timeline-card {
    background: #111;
    color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    width: 220px;
    text-align: center;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transition: transform .3s, box-shadow .3s;
    min-height: 235px;
    /* Adicionado para uniformizar a altura */
}

.timeline-card h3 {
    font-size: 1.2rem;
    margin-bottom: .5rem;
    color: #4da6ff;
}

.timeline-card p {
    font-size: .95rem;
    line-height: 1.6;
}

.timeline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

/* PAROU */
/* Planos */
.plano-card {
    background: #111;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    margin: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);

}

.planos p {
    color: white;
    margin: 0;
    font-size: 1em;
    margin-bottom: 20px;

}

.planos h3 {
    color: white;
    font-size: 1.17rem;
    font-weight: bold;
    margin: 0px;
}

.planos h2 {

    font-weight: bolder;

}

.plano-card .preco {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: #4da6ff;
}

/* Parceiros */
.por-que-SC {
    padding: 4rem 2rem;
    background-color: #01407f;
    text-align: center;
    padding: 0;
}

.por-que-SC h2 {
    color: #fff;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

/* Linha de ícones */
.icons-SC {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-bottom: 2.5rem;
}

.icons-SC img {
    width: 250px;
    /* maior */
    height: 150px;
    object-fit: contain;
}

/* Linha de frases lado a lado */
.frases-SC {
    display: flex;
    /* A propriedade flex-wrap foi removida para impedir a quebra de linha */
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 2rem 0;
    /* Padding vertical, sem padding horizontal no container */
    background-color: #003366;
    border-radius: 10px;
    border: 1px solid #005a9e;
}

.frases-SC p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    font-weight: 400;
    margin: 0;
    padding: 0 2rem;
    /* Espaço lateral para o texto e a linha */
    position: relative;
    flex-shrink: 0;
    /* Impede que os itens encolham */
    width: 270px;
    /* Largura fixa para cada item */
}

/* Cria a linha vertical à direita de cada parágrafo */
.frases-SC p::after {
    content: '';
    position: absolute;
    top: 10%;
    bottom: 10%;
    right: 0;
    width: 1px;
    background-color: #ffffff50;
    /* Linha branca com transparência */
}

/* Remove a linha do último parágrafo */
.frases-SC p:last-child::after {
    display: none;
}

/* Responsividade */
@media (max-width: 992px) {
    .icons-SC {
        gap: 3rem;
    }

    .icons-SC img {
        width: 120px;
        height: 120px;
    }

    .frases-SC {
        gap: 2rem;
        flex-wrap: wrap;
    }

    .frases-SC p {
        max-width: 45%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 600px) {
    .icons-SC {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .icons-SC img {
        width: 100px;
        height: 100px;
    }

    .frases-SC p {
        max-width: 100%;
        text-align: center;
    }
}

/* TELEMEDICINA */
.hero-TM {
    background: #0362C0;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.logo-TM {
    width: 250px !important;
    height: auto !important;
    /* mantém proporção */
    max-width: 100%;
    margin-bottom: 30px;
    display: block;
}

.hero-title-TM {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: white;
}

.hero-subtitle-TM {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.6;
    color: #d0f4fd;
}

.cta-btn-TM {
    background-color: #d0f4fd;
    color: #0362C0;
    padding: 20px 40px;
    font-size: 1.3rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-btn-TM:hover {
    background-color: #fff;
    color: #0362C0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ==================== TELEMEDICINA ==================== */
.telemedicina-bg-TM {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    background-image: url('../Imagens/TMImg1.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.telemedicina-bg-TM::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.65);
    z-index: 0;
}

.telemedicina-container-TM {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.telemedicina-text-TM {
    flex: 1 1 500px;
    text-align: left;
    padding: 25px;
    background: linear-gradient(to right, #f7f7f7e5, #ffffffb8);
    border-radius: 12px;
}

.telemedicina-text-TM .section-title-TM {
    font-size: 56px;
    color: #0362C0;
    margin-bottom: 35px;
    font-weight: 700;
}

.boanoite {
    text-align: center;
    font-size: 24px;
}

.bomdia {
    color: #7d7d7d;
    font-size: 16px;
}

.marcatxt {
    background: rgb(255, 255, 255);
    padding: 5px;
    border-radius: 8px;
    color: #0362C0;
}

.telemedicina-text-TM .section-text-TM {
    font-size: 20px;
    margin-bottom: 30px;
    color: #000;
    text-align: justify;
}

.telemedicina-text-TM .section-list-TM {
    list-style: none;
    padding-left: 0;
}

.telemedicina-text-TM .section-list-TM li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 16px;
    font-size: 18px;
}

.telemedicina-text-TM .section-list-TM li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #0362C0;
}

.telemedicina-image-TM {
    flex: 1 1 500px;
    height: 350px;
    background-color: #cccccc;
    border-radius: 15px;
    background-image: url('../Imagens/TMImgemF.jpg');
    background-size: cover;
    background-position: center;

}

.section-center-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #0362C0;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 768px) {
    .telemedicina-container-TM {
        flex-direction: column;
        gap: 20px;
        padding: 0 10px;
        /* garante que não ultrapasse a tela */
    }

    .telemedicina-text-TM {
        flex: 1 1 100%;
        padding: 15px;
        text-align: center;
        /* centraliza o texto no mobile */
    }

    .telemedicina-text-TM .section-title-TM {
        font-size: 32px;
        /* menor que no desktop */
        margin-bottom: 20px;
    }

    .telemedicina-text-TM .section-text-TM {
        font-size: 16px;
        /* menor que no desktop */
        margin-bottom: 20px;
    }

    .telemedicina-text-TM .section-list-TM li {
        font-size: 16px;
        padding-left: 25px;
    }

    .telemedicina-image-TM {
        flex: 1 1 100%;
        width: 100%;
        height: 250px;
        /* altura proporcional para mobile */
        border-radius: 12px;
    }
}

/*  Beneficios Principales - Cards  */
.beneficios-principales-bg {
    background: #e0f4fd;
    padding: 40px 20px;
}

.beneficios-principales-title {
    text-align: center;
    font-size: 2.5rem;
    color: #0362C0;
    margin-bottom: 30px;
}

.beneficios-principales-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.beneficio-card {
    background: #ffffff;
    padding: 20px 15px;
    border-radius: 12px;
    flex: 1 1 200px;
    max-width: 220px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beneficio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.beneficio-icon {
    height: 90px;
    /* espaço para o ícone */
    margin-bottom: 10px;
}

.beneficio-icon img {
    max-height: 100%;
    width: auto;
}

.beneficio-label {
    font-weight: 700;
    color: #0362C0;
    font-size: 1.1rem;
    margin-bottom: 8px;
    /* espaço entre a palavra e o texto do benefício */
}

/* ==================== BENEFÍCIOS (CARDS) ==================== */
.beneficios-bg-TM {
    background: linear-gradient(135deg, #0362C0, #d0f4fd);
    padding: 50px 20px;
}

.table-bg-TM {
    background: #e0f4fd;
    border-radius: 8px;
    overflow: hidden;
}

.cards-TM {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card-TM {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    flex: 1 1 220px;
    max-width: 260px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-icon-TM {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0362C0;
    border-radius: 50%;
}

.card-icon-TM img {
    width: 50%;
    height: 50%;
}

.card-title-TM {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0362C0;
    margin-bottom: 10px;
}

.card-TM p {
    font-size: 16px;
    color: #000;
}

/* ==================== PLANES Y PRECIOS ==================== */
.pricing-bg-TM {
    width: 100%;
    background: linear-gradient(#00c6f800, #d0f4fd00), url("../Imagens/FundoSc.jpg");
    padding: 50px 20px;
    table-layout: auto;
    /* permite que as colunas se ajustem ao conteúdo */
    border-collapse: collapse;
}

/* A ESPERA DE UM MILAGRE
.pricing-container-TM {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: stretch;
    margin-top: 40px;
    margin-bottom: 20px;
}

.pricing-card-TM {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* distribui título, tabela e botão 
    align-items: center;
    flex: 1 1 350px;
    max-width: 500px;
    background: #ffffff;
    border-radius: 12px;
    padding: 22px 18px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.pricing-icon-large {
    width: 250px;
    height: 130px;
    margin: 10px 0;
    object-fit: contain;
    padding-bottom: 0px;
}
 */
.pricing-desc {
    font-size: 1rem;
    color: #555;
    margin: 8px 0 15px;
}

.pricing-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #0362C0;
    margin-top: 12px;
}

.pricing-card-TM:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.pricing-card-TM h3 {
    margin-bottom: 15px;
    text-align: center;
}

.pricing-table-TM {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    /* colunas iguais */
    background: #e0f4fd;
    border-radius: 8px;
    margin-bottom: 15px;
    flex-grow: 1;
    /* tabela ocupa espaço restante */
}

.pricing-table-TM th,
.pricing-table-TM td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: center;
    vertical-align: middle;
    font-size: 1rem;
}

.pricing-table-TM th {
    background: #0362C0;
    color: #fff;
}

.btn-TM {
    display: none;
    margin-top: auto;
    /* botão sempre no final */
    align-self: center;
    background: #0362C0;
    color: #fff;
    padding: 14px 35px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-TM:hover {
    background: #024a8c;
}

.note-TM {
    text-align: center;
    margin-top: 18px;
    font-size: 0.95rem;
    color: #ffffff;
}

/* Responsividade */
@media screen and (max-width: 992px) {
    .pricing-container-TM {
        flex-direction: column;
        align-items: center;
    }
}

/* ==================== FAQ ==================== */
.faq-item-TM {
    background: #d0f4fd;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item-TM:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.faq-question-TM {
    font-weight: 700;
    color: #0362C0;
}

.faq-answer-TM {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 0;
    color: #000000;
    margin-top: 10px;
}

.SEXTION-SONO-TM {
    background: black;
    color: rgb(255, 255, 255);
    text-align: center;
}

/* ==================== RESPONSIVIDADE ==================== */
@media screen and (max-width: 992px) {

    .cards-TM,
    .pricing-container-TM {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 800px) {
    .hero-title-TM {
        font-size: 36px;
    }

    .hero-subtitle-TM {
        font-size: 16px;
    }

    .telemedicina-container-TM {
        flex-direction: column;
        align-items: center;
    }

    .telemedicina-text-TM {
        text-align: center;
    }

    .telemedicina-image-TM {
        width: 100%;
        height: 250px;
    }

    .cta-btn-TM,
    .plan-cta-btn-TM {
        padding: 14px 25px;
        font-size: 14px;
    }
}

/* ==================== PLANES Y PRECIOS (PDF) ==================== */
.pricing-pdf-section {
    background-image: url('../Imagens/Teste7.jpg');
    /* Substitua pelo caminho da sua imagem */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0%;
    text-align: center;
    position: relative;
    /* Necessário para o overlay */
    overflow: hidden;
    /* Garante que o pseudo-elemento fique dentro */
}

.pricing-pdf-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 255, 0);
    /* Overlay escuro para melhorar a legibilidade do texto */
    z-index: 0;
}

.pricing-pdf-section>* {
    position: relative;
    z-index: 1;
    /* Garante que o conteúdo fique acima do overlay */
}

.pricing-card-TM {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex: 1 1 350px;
    max-width: 500px;
    background: #ffffff;
    border-radius: 12px;
    padding: 22px 18px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 0px;
}

.pricing-card-TM img {
    height: auto;
}

.pricing-pdf-title {
    font-size: 2.5rem;
    color: #1879da;
    padding: 50px 0;
    /* Padding vertical mantido */

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    margin: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.pricing-pdf-title::after {
    content: "Planes y Precios";
    background-color: rgba(255, 255, 255, 0.95);
    /* Fundo branco semi-transparente apenas para o texto */
    padding: 20px 40px;
    /* Padding branco ao redor do texto */
    border-radius: 15px;
    /* Bordas arredondadas */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* Sombra sutil */
    font-size: inherit;
    color: inherit;
    font-weight: bold;
}

.pricing-icon-large {
    width: 250px;
    height: 130px;
    margin: 10px 0;
    object-fit: contain;
    margin: 0px;
}

/* Separadores das seções */
.section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 10vb;
    background-color: #08145f00;

}

.section-separator span {
    font-size: 2.2rem;
    font-weight: bold;
    color: #ffffff;
    position: relative;
    z-index: 1;
    margin: 0 20px;
    /* espaço entre o texto e as linhas */
}

.section-separator::before,
.section-separator::after {
    content: "";
    width: 0%;
    flex: 1;
    /* faz a linha ocupar todo o espaço disponível */
    height: 2px;
    background-color: #ffffff;
}

.section-separator::before {
    margin-right: 20px;
}

.section-separator::after {
    margin-left: 20px;
}

/* PAROU */

/* Layout geral das seções */
.pricing-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    row-gap: 4vh;
    column-gap: 30%;
    flex-wrap: wrap;
    margin: 0;
    border-radius: 0;
    width: 100vw;
    padding: 0px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-radius: 0;
    overflow-x: hidden;
    padding-bottom: 30px;


}

.main-card {
    flex: 1;
}

/* Cores de fundo diferentes */
.plan1-bg {
    position: relative;
    background-color: #08145f00;
    /* background: url(Imagens/TM-planos.jpg) center/cover no-repeat; */
    overflow: hidden;
    padding-top: 4vh;
    /* garante que o pseudo-elemento fique dentro */
}

/* Blur overlay */
.plan1-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    /* herda a imagem de fundo */
    filter: blur(25px);
    /* intensidade do blur */
    z-index: 0;
}

/* Conteúdo do plano acima do blur */
.plan1-bg>* {
    position: relative;
    z-index: 1;
}

/* Cores de fundo diferentes */
.plan2-bg {
    display: flex;
    position: relative;
    background-color: #08145f00;
    /* background: url(Imagens/TM-planos.jpg) center/cover no-repeat; */
    overflow: hidden;


    /* garante que o pseudo-elemento fique dentro */
}

/* Blur overlay */
.plan2-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    /* herda a imagem de fundo */
    filter: blur(25px);
    /* intensidade do blur */
    z-index: 0;

}

/* Conteúdo do plano acima do blur */
.plan2-bg>* {
    position: relative;
    z-index: 1;

}

/* Cores de fundo diferentes */
.plan3-bg {
    position: relative;
    background-color: #08145f00;
    /* background: url(Imagens/TM-planos.jpg) center/cover no-repeat; */
    overflow: hidden;
    /* garante que o pseudo-elemento fique dentro */
}

/* Blur overlay */
.plan3-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    /* herda a imagem de fundo */
    filter: blur(25px);
    /* intensidade do blur */
    z-index: 0;
}

/* Conteúdo do plano acima do blur */
.plan3-bg>* {
    position: relative;
    z-index: 1;
}

/* Card principal */
.main-card {
    background: #fff;
    padding: 0px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-card h3 {
    color: #0362C0;
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: bold;
}

.main-card p {
    margin: 5px 0;
    font-size: 1.3rem;
    color: #333;
}



.pricing-value {
    font-weight: bold;
    color: #024a8c;
    margin-top: 10px;
}

/* Mini cards */
.pricing-row.plan3-bg .mini-cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-right: 0;
    margin-right: 7%;
    margin-left: -7%;
}

.mini-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    flex: 0;
    justify-content: center;
    min-width: 280px;
    padding-right: 25vh;
}

.mini-card {
    width: 300px;
    height: 180px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 15px 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mini-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mini-duration {
    color: #249cfff1;
    font-weight: bold;
    font-size: 1.4rem;
}

.mini-price {
    font-size: 1.4rem;
    margin: 8px 0;
    color: #ffffff;
    font-weight: bolder;
}

.mini-btn {
    display: inline-block;
    background: #ddedff;
    color: rgb(86, 86, 86);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.mini-btn:hover {
    background: #a4dfff;
    color: black;
}

/* Nota final */
.pricing-pdf-note {
    font-size: 1rem;
    color: #333;
    max-width: 100%;
    width: 100vw;
    line-height: 1.5;
    padding-bottom: 50px 20px;
    background-image: url(Imagens/FundoSc.jpg);
    /*background: #cde5fb;  */
    text-align: center;
    font-style: center;
    box-sizing: border-box;
}

.pricing-pdf-note p {
    width: 100%;
    margin: 0;
}

/* Responsivo */
@media (max-width: 768px) {
    .pricing-row {
        flex-direction: column;
        align-items: center;
    }
    .pricing-row.plan3-bg .mini-cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    padding-right: 0;
    margin-right: 0%;
    margin-left: 0%;
}
    .mini-cards-container {
        grid-template-columns: 1fr;

        .pricing-pdf-section {
            background: #ffffff;
            padding: 0%;
            text-align: center;
        }

        /* Título */
        .pricing-pdf-title {
            font-size: 2.5rem;
            color: #1879da;
            margin: 50px 0;
        }

        /* Layout das linhas de preços */
        .pricing-row {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            padding: 60px 20px;
            width: 100%;
            background-size: cover;
            background-position: center;
        }

        /* Separadores */
        .section-separator {
            text-align: center;
            background-color: #000;
            width: 100%;
            padding: 15px 0;
        }

        .section-separator span {
            font-size: 1.8rem;
            font-weight: bold;
            color: #fff;
            position: relative;
        }

        .section-separator span::before,
        .section-separator span::after {
            content: "";
            position: absolute;
            top: 50%;
            width: 50px;
            height: 2px;
            background-color: #b4b5b6;
        }

        .section-separator span::before {
            right: 100%;
            margin-right: 10px;
        }

        .section-separator span::after {
            left: 100%;
            margin-left: 10px;
        }

        /* Card principal */
        .pricing-card-TM {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            max-width: 500px;
            background: #fff;
            border-radius: 12px;
            padding: 22px;
            width: 100%;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;

        }

        .pricing-card-TM img {
            max-width: 100%;
            height: auto;
        }

        /* Mini cards */
        .mini-cards-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            width: 100%;
            max-width: 650px;
            margin-bottom: 20px;
        }

        .mini-card {
            width: 100%;
            height: 180px;
            background-color: #87bbf91f;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 15px 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
            transition: all 0.2s ease;
        }

        .mini-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
        }

        .mini-duration {
            color: #249cfff1;
            font-weight: bold;
            font-size: 1.4rem;
        }

        .mini-price {
            font-size: 1.4rem;
            font-weight: bolder;
            color: #ffffff;
        }

        .mini-btn {
            background: #ddedff;
            color: #565656;
            padding: 8px 18px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: bold;
        }

        .mini-btn:hover {
            background: #a4dfff;
            color: black;
        }

        .pricing-row.plan3-bg .mini-cards-container {
            width: 100%;
            margin-right: 0%;
            margin-left: 0%;
        }

        /* Nota final */
        .pricing-pdf-note {
            font-size: 1rem;
            color: #333;
            background: #ffdcdc;
            text-align: center;
            padding: 50px 20px;
            width: 100%;
            box-sizing: border-box;
        }

        /* Responsivo */
        @media(max-width:768px) {
            .mini-cards-container {
                grid-template-columns: 1fr;
            }

            .mini-card {
                height: auto;
            }

            .section-separator span::before,
            .section-separator span::after {
                width: 30px;
            }
        }

    }

    .section-separator span::before,
    .section-separator span::after {
        width: 100px;
    }

    .mini-card {
        width: 200px;
        /* largura fixa menor para mobile */
        height: auto;
        /* altura automática para se ajustar ao conteúdo */
    }
}

/* PAROU */

/* Layout geral das seções */
.pricing-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    row-gap: 4vh;
    column-gap: 30%;
    flex-wrap: wrap;
    margin: 0;
    border-radius: 0;
    width: 100vw;
    padding: 0px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-radius: 0;
    overflow-x: hidden;
    padding-bottom: 30px;


}

.main-card {
    flex: 1;
}

/* Cores de fundo diferentes */
.plan1-bg {
    position: relative;
    background-color: #08145f00;
    /* background: url(Imagens/TM-planos.jpg) center/cover no-repeat; */
    overflow: hidden;
    padding-top: 4vh;
    /* garante que o pseudo-elemento fique dentro */
}

/* Blur overlay */
.plan1-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(25px);
    z-index: 0;
}

/* Conteúdo do plano acima do blur */
.plan1-bg>* {
    position: relative;
    z-index: 1;
}

.plan2-bg {
    display: flex;
    position: relative;
    background-color: #08145f00;
    overflow: hidden;
}

/* Blur overlay */
.plan2-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    /* herda a imagem de fundo */
    filter: blur(25px);
    /* intensidade do blur */
    z-index: 0;

}

/* Conteúdo do plano acima do blur */
.plan2-bg>* {
    position: relative;
    z-index: 1;

}

/* Cores de fundo diferentes */
.plan3-bg {
    position: relative;
    background-color: #08145f00;
    /* background: url(Imagens/TM-planos.jpg) center/cover no-repeat; */
    overflow: hidden;
    /* garante que o pseudo-elemento fique dentro */
}

/* Blur overlay */
.plan3-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    /* herda a imagem de fundo */
    filter: blur(25px);
    /* intensidade do blur */
    z-index: 0;
}

/* Conteúdo do plano acima do blur */
.plan3-bg>* {
    position: relative;
    z-index: 1;
}

/* Card principal */
.main-card {
    background: #fff;
    padding: 0px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-card h3 {
    color: #0362C0;
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: bold;
}

.main-card p {
    margin: 5px 0;
    font-size: 1.3rem;
    color: #333;
}



.pricing-value {
    font-weight: bold;
    color: #024a8c;
    margin-top: 10px;
}

/* Mini cards */
.mini-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    flex: 0;
    justify-content: center;
    min-width: 280px;
    padding-right: 25vh;
    text-align: center;
}

.mini-card {
    width: 300px;
    height: 180px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 15px 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mini-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mini-duration {
    color: #001eff;
    font-weight: bold;
    font-size: 1.4rem;

}

.mini-price {
    font-size: 1.4rem;
    margin: 8px 0;
    color: #fff;
    font-weight: bolder;
}

.mini-btn {
    display: inline-block;
    background: #ddedff;
    color: rgb(86, 86, 86);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.mini-btn:hover {
    background: #a4dfff;
    color: black;
}

/* Nota final */
.pricing-pdf-note {
    font-size: 1rem;
    color: #ffffff;
    max-width: 100%;
    width: 100vw;
    line-height: 1.5;
    padding-bottom: 50px 20px;
    /* background-image: url(../Imagens/FundoSc.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;*/
    background: #00012aea;
    text-align: center;
    font-style: center;
    box-sizing: border-box;
    text-decoration: bold;

}

.pricing-pdf-note::before {
    background: blue;
    /* herda a imagem de fundo */
    filter: blur(250px);
    /* intensidade do blur */
    z-index: 0;
}

.pricing-pdf-note p {
    width: 100%;
    color: rgb(255, 255, 255);

}

/* Responsivo */
@media (max-width: 768px) {
    .pricing-row {
        flex-direction: column;
        align-items: center;
    }

    .mini-cards-container {
        grid-template-columns: 1fr;
        padding-right: 0vh;


        .pricing-pdf-section {
            background: #ffffff;
            padding: 0%;
            text-align: center;
        }

        /* Título */
        .pricing-pdf-title {
            font-size: 2.5rem;
            color: #1879da;
            margin: 50px 0;
        }

        /* Layout das linhas de preços */
        .pricing-row {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            padding: 60px 20px;
            width: 100%;
            background-size: cover;
            background-position: center;
        }

        /* Separadores */
        .section-separator {
            text-align: center;
            background-color: #000;
            width: 100%;
            padding: 15px 0;
            color: black;

        }

        .section-separator span {
            font-size: 1.8rem;
            font-weight: bold;
            color: #fff;
            position: relative;
        }

        .section-separator span::before,
        .section-separator span::after {
            content: "";
            position: absolute;
            top: 50%;
            width: 50px;
            height: 2px;
            background-color: #b4b5b6;
        }

        .section-separator span::before {
            right: 100%;
            margin-right: 10px;
        }

        .section-separator span::after {
            left: 100%;
            margin-left: 10px;
        }

        /* Card principal */
        .pricing-card-TM {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            max-width: 500px;
            background: #fff;
            border-radius: 12px;
            padding: 22px;
            width: 100%;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;

        }

        .pricing-card-TM img {
            max-width: 100%;
            height: auto;
        }

        /* Mini cards */
        .mini-cards-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            width: 100%;
            max-width: 650px;
            margin-bottom: 20px;
        }

        .mini-card {
            width: 100%;
            height: 180px;
            background-color: #87bbf91f;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 15px 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
            transition: all 0.2s ease;
        }

        .mini-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
        }

        .mini-duration {
            color: #249cfff1;
            font-weight: bold;
            font-size: 1.4rem;
        }

        .mini-price {
            font-size: 1.4rem;
            font-weight: bolder;
            color: #ffffff;
        }

        .mini-btn {
            background: #ddedff;
            color: #565656;
            padding: 8px 18px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: bold;
        }

        .mini-btn:hover {
            background: #a4dfff;
            color: black;
        }

        /* Nota final */
        .pricing-pdf-note {
            font-size: 1rem;
            color: #333;
            background: #ffdcdc;
            text-align: center;
            padding: 50px 20px;
            width: 100%;
            box-sizing: border-box;
        }

        /* Responsivo */
        @media(max-width:768px) {
            .mini-cards-container {
                grid-template-columns: 1fr;
            }

            .mini-card {
                height: auto;
            }

            .section-separator span::before,
            .section-separator span::after {
                width: 30px;
            }
        }

    }

    .section-separator span::before,
    .section-separator span::after {
        width: 100px;
    }

    .mini-card {
        width: 200px;
        /* largura fixa menor para mobile */
        height: auto;
        /* altura automática para se ajustar ao conteúdo */
    }
}

/* ==================== TELEMEDICINA EMPRESAS ==================== */
.telemedicina-empresas-bg {
    position: relative;
    background: url('../Imagens/TMedEmpresarial.jpg ');
    /* sua imagem de fundo */
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    color: #ffffff;
    overflow: hidden;
}

.telemedicina-empresas-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, #d0f4fd00, #d0f4fdd8);
    /* cor e opacidade do filtro */
    z-index: 0;
}

.telemedicina-empresas-container {
    position: relative;
    z-index: 1;
    /* para ficar acima do overlay */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.telemedicina-empresas-text {
    flex: 1 1 500px;
    text-align: left;
    background: linear-gradient(90deg, #0a475a55, #061b2200);
    padding: 25px;
    /* adiciona espaço interno */
    border-radius: 12px;
}

.telemedicina-empresas-text h2 {
    margin-top: 0;
    /* opcional, para remover margens extras */
    margin-bottom: 20px;
    /* espaço entre título e lista */
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.telemedicina-empresas-list {
    list-style: none;
    padding: 0;

    padding: 30px;
}


.telemedicina-empresas-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: bold;


}

.telemedicina-icon {
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.telemedicina-empresas-image {
    flex: 1 1 400px;
    height: 350px;
    background: url('../Imagens/TMedIMGempres.jpg');
    /* sua imagem à direita */
    background-size: cover;
    background-position: center;
    border-radius: 15px;
}

/* Responsividade */
@media screen and (max-width: 992px) {
    .telemedicina-empresas-container {
        flex-direction: column;
    }

    .telemedicina-empresas-text,
    .telemedicina-empresas-image {
        flex: 1 1 100%;
        text-align: center;
    }

    .telemedicina-empresas-text {
        flex: 1 1 100%;
        text-align: center;
        background: linear-gradient(90deg, #0a475a55, #0a475a55);
        padding: 25px;
        border-radius: 12px;
    }

    .telemedicina-empresas-list li {
        padding-left: 0;
        margin: 16px;
    }

    .telemedicina-empresas-list li::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ================== Mobile Friendly ================== */
@media screen and (max-width: 900px) {

    /* Header */
    .Hnavbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-container {
        margin-bottom: 10px;
        height: auto;
        width: auto;

    }

    /* Menu hamburger */
    .menu-toggle {
        display: flex;
        cursor: pointer;
        margin-left: 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        padding: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        margin-top: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 10px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #ddd;
    }

    /* Hero */
    .hero-SC {
        padding: 100px 20px 60px;
        background-size: cover;
        background-position: center;
    }

    .hero-conteudo-SC h1 {
        font-size: 1.8rem;
    }

    .hero-conteudo-SC p {
        font-size: 1rem;
    }

    .hero-btn-SC {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Seções de conteúdo */
    .container.grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .image img,
    .textSCorp {
        width: 100%;
    }

    /* Benefícios */
    .beneficios-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Timeline */
    .timeline-container {
        flex-direction: column;
    }

    .timeline-card {
        width: 100%;
        margin-bottom: 15px;
    }

    /* Planos */
    .plano-card {
        width: 100%;
        text-align: center;
    }

    /* Por qué elegir */
    .icons-SC {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .frases-SC p {
        text-align: center;
    }

    /* FAQ */
    .faq-item button {
        width: 100%;
        text-align: left;
    }

    .faq-answer {
        width: 100%;
    }



}

/* SOBRE */


/* 
   HEADER
 */
header {
    background: #003366;
    color: white;
    padding: 2rem 10%;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

header p {
    font-size: 1.2rem;
}

/* 
   SOBRE A EQUIPE
 */
.sobre-equipo {
    position: relative;
    padding: 4rem 10%;
    color: white;
    overflow: hidden;
}


.sobre-equipo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../Imagens/BackSobre.jpg") center/cover no-repeat;
    filter: blur(3px) brightness(0.9) contrast(1.1) saturate(1.1);
    transform: scale(1.05);
    transition: transform 6s ease;
    z-index: 0;
}

.sobre-equipo:hover::before {
    transform: scale(1.1);

}


.sobre-equipo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 51, 102, 0.6), rgba(0, 51, 102, 0.6));
    z-index: 1;
}

.sobre-content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    background: rgba(0, 0, 0, 0.55);
    padding: 2rem;
    border-radius: 12px;
    z-index: 2;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

.sobre-texto {
    flex: 2;
    min-width: 280px;

}

.sobre-texto h1 {
    font-size: 34px;

}

.sobre-texto p {
    font-size: 19px;


}

.sobre-foto {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.sobre-foto img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.4s ease;
}

.sobre-foto img:hover {
    transform: scale(1.05);
}

.sobre-foto p {
    margin-top: 1rem;
    font-size: 1rem;
    color: #ddd;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-align: center;
}

/* 
   MISIONVISION
*/
.mvv {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 10%;
}

.mvv div {
    flex: 1;
    min-width: 280px;
    background: #e9f1fb;
    padding: 1.5rem;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

.visaomissao h3 {
    font-size: 29px;
}

.visaomissao p {
    font-size: 22px;
}

.mvv div:nth-child(1) {
    animation-delay: 0.2s;
}

.mvv div:nth-child(2) {
    animation-delay: 0.4s;
}

/*
   VALORES
 */
.valores {
    position: relative;
    padding: 4rem 10%;
    color: white;
    overflow: hidden;
}

.valores::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("Imagens/BackSobreValores.jpg") center/cover no-repeat;
    z-index: 0;
}

.valores::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.6);
    /* overlay escuro azul */
    z-index: 1;
}

.valores h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 5rem;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.valores-grid .valor {
    background: #7ccaf1;
    color: rgb(0, 0, 0);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;

}

.valores-grid .valor:nth-child(1) {
    grid-column: 1 / 4;
    animation-delay: 0.2s;
}

.valores-grid .valor:nth-child(2) {
    grid-column: 4 / 7;
    animation-delay: 0.4s;
}

.valores-grid .valor:nth-child(3) {
    grid-column: 1 / 3;
    animation-delay: 0.6s;
}

.valores-grid .valor:nth-child(4) {
    grid-column: 3 / 5;
    animation-delay: 0.8s;
}

.valores-grid .valor:nth-child(5) {
    grid-column: 5 / 7;
    animation-delay: 1s;
}

.valor:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5);
}

.valor h3 {
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    color: #ffffff;
}

.valor p {
    font-size: 1rem;
    line-height: 1.4;
}

/* 
   ANIMAÇÕES
 */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 
   RESPONSIVIDADE
 */
@media (max-width: 1024px) {
    .valores-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .valores-grid .valor:nth-child(1),
    .valores-grid .valor:nth-child(2) {
        grid-column: span 3;
    }

    .valores-grid .valor:nth-child(3),
    .valores-grid .valor:nth-child(4),
    .valores-grid .valor:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {

    header,
    section {
        padding: 2rem 5%;
    }

    .sobre-content {
        flex-direction: column;
    }

    /* Valores empilhados verticalmente corretamente */
    .valores-grid {
        display: flex;
        flex-direction: column;
        /* empilha os cards */
        gap: 1.5rem;
        /* espaço entre os cards */
    }

    .valores-grid .valor {
        grid-column: auto !important;
        /* remove qualquer grid-column anterior */
        width: 100%;
        /* garante que o card ocupe toda a largura */
        min-height: auto;
    }
}

/* 


/* 
   HEADER (não usado aqui, mas isolado)
 */
header_sobre {
    background: #003366;
    color: white;
    padding: 2rem 10%;
    text-align: center;
}

header_sobre h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

header_sobre p {
    font-size: 1.2rem;
}

/* 
   SOBRE A EQUIPE
 */
.sobre-equipo_sobre {
    position: relative;
    padding: 4rem 10%;
    color: white;
    overflow: hidden;
}

.sobre-equipo_sobre::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../Imagens/BackSobre.jpg") center/cover no-repeat;
    filter: blur(3px) brightness(0.9) contrast(1.1) saturate(1.1);
    transform: scale(1.05);
    transition: transform 6s ease;
    z-index: 0;
}

.sobre-equipo_sobre:hover::before {
    transform: scale(1.1);
}

.sobre-equipo_sobre::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 51, 102, 0.6), rgba(0, 51, 102, 0.6));
    z-index: 1;
}

.sobre-content_sobre {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    background: rgba(0, 0, 0, 0.55);
    padding: 2rem;
    border-radius: 12px;
    z-index: 2;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp_sobre 1s ease forwards;
}

.sobre-texto_sobre {
    flex: 2;
    min-width: 280px;
    text-align: justify;
}

.sobre-texto_sobre h1 {
    font-size: 36px;
    font-weight: bold;
    text-align: left;
}

.sobre-texto_sobre h2 {
    font-size: 30px;
}

.sobre-texto_sobre p {
    font-size: 22px;
}

.sobre-foto_sobre {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.sobre-foto_sobre img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.4s ease;
}

.sobre-foto_sobre img:hover {
    transform: scale(1.05);
}

.sobre-foto_sobre p {
    margin-top: 1rem;
    font-size: 1rem;
    color: #ddd;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-align: center;
}

/* 
   MISIONVISION
*/
.mvv_sobre {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 10%;
}

.mvv_sobre div {
    flex: 1;
    min-width: 280px;
    background: #e9f1fb;
    padding: 1.5rem;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp_sobre 1s ease forwards;
}

.visaomissao_sobre h3 {
    font-size: 29px;
    color: #003366;
    font-weight: bold;

}

.visaomissao_sobre p {
    font-size: 22px;
    text-align: justify;
}

.mvv_sobre div:nth-child(1) {
    animation-delay: 0.2s;
}

.mvv_sobre div:nth-child(2) {
    animation-delay: 0.4s;
}

@media screen and (max-width: 768px) {
    .sobre-content_sobre {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
        align-items: center;
        /* centraliza horizontalmente */
        justify-content: center;
        /* centraliza verticalmente se houver altura maior */
        text-align: center;
        /* centraliza o texto */
    }

    .sobre-texto_sobre {
        flex: 1 1 100%;
    }

    .sobre-texto_sobre h1 {
        font-size: 24px;
    }

    .sobre-texto_sobre h2 {
        font-size: 20px;
    }

    .sobre-texto_sobre p {
        font-size: 16px;
    }

    .sobre-foto_sobre {
        flex: 1 1 100%;
    }

    .sobre-foto_sobre img {
        width: 100%;
        height: auto;
        max-width: 300px;
        margin: 0 auto;
        /* garante centralização */
        display: block;
    }

    .sobre-foto_sobre p {
        font-size: 14px;
        padding: 0.6rem 1rem;
    }
}

/*
   VALORES
 */
.valores_sobre {
    position: relative;
    padding: 4rem 10%;
    color: white;
    overflow: hidden;
}

.valores_sobre::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../Imagens/BackSobreValores.jpg") center/cover no-repeat;
    z-index: 0;
}

.valores_sobre::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.6);
    z-index: 1;
}

.valores_sobre h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 5rem;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp_sobre 1s ease forwards;
}

.valores-grid_sobre {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.valores-grid_sobre .valor_sobre {
    background: #7ccaf1;
    color: rgb(0, 0, 0);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp_sobre 1s ease forwards;
}

.valores-grid_sobre .valor_sobre:nth-child(1) {
    grid-column: 1 / 4;
    animation-delay: 0.2s;
}

.valores-grid_sobre .valor_sobre:nth-child(2) {
    grid-column: 4 / 7;
    animation-delay: 0.4s;
}

.valores-grid_sobre .valor_sobre:nth-child(3) {
    grid-column: 1 / 3;
    animation-delay: 0.6s;
}

.valores-grid_sobre .valor_sobre:nth-child(4) {
    grid-column: 3 / 5;
    animation-delay: 0.8s;
}

.valores-grid_sobre .valor_sobre:nth-child(5) {
    grid-column: 5 / 7;
    animation-delay: 1s;
}

.valor_sobre:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5);
}

.valor_sobre h3 {
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: bold;
}

.valor_sobre p {
    font-size: 1rem;
    line-height: 1.4;
}

/* 
   ANIMAÇÕES
 */
@keyframes fadeUp_sobre {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 
   RESPONSIVIDADE
 */
@media (max-width: 1024px) {
    .valores-grid_sobre {
        grid-template-columns: repeat(3, 1fr);
    }

    .valores-grid_sobre .valor_sobre:nth-child(1),
    .valores-grid_sobre .valor_sobre:nth-child(2) {
        grid-column: span 3;
    }

    .valores-grid_sobre .valor_sobre:nth-child(3),
    .valores-grid_sobre .valor_sobre:nth-child(4),
    .valores-grid_sobre .valor_sobre:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {

    header_sobre,
    section {
        padding: 2rem 5%;
    }

    .sobre-content_sobre {
        flex-direction: column;
    }

    .valores-grid_sobre {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .valores-grid_sobre .valor_sobre {
        grid-column: auto !important;
        width: 100%;
        min-height: auto;
    }
}