/* Variáveis de cores */
:root {
  --primary-color: #c4520c;
  --accent-color: #f4f4f4;
  --white-color: #ffffff;
  --gray-dark: #333;
  --gray-light: #fffaf0;
  --border-color: #d1d1d1;
  --hover-bg-color: #ffb84d;
  --button-hover-bg: #ff9966;
  --shadow-3: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--gray-light);
  color: var(--gray-dark);
}

/* Header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-color);
  padding: 20px 15%;
  color: var(--white-color);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.main-header .logo {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-list a {
  color: var(--white-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-list a:hover {
  color: var(--accent-color);
}

.main-content {
  padding-top: 100px;
  background-color: var(--gray-light);
}

/* Seção Sobre */
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: bold;
}

.sobre-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: justify;
  background-color: var(--white-color);
  border-radius: 10px;
  box-shadow: var(--shadow-3);
}

.sobre-section h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.sobre-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.sobre-section strong {
  color: var(--primary-color);
}

/* Seção Contato */
.contact {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-3);
  margin-bottom: 40px;
}

.contact header {
  text-align: center;
  margin-bottom: 30px;
}

.contact .article-title {
  font-size: 2rem;
  color: var(--primary-color);
}

.mapa-box {
  position: relative;
  width: 100%;
  height: 400px;
  margin-bottom: 30px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid #444;
}

.mapa-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(1);
  display: block;
}

.contact-form {
  margin-bottom: 10px;
}

.form-title {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.input-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.form-input {
  color: var(--gray-dark);
  font-size: 1rem;
  font-weight: 400;
  padding: 13px 20px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  outline: none;
}

.form-input::placeholder {
  font-weight: 500;
}

.form-input:focus {
  border-color: var(--primary-color);
}

textarea.form-input {
  min-height: 100px;
  height: 120px;
  max-height: 200px;
  resize: vertical;
  margin-bottom: 25px;
}

textarea.form-input::-webkit-resizer {
  display: none;
}

.form-btn {
  position: relative;
  width: 100%;
  background: var(--primary-color);
  color: var(--white-color);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 14px;
  font-size: 1rem;
  text-transform: capitalize;
  box-shadow: var(--shadow-3);
  z-index: 1;
  transition: background 0.3s, transform 0.2s;
}

.form-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--accent-color);
  border-radius: inherit;
  z-index: -1;
}

.form-btn ion-icon {
  font-size: 16px;
}

.form-btn:hover {
  background: var(--hover-bg-color);
  transform: scale(1.05);
}

.form-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-btn:disabled:hover {
  background: var(--primary-color);
}

main {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  color: #333;
}

/* Seção Sobre */
#sobre {
  margin-bottom: 60px;
  text-align: center;
}

#sobre h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #321110;
}

#sobre p {
  font-size: 1.1rem;
  line-height: 1.6;
  background-color: #f7f4eb;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Seção Contato */
#contato h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  text-align: center;
  color: #321110;
}

form#form-contato {
  background-color: #f7f4eb;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

/* Botão de Enviar */
.btn-enviar {
  background-color: #955643;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-enviar:hover {
  background-color: #7a3d30;
}

/* Responsivo */
@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    padding: 20px;
  }

  .nav-list {
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }

  .sobre-section {
    padding: 0 10px;
  }

  .contact {
    padding: 20px;
  }
}