/* Reset e base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}


/* Cabeçalho da página inicial */
.topo-central {
  background-color: #4169E1;
  color: white;
  padding: 2.5em 1em 2em;
  text-align: center;
}

.topo-central {
  background-color: #4169E1;
  color: white;
  padding: 2.5em 1em 2em;
  text-align: center;
  overflow-x: hidden;
}

.logo-titulo-central {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5em;
  max-width: 100%;
}

.titulo-com-sacola {
  font-size: 2.2rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  flex-wrap: wrap;
}

.sacola-inline {
  width: 40px;
  height: auto;
}

.frase-cabecalho {
  font-size: clamp(0.6rem, 4vw, 1.2rem);
  white-space: nowrap;
  text-align: center;
  overflow: hidden;
  max-width: 100vw;
  padding: 0 1em;
  box-sizing: border-box;
}


/* Busca */
.busca-container {
  background-color: #f9f9f9;
  padding: 1em;
  text-align: center;
}

.busca-form {
  display: flex;
  gap: 0.5em;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.busca-form input[type="text"],
.busca-form button {
  font-size: 1rem;
  padding: 0.75em;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
  max-width: 300px;
}

.busca-form button {
  background-color: #4169E1;
  color: white;
  border: none;
  cursor: pointer;
  max-width: 120px;
}

.busca-form button:hover {
  background-color: #2f54c5;
}

/* Container */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2em 1em;
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin: 2em 0 1em;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Promoções */
.promocoes-slides {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
  justify-content: center;
  margin-bottom: 2em;
}

.promo-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 1em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.promo-card img {
  max-height: 180px;
  border-radius: 8px;
  margin-bottom: 0.5em;
}

/* Parceiros */
.grade-parceiros {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  margin-top: 2em;
  justify-content: center;
}

.empresa-card {
  background-color: #fff;
  padding: 1em;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.empresa-card:hover {
  transform: scale(1.03);
}

.empresa-card img {
  max-width: 180px;
  border-radius: 8px;
  margin-bottom: 0.5em;
}

/* WhatsApp flutuante */
.whatsapp-flutuante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.whatsapp-flutuante img {
  width: 50px;
  height: 50px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  border-radius: 50%;
}

/* Rodapé */
footer {
  background-color: #4169E1;
  color: white;
  text-align: center;
  padding: 1em;
  margin-top: 3em;
}

/* Página do parceiro */
.parceiro-header {
  background-color: #4169E1;
  color: white;
  padding: 2em 1em;
  text-align: center;
}

.logo-nome-horizontal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  flex-wrap: wrap;
}

.logo-nome-horizontal h1 {
  font-size: 2rem;
  margin: 0;
}

.logo-nome-horizontal img {
  width: 60px;
  height: auto;
}

.botoes {
  margin-top: 1em;
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
}

.botoes a {
  background-color: white;
  color: #4169E1;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.ramo-atuacao {
  text-align: left;
  font-size: 1.2rem;
  margin: 1em 1em 0;
  font-weight: bold;
}

.slides-veganos {
  display: flex;
  overflow: hidden;
  position: relative;
  height: 200px;
  margin: 1em auto;
  max-width: 600px;
  border-radius: 10px;
}

.slides-veganos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slides-veganos img.active {
  opacity: 1;
  position: relative;
}

.info-parceiro {
  text-align: center;
  margin: 2em 1em;
  font-size: 1rem;
}

.info-parceiro p {
  margin: 0.5em 0;
}

.botao-whatsapp {
  display: inline-block;
  margin-top: 1em;
  background-color: #25D366;
  color: white;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.voltar-topo {
  display: block;
  margin: 2em auto;
  text-align: center;
}

.voltar-topo a {
  background-color: #4169E1;
  color: white;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

/* Responsivo */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .titulo-com-sacola {
    font-size: 1.8rem;
  }

  .promocoes-slides {
    grid-template-columns: repeat(2, 1fr);
  }

  .grade-parceiros {
    grid-template-columns: repeat(2, 1fr);
  }

  .container {
    padding: 1em;
  }

  .empresa-card img {
    max-width: 100%;
  }

  .promo-card img {
    max-height: 140px;
  }

  .busca-form {
    flex-direction: column;
    gap: 0.75em;
  }

  .busca-form input[type="text"],
  .busca-form button {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .titulo-com-sacola {
    font-size: 1.6rem;
    gap: 0.3em;
  }

  .sacola-inline {
    width: 32px;
  }

  .promo-card img {
    max-height: 120px;
  }

  .grade-parceiros {
    grid-template-columns: 1fr 1fr;
    gap: 1em;
  }
}
