/* =========================================
   SECTION 1 - FUNDO BRANCO
   ========================================= */

.header {
    min-height: 100vh;
    background: #fff;
}

/* button */
.btn,
button {
    border: none;
    cursor: pointer;
}

.btn {
    padding: .9rem 4rem;
    border-radius: 3rem;
    display: inline-block;
    background-color: var(--light-color);
    font-weight: 500;
    -webkit-box-shadow: 0 0 7px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 7px 2px rgba(0, 0, 0, 0.2);
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
}

.btn-white {
    color: var(--fros-blue-color);
}

.btn-light-blue {
    background-color: var(--light-blue-color);
    color: var(--light-color);
}

.btn-blue {
    background-color: var(--fros-blue-color);
    color: var(--light-color);
}

.btn-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.btn-group .btn {
    width: 100%;
}

.btn-group .btn:first-child {
    margin-bottom: 2rem;
}

.btn:hover {
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
}

.s1-hero {
    padding-top: 14rem;
    padding-bottom: 8rem;
    background: #fff;
}

/* Título */
.s1-titulo {
    margin-bottom: 5rem;
}

.s1-titulo h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 4.8rem;
    font-weight: 800;
    color: var(--fros-blue-color);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.s1-titulo h1 span {
    color: var(--light-blue-color);
}

.s1-subtitulo {
    font-size: 1.5rem;
    font-weight: 500;
    color: #555;
    letter-spacing: 1px;
}

/* 3 colunas */
.s1-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Coluna esquerda */
.s1-col-esq .s1-logo {
    width: 150px;
    border-radius: 50%;
    margin: 0 auto 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 80, 213, 0.15);
}

.s1-desc {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.9;
}

/* Coluna central - vídeo */
.s1-col-centro {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.s1-video-wrap {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 80, 213, 0.2);
}

