
/* =========================================
   ESTILOS DO SITE DE BIOMEDICINA
========================================= */

:root {
    --azul: #09233f;
    --petroleo: #06484c;
    --verde: #079d88;
    --verde-claro: #19b89e;
    --texto: #12253e;
    --cinza: #edf3f7;
    --borda: #dce6ed;
    --branco: #fff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--texto);
    background: #f7fafc;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================================
   CABEÇALHO E MENU
========================================= */

.topo {
    min-height: 82px;
    padding: 12px clamp(18px, 4vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    /* COR DA BARRA DO MENU */
    background: #1976D2;
    border-bottom: 1px solid #145CA8;

    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 18px #0b29400d;
}

.marca {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

.marca > span:last-child {
    display: grid;
    line-height: 1.15;
}

.marca strong {
    font-size: clamp(20px, 2vw, 30px);
    color: #FFFFFF;
    letter-spacing: -.8px;
}

.marca > span:last-child small {
    font-size: 13px;
    margin-top: 4px;
    color: #FFFFFF;
}

.marca-icone {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px 5px 16px 5px;
    background: linear-gradient(140deg, #0875a2, #08b497);
    color: white;
    font-size: 30px;
    position: relative;
}

.marca-icone small {
    position: absolute;
    font-size: 9px;
    bottom: 5px;
    color: white;
    font-weight: 800;
}

.menu {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.3vw, 22px);
}

.menu a {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    padding: 10px 12px;
    border-radius: 30px;
    color: #FFFFFF;
    transition: background-color .3s ease;
}

.menu a:hover,
.menu a.ativo {
    background: #145CA8;
    color: #FFFFFF;
}

.busca {
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 30px;
    display: flex;
    padding: 4px 10px 4px 16px;
    max-width: 210px;
}

.busca input {
    border: 0;
    outline: 0;
    min-width: 0;
    width: 150px;
    font: inherit;
    color: #FFFFFF;
    background: transparent;
}

.busca input::placeholder {
    color: rgba(255,255,255,.9);
}

.busca button {
    border: 0;
    background: transparent;
    font-size: 26px;
    cursor: pointer;
    color: #FFFFFF;
}

.menu-toggle {
    display: none;
    border: 0;
    background: #145CA8;
    color: white;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 21px;
    cursor: pointer;
}

/* =========================================
   BANNER PRINCIPAL
========================================= */

.hero {
    min-height: 390px;
    display: flex;
    align-items: center;
    padding: 46px clamp(22px, 4.1vw, 68px);

    background:
        linear-gradient(
            90deg,
            rgba(246,251,255,.97) 0%,
            rgba(239,249,255,.88) 34%,
            rgba(226,243,250,.16) 66%
        ),
        url("imagens/laboratorio.png") center 43%/cover no-repeat;
}

.hero-conteudo {
    max-width: 610px;
}

.sobretitulo {
    color: var(--verde);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 800;
}

.hero h1 {
    margin: 5px 0 0;
    font-size: clamp(42px, 5.2vw, 76px);
    letter-spacing: -3px;
    line-height: 1.08;
    color: var(--azul);
}

.hero h2 {
    margin: 0 0 14px;
    font-size: clamp(25px, 3vw, 40px);
    line-height: 1.15;
    color: var(--petroleo);
    letter-spacing: -1.1px;
}

.hero p {
    max-width: 500px;
    margin: 0 0 20px;
    font-size: 17px;
}

/* =========================================
   BOTÕES
========================================= */

.botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 30px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s, box-shadow .2s;
}

.botao:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px #063d3c24;
}

.principal {
    background: linear-gradient(110deg, #079b83, #0aa991);
    color: white;
    padding: 11px 24px;
}

/* =========================================
   CARTÕES INFORMATIVOS
========================================= */

.cartoes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 18px clamp(16px, 2.2vw, 34px) 20px;
    align-items: stretch;
}

.cartao {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--borda);
    border-radius: 21px;
    padding: 22px clamp(18px, 2vw, 30px) 16px;
    box-shadow: 0 4px 18px #0b294009;
    scroll-margin-top: 100px;
}

