/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h2 {
    color: #2d5016;
    font-size: 1.8rem;
    font-weight: 700;
}

/* 1. Ajusta o contêiner para alinhar os cards lado a lado e aplica o espaçamento correto */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; /* <--- Aumente aqui se quiser mais espaço entre as caixas */
    max-width: 1200px;
    margin: 0 auto;
}

/* 2. Garante o espaçamento entre as caixas caso o navegador empilhe em telas menores */
.mvv-item {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px; /* Espaço de segurança entre blocos empilhados */
}

/* 3. Limpa a margem do último item */
.mvv-item:last-child {
    margin-bottom: 0;
}

/* Remove as linhas horizontais e ativa os marcadores de bolinha */
.mvv-values-list {
    text-align: left;
    margin-top: 15px;
    line-height: 1.8;
    list-style-type: disc !important; /* Força a exibição das bolinhas */
    padding-left: 20px;               /* Dá o espaço necessário para a bolinha aparecer */
}

.mvv-values-list li {
    border-bottom: none !important; /* Remove a linha cinza na horizontal */
    padding: 6px 0;                 /* Ajusta o espaçamento entre os itens */
}

/* ===================================================
   CARROSSEL DE LOGOS RESPONSIVO (VAI E VEM - VELOCIDADE CONSTANTE)
   =================================================== */

/* Container principal */
.carousel-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  background-color: #ffffff !important;
  padding: 30px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
}

/* Trilho que desliza */
.carousel-track {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 20px !important;
  width: max-content !important;
  /* 'linear' garante velocidade totalmente constante sem acelerar no meio */
  animation: scroll 80s linear infinite alternate !important;
  will-change: transform;
}

/* Pausa a animação ao passar o mouse ou o toque */
.carousel-track:hover {
  animation-play-state: paused !important;
}

/* Estilo dos cartões das logos */
.logo-card {
  width: 180px !important;
  height: 110px !important;
  background-color: #ffffff !important;
  border: 1px solid #eeeeee !important;
  border-radius: 12px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 12px 16px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;
  flex-shrink: 0 !important;
}

.logo-card img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Regra da animação de vai e vem */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Desloca a largura total do trilho menos a largura da tela */
    transform: translateX(calc(-100% + 100vw));
  }
}

/* ===================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   =================================================== */

/* Tablets e telas médias (até 768px) */
@media (max-width: 768px) {
  .carousel-container {
    padding: 20px 0 !important;
  }
  
  .carousel-track {
    gap: 14px !important;
    animation-duration: 90s !important;
  }

  .logo-card {
    width: 130px !important;
    height: 75px !important;
    padding: 10px !important;
    border-radius: 10px !important;
  }
}

/* Celulares (até 480px) */
@media (max-width: 480px) {
  .carousel-container {
    padding: 15px 0 !important;
  }

  .carousel-track {
    gap: 10px !important;
    animation-duration: 120s !important;
  }

  .logo-card {
    width: 110px !important;
    height: 65px !important;
    padding: 8px !important;
    border-radius: 8px !important;
  }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4a7c59;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

/* 1. Estilos para o contêiner do Logo (para alinhar a imagem e o texto) */
.nav-logo {
    display: flex; /* Habilita o Flexbox */
    align-items: center; /* Centraliza a imagem e o texto verticalmente */
    gap: 10px; /* Adiciona um espaço entre o logo e o título */
}

/* 2. Estilos para a Imagem do Logo */
.logo-img {
    height: 40px; /* Define uma altura para o logo (ajuste conforme necessário) */
    width: auto; /* Mantém a proporção da imagem */
    margin-right: 5px; /* Espaço adicional à direita, se necessário */
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
    border-radius: 2px;
}
/* Role para começar */

.scroll-indicator {
  /* Posicione o indicador onde você deseja (ex: no centro da tela) */
  position: absolute; /* ou fixed, dependendo do seu layout */
  top: 92%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.mouse-icon {
  width: 30px;
  height: 50px;
  border: 2px solid white;
  border-radius: 20px;
  margin: 0 auto 10px;
  position: relative;
  overflow: hidden; /* Importante para a bolinha */
}

.scroll-dot {
  /* A bolinha que se move */
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  
  /* Animação CSS padrão (opcional, para piscar ou mover inicialmente) */
  animation: scroll-movement 1.5s infinite;
}

/* Opcional: Animação de movimento contínuo da bolinha */
@keyframes scroll-movement {
  0% { top: 10px; opacity: 1; }
  50% { top: 30px; opacity: 0.5; }
  100% { top: 10px; opacity: 1; }
}

.scroll-text {
  color: white;
  font-family: sans-serif;
  
  cursor: pointer;
}

/* Hero Section */

#inicio {

    justify-content: center;
    align-items: center;
}
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;     /* Centraliza horizontalmente */
    align-items: center;         /* Centraliza verticalmente */
    background-image: url('../css/imagens/Fundo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    text-align: center;          /* Opcional: centraliza texto */

}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%234a7c59" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.Se {
    color: darkgoldenrod;
    
}