.s1-video-wrap video {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* Coluna direita */
.s1-col-dir {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.s1-sub {
    font-size: 2rem;
    font-weight: 700;
    color: var(--fros-blue-color);
    text-transform: uppercase;
    margin: 0;
}

/* Cards redondos */
.s1-cards-redondos {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.s1-card-redondo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--fros-blue-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 80, 213, 0.3);
}

.s1-card-redondo:hover {
    background: var(--light-blue-color);
    transform: translateY(-4px);
}

.s1-card-redondo span {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
}

/* Doutores */
.s1-doutores {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.s1-doutor {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--fros-blue-color);
    box-shadow: 0 4px 15px rgba(0, 80, 213, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.s1-doutor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.s1-doutor:hover {
    border-color: var(--light-blue-color);
    transform: scale(1.08);
}

/* Responsivo S1 */
@media (max-width: 992px) {
    .s1-cols {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .s1-titulo h1 { font-size: 3.2rem; }
    .s1-video-wrap video { height: 300px; }
}

/* =========================================
   SECTION 2 - FUNDO AZUL - PRODUTOS
   ========================================= */

.s2-produtos {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
}

.s2-head {
    margin-bottom: 4rem;
}

.s2-head h2 {
    font-size: 3.6rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.s2-subtitulo {
    font-size: 1.7rem;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
}

.s2-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.s2-card {
    background: #fff;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.s2-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.s2-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--light-blue-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.2rem;
    flex-shrink: 0;
}

.s2-card h3 {
    font-size: 2rem;
    color: var(--fros-blue-color);
    margin: 0;
}

.s2-card-img {
    width: 100%;
    max-height: 180px;
    overflow: hidden;
    border-radius: 10px;
}

.s2-card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.s2-card p {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.7;
    flex: 1;
}

.btn-blue-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid var(--fros-blue-color);
    color: var(--fros-blue-color);
    border-radius: 4px;
    font-size: 1.4rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-blue-outline:hover {
    background: var(--fros-blue-color);
    color: #fff;
}

@media (max-width: 768px) {
    .s2-produtos { min-height: unset; padding: 6rem 0; }
    .s2-cards { grid-template-columns: 1fr; }
}

/* =========================================
   SECTION 3 - FUNDO BRANCO - REALISMO
   ========================================= */

.s3-realismo {
    padding: 9rem 0;
    background: #fff;
}

.s3-realismo .section-head h2 {
    color: var(--fros-blue-color);
    font-size: 4rem;
    font-weight: 700;
}

.s3-realismo .border-line::after {
    background-color: var(--fros-blue-color);
}

.s3-intro {
    color: #555;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.s3-items {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 6rem;
}

.s3-item {
    padding: 3rem 2rem;
}

.s3-icon {
    margin: 0 auto 2rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s3-icon img {
    width: 70px;
}

.s3-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.s3-item p {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.8;
}

@media (max-width: 992px) {
    .s3-items { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .s3-items { grid-template-columns: 1fr; }
}

/* =========================================
   SECTION 4 - FUNDO AZUL - REDES + DEPOIMENTOS
   ========================================= */

.s4-redes {
    padding: 9rem 0;
}

.s4-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

/* Cabeçalho das colunas */
.s4-col-redes h2,
.s4-col-dep h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.s4-border-line {
    height: 3px;
    background: rgba(255,255,255,0.3);
    margin-bottom: 2rem;
    position: relative;
}

.s4-border-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 100%;
    background: #fff;
}

.s4-desc {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Lista de redes */
.s4-redes-list {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.s4-rede-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.s4-rede-item:hover {
    background: rgba(255,255,255,0.22);
    transform: translateX(6px);
    color: #fff;
}

.s4-rede-icone {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
    flex-shrink: 0;
}

.s4-ig { background: linear-gradient(135deg, #f09433, #dc2743, #bc1888); }
.s4-wa { background: #25D366; }
.s4-tt { background: #010101; }
.s4-yt { background: #FF0000; }

.s4-rede-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.s4-rede-nome {
    font-size: 1.6rem;
    font-weight: 700;
}

.s4-rede-user {
    font-size: 1.3rem;
    opacity: 0.75;
}

.s4-arrow {
    font-size: 1.4rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.s4-rede-item:hover .s4-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Grid depoimentos 2x2 */
.s4-dep-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.s4-dep-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.s4-dep-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}

.s4-dep-user {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.s4-dep-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.s4-dep-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s4-dep-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}

.s4-dep-info span {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.65);
}

.s4-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.3rem;
}

.s4-stars i {
    color: #ffc107;
    font-size: 1.2rem;
}

.s4-dep-card p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

.s4-google-btn {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.s4-google-btn .btn-white {
    color: var(--fros-blue-color);
    font-weight: 600;
}

@media (max-width: 992px) {
    .s4-grid { grid-template-columns: 1fr; gap: 5rem; }
    .s4-dep-grid { grid-template-columns: 1fr; }
}

/* =========================================
   SECTION 5 - FUNDO BRANCO - CONTATO
   ========================================= */

.s5-contato {
    padding: 9rem 0;
    background: #fff;
}

.s5-head {
    margin-bottom: 5rem;
}

.s5-head h2 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--fros-blue-color);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.s5-head .border-line::after {
    background-color: var(--fros-blue-color);
}

.s5-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: start;
}

.s5-mapa iframe {
    width: 100%;
    min-height: 480px;
    border: 0;
    border-radius: 12px;
}

.s5-form {
    width: 600px;
    border-radius: 16px;
    padding: 4rem 3rem;
}

.s5-form-head {
    margin-bottom: 3rem;
}

.s5-form .form-element {
    text-align: left;
    margin-bottom: 0.5rem;
}

    .s5-form .form-element label {
        display: block;
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #fff;
    }

@media (max-width: 1100px) {
    .s5-grid {
        grid-template-columns: 1fr;
    }
    .s5-form {
        width: 100%;
    }
}

/* Garante que o header não herde bg-blue */
.header {
    background: #fff !important;
}

/* =========================================
   NAV-LINK ACTIVE (scrollspy)
   ========================================= */

/* Desktop - linha embaixo no link ativo */
@media (min-width: 1200px) {
    .nav-link.active::after {
        opacity: 1 !important;
        width: 100% !important;
    }
    .nav-link.active {
        font-weight: 700;
    }
}

/* Mobile - link ativo destacado no painel azul */
.navbar-collapse .nav-link.active {
    opacity: 1;
    font-weight: 700;
    padding-left: 0.6rem;
    border-left: 3px solid #fff;
}

/* =========================================
   BANNER DE TOPO - PÁGINAS INTERNAS
   (sobre-nos, privacidade, produtos, videos)
   Fundo branco + título azul - igual ao index
   ========================================= */

header.header.page-internal {
    background: #fff !important;
}

header.header.page-internal .header-inner {
    padding-top: 13rem !important;
    padding-bottom: 4rem !important;
}

/* Neutraliza os paddings gigantes das classes internas */
header.header.page-internal .about-header,
header.header.page-internal .privacy-header,
header.header.page-internal .products-header,
header.header.page-internal .videos-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Título azul estilo index (Nunito 800 uppercase) */
header.header.page-internal .header-inner h1 {
    font-family: 'Nunito', sans-serif !important;
    font-size: 4.8rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    color: var(--fros-blue-color) !important;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

header.header.page-internal .header-inner .lead {
    font-size: 1.5rem !important;
    font-weight: 500;
    color: #555 !important;
    max-width: 750px;
    margin: 0 auto !important;
    line-height: 1.7;
}

@media (max-width: 768px) {
    header.header.page-internal .header-inner {
        padding-top: 12rem !important;
        padding-bottom: 4rem !important;
    }
    header.header.page-internal .header-inner h1 {
        font-size: 3.2rem !important;
    }
}

/* =========================================
   ANIMAÇÕES AOS NO MOBILE SEM QUEBRA DE LAYOUT
   ========================================= */

/* Contenção de overflow horizontal em toda a página */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* =========================================================
   CONTAINER RESPONSIVO (estilo Bootstrap)
   Largura máxima por breakpoint + centralizado + padding lateral
   ========================================================= */
.container {
    width: 100%;
    max-width: 1320px;       /* largura máxima em telas grandes */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;    /* respiro lateral (gutter) */
    padding-right: 1.5rem;
}

/* Breakpoints estilo Bootstrap */
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

/* No mobile, as animações laterais (fade-left/right) são a causa
   da quebra porque deslocam elementos para fora da tela.
   Aqui convertemos o deslocamento lateral em vertical apenas no mobile,
   mantendo a animação mas sem rolagem horizontal. */
@media (max-width: 991px) {

    [data-aos="fade-left"],
    [data-aos="fade-right"] {
        transform: translate3d(0, 40px, 0) !important;
    }

    [data-aos="fade-left"].aos-animate,
    [data-aos="fade-right"].aos-animate {
        transform: translate3d(0, 0, 0) !important;
    }
}

/* =========================================================
   FORMULÁRIO DE CONTATO - 2 COLUNAS NO DESKTOP
   Nome+Telefone numa linha, Email+Assunto noutra.
   No mobile (<768px) cada campo ocupa a linha inteira.
   ========================================================= */
.form-row {
    display: flex;
    gap: 1.2rem;
}

.form-row .form-element {
    flex: 1;
    min-width: 0; /* evita estouro do input dentro do flex */
}

/* Mobile: empilha (mantém como já estava) */
@media (max-width: 767px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* =========================================================
   PÁGINAS INTERNAS - resumo no banner + section azul
   ========================================================= */

/* Parágrafo de resumo abaixo do subtítulo no banner (fundo branco) */
header.header.page-internal .page-resumo {
    max-width: 760px;
    margin: 2rem auto 0;
    font-size: 1.5rem;
    line-height: 1.8;
    color: #666;
    font-style: italic;
}

/* ---- SECTION AZUL (2ª section das páginas internas) ---- */
.section-azul {
    background: linear-gradient(135deg, #0050d5 0%, #003a9e 100%) !important;
    color: #fff !important;
}

/* Títulos e textos dentro da section azul ficam claros */
.section-azul h2,
.section-azul h3,
.section-azul h4 {
    color: #fff !important;
}

.section-azul p,
.section-azul li,
.section-azul .text {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Linha decorativa (border-line) clara */
.section-azul .border-line::after {
    background-color: #fff;
}

/* SobreNos: já é texto centralizado, garante leitura no azul */
.section-azul .section-head h2 {
    color: #fff;
}

/* Privacidade: as caixas viram cartões translúcidos sobre o azul */
.section-azul .privacy-box {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 2.5rem;
    backdrop-filter: blur(6px);
}

/* Produtos e Vídeos: os títulos de CATEGORIA ficam brancos (sobre o azul),
   mas os cards de vídeo continuam brancos com texto escuro legível */
.section-azul .product-category h2,
.section-azul .video-category h2 {
    color: #fff !important;
    border-bottom-color: rgba(255, 255, 255, 0.3) !important;
}

/* O card de vídeo (video-info) tem fundo branco, então o texto
   deve permanecer escuro para ser legível - NÃO forçar branco aqui */
.section-azul .video-info {
    background: #fff !important;
}

.section-azul .video-info h3 {
    color: #0d1b2a !important;
}

.section-azul .video-info p {
    color: #555 !important;
}

/* Privacidade: força títulos e textos brancos */
.section-azul .privacy-box h2,
.section-azul .privacy-box p,
.section-azul .privacy-box li {
    color: #fff !important;
}

/* Mobile: resumo um pouco menor */
@media (max-width: 768px) {
    header.header.page-internal .page-resumo {
        font-size: 1.35rem;
    }
}

/* =========================================================
   SECTIONS DE DESTAQUE (1ª section das páginas internas)
   Fundo branco, conteúdo de destaque + botões
   ========================================================= */
.destaque-section {
    background: #fff;
    padding: 5rem 0 6rem;
}

.destaque-titulo {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--fros-blue-color);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.destaque-sub {
    font-size: 1.5rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

/* ---- BOTÃO azul padrão das sections de destaque ---- */
.destaque-section .btn-blue {
    display: inline-block;
    background: var(--fros-blue-color);
    color: #fff;
    padding: 1.1rem 2.6rem;
    border-radius: 6px;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.destaque-section .btn-blue:hover {
    background: #003a9e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 80, 213, 0.3);
}

/* ---- VÍDEO EM DESTAQUE (página Videos) ---- */
.destaque-video {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.destaque-video-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 80, 213, 0.2);
    margin-bottom: 3rem;
}

.destaque-video-frame iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---- CARDS DE CATEGORIAS (página Produtos) ---- */
.destaque-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.destaque-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    padding-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
}

.destaque-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 40px rgba(0, 80, 213, 0.2);
}

.destaque-card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.destaque-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.destaque-card:hover .destaque-card-img img {
    transform: scale(1.08);
}

.destaque-card h3 {
    font-size: 1.9rem;
    color: var(--fros-blue-color);
    margin: 2.2rem 0 1.8rem;
    padding: 0 1.5rem;
}

/* ---- DOUTORES (página SobreNos) ---- */
.destaque-doutores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.doutor-card {
    text-align: center;
}

.doutor-foto {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--fros-blue-color);
    box-shadow: 0 6px 20px rgba(0, 80, 213, 0.2);
    transition: all 0.3s ease;
}

.doutor-card:hover .doutor-foto {
    transform: scale(1.05);
    border-color: var(--light-blue-color);
}

.doutor-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.doutor-card h3 {
    font-size: 2rem;
    color: var(--fros-blue-color);
    margin-bottom: 0.5rem;
}

.doutor-card span {
    font-size: 1.4rem;
    color: #777;
}

/* ---- SEGURANÇA DE DADOS (página Privacidade) ---- */
.seguranca-destaque {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.seguranca-icones {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.seguranca-icones i {
    font-size: 5rem;
    color: var(--fros-blue-color);
    opacity: 0.85;
}

.seguranca-icones i:nth-child(2) {
    font-size: 6.5rem;
    color: var(--light-blue-color);
}

.seguranca-badges {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.seguranca-badges span {
    font-size: 1.4rem;
    color: #444;
    font-weight: 600;
}

.seguranca-badges i {
    color: #22c55e;
    margin-right: 0.5rem;
}

/* ---- RESPONSIVO ---- */
@media (max-width: 991px) {
    .destaque-cards,
    .destaque-doutores {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .seguranca-icones {
        gap: 2rem;
    }
    .seguranca-icones i {
        font-size: 4rem;
    }
    .seguranca-icones i:nth-child(2) {
        font-size: 5rem;
    }
}

/* =========================================================
   SCROLL-MARGIN para âncoras não ficarem atrás da navbar fixa
   ========================================================= */
.product-category[id],
#videos-page,
#produtos {
    scroll-margin-top: 110px;
}

/* =========================================================
   AJUSTE: conteúdo de destaque DENTRO do banner branco
   (aparece tudo junto na 1ª tela, sem precisar rolar)
   ========================================================= */

/* Espaçamento entre o subtítulo e o bloco de destaque */
header.header.page-internal .destaque-video,
header.header.page-internal .destaque-cards,
header.header.page-internal .destaque-doutores,
header.header.page-internal .seguranca-destaque {
    margin-top: 3.5rem;
}

/* Vídeo em destaque: menor para caber na tela */
header.header.page-internal .destaque-video {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

header.header.page-internal .destaque-video-frame {
    margin-bottom: 2rem;
}

/* Cards de produtos e doutores: imagens/fotos menores */
header.header.page-internal .destaque-card-img {
    height: 170px;
}

header.header.page-internal .destaque-card h3 {
    margin: 1.6rem 0 1.4rem;
    font-size: 1.7rem;
}

header.header.page-internal .doutor-foto {
    width: 140px;
    height: 140px;
    margin-bottom: 1.5rem;
}

header.header.page-internal .doutor-card h3 {
    font-size: 1.8rem;
}

/* Segurança: ícones menores */
header.header.page-internal .seguranca-icones {
    margin-bottom: 2rem;
}

header.header.page-internal .seguranca-icones i {
    font-size: 4rem;
}

header.header.page-internal .seguranca-icones i:nth-child(2) {
    font-size: 5rem;
}

header.header.page-internal .seguranca-destaque .destaque-sub {
    margin-bottom: 2rem;
}

/* Botão dentro do banner */
header.header.page-internal .btn-blue {
    display: inline-block;
    background: var(--fros-blue-color);
    color: #fff;
    padding: 1.1rem 2.6rem;
    border-radius: 6px;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

header.header.page-internal .btn-blue:hover {
    background: #003a9e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 80, 213, 0.3);
}

/* Cards continuam com texto escuro (fundo branco do banner) */
header.header.page-internal .destaque-card h3,
header.header.page-internal .doutor-card h3 {
    color: var(--fros-blue-color);
}

/* =========================================================
   BOTÃO VOLTAR AO TOPO
   Aparece ao rolar a partir da 2ª section, acima do WhatsApp
   ========================================================= */
.back-to-top {
    position: fixed;
    bottom: 90px;       /* acima do WhatsApp (que fica em bottom:20px, 60px de altura) */
    right: 20px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: var(--fros-blue-color);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 80, 213, 0.45);
    z-index: 999;

    /* escondido por padrão */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.3s ease, visibility 0.35s;
}

/* visível quando a classe é adicionada via JS */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #003a9e;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 80, 213, 0.6);
}

.back-to-top:active {
    transform: translateY(0);
}

/* No mobile, um pouco menor */
@media (max-width: 768px) {
    .back-to-top {
        width: 52px;
        height: 52px;
        bottom: 82px;
        font-size: 1.7rem;
    }
}

/* =========================================================
   NAVEGAÇÃO DE CATEGORIAS no banner de Produtos (chips)
   ========================================================= */
.categorias-nav {
    margin-top: 3.5rem;
}

.categorias-label {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 2rem;
}

.categorias-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
}

.categoria-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1.1rem 2rem;
    background: #fff;
    border: 2px solid var(--fros-blue-color);
    border-radius: 50px;
    color: var(--fros-blue-color);
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 80, 213, 0.08);
}

.categoria-chip i {
    font-size: 1.4rem;
}

.categoria-chip:hover {
    background: var(--fros-blue-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 80, 213, 0.3);
}

/* Mobile: chips um pouco menores */
@media (max-width: 768px) {
    .categorias-chips {
        gap: 0.8rem;
    }
    .categoria-chip {
        padding: 0.9rem 1.5rem;
        font-size: 1.25rem;
    }
}
