.section {
    padding: 60px 0;
}
/* JB Queiroz · atualização editorial 2026: cores alinhadas à identidade existente */
.jb-eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.19em;
    color: #986c81;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}
.jb-specialties {
    padding-top: 45px;
    padding-bottom: 30px;
    background: #faf8f8;
}
.jb-specialties .jb-specialties-slider {
    margin: 0 -12px;
}
.jb-specialty-card {
    margin: 0 12px 25px 12px;
    padding: 35px 30px;
    min-height: 310px;
    background: #fff;
    border: 1px solid #ebdfe4;
    border-radius: 12px;
    display: flex !important;
    flex-direction: column;
    box-shadow: 0 9px 15px rgba(47, 23, 34, 0.035);
}
.jb-specialty-card h3 {
    color: #672146;
    font-size: 1.42rem;
    line-height: 1.25;
    margin: 15px 0;
}
.jb-specialty-card p {
    font-size: 0.94rem;
    line-height: 1.7;
}
.jb-specialty-card a {
    margin-top: auto;
    color: #672146;
    font-weight: 700;
}
.jb-card-no {
    font-size: 0.76rem;
    color: #9c7b8c;
    letter-spacing: 0.07em;
}
.jb-carousel-prev,
.jb-carousel-next {
    border: 1px solid #672146;
    border-radius: 50%;
    background: transparent;
    color: #672146;
    width: 42px;
    height: 42px;
    margin-left: 8px;
    cursor: pointer;
}
.jb-carousel-prev:hover,
.jb-carousel-next:hover {
    background: #672146;
    color: white;
}
.jb-checklist {
    padding: 0;
    list-style: none;
    columns: 2;
    font-size: 0.88rem;
}
.jb-checklist li {
    break-inside: avoid;
    margin-bottom: 7px;
}
.jb-checklist li:before {
    content: "✓";
    color: #672146;
    margin-right: 8px;
}
.jb-education-teaser {
    padding: 60px 0;
    background: #f3ecef;
}
.jb-teaser-photo {
    max-height: 530px;
    width: 100%;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 160px 160px 12px 12px;
}
.jb-teaser-content {
    padding: 30px 5%;
}
.jb-teaser-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.13;
    color: #672146;
    margin-bottom: 25px;
}
.jb-teaser-content h2 em {
    font-weight: 400;
}
.jb-teaser-content p {
    font-size: 1.06rem;
    line-height: 1.75;
    margin-bottom: 30px;
}
.jb-internal-hero {
    padding: 105px 0;
    background: #f6eff2;
}
.jb-internal-hero h1 {
    color: #672146;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
}
.jb-internal-hero p {
    max-width: 680px;
    font-size: 1.15rem;
}
.jb-info-card {
    padding: 35px 28px;
    min-height: 320px;
    border: 1px solid #eadde3;
    border-radius: 10px;
    height: 100%;
}
.jb-info-card span {
    color: #a38192;
}
.jb-info-card h2 {
    font-size: 1.5rem;
    margin: 18px 0;
    color: #672146;
}
.jb-centered-cta {
    text-align: center;
    padding: 50px 15px 0;
    max-width: 730px;
    margin: auto;
}
.jb-centered-cta h2 {
    font-size: 2rem;
    color: #672146;
}
.jb-institute {
    color: #2f272b;
}
.jb-institute-hero {
    background: #672146;
    color: #f5edf0;
    padding: 85px 0 95px;
    overflow: hidden;
}
.jb-institute-kicker {
    display: block;
    color: #d6b4c3;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    font-weight: 700;
    margin-bottom: 30px;
}
.jb-institute-hero h1 {
    color: #fff;
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    line-height: 1.08;
    font-weight: 500;
    margin-bottom: 27px;
}
.jb-institute-hero h1 em {
    color: #e0b8cb;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 4rem);
}
.jb-institute-hero p {
    color: #ebdfe4;
    font-size: 1.08rem;
    max-width: 540px;
    line-height: 1.8;
    margin-bottom: 35px;
}
.jb-institute-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: #d9afc3;
    color: #271a21 !important;
    padding: 17px 25px;
    border-radius: 3px;
    font-weight: 700;
}
.jb-institute-button:hover {
    background: #fff;
}
.jb-institute-image-wrap {
    position: relative;
    margin-left: 9%;
}
.jb-institute-image-wrap img {
    width: 100%;
    max-height: 660px;
    object-fit: cover;
    object-position: center 28%;
    border-radius: 220px 220px 8px 8px;
}
.jb-institute-image-wrap span {
    position: absolute;
    bottom: 18px;
    left: -30px;
    background: #f4ebef;
    color: #672146;
    padding: 16px 20px;
    max-width: 270px;
    font-size: 1.15rem;
}
.jb-institute-details {
    background: #f8f5f5;
    padding: 95px 0;
}
.jb-institute-details h2,
.jb-institute-bottom h2 {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    color: #672146;
    line-height: 1.18;
    margin-bottom: 28px;
}
.jb-institute-details p strong {
    font-weight: 500;
}
.jb-institute-facts > div {
    border-bottom: 1px solid #d9c8d0;
    padding: 18px 0 18px 58px;
    position: relative;
}
.jb-institute-facts strong {
    position: absolute;
    left: 0;
    color: #986c81;
}
.jb-institute-facts h3 {
    font-size: 1.35rem;
    color: #672146;
    margin: 0 0 8px;
}
.jb-institute-facts p {
    margin: 0;
}
.jb-institute-note {
    font-size: 0.85rem;
    color: #74636c;
    margin-top: 55px;
    max-width: 940px;
}
.jb-institute-bottom {
    background: #eadbe2;
    text-align: center;
    padding: 85px 0;
}
.jb-institute-bottom h2 {
    max-width: 750px;
    margin: 0 auto 35px;
}
.jb-institute-bottom .jb-institute-button {
    background: #672146;
    color: #fff !important;
}
@media (max-width: 991px) {
    .jb-institute-image-wrap {
        margin: 45px 0 0;
    }
    .jb-institute-image-wrap img {
        max-height: 510px;
    }
    .jb-institute-hero {
        padding: 65px 0;
    }
    .jb-teaser-content {
        padding: 40px 0;
    }
}
@media (max-width: 575px) {
    .section.about {
        padding-top: 30px;
    }
    .jb-specialty-card {
        min-height: 330px;
    }
    .jb-education-teaser {
        padding: 55px 0 30px 0;
    }
    .jb-internal-hero {
        padding: 70px 0;
    }
    .jb-institute-hero h1 {
        font-size: 2.65rem;
    }
    .jb-institute-details {
        padding: 60px 0;
    }
}


