/* ==========================================================================
   1. CONFIGURAÇÕES GERAIS, VARIÁVEIS E BASE
   ========================================================================== */
:root {
    --azul-escuro: #0b1a20;   /* Cor base da sua logo */
    --verde-agua: #144b4d;    /* Degradê da sua logo */
    --laranja: #ff8c00;       /* Cor de destaque/ação */
    --branco: #ffffff;
    --cinza-claro: #f4f4f4;
}

/* Seletor universal corrigido para evitar erros no editor */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

body { 
    margin: 0; 
    padding: 0; 
    background: #f4f7f6; 
    font-family: sans-serif; 
}

.container {
    width: 100%;
    max-width: 1100px; /* Mantido em 1100px para respiro lateral elegante */
    margin: 0 auto !important; 
    padding: 0 40px !important; 
    box-sizing: border-box; 
}

/* ==========================================================================
   2. ESTRUTURA DO CABEÇALHO (HEADER) E LINKS
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%; 
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); 
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
    z-index: 2000;
}

header.rolagem { 
    background: var(--azul-escuro); 
    box-shadow: 0 2px 10px rgba(0,0,0,0.5); 
    padding: 10px 5%; 
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo-wrapper img {
    height: 60px !important; 
    width: auto;
    display: block;
    max-width: 200px !important;
    flex-shrink: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

header.rolagem .logo-wrapper img {
    height: 80px !important;
}

.slogan { 
    color: var(--branco); 
    font-size: 0.7rem; 
    font-weight: 300; 
    max-width: 180px; 
    line-height: 1.2; 
    display: block; 
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

header.rolagem .slogan {
    font-size: 0.9rem; 
}

nav a { 
    text-decoration: none; 
    color: var(--branco); 
    margin-left: 20px; 
    font-weight: 500; 
    font-size: 0.8rem; 
    transition: all 0.6s ease-in-out; 
}

header.rolagem nav a { 
    font-size: 1.1rem; 
    font-weight: 700; 
}

nav a:hover { 
    color: var(--laranja); 
}

.btn-anuncie-fixo {
    position: fixed;
    bottom: 90px; 
    right: 30px;
    background: #ff8c00;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: 0.3s;
}

.btn-anuncie-fixo:hover { 
    transform: scale(1.1); 
    background: #e67e00; 
}
/* ==========================================================================
   3. HERO SECTION (BANNER PRINCIPAL E BUSCA DESKTOP)
   ========================================================================== */
.hero-section {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url('../img/image_index.png');
    background-size: cover; 
    background-position: center;
    min-height: 100vh; 
    width: 100%;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;     
    text-align: center; 
    color: var(--branco); 
    padding: 0 5%;
}

.hero-content {
    width: 100%;
    max-width: 900px; 
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    text-align: center;
    align-items: center; 
}

.hero-content h1 { 
    font-size: 3.5rem; 
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); 
    margin-bottom: 10px; 
}

.search-bar {
    background: var(--branco); 
    padding: 8px; 
    border-radius: 50px;
    display: flex; 
    width: 100%; 
    max-width: 800px; 
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.search-input { 
    flex: 1; 
    display: flex; 
    align-items: center; 
    padding: 0 15px; 
    border-right: 1px solid #ddd; 
}

.search-input:last-of-type { 
    border-right: none; 
}

.search-input i { 
    color: var(--laranja); 
    margin-right: 10px; 
}

.search-input input { 
    border: none; 
    outline: none; 
    width: 100%; 
    padding: 12px 0; 
    font-size: 1rem; 
}

.search-bar button {
    background: var(--laranja); 
    color: var(--branco); 
    border: none;
    padding: 0 30px; 
    border-radius: 40px; 
    font-weight: bold; 
    cursor: pointer; 
    transition: 0.3s;
}

.search-bar button:hover { 
    background: #e67e00; 
    transform: scale(1.05); 
}

/* ==========================================================================
   4. SEÇÃO QUEM SOMOS
   ========================================================================== */
.quem-somos { 
    width: 100%;
    padding: 80px 0; 
    background-color: #ffffff;
    overflow: hidden; 
}

.quem-somos .container { 
    display: flex !important; 
    flex-wrap: wrap !important; 
    justify-content: space-between;
}

.quem-somos-conteudo { 
    flex: 1; 
    min-width: 300px; 
    border-right: 4px solid var(--laranja); 
    padding-right: 40px; 
}

.quem-somos h2 { 
    font-size: 2.5rem; 
    margin-bottom: 20px; 
    color: var(--azul-escuro); 
}

.quem-somos p { 
    font-size: 1.1rem; 
    line-height: 1.7; 
    text-align: justify; 
    color: #333; 
}

.quem-somos-imagem { 
    flex: 1.2; 
    display: flex;
    justify-content: center;
    max-width: 500px; 
}

.quem-somos-imagem img { 
    width: 100%; 
    height: auto; 
    max-height: 500px; 
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}
/* ==========================================================================
   5. SEÇÃO DIFERENCIAIS
   ========================================================================== */
.diferenciais {
    width: 100%;
    padding: 80px 0;
    background-color: #0b1a20; 
    overflow: hidden;
}

.diferenciais .container {
    display: flex !important; 
    flex-wrap: wrap !important; 
    justify-content: space-between;
}

.diferencial-item {
    flex: 1;           
    min-width: 280px;  
    display: flex;
    gap: 20px;
    color: white;      
}

.diferencial-icon {
    background: #ff8c00; 
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3);
}

