/* ========================================
   VACINA EXPERTS - CUSTOM STYLES
   ======================================== */

/* ========================================
   ANIMAÇÕES PRINCIPAIS
   ======================================== */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes hologram {
    0% { opacity: 0.3; transform: scale(0.95); }
    50% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 0.3; transform: scale(0.95); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scan {
    0% { top: -2px; }
    100% { top: 100%; }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes blink {
    0%, 50%, 100% { border-color: transparent; }
    25%, 75% { border-color: currentColor; }
}

/* ========================================
   CLASSES DE ANIMAÇÃO
   ======================================== */

.floating {
    animation: float 5s ease-in-out infinite;
}

.pulse {
    animation: pulse 3s infinite;
}

.hologram-effect {
    animation: hologram 8s ease infinite;
}

.cyber-gradient {
    background: linear-gradient(135deg, #00d1ff 0%, #00ff9d 50%, #00d1ff 100%);
    background-size: 200% 200%;
    animation: gradient 8s ease infinite;
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

/* ========================================
   EFEITOS VISUAIS
   ======================================== */

.tech-grid {
    background-image: 
        linear-gradient(rgba(0, 209, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 209, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.gradient-text {
    background: linear-gradient(90deg, #00d1ff, #00ff9d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glow-hover:hover {
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.5);
}

.card-hover {
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 209, 255, 0.25);
}

.hexagon {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* ========================================
   BORDAS E EFEITOS CYBER
   ======================================== */

.cyber-border {
    position: relative;
}

.cyber-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #00d1ff, #00ff9d);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.scanline {
    position: relative;
    overflow: hidden;
}

.scanline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 209, 255, 0.5);
    animation: scan 8s linear infinite;
    box-shadow: 0 0 10px rgba(0, 209, 255, 0.8);
}

/* ========================================
   TABELAS E COMPARAÇÕES
   ======================================== */

.comparison-table {
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table th, 
.comparison-table td {
    border: 1px solid rgba(0, 209, 255, 0.2);
    padding: 12px;
    text-align: center;
}

.comparison-table th {
    background-color: rgba(0, 209, 255, 0.05);
    font-weight: bold;
}

.comparison-table tr:first-child th:first-child {
    border-top-left-radius: 12px;
}

.comparison-table tr:first-child th:last-child {
    border-top-right-radius: 12px;
}

.comparison-table tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.comparison-table tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

.feature-check {
    color: #00ff9d;
}

.feature-missing {
    color: #ff4d4d;
}

/* ========================================
   BADGES E SEGURANÇA
   ======================================== */

.security-badge {
    position: relative;
    overflow: hidden;
}

.security-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, transparent, transparent, #00d1ff
    );
    animation: rotate 4s linear infinite;
}

/* ========================================
   CONTAINERS DE VÍDEO
   ======================================== */

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 4px solid rgba(0, 209, 255, 0.3);
}

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

/* ========================================
   RESPONSIVIDADE
   ======================================== */

/* Imagens e vídeos nunca extravasam */
img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tabelas responsivas */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ========================================
   FAQ STYLES
   ======================================== */

.faq-item {
    border: 1px solid rgba(0, 209, 255, 0.2);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 209, 255, 0.4);
}

.faq-question {
    background-color: rgba(0, 209, 255, 0.05);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 209, 255, 0.1);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.faq-question.active::after {
    content: '-';
    color: #00ff9d;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: rgba(0, 209, 255, 0.02);
}

.faq-answer.show {
    padding: 20px;
    max-height: 500px;
}

/* ========================================
   SCROLL BEHAVIOR
   ======================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    overflow-x: hidden;
    /* Ensure scroll is always enabled when menu is closed */
    overflow-y: auto;
}

/* Fix for mobile scroll issues - Simple approach */
/* Don't block scroll, just prevent interactions with main content */
.menu-overlay.active {
    z-index: 9999;
    pointer-events: all;
    background: rgba(0, 0, 0, 0.8);
}

/* Ensure mobile menu is above everything */
.mobile-menu.open {
    z-index: 10000;
}

/* Alternative: minimal scroll prevention */
html.menu-open {
    overflow: hidden;
}

/* Ensure smooth scrolling works on all devices */
* {
    -webkit-overflow-scrolling: touch;
}

/* ========================================
   FONT FACE
   ======================================== */

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxP.ttf) format('truetype');
    font-display: swap;
}

/* ========================================
   MENU MOBILE
   ======================================== */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9999;
    transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    box-shadow: -10px 0 30px rgba(0, 209, 255, 0.1);
    border-left: 1px solid rgba(0, 209, 255, 0.2);
    overflow-y: auto;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-container {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 209, 255, 0.2);
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
}

