


/* HEADER */
header {
  background-color: #00a859;
  color: #fff;
  padding: 0;
  display: flex;
  justify-content: center;
  text-align: center;
}

.logo-nome {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}



.texto-header h1,
.texto-header p {
  font-family: Arial, Helvetica, sans-serif, cursive;
  font-size: 24px;
  margin: 1px;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #00a859;
}

.texto-header h1 {
  width: 0;
  animation: typing 2s steps(20, end) forwards, blink-caret 0.75s step-end infinite;
}

.texto-header p {
  width: 0;
  font-size: 16px;
  animation: typing 2s steps(30, end) forwards;
  animation-delay: 2.2s;
  border-right: 2px solid #00a859;
  animation-fill-mode: forwards;
  animation-timing-function: steps(30, end);
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #00a859;
  }
}

/* RESPONSIVO HEADER */
@media (max-width: 600px) {
  header img {
    width: 200px;
    height: 200px;
  }
  .texto-header h1 {
    font-size: 20px;
  }
  .texto-header p {
    font-size: 14px;
  }
}

/* NAV */
nav {
  background: #00a859;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s;
  white-space: nowrap;
  
}

nav a:hover {
  background-color: #50d698;
}

/* Estilo base dos slides */
.slider .slide {
  display: none;
  width: 100%;
  height: auto;
}

/* Slide ativo no mobile */
.slider .slide.ativo {
  display: block;
  border-radius: 10px;
  height: 400px;
}

/* Miniaturas no mobile */
.thumbnails {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px;
}

.thumbnails img.thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: opacity 0.3s, border-color 0.3s;
}

.thumbnails img.thumb:hover {
  opacity: 0.9;
}

.thumbnails img.thumb.ativo {
  opacity: 1;
  border-color: #00a859;
}

/* === RESPONSIVO === */

/* MOBILE: mostra o slide principal e miniaturas pequenas */
@media (max-width: 767px) {
  .slider .slides-wrapper {
    display: block;
  }

  .thumbnails img.thumb {
    width: 80px;
    height: 80px;
  }
}

/* DESKTOP: esconde o slide principal e mostra thumbs grandes */
@media (min-width: 768px) {
  .slider .slides-wrapper {
    display: none !important;
  }

  .thumbnails {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
  }

  .thumbnails img.thumb {
    width: 400px !important;
    height: auto !important;
    opacity: 1;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: transform 0.3s;
    object-fit: cover;
    cursor: pointer;
  }

  .thumbnails img.thumb:hover {
    transform: scale(1.03);
    border-color: #00a859;
  }
}






/* PRODUCTS */
.products {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  max-width: 1740px;
  margin: auto;
}

.product {
  background: #fff;
  border: 2px solid #00a859;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
}

.product img {
  max-width: 200px;
  height: auto;
  border-radius: 50px;
  margin-bottom: 10px;
}

.product h3 {
  color: #00a859;
  margin-top: 10px;
}

.product p {
  margin: 10px 0;
}

.product .ver-mais {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #00a859;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}



/* CTA */
.cta {
  text-align: center;
  padding: 30px 20px;
}

.cta a {
  display: inline-block;
  padding: 12px 24px;
  background-color: #00a859;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

/* HERO */
.hero {
  padding: 30px 20px;
  text-align: center;
  color: #00a859;
}

.hero h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.hero b {
  display: block;
  font-size: 16px;
  max-width: 200px;
  margin: 0 auto;
  line-height: 1.6;
}

/* BOTÕES FLUTUANTES */
.floating-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  z-index: 9999;
}



.icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}

.icon img {
  width: 40px;
  height: 40px;
}