.diferencial-texto h3 {
    text-align: left; 
    margin-bottom: 8px;
}

.diferencial-texto p {
    text-align: justify !important;
    text-justify: inter-word; 
    line-height: 1.6;        
    margin-top: 5px;
    margin-right: 10px;
    display: block;          
}

/* ==========================================================================
   6. CATEGORIAS E SERVIÇOS (FILTROS E COMPACTOS)
   ========================================================================== */
.servicos { 
    padding: 80px 0; 
    background: var(--cinza-claro); 
    text-align: center; 
}

.titulo-sessao { 
    font-size: 2.5rem; 
    color: var(--azul-escuro); 
    margin-bottom: 40px; 
}

.filtros-categorias { 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 10px; 
    margin-bottom: 40px; 
}

.btn-filtro {
    padding: 10px 20px; 
    border: 2px solid var(--azul-escuro); 
    border-radius: 30px;
    background: transparent; 
    cursor: pointer; 
    transition: 0.3s; 
    font-weight: 600;
}

.btn-filtro.active, .btn-filtro:hover {
    background: linear-gradient(135deg, var(--azul-escuro), var(--verde-agua));
    color: var(--branco); 
    border-color: transparent;
}

.servicos-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; 
}

.servico-card-compacto {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
    cursor: pointer;
}

.servico-card-compacto i { 
    font-size: 2rem; 
    color: #ff8c00; 
    margin-bottom: 10px; 
    display: block; 
}

.nome-servico { 
    font-weight: bold; 
    color: #0b1a20; 
    display: block; 
    margin-bottom: 5px; 
}

.servico-card {
    background: var(--branco); 
    padding: 40px 25px; 
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    transition: 0.4s ease;
    border-bottom: 4px solid transparent; 
    text-align: center;
}

.servico-card:hover { 
    transform: translateY(-10px); 
    border-bottom-color: var(--laranja); 
}

.servico-card i { 
    font-size: 3rem; 
    color: var(--laranja); 
    margin-bottom: 15px; 
}

/* ==========================================================================
   7. PLANOS DE ANÚNCIO E RODAPÉ (FOOTER)
   ========================================================================== */
.planos { 
    padding: 80px 0; 
    background: var(--cinza-claro); 
    text-align: center; 
}

.planos-grid { 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 20px; 
    margin-top: 40px; 
}

.plano-card {
    background: var(--branco); 
    padding: 40px; 
    border-radius: 15px; 
    width: 300px;
    border: 1px solid #ddd; 
    transition: 0.3s;
}

.plano-card.destaque { 
    border: 2px solid var(--laranja); 
    transform: scale(1.05); 
    position: relative; 
}

.badge { 
    position: absolute; 
    top: -12px; 
    left: 50%; 
    transform: translateX(-50%); 
    background: var(--laranja); 
    color: #fff; 
    padding: 4px 12px; 
    border-radius: 20px; 
    font-size: 0.8rem; 
}

.preco { 
    font-size: 2.5rem; 
    font-weight: 800; 
    margin: 15px 0; 
}

