/* ===== Fonte moderna ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  background: #f4f6f9;
  color: #333;
}

/* ===== Header ===== */
header {
  background: linear-gradient(90deg, #002f4b, #004d7a);
  color: white;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

header .logo {
  height: 90px;
  display: block;
  margin: 0 auto 0.8rem auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding-bottom: 0.3rem;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #ffcc00;
}

nav a.active {
  border-bottom: 3px solid #ffcc00;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #004d7a;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #555;
}

.hero img {
  max-width: 200px;
  margin-top: 1rem;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ===== Produtos ===== */
.produtos {
  padding: 2rem;
  text-align: center;
}

.produtos h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #004d7a;
}

.galeria {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 30px 0;
}

.galeria img {
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.6s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Efeito no hover: giro + zoom + sombra */
.galeria img:hover {
  transform: rotate(15deg) scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

/* ===== Formulários ===== */
form {
  max-width: 800px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

form fieldset {
  border: 2px solid #004d7a;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  background: #f9fbfd;
}

form legend {
  font-weight: 600;
  color: #004d7a;
  padding: 0 0.5rem;
}

form label {
  font-weight: 600;
  color: #333;
  display: block;
  margin-top: 0.8rem;
}

form input,
form textarea,
form select {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font: inherit;
  width: 100%;
  margin-top: 0.3rem;
  transition: border 0.3s, box-shadow 0.3s;
}

form input:focus,
form textarea:focus,
form select:focus {
  border-color: #004d7a;
  box-shadow: 0 0 6px rgba(0,77,122,0.3);
  outline: none;
}

form button {
  background: #004d7a;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.9rem;
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s;
}

form button:hover {
  background: #006699;
  transform: scale(1.03);
}

/* Upload elegante */
input[type="file"] {
  display: none;
}

.upload-label {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  background-color: #004d7a;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
  margin-top: 0.5rem;
}

.upload-label:hover {
  background-color: #006699;
}

/* ===== Tabela da Receita ===== */
form table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

form table th,
form table td {
  border: 1px solid #ccc;
  padding: 0.6rem;
  text-align: center;
}

/* ===== Rodapé ===== */
footer {
  background: #002f4b;
  color: white;
  text-align: center;
  padding: 1.2rem;
  font-size: 0.9rem;
  margin-top: 3rem;
}

/* ===== Botões Sociais ===== */
.social-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-buttons a {
  padding: 12px 18px;
  border-radius: 50px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}

.social-buttons a:hover {
  transform: scale(1.08);
}

.whats-btn {
  background-color: #25D366;
}

.insta-btn {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* ===== Responsivo ===== */
@media (max-width: 768px) {
  header {
    padding: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .hero {
    margin: 2rem 1rem;
    padding: 1.5rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero img {
    max-width: 150px;
  }

  .galeria img {
    width: 100%;
    max-width: 280px;
  }

  .produtos {
    padding: 1rem;
  }

  form {
    padding: 1rem;
  }

  footer {
    padding: 1rem;
    font-size: 0.8rem;
  }

  .social-buttons {
    bottom: 10px;
    right: 10px;
  }
}
