/* ================= RESET BÁSICO ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden; /* Previne overflow horizontal global */
  font-family: 'Inter', sans-serif;
  background-color: #040324;
  color: #ffffff;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* ================= CONTAINER GERAL ================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;

  background-color: rgba(4, 3, 36, 0.8);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  padding: 0.8rem 0; /* Padding lateral já definido no container */
}

.navbar-content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* LOGO */
.logo img {
  max-height: 64px;
  height: auto;
  display: block;
}

/* MENU */
.menu-list {
  display: flex;
  gap: 2rem;
}

.menu-list li a {
  color: #d3baff;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.4px;
}

.menu-list li a:hover {
  color: #ffffff;
  text-shadow: 0 0 6px #a874ff;
}

/* MOBILE */
.menu-toggle {
  font-size: 2rem;
  background: none;
  color: #ffffff;
  border: none;
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu-list {
    flex-direction: column;
    background-color: rgba(4, 3, 36, 0.95);
    padding: 1.5rem;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
  }

  .menu-list.open {
    display: flex;
  }
}

/* ================= CONTACTO INTRO ================= */
.contact-intro {
  background: linear-gradient(135deg, #6a00ff, #3c096c 70%);
  padding: 10rem 2rem 6rem; /* aumentei o padding superior para dar mais espaço do header */
  text-align: center;
  color: #ffffff;
  position: relative;
  margin-top: 88px; /* compensação exata do header fixo */
}

.contact-intro h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 0 12px #a874ff;
}

.contact-intro p {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #e2d9f5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ================= FORMULÁRIO ================= */
.contact-form {
  background-color: #0f0e20;
  padding: 5rem 2rem;
}

.contact-form h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-form p {
  text-align: center;
  margin-bottom: 3rem;
  color: #c5b7e3;
}

.form-grid {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #d5c4f7;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: #1a1831;
  border: 1px solid #3f3965;
  border-radius: 8px;
  color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #a46fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(164, 111, 255, 0.2);
}

.submit-btn {
  background: linear-gradient(135deg, #8f45ff, #6c00f7);
  border: none;
  padding: 1rem 2rem;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #a46fff, #8a33ff);
  transform: scale(1.03);
}

/* ================= CONTACTOS DIRETOS ================= */
.direct-contact {
  background: linear-gradient(135deg, #140c2c, #1d113c);
  padding: 5rem 2rem;
  text-align: center;
}

.direct-contact h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contact-list {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  font-size: 1.1rem;
  color: #d4c7f5;
}

.contact-list li:hover {
  transform: scale(1.02);
  color: #ffffff;
}

.contact-list a {
  color: #bb88eb;
  text-decoration: none;
  font-weight: 500;
}

.contact-list a:hover {
  color: #ffffff;
}

/* ================= FOOTER ================= */
.footer-heroico {
  background: linear-gradient(to top, #3c096c, #1e002e);
  padding: 6rem 2rem 3rem;
  color: #ffffff;
  margin-top: auto;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
}

.footer-titulo {
  font-size: 1.8rem;
  color: #e0beff;
  margin-bottom: 1rem;
}

.footer-links h4,
.footer-navegacao h4,
.footer-cta h4 {
  color: #e0beff;
  margin-bottom: 1rem;
}

.footer-links a,
.footer-navegacao a {
  color: #d4c9e2;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-navegacao a:hover {
  color: #ffffff;
}

.footer-btn {
  display: inline-block;
  background-color: #ffffff;
  color: #66009d;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.footer-btn:hover {
  background-color: #3c096c;
  color: #ffffff;
}

.footer-bottom {
  margin-top: 4rem;
  text-align: center;
  font-size: 0.95rem;
  color: #c8b9da;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  :root {
    --header-height: 100px;
  }
}

.form-sucesso {
  background-color: #d1ffe6;
  border: 1px solid #0f5132;
  padding: 1rem 1.5rem;
  margin-top: 1.5rem;
  border-radius: 8px;
  color: #0f5132;
  font-weight: 500;
}
