/* === CONFIGURAÇÕES GLOBAIS E FONTES === */
  @font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat-vietnamese-500-normal.woff2') format('woff2'),
       url('/fonts/montserrat-vietnamese-500-normal.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap; /* melhora performance e evita bloqueio de renderização */
}
    :root {
        --bs-primary-rgb: 26, 144, 205; /* Cor principal (azul) */
        --bs-secondary-rgb: 12, 30, 50;  /* Cor secundária (azul escuro) */
    }
    html {
        scroll-behavior: smooth;
    }
    body {
        font-family: 'Montserrat', 'Sora', sans-serif;
        color: #474A51;
    }
    h1, h2, h3, h4, h5, h6 {
        font-family: 'Montserrat', sans-serif;
        color: rgb(var(--bs-secondary-rgb));
    }
    p{
        font-family:  'Sora', sans-serif;
    }
    .hero-gradient {
        background-image: linear-gradient(to bottom, #141d33, #1a90cd);
    }
    .footer-dark { 
        background-color: #0C1E32;
    }

    /* === ESTILOS DO HEADER DINÂMICO (NAVBAR) === */
    #mainNav {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        transition: padding 0.4s ease-in-out, background-color 0.4s ease-in-out;
    }
    #mainNav:not(.navbar-scrolled) {
        background-color: transparent !important;
    }
    .navbar-scrolled {
        background-color: #0C1E32 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    #mainNav #logo {
        height: 60px;
        transition: height 0.4s ease-in-out;
    }
    #mainNav.navbar-shrunk {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    #mainNav.navbar-shrunk #logo {
        height: 40px;
    }
    .navbar .nav-link { 
        color: white !important; 
    }
    
    /* === AJUSTE PARA O CONTEÚDO NÃO FICAR ATRÁS DO MENU === */
    header.hero-gradient {
        padding-top: 124px; 
    }
    
    /* === ESTILOS DOS BOTÕES DO HERO === */
    .btn-hero {
        padding: 10px 40px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 1.1rem;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    .btn-hero .icon-arrow {
        width: 20px;
        height: 20px;
        filter: brightness(0) invert(1);
    }
    .btn-light .icon-arrow {
        filter: none;
    }

    /* === ESTILOS DA SEÇÃO RECOMENDAÇÕES === */
.bg-medium-gray {
        background-color: #d2d2db; /* O cinza mais escuro */
    }
    .image-stack {
        position: relative;
    }
    .image-stack-sobre{
        margin-bottom: 15pt;
    }
    .image-stack-overlay {
        position: absolute;
        bottom: -25px;
        left: -40px;
        width: 40%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        border: 4px solid white;
    }

    /* === ESTILOS DAS ABAS DE DEPOIMENTOS === */
    #testimonialTabs .nav-link {
        color: white; 
        background-color: transparent;
        border-color: transparent; 
    }
    #testimonialTabs .nav-link.active {
        color: rgb(var(--bs-secondary-rgb)) !important;  
        background-color: white !important;
    }
    .testimonial-logo {
        max-height: 50px;
        width: auto;
        filter: brightness(0) invert(1);
        opacity: 0.7;
    }

    /* === FORMAS ('V') E SCROLL SUAVE === */
    .hero-shape {
        clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
    }
    .v-shape-bottom {
         clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
    }
    section[id] {
        scroll-margin-top: 90px; 
    }
    
    /* === AJUSTES DE RESPONSIVIDADE PARA TELAS PEQUENAS === */
    @media (max-width: 991px) {
        /* Ajusta o posicionamento da imagem em tablets */
        .image-stack-overlay {
            width: 45%;
            left: -20px;
            bottom: -15px;
        }
    }

   @media (max-width: 767px) {
    /* Centraliza o texto na seção Recomendações */
    #recomendacoes .col-lg-7 {
        text-align: center;
    }

    /* Layout mobile para as imagens */
    #recomendacoes .image-stack {
        position: relative;      /* Evita overflow por posição absoluta */
        display: flex;           /* Alinha as imagens horizontalmente */
        align-items: center;     /* Centraliza verticalmente */
        justify-content: center; /* Centraliza horizontalmente */
        margin-top: 0;
        transform: scale(0.7);   /* Reduz o tamanho geral */
        overflow: hidden;        /* Evita que algo ultrapasse a tela */
        margin-left: 0;          /* Remove margin negativa que causava overflow */
    }

    #recomendacoes .image-stack-overlay {
        position: relative;      /* Evita sair do container */
        width: 50%;
        left: 0;
        bottom: 0;
    }

    .img-diagnostic {
        width: 80%;             /* Ajusta largura para não ultrapassar */
        margin-left: 10%;       /* Centraliza horizontalmente */
    }

    .image-stack-sobre {
        width: 50%;             /* Ajusta imagem dentro do stack */
        margin-left: 0;
        margin-bottom: 15pt;
    }

    /* Ajuste para o WhatsApp Button */
    .whatsapp-button {
        right: 15px;
        bottom: 20px;
    }
}

/* Forçar nenhuma barra horizontal em toda a página */
html, body {
    overflow-x: hidden;
}

      .whatsapp-button {
        position: fixed;
        bottom: 25px;
        right: 25px;
        width: 60px;
        height: 60px;
        background-color: #25D366; /* Cor oficial do WhatsApp */
        color: white;
        border-radius: 50%; /* Deixa o botão perfeitamente redondo */
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
        z-index: 1000; /* Garante que ele fique acima de outros elementos */
        transition: transform 0.3s ease;
    }

    .whatsapp-button:hover {
        transform: scale(1.1); /* Efeito de 'pulo' ao passar o mouse */
        color: white; /* Mantém o ícone branco no hover */
    }


