/* Aplica a fonte em todo o site */
body, h1, h2, h3, h4, h5, h6, p, a, span, div, button {
    font-family: 'Montserrat', sans-serif !important;
}

/* Rolagem Nativa */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* Corpo */
body {
    overflow-x: hidden;
    width: 100%;
    color: #333;
}

/* ================= NAVBAR ================= */

#mainNav {
    background-color: #212529 !important;
    transition: all 0.4s ease;
    padding: 10px 0;
    font-size: 1rem;
}

#mainNav.scrolled {
    background-color: rgba(33, 37, 41, 0.75) !important;
    backdrop-filter: blur(10px);
}

/* LOGO */
.logo-navbar {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* LINKS */
#mainNav .nav-link {
    position: relative;
    padding: 8px 12px;
}

#mainNav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

#mainNav .nav-link.active::after {
    width: 100%;
}

/* ================= HERO ================= */

.hero-section {
    background: #ffffff;
    min-height: 100vh;
    padding-top: 100px;
    overflow: hidden;
}

/* WAVE */
.wave-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

#sobre {
    margin-top: -2px;
    position: relative;
    z-index: 5;
}

.wave-bg svg {
    width: 100%;
    height: 100%;
}

.wave-bg path {
    fill: #dddfe0;
}

/* CONTEÚDO */
.hero-section .container,
.hero-section .container-fluid {
    position: relative;
    z-index: 2;
}

/* TEXTO */
.hero-section h1 {
    font-size: 1.8rem;
}

.hero-section p {
    font-size: 1rem;
}

/* BOTÃO */
.botaoParceiro {
    border-radius: 3rem;
    font-size: 1.8rem !important;
}

/* IMAGEM */
.hero-img-wrapper {
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 100%;
    max-width: 260px;
    margin-top: 20px;
}

/* ================= SOBRE NÓS (AJUSTADO: CENTRALIZADO) ================= */

.text-sobre {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center; /* Centraliza no Mobile */
}

.text-sobre-abaixo {
    font-size: 1rem;
    line-height: 1.5;
    text-align: center; /* Centraliza no Mobile */
}


/* ================= SEÇÕES ================= */

.icon-box {
    width: 45px;
    height: 45px;
    background: #7e7e7e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================= MAPA ================= */

.map-container {
    height: 100%;
    min-height: 350px;
    display: flex;
}

.map-container iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: 0;
}

/* BOTÕES MAPA */
#botoes-mapa {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

#botoes-mapa .btn {
    font-size: 0.85rem;
    padding: 8px 14px;
    font-weight: 600;
    border-radius: 2rem;
    transition: all 0.25s ease;
    background-color: transparent;
    color: #495057;
    border: 1px solid #ced4da;
}

#botoes-mapa .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    color: #212529;
    border-color: #6c757d;
    background-color: #f8f9fa;
}

#botoes-mapa .btn.active {
    background-color: #212529;
    color: #fff;
    border-color: #212529;
    box-shadow: 0 4px 12px rgba(33, 37, 41, 0.3);
}

/* ================= WHATS ================= */

.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    background-color: #1aa84e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    text-decoration: none;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c26;
}

/* ================= RESPONSIVO ================= */

/* MOBILE / TABLET */
@media (max-width: 768px) {
    .botaoParceiro {
        font-size: 1.2rem !important;
        padding: 10px 24px !important;
        width: auto !important;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float i {
        font-size: 2rem !important;
    }
}

/* TABLET PARA CIMA */
@media (min-width: 768px) {
    .logo-navbar {
        height: 50px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-img {
        max-width: 350px;
    }

    .map-container {
        min-height: 400px;
    }
}

/* DESKTOP */
@media (min-width: 992px) {
    #mainNav {
        padding: 15px 0;
        font-size: 1.2rem;
    }

    .logo-navbar {
        height: 60px;
    }

    .hero-section {
        padding-top: 120px;
    }

    .hero-section .row {
        align-items: flex-end;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-section [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    .hero-section .col-lg-7 {
        padding-bottom: 80px;
        padding-left: 5vw;
        transform: translateX(60px);
    }

    /* IMAGEM HERO */
    .hero-img-wrapper {
        align-items: flex-end;
        height: 100%;
        justify-content: flex-end;
    }

    .hero-img {
        max-width: 480px;
        margin-top: 0;
        transform: translate(-150px, 85px);
    }

    /* TEXTO HERO */
    .hero-section h1 {
        font-size: 3.6rem;
        line-height: 1.2;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    .botaoParceiro {
        font-size: 1.5rem;
        padding: 18px 60px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .text-sobre {
        font-size: 1.7rem;
        text-align: center !important; 
    }

    .text-sobre-abaixo {
        font-size: 1.4rem;
        text-align: center !important; 
    }
    

    .map-container {
        min-height: 490px;
    }

    #botoes-mapa .btn {
        font-size: 0.95rem;
        padding: 10px 18px;
    }

    .whatsapp-float {
        width: 80px;
        height: 80px;
        bottom: 40px;
        right: 40px;
    }
}