@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #000000, #2c3e50);
  color: #fff;
  min-height: 100vh;
}

header {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #1a1a1a, #2e2e2e);
  border-bottom: 5px solid #d4af37;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.logo-container {
  margin-bottom: 20px;
}

.logo {
  max-width: 180px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  border: 3px solid #d4af37;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

h1 {
  font-size: 34px;
  margin: 15px 0 0;
  color: #d4af37;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

header p {
  margin: 8px 0 0;
  color: #ccc;
  font-weight: 500;
  font-size: 16px;
}

.container {
  max-width: 700px;
  margin: 40px auto;
  background: #1e1e1e;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  padding: 30px;
  animation: fadeIn 0.5s ease-in-out;
}

.section-title {
  color: #f1c40f;
  margin-top: 25px;
  margin-bottom: 15px;
  border-bottom: 2px solid #f1c40f;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

label {
  font-weight: 600;
  display: block;
  margin-top: 15px;
  color: #f1c40f;
  display: flex;
  align-items: center;
  gap: 5px;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border-radius: 10px;
  border: 1px solid #555;
  background: #2b2b2b;
  color: #fff;
  font-size: 16px;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.7);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

h2 {
  text-align: left;
  color: #f1c40f;
  font-size: 20px;
}

.sabores {
  margin-top: 20px;
}

.sabores div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  padding: 10px;
  background: #2b2b2b;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.sabores div:hover {
  background: #333;
  transform: translateX(5px);
}

.sabores span {
  color: #fff;
  font-weight: 500;
}

.sabores input {
  width: 80px;
  text-align: center;
  background: #1e1e1e;
  border: 1px solid #555;
  margin-top: 0;
}

button {
  width: 100%;
  border: none;
  padding: 15px;
  font-size: 18px;
  color: white;
  border-radius: 12px;
  margin-top: 25px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
  letter-spacing: 1px;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37, #b8860b);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b8860b, #8b7500);
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #2980b9, #1f628f);
  transform: scale(1.03);
}

.btn-success {
  background: linear-gradient(135deg, #27ae60, #229954);
}

.btn-success:hover {
  background: linear-gradient(135deg, #229954, #1e7e44);
  transform: scale(1.03);
}

#resumo {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

#resumo h3 {
  text-align: center;
  color: #f1c40f;
  margin-bottom: 20px;
  font-size: 26px;
  border-bottom: 2px solid #f1c40f;
  padding-bottom: 10px;
}

#conteudoResumo {
  background: #2b2b2b;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

#conteudoResumo p {
  margin: 12px 0;
  line-height: 1.6;
  font-size: 16px;
}

#conteudoResumo strong {
  color: #f1c40f;
  font-weight: 600;
}

#conteudoResumo h4 {
  color: #f1c40f;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 18px;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  background: #1e1e1e;
  margin: 6px 0;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 500;
  color: #f8f8f8;
  border-left: 3px solid #d4af37;
}

.action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
}

.action-buttons button:last-child {
  grid-column: 1 / -1;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #ccc;
  margin-top: 30px;
  margin-bottom: 20px;
}

footer span {
  color: #d4af37;
  font-weight: 600;
}

.icon {
  font-style: normal;
}

/* Estilos para impressão */
@media print {
  body {
    background: white;
    color: black;
  }

  header {
    background: white;
    color: black;
    border-bottom: 3px solid #d4af37;
  }

  h1 {
    color: #d4af37;
  }

  .container {
    box-shadow: none;
    background: white;
    color: black;
  }

  #formulario {
    display: none !important;
  }

  #resumo {
    display: block !important;
  }

  .action-buttons {
    display: none !important;
  }

  #conteudoResumo {
    background: white;
    color: black;
  }

  #conteudoResumo strong {
    color: #000;
  }

  li {
    background: #f5f5f5;
    color: black;
  }

  footer {
    color: #666;
  }
}

/* Animações */
@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .container {
    margin: 20px;
    padding: 20px;
  }

  h1 {
    font-size: 26px;
  }

  .logo {
    max-width: 140px;
  }

  .sabores div {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .sabores input {
    width: 100%;
  }

  .action-buttons {
    grid-template-columns: 1fr;
  }

  .action-buttons button:last-child {
    grid-column: 1;
  }
}