.mobile-menu-close {
    background: rgba(0, 209, 255, 0.1);
    border: 1px solid rgba(0, 209, 255, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d1ff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(0, 209, 255, 0.2);
}

.mobile-nav {
    flex-grow: 1;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    display: block;
    padding: 12px 15px;
    color: #e2e8f0;
    font-size: 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav a:hover {
    background: rgba(0, 209, 255, 0.1);
    color: #00d1ff;
    transform: translateX(5px);
}

.mobile-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #00d1ff;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-nav a:hover::before {
    opacity: 1;
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 209, 255, 0.2);
}

.mobile-menu-btn {
    width: 100%;
    padding: 15px;
    text-align: center;
    background: linear-gradient(135deg, #00d1ff 0%, #00ff9d 100%);
    color: #0f172a;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-btn i {
    margin-right: 10px;
}

.mobile-menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 209, 255, 0.3);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-toggle {
    display: none;
}

/* ========================================
   Z-INDEX FIXES
   ======================================== */

/* Menus sempre acima do vídeo */
header, .site-header { 
    position: relative; 
    z-index: 10000; 
}

#mobile-menu { 
    z-index: 10001; 
}

.menu-overlay { 
    z-index: 10000; 
}

#video { 
    position: relative; 
    z-index: 0; 
}

#video [id^="vid_"],
#video [id^="vid_"] *,
#video [id^="backdrop_"],
#video [id^="thumb_"],
#video iframe {
    position: relative !important;
    z-index: 0 !important;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(0, 209, 255, 0.1);
        border: 1px solid rgba(0, 209, 255, 0.3);
        border-radius: 8px;
        color: #00d1ff;
        font-size: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 100;
    }

    .mobile-menu-toggle:hover {
        background: rgba(0, 209, 255, 0.2);
    }

    #nav-links {
        display: none;
    }
}

    /* ========================================
       TYPEWRITER EFFECT
       ======================================== */
    #typewriter {
        display: inline-block;      /* antes estava inline */
        border-right: 2px solid currentColor;
        padding-right: 0.1em;
        white-space: normal;        /* permite quebra de linha */
        overflow-wrap: anywhere;    /* evita vazar da coluna */
        word-break: break-word;     /* melhora quebra em palavras longas */
        vertical-align: top;        /* alinha com topo da linha */
        animation: blink 0.8s step-end infinite;
    }


/* ========================================
   WHATSAPP FLOAT BUTTON
   ======================================== */

.float {
    position: fixed;
    cursor: pointer;
    display: block;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: rgba(0, 200, 0, 1);
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    transition-duration: 0.5s;
    animation: pulse 3s infinite;
    z-index: 9000;
}

.float:hover {
    background-color: rgba(0, 150, 0, 1);
    color: white;
}

.my-float {
    margin-top: 15px;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(0, 200, 0, 1);
    }
    70% {
        -webkit-box-shadow: 0 0 0 20px rgba(0, 200, 0, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(0, 200, 0, 0);
    }
}

/* =========================================
   VACINAEXPERTS — RESPONSIVE & LAYOUT FIXES
   (colar no FINAL do styles.css)
   ========================================= */

/* Evita qualquer overflow horizontal */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Offset para âncoras (#id) considerando navbar fixo */
:root { --nav-h: 88px; }           /* ajuste fino se seu nav mudar de altura */
[id] { scroll-margin-top: var(--nav-h); }

/* Headline: o wrapper absoluto não deve recortar o texto */
h1 > span.absolute {
  position: static;                /* sai do absolute e entra no fluxo normal */
}

/* Títulos grandes: linha um pouco mais “apertada” para caber melhor em tablets */
section:first-of-type h1 { 
  line-height: 1.15;
}

/* iPad landscape e telas próximas (1024–1180px): 
   força 2 colunas em grids que antes iam para 3 e cortavam conteúdo */
@media (min-width: 1024px) and (max-width: 1180px) {
  /* Cards abaixo do vídeo */
  #video .grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 2rem !important;
  }
  /* Soluções */
  #solucoes .grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 2rem !important;
  }
  /* Depoimentos */
  #clientes .grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 2rem !important;
  }
}

/* iPad portrait e tablets médios: respiro lateral + tipografia adaptada */
@media (min-width: 768px) and (max-width: 1024px) {
  .max-w-7xl,
  .max-w-4xl,
  .max-w-3xl {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  h1 { font-size: clamp(2rem, 6vw, 3rem); }
  h2 { font-size: clamp(1.5rem, 4.5vw, 2.25rem); }
}

/* Tabela comparativa: nunca quebra a célula no meio; container já tem overflow-x-auto no HTML */
.comparison-table th,
.comparison-table td {
  white-space: nowrap;
}
#comparativo .overflow-x-auto {
  -webkit-overflow-scrolling: touch;
}

