/*
  Paleta de cores suaves e tipografia legível
  Mobile-first, responsivo, efeitos leves de hover
*/

:root {
  --primary: #4f8a8b;
  --secondary: #fbd46d;
  --bg: #f7f7f7;
  --text: #222;
  --card: #fff;
  --border: #e0e0e0;
  --hover: #eaf6f6;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
}

header {
  background: var(--primary);
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
header .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}
header h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
}
header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: opacity 0.2s;
}
header nav a:hover {
  opacity: 0.7;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem 1rem;
}

.produtos-section h2,
.about-section h2,
.contato-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}

.produtos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.produto-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  padding: 1rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
  cursor: pointer;
}
.produto-card:hover {
  box-shadow: 0 6px 24px rgba(79,138,139,0.10);
  background: var(--hover);
  transform: translateY(-4px) scale(1.02);
}
.produto-card img {
  width: 100%;
  max-width: 180px;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}
.produto-card h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0 0.2rem 0;
  font-weight: 500;
}
.produto-card .preco {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
}

.about-section,
.contato-section {
  margin-top: 3rem;
  text-align: center;
}
.about-section p {
  font-size: 1.1rem;
  color: #666;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  background: #25d366;
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(37,211,102,0.08);
  margin-top: 1rem;
}
.whatsapp-link i {
  margin-right: 0.6rem;
  font-size: 1.3rem;
}
.whatsapp-link:hover {
  background: #1ebe5d;
}

footer {
  background: #fff;
  color: #888;
  text-align: center;
  padding: 1.2rem 0;
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

/* WhatsApp floating button */
.whatsapp-float {
  display: none;
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  box-shadow: 0 4px 16px rgba(37,211,102,0.18);
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 100;
  transition: background 0.2s, transform 0.2s;
}
.whatsapp-float i {
  margin: 0;
}
.whatsapp-float:hover {
  background: #1ebe5d;
  transform: scale(1.08);
}

@media (max-width: 900px) {
  .produtos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 700px) {
  .produtos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
  .produtos-section h2,
  .about-section h2,
  .contato-section h2 {
    font-size: 1.2rem;
  }
  .produto-card img {
    max-width: 120px;
  }
  .whatsapp-link {
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }
  .whatsapp-float {
    display: flex;
  }
}
