/* RESET BÁSICO */
/* ===========================
   RESET E BASE
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff8f0;
  color: #333;
  line-height: 1.6;
}

/* ===========================
   TOPO E MENU
=========================== */
.banner-topo {
  position: relative;
}

.banner-topo img {
  width: 100%;
  height: auto;
  display: block;
}

.menu-imagem {
  position: absolute;
  top: 20px;
  width: 100%;
}

.link-menu {
  position: absolute;
  top: 0;
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1em;
  padding: 5px 10px;
  cursor: pointer;
  transition: color 0.3s;
}

.link-menu:hover {
  color: #ffd700;
}

.link-menu:focus {
  outline: 2px dashed #ffd700;
  outline-offset: 4px;
}

/* ===========================
   SOBRE NÓS
=========================== */
.sobre {
  padding: 60px 30px;
  background-color: #fff;
}

.sobre h2,
#titulo-parceiro,
#titulo-fornecedores,
#titulo-beneficios,
.contato h2,
.produtos h2,
.galeria-cards h2,
.regioes h2 {
  font-size: 2.4em;
  color: #c62828;
  text-align: center;
  margin-bottom: 40px;
}

.sobre-conteudo {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.sobre-texto {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  font-size: 1.1em;
}

.sobre-imagem img {
  max-width: 700px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.destaque-sobre {
  font-size: 36px;
  font-weight: bold;
  font-family: 'Segoe UI', sans-serif;
  color: #2c2c2c;
  text-align: center;
  margin: 30px 0;
  letter-spacing: 1px;
}

/* ===========================
   PRODUTOS
=========================== */
.produtos {
  background-color: #fff8dc;
  padding: 60px 20px;
  text-align: center;
}

.cards-produtos {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 280px;
  height: auto;
  min-height: 460px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  min-height: 280px;
}

.card h3 {
  font-size: 1.3em;
  color: #c62828;
  margin-bottom: 10px;
}

.card p {
  font-size: 1em;
  color: #555;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
 

/* ===========================
   GALERIA DIA A DIA
=========================== */
/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.galeria-cards h2,
#titulo-cards {
  font-size: 2.4em;
  color: #c62828;
  text-align: center;
  margin-bottom: 40px;
}

.cards-dia-dia {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  overflow-x: hidden;
}

.card-dia {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 300px;
  height: 400px;              /* altura fixa para uniformizar todos os cards */
  text-align: center;
  padding: 0;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.card-dia:hover {
  transform: scale(1.05);
}

/* Títulos e textos */
.card-dia h3 {
  color: #c62828;
  font-size: 1.2em;
  margin: 15px 0 10px 0;
}

.card-dia p {
  font-size: 0.95em;
  color: #555;
  padding: 0 15px 15px 15px;
}

/* Cards da seção Nosso dia a dia */
.card-dia {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 300px;
  height: 400px;              /* altura fixa igual aos produtos */
  text-align: center;
  padding: 0;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.card-dia img {
  width: 100%;
  height: 250px;              /* mesma altura das imagens dos produtos */
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  display: block;
}

.card-dia h3 {
  color: #c62828;
  font-size: 1.2em;
  margin: 15px 0 10px 0;
}

.card-dia p {
  font-size: 0.95em;
  color: #555;
  padding: 0 15px 15px 15px;
}

/* Tablet */
@media (max-width: 768px) {
  .card-dia {
    width: 45%;
    height: 350px;            /* mesma altura dos produtos no tablet */
  }

  .card-dia img {
    height: 220px;            /* mesma altura das imagens no tablet */
  }
}

/* Mobile */
@media (max-width: 480px) {
  .card-dia {
    width: 100%;
    max-width: 95%;
    height: 320px;            /* mesma altura dos produtos no celular */
  }

  .card-dia img {
    height: 200px;            /* mesma altura das imagens no celular */
  }
}
/* Reset básico para evitar scroll lateral no mobile */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Container das seções: reduzir espaçamento no mobile */
@media (max-width: 480px) {
  .cards-produtos,
  .cards-dia-dia {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 12px;
  }

  /* Cards: ocupar toda a largura, sem ultrapassar a viewport */
  .card-produtos,
  .card-dia {
    width: 100%;
    max-width: 95%;
    /* Evita “quebra”: altura automática para acomodar títulos/textos sem estourar */
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
  }

  /* Imagens: responsivas e uniformes */
  .card-produtos img,
  .card-dia img {
    width: 100%;
    height: 200px;       /* altura estável no celular */
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
  }

  /* Tipografia: respiro sem empurrar a largura */
  .card-produtos h3,
  .card-dia h3 {
    font-size: 1.1em;
    margin: 12px 0 8px 0;
    padding: 0 12px;
    word-wrap: break-word;
  }

  .card-produtos p,
  .card-dia p {
    font-size: 0.95em;
    color: #555;
    padding: 0 12px 12px 12px;
    word-wrap: break-word;
  }
}

/* Garantia extra contra regras antigas que possam estourar a largura */
.card-dia img,
.card-produtos img {
  max-width: 100%;
}

/* Evita que qualquer elemento cause overflow horizontal */
* {
  box-sizing: border-box;
}
/* Ajuste exclusivo para o card Melhores Fornecedores */
.card-dia.fornecedores img {
  width: 100%;               /* ocupa toda a largura do card */
  height: auto;              /* altura automática para manter proporção */
  max-height: 250px;         /* limite para não estourar o card */
  object-fit: contain;       /* mostra a imagem inteira */
  background-color: #f5f5f5; /* fundo neutro para preencher espaços */
  border-radius: 10px 10px 0 0;
  display: block;
}

/* Tablet (até 768px) */
@media (max-width: 768px) {
  .card-dia.fornecedores img {
    max-height: 220px;
  }
}

/* Mobile (até 480px) */
@media (max-width: 480px) {
  .card-dia.fornecedores img {
    max-height: 200px;
  }
}


/* ===========================
   VÍDEOS
=========================== */
/* Container de vídeos */
.videos-dia-dia {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
}

/* Card de vídeo no desktop */
.card-video {
  flex: 0 1 48%;
  max-width: 48%;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  padding: 20px;
  box-sizing: border-box;
}

/* Vídeo fixo no desktop */
.card-video video {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
}

/* Layout responsivo para mobile */
@media screen and (max-width: 768px) {
  .videos-dia-dia {
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
  }

  .card-video {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px;
    box-sizing: border-box;
  }

  .card-video video {
    width: 100% !important;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
  }
}

.logos-fornecedores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 20px;
  text-align: center;
}

.logos-fornecedores img {
  max-width: 240px;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
/* ===========================
   BENEFÍCIOS DO OVO
=========================== */
.beneficios {
  padding: 60px 30px;
  background-color: #fff;
  text-align: center;
}

.infograficos {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.infograficos img {
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ===========================
   CONTATO
=========================== */
.contato {
  padding: 60px 30px;
  background-color: #fff8f0;
  text-align: center;
}

.contato-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

form {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

form button {
  background-color: #c62828;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background-color: #8b0000;
}

.info-contato {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  text-align: left;
  font-size: 1.1em;
  line-height: 1.8;
}

.info-contato a {
  color: #c62828;
  text-decoration: none;
}

.mapa {
  margin-top: 20px;
}

/* ===========================
   RODAPÉ
=========================== */
.rodape {
  background-color: #c62828;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.rodape-container {
  max-width: 1200px;
  margin: 0 auto;
}

.redes-sociais {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-bottom: 20px;
}

.redes-sociais a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.redes-sociais a:hover {
  color: #ffd700;
}

.redes-sociais img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.redes-sociais img:hover {
  transform: scale(1.2);
}

.mascote-rodape {
  max-width: 120px;
  margin: 20px auto;
  display: block;
}

/* ===========================
   WHATSAPP FIXO
=========================== */
.whatsapp-fixo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  padding: 15px;
  border-radius: 50%;
  font-size: 24px;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.whatsapp-fixo img {
  width: 40px;
  height: 40px;
  display: block;
}

.whatsapp-fixo:hover {
  transform: scale(1.1);
}

/* ===========================
   REGIÕES ATENDIDAS
=========================== */
.regioes {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
  scroll-margin-top: 100px;
}

.regioes h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #c62828;
}

.lista-cidades {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.lista-cidades li {
  background-color: #f9dc4e;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-size: 1.1em;
  color: #100f0c;
  text-align: center;
}

.texto-parceiro {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1em;
  line-height: 1.6;
  color: #444;
}

.texto-parceiro p {
  margin-bottom: 20px;
}
.botao-parceiro {
  display: inline-block;
  margin-top: 20px;
  background-color: #c62828;
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.3s ease;
}

.botao-parceiro:hover {
  background-color: #8b0000;
  transform: scale(1.05);
@media (max-width: 768px) {
  .menu-imagem {
    display: none; /* esconde o menu tradicional */
  }

  .menu-mobile {
    display: block; /* mostra o menu hambúrguer */
  }
}
  
}
@media screen and (max-width: 768px) {
  .videos-dia-dia {
    display: block; /* força empilhamento */
    padding: 20px 10px;
  }

  .card-video {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px;
    padding: 10px;
    box-sizing: border-box;
  }

  .card-video video {
    width: 100% !important;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
  }
}
@media screen and (max-width: 768px) {
  h1, h2, h3, h4 {
    font-size: 1.5em;
    line-height: 1.3;
    word-break: break-word;
  }

  p {
    font-size: 1em;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 10px;
  }

  .texto-parceiro {
    padding: 0 10px;
    font-size: 1em;
    line-height: 1.6;
  }

  .card-video {
    padding: 10px;
  }

  .card-video h2, .card-video p {
    font-size: 1em;
    line-height: 1.5;
    padding: 0 10px;
  }
}
.menu-mobile {
  display: none; /* escondido no desktop */
  position: relative;
  background-color: #ffe066;
  padding: 10px;
  text-align: right;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 2em;
  color: white;
  cursor: pointer;
}
.menu-links {
  display: none;
  flex-direction: column;
  background-color: #000000cc;
  position: relative;
  width: 100%;
  z-index: 999;
  padding: 20px 0;
}
.menu-links a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 1.2em;
  text-align: center;
}

.menu-links {
  margin-bottom: 20px; /* afasta os links do conteúdo abaixo */
}



.menu-links a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 1.2em;
  text-align: center;
}

/* Mostrar o menu apenas no mobile */
@media screen and (max-width: 768px) {
  .menu-mobile {
    display: block;
  }

  .menu-desktop {
    display: none; /* se você tiver um menu tradicional, ele será escondido no mobile */
  }
}
@media screen and (max-width: 768px) {
  .menu-imagem,
  .link-menu {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .card {
    width: 100%;
    padding: 20px;
    min-height: auto;
  }

  .card img {
    height: 200px;
  }

  .card h3 {
    font-size: 1.1em;
  }

  .card p {
    font-size: 0.95em;
  }
}
@media (max-width: 768px) {
  .card img {
    width: 100%;
    height: 200px; /* ajuste se quiser mais alto */
    object-fit: cover;
    border-radius: 10px;
  }
}
@media (max-width: 480px) {
  .card-dia.fornecedores img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* muda de contain → cover */
  }
}