/* ============================ */
/* TOPO - Cabeçalho e Navegação */
/* ============================ */

.top-nav {
  background-color: #d7d6d6;
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
  font-family: 'Open Sans', sans-serif;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.logo-text-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 20px;
}

.logo-cell {
  flex-shrink: 0;
}

.logo {
  max-height: 140px;
  width: auto;
  display: block;
}

.text-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-cell h1 {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: #6B8E23;
  margin: 0;
}

.text-cell p {
  font-size: 2rem;
  color: #555555;
  margin: 5px 0 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: #888;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #6B8E23;
}

/* =========================== */
/* CARROSSEL - Slides e Botões */
/* =========================== */

.carousel-wrapper {
  margin-top: 0;
  padding-top: 0;
  margin: 40px 0;

  margin-bottom: 30px;
}

.carousel-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel {
  position: relative;
  width: 100%;
  height: 600px;  
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #000;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2; /*antes estava 1*/
}

.carousel-slide video {
  position: relative;
  z-index: 1;
}

.carousel-slide img,
.carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  padding: 10px;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  margin-top: 1px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #6B8E23;
}

/* ========================= */
/* CONTEÚDO PRINCIPAL        */
/* ========================= */

.body {
  background-color: #f5f5f5;
  color: #333333;
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  text-align: justify;
}
.descricao-mercado {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  font-family: Verdana, sans-serif;
  color: DarkSlateGray;
  font-size: 1.3rem;
  line-height: 1.8;
  text-align: justify;
  box-shadow: 0 4px 10px #5a5a5a;
  background-color: #eeeded;
  }

.texto-centralizado {
  max-width: 1250px;
  margin: 0 auto 40px auto;
  padding: 30px 40px;
  text-align: justify;
  font-size: 1.3rem;
  line-height: 1.8;
  color: DarkSlateGray;
  background-color: #eeeded;
}

.whatsapp-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 84px;
  gap: 40px;
}

.whatsapp-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.whatsapp-icon {
  width: 400px;
  height: auto;
  margin-bottom: 10px;
}

.whatsapp-info {
  font-size: 1.4rem;
  color: #555;
  font-family: Verdana;
  margin: 0;
}

.whatsapp-right {
  text-align: left;
}

.whatsapp-button {
  font-size: 24px;
  padding: 10px 25px;
  background-color: #25D366;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 10px;
  margin-right: 10px;
}

.whatsapp-text {
  font-size: 1.5rem;
  color: DarkSlateGray;
  font-family: Verdana;
  margin-top: 10px;  
}

table {
  margin: 40px auto;
  border-collapse: separate;
  border-spacing: 20px;
}

td img {
  width: 100%;
  max-width: 650px;
  height: auto;
  border-radius: 8px;
}

/* ========================= */
/* FORMULÁRIO DE CADASTRO    */
/* ========================= */

  .formulario {
  flex: 1 1 50% !important;
  padding: 20px !important;
  font-family: Verdana, sans-serif !important;
  font-size: 1.1rem !important;
  color: DarkSlateGray !important;
  background-color: #fafafa;
}

.fieldset-estilizado {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  background-color: #d7d6d6;
  color: #2b6070;
}

.fieldset-estilizado legend h4 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

input.campo-curto {
  width: 80px;
}

.container-duas-colunas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; /* Espaço entre as colunas */
}

.card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  border-radius: 10px;
}

.alert-info {
  background-color: #e3f2fd;
  border: 1px solid #90caf9;
  color: #0d47a1;
  border-radius: 8px;
  padding: 15px;
}

.btn-primary {
  background-color: #2b6070;
  border: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

button:hover,
.btn-primary:hover {
  background-color: #1f4a56; 
}

input[type="range"] {
  -webkit-appearance: none;  /* remove o estilo nativo que o navegador aplica e permite que seja estilizado manualmente (no caso o range que não aceitava a cor) */
  width: 100%;
  height: 8px;
  background: #d7d6d6;
  border-radius: 5px;
  outline: none;
  transition: background 0.3s ease;
}

/* Estilo da trilha (track) */
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  background: #6a8d99;
  border-radius: 5px;
}

/* Estilo do botão (thumb) */
input[type="range"]::-webkit-slider-thumb {   /* esses pseudo- elementos estilizam partes específicas do range slider */
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #2b6070;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -6px; /* Alinha o thumb com a trilha */
  box-shadow: 0 0 2px rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: #1f4a56;
}

