/* ===========================
   VARIÁVEIS
=========================== */
:root {
    --hcsr-primary: #00a092;
    --hcsr-primary-dark: #007b6e;
    --hcsr-whatsapp: #25d366;
}

/* ===========================
   LAYOUT BASE (FOOTER FIXO)
=========================== */
html {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    background-color: #f5f5f5;
}

main {
    flex: 1;
}

/* ===========================
   DROPDOWN HOVER + VIDRO CLARO
=========================== */

/* ===========================
   DROPDOWN HOVER (SEM GLASS)
=========================== */

.navbar .dropdown-menu {
    display: none;
    margin-top: 0;

    /* mesma cor do header */
    background: var(--hcsr-primary);
    
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);

    padding: 5px 0;

    opacity: 0;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

/* abrir no hover */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* itens */
.navbar .dropdown-menu .dropdown-item {
    color: #fff !important;
    padding: 10px 20px;
}

/* hover item */
.navbar .dropdown-menu .dropdown-item:hover {
    background: var(--hcsr-primary-dark);
    color: #fff !important;
}

/* ===========================
   TOP BAR
=========================== */
.topbar {
    background: var(--hcsr-primary);
    color: #fff;
    font-size: 0.9rem;
}

.topbar a {
    color: #fff;
    text-decoration: underline;
}

/* Botões */
.btn-whatsapp {
    background: var(--hcsr-whatsapp);
    color: #fff;
    border-radius: 20px;
    padding: 5px 15px;
    font-weight: 600;
}
.padre-img {
    max-width: 40em;
    border-radius: 12px;
}
.nustify-1{
    text-align: justify;
    font-display: auto;

}
.bloco {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.galeria-img {
    width: 100%;
    height: 220px;       /* altura fixa pra todas */
    object-fit: cover;   /* corta sem distorcer */
    border-radius: 10px;
    transition: all 0.3s ease;
}

.galeria-img:hover {
    transform: scale(1.05);
}

/* melhora os títulos das imagens */
.bloco h6 {
    font-size: 14px;
    margin-top: 10px;
}
.titulo-secao {
    color: #198754;
    font-weight: 700;
    border-left: 5px solid #198754;
    padding-left: 10px;
}

p {
    color: #444;
    line-height: 1.6;
}
.btn-resultado {
    background: var(--hcsr-primary-dark);
    color: #fff;
    border-radius: 20px;
    padding: 5px 15px;
    font-weight: 600;
}
.imgmidia{
    width: 30em;
    height: 10em;

}
.imgnoticias{
height: 15em;
}
/* ===========================
   NAVBAR
=========================== */
.main-nav {
    background: var(--hcsr-primary);
}

.logo-header {
    height: 65px;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 600;
    margin-left: 10px;
}

.navbar-nav .nav-link:hover {
    text-decoration: underline;
}

/* ===========================
   TÍTULOS E BLOCOS
=========================== */
.header-top {
    background-color: var(--hcsr-primary);
}

.titulo-header {
    color: #fff;
    font-weight: bold;
}

.titulo-secao {
    border-left: 6px solid var(--hcsr-primary);
    padding-left: 12px;
    font-weight: bold;
    color: #006b58;
    margin-bottom: 25px;
}

.bloco {
    background: #ffffff;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.08);
}

.bloco h4 {
    color: var(--hcsr-primary);
    margin-top: 25px;
}

/* ===========================
   PROCEDIMENTOS
=========================== */
.procedimento-box img {
    height: 220px;
    object-fit: cover;
}

.procedimento-box .card-title {
    font-weight: 600;
    color: var(--hcsr-primary);
}

/* ===========================
   HERO VÍDEO
=========================== */
.video-hero {
    position: relative;
    width: 100vw;
    height: 400px;
    overflow: hidden;

    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
}

.video-overlay h1 {
    font-weight: 300;
}

/* ===========================
   FOOTER
=========================== */
.footer-custom {
    background-color: #79d1b8;
}

.footer-text {
    margin: 0;
    font-size: 15px;
}

.footer-icon {
    font-size: 26px;
    color: #005446;
}

.footer-icon:hover {
    opacity: 0.7;
}

.footer-logo {
    max-width: 120px;
}

/* ===========================
   NOTÍCIAS
=========================== */
.noticiajpg {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}

/* ===========================
   CONTATO
=========================== */
.contato-section {
    padding: 70px 20px;
    background: #f5f7f8;
}

.titulo-contato {
    text-align: center;
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 40px;
}

.contato-card {
    background: white;
    padding: 35px 25px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
}

.contato-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: #198754;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    font-size: 28px;
}

.contato-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.contato-card p {
    margin: 6px 0;
    font-size: 16px;
}

.contato-card i {
    margin-right: 6px;
    color: #198754;
}

.contato-card a {
    text-decoration: none;
    color: #333;
}

.contato-card a:hover {
    color: #198754;
}
/* LOGO RESPONSIVA */
.logo-header {
    height: 50px;
}

/* TEXTO DO LOGO */
.logo-text {
    font-size: 18px;
    font-weight: 600;
}

/* MOBILE */
@media (max-width: 768px) {

    .logo-header {
        height: 40px;
    }

    .logo-text {
        font-size: 14px;
    }

    /* quebra linha se precisar */
    .navbar-brand {
        flex-wrap: wrap;
        text-align: center;
    }

    /* topbar centralizada */
    .topbar-text {
        font-size: 12px;
        text-align: center;
    }

}
.estrutura-img {
    height: 40em;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.estrutura-img:hover {
    transform: scale(1.02);
}