* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f5f7f6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

header {
    background: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* Altura padronizada */
    padding: 0;
}

/* Versão SUPER ampliada */
.logo {
    display: flex;
    align-items: center;
    height: 80px;
    position: relative;
}

.logo-img {
    height: 110px; /* Bem maior */
    width: auto;
    max-width: 400px;
    object-fit: contain;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10; /* Fica sobre outros elementos se necessário */
}
/* Ajuste mobile */
@media (max-width: 900px) {
    .logo-img {
        height: 110px;
        max-width: 250px;
    }
}

nav {
    display: flex;
    gap: 30px;
    z-index: 3000;
}

nav a {
    text-decoration: none;
    color: #2d3e3a;
    font-weight: 600;
    transition: 0.2s;
    position: relative;
    padding: 5px 0;
    margin-left: 0; 
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #2f9e73;
    transition: width 0.3s;
}

nav a:hover:after {
    width: 100%;
}

nav a:hover {
    color: #2f9e73;
}

nav a.active {
    color: #2f9e73;
}

nav a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2f9e73;
}

.hero {
    height: 100vh;
    position: relative;
    background: url("img/hero.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(47,158,115,0.9), rgba(71,199,138,0.85));
}

.hero-content {
    position: relative;
    color: #fff;
    max-width: 700px;
    margin: auto;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.section {
    padding: 100px 0;
}

.light {
    background: #eef5f2;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.img-box {
    width: 100%;
    height: 420px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.10);
    position: relative;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.mvv-card {
    background: linear-gradient(180deg,#47c78a,#2f9e73);
    color: #fff;
    padding: 35px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.mvv-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.mvv-card ul {
    margin-top: 10px;
    padding-left: 18px;
}

.servicos-bg {
    position: relative;
    background: url("img/backServiços.jpg") center/cover no-repeat;
    color: #fff;
}

.servicos-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18,95,68,0.65), rgba(47,158,115,0.55));
    z-index: 1;
}

.servicos-bg .container {
    position: relative;
    z-index: 2;
}

.white {
    color: #fff;
}

.servico-item {
    background: #fff;
    color: #333;
    padding: 22px;
    border-radius: 14px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.servico-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ffffff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.servico-logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.sistema-section {
    position: relative;
    background: #f5f7f6;
    overflow: hidden;
}

.sistema-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.sistema-texto h2 {
    font-size: 38px;
    color: #2f9e73;
    margin-bottom: 20px;
}

.sistema-texto p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.sistema-subtitulo {
    margin-top: 25px;
    font-size: 22px;
    color: #2f9e73;
}

.sistema-lista {
    list-style: none;
    margin-top: 15px;
}

.sistema-lista li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
}

.sistema-lista li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #2f9e73;
    border-radius: 50%;
}

/* Mockup como fundo */

.sistema-bg {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    background: url("img/conecta-bg.png") right center no-repeat;
    background-size: contain;
    opacity: 0.95;
    z-index: 1;
}

.footer {
    background: #1f2e2a;
    color: #fff;
    padding-top: 60px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 15px;
    color: #6be3b3;
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-col i {
    margin-right: 8px;
    color: #6be3b3;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding: 20px 0;
    font-size: 13px;
    color: #ccc;
}

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #2f9e73;
}

@media (max-width: 900px) {

    nav {
        position: fixed;
        top: 0;
        right: -280px;
        width: 260px;
        height: 100vh;
        background: #ffffff;
        display: flex;
        flex-direction: column;
        padding: 80px 25px;
        gap: 18px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 3000;
    }

    nav.active {
        right: 0;
    }

    nav a {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        color: #2f9e73;
    }

    .menu-toggle {
        display: block;
        font-size: 28px;
        z-index: 3100;
    }

}

.menu-toggle {
    z-index: 3100;
    position: relative;
}
/* Responsivo */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {

    .grid {
        grid-template-columns: 1fr;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 28px;
    }

    .img-box {
        height: 300px;
    }

    .mockup-box {
        min-height: auto;
        margin-top: 30px;
    }

    .mockup-box::before {
        display: none;
    }

    .mockup-box img {
        max-width: 100%;
    }

}

