/* ============================================================
   1. CONFIGURAÇÕES GERAIS E FONTES
   ============================================================ */
   
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400&display=swap');

@import url('https://fonts.googleapis.com');

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Lato', sans-serif;
}

/* ============================================================
   2. BARRA SUPERIOR (DEGRADÊ E VERDE FLUORESCENTE)
   ============================================================ */
.top-bar-tecnologia {
    background: linear-gradient(to right, #010712, #2e6490);
    height: 35px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.texto-empresa, 
.redes-sociais-top a, 
.link-login-top {
    color: #b2fd0e !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
}

.redes-sociais-top a:hover, 
.link-login-top:hover {
    color: #ffffff !important;
}

/* ============================================================
   3. CAPA DO SITE (HERO SECTION) - REORGANIZADA
   ============================================================ */
.capa-site {
    background-image: url('../img/bg-header.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh; /* Ocupa toda a altura da tela */
    width: 100%;
    position: relative;
    overflow: hidden; /* Garante que o texto que desliza não crie barra de rolagem */
}

/* Logo Smile e Clínica Dentária */
.logo-wrapper {
    position: absolute;
    top: 15%; /* Ajustado para percentual para melhor resposta em telas diferentes */
    left: 80px;
    display: flex;
    align-items: center;
}

.logo-smile {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Reduzido de 900 para 700 para ficar mais elegante */
    font-size: 110px; /* Aumentado conforme o modelo */
    color: #333;
    margin: 0;
    letter-spacing: -3px; /* Aproxima um pouco as letras como no modelo */
    text-transform: lowercase;
}

.barra-vertical {
    width: 1px;
    height: 80px;
    background-color: #ccc;
    margin: 0 40px;
}

.subtitulo-clinica {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px; /* Reduzido de 24px para ficar mais proporcional */
    color: #444;
    font-weight: 300;
    max-width: 130px; 
    line-height: 1.1;
}

/* ajuste para mobile */
@media (max-width: 768px) {
    /* Centraliza o conjunto e coloca um embaixo do outro */
    .logo-wrapper {
        position: relative; /* Sai do canto fixo */
        margin-top: 14px;           /* Dá um espaço do topo */
        left: 0;
        flex-direction: column; 
        text-align: center;
        width: 100%;
    }

    /* Diminui o tamanho da fonte para caber na tela do celular */
    .logo-smile {
        font-size: 60px;
        letter-spacing: -1px;
        margin-bottom: -10px;
    }

    /* Esconde a barra vertical conforme seu plano */
    .barra-vertical {
        display: none;
    }

    /* Centraliza o subtítulo abaixo do logo */
    .subtitulo-clinica {
        max-width: none;
        margin-top: 10px;
    }
  /* Esconde o menu transparente, o trilho azul e o triângulo no mobile */
    .menu-transparente-container, 
    .linha-trilho, 
    .ponteiro-triangulo {
        display: none !important;
    }

    .slide-textos-wrapper {
    position: absolute;
    margin-bottom: -20px; /* Reduzido de 120px para ficar bem mais embaixo, perto do trilho */
    margin-left: -100px;
    width: 500px;
    text-align: right;
    overflow: hidden; /* Garante que o texto sumindo não crie scroll */
    z-index: 10;
}

.titulo-slide {
    color: #0c10e7;
    
    margin-bottom: -5px; /* Aproxima o h3 do p */
}

  /* Esconde redes sociais e login no topo */
    .icones-sociais, 
    .login-verde, 
    .link-login-top {
        display: none !important;
    }

    /* Garante que o nome da empresa fique centralizado ou visível */
    .lado-esquerdo {
        gap: 0;
        width: 100%;
        justify-content: center;
    }
}

/* No Desktop ele fica escondido */
.menu-mobile-trigger, .overlay-menu {
    display: none;
}

@media (max-width: 768px) {
    /* Mostra o botão abaixo do slide */
    .menu-mobile-trigger {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 100px; /* Espaço abaixo do carrossel */
    }

    .btn-sanduiche {
        background: rgba(19, 185, 197, 0.2); /* Cor do trilho com transparência */
        border: 1px solid #1056b3;
        color: #13b9c5;
        padding: 10px 25px;
        border-radius: 30px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* Estilo do Menu que abre (Ocupa a tela toda) */
    .overlay-menu {
        display: block;
        height: 100%;
        width: 0; /* Começa fechado */
        position: fixed;
        z-index: 2000;
        top: 0;
        left: 0;
        background-color: rgba(1, 7, 18, 0.95); /* Cor escura do seu topo */
        overflow-x: hidden;
        transition: 0.5s;
    }

    .overlay-content {
        position: relative;
        top: 20%;
        width: 100%;
        text-align: center;
    }

    .overlay-menu a {
        padding: 15px;
        text-decoration: none;
        font-size: 24px;
        color: #b2fd0e; /* Verde fluorescente do seu topo */
        display: block;
        font-family: 'Montserrat', sans-serif;
    }

    .overlay-menu .closebtn {
        position: absolute;
        top: 20px;
        right: 45px;
        font-size: 60px;
    }
}


/* Slide de Texto (Canto Inferior Direito) */
.slide-textos-wrapper {
    position: absolute;
    bottom: 25px; /* Reduzido de 120px para ficar bem mais embaixo, perto do trilho */
    right: 80px;
    width: 500px;
    text-align: right;
    overflow: hidden; /* Garante que o texto sumindo não crie scroll */
    z-index: 10;
}

.titulo-slide {
    color: #e70cc6;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 30px; /* Ajuste leve no tamanho */
    text-transform: none; 
    margin-bottom: -5px; /* Aproxima o h3 do p */
}


.desc-slide {
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

/* --- ANIMAÇÃO PERSONALIZADA DO CARROSSEL --- */

/* Surge devagar (Fade In) */
.carousel-item {
    transition: transform 3.2s ease-in-out, opacity 3.2s ease-in-out !important;
}

/* ITEM SAINDO: Desliza para a direita e some */
.active.carousel-item-start, 
.active.carousel-item-end {
    opacity: 0 !important;
    transform: translateX(100px) !important;
}

/* ITEM ENTRANDO: Surge suavemente (fade-in) */
.carousel-item-next, 
.carousel-item-prev {
    opacity: 0;
}

.carousel-item-next.carousel-item-start,
.carousel-item-prev.carousel-item-end {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Ajuste para Celulares */
@media (max-width: 768px) {
    .slide-textos-wrapper {
        position: relative; /* Deixa de flutuar e ganha seu próprio espaço */
        width: 100% !important;
        right: 0 !important;
        bottom: 20px !important;
        text-align: center !important; /* Centralizado é melhor no celular */
        padding: 0 15px;
    }

    .titulo-slide {
        font-size: 20px !important; /* Diminui o rosa vibrante */
        margin-bottom: 5px;
        color: #1056b3;
    }

    .desc-slide {
        font-size: 14px !important;
    }
    
    /* Ajusta a imagem de fundo para não cortar o sorriso */
    .hero-section {
        background-position: center;
        height: auto;
        padding-bottom: 50px;
    }
}

/* ============================================================
   4. LINHA TRILHO E TRIÂNGULO (INDICADOR)
   ============================================================ */

   /* SUBINDO A LINHA AZUL */
.linha-trilho {
    position: absolute;
    bottom: 0px; /* Ajuste para a altura que você quer na tela */
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #13b9c5; /* Azul ciano da imagem */
    z-index: 5;
}

/* O TRIÂNGULO (Mantém o encaixe na linha) */
.ponteiro-triangulo {
    position: absolute;
    width: 32px; /* Tamanho aproximado da sua imagem de triângulo */
    top: -17px; /* Ajuste para o triângulo encostar exatamente na linha */
    left: 6%; /* Posição inicial (ex: sobre o ícone Home) */
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Movimento suave */
    z-index: 90;
}

.ponteiro-triangulo img {
    width: 32px !important;  /* Ajuste para o tamanho que você quer (ex: 20px ou 30px) */
    height: auto !important;
    display: block;
    margin: 0 auto;
}




/* SUBINDO O BLOCO DE MENUS */
.menu-transparente-container {
    position: absolute;
    bottom: 35px; /* Ajuste para ficar um pouco acima da linha azul */
    left: 33px;
    z-index: 20;
    
    /* 1. Cor Branca com Transparência (Nuvem) */
    background: rgba(255, 255, 255, 0.4); 
    
    /* 2. O Efeito de Vidro/Nuvem (Desfoca o que está atrás) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* 3. Acabamento arredondado e bordas suaves */
    border-radius: 40px;
    padding: 15px 35px;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Linha branca bem fina ao redor */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); /* Sombra bem leve para dar profundidade */
}

/* FAZENDO O MENU FICAR HORIZONTAL (Para tirar aquela lista vertical azul) */
.nav.flutuante .content {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%; /* Ocupa todo o container */
    justify-content: space-between; /* Distribui os itens justificadamente */
    gap: 40px; /* Removemos o gap fixo para usar a distribuição do space-between */
}

.nav.flutuante .content li {
    flex: 1; 
    display: flex;
    justify-content: center;
    
}


/* 2. Estiliza os links do menu */
.nav.flutuante .content li a {
    text-decoration: none;
    color: #2e6490; /* Azul do seu projeto */
    font-weight: 600;
    font-size: 10px;
    display: flex;
    flex-direction: column; /* Ícone em cima, texto embaixo */
    align-items: center;
    transition: 0.3s;
    margin-left: 10px;
    justify-content: space-between; /* Distribui os itens justificadamente */
}

/* 3. Garante que os ícones fiquem visíveis e bonitos */
.nav.flutuante .content li a i {
    font-size: 14px;
    margin-bottom: 5px;
    color: #7eabf2; /* Azul mais claro para o ícone */
}



.nav-icones {
    display: flex;
    justify-content: space-around;
    padding-bottom: 15px; /* Espaço para o triângulo não bater nos ícones */
    list-style: none;
}

.nav-icones i {
    color: #7eabf2;
    font-size: 14px!important;
    transition: 0.3s;
}

/* O TRILHO (LINHA AZUL) */
.trilho-azul {
    width: 100%;
    height: 2px;
    background-color: #13b9c5; /* Azul da sua imagem */
    position: relative;
}







.carousel-item {
    display: none;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    display: block;
}

/* No seu style.css */
.nav.flutuante .content {
    display: flex; /* Deixa os itens lado a lado */
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 40px; /* Distância entre os nomes */
}

.nav.flutuante .content li a {
    text-decoration: none;
    color: #2e6490; /* Azul do seu projeto */
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    transition: 0.3s;
}

.nav.flutuante .content li a:hover, 
.nav.flutuante .content li a.active {
    color: #13b9c5; /* Cor do trilho ao passar o mouse */
}

/* AJUSTES PARA CELULAR (Telas menores que 768px) */
@media (max-width: 768px) {
    .capa-site {
        height: auto !important; /* Deixa a altura crescer conforme o conteúdo */
        padding-bottom: 50px;
         position: relative; 
        overflow: visible !important;
    }

    /* 1. Logo Smile: Diminui e centraliza */
    .logo-wrapper {
        position: relative; /* Sai do absolute para não flutuar */
        top: 20px;
        left: 0;
        justify-content: center;
        flex-direction: column; /* Coloca 'Clínica Dentária' embaixo da logo */
    }
    .logo-smile { font-size: 50px; }
    .barra-vertical { display: none; } /* Esconde a barra vertical no celular */

    /* 2. Slide de Texto: Vai para o centro e diminui a letra */
    .slide-textos-wrapper {
        position: relative;
        top: 40px;
        right: 0;
        text-align: center;
        width: 100%;
    }
    .titulo-slide { font-size: 22px; }
    .desc-slide { font-size: 20px; }

    /* 3. Menu Flutuante: Esconde a linha/triângulo e vira um menu hambúrguer */
    .linha-trilho, .ponteiro-triangulo {
        display: none; /* Em telas pequenas, o efeito de trilho não funciona bem */
    }
    
    .nav.flutuante .content {
        flex-direction: column; /* Itens um embaixo do outro no celular */
        gap: 10px;
        background: rgba(255,255,255,0.9);
        padding: 10px;
        border-radius: 10px;
    }

     .nav.flutuante .content {
        display: none !important; /* Esconde o menu de desktop no mobile */
    }


      /* 2. A Cápsula de Vidro (Efeito Fumaça) */
     #menuMobileMobile.overlay-menu {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        
        position: absolute !important; /* Fixa em relação à Hero Section */
        left: 50% !important;
        
        /* ANULA O TOPO E A ALTURA TOTAL ANTIGOS */
        top: auto !important; 
        height: 60px !important; 
        width: 94% !important;
        
        /* POSIÇÃO INICIAL: Escondido 'atrás' da borda inferior */
        bottom: -100px !important; 
        transform: translateX(-50%) scale(1.3) !important;
        
        /* EFEITO FUMAÇA E VIDRO */
        background: rgba(255, 255, 255, 0.25) !important;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
        filter: blur(20px);
        opacity: 0;
        background: rgba(19, 185, 197, 0.2); /* Cor do trilho com transparência */
        border: 2px solid #1056b3;
        color: #13b9c5;
        border-radius: 40px !important; /* Pílula completa */
        
        transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1) !important;
        z-index: 9999  !important;
        overflow: hidden !important;
    }

    /* ESTADO ATIVO: A cápsula 'sobe' para a borda inferior da Hero */
    #menuMobileMobile.overlay-menu.active {
        bottom: -80px !important; /* Distância exata da borda inferior */
        opacity: 1 !important;
        filter: blur(0px) !important;
        transform: translateX(-50%) scale(1) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        pointer-events: auto !important;
    }

    /* 2. ALINHAMENTO DOS LINKS (Home, Serviços, etc) */
    #menuMobileMobile .overlay-content {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        width: 100% !important;
        
        /* ANULA O TOP: 20% DO CSS ANTIGO */
        top: 0 !important; 
        position: relative !important;
        padding: 0 10px !important;
    }

    #menuMobileMobile .overlay-content a {
        color: #2e6490 !important; /* Azul da sua marca */
        font-size: 9px !important;
        font-weight: 400 !important;
        text-transform: uppercase !important;
        padding: 5px !important;
        text-decoration: none !important;
    }

    /* 3. MATA O 'X' E A BARRA DE ROLAGEM HORRÍVEL */
    #menuMobileMobile .closebtn {
        display: none !important;
    }
}

    /* 4. Ajuste do botão gatilho para não empurrar o slide */
    .menu-mobile-trigger {
        margin-top: 180px !important; /* Aumente este valor para o botão descer */
        position: relative;
        z-index: 10;
    }