/* Balão com texto */
.with-label .label {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  background: white;
  color: black;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

/* Rabinho do balão */
.with-label .label::after {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 6px solid white;
}

/* Mostrar balão ao passar o mouse */
.with-label:hover .label,
.with-label:focus-within .label {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

/* Efeito de sombra no ícone quando hover */
.float-button:hover .icon {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Foco visível */
.float-button:focus-visible {
  outline: 2px solid #d6c250;
  outline-offset: 2px;
}

/* FOOTER */
footer {
  background-color: #00a859;
  color: white;
  text-align: center;
  padding: 15px;
}

/* Thumbnails */
.thumbnails {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px;
}

.thumbnails img.thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: opacity 0.3s, border-color 0.3s;
}

.thumbnails img.thumb:hover {
  opacity: 0.9;
}

.thumbnails img.thumb.ativo {
  opacity: 1;
  border-color: #00a859;
}

/* Ajuste geral */
@media (max-width: 600px) {
  .thumbnails img.thumb {
    width: 60px;
    height: 60px;
  }
}

/* Botão flutuante */
.floating-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}



/* O balão (texto) começa invisível */
.float-button .label {
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
  margin-top: -50px;
}

/* Classe para ativar o balão */
.floating-container.scroll-active .float-button .label {
  opacity: 1;
  transform: translateX(0);
}


/* Texto do balão */
.float-button .label {
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500;
}

/* Quando rolar a tela, exibe o texto suavemente */
.floating-container.scroll-active .float-button .label {
  opacity: 1;
  transform: translateX(0);
}

/* Layout padrão (mobile first) */
.logo-nome {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

/* Layout para desktop */
@media (min-width: 1024px) {
  .logo-nome {
    flex-direction: row; /* logo na lateral */
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    gap: 40px; /* mais espaço entre logo e texto */
    
  }

  .logo-nome img {
    max-width: 200px; /* ajuste do tamanho da logo */
    height: auto;
    
  }

  .texto-header {
    max-width: 60px; /* limita a largura do texto */
  }
}

/* Cabeçalho geral */
header {
  background: #009f46; /* cor de fundo que já está no seu print */
  padding: 20px;
}

/* Container logo + texto */
.logo-nome {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

 nav {
      background-color: #333;
      padding: 10px 20px;
      position: relative;
    }

    .menu-toggle {
      background: none;
      border: none;
      color: white;
      font-size: 28px;
      cursor: pointer;
      display: block;
    }

    nav a {
      display: block;
      color: white;
      text-decoration: none;
      font-weight: bold;
      padding: 12px 20px;
      border-top: 1px solid #444;
      transition: background 0.3s;
    }

    nav a:hover {
      background-color: #555;
    }

    .menu {
      display: none;
      flex-direction: column;
      background-color: #444;
      position: absolute;
      top: 50px;
      left: 0;
      width: 100%;
      z-index: 1;
    }

    .menu.open {
      display: flex;
    }

    /* Layout para telas maiores */
    @media (min-width: 768px) {
      .menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: none;
        width: auto;
      }

      nav a {
        padding: 10px 15px;
        border: none;
      }

      .menu-toggle {
        display: none;
      }
    }

nav a:hover {
  color: #ffe600; /* cor de destaque no hover */
}

/* Layout Desktop */
@media (min-width: 1024px) {
  header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* logo/texto de um lado e menu do outro */
    padding: 20px 50px;
  }

  .logo-nome {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 500px;
  }

  nav {
    margin-top: 0; /* remove espaçamento em desktop */
  }

  .texto-header {
    max-width: 500px;
  }
}

 * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    body {
      font-family: Arial, Helvetica, sans-serif, cursive;
      background-color: #fff;
      color: #00a859;
      line-height: 1.6;
    }
    header {
      background-color: #00a859;
      color: #fff;
      padding: 0px 0;
      display: flex;
      justify-content: center;
      text-align: center;
    }
    .logo-nome {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 10px;
    }
    header img {
      width: 300px;
      height: 300px;
      margin-bottom: -50px;
    }
    .texto-header h1,
    .texto-header p {
      font-family: Arial, Helvetica, sans-serif, cursive;
      font-size: 24px;
      margin: 1px;
      white-space: nowrap;
      overflow: hidden;
      border-right: 2px;
    }
    .texto-header h1 {
      width: 0;
      animation: typing 2s steps(20, end) forwards;
    }
    .texto-header p {
      width: 0;
      font-size: 16px;
      animation: typing 2s steps(30, end) forwards;
      animation-delay: 2.2s;
    }
    .typing {
      display: inline-block;
    }
    @keyframes typing {
      from { width: 0 }
      to { width: 100% }
    }

    h1 {
      color: #fff;
      margin-bottom: 20px;
      text-align: center;
    }
    nav {
      background: #00a859;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      padding: 10px;
    }
    nav a {
      color: #fff;
      text-decoration: none;
      font-weight: bold;
      padding: 8px 12px;
      border-radius: 5px;
      transition: background-color 0.3s;
      white-space: nowrap;
    }
    nav a:hover {
      background-color: #50d698;
    }
    .products {
      display: flex;
      flex-direction: column;
      gap: 20px;
      padding: 20px;
    }
    .product {
      background: #fff;
      border: 2px solid #00a859;
      border-radius: 10px;
      padding: 15px;
      text-align: center;
    }
    .product img {
      max-width: 300px;
      height: auto;
      border-radius: 10px;
      margin-bottom: 10px;
    }
    .product h3 {
      color: #00a859;
      margin-top: 10px;
    }
    .botoes-produto {
      display: flex;
      gap: 10px;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 10px;
    }
    .comprar {
      background-color: #25d366;
      color: white;
      padding: 10px 20px;
      border-radius: 8px;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.3s;
    }
    .comprar:hover {
      background-color: #1da851;
    }
    .saber-mais {
      background-color: #eda000;
      color: white;
      padding: 10px 20px;
      border-color: 0;
      border-radius: 8px ;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.3s;
    }
    .saber-mais:hover {
      background-color: #e4c279;
    }
    .voltar {
      display: block;
      text-align: center;
      margin: 30px auto 0;
      width: fit-content;
      padding: 12px 24px;
      background-color: #00a859;
      color: white;
      border-radius: 5px;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.3s;
    }
    .voltar:hover {
      background-color: #007b59;
    }
    @media (min-width: 768px) {
      .products {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
      }
      .product {
        flex: 1 1 calc(22% - 20px);
        max-width: calc(22% - 20px);
        margin: 10px;
      }
    }
    footer {
      background-color: #00a859;
      color: white;
      text-align: center;
      padding: 15px;
    }
    .modal {
  display: none; /* começa oculto */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}


.modal-content {
  background-color: white;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  border-radius: 10px;
  position: relative;
  color: #333;
}
.modal-content {
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.fechar {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  font-weight: bold;
  color: #00a859;
}




 .btn-topo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: transform 0.2s ease;
}

.btn-topo:hover {
  transform: scale(1.1);
}

/* Layout padrão (mobile first) */
.logo-nome {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

/* Layout para desktop */
@media (min-width: 1024px) {
  .logo-nome {
    flex-direction: row; /* logo na lateral */
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    gap: 40px; /* mais espaço entre logo e texto */
    
  }

  .logo-nome img {
    max-width: 200px; /* ajuste do tamanho da logo */
    height: auto;
    
  }

  .texto-header {
    max-width: 60px; /* limita a largura do texto */
  }
}


/* Cabeçalho geral */
header {
  background: #009f46; /* cor de fundo que já está no seu print */
  padding: 20px;
}

/* Container logo + texto */
.logo-nome {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

nav {
      background-color: #333;
      padding: 10px 20px;
      position: relative;
    }

    .menu-toggle {
      background: none;
      border: none;
      color: white;
      font-size: 28px;
      cursor: pointer;
      display: block;
    }

    nav a {
      display: block;
      color: white;
      text-decoration: none;
      font-weight: bold;
      padding: 12px 20px;
      border-top: 1px solid #444;
      transition: background 0.3s;
    }

    nav a:hover {
      background-color: #555;
    }

    .menu {
      display: none;
      flex-direction: column;
      background-color: #444;
      position: absolute;
      top: 50px;
      left: 0;
      width: 100%;
      z-index: 1;
    }

    .menu.open {
      display: flex;
    }

    /* Layout para telas maiores */
    @media (min-width: 768px) {
      .menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: none;
        width: auto;
      }

      nav a {
        padding: 10px 15px;
        border: none;
      }

      .menu-toggle {
        display: none;
      }
    }


/* Layout Desktop */
@media (min-width: 1024px) {
  header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* logo/texto de um lado e menu do outro */
    padding: 20px 50px;
  }

  .logo-nome {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 500px;
  }

  nav {
    margin-top: 0; /* remove espaçamento em desktop */
  }

  .texto-header {
    max-width: 500px;
  }
}

/* Estilo para a seção de notícias */
.news {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.news h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 2em;
  margin-bottom: 40px;
  color: #2c5f2d;
}

/* Container flexível para os artigos */
.news-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.news-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Cada notícia */
.news-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 20px;
  width: 300px;
  transition: transform 0.3s ease;
  text-align: left;
}

