/* style.css */

html {
  scroll-behavior: smooth;
}

p {
	font-size: 17px;
	line-height: 1.7em;
}

/* top logo  */
.logo-top {
  background-color: #F3DB53;
}

.logo-top-img {
  max-width: 120px;
  height: auto;
}

/* header */
.header {
  position: relative; /* para o overlay posicionar corretamente */
  background: url('./images/header-bg.webp') no-repeat center center;
  background-size: cover;
  color: white;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 15px;
  overflow: hidden;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background-color: rgba(0, 0, 0, 0.7); /* preto com 50% de opacidade */
  z-index: 1;
}

.header > div {
  position: relative;
  z-index: 2; /* texto fica acima do overlay */
}

.header h1 {
  font-size: 2.8rem;
  font-weight: bold;
  text-shadow: 4px 4px 8px rgba(0,0,0,0.9);
}

.header p {  
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.scroll-down {
  text-decoration: none;
  width: 35px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto 0;
  animation: pulse 2s infinite;
  cursor: pointer;
}

.scroll-down i {
  color: #fff;
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

/* Animação leve de pulsar o contorno */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}

/* Animação da seta descendo */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}


/* sabores */
.sabores-section {
  background-color: #f8f9fa;
}

.sabores-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* como funciona */
.info-box {
  border: 2px solid black;
  border-radius: 15px;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
}

.info-box:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.info-box i {
  color: #453526; /* verde bootstrap, pode mudar */
}

.info-box h5 {
  margin-top: 10px;
  margin-bottom: 15px;
  font-weight: 600;
}

.info-box p {
  font-size: 1rem;
  color: #333;
}

/* sabores */
.sabores-section ul li {
  font-size: 1.2rem; /* aumenta o tamanho da fonte */
  margin-bottom: 8px;
}

/* Preço */
.destaque-preco {
  background-color: #fff;
}

.destaque-preco .card {
  background-color: #fefefe;
  border: 2px solid #000;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.destaque-preco .card:hover {
  transform: scale(1.02);
}

.destaque-preco span {
  letter-spacing: -1px;
}

/* CTA */
.cta-section {
  background-color: #F3DB53;
  color: #453526;
}

.cta-section h2,
.cta-section p {
  color: #453526;
}

.cta-logo {
  max-width: 220px;
  height: auto;
}

/* Quem somos */
.rounded-circle {
  border-radius: 50% !important;
}

/* Botão flutuante do WPP */
.whatsapp-btn {
  position: fixed;
  z-index: 9999;
  right: 1rem;
  bottom: 1rem;
  background-color: #198754; /* Bootstrap success */
  transition: all 0.3s ease-in-out;
}

/* Mobile: botão retangular */
@media (max-width: 767.98px) {
  .whatsapp-btn {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
  }
}

/* Desktop: botão redondo */
@media (min-width: 768px) {
  .whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
  }
}
