@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.text-success {
    --bs-text-opacity: 1;
    color: #22391f !important;
}

.bg-success {
    background-color: #22391f !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

/* Utilitários de Fonte */
.font-12 { font-size: 12px; } .font-14 { font-size: 14px; } .font-15 { font-size: 15px; }
.font-16 { font-size: 16px; } .font-17 { font-size: 17px; } .font-18 { font-size: 18px; }
.font-20 { font-size: 20px; } .font-22 { font-size: 22px; } .font-24 { font-size: 24px; }
.font-26 { font-size: 26px; } .font-28 { font-size: 28px; } .font-30 { font-size: 30px; }
.font-32 { font-size: 32px; } .font-36 { font-size: 36px; } .font-38 { font-size: 38px; }
.font-40 { font-size: 40px; } .font-42 { font-size: 42px; } .font-44 { font-size: 44px; }
.font-48 { font-size: 48px; } .font-54 { font-size: 54px; }

.whatsapp_float {
    position: fixed;
    right: 25px;
    bottom: 30px;
    z-index: 9999;
    width: 60px;
    height: 60px;
}

/* Limpando a classe antiga */
.bg-inicial {
    background: none !important;
}

.owl-capa .item img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

.owl-capa .owl-nav {
    padding: 0 40px; /* Aumente de 15px para 40px ou o valor que preferir */
}

/* 1. Container dos Dots - Centralizado e sem fundo */
.owl-capa .owl-dots {
    position: absolute;
    bottom: 150px; /* Altura em relação ao rodapé */
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    justify-content: center;
    gap: 15px; /* Espaço entre as bolinhas */
    background: none !important;
    padding: 0 !important;
    width: auto !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* 2. Botão do Dot - Removendo qualquer estilo de 'caixa' nativo */
.owl-capa .owl-dot {
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

/* 3. A bolinha em si (span) */
.owl-capa .owl-dot span {
    width: 12px !important;
    height: 12px !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.6) !important; /* Branco suave */
    border-radius: 50% !important; /* Força ser redondo */
    display: block;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Sombra leve para destacar no fundo */
}

/* 4. Bolinha Ativa */
.owl-capa .owl-dot.active span {
    background: #f9aa1f !important; /* Seu amarelo */
    transform: scale(1.3); /* Aumenta um pouquinho a ativa */
}

.bg-card-01 { background-image: url(../img/card-01.png); background-size: cover; background-position: top; overflow: visible; }
.bg-card-02 { background-image: url(../img/card-02.png); background-size: cover; background-position: top; overflow: visible; }
.bg-card-03 { background-image: url(../img/card-03.png); background-size: cover; background-position: top; overflow: visible; }
.bg-card-white{ background-image:url(../img/bg-card.png); background-size: cover; background-position: top; overflow: visible;}
.border-success {border-color: #22391f !important;}

.btn-warning {
    --bs-btn-color: #fff;
    --bs-btn-bg: #f9aa1f;
    --bs-btn-border-color: #f9aa1f;
}

.text-warning {color: #f9aa1f !important;}
.bg-warning { background-color: #f9aa1f !important; }
.bg-success-custom { background-color: #87a230 !important; }

/* Owl Carousel */
.owl-carousel { position: relative; }
.owl-carousel .owl-nav {
    display: flex !important;
    justify-content: space-between; 
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(-50%);
    margin-top: 0 !important;
    pointer-events: none; 
    z-index: 10;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    background: transparent !important;
    border: none !important;
    width: 50px;
    height: 50px;
    margin: 0 -10px !important; 
    pointer-events: auto; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#inicio  .owl-nav i {
    color: #ffffff80!important;
    background: none !important;
    font-size: 40px !important;
    line-height: 1;
}


.owl-carousel .owl-nav button.owl-prev span,
.owl-carousel .owl-nav button.owl-next span,
.owl-carousel .owl-nav i {
    color: #87a230 !important; 
    background: none !important;
    font-size:30px !important;
    line-height: 1;
}

.owl-carousel .owl-nav button:hover span { color: #FFFFFF !important; }
.owl-theme .owl-nav [class*='owl-']:hover { background: transparent !important; text-decoration: none; }

/* Container que envolve cada logo */
.owl-slide .item-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px; /* Define uma altura fixa para a área da logo */
    padding: 10px;
}

/* Ajuste das imagens das logos */
.owl-slide img {
    max-height: 50px !important; /* Limita a altura para todas ficarem iguais */
    width: auto !important;     /* Permite que a largura varie proporcionalmente */
    object-fit: contain;        /* Garante que a imagem não seja distorcida */
    filter: brightness(0) invert(1); /* Opcional: força todas as logos a ficarem brancas */
    opacity: 1;
    transition: 0.3s;
}

.owl-slide img:hover {
    opacity: 0.8;
}

.text-success-custom { color: #87a230; }
.btn-success-custom {
    color: #22391f;
    background-color: #87a230 !important;
    border-color: #87a230 !important;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #f9aa1f !important;
    font-weight: bolder;
}

/* Seção App */
#app-core { overflow: hidden; }
#app-core .font-48 { line-height: 1.1; }
#app-core .bi-dot { font-size: 30px; vertical-align: middle; }

/* Seção Planos */
.selo-plano {
    position: absolute;
    top: -75px; 
    left: 50%;
    transform: translateX(-50%);
    width: 130px; 
    z-index: 10;
}
#planos .card { transition: transform 0.3s ease; }
#planos .card:hover { transform: translateY(-10px); }

/* Tabs / Nav Pills */
.nav-pills .nav-link.active {
    --bs-text-opacity: 1;
    background-color: #fff !important;
    color: #22391f !important; 
    font-weight: 600 !important;
    border-radius:50rem !important;
}

#empresas .nav-pills .nav-link.active {
    --bs-text-opacity: 1;
    background-color: #22391f !important;
    border-radius: 5rem !important;
}

.img-produto-card {
    width: 100%;
    height: 350px;
    object-fit: cover; /* Mantém a proporção cortando as bordas excedentes */
    display: block;
    border-radius: inherit;}

/* --- SEÇÃO OR2 AJUSTADA --- */
.bg-or2-feature {
    background: url(../img/bg-tabs.png) center/cover no-repeat;
    position: relative;
}

/* Botões Laterais (Abas) */
.nav-or2 {
    background-color: #ced4da !important; 
    border-radius: 20px !important; /* Arredondado apenas na esquerda */
    padding: 15px 10px !important;
    width: 125%; /* Avança para a esquerda sobre a imagem */
    margin-left: -25%; /* Puxa o botão para "dentro" do container verde */
    transition: all 0.3s ease-in-out;
    border: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.nav-or2 img {
    max-height: 35px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
}

/* Estado Ativo do botão OR2 */
.nav-or2.active {
    background-color: #22391f !important; 
}

.nav-or2.active img {
    filter: grayscale(0%) brightness(1.2);
    opacity: 1;
}

.ls-2 { letter-spacing: 2px; }

.bg-light-translucent {
    background-color: transparent !important; 
}

/* Ajuste para o placeholder e borda da newsletter */
.custom-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.custom-newsletter input:focus {
    background-color: transparent;
    color: white;
    border-color: #87a230; /* Verde customizado no foco */
    box-shadow: none;
}

/* Garante que os links do rodapé não mudem de cor */
footer a:hover {
    color: #f9aa1f !important;
    transition: 0.3s;
}

/* --- AJUSTES DE RESPONSIVIDADE GERAL --- */

/* Tablet e Mobile (Abaixo de 992px) */
@media (min-width: 768px) and (max-width:992px){
    .img-produto-card {
        height: 220px !important; /* Reduz de 350px para 220px */
    }

    /* Garante que o card não tenha altura mínima forçada que estique o conteúdo */
    #pacotes .card {
        height: auto !important; 
        margin-bottom: 15px;
    }
    
    /* Ajuste para que o overlay de texto não cubra a imagem inteira no mobile */
    .card-img-overlay {
        position: relative !important; /* Faz o texto ficar abaixo da imagem em vez de por cima */
    }
    
    .card-img-overlay .p-3 {
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
    }
    .bg-inicial { height: auto !important; min-height: 100vh; padding-top: 120px; }
    
    /* Ajuste Seção OR2 (Abas laterais viram horizontais) */
    .nav-or2 { 
        width: 100% !important; 
        margin-left: 0 !important; 
        margin-bottom: 10px; 
        border-radius: 15px !important; 
        padding: 10px !important;
    }
    .nav-or2 img { max-height: 25px; }
    .bg-or2-feature { padding: 30px 20px !important; }
    .bg-or2-feature p.w-50 { width: 100% !important; }
}

/* Somente Mobile (Abaixo de 576px) */
@media (max-width: 575px) {
    /* Fontes Globais */
    .font-54 { font-size: 38px; }
    .font-48 { font-size: 32px; }
    .font-38 { font-size: 28px; }
    .font-30 { font-size: 24px; }

    
    /* Header/Navbar */
    .navbar-brand img { width: 150px; }
    
    /* Capa */
    #capa .bg-success { padding: 30px !important; }
    
    /* Quem Somos - Imagem do Mercado */
    #quem-somos .text-end img { width: 100%; height: auto; margin-top: 20px; }
    #quem-somos .font-24 {font-size: 23px;}
    #or2 .gap-3 {gap: 5rem !important;}
    .bg-card-01 { 
        background-image: none !important; 
        background-color: #87a230 !important; /* Seu verde claro */
    }
    .bg-card-02 { 
        background-image: none !important; 
        background-color: #f9aa1f !important; /* Seu amarelo */
    }
    .bg-card-03 { 
        background-image: none !important; 
        background-color: #22391f !important; /* Seu verde escuro */
    }

    /* Ajuste para centralizar o texto verticalmente já que não tem mais o detalhe da imagem */
    #quem-somos .card p {
        margin: 20px 0 !important; /* Ajusta o respiro interno no mobile */
    } 
    /* Carrossel de Logos (Parceiros) */
    .owl-carousel .owl-nav { top: auto; bottom: -50px; justify-content: center; gap: 20px; }
    .owl-carousel .owl-nav button { margin: 0 !important; }
    .owl-slide .owl-nav {
        top: 50% !important; /* Garante que fiquem centralizadas verticalmente */
        bottom: auto !important;
        transform: translateY(-50%) !important;
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 0 5px !important; /* Afasta levemente da borda da tela */
    }

    .owl-slide .owl-nav button.owl-prev,
    .owl-slide .owl-nav button.owl-next {
        background: rgba(255, 255, 255, 0.1) !important; /* Um fundo bem discreto para facilitar o clique */
        width: 30px !important;
        height: 30px !important;
        border-radius: 50% !important;
        margin: 0 !important;
    }

    .owl-slide .owl-nav i, 
    .owl-slide .owl-nav span {
        font-size: 20px !important; /* Diminui o tamanho do ícone para não poluir o celular */
        color: #fff !important; /* Garante que fiquem brancas no fundo verde */
    }

    #pacotes .nav-pills {
        flex-wrap: nowrap !important; /* Impede que as abas pulem linha */
        overflow-x: auto !important; /* Habilita o scroll lateral */
        overflow-y: hidden;
        justify-content: flex-start !important; /* Alinha no início para o scroll fazer sentido */
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch; /* Deixa o scroll "macio" no iPhone */
    }

    #pacotes .nav-item {
        white-space: nowrap; /* Garante que o texto de cada aba fique em uma linha só */
    }

    #pacotes .nav-link {
        padding: 8px 20px !important;
        font-size: 14px !important; /* Diminui um pouco a fonte no mobile */
    }

    /* Esconde a barra de rolagem para o visual ficar mais limpo */
    #pacotes .nav-pills::-webkit-scrollbar {
        display: none;
    }

    /* Seção App */
    #app-core .text-center img { margin-top: 40px; max-width: 80%; }
    
    /* Cards de Perfil e Produtos */
    .bg-card-white { margin-bottom: 20px; }
    .col-md-3 .card { height: auto !important; margin-bottom: 20px; }
    .img-produto-card { height: 250px; }

    /* Seção Planos (Selos) */
    .selo-plano { width: 90px; top: -45px; }
    #associacao .col-md-4 { margin-top: 60px !important; }
    #associacao .pt-5 { padding-top: 20px !important; }

    /* Seção OR2 */
    .bg-or2-feature { text-align: center; }
    .bg-or2-feature img { margin-left: auto; margin-right: auto; }
    .nav-pills { flex-direction: row !important; overflow-x: auto; flex-wrap: nowrap; padding: 10px 5px !important; }
    .nav-or2 { min-width: 140px;margin: 0 10px 10px 0 !important; /* Dá espaçamento à direita e abaixo */
        padding: 10px 20px !important; /* Aumenta o respiro interno para a logo não encostar na borda */
        box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important; /* Suaviza a sombra no mobile */}
    .nav-or2 img {max-height: 25px !important;}

    #empresas .w-50 { width: 100% !important; }

    img-produto-card {
        height: 200px !important;
        object-fit: cover !important;
    }

    /* Remove a sobreposição para o texto não 'esmagar' a foto */
    #pills-tabContent .card-img-overlay {
        position: relative !important;
        display: block !important;
    }

    /* Ajusta o card para ocupar a altura necessária */
    #pills-tabContent .card {
        height: auto !important;
    }

    /* Remove arredondamentos que conflitam quando o texto desce */
    #pills-tabContent .card-img-overlay .rounded-4 {
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
    }

    /* Espaçamentos */
    .py-5 { padding-top: 20px !important; padding-bottom: 20px !important; }
    .pt-5 { padding-top: 15px !important; }
    .pb-5 { padding-bottom: 15px !important; }
    
    /* Footer */
    footer .text-md-end { text-align: center !important; margin-top: 20px; }
    footer .mx-2 { display: inline-block; margin-bottom: 10px; }
}