:root {
    --green-button: #446934;

    --green-logo: #456935;
    --gray-card-text: #3D3D3D;


    --green-button-transition: #3E6030;

    --green-bar: #42964a;

    --our-clients-title: #042010;
    --gray-icons: #212121;
    --white: #ffffff;
    --black: #000000;
    --nav-trasition: #444444;

    --smoke: #3D3D3D;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.navbar {
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
}

.navbar.menu-open {
    background-color: #f7f7f7;
}

.navbar .nav-link {
    color: var(--black);
    font-style: normal;
    letter-spacing: normal;
    font-family: "Montserrat", sans-serif;
    font-weight: 400 !important;
}

.dropdown-item {
    color: var(--black);
    font-style: normal;
    letter-spacing: normal;
    font-family: "Montserrat", sans-serif;
}

.navbar .nav-link.active {
    color: var(--black);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--nav-trasition);
}

.navbar.scrolled {
    background-color: var(--white);
}

.navbar.scrolled .nav-link {
    color: var(--black);
}

.navbar.scrolled .nav-link:hover {
    color: var(--nav-trasition);
}

section:nth-of-type(1) {
    background-image: url('images/fund4.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 50vh;
    padding-top: 100px;
}

section:first-of-type .text-content h1 {
    color: var(--black);
    font-weight: 700;
    font-style: normal;
    letter-spacing: normal;
    font-family: "Montserrat", serif;
}

section:nth-of-type(n+2) .text-content h2 {
    color: var(--green-button);
    font-weight: 700;
    text-transform: none;
    font-style: normal;
    font-family: "Montserrat", sans-serif;
}

.logo-pontos-online {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.section-bg-light {
    background-color: #f8f9fa;
    /* Um cinza bem claro, padrão do Bootstrap */
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.h3-style {
    color: var(--green-logo);
    font-weight: 700;
    text-transform: none;
    font-style: normal;
    font-family: "Montserrat", sans-serif;
}

.card-link {
    color: var(--green-logo);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: "Gothic A1", sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-link:hover {
    color: var(--green-button-transition);
    transform: translateX(5px);
}

.btn-contrate {
    background-color: var(--green-button);
    border-color: var(--green-button);
    color: var(--white);
}

.btn-contrate:hover,
.btn-contrate:focus,
.btn-contrate:active {
    background-color: var(--green-button-transition);
    border-color: var(--green-button-transition);
    color: var(--white);
}

.customized-dropdown-mobile {
    max-width: 200px;
    margin-left: auto;
    text-align: end;
}

.carousel-dimensions {
    max-width: 746px;
    height: auto;
    margin: 0;
}

.carousel-dimensions img {
    max-width: 95%;
    margin: auto;
    height: auto;
}

.carousel-inner {
    border-radius: 1.5em;
}


#carouselExampleIndicators .carousel-indicators {
    bottom: -130px;
}

.material-symbols-outlined {
    color: var(--green-logo);
}

.pt-custom-down {
    padding-bottom: 1rem !important;
    padding-top: 1rem !important;
}

section:nth-of-type(2) {
    background-color: var(--white);
    /* Dá um fundo branco */
}

.focus-left {
    object-position: 40% 60%;
}

.text-content-slide h1 {
    color: var(--black);
    font-weight: 700;
    font-style: normal;
    letter-spacing: normal;
    font-family: "Montserrat", serif;
}

.text-content-slide p {
    color: var(--black);
    font-weight: 400 !important;
    font-family: "Montserrat", sans-serif;
}

.btn-enviar,
.btn-descubra {
    background-color: var(--green-button);
    border-color: var(--green-button);
    font-family: "Montserrat", sans-serif;
    color: var(--white);
}

.btn-enviar:hover,
.btn-enviar:focus,
.btn-enviar:active {
    background-color: var(--green-button-transition);
    border-color: var(--green-button-transition);
    color: var(--white);
}

.btn-descubra:hover,
.btn-descubra:focus,
.btn-descubra:active {
    background-color: var(--green-button-transition);
    border-color: var(--green-button-transition);
    color: var(--white);
}

.custom-padded {
    position: relative;
    z-index: 2;
    padding-left: 7rem;
    padding-right: 7rem;
}

.form-bg-shape {
    position: absolute;
    /* "Flutua" no container pai */
    z-index: 1;
    /* Fica atrás do card (que tem z-index: 2) */

    /* ----- Você precisa ajustar os valores abaixo ----- */
    /* Isso é um palpite baseado na sua imagem */

    top: 0;
    /* Começa 50px ANTES do topo do pai */
    left: 0;
    width: 100%;
    /* Ocupa 60% da largura */
    height: 100%;
    /* Altura da imagem */
    object-fit: cover;
    /* Garante que ela cubra o espaço */
}


.modern-footer {
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(108, 92, 231, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3436;
    text-decoration: none;
}

.footer-title {
    color: var(--black);
    font-family: "Gothic A1", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #6c5ce7, transparent);
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--black);
    font-family: "Gothic A1", sans-serif;
}

.contact-info i {
    color: var(--gray-icons);
    width: 20px;
}

.title-service {
    font-family: "Gothic A1", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.text-service {
    font-family: "Gothic A1", sans-serif;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3436;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
    transform: translateY(-3px);
    color: #6c5ce7;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.2);
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.quick-links a {
    color: var(--black);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: "Gothic A1", sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
}

.quick-links a:hover {
    color: #111010;
    transform: translateX(5px);
}

.quick-links a::before {
    content: '→';
    opacity: 0;
    transition: all 0.3s ease;
}

.quick-links a:hover::before {
    opacity: 1;
}


.footer-bottom {
    background: var(--white);
}

.footer-bottom .container {
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

.footer-bottom p {
    margin: 0;
    color: var(--black);
}

.material-symbols-outlined {
    font-size: 32px;
}

.logo-img {
    height: 80px;
    /* Define uma altura fixa para todas as logos */
    width: 100%;
    /* Faz a imagem ocupar a largura da coluna (col-4) */
    object-fit: contain;
    /* ESSA É A CHAVE: Garante que o logo caiba nos 80px de altura sem distorcer */
}

/* --- CSS para o Letreiro Infinito (Logo Slider) --- */

.logo-slider {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    /* A "janela" */
    position: relative;
    /* Isso deixa o visual "bonito" com fade nas laterais */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-track {
    display: flex;
    width: calc(250px * 20);
    animation: scroll 20s linear infinite;
}


.slide-logo {
    width: 250px;
    /* Largura da "caixa" de cada logo */
    height: 100px;
    /* Altura da faixa do carrossel */
    flex-shrink: 0;
    box-sizing: border-box;
    /* Centraliza a imagem verticalmente na caixa */
    display: flex;
    align-items: center;
    padding: 0 25px;
    /* Espaçamento entre as logos */
}

/* Re-aplica a regra de altura para as logos */
.logo-img {
    height: 80px;
    /* Altura máxima da imagem */
    width: 100%;
    object-fit: contain;
    /* Impede distorção */
}

/* A Animação */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Move o track para a esquerda pelo tamanho exato da 1ª cópia */
        /* (10 logos * 250px de largura) */
        transform: translateX(calc(-250px * 10));
    }
}


@media (min-width: 992px) {

    .navbar {
        background-color: transparent;
    }

    .navbar.menu-open .navbar-collapse {
        background-color: var(--green-button);
    }

    .dropdown:hover .dropdown-menu {
        display: block !important;
    }

    #carouselExampleIndicators .carousel-indicators {
        left: auto;
        /* Reseta o 'left: 0' do Bootstrap */
        right: 45%;
        /* Posiciona 25% a partir da borda direita */
        margin-left: 0;
        /* Reseta a margem esquerda */
        margin-right: 0;
        /* Reseta a margem direita */

        transform: translateX(50%);
    }

    .customized-dropdown-mobile {
        left: auto !important;
        right: 0 !important;
        margin-left: initial;
    }

    /* * REGRAS CORRIGIDAS DO CARROSSEL (DESKTOP) 
     */

    /* 1. Alinha a coluna de texto verticalmente */
    .carousel-text-column {
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* Removemos o text-align: center daqui */
    }

    /* 2. Define a altura MÁXIMA da coluna da imagem e esconde o que vazar */
    .carousel-image-column {
        height: 100%;
        overflow: hidden;
    }

    /* 3. Faz a IMAGEM preencher a coluna (100%) e cobrir o espaço */
    .carousel-image-column img {
        border-radius: 15px;
        width: 95%;
        height: 100%;
        object-fit: contain;
        /* Cobre o espaço sem distorcer */
        object-position: center;
    }

    /* * FIM DAS REGRAS DO CARROSSEL
     */

    .ms-lg-custom-spacement {
        margin-left: 6rem !important;
    }

    .ms-lg-custom-carousel-right {
        margin-left: 4.5rem !important;
    }

    section:nth-of-type(1) {
        /* As regras de background já estão no CSS principal, só precisamos mudar o que é diferente */
        min-height: 95vh;
        padding-top: 180px;
        padding-bottom: 200px;
    }

    /* Removemos as regras antigas .carousel-dimensions e as regras mobile que estavam aqui */
}

@media (min-width: 1200px) and (max-width: 1400px) {

    .carousel-dimensions {
        max-width: 550px;
    }

}

@media (max-width: 768px) {
    .logo-pontos-online {
        max-width: 250px;
        width: 100%;
        height: auto;
    }

    .custom-padded {
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }

    section:nth-of-type(1) {
        background-image: url('images/fund4.png');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        min-height: 70%;
        padding-bottom: 130px;
        padding-top: 150px;
    }

    .navbar {
        background-color: var(--white);
    }

    .carousel-text-column {
        text-align: center;
    }

    .carousel-text-column .justify-content-lg-start {
        justify-content: center !important;
    }

    /* 2. Reseta a altura da imagem no mobile */
    .carousel-image-column {
        max-height: none;
        overflow: visible;
    }

    .carousel-image-column img {
        width: 90%;
        margin: 0 auto;
        height: auto;
        object-fit: cover;
        /* Cobre o espaço sem distorcer */
        object-position: center;
    }

    #carouselExampleIndicators .carousel-indicators {
        bottom: -100px;
    }

}