:root {
  --verde-escuro: #1e3d36;
  --bege: #f0e6d0;
  --marrom: #3e1e09;
  --texto-escuro: #1a1a1a;
  --texto-claro: #fff8f0;
  --radius: 16px;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

font-family: "Lexend Deca", sans-serif;
}

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

body {
  background: var(--verde-escuro);
  color: var(--texto-escuro);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  
}

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

.topbar {
  background: var(--bege);
  border-bottom: 3px solid var(--marrom);
  box-shadow: var(--shadow);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
}

.logo {
  font-family: "Tangerine", cursive;
 font-size: 50px;
  color: var(--verde-escuro);
  letter-spacing: 1px;
}

.search-area input,
.search-area select {
  background: var(--texto-claro);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
}

.search-area input:focus {
  border-color: var(--marrom);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 40px;
}

.card {
  background: var(--bege);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-left: 6px solid var(--marrom);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 16px 18px 22px;
}

.card h3 {
  font-family: "Poiret One", sans-serif;  font-size: 20px;
  color: var(--verde-escuro);
  margin-bottom: 6px;
}

.card p.type {
  font-size: 14px;
  color: #6b6b6b;
}



.btn, .btn-outline, .btn-link {
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn {
  background: var(--marrom);
  color: white;
  padding: 10px 16px;
  border: none;
}

.btn:hover {
  background: #a8592e;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--marrom);
  color: var(--marrom);
  padding: 10px 16px;
}

.btn-outline:hover {
  background: var(--marrom);
  color: white;
}

.btn-link {
  background: none;
  color: var(--verde-escuro);
  border: none;
  text-decoration: underline;
  font-size: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 80;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-panel {
  width: 100%;
  max-width: 800px;
  background: var(--bege);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: fadeIn 0.25s ease;
  color: var(--texto-escuro);
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

.modal-top {
  display: flex;
  padding: 24px;
  gap: 20px;
  border-bottom: 2px solid var(--marrom);
  align-items: flex-start;
}

.modal-img {
  width: 160px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
}

.modal-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--verde-escuro);
}

.modal-body {
  padding: 22px 26px 30px;
}

.modal-body h3 {
  font-family: 'Playfair Display', serif;
  color: var(--marrom);
  margin-bottom: 10px;
}

.ingredientes li {
  background: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  border-radius: 8px;
  padding: 8px 10px;
}

.footer {
  text-align: center;
  padding: 30px 0;
  font-size: 14px;
  color: var(--texto-claro);
}
