@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #111;
}

/* Fundo Black */
.hero-black {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('img/bg-dr-ribas-black.jpg') no-repeat center center/cover;
    background-color: #0D0D0D; /* Preto Fosco */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 5%;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
}

.text-content {
    max-width: 500px;
    color: white;
}

.logo {
    width: 140px;
    margin-bottom: 20px;
    filter: brightness(1); /* Branco para destacar no fundo preto */
}

.text-content h1 {
    font-size: 2.8rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

.text-content h1 span {
    font-weight: 700;
    font-style: italic;
    color: #C8A25D; /* Dourado Premium */
}

/* Estilo das listas */
.services {
    list-style: none;
    margin-top: 20px;
    padding-left: 0;
}

.services li {
    font-size: 1.2rem;
    font-weight: 400;
    color: white;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

/* Seta estilo mensagem lida do WhatsApp (1 check, em dourado) */
.services li::before {
    content: "\2713"; /* Unicode para ✓ */
    color: #C8A25D; /* Dourado */
    font-size: 1.4rem;
    font-weight: bold;
    margin-right: 10px;
}

/* Botão Premium */
.cta-button {
    margin-top: 20px;
	cursor: pointer;
}

.cta-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #C8A25D; /* Verde WhatsApp */
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0px 5px 15px rgba(200, 162, 93, 0.4);
}

.cta-button a img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* Hover Premium */
.cta-button a:hover {
    background: linear-gradient(90deg, #C8A25D, #E6B76A);
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(200, 162, 93, 0.6);
}

/* Ajustando imagem + texto sempre lado a lado */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.social-proof img {
    width: 150px;
    margin-right: 10px;
    filter: brightness(0.8);
}

.social-proof p {
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

/* VIDEO DE VEMDAS */


.video-section {
    background-color: #111; /* Fundo preto sofisticado */
    padding: 100px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-title {
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    max-width: 900px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.video-title .highlight {
    color: #C89F57; /* Dourado para destaque */
}

.video-subtitle {
    color: #bbb;
    font-size: 18px;
    margin-bottom: 20px;
}

.video-container {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 30px;
}

.video-container iframe {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 600px;
    text-align: left; /* Mantém alinhado ao centro da seção */
}

.benefits-list li {
    display: flex;
    align-items: center;
    font-size: 20px;
    color: #fff;
    margin-bottom: 15px;
}

.benefits-list img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.btn-consulta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 800px;
    background-color: #C89F57; /* Dourado */
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    padding: 18px 0;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    margin-top: 30px;
}

.btn-consulta img {
    width: 28px;
    height: 28px;
    margin-right: 10px;
}

.btn-consulta:hover {
    background-color: #d4af68; /* Dourado mais claro no hover */
}

/* QUEIXAS / AREAS */

.queixas-container {
    text-align: center;
    padding: 60px 20px;
    background: #111; /* Fundo mais escuro */
}

.titulo-queixas {
    font-size: 26px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6); /* Opacidade */
    margin-bottom: 30px;
    font-weight: bold;
}

.container-queixas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.box-queixa {
    background: #222;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.box-queixa h3 {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.box-queixa p {
    color: #ddd;
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

/* Efeito Hover com Borda Dourada */
.box-queixa:hover {
    border-color: #d4af37; /* Dourado */
    transform: scale(1.05);
}

/* Seta Estilizada */
.seta-container {
    margin-top: 40px;
}

.seta-baixo {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-left: 4px solid #d4af37;
    border-bottom: 4px solid #d4af37;
    transform: rotate(-45deg);
    animation: seta-piscar 1s infinite alternate;
}

/* Animação para dar um efeito de "chamar atenção" */
@keyframes seta-piscar {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(-45deg);
    }
    100% {
        opacity: 0.5;
        transform: translateY(10px) rotate(-45deg);
    }
}

/* SESSOES SERVICOS ESPECIFICOS */

.timeline {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Estiliza os itens */
.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    margin-bottom: 80px;
}

/* Linha central */
.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: #d4af37; /* Dourado */
    transform: translateX(-50%);
}

/* Bolinha da linha do tempo */
.timeline-marker {
    position: absolute;
    left: 50%;
    width: 18px;
    height: 18px;
    background-color: #d4af37;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Estilização do vídeo */
.video-container-timeline {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
}

.video-container-timeline iframe {
    width: 100%;
    max-width: 360px;
    height: 640px;
    border-radius: 10px;
    display: block;
    opacity: 1;
    z-index: 1;
    position: relative;
}

/* Ajustando o texto */
.text-container {
    flex: 1;
    text-align: left;
    padding: 20px;
    max-width: 500px;
}

.text-container h2 {
    font-size: 24px;
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
}

.text-container p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Etiquetas */
.etiquetas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.etiqueta {
    background-color: rgba(255, 215, 0, 0.1);
    color: #d4af37;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 12px;
}

/* Botão WhatsApp */
.btn-consulta-timeline {
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 350px;
    background-color: #C89F57;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    padding: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}


.btn-consulta-timeline:hover {
    background-color: #d4af68;
}

/* Alternância corrigida */
.timeline-item:nth-child(odd) .video-container-timeline {
    order: 1;
}

.timeline-item:nth-child(odd) .timeline-content {
    order: 2;
}

.timeline-item:nth-child(even) .video-container-timeline {
    order: 2;
}

.timeline-item:nth-child(even) .timeline-content {
    order: 1;
}
.timeline-item:nth-child(odd) .text-container {
    text-align: left;
}

.timeline-item:nth-child(even) .text-container {
    text-align: right;
}
/* Alternância das etiquetas */
.timeline-item:nth-child(odd) .etiquetas {
    justify-content: flex-start; /* Alinhado à esquerda */
}

.timeline-item:nth-child(even) .etiquetas {
    justify-content: flex-end; /* Alinhado à direita */
}

.timeline-item:nth-child(odd) .btn-consulta-timeline {
    justify-content: flex-start; /* Alinhado à esquerda */
}

.timeline-item:nth-child(even) .btn-consulta-timeline {
    justify-content: flex-end; /* Alinhado à direita */
}

/* APRESENTACAO */

/* Sessão de apresentação do Dr. Ribas */
.sessao-apresentacao {
    background-color: #ffffff; /* Fundo branco */
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
}

/* Container para alinhar o conteúdo */
.apresentacao-container {
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
	line-height: 30px;
}

/* Imagem do Dr. Ribas */
.img-dr-ribas {
    width: 100%;
    max-width: 450px; /* Aumentado para maior destaque */
    height: auto;
    border-radius: 12px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

/* Área de texto */
.texto-apresentacao {
    max-width: 600px;
    color: #111; /* Texto preto para contraste */
}

/* Título da apresentação */
.texto-apresentacao h2 {
    font-size: 32px;
    font-weight: bold;
    color: #C8A25D; /* Dourado premium */
    margin-bottom: 10px;
}

/* Subtítulo */
.texto-apresentacao h3 {
    font-size: 22px;
    font-weight: 600;
    color: #555; /* Cinza escuro para um equilíbrio */
    margin-bottom: 15px;
}

/* Parágrafos */
.texto-apresentacao p {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Destacar frases importantes */
.texto-apresentacao strong {
    color: #C8A25D; /* Mantendo o dourado para chamar atenção */
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .apresentacao-container {
        flex-direction: column;
        text-align: center;
    }

    .img-dr-ribas {
        width: 300px; /* Reduzir para melhor adaptação */
    }

    .texto-apresentacao {
        max-width: 100%;
    }
}

/* Botão Instagram seguindo identidade visual */
.btn-instagram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 350px;
    background-color: #C89F57; /* Dourado do projeto */
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    border: 2px solid #C89F57;
}

/* Ícone Instagram */
.btn-instagram i {
    font-size: 20px;
    margin-right: 10px;
}

/* Hover */
.btn-instagram:hover {
    background-color: #d4af68; /* Dourado mais claro no hover */
    transform: scale(1.05);
    box-shadow: 0px 4px 15px rgba(200, 162, 93, 0.5);
}

.btn-instagram:hover i {
    color: white;
}


/* DESTAQUE DR RIBAS */

/* Sessão de Palestras */
.sessao-palestras {
    background-color: #F8F8F8; /* Fundo cinza claro para contraste */
    color: #111; /* Texto escuro para melhor leitura */
    padding: 80px 5%;
    text-align: center;
}

/* Título da Sessão */
.titulo-palestras {
    font-size: 28px;
    font-weight: bold;
    color: #d4af37; /* Dourado sofisticado */
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Descrição da Sessão */
.descricao-palestras {
    font-size: 18px;
    color: #444; /* Cinza escuro para leitura mais confortável */
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* Grid de Imagens das Palestras */
.grid-palestras {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Ajusta automaticamente */
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilização das Imagens */
.grid-palestras img {
    width: 100%;
    max-width: 500px; /* Mantém proporção adequada */
    height: 330px; /* Altura fixa para padronização */
    object-fit: cover; /* Garante que as imagens fiquem bem enquadradas */
    border-radius: 12px; /* Borda arredondada */
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito Hover nas Imagens */
.grid-palestras img:hover {
    transform: scale(1.05); /* Leve zoom no hover */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2); /* Sombra mais forte */
}

/* Destaques em dourado */
.destaques-palestras span {
    color: #d4af37;
    font-weight: bold;
}

/* DEPOIMENTOS */

/* Seção de Depoimentos */
.depoimentos {
    background-color: #F8F8F8; /* Fundo claro */
    padding: 80px 0;
    text-align: center;
    width: 100%;
}

/* Título da seção */
.titulo-depoimentos {
    font-size: 32px;
    font-weight: bold;
    color: #111;
    margin-bottom: 50px;
    text-transform: uppercase;
}

/* Layout - No máximo 2 depoimentos por linha */
.container-depoimentos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); /* Máximo 2 lado a lado */
    gap: 40px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Ajuste para garantir que a imagem não estique */
.depoimento {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Garante que as imagens mantenham proporção */
.depoimento img {
    width: 100%;
    height: auto; /* Mantém a proporção original */
    max-width: 550px; /* Mantém qualidade */
    max-height: 100%; /* Evita esticar */
    display: block;
    object-fit: contain; /* Garante que a imagem se encaixe sem esticar */
    border-radius: 12px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15);
}

/* Efeito hover premium */
.depoimento:hover img {
    transform: scale(1.02);
    transition: 0.3s ease-in-out;
}

/* BG FINAL */

/* Seção final com imagem full */
.final-section-custom {
    position: relative;
    width: 100%;
    height: 100vh; /* Tela cheia */
    background: url('img/bg-dr-ribas-final.jpg') no-repeat left center/cover; /* Dr. Ribas à esquerda */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 500px 80px; /* Ajuste no padding para mais espaço superior/inferior */
}

/* Camada de escurecimento */
.overlay-custom {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Escurece para contraste */
    top: 0;
    left: 0;
}

/* Conteúdo posicionado no lado direito da tela */
.content-final-custom {
    position: relative;
    z-index: 2;
    max-width: 50%;
    color: white;
    text-align: left;
    margin-right: 8%;
}

/* Headline principal em caixa alta e fonte normal do site */
.headline-final-custom {
    font-size: 32px;
    font-weight: 700;
    color: #d4af37; /* Dourado */
    text-transform: uppercase;
    margin-bottom: 40px;
    line-height: 1.3;
}

/* Container das certezas */
.certezas-container-custom {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Aumento no espaçamento */
}

/* Estilização das caixas de certeza */
.certeza-item-custom {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3); /* Preto mais opaco */
    border-radius: 12px;
    padding: 18px 25px; /* Ajuste no padding */
    color: white;
    font-size: 15px;
    max-width: 90%;
}

/* Ícone de check estilo WhatsApp */
.check-icon-custom {
    background-color: transparent;
    color: #d4af37;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.check-icon-custom::before {
    content: "\2713"; /* Código Unicode para ✓ */
    font-size: 22px;
}

/* Botão de Agendamento */
.final-btn-agendar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 350px;
    background-color: #C89F57; /* Dourado */
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    margin-top: 20px; /* Mais espaçamento do conteúdo acima */
}

.final-btn-agendar img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.final-btn-agendar:hover {
    background-color: #d4af68; /* Dourado mais claro no hover */
}

/* FOOTER */

/* Rodapé */
.footer-custom {
    background: #000; /* Preto Premium */
    color: white;
    text-align: center;
    padding: 60px 20px; /* AUMENTEI O PADDING PARA NÃO FICAR IMPRENSADO */
}

/* Logo do rodapé */
.footer-logo img {
    width: 150px;
    margin-bottom: 25px; /* Mais espaçamento abaixo */
}

/* Informações da clínica */
.footer-info h3 {
    font-size: 20px;
    color: #d4af37; /* Dourado */
    margin-bottom: 10px;
}

.footer-info p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 20px; /* Mais espaçamento */
    line-height: 1.6;
}

/* Contato */
.footer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px; /* Mais espaçamento */
}

.footer-contact img {
    width: 24px;
    height: 24px;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #d4af37; /* Dourado no hover */
}

/* Direitos Autorais */
.footer-rights {
    margin-top: 100px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7); /* Opacidade para suavizar */
}

.footer-rights a {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
}

.footer-rights a:hover {
    text-decoration: underline;
}

/* Ícone Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 40px; /* Aumentei a margem inferior */
    right: 30px;  /* Aumentei a margem lateral */
    width: 65px;
    height: 65px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

/* Efeito Hover */
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0px 8px 20px rgba(37, 211, 102, 0.5);
}

/* Animação de "pulsação" */
@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        box-shadow: 0px 5px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0px 8px 25px rgba(37, 211, 102, 0.7);
    }
    100% {
        transform: scale(1);
        box-shadow: 0px 5px 15px rgba(37, 211, 102, 0.4);
    }
}

