:root {
  --primary: #1E40AF;
  --primary-light: #3B82F6;
  --secondary: #10B981;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --text: #1F2937;
  --danger: #EF4444;
  --success: #10B981;
  --radius: 12px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #FAFAFA;
  color: var(--text);
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo-text {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.4rem;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  color: var(--gray-800);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--gray-800);
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Container */
.container {
  max-width: 800px;
  margin: 2rem auto;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  overflow: hidden;
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 2.5rem 2rem;
  text-align: center;
}

.header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Content */
.content {
  padding: 2.5rem 2rem;
}

.intro {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--gray-800);
}

/* Formulário */
.form-section {
  margin-bottom: 2rem;
}

.form-section h2 {
  margin-bottom: 0.5rem;
  color: var(--gray-900);
  font-size: 1.3rem;
}

.form-note {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group input[readonly] {
  background: var(--gray-100);
}

.submit-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 1rem;
}

.submit-btn:hover {
  background: var(--primary-light);
}

/* Mensagens */
.success-card {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
  color: #166534;
}

.success-card h3 {
  color: #166534;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.back-link {
  display: inline-block;
  margin: 1rem 0;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.auto-redirect {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-top: 1rem;
}

.error-card {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.notice {
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
  color: var(--gray-800);
}

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

/* Responsivo */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    text-align: center;
    padding: 0.8rem 0;
  }

  .header h1 {
    font-size: 1.5rem;
  }

  .content {
    padding: 2rem 1.5rem;
  }
}