.hs-nav-top-fina {
    background: linear-gradient(to right, #010712 20%, #2e6490 80%);
    height: 30px; /* Altura ultra-fina da foto */
    width: 100%;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1000;
    padding: 0 40px; /* Espaçamento das bordas da tela */
}

.barra-topo-clinica {
    /* 3. Degradê de Cima para Baixo */
    background: linear-gradient(to bottom, #2e6490 5%, #010712 100%);
    height: 32px; /* Altura fina da imagem */
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 50px; /* Afastamento das bordas da tela */
}

.conteudo-flex-topo {
    width: 100%;
    display: flex;
    justify-content: space-between; /* 2. Garante o Login na direita e o resto na esquerda */
    align-items: center;
}

.lado-esquerdo {
    display: flex;
    align-items: center;
    gap: 80px; /* Espaço entre o nome e o início dos ícones */
}

/* 1. Estilo dos Ícones e Textos Verde Fluorescente */
.texto-verde, .icones-sociais a, .login-verde {
    color: #b2fd0e !important;
    font-size: 9px;
    font-weight: 700;
   
    text-decoration: none;
    font-family: 'Lato', sans-serif;
}

.icones-sociais {
    display: flex;
    gap: 15px; /* Distância entre cada ícone social */
}

.icones-sociais a i {
    font-size: 11px; /* Tamanho dos ícones sociais */
}

.corpo{   
  
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Container Principal - Igual à Harmonização */
.section-servicos-parallax {
    background-image: url('../img/banner2.jpg'); /* Sua imagem de fundo */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* O efeito que você gostou */
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
}

/* Camada de cor por cima da imagem para dar leitura */
.overlay-servicos {
    background: rgba(255, 255, 255, 0.7); /* Branco suave, como na sua foto */
    width: 100%;
    height: 100%;
    padding: 80px 0;
}

/* Alinhamento dos itens */
.grid-servicos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

/* Ajuste no espaçamento dos itens para acomodar ícones maiores */
.servico-item {
    text-align: center;
    flex: 1;
    min-width: 250px; /* Aumentado para não espremer o conteúdo */
    padding: 20px;
}

.servico-item h5 {
    font-size: 1.4rem; /* Título um pouco maior para equilibrar com o ícone */
    color: #333;
    font-weight: bold;
}

.servico-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Estilo do Diamante Azul da sua imagem */
.icone-diamante {
    width: auto; 
    height: auto;
    background-color: transparent; /* Remove o fundo que eu tinha criado */
    transform: none; /* Remove a rotação */
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Aumentando o tamanho da sua imagem (ajuste o valor se quiser ainda maior) */
.icone-diamante img {
    width: 150px; /* Aumentei de 45px para 150px */
    height: auto;
    transform: none; /* Garante que sua imagem original não sofra rotação */
    display: block;
}



/* --- MOBILE --- */
@media (max-width: 768px) {
    .section-servicos-parallax {
        background-attachment: scroll; /* Essencial para não bugar no celular */
    }
    
    .grid-servicos {
        flex-direction: column;
        align-items: center;
    }
}

/* Aplique isso para ambas as seções (2 e 3) */

.section2 {
    width: 100%;
    min-height: 100vh; /* Altura igual à Hero */
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    background-color: #ffffff;
    overflow: hidden;
}

/* 3. Organiza Lado a Lado */
.conteudo-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px; /* Espaço entre texto e foto */
}

.texto-coluna { flex: 1; }

.texto-coluna h2 {
    font-size: 55px; /* Tamanho grande como na Hero */
    font-weight: 900;
    margin-bottom: 5px;
    color: #333;
    margin-left: 15px!important;
}
.texto-coluna h5 {
    color: #888;
    letter-spacing: 2px;
    margin-bottom: 30px;
}
/* --- SECTION ESPECIALISTA (DRA. ROZE) --- */

#especialista .foto-coluna {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex: 0 0 500px !important; 
}

#especialista .moldura-esfumacada {
    width: 100% !important;
    max-width: 480px !important; 
    margin-bottom: 0 !important;
}

#especialista .moldura-esfumacada img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* 3. Ajuste da Assinatura (Centralização e Proximidade) */
#especialista .assinatura-wrapper {
    margin-top: -125px !important; /* Puxa a logo para cima da base da foto */
    margin-bottom: -40px !important; /* Puxa o nome para cima, diminuindo o buraco */
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}
#especialista .logo-animada {
    width: 110px !important; /* Reduzi de 200px para 170px para ficar mais delicada */
    height: 140px !important; /* Altura controlada para não empurrar o texto */
    display: block !important;
    margin: 0 auto !important;
    overflow: visible !important;
}

