.hero-ambulatorio{
    background:
    linear-gradient(rgba(19, 35, 59, 0.75), rgba(19, 35, 59, 0.75)),
    url("../Imagens/teste1.png");
    background-size:cover;
    background-position:center;
}

.especialidades{
    padding:80px 0;
    background:#f4f7f6;
}

.especialidades .container{
    display:flex;
    flex-direction:column;
    gap:50px;
    max-width:1100px;
    margin:auto;
}

.especialidade-card{
    background:white;
    padding:40px;
    border-radius:24px;
    box-shadow:0 10px 40px rgba(19, 35, 59, 0.04);
    border:1px solid rgba(103, 203, 191, 0.1);
    transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.especialidade-card:hover{
    box-shadow:0 15px 45px rgba(19, 35, 59, 0.08);
}

.especialidade-header{
    display:flex;
    align-items:center;
    gap:25px;
    margin-bottom:35px;
    border-bottom:1px solid #f0f4f3;
    padding-bottom:25px;
}

.icone-circle{
    width:70px;
    height:70px;
    background:#e6f6f4;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    box-shadow:0 6px 15px rgba(103, 203, 191, 0.15);
    flex-shrink:0;
}

.especialidade-title h3{
    font-size:30px;
    color:#13233b;
    font-weight:800;
    margin-bottom:6px;
}

.especialidade-title p{
    color:#666;
    font-size:16px;
    line-height:1.5;
}

.caixas-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.caixa-servico{
    border:1px solid #e0e8e6;
    padding:30px;
    border-radius:20px;
    background:#fff;
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    transition:all 0.3s ease;
}

.caixa-servico:hover{
    border-color:#67cbbf;
    box-shadow:0 8px 25px rgba(103, 203, 191, 0.08);
}

.destaque{
    background:#f4faf9;
    border-color:#67cbbf;
}

.destaque-recomendado{
    background:#fff;
    border:2px solid #67cbbf;
    box-shadow:0 10px 30px rgba(103, 203, 191, 0.15);
}

.destaque-recomendado:hover{
    box-shadow:0 15px 35px rgba(103, 203, 191, 0.22);
}

.badge-servico{
    position:absolute;
    top:-12px;
    left:25px;
    background:#ececec;
    color:#666;
    padding:4px 14px;
    border-radius:20px;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
}

.badge-destaque{
    background:#e6f6f4;
    color:#67cbbf;
}

.badge-recomendado{
    background:#67cbbf;
    color:#fff;
    box-shadow:0 4px 10px rgba(103, 203, 191, 0.3);
}

.caixa-servico h4{
    font-size:22px;
    color:#13233b;
    margin-bottom:12px;
    font-weight:700;
    margin-top:10px;
}

.caixa-desc{
    font-size:14px;
    color:#666;
    line-height:1.6;
    margin-bottom:20px;
    flex-grow:1;
}

/* Preço */
.preco-wrapper{
    display:flex;
    align-items:baseline;
    margin-bottom:15px;
    color:#13233b;
}

.moeda{
    font-size:18px;
    font-weight:600;
    margin-right:4px;
}

.valor-grande{
    font-size:48px;
    font-weight:800;
    line-height:1;
    color:#13233b;
}

.centavos{
    font-size:18px;
    font-weight:700;
}

.periodo{
    font-size:14px;
    color:#666;
    margin-left:8px;
    font-weight:500;
}

/* Convênios */
.convenios-logos{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:15px;
    margin-top:10px;
    align-items:center;
}

.logo-item{
    background:#fff;
    border:1px solid #ececec;
    border-radius:10px;
    padding:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    height:50px;
    transition:all 0.3s ease;
}

.logo-item:hover{
    border-color:#67cbbf;
    transform:translateY(-2px);
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

.logo-item img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}

/* Benefícios */
.beneficio-linha{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:15px;
    padding-top:15px;
    border-top:1px solid #f0f4f3;
}

.check-icon{
    color:#67cbbf;
    font-weight:bold;
    font-size:18px;
}

.beneficio-text{
    font-size:14px;
    color:#13233b;
    font-weight:600;
}

@media(max-width:900px){
    .caixas-grid {
        grid-template-columns:1fr;
    }

    .especialidade-card {
        padding:30px;
    }

    .especialidade-header {
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
    }

    .hero-content h1{
        font-size:52px;
    }
}

@media(max-width:600px){
    .hero-content h1{
        font-size:40px;
    }
    .hero-content p{
        font-size:18px;
    }
}

/*=====================================
    INFORMAÇÕES
======================================*/

.informacoes{
    padding:60px 0;
    background:#f8fbfc;
}

.informacoes .container{
    text-align:center;
}

.titulo-menor{
    color:#67cbbf;
    font-weight:700;
    letter-spacing:2px;
    font-size:14px;
}

.informacoes h2{
    font-size:46px;
    color:#13233b;
    margin:15px 0;
}

.descricao-info{
    max-width:700px;
    margin:0 auto 55px;
    color:#666;
    line-height:1.7;
}

.info-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:35px;
    max-width:1050px;
    margin:auto;
}

.info-card{
    background:#fff;
    padding:30px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    display:flex;
    flex-direction:column;
    align-items:center;
    border:1px solid rgba(0,0,0,.02);
}

.icone{
    font-size:34px;
    margin-bottom:18px;
}

.info-card h3{
    font-size:26px;
    color:#13233b;
    margin-bottom:18px;
}

.info-card p{
    color:#666;
    line-height:1.8;
    margin-bottom:22px;
    flex:1;
}

.btn-info{
    display:inline-block;
    background:#67cbbf;
    color:#fff;
    text-decoration:none;
    padding:12px 28px;
    border-radius:40px;
    font-weight:600;
    transition:.3s;
    font-size: 15px;
    margin-top:auto;
    width: auto;
    min-width: 220px;
    text-align: center;
}

.btn-info:hover{
    background:#52b7ab;
}

@media(max-width:900px){
    .info-grid{
        grid-template-columns:1fr;
    }
}


/* =========================================================
   HERO COMPACTO — AMBULATÓRIO
   Mesma altura compacta, com conteúdo alinhado à esquerda
   como nas páginas Institucional e Pronto Atendimento.
========================================================= */
.pagina-ambulatorio .hero.hero-compacto{
    justify-content:center;
    text-align:left;
}

.pagina-ambulatorio .hero.hero-compacto .hero-content{
    width:90%;
    max-width:1300px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    text-align:left;
}

.pagina-ambulatorio .hero.hero-compacto .hero-content h1,
.pagina-ambulatorio .hero.hero-compacto .hero-content p,
.pagina-ambulatorio .hero.hero-compacto .hero-content > span{
    text-align:left;
}

.pagina-ambulatorio .hero.hero-compacto .hero-content h1{
    max-width:820px;
}

.pagina-ambulatorio .hero.hero-compacto .hero-content p{
    max-width:720px;
    margin:12px 0 0;
}
