:root {
  --bg-light: #f1f1f1;
  --text-dark: #222;
  --input-bg: #fff;
  --input-border: #999;
  --primary-start: #67ccf6;
  --primary-end: #a03de6;
}

/* --- layout full screen (desktop/tablet) --- */
html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}
body {
  display: flex;
  flex-direction: column;
}

/* ============ LOGO + MENU ============ */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 0 20px;
}
.logo-link {
  display: block;
  height: 80px;
  margin-right: 40px;
}
.logo-img {
  display: block;
  max-height: 100%;
  height: auto;
  width: auto;
}
.menu-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  align-items: center;
}
.menu-list li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* header fixo de 80px */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  z-index: 1000;
}

/* main ocupa o espaço restante */
main {
  margin-top: 80px;
  flex: 1;
  overflow: hidden;
}

/* contato Section centralizada */
.contact-section {
  background: var(--bg-light);
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

/* --- form original (desktop) --- */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 20px auto 0;
}
.contact-form label {
  display: block;
  font-weight: bold;
  font-size: .85rem;
  margin-bottom: 4px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.95rem;
  margin-bottom: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form ::placeholder {
  color: #888;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-start);
  box-shadow: 0 0 0 3px rgba(103,204,246,0.3);
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D'10'%20height%3D'6'%20viewBox%3D'0%200%2010%206'%20xmlns%3D'http%3A//www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M0%200l5%206%205-6z'%20fill%3D'%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 6px;
  padding-right: 40px;
}
/* botão */
.form-column:nth-child(2) .submit-btn {
  width: 100%;
  max-width: 320px;
  padding: 14px 30px;
  background: linear-gradient(90deg, var(--primary-start), var(--primary-end));
  border: none;
  border-radius: 30px;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: opacity .3s;
  margin-left: auto;
}
.form-column:nth-child(2) .submit-btn:hover {
  opacity: .9;
}

/* --- footer --- */
.contact-footer {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  background: #f1f1f1;
  color: #222;
  padding: 60px 40px 20px;
  justify-content: center;
  gap: 60px;
}
.contact-footer .footer-column {
  flex: 0 1 auto;
  text-align: center;
}
.contact-footer .footer-column h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: bold;
}
.contact-footer .footer-column p {
  font-size: .9rem;
  margin-bottom: 4px;
}
.contact-footer .footer-logo img {
  max-width: 160px;
  height: auto;
}

/* WhatsApp chat */
.whatsapp-chat {
  position: fixed; bottom: 20px; right: 20px;
  display: flex; align-items: center;
}
.chat-bubble {
  background: #fff; padding: 10px 15px;
  border-radius: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  margin-right: 10px; font-size: .9rem;
}
.whatsapp-icon img {
  width: 32px; height: 32px;
}


/* ======== Mobile (≤480px) ======== */
@media (max-width: 480px) {
  /* libera scroll da página inteira */
  html, body {
    overflow-y: auto;
  }
  main {
    overflow: visible;
  }

  /* empilha em 1 coluna */
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 15px auto 0;
    max-width: 90%;
  }

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

  .contact-form label {
    font-size: .8rem;
    margin-bottom: 6px;
  }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 6px 8px;
    font-size: .9rem;
    margin-bottom: 10px;
  }
  .contact-form textarea {
    min-height: 100px;
  }
  .form-column:nth-child(2) .submit-btn {
    max-width: 100%;
    padding: 12px 20px;
    font-size: .9rem;
  }

  .contact-footer {
    padding: 20px 10px 10px;
    gap: 20px;
  }
  .contact-footer .footer-column {
    flex: 1 1 100%;
    margin-bottom: 15px;
  }
  .menu-list {
    gap: 0.8rem;
  }
  .menu-list li a {
    font-size: 0.8rem;
  }
}