.cabecalho-cartao {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.icone {
    flex: 0 0 82px;
    height: 82px;
    border-radius: 50%;
    background: linear-gradient(145deg, #08a78f, #078c82);
    color: white;
    display: grid;
    place-items: center;
    font-size: 42px;
    font-weight: 500;
}

.icone.escuro {
    background: linear-gradient(145deg, #075c60, #032f3c);
}

.cabecalho-cartao h2 {
    margin: 0;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.22;
    letter-spacing: -.7px;
    color: var(--azul);
}

.linha {
    display: block;
    width: 85px;
    height: 3px;
    background: var(--verde);
    margin-top: 12px;
}

.cartao p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.55;
}

.lista {
    padding: 0;
    margin: 0 0 14px;
    list-style: none;
}

.lista li {
    position: relative;
    padding-left: 27px;
    margin: 4px 0;
    font-size: 14px;
    line-height: 1.35;
}

.lista li::before {
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    font-weight: 800;
}

.positiva li::before {
    content: "✓";
    background: var(--verde);
}

.alerta li::before {
    content: "!";
    background: #f39a14;
}

.contorno {
    align-self: center;
    margin-top: auto;
    border: 1.5px solid var(--verde);
    color: var(--petroleo);
    min-width: 160px;
    padding: 7px 17px;
}

/* =========================================
   NOTÍCIAS
========================================= */

.noticias {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin: 0 clamp(16px, 2.2vw, 34px) 20px;
    padding: 25px 32px;
    border-radius: 18px;
    background: #e9f6f5;
}

.noticias h2 {
    margin: 5px 0;
    color: var(--petroleo);
}

.noticias p {
    margin: 0;
}

/* =========================================
   RODAPÉ
========================================= */

.rodape {
    margin: 0 14px 14px;
    border-radius: 20px;
    background: linear-gradient(110deg, #03484c, #00343f);
    color: white;
    padding: 20px clamp(18px, 3.5vw, 54px);
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.simbolo-saude {
    font-size: 48px;
    line-height: 1;
    padding-right: 22px;
    border-right: 2px solid #d5ffff;
}

.rodape-texto {
    font-size: 16px;
    flex: 1;
}

.rodape-texto strong {
    color: #fff;
}

.social {
    border: 1px solid #27d7c1;
    color: white;
}

.copyright {
    flex-basis: 100%;
    text-align: center;
    font-size: 11px;
    opacity: .75;
}

.mensagem {
    text-align: center;
    padding: 0 20px;
    color: var(--petroleo);
    font-weight: 600;
}

/* =========================================
   TELAS INTERMEDIÁRIAS
========================================= */

@media (max-width: 1120px) {

    .topo {
        gap: 12px;
        flex-wrap: wrap;
    }

    .menu {
        order: 4;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .busca {
        margin-left: auto;
    }

    .cartoes {
        grid-template-columns: 1fr 1fr;
    }

    .cartao:last-child {
        grid-column: 1 / -1;
    }
}

/* =========================================
   CELULARES E TELAS PEQUENAS
========================================= */

@media (max-width: 700px) {

    .topo {
        padding: 10px 16px;
        background: #1976D2;
    }

    .marca-icone {
        width: 44px;
        height: 44px;
    }

    .marca strong {
        font-size: 21px;
    }

    .marca small {
        font-size: 11px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .menu {
        display: none;
        order: 5;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        padding: 8px 0;
    }

    .menu.aberto {
        display: flex;
    }

    .menu a {
        text-align: center;
        color: #FFFFFF;
    }

    .busca {
        order: 6;
        max-width: none;
        width: 100%;
    }

    .busca input {
        width: 100%;
    }

    .hero {
        min-height: 470px;
        background-position: 62% center;
        padding: 38px 22px;
        align-items: flex-start;
    }

    .hero-conteudo {
        background: #f5fbfff0;
        border-radius: 18px;
        padding: 20px;
    }

    .hero h1 {
        letter-spacing: -1.8px;
    }

    .hero p {
        font-size: 15px;
    }

    .cartoes {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .cartao:last-child {
        grid-column: auto;
    }

    .cabecalho-cartao {
        gap: 15px;
    }

    .icone {
        flex-basis: 68px;
        height: 68px;
        font-size: 34px;
    }

    .cabecalho-cartao h2 {
        font-size: 23px;
    }

    .noticias {
        margin: 0 14px 16px;
        padding: 22px;
        align-items: flex-start;
        flex-direction: column;
    }

    .rodape {
        justify-content: center;
        text-align: center;
        gap: 15px;
        padding: 20px 15px;
    }

    .simbolo-saude {
        border-right: 0;
        padding: 0;
    }

    .rodape-texto {
        flex-basis: 100%;
    }
}
    /*========================================= 
    RODAPÉ
    ========================================= */

    .rodape {
        margin: 0 14px 14px;
        width: calc(100% - 28px);
        border-radius: 20px;
        background: linear-gradient(110deg, #03484c, #00343f);
        color: white;
        padding: 20px 30px;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 25px;
        flex-wrap: wrap;
        text-align: center;
    }

    .simbolo-saude {
        font-size: 48px;
        line-height: 1;
        padding-right: 22px;
        border-right: 2px solid #d5ffff;
    }

    .rodape-logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .rodape-logo img {
        max-width: 130px;
        height: auto;
        display: block;
    }

    .rodape-texto {
        font-size: 16px;
        flex: 0 1 auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .rodape-texto strong {
        color: #fff;
    }

    .social {
        border: 1px solid #27d7c1;
        color: white;
    }

    .copyright {
        flex-basis: 100%;
        display: block;
        width: 100%;
        text-align: center;
        font-size: 11px;
        opacity: .75;
    }

    /* DIREITOS AUTORAIS */
    .rodape-direitos {
        width: 100%;
        margin: 0;
        padding: 8px 10px;
        text-align: center;
        background: transparent;
        border: none;
        box-shadow: none;
        box-sizing: border-box;
    }
    /* CENTRALIZAÇÃO DO TEXTO DO RODAPÉ */
    .rodape-texto {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* CENTRALIZAÇÃO DO COPYRIGHT */
    .copyright {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* CENTRALIZAÇÃO DOS DIREITOS AUTORAIS */
    .rodape-direitos {
        display: block;
        width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
}