.btn-plano { 
    display: block; 
    background: #333; 
    color: #fff; 
    padding: 12px; 
    border-radius: 5px; 
    text-decoration: none; 
    margin-top: 20px; 
}

.plano-card.destaque .btn-plano { 
    background: var(--laranja); 
}
/* ==========================================================================
   8. RODAPÉ (FOOTER) E ANIMAÇÃO FANTASMA
   ========================================================================== */
footer {
    background-color: #0b0b0b; 
    padding: 25px 0;
    width: 100%;
    color: #fff;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #ccc;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ff8c00; 
}

#fantasma-parceiro {
    position: fixed;
    left: 50%;
    bottom: -200px; 
    transform: translateX(-50%);
    z-index: 10000;
    pointer-events: none; 
    display: none;
    width: 250px;
    height: auto;
}

@keyframes subirExplodir {
    0% { bottom: -200px; transform: translateX(-50%) scale(0.5); opacity: 0; }
    30% { bottom: 50%; transform: translate(-50%, 50%) scale(1); opacity: 1; } 
    70% { bottom: 50%; transform: translate(-50%, 50%) scale(1.1); opacity: 1; } 
    100% { bottom: 50%; transform: translate(-50%, 50%) scale(4); opacity: 0; filter: blur(10px); } 
}

.animar-logo {
    display: block !important;
    animation: subirExplodir 4s forwards ease-in-out;
}

/* ==========================================================================
   9. ESTRUTURA E ISOLAMENTO DO PAINEL ADMINISTRATIVO (ADMIN)
   ========================================================================== */
body.admin-page {
    display: block !important;
    padding: 0;
    margin: 0;
    background-color: #f4f7f6;
}

.admin-sidebar-wrapper .menu-group {
    position: relative;
    display: block;
    width: 100%;
}

.admin-sidebar-wrapper .submenu {
    position: relative; 
    display: none;
    background: rgba(0, 0, 0, 0.2); 
    margin: 5px 0;
}

.admin-sidebar-wrapper .menu-group.active .submenu {
    display: block !important;
}