/* Segurança extra p/ mídia fluída (redundante mas inofensivo) */
img, iframe, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* O Fundo (Overlay) que cobre a página */
.modal-overlay-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Fundo escuro semi-transparente para o efeito */
    background-color: rgba(10, 20, 30, 0.5); 
    
    /* Efeito de "vidro" no fundo */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 3rem 1rem;
    box-sizing: border-box;
}

/* O Container da Modal (Estilo Imagem 1) */
.modal-container-glass {
    /* Cor de fundo escura e translúcida */
    background-color: rgba(30, 41, 59, 0.7); /* Um cinza-azulado escuro */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borda sutil */
    color: #F1F5F9; /* Texto claro */
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 20px;
    width: 100%;
    max-width: 480px; /* Um pouco maior para os campos extras */
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

/* Animação de entrada */
.modal-overlay-glass.show {
    opacity: 1;
}
.modal-overlay-glass.show .modal-container-glass {
    transform: scale(1);
}

/* Botão de Fechar (Estilo Imagem 1) */
.modal-close-btn-glass {
    position: absolute;
    top: 16px;
    left: 16px; /* Na Imagem 1, o 'X' fica na esquerda */
    background-color: rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
    z-index: 10;
}
.modal-close-btn-glass:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Logo (da Imagem 2) */
.modal-logo-glass {
    display: block;
    max-width: 200px;
    height: auto;
    margin: 0 auto 1.5rem auto;
    /* Invertemos a cor do logo para ficar visível no fundo escuro, se for PNG */
    /* filter: brightness(0) invert(1); */ 
    /* Use a linha acima se o seu logo for escuro e precisar ficar branco */
}

/* Título (da Imagem 2, Estilo Imagem 1) */
.modal-title-glass {
    font-size: 2rem; /* 32px */
    font-weight: 700;
    text-align: center;
    color: #FFFFFF; /* Texto branco */
    margin-bottom: 2rem;
    line-height: 1.3;
}

/* Estilo dos Campos (Estilo Imagem 1) */
.form-group-glass {
    margin-bottom: 1.25rem;
}
.form-label-glass {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: #CBD5E1; /* Cinza claro */
}
.form-input-glass {
    width: 100%;
    padding: 0.9rem 1rem;
    /* Fundo escuro dos inputs da Imagem 1 */
    background-color: rgba(15, 23, 42, 0.6); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    color: #FFFFFF; /* Texto digitado fica branco */
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input-glass::placeholder {
    color: #94A3B8; /* Placeholder cinza */
}
.form-input-glass:focus {
    outline: none;
    border-color: #5EEAD4; /* Borda Ciano ao focar */
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.3);
}

/* Estilo dos Botões de Rádio (Sim/Não) */
.radio-group-glass {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}
.radio-label-glass {
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    flex-grow: 1;
    justify-content: center;
    transition: all 0.2s;
}
.radio-label-glass input[type="radio"] {
    display: none; /* Esconde o rádio original */
}
.radio-label-glass span {
    font-size: 1rem;
    color: #CBD5E1;
    font-weight: 500;
}
/* Estilo quando selecionado */
.radio-label-glass input[type="radio"]:checked + span {
    color: #FFFFFF;
}
.radio-label-glass input[type="radio"]:checked {
    /* Adiciona o fundo do botão "Sim" "Não" da imagem 2 */
    background-color: #FFFFFF; 
}
.radio-label-glass:has(input[type="radio"]:checked) {
    background-color: #5EEAD4; /* Cor ciano */
    border-color: #5EEAD4;
}
.radio-label-glass:has(input[type="radio"]:checked) span {
    color: #0F172A; /* Texto escuro */
    font-weight: 700;
}


/* Botão de Enviar (Estilo Imagem 1: claro) */
.modal-submit-btn-glass {
    width: 100%;
    background-color: #F1F5F9; /* Fundo branco/cinza claro */
    color: #0F172A; /* Texto escuro */
    border: none;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 1rem;
}
.modal-submit-btn-glass:hover {
    background-color: #FFFFFF;
}

/* Nota de Segurança (Estilo Imagem 1: claro) */
.modal-secure-note-glass {
    text-align: center;
    font-size: 0.875rem;
    color: #CBD5E1;
    margin-top: 1.25rem;
}
.modal-secure-note-glass .fa-lock {
    margin-right: 0.25rem;
    color: #94A3B8;
}

.form-input-glass[type="text"],
.form-input-glass[type="tel"] {
    background-image: none; /* Garante que NÃO tem seta */
    padding-right: 1rem; /* Padding normal */
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

/* 2. Adiciona a seta APENAS ao SELECT */
select.form-input-glass {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 3rem; /* Espaço extra para a seta */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* 3. Estilos de cor para o SELECT */

/* Cor do texto da opção "Selecione uma faixa" */
select.form-input-glass:invalid {
    color: #94A3B8;
}

/* Cor das opções no dropdown */
select.form-input-glass option {
    background: #0F172A; /* Fundo escuro para as opções */
    color: #FFFFFF;
}

/* ========================================
   SEÇÃO DE NÚMEROS (MARQUEE)
   ======================================== */
.stats-section {
    margin-top: 40px;
    width: 100%;
    position: relative;
}

.scrolling-container {
    width: 100%;
    overflow: hidden; /* Esconde o conteúdo que transborda */
    margin-bottom: 20px;
    border-radius: 12px;
    /* Estilo do tema: fundo e borda ciano */
    background-color: rgba(0, 209, 255, 0.05);
    border: 1px solid rgba(0, 209, 255, 0.2);
    padding: 1.25rem 0; /* 20px de padding vertical */
}

.scrolling-content {
    display: flex;
    white-space: nowrap; /* Impede a quebra de linha */
    /* A animação é definida abaixo */
    animation: scrollLeft 60s linear infinite;
}

/* Pausa a animação ao passar o mouse */
.scrolling-container:hover .scrolling-content {
    animation-play-state: paused;
}

/* Linha 1 e 2 com velocidades diferentes */
.scrolling-content.row1 {
    animation-duration: 40s; /* Duração mais lenta */
}
.scrolling-content.row2 {
    animation-duration: 30s; /* Duração mais rápida */
    animation-direction: reverse; /* Faz a segunda linha andar ao contrário */
}

.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3em;
    font-weight: 600;
    padding: 0 30px; /* Espaçamento entre os itens */
    flex-shrink: 0; /* Impede que os itens encolham */
    transition: all 0.3s ease;
    /* Cor base do texto */
    color: #e2e8f0;
}

.stat-item:hover .number,
.stat-item:hover .label {
    color: #00ff9d; /* Verde-ciano no hover */
}

.stat-item .number {
    font-size: 1.5em; /* Números maiores */
    transition: color 0.3s ease;
    font-weight: 700;
}

.stat-item .label {
    color: #94A3B8; /* Texto (label) em cinza claro */
    transition: color 0.3s ease;
    font-weight: 400; /* Labels mais leves */
}

/* Coloração específica dos números (adaptado do .black e .gray) */
.stat-item .number.num-light {
    color: #CBD5E1; /* Cinza mais claro */
}
.stat-item .number.num-heavy {
    color: #FFFFFF; /* Branco total */
}

/* Animação Keyframe */
@keyframes scrollLeft {
    0% {
        transform: translateX(0%);
    }
    100% {
        /* Move 50% para a esquerda (o tamanho do conteúdo original) */
        transform: translateX(-50%);
    }
}

/* Ajustes Responsivos (iguais aos que você forneceu) */
@media (max-width: 768px) {
    .stat-item {
        font-size: 1em;
        padding: 0 20px;
    }
    .stat-item .number {
        font-size: 1.2em;
    }
    .scrolling-content.row1 {
        animation-duration: 30s;
    }
    .scrolling-content.row2 {
        animation-duration: 25s;
    }
}

@media (max-width: 480px) {
    .stat-item {
        font-size: 0.9em;
        padding: 0 15px;
    }
    .stat-item .number {
        font-size: 1.1em;
    }
    .scrolling-content.row1 {
        animation-duration: 25s;
    }
    .scrolling-content.row2 {
        animation-duration: 20s;
    }
}

@media (min-width: 768px) {
  .modal-overlay-glass {
    /* Altera o alinhamento vertical de 'flex-start' (topo) 
       para 'center' (meio) */
    align-items: center;
  }
}

/* ========================================
   ESTILOS DA SECÇÃO DE CLIENTES
   ======================================== */

#clientes-parceiros img {
    /* Define a opacidade e a transição de hover */
    opacity: 0.7;
    transition: opacity 0.3s ease;
      
}

/* A EXCEÇÃO:
  Para o logo que já é branco (Saúde Livre),
  nós removemos o filtro para ele não ficar preto.
*/
#clientes-parceiros img.logo-already-white {
    filter: none;
}

/* O efeito hover (vale para todos) */
#clientes-parceiros img:hover {
    opacity: 1;
}