@media (max-width: 900px) {

    .sistema-bg {
        position: relative;
        width: 100%;
        height: 300px;
        background-position: center;
        margin-top: 30px;
    }

    .sistema-container {
        max-width: 100%;
    }

}

@media (max-width: 768px) {

    #sistema.section {
        padding-top: 0px;
        padding-bottom: 150px;
        margin-top: -15vh;
    }

    #especialista.container {
        margin-top: -35vh;
    }

}
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 2500;
    pointer-events: none; /* Mantém assim */
}

/* =====================
BOTÃO FLUTUANTE WHATSAPP
===================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25d366, #128C7E);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

/* Efeito de pulsação */
@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    }
}

/* Hover effect */
.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, #128C7E, #075E54);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.7);
    animation: none; /* Para a animação no hover */
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #075E54;
    color: #fff;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #075E54;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 85px;
}

/* Versão para dispositivos móveis */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-tooltip {
        display: none; /* Esconde tooltip no mobile */
    }
}

/* Versão para telas muito pequenas */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 15px;
        right: 15px;
    }
}

/* =====================
MELHORIAS APENAS NO TEXTO SOBRE A LS
===================== */

#sobre .grid > div:first-child p {
    font-size: 1.15rem; /* Aumentado de 1rem para 1.15rem */
    font-weight: 400;
    line-height: 1.9; /* Mais espaçoso */
    color: #2d3e3a;
    margin-bottom: 25px;
    letter-spacing: 0.3px; /* Leve espaçamento entre letras */
    text-align: justify;
}

#sobre .grid > div:first-child h2 {
    font-size: 2.5rem;
    color: #2f9e73;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

/* Linha decorativa abaixo do título */
#sobre .grid > div:first-child h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2f9e73, #47c78a);
    border-radius: 2px;
}

/* Primeiro parágrafo com um leve destaque */
#sobre .grid > div:first-child p:first-of-type {
    font-size: 1.2rem;
    font-weight: 500; /* Levemente mais forte */
    color: #1a2e2a;
}

/* Ajuste mobile */
@media (max-width: 768px) {
    #sobre .grid > div:first-child p {
        font-size: 1rem;
        line-height: 1.7;
        letter-spacing: 0.2px;
    }
    
    #sobre .grid > div:first-child p:first-of-type {
        font-size: 1.1rem;
    }
    
    #sobre .grid > div:first-child h2 {
        font-size: 2rem;
    }
}

#especialista .grid > div:last-child h2 {
    font-size: 2.5rem;
    color: #2f9e73;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

/* Linha decorativa abaixo do título (igual ao SOBRE) */
#especialista .grid > div:last-child h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2f9e73, #47c78a);
    border-radius: 2px;
}

#especialista .grid > div:last-child h3 {
    font-size: 1.8rem;
    color: #1a2e2a;
    margin: 20px 0 15px 0;
    font-weight: 600;
    line-height: 1.4;
}

#especialista .grid > div:last-child p {
    font-size: 1.15rem; /* Mesmo tamanho do SOBRE */
    font-weight: 400;
    line-height: 1.9; /* Mesmo espaçamento */
    color: #2d3e3a;
    margin-bottom: 20px;
    letter-spacing: 0.3px; /* Mesmo espaçamento entre letras */
    text-align: justify;
}

/* Ajuste mobile */
@media (max-width: 768px) {
    #especialista .grid > div:last-child h2 {
        font-size: 2rem;
    }
    
    #especialista .grid > div:last-child h3 {
        font-size: 1.5rem;
    }
    
    #especialista .grid > div:last-child p {
        font-size: 1rem;
        line-height: 1.7;
        letter-spacing: 0.2px;
    }
}

/* =====================
BOTÃO ACESSAR SISTEMA NA SEÇÃO SOBRE
===================== */
.btn-sobre-sistema {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2f9e73, #47c78a);
    color: white;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 8px 20px rgba(47, 158, 115, 0.3);
    margin-top: 20px;
    text-transform: uppercase;
}

