html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
  background-color: #f6f5f0;
  color: #333;
}

/* Cabeçalho */
header {
  background-color: #33691e;
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  height: 80px;
}
nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
nav a:hover { text-decoration: underline; }

.logo-container img { 
    height: 180px; /* Tamanho mais adequado */
    width: auto; /* Mantém a proporção */
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05); /* Efeito sutil ao passar o mouse */
}

/* Seções */
section { padding: 60px 20px; scroll-margin-top: 80px; }
.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #2e7d32;
}
.section-text { text-align: center; max-width: 800px; margin: 0 auto; }

/* Produto destaque */
.product {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.product img {
  max-width: 400px; width: 100%; border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.product-description {
  flex: 1; padding: 20px;
  background: url('https://images.unsplash.com/photo-1508873696983-2dfd5898f376?auto=format&fit=crop&w=800&q=60') center/cover;
  color: white; border-radius: 10px; min-height: 300px;
  box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.5);
  display: flex; flex-direction: column; justify-content: center;
}
.product-description:hover {
  box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.4);
}
.saiba-mais-btn {
  margin-top: 20px;
  align-self: flex-start;
  background-color: #c5e1a5;
  color: #1b5e20;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
}
.saiba-mais-btn:hover { background: #aed581; color: #0f3d0f; }

/* Detalhes do produto */
.content-block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
}
.content-block.reverse { flex-direction: row-reverse; }
.content-block img, .content-block video {
  max-width: 600px; width: 100%; border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.text {
  flex: 1; min-width: 300px; background: #e0e0e0;
  padding: 20px; border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.text h2 { font-size: 28px; color: #2e7d32; margin-bottom: 15px; }
.text p { font-size: 18px; line-height: 1.6; }

/* Depoimentos */
.testimonials {
  background: #fff; border-radius: 10px; max-width: 800px;
  margin: 0 auto; padding: 40px; box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.testimonial-item { margin-bottom: 20px; font-style: italic; }

/* Contato */
.contact form {
  max-width: 600px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 15px;
}
.contact textarea, .contact button {
  padding: 12px; border-radius: 8px; border: none;
}
.contact button {
  background: #237a29; color: white; font-weight: bold;
  cursor: pointer; transition: 0.3s;
}
.contact button:hover { background: #1b5e20; }

/* Rodapé */
footer {
  background: #1b5e20; color: white;
  text-align: center; padding: 30px 20px; margin-top: 40px;
}
.social-icons i { margin: 0 10px; font-size: 20px; transition: 0.3s; }
.social-icons i:hover { color: #c5e1a5; }

/* Responsivo */
@media (max-width: 768px) {
  .product, .content-block { flex-direction: column; }
}

/* Remove espaços extras do body */
body {
  background-color: #f6f5f0;
  color: #333;
  margin: 0; /* garante que não tenha margem branca */
  padding: 0;
}

/* Banner */
.banner {
  width: 100%;
  margin: 0;
  padding: 0;
}

.banner img {
  width: 100%;
  height: auto;   /* ajusta a proporção */
  display: block; /* tira espaço embaixo da img */
}

/* Adicione ao CSS */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
    
    nav {
        margin-top: 15px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    nav a {
        margin: 5px;
        font-size: 14px;
    }
}

/* Adicione ao CSS */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading suave para imagens */
img {
    transition: opacity 0.3s ease;
}

img[src] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

.contact input, .contact textarea {
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

.contact input:focus, .contact textarea:focus {
    border-color: #2e7d32;
    outline: none;
}