.news-item:hover {
  transform: translateY(-5px);
}

.news-item h3 {
  font-size: 1.3em;
  color: #1a472a;
  margin-bottom: 10px;
}

.news-item p {
  font-size: 1em;
  color: #444;
  margin-bottom: 15px;
}

.news-item a {
  display: inline-block;
  text-decoration: none;
  color: #2c7c2d;
  font-weight: bold;
  transition: color 0.3s;
}

.news-item a:hover {
  color: #1e5a1f;
}

/* Seção de Clientes */
#clientes {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

#clientes h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  color: #2e7d32; /* tom verde para tema agro */
}

/* Container responsivo */
.clients-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1500px;
  margin: 0 auto;
}

/* Cartões de cliente */
.client-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.client-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Imagem */
.client-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 16px;
}

/* Título do cliente */
.client-item h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #333333;
}

/* Descrição do cliente */
.client-item p {
  font-size: 1rem;
  line-height: 1.5;
  color: #666666;
  flex-grow: 1;
}

/* Link */
.client-item a {
  margin-top: 16px;
  display: inline-block;
  background-color: #2e7d32;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.client-item a:hover {
  background-color: #1b5e20;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  width: 100%;
  height: 100%;
}

:root{
  --accent:#009b46; /* Verde FOCO */
  --bubble-size:64px;
  --bubble-gap:12px;
}