/* Revisão solicitada pela clínica · novembro/2026 */
/* Hero da página inicial: foto real da recepção reinterpretada no estilo aprovado. */
.banner.jb-home-hero {
  background: #f5e9ed url('../images/bg/recepcao-jb-hero.webp') center center / cover no-repeat;
  min-height: 470px;
  display: flex; align-items: center;
}
.banner.jb-home-hero::after {
  background: linear-gradient(90deg,rgba(248,239,242,.34) 0%,rgba(248,239,242,.10) 42%,rgba(248,239,242,0) 70%);
  pointer-events:none;
}
.banner.jb-home-hero .block {padding: 85px 0 100px;}
.banner.jb-home-hero .block h1 {font-size: clamp(2.45rem,4.3vw,3.8rem);line-height:1.13;max-width:610px;text-transform:none;}
.banner.jb-home-hero .block h1 small {font-size:clamp(1.05rem,1.8vw,1.43rem);line-height:1.5;margin-top:9px;}
.banner.jb-home-hero .block p {font-size:1.02rem;line-height:1.75;max-width:445px;text-shadow:none;color:#463943;}
/* Tratamento dos dois banners com a mesma linguagem visual, sem alterar o conteúdo. */
.jb-internal-hero {min-height:420px;display:flex;align-items:center;}
.jb-internal-hero h1 {font-size:clamp(2.55rem,4.5vw,4.1rem);line-height:1.13;max-width:800px;}
.jb-internal-hero p {line-height:1.8;color:#63565e;}
/* Contato: melhor hierarquia e leitura, preservando informações e cores institucionais. */
.jb-footer-contact {max-width:570px;}
.jb-footer-contact > h4 {font-size:1.4rem;line-height:1.3;margin-bottom:1rem!important;}
.jb-footer-contact .footer-contact-block {margin:0 0 1.35rem;}
.jb-footer-contact .footer-contact-block .icon {margin-bottom:0.3rem;}
.jb-footer-contact .footer-contact-block .h6 {font-size:.86rem;line-height:1.55;font-weight:500;}
.jb-footer-contact .footer-contact-block h4 {font-size:clamp(.99rem,1.25vw,1.14rem);line-height:1.55;font-weight:500;margin-top:.25rem!important;overflow-wrap:anywhere;}
.jb-footer-contact .footer-contact-block address {font-size:inherit;line-height:1.65;font-style:normal;}
.jb-footer-contact .footer-contact-block h4 > .h6 {display:block;margin-top:.35rem;font-size:.88rem;}
/* Instituto: destaque centralizado e com o mesmo tom do botão principal. */
.jb-institute-image-caption {left:50%!important;bottom:20px!important;transform:translateX(-50%);width:max-content;max-width:88%!important;text-align:center;background:#d9afc3!important;color:#271a21!important;border-radius:3px;box-shadow:0 8px 25px rgba(35,13,24,.13);font-size:.99rem!important;line-height:1.45;padding:14px 18px!important;}
/* Cards equilibrados na paleta original, com variações suaves. */
.jb-specialty-card {border-color:#e5d1da;background:#fffdfd;box-shadow:0 6px 12px rgba(74,23,48,.06);}
.jb-specialty-card:nth-child(3n + 2){background:#f7edf1;}
.jb-specialty-card:nth-child(3n + 3){background:#672146;}
.jb-specialty-card:nth-child(3n + 3) h3, 
.jb-specialty-card:nth-child(3n + 3) .jb-checklist li:before, 
.jb-specialty-card:nth-child(3n + 3) .jb-card-no {color:#fffdfd;}
.jb-specialty-card:nth-child(3n + 3) .jb-card-no {opacity: 0.7;}
.jb-specialty-card:nth-child(3n + 3) p, 
.jb-specialty-card:nth-child(3n + 3) a, 
.jb-specialty-card:nth-child(3n + 3) ul li {color:#f7edf1;}
.jb-info-card {background:#fffafc;border-color:#e8d3dc;box-shadow:0 8px 25px rgba(74,23,48,.045);border-top:3px solid #9e6a85;}
.jb-info-grid > article:nth-child(2) .jb-info-card {background:#f8edf2;border-top-color:#672146;}
.jb-info-grid > article:nth-child(3) .jb-info-card {background:#672146;border-top-color:#b58b9f;}
.jb-info-grid > article:nth-child(3) .jb-info-card h2 {color:#fffdfd;}
.jb-info-grid > article:nth-child(3) .jb-info-card p {color:#f7edf1;}
.jb-info-grid > article:nth-child(3) .jb-info-card span {color:#fffdfd;opacity: 0.7;}
@media (max-width:767px){
  .banner.jb-home-hero {background-position:64% center;min-height:565px;align-items:flex-start;}
  .banner.jb-home-hero::after {background:linear-gradient(180deg,rgba(250,243,246,.97) 0%,rgba(250,243,246,.92) 45%,rgba(250,243,246,.06) 85%);}
  .banner.jb-home-hero .block {padding:48px 0 245px;text-align:left;}
  .banner.jb-home-hero .block h1 {font-size:clamp(2.1rem,7.5vw,3rem);line-height:1.12;}
  .banner.jb-home-hero .block p {font-size:.94rem;line-height:1.6;max-width:360px;padding-right:0!important;}
  .banner.jb-home-hero .block .divider {margin-left:0;margin-right:0;}
  .jb-internal-hero {min-height:375px;background-position:63% center!important; position: relative; z-index: 1;}
  .jb-internal-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(243,236,237,.85);
  }
  .jb-internal-hero .container {
    position: relative;
    z-index: 2;
  }
  .jb-internal-hero h1 {font-size:clamp(2rem,8vw,3.15rem);max-width:360px;}
  .jb-internal-hero p {font-size:.94rem;line-height: 1.5; font-weight: 500;}
  .jb-institute-image-caption{font-size:.9rem!important;}
}
