﻿* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #faf7f3;
  color: #292421;
}

.container {
  max-width: 1050px;
  margin: auto;
  padding: 24px;
}

.hero {
  padding: 48px 10px 28px;
}

.tag {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1.5px;
}

h1 {
  font-size: 46px;
  line-height: 1.1;
  margin: 14px 0;
  white-space: nowrap;
}

h2 {
  margin-top: 0;
}

.hero p {
  max-width: none;
  font-size: 17px;
  line-height: 1.5;
}

.card {
  background: white;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}

.destaque {
  border: 2px solid #292421;
}

label {
  display: block;
  font-weight: bold;
  margin: 18px 0 8px;
}

select,
input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  background: white;
}

button {
  width: 100%;
  margin-top: 22px;
  padding: 15px;
  border: 0;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

#calcular {
  background: #292421;
  color: white;
}

.secondary {
  background: #eee7df;
  color: #292421;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.intro {
  color: #6f6862;
  line-height: 1.5;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  font-weight: normal;
  line-height: 1.45;
}

.check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.check strong {
  font-weight: 700;
}

.dica {
  padding: 14px;
  background: #f8f4ef;
  border-radius: 10px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: #f1ebe5;
  padding: 9px 12px;
  border-radius: 999px;
}

.hidden {
  display: none;
}

@media (max-width: 700px) {

  .grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 14px;
  }

  .hero {
    padding-top: 28px;
  }

  h1 {
    font-size: 32px;
    white-space: normal;
  }

  .hero p {
    font-size: 16px;
  }

}


/* ============================================================
   RECEITAS
   ============================================================ */

.chip-button {
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.chip-button:hover {
  transform: translateY(-1px);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: white;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
}

.modal-fechar {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #292421;
  font-size: 30px;
  line-height: 1;
}

.modal-card h3 {
  margin: 24px 0 10px;
}

.modal-card ul {
  margin: 0;
  padding-left: 22px;
  line-height: 1.6;
}

.receita-rendimento {
  color: #6f6862;
  font-weight: bold;
}

.receita-preparo {
  line-height: 1.65;
  color: #403a36;
}

@media (max-width: 700px) {

  .modal {
    padding: 10px;
  }

  .modal-card {
    padding: 24px 20px;
  }

}
