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

:root {
  --primary: #0066ff;
  --primary-dark: #0052cc;
  --primary-light: #e6f0ff;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --success: #16a34a;
  --success-dark: #15803d;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --black: #000000;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background: linear-gradient(to bottom right, var(--gray-50), var(--gray-100));
  color: var(--gray-900);
  line-height: 1.6;
}

/* Header */
header {
  border-bottom: 1px solid var(--gray-200);
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  height: 48px;
  width: auto;
}

/* Main Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

/* Banner de Vagas */
.limited-banner {
  background: linear-gradient(135deg, var(--danger), #ff4444);
  color: var(--white);
  padding: 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(220, 38, 38, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* Title Section */
.title-section {
  text-align: center;
  margin-bottom: 3rem;
}

.title-section h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .title-section h1 {
    font-size: 2rem;
  }
}

.title-section .subtitle {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 600;
}

.title-section .description {
  color: var(--gray-600);
  margin-top: 1rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* Terms Sections */
.terms-container {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  border: 1px solid var(--gray-200);
  border-radius: 0.65rem;
  background-color: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-header {
  background: linear-gradient(to right, var(--primary-light), #ddeeff);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.card-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.term-item {
  display: flex;
  gap: 1rem;
}

.term-bullet {
  flex-shrink: 0;
  margin-top: 0.25rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.term-text {
  color: var(--gray-700);
  flex: 1;
}

.term-text strong {
  color: var(--gray-900);
  font-weight: 600;
}

.term-text .danger {
  color: var(--danger);
  font-weight: 600;
}

.term-icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
  width: 20px;
  height: 20px;
  color: var(--danger);
}

/* Footer Section */
.footer-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-200);
}

.footer-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.footer-text {
  color: var(--gray-600);
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.footer-copyright {
  color: var(--gray-500);
  font-size: 0.75rem;
  margin-top: 2rem;
}

/* Buttons */
.btn {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 10px 15px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--gray-900);
  border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
  background-color: var(--gray-50);
}

.btn-success {
  background-color: var(--success);
  color: var(--white);
}

.btn-success:hover {
  background-color: var(--success-dark);
}

.btn-small {
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-small svg {
  width: 16px;
  height: 16px;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.65rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  max-width: 28rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  background: linear-gradient(to right, var(--primary-light), #ddeeff);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
}

.modal-description {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 0.25rem;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-500);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--gray-700);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-list {
  list-style: disc;
  list-style-position: inside;
  color: var(--gray-700);
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-list li {
  margin-left: 0.5rem;
}

.modal-buttons {
  display: flex;
  gap: 0.75rem;
}

.modal-buttons .btn {
  flex: 1;
}

/* Payment Modal */
.qr-code-container {
  display: flex;
  justify-content: center;
}

.qr-code-box {
  border: 4px solid var(--primary-light);
  border-radius: 0.5rem;
  padding: 0.75rem;
  background-color: var(--white);
}

.qr-code-box img {
  width: 192px;
  height: 192px;
  display: block;
}

.payment-details {
  background-color: var(--gray-50);
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-amount {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.payment-amount-label {
  font-size: 0.75rem;
  color: var(--gray-600);
}

.payment-amount-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
}

.payment-divider {
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
}

.pix-key-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.pix-key-container {
  display: flex;
  gap: 0.5rem;
}

.pix-key-input {
  flex: 1;
  background-color: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: var(--gray-900);
  word-break: break-all;
}

.copy-feedback {
  font-size: 0.75rem;
  color: var(--success);
  margin-top: 0.5rem;
}

.contact-info {
  background-color: var(--primary-light);
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-info-item {
  font-size: 0.875rem;
  color: var(--gray-700);
}

.contact-info-item strong {
  font-weight: 600;
  color: var(--gray-900);
}

/* Utility Classes */
.hidden {
  display: none;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.text-center {
  text-align: center;
}

/* Responsive */
@media (max-width: 640px) {
  .container {
    padding: 1.5rem 1rem;
  }

  .title-section h1 {
    font-size: 1.875rem;
  }

  .card-header {
    padding: 1rem;
  }

  .card-content {
    padding: 1rem;
  }

  .modal {
    max-width: calc(100% - 2rem);
  }

  .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }
}