#especialista .path-escrita {
    stroke-dasharray: 4000;
    stroke-dashoffset: 0; 
    stroke: url(#gradienteRoseGold) !important;
    stroke-width: 2.2px; /* Linha um pouco mais fina fica mais sofisticada */
    /* O SEGREDO DO PREENCHIMENTO */
    fill: url(#gradienteRoseGold) !important;
    fill-opacity: 0; /* Começa totalmente transparente */
    
    transition: fill-opacity 1.5s ease-in-out 3s; /* O preenchimento surge após 3 segundos */
}

/* --- SÓ APLICA A ANIMAÇÃO SE O JS ESTIVER ATIVO --- */
/* Isso evita que a logo fique invisível caso o JS demore a carregar */
.animar-escrita .path-escrita {
    animation: escreverLogo 4s ease-in-out forwards;
     fill-opacity: 0.15 !important; /* Preenchimento suave (15% de opacidade) */
}

#especialista .nome-escrito {
    margin-top: 0 !important; /* Zeramos para o margin-bottom do wrapper cuidar do espaço */
    color: #b7836b;
    font-weight: 600;
    font-size: 14px; /* Diminuí levemente para harmonizar com a logo menor */
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

@keyframes escreverLogo {
    from { stroke-dashoffset: 4000; }
    to { stroke-dashoffset: 0; }
}



#especialista .nome-escrito {
    margin-top: -20px; /* Aproxima o nome da logo RV */
    color: #b7836b;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}


.moldura-esfumacada img {
    max-width: 500px;
    width: 100%;
    height: auto;
    
    /* Efeito Gaussiano nas bordas */
    mask-image: radial-gradient(circle, black 40%, rgba(0,0,0,0.3) 70%, transparent 95%);
    -webkit-mask-image: radial-gradient(circle, black 40%, rgba(0,0,0,0.3) 70%, transparent 95%);
    
    /* Movimento de flutuação suave */
    animation: flutuar 5s ease-in-out infinite;
}

/* Sombra suave para dar profundidade 'gaussiana' */
.moldura-esfumacada::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    box-shadow: inset 0 0 50px 30px #ffffff; /* Esfumaça as bordas para dentro */
    pointer-events: none;
}