.topo-fixo {
    position: fixed; top: 0; left: 0; width: 100%; height: 60px;
    background: linear-gradient(135deg, #0b1a20 0%, #144b4d 100%);
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 30px; z-index: 1200; box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    box-sizing: border-box; color: white;
}

.sidebar { 
    width: 250px; background: #0b1a20; color: white; padding: 15px; 
    position: fixed; top: 60px; left: 0; height: calc(100vh - 60px); 
    overflow-y: auto; z-index: 1100; box-sizing: border-box;
}

.sidebar a { display: block; color: #ccc; text-decoration: none; padding: 10px; border-radius: 5px; font-size: 0.85rem; }
.submenu a { padding-left: 35px; color: #aaa; border-left: 2px solid #144b4d; margin-left: 10px; }
.sidebar a:hover { background: #144b4d; color: white; }

.menu-group { margin-bottom: 8px; }
.btn-group {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px; color: #ff8c00; font-weight: bold; cursor: pointer;
    background: rgba(255,255,255,0.05); border-radius: 5px; font-size: 0.8rem;
    text-transform: uppercase;
}

.fa-chevron-down { transition: 0.3s; font-size: 0.7rem; }

.admin-page .sidebar {
    width: 250px !important;
    position: fixed !important;
    left: 0 !important;
    top: 60px !important;
    height: 100vh !important;
    background: #0b1a20 !important;
    display: block !important; 
    z-index: 1000;
}

.admin-page .content {
    margin-left: 250px !important; 
    padding: 40px !important;
    margin-top: 60px !important;
    display: block !important;
    width: calc(100% - 250px) !important;
}

.admin-page .topo-fixo {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
}

.content {
    margin-left: 250px !important; 
    padding-top: 80px !important;  
    display: block !important;    
    width: auto !important;
}

.content .container {
    display: block !important;
    margin: 0 !important;
    max-width: 100% !important;
    padding: 20px !important;
}

/* ==========================================================================
   10. TABELAS, BOTÕES E MODAIS DO ADMIN
   ========================================================================== */
.tabela-container {
    background: #fff !important;
    padding: 15px !important; 
    border-radius: 12px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08) !important;
    margin-top: 20px !important;
    width: 100% !important;
    overflow-x: auto !important; 
    box-sizing: border-box !important;
}

.tabela-admin {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-top: 10px !important;
    min-width: 800px; 
}

.tabela-admin th {
    background-color: #f8f9fa !important;
    color: #0b1a20 !important;
    padding: 15px !important;
    text-align: left !important;
    border-bottom: 2px solid #dee2e6 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
}

.tabela-admin td {
    padding: 12px 10px !important; 
    border-bottom: 1px solid #eee !important;
    vertical-align: middle !important;
    font-size: 0.85rem !important; 
    color: #444 !important;
    white-space: normal !important; 
    word-break: break-word;
}

.tabela-admin th:last-child, 
.tabela-admin td:last-child {
    width: 100px !important;
    min-width: 100px !important;
    text-align: center !important;
    white-space: nowrap !important; 
}

.tabela-admin tr:hover {
    background-color: #f8f9fa !important;
    transition: background 0.2s ease;
}

.badge-uf {
    font-weight: bold;
    letter-spacing: 1px;
}

.btn-acao, 
button[onclick^="abrirModalEdicao"] {
    background-color: #0ba7e6 !important; 
    color: #ffffff !important;
    border: none !important;
    padding: 8px 12px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; 
    font-size: 0.9rem;
}

.btn-acao:hover, 
button[onclick^="abrirModalEdicao"]:hover {
    background-color: #ff8c00 !important; 
    transform: scale(1.05);
    color: #fff !important;
}

.btn-acao i, 
button[onclick^="abrirModalEdicao"] i {
    margin: 0;
    color: #fff !important;
}

.botoes-acoes {
    display: flex; 
    justify-content: center; 
    gap: 8px;              
    align-items: center;    
    white-space: nowrap;    
}

.btn-del {
    background-color: #ff4d4d !important;
}
.btn-del:hover {
    background-color: #cc0000 !important;
}

.modal.show {
    display: block !important;
    opacity: 1 !important;
    background: rgba(0,0,0,0.5); 
}
.modal-dialog {
    margin-top: 50px;
    z-index: 9999;
}

#modalEditarPrestador .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -15px;
    margin-left: -15px;
}

#modalEditarPrestador .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 15px; }
#modalEditarPrestador .col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; padding: 0 15px; }
#modalEditarPrestador .col-md-6 { flex: 0 0 50%; max-width: 50%; padding: 0 15px; }
#modalEditarPrestador .col-md-5 { flex: 0 0 41.666%; max-width: 41.666%; padding: 0 15px; }
#modalEditarPrestador .col-md-3 { flex: 0 0 25%; max-width: 25%; padding: 0 15px; }

.form-group {
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

/* ==========================================================================
   11. CONSOLIDAÇÃO E CORREÇÃO FINAL PARA MÓVEIS (CELULAR) - M!DIUM
   ========================================================================== */
@media screen and (max-width: 768px) {

    /* Ajuste de Altura e Base do Header Fixo no Mobile */
    header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 20px !important; /* Reduz o enchimento interno para caber tudo */
        background: #0b1a20 !important; 
        height: auto !important; /* Libera a altura para o botão respirar */
        min-height: 60px !important;
        z-index: 9999999 !important; /* Garante que fique na frente de absolutamente tudo */
    }

    .logo-wrapper {
        display: flex !important;
        align-items: center !important;
        max-width: 60% !important;
    }

    .logo-wrapper img {
        height: 40px !important; /* Logo menor e proporcional no celular */
        width: auto !important;
    }

    .slogan {
        display: none !important; 
    }

    /* Criação Física e Estilização do Botão Sanduíche */
    .menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 32px !important;
        height: 22px !important;
        cursor: pointer !important;
        z-index: 10000000 !important; /* Camada soberana acima do próprio header */
        background: transparent !important;
        padding: 2px !important; /* Aumenta a área de detecção do clique */
    }

    .menu-toggle span {
        display: block !important;
        height: 3px !important;
        width: 100% !important;
        background-color: var(--laranja) !important;
        border-radius: 3px !important;
    }

    /* Transformação visual de Sanduíche para o caractere "X" */
    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0 !important;
    }
    .menu-toggle.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg) !important;
    }
    .menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg) !important;
    }

    /* Gaveta do Menu Suspenso de Navegação (Começa Oculta) */
    header nav {
        display: none !important; 
        flex-direction: column !important;
        position: fixed !important;
        top: 60px !important; /* Abre exatamente colado abaixo do cabeçalho fluido */
        left: 0 !important;
        width: 100% !important;
        background-color: #0b1a20 !important; 
        z-index: 9999998 !important; /* Logo abaixo do botão, mas acima do conteúdo */
        padding: 15px 0 !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.4) !important;
    }

    nav.active {
        display: flex !important;
    }

    nav a {
        display: block !important;
        color: var(--branco) !important;
        padding: 16px 0 !important;
        text-align: center !important;
        width: 100% !important;
        margin-left: 0 !important; 
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        text-decoration: none !important;
    }
}



    /* Correção Otimizada dos Textos Grandes e Encolhimento da Hero */
    .hero-section {
        padding-top: 100px !important; 
    }

    .hero-content h1 {
        font-size: 1.8rem !important; 
        line-height: 1.2 !important;
    }

    .texto-impacto h1 {
        font-size: 1.5rem !important; 
        line-height: 1.3 !important;
    }

    .texto-impacto p {
        font-size: 0.95rem !important;
    }

    /* Alinhamento Retilíneo Horizontal e Baixo da Busca */
    .search-bar {
        display: flex !important;
        flex-direction: row !important; 
        align-items: center !important;
        padding: 6px 10px !important;   
        height: 50px !important;        
        background: var(--branco) !important;
        border-radius: 50px !important;
        gap: 4px !important;
        width: 100% !important;
    }

    .search-input {
        width: 40% !important; 
        border-right: 1px solid #ddd !important;
        border-bottom: none !important; 
        padding: 0 5px !important;
        display: flex !important;
        align-items: center !important;
    }

    .search-input:last-of-type {
        border-right: none !important;
    }

    .search-input input {
        font-size: 0.78rem !important; 
        padding: 2px 0 !important;
    }

    .search-bar button {
        width: auto !important;          
        padding: 0 15px !important;      
        height: 38px !important;         
        font-size: 0.8rem !important;
        border-radius: 40px !important;
    }

    /* Reposicionamento do Botão Fixo de Anúncio */
    .btn-anuncie-fixo {
        position: fixed !important;
        bottom: 20px !important;       
        right: 15px !important;        
        padding: 10px 18px !important; 
        font-size: 0.8rem !important;
        z-index: 2200000 !important;   
    }

    /* Compactação em duas colunas da grade de serviços */
    .servicos-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 10px !important; 
        padding: 10px !important;
    }

    .servico-card-compacto {
        padding: 8px 5px !important; 
        min-height: auto !important;  
        display: flex !important;     
        flex-direction: column !important; 
        align-items: center !important;
        justify-content: center !important;
    }

    .servico-card-compacto i { 
        font-size: 1.1rem !important; 
        margin-bottom: 2px !important; 
    } 
    
    .nome-servico { 
        font-size: 0.85rem !important; 
    } 

    .desc-servico {
        display: none !important; 
    }

    /* Alinhamentos herdados mantidos intactos */
    .quem-somos .container { 
        display: flex; 
        align-items: center; 
        justify-content: space-between; 
        gap: 50px; 
    }
    
    .quem-somos-conteudo { 
        flex: 1; 
        min-width: 300px; 
    }
    
    .diferenciais .container { 
        flex-direction: column; 
        align-items: center; 
    }
    
    .diferencial-item { 
        width: 100%; 
        text-align: left; 
    }
    
    footer .container { 
        flex-direction: column; 
        gap: 10px; 
        text-align: center; 
    }
    
    .footer-links a { 
        margin: 0 10px; 
    }


.modal-conteudo-boas-vindas::-webkit-scrollbar {
    width: 6px;
}
.modal-conteudo-boas-vindas::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.modal-conteudo-boas-vindas::-webkit-scrollbar-thumb:hover {
    background: #ff8c00;
}

/* Correção para o botão voltar e o logo no celular */
@media (max-width: 768px) {
    header.rolagem {
        padding: 10px 15px !important;
    }
    
    header.rolagem .logo-wrapper img {
        height: 45px !important; /* Limita a altura do logo no celular */
        width: auto !important;
    }

    header nav {
        margin-left: 0 !important;
    }

    header nav a {
        margin-left: 0 !important;
        font-size: 13px !important; /* Ajusta o tamanho do texto do botão */
    }
}