/* =====================
RESET E BASE
===================== */
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins', sans-serif;
}

body{
background:#f8faf9;
color:#2d3e3a;
line-height:1.6;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

.section{
padding:100px 0;
}

.bg-light{
background:#f0f5f3;
}

.center{
text-align:center;
}

h2{
font-size:36px;
margin-bottom:20px;
color:#1e4b3c;
position:relative;
display:inline-block;
}

h2.center{
display:block;
}

h2:after{
content:'';
position:absolute;
bottom:-10px;
left:0;
width:70px;
height:4px;
background:linear-gradient(90deg,#2f9e73,#6cc3a0);
border-radius:2px;
}

h2.center:after{
left:50%;
transform:translateX(-50%);
}

/* =====================
TEXTOS JUSTIFICADOS
===================== */
p, .sobre-texto p, .diferencial-texto p, .servico-card p, .mvv-card p, .footer-col p {
    text-align: justify; /* Justifica todos os parágrafos */
}

.hero-sobre .subtitulo {
    text-align: center; /* Mantém centralizado no hero */
}

.destaque-box p {
    text-align: justify; /* Justifica o texto do destaque */
}

.valores-lista li {
    text-align: left; /* Mantém alinhado à esquerda para melhor leitura da lista */
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    p, .sobre-texto p, .diferencial-texto p, .servico-card p, .mvv-card p {
        text-align: left; /* Mobile: alinhado à esquerda para evitar espaçamentos estranhos */
    }
}

/* =====================
HEADER
===================== */
header{
position:fixed;
width:100%;
top:0;
left:0;
background:#fff;
box-shadow:0 4px 20px rgba(0,0,0,0.08);
z-index:1000;
}

/* Adicionar esta regra para esconder a sombra quando o menu estiver aberto */
header.shadow-hidden{
box-shadow:none;
}

.nav{
display:flex;
justify-content:space-between;
align-items:center;
height:80px;
}

.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 */
}

/* Garante que o menu não sobreponha */
nav {
    position: relative;
    z-index: 5;
}

/* Ajuste mobile */
@media (max-width: 900px) {
    .logo-img {
        height: 110px;
        max-width: 250px;
    }
}

nav{
display:flex;
gap:30px;
}

nav a{
text-decoration:none;
color:#2d3e3a;
font-weight:600;
transition:0.2s;
position:relative;
padding:5px 0;
}

nav a.active{
color:#2f9e73;
}

nav a.active:after{
content:'';
position:absolute;
bottom:0;
left:0;
width:100%;
height:2px;
background:#2f9e73;
}

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;
}

.menu-toggle{
display:none;
font-size:28px;
cursor:pointer;
color:#2f9e73;
z-index:2100;
}

.menu-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
opacity:0;
visibility:hidden;
transition:0.3s;
z-index:1500;
}

