:root {
  --bg-main: #f8f8f8;
  --bg-soft: #ffffff;  
  --border: #e5e5e5;  
  --text-main: #000;
  --text-muted: rgb(68, 68, 68);
  --accent: rgb(0, 0, 0);
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }


 /* ---------- NAVEGADOR ---------- */
  header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header strong {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.4px;
}

nav a {
  margin-left: 32px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

nav a:hover {
  color: var(--text-main);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo img {
  height: 28px;
}

.logo strong {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.4px;
}

    /* ---------- HEADER ---------- */
    .contact-header {
      text-align: center;
      padding: 40px 20px 30px;
      max-width: 1200px;
      margin: auto;
    }

    .contact-header h1 {
      font-size: 2.4rem;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 5px;
    }

    .contact-header p {
      font-size: 1.05rem;
      color: var(--text-muted);
      margin-bottom: 0px;
    }

    .contact-header a {
      color: var(--accent);
      text-decoration: none;
      font-weight: 500;
    }

    /* ---------- FORM SECTION ---------- */
    .contact-section {
      background: var(--bg-light);
      padding: 0px 0px 80px;
    }

    .contact-form {
      max-width: 560px;
      margin: auto;
    }

    .contact-form input:not([type="checkbox"]),
    .contact-form textarea {
      width: 100%;
      padding: 14px 16px;
      margin-bottom: 10px;
      border: 1px solid var(--border);
      border-radius: 4px;
      font-size: 0.95rem;
    }

    .contact-form textarea {
      min-height: 100px;
      resize: vertical;
    }

    .privacy {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 10px;
    }

    .privacy input {
      margin-top: 0px;
    }

    .privacy a {
      color: var(--accent);
      text-decoration: none;
    }

    .contact-form button {
      width: 100%;
      padding: 14px;
      background: var(--accent);
      color: #fff;
      border: none;
      border-radius: 4px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: opacity 0.2s ease;
    }

    .contact-form button:hover {
      opacity: 0.9;
    }



/* ================= AUTH MODAL ================= */

.auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.auth-box {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-box h3 {
  font-size: 1.6rem;
  font-weight: 700;
}

.auth-box input {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}

.auth-box input:focus {
  outline: none;
  border-color: var(--accent);
}

.auth-buttons button {
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #000;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.auth-buttons button:hover {
  opacity: 0.85;
}

.auth-toggle-text {
  text-align: center;
  font-size: 0.95rem;
  margin-top: 8px;
}

.register-pill {
  background: #00c896;
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 6px;
}

.close-btn {
  background: transparent;
  border: none;
  color: #666;
  margin-top: 10px;
  cursor: pointer;
  text-align: center;
}

/* ================= FOOTER ================= */
.footer { width: 100%; font-size: 0.9rem; }

.footer-top {
  background: #2f3a44;
  color: #eaeaea;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-nav a {
  color: #d6dbe0;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-nav a:hover { opacity: 0.7; }

.footer-tagline {
  font-size: 0.8rem;
  color: #8a9ba8;
  margin: 0;
}

.footer-email {
  font-size: 0.82rem;
  color: #00c896;
  text-decoration: none;
}

.footer-email:hover { text-decoration: underline; }

.footer-bottom {
  background: #f5f5f5;
  padding: 24px 20px;
  border-top: 1px solid #ddd;
}

.footer-legal {
  max-width: 1200px;
  margin: auto;
}

.footer-legal .copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.footer-legal .legal-text p {
  font-size: 0.78rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 12px;
  text-align: justify;
}

/* ================= MOBILE FIXES ================= */

@media (max-width: 768px) {

  nav {
    display: none;
  }

  header {
    padding: 14px 16px;
  }

  .contact-header h1 {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 0 16px;
  }

  .privacy {
    align-items: center;
  }

  .footer-top { padding: 28px 16px; }
  .footer-nav { gap: 14px; }
  .footer-bottom { padding: 24px 16px; }

  body {
    font-size: 14px;
  }
}

/* AUTH MODAL SMALL SCREENS */
@media (max-width: 480px) {
  .auth-box {
    padding: 24px;
  }
}
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.auth-box {
  background: #f5f5f5;
  padding: 30px;
  border-radius: 20px;
  width: 320px;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.auth-box h3 {
  margin-bottom: 20px;
  text-align: left;
}

.auth-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
  margin-bottom: 10px;
}

.auth-actions button {
  background: #00c896;
  color: #000;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.forgot-link {
  font-size: 13px;
  color: #777;
  cursor: pointer;
}

.forgot-link:hover {
  text-decoration: underline;
  color: black;
}

.auth-toggle-text {
  margin-top: 15px;
  font-size: 14px;
}

.register-pill {
  background: black;
  color: white;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  margin-left: 5px;
}

.close-btn {
  margin-top: 15px;
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
}
.recover-btn {
  width: 100%;
  background: black;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  margin-top: 10px;
  cursor: pointer;
}

/* ================= CONTACT SUCCESS POPUP ================= */

.contact-success-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-success-overlay.contact-success-visible {
  opacity: 1;
}

.contact-success-card {
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}

.contact-success-overlay.contact-success-visible .contact-success-card {
  transform: translateY(0) scale(1);
}

.contact-success-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #00c896;
  color: #fff;
  font-size: 2rem;
  line-height: 64px;
  margin: 0 auto 24px;
}

.contact-success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.contact-success-body {
  font-size: 1rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 28px;
}

.contact-success-close {
  display: inline-block;
  background: #00c896;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 36px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.contact-success-close:hover {
  opacity: 0.85;
}