.hero-content {
    display: flex;
    flex-direction: column;      /* Empilha verticalmente */
    align-items: center;         /* Centraliza horizontalmente */
    justify-content: center;     /* Centraliza verticalmente */
    gap: 2rem;
}

.hero-text {
    animation: fadeInLeft 1s ease-out;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(45deg, #7bb68c, #d7f1b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* estilo geral do nav */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  position: relative;
  padding: 5px 0;
}

/* linha que aparece ao passar o mouse */
nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #1b9b5b;
  transition: width 0.7s ease; /* tempo da animação */
}

nav ul li a:hover::after {
  width: 100%; /* linha aparece */
}

/* guia ativa (página atual) */
nav ul li a.active::after {
  width: 100%;
  transition: none; /* sem animação, fica direto */
}

.hero-description {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;              /* ativa o flexbox */
    justify-content: center;    /* centraliza horizontalmente */
    align-items: center;        /* centraliza verticalmente (se tiver altura definida) */
    gap: 1rem;                  /* espaço entre os botões */
    margin-top: 20px;           /* opcional: espaçamento superior */
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #4a7c59, #2d5016);
    color: white;
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(74, 124, 89, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #4a7c59;
    border: 2px solid #4a7c59;
}

.btn-secondary:hover {
    background: #4a7c59;
    color: white;
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(74, 124, 89, 0.1), rgba(139, 195, 74, 0.1));
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ffffff;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    color: #2d5016;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #4a7c59, #8bc34a);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #4a7c59, #8bc34a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-card.featured {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
    border: 2px solid #4a7c59;
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, #4a7c59, #8bc34a);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-card h3 {
    font-size: 1.6rem;
    color: #2d5016;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4a7c59;
    margin-bottom: 1.5rem;
    text-align: center;
    background: #f8fffe;
    padding: 1rem;
    border-radius: 10px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4a7c59;
    font-weight: bold;
}
























/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: #f8fffe;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}




















/* Estilo Geral da Seção */
.mvv-section {
    padding: 80px 20px;
    background-color: #f8f8f8; /* Fundo claro para contraste, ajuste se necessário */
    color: #333; /* Cor do texto principal */
    text-align: center;
}

/* Container para Alinhamento e Layout */
.mvv-section .mkv {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Para telas maiores, exibe 3 colunas iguais */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 60px;
}

/* Estilo Individual de Cada Item (Missão, Visão, Valores) */
.mvv-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.mvv-item:hover {
    transform: translateY(-5px); /* Efeito sutil ao passar o mouse */
}

/* Títulos */
.mvv-title {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 15px;
    /* Ajuste a cor dos títulos (ex: verde da sua marca) */
    color: #4CAF50; 
}

/* Estilo da Lista de Valores */
.mvv-item.values ul {
    list-style: none; /* Remove os marcadores de lista padrão */
    padding: 0;
    text-align: left;
}

.mvv-item.values li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.mvv-item.values li:last-child {
    border-bottom: none;
}


/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    display: flex;
    flex-direction: column; /* Organiza os filhos em coluna */
    align-items: center; /* Centraliza os filhos na horizontal (incluindo .about-text) */
}