.menu-overlay.active{
opacity:1;
visibility:visible;
}
/* =====================
HERO
===================== */
.hero-sobre{
background:linear-gradient(135deg,#1a4b3a,#2f9e73);
color:#fff;
padding:150px 0 100px;
text-align:center;
position:relative;
overflow:hidden;
margin-top:80px;
}

.hero-sobre:before{
content:'';
position:absolute;
top:-30%;
right:-30%;
width:150%;
height:150%;
background:rgba(255,255,255,0.1);
transform:rotate(30deg);
}

.hero-sobre .container{
position:relative;
z-index:2;
}

.hero-sobre h1{
font-size:48px;
margin-bottom:20px;
font-weight:700;
text-shadow:0 2px 5px rgba(0,0,0,0.2);
}

.hero-sobre .subtitulo{
font-size:20px;
max-width:800px;
margin:0 auto 40px;
opacity:0.95;
text-align:center; /* Mantido centralizado */
}

.hero-stats{
display:flex;
justify-content:center;
gap:60px;
margin-top:40px;
}

.hero-stat-item{
display:flex;
flex-direction:column;
}

.hero-stat-num{
font-size:42px;
font-weight:700;
margin-bottom:5px;
}

.hero-stat-label{
font-size:16px;
opacity:0.9;
text-transform:uppercase;
letter-spacing:1px;
}

/* =====================
GRID SOBRE
===================== */
.grid-2{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

.sobre-texto h2{
margin-bottom:30px;
font-size:36px;
}

.sobre-texto .destaque{
font-size:18px;
color:#1e4b3c;
font-weight:500;
margin-bottom:20px;
border-left:4px solid #2f9e73;
padding-left:20px;
}

.sobre-texto p{
margin-bottom:20px;
color:#3d4f4a;
}

.selos{
display:flex;
flex-wrap:wrap;
gap:15px;
margin-top:30px;
}

.selo-item{
background:#e8f3ee;
padding:8px 18px;
border-radius:50px;
display:flex;
align-items:center;
gap:8px;
color:#1e4b3c;
font-weight:500;
}

.selo-item i{
color:#2f9e73;
}

.sobre-img.vertical{
position:relative;
border-radius:20px;
overflow:hidden;
box-shadow:0 25px 50px -12px rgba(0,0,0,0.25);
}

.sobre-img.vertical img{
width:100%;
height:auto;
display:block;
transition:transform 0.5s;
}

.sobre-img.vertical:hover img{
transform:scale(1.05);
}

.img-caption{
position:absolute;
bottom:0;
left:0;
right:0;
background:linear-gradient(transparent, rgba(0,0,0,0.7));
color:#fff;
padding:20px;
text-align:center;
font-size:14px;
}

/* =====================
MISSÃO VISÃO VALORES
===================== */
.mvv-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
margin-top:50px;
}

.mvv-card{
background:linear-gradient(135deg,#2f9e73,#1e6b4c);
color:#fff;
padding:40px 30px;
border-radius:20px;
box-shadow:0 15px 35px rgba(0,0,0,0.1);
transition:0.3s;
text-align:left;
}

.mvv-card:hover{
transform:translateY(-10px);
box-shadow:0 25px 50px rgba(47,158,115,0.3);
}

.mvv-icon{
font-size:36px;
margin-bottom:20px;
}

.mvv-card h3{
font-size:24px;
margin-bottom:20px;
color:#fff;
}

.mvv-card p{
color:rgba(255,255,255,0.9);
line-height:1.7;
}

.valores-lista{
list-style:none;
}

.valores-lista li{
margin-bottom:12px;
display:flex;
align-items:center;
gap:10px;
color:rgba(255,255,255,0.9);
}

.valores-lista li i{
color:#fff;
font-size:14px;
}

/* =====================
DIFERENCIAL COMPETITIVO
===================== */
.diferencial-container{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

.diferencial-texto h2{
margin-bottom:25px;
}

.diferencial-texto .destaque{
font-size:18px;
color:#1e4b3c;
font-weight:500;
margin-bottom:20px;
}

.destaque-box{
background:#e8f3ee;
padding:30px;
border-radius:15px;
margin:30px 0;
position:relative;
}

.destaque-box i{
font-size:30px;
color:#2f9e73;
opacity:0.3;
position:absolute;
top:20px;
left:20px;
}

.destaque-box p{
font-size:18px;
font-style:italic;
margin-left:30px;
}

.diferencial-itens{
display:flex;
flex-direction:column;
gap:25px;
}

.dif-item{
display:flex;
gap:15px;
}

.dif-item i{
font-size:28px;
color:#2f9e73;
flex-shrink:0;
}

.dif-item h4{
font-size:18px;
margin-bottom:5px;
color:#1e4b3c;
}

.dif-item p{
color:#5a6f69;
}

.diferencial-img img{
width:100%;
border-radius:20px;
box-shadow:0 25px 50px -12px rgba(0,0,0,0.25);
}

/* =====================
SERVIÇOS ESPECIALIZADOS
===================== */
.subtitle{
text-align:center;
font-size:18px;
color:#5a6f69;
margin-bottom:50px;
}

.servicos-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

.servico-card{
background:#fff;
padding:35px 25px;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,0.05);
transition:0.3s;
border:1px solid rgba(47,158,115,0.1);
}

.servico-card:hover{
transform:translateY(-8px);
border-color:#2f9e73;
box-shadow:0 20px 40px rgba(47,158,115,0.15);
}

.servico-icon{
width:60px;
height:60px;
background:#e8f3ee;
border-radius:15px;
display:flex;
align-items:center;
justify-content:center;
margin-bottom:20px;
}

.servico-icon i{
font-size:28px;
color:#2f9e73;
}

.servico-card h3{
font-size:20px;
margin-bottom:15px;
color:#1e4b3c;
}

.servico-card p{
color:#5a6f69;
font-size:15px;
line-height:1.7;
}

/* =====================
STATS
===================== */
.stats{
display:flex;
gap:30px;
margin-top:50px;
}

.stat-card{
background:#fff;
padding:40px 30px;
border-radius:20px;
box-shadow:0 15px 35px rgba(0,0,0,0.05);
flex:1;
text-align:center;
transition:0.3s;
border-bottom:4px solid transparent;
}

.stat-card:hover{
transform:translateY(-10px);
border-bottom-color:#2f9e73;
}

.stat-card i{
font-size:40px;
color:#2f9e73;
margin-bottom:20px;
}

.stat-card h3{
font-size:42px;
margin-bottom:10px;
color:#1e4b3c;
}

.stat-card p{
font-size:18px;
font-weight:500;
color:#2d3e3a;
margin-bottom:5px;
}

.stat-card small{
color:#7a8f89;
}

/* =====================
CTA
===================== */
.cta{
background:linear-gradient(135deg,#1a4b3a,#2f9e73);
color:#fff;
text-align:center;
padding:100px 0;
position:relative;
overflow:hidden;
margin-bottom:0; /* Garante que não tenha margem inferior */
}

.cta:before{
content:'';
position:absolute;
top:-30%;
left:-30%;
width:200%;
height:200%;
background:rgba(255,255,255,0.05);
transform:rotate(35deg);
}

.cta .container{
position:relative;
z-index:2;
}

.cta h2{
font-size:42px;
margin-bottom:20px;
color:#fff;
}

.cta h2:after{
background:#fff;
}

.cta p{
font-size:18px;
margin-bottom:30px;
opacity:0.95;
max-width:600px;
margin-left:auto;
margin-right:auto;
text-align:center; /* Mantido centralizado */
}

.btn{
background:#fff;
color:#1e4b3c;
padding:16px 40px;
border-radius:50px;
text-decoration:none;
font-weight:600;
display:inline-flex;
align-items:center;
gap:10px;
font-size:18px;
transition:0.3s;
border:2px solid transparent;
}

.btn:hover{
background:transparent;
color:#fff;
border-color:#fff;
transform:scale(1.05);
}

.btn i{
font-size:22px;
}

/* =====================
FOOTER (igual ao index)
===================== */
.footer {
    background: #1f2e2a;
    color: #fff;
    padding-top: 60px;
    margin-top: 0; /* Remove a margem superior que criava a linha branca */
}

.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;
    text-align: justify; /* Textos do footer justificados */
}

.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;
}

/* =====================
ANIMAÇÃO
===================== */
.reveal{
opacity:0;
transform:translateY(40px);
transition:0.8s ease;
}

.reveal.active{
opacity:1;
transform:translateY(0);
}

/* =====================
RESPONSIVIDADE
===================== */
@media(max-width:1000px){
.servicos-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:900px){
.menu-toggle{
display:block;
}

nav{
position:fixed;
top:0;
right:-320px;
width:300px;
height:100vh;
background:#fff;
flex-direction:column;
padding:100px 30px;
gap:25px;
box-shadow:-5px 0 30px rgba(0,0,0,0.2);
transition:0.3s;
z-index:2000;
}

nav.active{
right:0;
}

nav a{
font-size:18px;
color:#2f9e73;
}

nav a:after{
display:none;
}

.grid-2, .diferencial-container{
grid-template-columns:1fr;
gap:40px;
}

.mvv-grid{
grid-template-columns:1fr;
}

.hero-sobre h1{
font-size:36px;
}

.hero-stats{
gap:30px;
}

.cta h2{
font-size:32px;
}

.footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
}

.footer-col p {
    text-align: center; /* Mobile: centralizado para melhor leitura */
}
}

@media(max-width:600px){
.section{
padding:70px 0;
}

.hero-stats{
flex-direction:column;
gap:20px;
}

.servicos-grid{
grid-template-columns:1fr;
}

.stats{
flex-direction:column;
}

h2{
font-size:28px;
}

.hero-sobre h1{
font-size:28px;
}

.cta h2{
font-size:26px;
}

p, .sobre-texto p, .diferencial-texto p, .servico-card p, .mvv-card p {
    text-align: left; /* Mobile: alinhado à esquerda */
}
}

nav.active ~ header,
header:has(~ nav.active) {
    box-shadow: none !important;
}

nav.active ~ .menu-overlay {
    z-index: 2000;
}

nav.active + * header,
body:has(nav.active) header {
    box-shadow: none !important;
}

header {
    z-index: 3000;
}
.menu-toggle {
    position: relative;
    z-index: 3100;
}

/* =====================
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;
    }
}

/* =====================
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;
    text-align: center; /* Mantido centralizado */
}

.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;
}
/* =====================
BOTÃO ACESSAR SISTEMA NA NAVEGAÇÃO
===================== */
.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;
    }
}