@keyframes flutuar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}



/* HR que some nas pontas */
.hr-personalizado hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, #ccc, transparent);
    margin-top: 40px;
}

/* 2. O Container que centraliza o conteúdo horizontalmente */
.container-custom {
    width: 100%;
    max-width: 1200px; /* Largura padrão de site profissional */
    margin: 0 auto;
    padding: 0 40px;
}

.conteudo-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px; /* Aumenta o espaço entre texto e imagem */
    width: 100%;
}
.section2 h2 {
    white-space: nowrap; /* Força o texto a ficar em uma única linha */
    width: 100%;
    font-size: 45px; /* Ajuste conforme necessário para caber no container */
    margin-bottom: 10px;
}
.section2 h5 {
    white-space: nowrap; /* Força o subtítulo em uma única linha */
    width: 100%;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: 1px; /* Dá um ar mais sofisticado ao subtítulo */
}

/* Ajuste do Parágrafo */
.section2 p {
    text-align: justify; /* Justifica o texto como você pediu */
    line-height: 1.6;    /* Melhora a leitura do bloco justificado */
    width: 100%;         /* Garante que ocupe a largura da coluna de texto */
    hyphens: auto;       /* Opcional: ajuda na hifenização do texto justificado */
}

/* Ajuste para garantir que a coluna de texto tenha espaço para não quebrar */
.texto-coluna {
    flex: 2; /* Dá prioridade de espaço para o texto em relação à foto */
}