/* Aplicando a animação */
.whatsapp-float {
    animation: pulse-whatsapp 1.5s infinite;
}

/* MOBILE */

@media (max-width: 1024px) {
    .hero-black {
        height: auto;
        padding: 60px 4%; /* Aumentei a margem lateral */
		background: url('img/bg-dr-ribas-black-mobile.jpg') no-repeat center center/cover;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .container {
        flex-direction: column;
        text-align: left;
        width: 100%;
    }

    .text-content {
        max-width: 80%; /* Garante que não ultrapasse a metade da tela */
        text-align: left;
    }

    .text-content h1 {
        font-size: 1.8rem;
        line-height: 1.0;
        max-width: 70%; /* Ocupa no máximo 50% da tela */
    }

    .text-content h1 span {
        font-size: 2.2rem;
    }

    .services {
        margin: 30px 0;
        padding-left: 0;
        text-align: left;
    }

    .services li {
        font-size: 1rem;
		line-height: 30px;
    }

    .cta-button {
        width: 100%;
        max-width: 350px;
        display: flex;
        justify-content: flex-start;
    }

    .cta-button a {
        font-size: 0.8rem;
        padding: 12px 20px;
    }

    .social-proof {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    }

    .social-proof img {
        width: 100px;
    }

    /* Reduzindo tamanho do parágrafo */
    .text-content p {
        font-size: 0.6rem; /* Diminuído para melhor leitura */
        color: rgba(255, 255, 255, 0.8); /* Suaviza para melhor contraste */
    }
}

@media (max-width: 1024px) {
    .video-section {
        padding: 60px 5%;
        text-align: left;
    }

    .video-title {
        font-size: 1.8rem; /* Reduzindo headline */
        text-align: center;
        max-width: 100%;
    }

    .video-subtitle {
        font-size: 1rem;
        margin-bottom: 15px;
        text-align: left;
    }

    .video-container {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .video-container iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9; /* Mantém a proporção sem precisar definir altura fixa */
        border-radius: 8px;
    }

    .benefits-list {
        max-width: 100%;
        padding-left: 0;
        margin: 30px 0;
    }

    .benefits-list li {
        font-size: 1rem;
        display: flex;
        align-items: center;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .benefits-list img {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }

    .btn-consulta {
        width: 100%;
        max-width: 350px;
        font-size: 1rem;
        padding: 14px;
        text-align: center;
    }

    .btn-consulta img {
        width: 22px;
        height: 22px;
        margin-right: 8px;
    }
}

@media (max-width: 1024px) {
    .queixas-container {
        padding: 50px 8%; /* Adicionando mais espaçamento lateral */
        text-align: left;
    }

    .titulo-queixas {
        font-size: 1.5rem;
        margin-bottom: 25px;
        text-align: left;
    }

    .container-queixas {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Ajustando tamanho mínimo */
        gap: 20px;
        justify-content: center;
        max-width: 100%;
    }

    .box-queixa {
        padding: 18px;
        border-radius: 12px;
        text-align: left;
        font-size: 1rem;
        margin: 0 auto;
    }

    .box-queixa h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .box-queixa p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .seta-container {
        margin-top: 40px;
        text-align: center;
    }

    .seta-baixo {
        width: 16px;
        height: 16px;
        border-left: 3px solid #d4af37;
        border-bottom: 3px solid #d4af37;
    }
}

@media (max-width: 600px) {
    .queixas-container {
        padding: 50px 10%; /* Ainda mais espaçamento lateral para mobile */
    }

    .container-queixas {
        grid-template-columns: 1fr; /* Apenas 1 box por linha */
        gap: 25px; /* Aumentando espaçamento vertical */
    }

    .box-queixa {
        font-size: 0.9rem;
        padding: 15px;
    }
}

/* Oculta a versão mobile no desktop */
.timeline-mobile {
    display: none;
}

/* Oculta a versão desktop no mobile */
@media (max-width: 768px) {
    .timeline {
        display: none; /* Esconde a versão desktop */
    }

    .timeline-mobile {
        display: block; /* Exibe a versão mobile */
        padding: 40px 20px;
    }

    .timeline-item-mobile {
        background: #222;
        border-radius: 12px;
        margin-bottom: 30px;
        padding: 20px;
        text-align: left;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .video-container-mobile {
        width: 100%;
        margin-bottom: 15px;
    }

    .video-container-mobile iframe {
        width: 100%;
        height: 600px;
        border-radius: 8px;
    }

    .text-container-mobile {
        text-align: left;
        color: white;
    }

    .text-container-mobile h2 {
        font-size: 18px;
        font-weight: bold;
        color: #C8A25D;
        margin-bottom: 10px;
    }

    .text-container-mobile p {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .btn-consulta-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #C89F57;
        color: white;
        font-size: 12px;
        font-weight: bold;
        padding: 12px;
        border-radius: 8px;
        text-decoration: none;
        transition: 0.3s;
    }

    .btn-consulta-mobile:hover {
        background-color: #d4af68;
    }
}

@media (max-width: 768px) {
    .sessao-apresentacao {
        padding: 40px 20px; /* Reduz o padding para não ficar muito colado nas laterais */
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .apresentacao-container {
        flex-direction: column; /* Empilha os elementos no mobile */
        text-align: center;
    }

    .img-dr-ribas {
        max-width: 80%; /* Reduz o tamanho da imagem no mobile */
        border-radius: 12px;
        margin-bottom: 20px; /* Espaço entre imagem e texto */
    }

    .texto-apresentacao {
        max-width: 100%;
        text-align: left; /* Mantém o alinhamento left para melhor leitura */
        padding: 0 10px; /* Pequeno padding lateral */
    }

    .texto-apresentacao h2 {
        font-size: 24px; /* Reduz um pouco o tamanho da headline */
        text-align: left; /* Alinha à esquerda */
    }

    .texto-apresentacao h3 {
        font-size: 18px; /* Ajusta tamanho do subtítulo */
        color: #555;
    }

    .texto-apresentacao p {
        font-size: 16px; /* Diminui o tamanho do parágrafo */
        line-height: 1.5;
    }

    /* Botão do Instagram */
    .btn-instagram {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 280px; /* Mantém um tamanho adequado para mobile */
        font-size: 16px;
        padding: 12px;
    }

    .btn-instagram i {
        font-size: 18px;
        margin-right: 8px;
    }
}

@media (max-width: 768px) {
    .sessao-palestras {
        padding: 40px 20px; /* Reduz o padding para evitar elementos muito colados */
        text-align: center;
    }

    .titulo-palestras {
        font-size: 24px; /* Ajusta o tamanho do título */
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .descricao-palestras {
        font-size: 16px; /* Reduz um pouco o tamanho do texto */
        line-height: 1.5;
        max-width: 100%;
        padding: 0 10px;
    }

    .grid-palestras {
        display: flex;
        flex-direction: column; /* Empilha as imagens verticalmente */
        align-items: center;
        gap: 15px;
    }

    .grid-palestras img {
        width: 90%; /* Mantém um tamanho adequado sem ocupar toda a tela */
        max-width: 350px; /* Limita a largura para evitar distorções */
        height: auto; /* Mantém a proporção correta */
        border-radius: 10px;
    }
}

@media (max-width: 768px) {
    .depoimentos {
        padding: 50px 20px; /* Ajuste de padding para evitar que os elementos fiquem colados */
        text-align: center;
    }

    .titulo-depoimentos {
        font-size: 24px; /* Reduz um pouco o tamanho do título */
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .container-depoimentos {
        display: flex;
        flex-direction: column; /* Empilha os depoimentos em vez de manter em grid */
        align-items: center;
        gap: 20px; /* Espaçamento entre os depoimentos */
    }

    .depoimento {
        width: 90%; /* Reduz a largura para não encostar nas laterais */
        max-width: 400px; /* Limita o tamanho máximo para não ficar exagerado */
    }

    .depoimento img {
        width: 100%; /* Garante que as imagens fiquem responsivas */
        height: auto; /* Mantém a proporção correta */
        border-radius: 10px;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 768px) {
    .final-section-custom {
        height: auto; /* Remove a altura fixa para melhor ajuste */
        padding: 80px 20px; /* Ajusta padding para não ficar muito colado */
        display: flex;
        flex-direction: column; /* Empilha os elementos */
        align-items: center;
        justify-content: center;
        text-align: center; /* Alinha o texto ao centro para melhor leitura */
        background-position: center top; /* Mantém o médico visível */
    }

    .content-final-custom {
        max-width: 100%; /* Faz com que o conteúdo ocupe toda a tela */
        margin: 0;
        text-align: center; /* Centraliza todo o conteúdo */
    }

    .headline-final-custom {
        font-size: 24px; /* Reduz o tamanho da headline */
        line-height: 1.3;
        margin-bottom: 30px;
    }

    .certezas-container-custom {
        gap: 10px; /* Reduz espaço entre os itens */
    }

    .certeza-item-custom {
        padding: 12px 15px; /* Reduz tamanho do padding */
        font-size: 16px; /* Ajusta tamanho da fonte */
        max-width: 100%; /* Faz os itens ocuparem toda a largura */
        text-align: left; /* Mantém alinhado à esquerda para legibilidade */
    }

    .check-icon-custom {
        font-size: 20px; /* Ajusta tamanho do ícone */
        margin-right: 8px;
    }

    .final-btn-agendar {
        max-width: 100%; /* Ocupa toda a largura disponível */
        font-size: 18px;
        padding: 14px 20px;
        margin-top: 25px; /* Dá um respiro extra antes do botão */
    }
}

@media (max-width: 768px) {
    .footer-custom {
        padding: 50px 20px; /* Ajusta padding para evitar espaçamento excessivo */
        text-align: center; /* Centraliza todo o conteúdo */
    }

    .footer-logo img {
        width: 120px; /* Reduz o tamanho da logo */
        margin-bottom: 20px;
    }

    .footer-info h3 {
        font-size: 18px; /* Reduz o tamanho da fonte do título */
        margin-bottom: 10px;
    }

    .footer-info p {
        font-size: 14px; /* Ajusta o tamanho do texto */
        max-width: 100%;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .footer-contact {
        flex-direction: column; /* Empilha os elementos */
        gap: 8px; /* Reduz espaço entre os itens */
        font-size: 16px;
    }

    .footer-contact img {
        width: 20px; /* Ajusta o tamanho do ícone do WhatsApp */
        height: 20px;
    }

    .footer-contact a {
        font-size: 16px; /* Ajusta o tamanho do link de contato */
    }

    .footer-rights {
        font-size: 12px; /* Diminui o texto dos direitos autorais */
        margin-top: 30px; /* Aumenta o espaço superior */
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px; /* Reduz um pouco o tamanho */
        height: 55px;
        font-size: 26px; /* Ajusta o ícone para não ficar exagerado */
        bottom: 20px; /* Eleva um pouco do rodapé */
        right: 15px; /* Aproxima um pouco da lateral */
    }
}
