body {
  background: #f4ecd8; /* papel antigo */
  color: #2b2b2b;
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
  padding-top: 60px;
  padding-bottom: 60px;
}

.container {
  max-width: 520px;
  margin: auto;
  padding: 80px 20px 40px;
  text-align: left;
}

/* TÍTULO */

h1 {
  font-size: 34px;
  margin-bottom: 10px;
  color: #6b1f1f; /* bordô */
  font-weight: normal;
}

.subtitle {
  color: #8a7a5a;
  font-size: 14px;
  margin-bottom: 20px;
}

.description {
  font-size: 15px;
  color: #5a4e3a;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* LINKS */

.links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.links a {
  text-decoration: none;
  color: #2b2b2b;
  padding: 16px;
  border-radius: 12px;
  background: #fffaf0;
  border: 1px solid #e0d6c2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: 0.2s;
  width: 100%;
}

.links a span {
  font-size: 12px;
  color: #7a6a4f;
  margin-top: 4px;
}

.links a:hover {
  background: #f0e6cf;
  transform: translateY(-2px);
}

/* BARRAS SUPERIOR E INFERIOR */

.topbar,
.footer {
  position: fixed;
  left: 0;
  right: 0;
  background: #1a1a1a;
  color: #bbb;
  font-size: 12px;
  padding: 14px 20px;
}

.topbar {
  top: 0;
}

.footer {
  bottom: 0;
}

.topbar-inner,
.footer-inner {
  max-width: 520px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.brand {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.topbar-links a,
.footer-links a {
  color: #bbb;
  text-decoration: none;
}

.topbar-links a:hover,
.footer-links a:hover {
  color: #fff;
}

.sep {
  margin: 0 8px;
  color: #666;
}

/* MODAL */

[hidden] {
  display: none !important;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10;
}

.modal {
  background: #fffaf0;
  color: #2b2b2b;
  max-width: 480px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 28px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal h2 {
  color: #6b1f1f;
  font-weight: normal;
  font-size: 22px;
  margin: 0 0 12px;
}

.modal p {
  font-size: 14px;
  line-height: 1.6;
  color: #5a4e3a;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 18px;
  color: #8a7a5a;
  cursor: pointer;
}

.modal-close:hover {
  color: #6b1f1f;
}

/* FORMULÁRIO DE CONTATO */

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#contact-form label {
  font-size: 12px;
  color: #7a6a4f;
}

#contact-form input,
#contact-form textarea {
  font-family: inherit;
  font-size: 14px;
  color: #2b2b2b;
  background: #fff;
  border: 1px solid #e0d6c2;
  border-radius: 8px;
  padding: 10px 12px;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #6b1f1f;
}

#contact-form button {
  margin-top: 6px;
  background: #6b1f1f;
  color: #fffaf0;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}

#contact-form button:hover {
  background: #5a1a1a;
}

#contact-form button:disabled {
  background: #8a7a5a;
  cursor: wait;
}

#contact-form #retry-btn {
  background: transparent;
  color: #6b1f1f;
  border: 1px solid #6b1f1f;
}

#contact-form #retry-btn:hover {
  background: #f0e6cf;
}

#contact-form .honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}

.form-status {
  font-size: 13px;
  margin: 4px 0 0;
}

/* TELAS PEQUENAS */

@media (max-width: 480px) {
  .container {
    padding: 60px 16px 32px;
  }

  h1 {
    font-size: 28px;
  }

  .topbar,
  .footer {
    padding: 12px 16px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 6px;
  }

  .modal {
    padding: 24px 18px;
  }
}