/* Firefox */
input[type="range"]::-moz-range-track {
  height: 8px;
  background: #2b6070;
  border-radius: 5px;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #2b6070;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0,0,0,0.3);
}

/* ========================= */
/* FOOTER                    */
/* ========================= */

.footer-nav {
  background-color: #d7d6d6;
  /* harmoniza com o topo */
  padding: 30px 0;
  font-size: 0.9rem;
  font-family: 'Open Sans', sans-serif;
  text-shadow: 0.1px 0.1px #5a5a5a;
  color: #333;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.navfooter-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-section {
  flex: 1 1 220px;
  min-width: 200px;
}

.footer-links a {
  display: block;
  margin-bottom: 6px;
  color: #2b6070;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-info p,
.footer-aut p {
  margin: 4px 0;
}

.footer-social a img {
  width: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .footer-social {
    text-align: center;
    margin-top: 10px;
  }
}

/* ========================= */
/* RESPONSIVIDADE            */
/* ========================= */

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .logo-area h1 {
    font-size: 1.5rem;
  }
}

/* ========================= */
/* USO COMUM                 */
/* ========================= */

.titulo {
  font-size: 3rem;
  font-family: Arial, sans-serif;
  color: DarkSlateGray;
  text-align: center;
  margin: 20px 0 40px 0;
  font-weight: bold;
  padding: 40px 60px; /* espaçamento interno */
}

.texto {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 30px;
  font-size: 1.4rem;
  line-height: 1.8;
  color: DarkSlateGray;
  font-family: Verdana, sans-serif;
  text-align: justify;
}

.conection {
  box-shadow: 0 4px 10px #5a5a5a;
  background-color: #eeeded;
  font-size: 1.4rem;
  line-height: 1.8;
  color: DarkSlateGray;
  font-family: Verdana, sans-serif;
  text-align: justify;    
}

a:focus,       /* acessibilidade para links e botões */
button:focus {
  outline: 2px solid #6B8E23;
  outline-offset: 2px;
}


/* ========================= */
/* PAGINA START & STORY      */
/* ========================= */

.faixa-visual {
  width: 100%;
  overflow: hidden;
}

.imagem-topo {
  width: 100%;
  height: 300px; /* altura da faixa visual */
  object-fit: cover;
  display: block;
}

/* ========================= */
/* PAGINA FRESH & GREEN      */
/* ========================= */

.card-img-top {
  height: 250px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.card-title {
  font-size: 1.2rem;
  color: #555;
}

.card-text {
  margin-top: 10px;
}

/* ========================= */
/* PAGINA ORDER & DELIVERY   */
/* ========================= */

.bloco-entrega {
  width: 100%;
  padding: 60px 0;
  background-color: #f9f9f9;
}

.entrega-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  align-items: center;
  gap: 40px;
}

.entrega-texto {
  flex: 1 1 50%;
  padding: 20px;
  font-family: Verdana, sans-serif;
  font-size: 1.3rem;
  line-height: 1.8;
  color: DarkSlateGray;
}

.entrega-texto h2 {
  color: #6B8E23;
  font-size: 2rem;
  margin-bottom: 20px;
}

.entrega-imagem {
  flex: 1 1 50%;
}

.entrega-imagem img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .entrega-container {
    flex-direction: column;
  }

  .entrega-texto {
    font-size: 1.1rem;
    text-align: center;
  }

  .entrega-imagem img {
    max-height: 250px;
  }
}

.destaque-retirada, .destaque-delivery {
  background: linear-gradient(to right, #f9c74f, #f9844a);
  color: white;
  text-align: center;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.btn-retirada, .btn-delivery {
  background-color: #43aa8b;
  color: white;
  padding: 12px 30px;
  font-size: 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
}

.btn-retirada:hover, .btn-delivery:hover {
  background-color: #2f7f6f;
}

.order-buttons {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to right, #f9c74f, #f9844a);
  color: white;
}

.titulo-destaque {
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: bold;
}

.botoes-entrega {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.botao-opcao {
  display: inline-block;
  width: 280px;
  padding: 30px 20px;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: white;
  color: #333;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.botao-opcao span {
  display: block;
  font-size: 1rem;
  font-weight: normal;
  margin-top: 10px;
  color: #555;
}

.botao-opcao:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.retirada {
  border-left: 8px solid #43aa8b;
}

.delivery {
  border-left: 8px solid #577590;
}