.card{
  width:100%;
  max-width:420px;
  background:#fff;
  border-radius:16px;
  padding:20px;
  box-shadow:0 6px 20px rgba(0,0,0,0.06);
  border:4px solid rgba(60,40,30,0.06);
}

.main-image{
  width:100%;
  height:360px;
  border-radius:14px;
  overflow:hidden;
  background-position:center;
  background-size:cover;
  background-color:#f0e6d8;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
}
.main-image img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}

.bubble-track{
  display:flex;
  gap:var(--bubble-gap);
  align-items:center;
  padding:8px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
  scrollbar-width:none;
}
.bubble-track::-webkit-scrollbar{ display:none; }

button.bubble{
  flex:0 0 auto;
  width:var(--bubble-size);
  height:var(--bubble-size);
  border-radius:50%;
  background-size:cover;
  background-position:center;
  box-shadow:0 6px 12px rgba(0,0,0,0.12);
  cursor:pointer;
  outline:4px solid transparent;
  border:3px solid var(--accent); /* Borda verde FOCO */
  animation: float 3.6s ease-in-out infinite;
  padding:0;
  background-repeat:no-repeat;
  background-color:transparent;
}
button.bubble:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
.bubble:nth-child(odd){ animation-duration:3.2s; }
.bubble:nth-child(3n){ animation-duration:4s; animation-delay: .2s; }
.bubble:nth-child(4n){ animation-duration:3.8s; animation-delay: .6s; }

.bubble.active{
  box-shadow:0 12px 28px rgba(0,155,70,0.25);
  outline-color: #ffffff; /* Destaque branco */
  transform: translateY(-10px) scale(1.06);
  border-color: #ffffff; /* Borda branca quando ativa */
}

.product-title{
  font-weight:700;
  font-size:18px;
  margin-top:14px;
  margin-bottom:6px;
  color:#3a2b23;
}
.product-desc{
  font-size:14px;
  color:#5b463f;
  margin-bottom:6px;
}

@media (max-width:360px){
  :root{ --bubble-size:56px; }
  .main-image{ height:300px; }
}
