* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f4f5f7;
    color: #222;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ============ BOTAO DO WHATSAPP =========== */


.whatsapp-button{
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-button:hover{
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* animação pulsando */
.whatsapp-button::after{
    content:'';
    position:absolute;
    width:60px;
    height:60px;
    border-radius:50%;
    background:#25D366;
    animation:pulse 2s infinite;
    z-index:-1;
}

@keyframes pulse{
    0%{transform:scale(1);opacity:0.6;}
    70%{transform:scale(1.6);opacity:0;}
    100%{opacity:0;}
}

/* ================= HEADER ================= */

header {
    background-color: #1E7F4F; /* Verde institucional */
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4); /* Linha mais fina */
    padding: 4px;
    background-color: transparent;
}

.brand-text h1 {
    color: white;
    font-size: 18px;
}

.brand-text span {
    font-size: 12px;
    color: #e0f2e9;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    opacity: 0.8;
}

/* ================= HERO MATRIX ================= */

 .hero {
    position: relative;
    height: 100vh;
    background-color: black;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

#matrixCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.hero p {
    margin-bottom: 30px;
    font-size: 18px;
}

.btn-primary {
    background-color: #1E7F4F;
    color: white;
    padding: 12px 35px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #145a37;
}

/* ================= ABOUT ================= */

.about {
    padding: 80px 0;
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about img {
    width: 100%;
    border-radius: 6px;
}

/* ================= SERVICES ================= */

.services {
    padding: 80px 0;
    background-color: #f0f7f3;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #1E7F4F;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-top: 4px solid #1E7F4F;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* ================= CLIENTES ================ */

.clients{
padding:80px 0;
background:#f8f8f8;
text-align:center;
overflow:hidden;
}

.clients h2{
font-size:32px;
margin-bottom:50px;
}

.logo-carousel{
overflow:hidden;
position:relative;
width:100%;
}

.logo-track{
display:flex;
width:calc(250px * 16);
animation:scroll 40s linear infinite;
}

.logo-track img{
width:160px;
margin:0 40px;
filter:grayscale(100%);
opacity:0.8;
transition:0.3s;
}

.logo-track img:hover{
filter:none;
opacity:1;
transform:scale(1.1);
}

@keyframes scroll{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}

/* ================= CONTACT ================= */

.contact {
    padding: 80px 0;
    background-color: white;
}

.contact h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1E7F4F;
}

.contact form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input,
.contact textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact input:focus,
.contact textarea:focus {
    border-color: #1E7F4F;
    outline: none;
}

/* ================= FOOTER ================= */

footer {
    background-color: #145a37;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* ================= RESPONSIVO ================= */

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }
}

/* ================= CONTACT SECTION ================= */

.contact {
    padding: 100px 0;
    background-color: #0a2819;
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    margin-bottom: 20px;
    color: #1E7F4F;
}

.contact-info p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-logo {
    width: 90px;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 4px;
}

.contact-form h3 {
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: none;
    border-radius: 4px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 8px #1E7F4F;
}

/* RESPONSIVO */

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ================= MOBILE ================= */

@media (max-width: 768px){

/* CONTAINER */

.container{
width:92%;
}

/* HEADER */

.header-content{
flex-direction:column;
gap:15px;
text-align:center;
}

.brand{
justify-content:center;
}

nav ul{
flex-direction:column;
gap:12px;
}

/* HERO */

.hero{
height:auto;
padding:120px 20px;
}

.hero h2{
font-size:26px;
line-height:1.3;
}

.hero p{
font-size:16px;
}

/* BOTÃO */

.btn-primary{
padding:12px 28px;
font-size:15px;
}

/* ABOUT */

.about{
padding:60px 0;
}

.about-grid{
grid-template-columns:1fr;
gap:30px;
}

.about-text{
text-align:center;
}

/* SERVICES */

.services{
padding:60px 0;
}

.services h2{
font-size:26px;
}

.service-grid{
grid-template-columns:1fr;
gap:25px;
}

.service-card{
padding:25px;
}

/* CLIENTES */

.clients{
padding:60px 0;
}

.clients h2{
font-size:26px;
}

.logo-track img{
width:110px;
margin:0 20px;
}

/* CONTATO */

.contact{
padding:60px 0;
}

.contact-grid{
grid-template-columns:1fr;
gap:40px;
text-align:center;
}

.contact-logo{
width:80px;
}

.contact-form form{
width:100%;
}

/* WHATSAPP */

.whatsapp-button{
width:55px;
height:55px;
bottom:20px;
right:20px;
}

.whatsapp-button::after{
width:55px;
height:55px;
}

}

/* ================= HEADER FIXO ================= */

header{
position:sticky;
top:0;
z-index:999;
transition:all 0.3s ease;
}

header.scrolled{
background:#145a37;
box-shadow:0 4px 15px rgba(0,0,0,0.2);
}

/* ================= MENU MOBILE ================= */

.menu-toggle{
display:none;
font-size:28px;
color:white;
cursor:pointer;
}

@media (max-width:768px){

nav{
display:none;
width:100%;
}

nav.active{
display:block;
}

nav ul{
flex-direction:column;
background:#1E7F4F;
padding:20px;
border-radius:6px;
}

.menu-toggle{
display:block;
}

}

/* ================= HERO MELHORADO ================= */

.hero-content{
animation:fadeUp 1.2s ease;
}

@keyframes fadeUp{

from{
opacity:0;
transform:translateY(40px);
}

to{
opacity:1;
transform:translateY(0);
}

}

/* ================= BOTÃO ================= */

.btn-primary{
font-size:16px;
letter-spacing:0.5px;
}

.btn-primary:hover{
transform:translateY(-2px);
box-shadow:0 6px 15px rgba(0,0,0,0.2);
}

/* ================= CARDS SERVIÇOS ================= */

.service-card{
transition:all 0.35s ease;
}

.service-card:hover{
transform:translateY(-8px);
box-shadow:0 15px 35px rgba(0,0,0,0.1);
}

/* ================= ANIMAÇÃO SEÇÕES ================= */

.reveal{
opacity:0;
transform:translateY(40px);
transition:all 0.8s ease;
}

.reveal.active{
opacity:1;
transform:translateY(0);
}

/* ================= IMAGENS RESPONSIVAS ================= */

img{
max-width:100%;
height:auto;
}

/* ================= SCROLL SUAVE ================= */

html{
scroll-behavior:smooth;
}