.btn-sobre-sistema i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-sobre-sistema:hover {
    background: white;
    color: #2f9e73;
    border-color: #2f9e73;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(47, 158, 115, 0.4);
}

.btn-sobre-sistema:hover i {
    transform: translateX(5px);
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .btn-sobre-sistema {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 901px) and (max-width: 1300px) {
    #especialista .img-box {
        height: 500px; /* Aumenta a altura para dar mais espaço */
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #f5f7f6, #eef5f2);
    }

    #especialista .img-box img {
        object-fit: contain; /* Muda para contain para mostrar a imagem inteira */
        object-position: center;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }
}

/* Ajuste fino para o grid nessa faixa */
@media (min-width: 901px) and (max-width: 1300px) {
    #especialista .grid {
        gap: 30px;
        align-items: center;
    }
}

#especialista .img-box {
    background: transparent !important; 
    box-shadow: none; 
    overflow: visible; 
    border-radius: 10px;
}

#especialista .img-box img {
    object-fit: contain;
    object-position: center;
    background: transparent !important; 
    mix-blend-mode: normal; 
}

#especialista .img-box img {
    background-color: transparent;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1)); 
}

#especialista .img-box {
    background: none;
}

.img-box {
    background: transparent;
}

/* =====================
DESENVOLVIDO POR ALLTECH
===================== */
.footer-developed {
    text-align: center;
    padding: 15px 0 25px;
    background: #1f2e2a;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-developed p {
    font-size: 13px;
    color: #8a9e98;
    letter-spacing: 0.5px;
}

.footer-developed a {
    color: #6be3b3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-developed a:hover {
    color: #fff;
    text-decoration: underline;
}

header.shadow-hidden {
    box-shadow: none !important;
}

/* Garantir que o menu fique acima de tudo */
nav#menu.active {
    z-index: 3001 !important;
}

.nav-btn-sistema {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2f9e73, #47c78a);
    color: white !important;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(47, 158, 115, 0.3);
    text-transform: uppercase;
    margin-left: 10px;
}

.nav-btn-sistema i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.nav-btn-sistema:hover {
    background: white;
    color: #2f9e73 !important;
    border-color: #2f9e73;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(47, 158, 115, 0.4);
}

.nav-btn-sistema:hover i {
    transform: translateX(5px);
}

.nav-btn-sistema:after {
    display: none !important; /* Remove a linha de hover padrão */
}

/* Ajuste para o menu mobile */
@media (max-width: 900px) {
    .nav-btn-sistema {
        margin: 10px 0 0 0;
        padding: 12px 20px;
        width: 100%;
        justify-content: center;
        font-size: 1rem;
    }
    
    /* Garante que o botão apareça como último item no menu mobile */
    nav#menu a:last-child {
        margin-bottom: 20px;
    }
}

/* Ajuste fino para telas médias */
@media (min-width: 901px) and (max-width: 1100px) {
    .nav-btn-sistema {
        padding: 6px 15px;
        font-size: 0.85rem;
        gap: 5px;
    }
    
    nav {
        gap: 15px;
    }
}

.menu-toggle .fa-times {
    color: #2f9e73;
    font-size: 28px;
}

/* Para mobile, ajuste o posicionamento */
@media (max-width: 900px) {
    .menu-toggle .fa-times {
        font-size: 30px;
    }
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    /* Remove o pointer-events: all para não capturar cliques */
    pointer-events: none; /* Mantém como none para não bloquear cliques */
    cursor: default;
}

.menu-overlay {
    background: transparent !important;
}

.menu-overlay {
    background: rgba(0,0,0,0.1);
}

.mvv-card p {
    text-align: justify;
}

.servicos-bg .container > p,
.servicos-bg p:first-of-type {
    text-align: justify;
}

.section p {
    text-align: justify;
}

.footer-col:first-child p {
    text-align: justify;
    text-align-last: left; /* evita espaçamento estranho na última linha */
}