.about-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: #f8fffe;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #4a7c59;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

.about-features {
    margin-top: 2rem;
    display: flex; /* Coloca os itens lado a lado */
    justify-content: center; /* Centraliza o grupo de itens na horizontal */
    gap: 30px; /* Espaço entre os itens */
    flex-wrap: wrap; /* Garante que quebrem a linha em telas pequenas */
}

.feature {
    display: flex;
    align-items: center;
    /* margin-bottom foi removido/zerado, pois agora usamos 'gap' */
    margin-bottom: 0; 
    font-size: 1.1rem;
    color: #666;
}

.feature-icon {
    color: #4a7c59;
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 1. Estiliza a tag <a> que está dentro do botão */
.contact-form .btn-primary a {
    /* Remove o sublinhado padrão do link */
    text-decoration: none; 
    
    /* Define a cor do texto como branco */
    color: #fff; 
    
    /* Garante que o link ocupe toda a área do botão para ser clicável */
    display: block; 
    width: 100%;
    height: 100%;
    
    /* Garante que o texto fique centralizado dentro do link (se necessário) */
    line-height: 1; /* Ajuste a linha base se o texto não estiver centralizado */
    padding: 10px 0; /* Adiciona o padding que o botão costuma ter, garantindo a altura */
}

/* Opcional: Garante que o botão em si não altere a aparência do link */
.contact-form .btn-primary {
    padding: 0; /* Remove o padding do botão para que o link controle o tamanho */
    border: none;
}

/* Opcional: Efeito hover */
.contact-form .btn-primary a:hover {
    color: #fff; /* Mantém branco, caso o botão mude de cor no hover */
    text-decoration: none; /* Mantém sem sublinhado no hover */
}


/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8fffe;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    font-size: 2rem;
    margin-right: 1.5rem;
    margin-top: 0.2rem;
}

.contact-details h4 {
    color: #2d5016;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: #2d5016;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a7c59;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #292524;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #8bc34a;
}

.footer-section h3 {
    font-size: 1.5rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #8bc34a;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #4a7c59;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #8bc34a;
    transform: translateY(-3px);
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a7c59;
    color: #ccc;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll animations */
.service-card,
.gallery-item,
.stat,
.contact-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-card.animate,
.gallery-item.animate,
.stat.animate,
.contact-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design Atualizado */
@media (max-width: 480px) {
    /* Impede o transbordamento horizontal */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    .container, .nav-container {
        padding: 0 15px;
    }

    /* Menu Mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .nav-toggle.is-active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.is-active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Centralização dos Cards de Contato e Serviços */
    .services-grid, .contact-content, .about-content, .about-stats, .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-item {
        display: flex;
        flex-direction: column; /* Ícone acima do texto */
        align-items: left;    /* Centraliza horizontalmente */
        text-align: left;     /* Centraliza o texto */
        width: 100%;
        box-sizing: border-box;
        padding: 1.5rem;
    }

    .contact-item i, .contact-item img, .contact-item .icon {
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }

    /* Ajuste de Texto para não vazar */
    .contact-item p, .contact-item span {
        word-wrap: break-word;
        overflow-wrap: break-word;
        font-size: 0.95rem;
        width: 100%;
    }

    /* Centralização da Imagem (Ilustração) */
    .image-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        transform: none !important;
        width: 100%;
        margin: 2rem 0;
    }

    .image-wrapper img {
        max-width: 80%; /* Ajusta o tamanho da vassoura para não ficar gigante */
        height: auto;
    }

    /* Elementos de Texto e Botões */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title { font-size: 2rem; }
    .hero-buttons { 
        justify-content: center; 
        width: 100%;
    }

    .section-title { font-size: 1.8rem; text-align: center; }

    .contact-form {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .form-row { grid-template-columns: 1fr; }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%; /* Botão ocupa a largura no mobile */
        max-width: 300px;
    }

    .social-links { justify-content: center; }
}

/* Modos de acessibilidade permanecem os mesmos */
@media (prefers-contrast: high) {
    .hero { background: white; }
    .service-card, .contact-item { border: 2px solid #333; }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