.section-harmonizacao {
    background-image: url('../img/harmonização.jpg'); /* Ajuste o caminho da imagem */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito Parallax elegante */
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.overlay-harmonizacao {
    background: rgba(0, 0, 0, 0.4); /* Escurece levemente a imagem para leitura */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.texto-coluna-dark h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
}

.texto-coluna-dark h5 {
    color: #00d4ff; /* Azul da clínica */
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.texto-coluna-dark p {
    color: #eee;
    max-width: 500px;
    line-height: 1.8;
}

.btn-saber-mais {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #00d4ff;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    text-transform: uppercase;
    font-weight: bold;
}

.btn-saber-mais:hover {
    background: #00d4ff;
    color: #fff;
}

/* Ajustes para Tablets e Celulares */
@media (max-width: 768px) {
    .section-harmonizacao {
        background-attachment: scroll; /* Melhora a performance em celulares */
        min-height: 500px;
        background-position: 70% center; /* Ajusta o foco da imagem para o rosto da paciente */
    }

    .overlay-harmonizacao {
        background: linear-gradient(to right, rgba(0,0,0,0.7) 30%, rgba(0,0,0,0.2) 100%);
        padding: 40px 20px;
    }

    .texto-coluna-dark h2 {
        font-size: 1.8rem; /* Título um pouco menor para não quebrar linha bruscamente */
    }

    .texto-coluna-dark h5 {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .texto-coluna-dark p {
        font-size: 0.95rem;
        max-width: 100%; /* Texto ocupa a largura disponível */
    }

    .btn-saber-mais {
        width: 100%; /* Botão em largura total no mobile facilita o clique */
        text-align: center;
    }
}

/* Ajustes para Celulares Pequenos */
@media (max-width: 480px) {
    .section-harmonizacao {
        min-height: 450px;
    }
    
    .texto-coluna-dark h2 {
        font-size: 1.5rem;
    }
}

.section3 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 40px!important;
}
.container_corpo {
    max-width: 1200px !important; /* Ajuste para o mesmo valor da Section 2 */
    margin: 0 auto !important;
    padding: 0 15px !important;
    width: 100% !important;
    display: block !important;
}

.tittle {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    height: 40px; /* Garante que os ícones fiquem alinhados abaixo */
    display: flex;
    align-items: center;
}

.icon i {
    font-size: 80px !important; /* Tamanho ajustado para não empurrar o texto */
    color: #D41800 !important;
    margin-bottom: 15px !important;
}

.data_post2{
  position: relative;
  width: 100%!important;
  height: 200px;
  background-color: transparent;
  justify-content: center;
  align-items: center;
  display: flex;
  margin-left: -16px;
  
}
.fluid {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 60px; /* Ajuste o gap para bater com a section de cima */
}

.span1 {
    width: 65% !important; /* Diminuímos um pouco para dar espaço ao dente gigante */
    display: flex !important;
    flex-direction: column !important;
}

.span2 {
    width: 35% !important;
    position: relative; /* Base para o texto flutuar */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.span3 {
    margin-left: 40px !important;
    padding-left: 0 !important;
    width: 100% !important;
}

.span3 h2{
  font-size: 40px!important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
   margin-left: 10px !important;
  
}

.span3 h5{
  color: #888888;
  margin-top: 10px!important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
   margin-left: 5px !important;
  
}

/* Remove recuos que empurram o texto para a direita */
.span4 {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start; /* Alinha todos pelo topo */
    width: 100% !important;
    margin-top: 30px !important;
    gap: 20px;
}

.span5, .span6, .span7 {
    flex: 1 !important; /* Divide o espaço em 3 partes iguais */
    width: auto !important; /* Remove larguras fixas que causam quebra */
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    color: #0e0d0e !important; /* Força a cor preta em todos para não sumir */
}

.span5 h5{
  margin-bottom: 50px;
}
.span5 p, .span6 p, .span7 p {
    font-size: 13px !important;
    line-height: 1.4 !important;
    text-align: center !important; /* Centralizado como no modelo */
    padding: 0 10px !important;
    color: #333 !important;
}
.span5 i{
  color: #D41800;
  font-size: 100px;
}

.span6{
  position: relative;
  width: 33%;
  height: 100%;
  background-color: transparent;
  display: inline-block;
  align-items: center;
  justify-items: center;
  margin: 5px 5px 5px 5px !important;
 }

.span5 h5, .span6 h5, .span7 h5 {
    height: 40px; /* Altura fixa para alinhar os ícones abaixo deles */
    margin-bottom: 10px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.span6 i{
  color: #D41800;
  font-size: 100px;
}



  .span7{
  color: #fff!important;
  position: relative;
  width: 33%;
  height: 100%;
  background-color: transparent;
  display: inline-block;
  align-items: center;
  justify-items: center;
  margin: 5px 5px 5px 5px !important;
 }

.span7 h5{
  color: #0e0d0e!important;
  margin-bottom: 50px;
}
.span7 i{
  color: #D41800;
  font-size: 100px;
  font-weight: 900;
}

.span2 {
    width: 35% !important; /* Aumentamos a área para o dente crescer */
    position: relative;
    margin-right: 0 !important; /* Remove o margin que estava empurrando para fora */
}

.span8{
  position: relative;
  width: 65%;
  height: 25%;
  background-color: transparent;
  
}

/* Força o título da direita a ficar em uma linha só */

.span8 h2{
    white-space: nowrap !important;
    width: 100% !important;
    font-size: 40px!important;
    font-weight: 500;
}

.span8 h5{
    white-space: nowrap !important;
    color: #888888;
    margin-top: 10px!important;
    margin-left: -50px!important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}
.span9 {
    position: relative;
    display: flex;
    justify-content: flex-end; /* Alinha o dente à direita do container dele */
    padding-right: -20px; /* Afasta da borda da página */
}



.span9 img {
    position: relative;
    width: 470px !important; /* Diminuído de 140% para 120% */
    max-width: 650px !important; 
    height: auto;
    right: -20px; /* Afasta o dente da borda direita da página */
    z-index: 1;
}

.span12 {
    position: absolute !important;
    bottom: 0px; /* Ajuste conforme necessário para subir ou descer */
    left: -60px !important; /* Joga o texto para a esquerda do dente */
    z-index: 10; /* Garante que fique POR CIMA de qualquer fundo ou imagem */
    text-align: left !important;
    width: 200px !important; /* Define uma largura fixa para forçar a quebra do texto */
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
}

.span12 h1 a {
    font-size: 70px !important;
    line-height: 0.8 !important;
    margin: 5px 0 !important;
    display: block;
}

.span12 h1 a:hover {
  transform: scale(1.1); /* Leve pulsação ao passar o mouse */
}

.span12 h3 {
    font-size: 24px !important;
    margin: 0 !important;
    color: #333;
}

.span12 p {
    font-size: 11px !important;
    line-height: 1.3 !important;
    color: #888;
    text-align: left !important;
    margin-top: 5px !important;
    /* Isso aqui força a quebra exatamente como no modelo */
    width: 150px !important; 
    white-space: normal !important;
}
.span20{
  width: 120px;
  color: #660460;
}

.section4 {
    min-height: 100vh;
    display: flex;
    align-items: center; /* Centraliza o conteúdo verticalmente */
    padding: 50px 0;
}

.conteudo-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Garante que o texto não quebre */
.no-break {
    white-space: nowrap;
}

/* Container dos Selos */


/* Cada bloco de selo + texto */
.selos-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Mantém todo mundo alinhado por baixo */
    gap: 35px;
    margin-top: 40px;
}

.selo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Tamanho padrão para os selos 2 e 3 (Ortodontia e Estética) */
.selo-item:nth-child(2) img,
.selo-item:nth-child(3) img {
    width: 140px !important;
    height: 100px !important;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Selo 1 (Cirurgiã): Ajustado para 115px para não ficar gigante */
.selo-item:first-child img {
    width: 115px !important; 
    height: 110px !important;
    margin-bottom: 5px; /* Reduzi o espaço para o texto não descer muito */
    object-fit: contain;
}

.selo-item span {
    font-size: 0.85rem;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .selos-wrapper {
        gap: 20px;
    }
    .selo-item img {
        width: 70px !important;
        height: 70px !important;
    }
}

/* Ajuste para telas menores */
@media (max-width: 992px) {
    .section4 {
        height: auto;
    }
    .conteudo-flex {
        flex-direction: column;
        text-align: center;
    }
    .no-break {
        white-space: normal; /* Permite quebra no mobile para não cortar */
    }
    .selos-wrapper {
        gap: 20px;
        flex-wrap: wrap;
    }
}
 .span13{
  position: relative;
  width: 60%;
  height: 98%;
  background-color: #bbc550;
  
}

.spad {
  padding-top: 100px;
  padding-bottom: 100px;
}
.spanT {
  background-image:  url('../img/banner2.jpg') ;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: space-around; /* Distribui os 4 itens igualmente */
  flex-wrap: wrap;              /* Essencial para a responsividade */
  
}

.span1_1 {

  background-color: transparent;
  width: 246px;
  height: 200px;
  margin: 20px 40px 20px 100px;
  align-items: center;
  justify-items: center;
 
}

.span1_1 h5{
  text-shadow:black 0.1em 0.1em 0.2em;
  color: #fff;
  font-weight: 450;

  }

.span1_1 p{
text-shadow:black 0.1em 0.1em 0.2em;
color: #fff;
font-weight: 450;

}

.span1_2 {

  background-color: transparent;
  width: 246px;
  height: 200px;
  margin: 20px 20px 20px 0px;
  align-items: center;
  justify-items: center;
  
}
.span1_2 h5{
  text-shadow:black 0.1em 0.1em 0.2em;
  color: #fff;
  font-weight: 450;

  }

.span1_2 p{
text-shadow:black 0.1em 0.1em 0.2em;
color: #fff;
font-weight: 450;

}


.span1_3 {

  background-color: transparent;
  width: 246px;
  height: 200px;
  margin: 20px 20px 20px 30px;
  align-items: center;
  justify-items: center;
  }

  .span1_3 h5{
    text-shadow:black 0.1em 0.1em 0.2em;
    color: #fff;
    font-weight: 450;
  
    }

  .span1_3 p{
  text-shadow:black 0.1em 0.1em 0.2em;
  color: #fff;
  font-weight: 450;

  }


.span1_4 {

  background-color: transparent;
  width: 266px;
  height: 200px;
  margin: 20px 50px 20px 30px;
  align-items: center;
  justify-items: center;
 
 
}

.span1_4 h5{

  text-shadow:black 0.1em 0.1em 0.2em;
  color: #fff;
  font-weight: 450;
}

.span1_4 p{

  text-shadow:black 0.1em 0.1em 0.2em;
  color: #fff;
  font-weight: 450;
}


/* Seleciona todas as suas divs de conteúdo (span1_1 até span1_4) */
.span1_1, .span1_2, .span1_3, .span1_4 {
    flex: 1;                 /* Faz todos terem o mesmo tamanho */
    min-width: 200px;        /* Largura mínima para não esmagar no mobile */
    max-width: 250px;        /* Largura máxima para manter o design */
    display: flex;
    flex-direction: column;  /* Coloca imagem e texto em coluna */
    align-items: center;     /* Centraliza a imagem e os textos no eixo vertical */
}

/* Ajuste das imagens */
.span1_1 img, .span1_2 img, .span1_3 img, .span1_4 img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

/* Ajuste para Mobile (Celular) */
@media (max-width: 768px) {
    /* Força o container a empilhar os itens verticalmente */
    .spanT {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        height: auto !important; /* Impede que a div fique presa em uma altura fixa */
        padding: 50px 20px !important;
    }

    /* Ajusta cada bloco individual (span1_1, span1_2, etc) */
    .span1_1, .span1_2, .span1_3, .span1_4 {
        position: relative !important; /* Remove qualquer position: absolute que possa existir */
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 300px; /* Limita a largura para o texto não espalhar demais */
        margin-bottom: 40px !important; /* Cria o espaço entre os serviços */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .span1_1 img, .span1_2 img, .span1_3 img, .span1_4 img {
        width: 120px !important; /* Ajusta o tamanho do losango no mobile */
        height: auto !important;
        margin-bottom: 15px !important;
    }

    .span1_1 h5, .span1_2 h5, .span1_3 h5, .span1_4 h5 {
        font-size: 1.4rem !important;
        margin: 10px 0 !important;
        white-space: normal !important; /* Permite que o título quebre se necessário */
    }

    .span1_1 p, .span1_2 p, .span1_3 p, .span1_4 p {
        font-size: 1rem !important;
        line-height: 1.4 !important;
    }
}


.section-depoimentos {
    padding: 80px 0;
    background-color: #fff;
}

.titulo-depoimentos {
    font-weight: 800;
    border-left: 5px solid #28d1c1; /* Barra verde da imagem */
    padding-left: 15px;
    font-size: 1.5rem;
}

/* Balão de Fala */
.balao-texto {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 5px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    min-height: 150px;
    display: flex;
    align-items: center;
}

.balao-texto::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 40px;
    width: 0; height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #f8f9fa; /* Ponta do balão */
}

/* Perfil do Cliente */
.perfil-cliente {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.perfil-cliente img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.perfil-cliente h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
}

.perfil-cliente span {
    color: #28d1c1;
    font-size: 0.85rem;
    font-weight: 500;
}

.estrelas {
    color: #ffc107;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Controles Customizados */
.controles-custom button {
    background: #f1f1f1;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-left: 10px;
    transition: 0.3s;
}

.controles-custom button:hover {
    background: #28d1c1;
    color: #fff;
}

/* Mobile Responsivo */
@media (max-width: 768px) {
    .header-depoimentos {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }
    .titulo-depoimentos { font-size: 1.2rem; }
    .balao-texto { padding: 25px; }
}

.carousel-item .row > div {
    padding: 0 15px;
}

/* Deixa a transição do carrossel mais suave */
.carousel.slide {
    transition: transform 0.6s ease-in-out;
}

/* Estilo para quando o botão estiver desativado (opcional) */
.controles-custom button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 209, 193, 0.3);
}

@media (max-width: 768px) {
    /* Ajusta o título para não ocupar a tela toda */
    .titulo-depoimentos {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    /* Reduz o padding do balão no mobile para ganhar espaço */
    .balao-texto {
        padding: 20px;
        min-height: auto;
    }

    /* Diminui a foto do cliente para caber melhor */
    .perfil-cliente img {
        width: 60px;
        height: 60px;
    }

    .perfil-cliente h4 {
        font-size: 1rem;
    }

    /* Esconde as setas no mobile para dar foco ao conteúdo */
    /* O usuário pode simplesmente deslizar o dedo (swipe) */
    .controles-custom {
        display: none; 
    }
    
    /* Garante que o card ocupe quase toda a largura da tela */
    .col-md-8 {
        width: 95% !important;
        margin: 0 auto;
    }
}

.fluid2{
  position: absolute;
  width: 100%;
  height:98%;
  background-color: transparent;
  display:flex;
  margin-top: 20px;
  align-items: center;
  
}

.span11{
  background-color: transparent;
  margin-top: 20px;
  width: 860px;
}
.span11 h2{
  font-size: 45px!important;
 font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding-left: 0!important;
  padding-bottom: 5px;
  font-weight: 1000;

}

.span11 h5{
  color: #888888;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding-left: 5px!important;
  padding-bottom: 5px;
  font-weight: 400;
  text-transform: uppercase;
}

.span11 p{
  color: #000;
font-family: 'Montserrat', sans-serif;
 font-weight: 200;
 font-size: 16px;
 text-align: justify;
 padding: 5px;
}

.modal-bg-wrapper {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    transition: background 0.6s ease-in-out;
}

.overlay-glass {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Opacidade reduzida */
    backdrop-filter: blur(10px); /* Efeito Gaussiano */
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
}

.card-agendamento {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 30px;
    width: 100%;
    max-width: 650px; /* Largura máxima para PC */
    margin: 15px; /* Margem de segurança para Mobile */
    position: relative;
}

/* Estilo do botão Confirmar (Estilo Harmonização) */
.btn-confirmar-agendamento {
    background: #588191;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-confirmar-agendamento:hover {
    background: #466774;
    transform: scale(1.02);
}

.btn-close-custom {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #588191;
    line-height: 1;
}

/* Ajustes Mobile */
@media (max-width: 576px) {
    .card-agendamento { padding: 20px; }
    .titulo-modal { font-size: 1.5rem; }
}












/* No Mobile, a foto vai para baixo do texto e centraliza */
@media (max-width: 768px) {
    /* 1. Força a seção a crescer se o conteúdo for maior que a tela */
    .section2 {
        height: auto !important; 
        min-height: 100vh;
        padding: 60px 20px; /* Dá respiro nas bordas */
        display: block; /* Muda de flex para bloco para empilhar */
    }

    /* 2. Faz o texto ocupar a largura total e centraliza */
    .conteudo-flex {
        flex-direction: column !important; /* Texto em cima, foto embaixo */
        gap: 40px;
    }

    .texto-coluna {
        width: 100%;
        text-align: center; /* Centralizar o texto fica mais elegante no mobile */
    }

    .texto-coluna h2 {
        font-size: 42px !important; /* Diminui um pouco para não quebrar tantas linhas */
        line-height: 1.1;
    }

    .texto-coluna p {
        margin: 0 auto; /* Centraliza o bloco do parágrafo */
    }

    /* 3. Traz a foto de volta para o centro e com destaque */
 .foto-coluna {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex: 0 0 450px !important; /* Define uma largura base boa para a foto aparecer grande */
}

/* Aumenta a moldura da foto */
.moldura-esfumacada {
    width: 100% !important;
    max-width: 400px !important; /* Ajuste para o tamanho desejado da foto */
    margin-bottom: 15px;
}

    .moldura-esfumacada img {
        max-width: 280px; /* Tamanho ideal para celular */
        width: 100%;
        /* Mantém o efeito gaussiano */
        mask-image: radial-gradient(circle, black 40%, rgba(0,0,0,0.3) 70%, transparent 95%);
        -webkit-mask-image: radial-gradient(circle, black 40%, rgba(0,0,0,0.3) 70%, transparent 95%);
    }
}
/* Camada extra para reforçar o 'branco' nas bordas e não deixar corte seco */
.moldura-esfumacada::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Sombra interna branca para 'comer' as bordas da foto */
    box-shadow: inset 0 0 60px 40px #ffffff;
    pointer-events: none;
}

/* ANIMAÇÃO DE FLUTUAÇÃO */
@keyframes flutuarFumaca {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); } /* Sobe e cresce levemente */
    100% { transform: translateY(0px) scale(1); }
}

/* AJUSTE MOBILE */
@media (max-width: 768px) {
    .foto-coluna {
        margin-top: 40px;
    }
    .moldura-esfumacada img {
        max-width: 320px; /* Menor no celular para não cobrir o texto */
    }
}

/* --- MEDIA QUERY PARA MOBILE --- */
@media (max-width: 768px) {
    .section3 .fluid {
        flex-direction: column; /* Empilha as colunas */
    }

    .section3 .span1, 
    .section3 .span2 {
        flex: 1 1 100%;
        width: 100%;
        min-width: unset;
    }

    .section3 h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .section3 blockquote h5 {
        text-align: center;
    }

    /* Centraliza os ícones e textos no mobile se desejar */
    .section3 .span5, .section3 .span6, .section3 .span7 {
        text-align: center;
        margin-bottom: 20px;
    }
}

.section-contato {
    padding: 80px 0;
    background-color: #f8faff;
}

.card-contato-glass {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(57, 46, 238, 0.1);
}

.titulo-contato {
    color: #1056b3;
    font-weight: 800;
    margin-bottom: 5px;
}

.subtitulo-contato {
    color: #6c757d;
    font-size: 0.9rem;
}

.input-glass {
    background: #f1f4fb !important;
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    padding: 12px 15px !important;
    transition: all 0.3s;
}

.input-glass:focus {
    border-color: #13b9c5 !important;
    box-shadow: none !important;
    background: white !important;
}

.btn-enviar-contato {
    background: #13b9c5;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    width: 100%;
    transition: 0.3s;
}

.btn-enviar-contato:hover {
    background: #1056b3;
    transform: translateY(-3px);
}

.info-contato-bg {
    background: linear-gradient(135deg, #1056b3, #13b9c5);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item-contato {
    display: flex;
    align-items: center;
    color: white;
    margin-bottom: 20px;
    gap: 15px;
}

.info-item-contato i {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* --- AJUSTES MOBILE PARA A SECTION CONTATO --- */
@media (max-width: 991px) {
    .section-contato {
        padding: 40px 15px; /* Reduz o respiro lateral e vertical */
    }

    .card-contato-glass {
        border-radius: 20px; /* Bordas um pouco menos arredondadas no mobile */
    }

    /* Remove o arredondamento lateral e aplica apenas em cima/baixo quando empilhado */
    .col-lg-6.p-5 {
        padding: 30px 20px !important; 
    }

    .info-contato-bg {
        border-radius: 0 0 20px 20px; /* Arredonda apenas a base da coluna azul */
    }

    .titulo-contato {
        font-size: 1.5rem;
        text-align: center;
    }

    .subtitulo-contato {
        text-align: center;
        display: block;
        margin-bottom: 20px;
    }

    .btn-enviar-contato {
        padding: 12px;
        font-size: 14px;
    }

    .info-item-contato {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .info-item-contato i {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    /* O mapa no mobile precisa de uma altura fixa menor para não alongar demais a tela */
    .mini-mapa iframe {
        height: 200px !important;
    }
}

.back-to-top-glass {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Lado oposto ao WhatsApp */
    z-index: 998;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(19, 185, 197, 0.4);
    border-radius: 50px;
    padding: 8px 22px 8px 8px; /* Padding invertido em relação ao WhatsApp */
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.back-to-top-glass.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btt-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btt-text {
    color: #1056b3;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btt-icon-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3); /* Um pouco mais sutil que o do WhatsApp */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1056b3;
    font-size: 18px;
    border: 1px solid rgba(16, 86, 179, 0.2);
}

.back-to-top-glass:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05) translateY(-5px);
    border-color: #13b9c5;
}

/* Ajuste Mobile: se ficarem muito grandes, podemos diminuir */
@media (max-width: 768px) {
    .back-to-top-glass {
        bottom: 20px;
        left: 20px;
        padding: 5px 15px 5px 5px;
    }
    .btt-text { display: none; } /* Esconde o texto no mobile para ocupar menos espaço */
}


