/* ==========================================================================
   Design System & Variable Tokens
   ========================================================================== */
:root {
  --bg-dark: #090a0f;
  --bg-card: rgba(18, 20, 29, 0.75);
  --bg-card-hover: rgba(26, 29, 43, 0.85);
  --bg-input: rgba(12, 14, 22, 0.8);
  
  --primary-amber: #f59e0b;
  --primary-gold: #fbbf24;
  --primary-dark-gold: #d97706;
  
  --accent-gradient: linear-gradient(135deg, #fef08a 0%, #fbbf24 40%, #d97706 100%);
  --gold-glow: rgba(245, 158, 11, 0.25);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(251, 191, 36, 0.6);
  --border-glow: 0 0 15px rgba(245, 158, 11, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Syne', sans-serif;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Background Atmosphere & Decorative Orbs */
.background-decor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.orb-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, #f59e0b 0%, rgba(217, 119, 6, 0) 70%);
}

.orb-2 {
  width: 600px;
  height: 600px;
  bottom: -150px;
  right: -150px;
  background: radial-gradient(circle, #7c2d12 0%, rgba(15, 23, 42, 0) 70%);
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 100%);
}

/* Main Container Layout */
.main-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  width: 100%;
}

/* Header & Branding */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  text-align: center;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.2rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary-gold);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-gold);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(251, 191, 36, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}

.logos-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1.75rem;
  background: rgba(18, 20, 29, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-logo.biossimetric {
  color: #ffffff;
}

.brand-logo.fazendo-acontecer {
  color: #ffffff;
}

.brand-icon {
  width: 20px;
  height: 20px;
  color: var(--primary-gold);
}

.logo-divider {
  color: var(--text-dim);
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Grid Layout */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Info Section (Left Column) */
.info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.schedule-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  width: fit-content;
}

.schedule-pill svg {
  width: 16px;
  height: 16px;
  color: var(--primary-gold);
}

.live-tag {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.live-tag svg {
  width: 12px;
  height: 12px;
  color: #f87171;
}

.main-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.title-highlight {
  display: block;
  font-size: 3rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 400;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateX(4px);
  background: rgba(245, 158, 11, 0.03);
}

.feature-icon {
  background: rgba(245, 158, 11, 0.12);
  color: var(--primary-gold);
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-text strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  padding-top: 0.5rem;
}

.guarantee-badge svg {
  width: 14px;
  height: 14px;
  color: var(--primary-gold);
}

/* Form Card (Right Column) */
.form-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.form-header {
  margin-bottom: 1.75rem;
}

.form-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.form-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Form Controls */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.form-group.hidden {
  display: none;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

label svg {
  width: 15px;
  height: 15px;
  color: var(--primary-gold);
}

.required {
  color: #ef4444;
}

input[type="text"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.925rem;
  transition: var(--transition);
  outline: none;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select option {
  background-color: #12141d;
  color: #ffffff;
}

.input-prefix-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.input-prefix {
  padding-left: 1rem;
  color: var(--primary-gold);
  font-weight: 700;
  font-size: 0.95rem;
}

.input-prefix-wrapper input {
  border: none;
  background: transparent;
  padding-left: 0.4rem;
}

.input-prefix-wrapper:focus-within {
  border-color: var(--border-focus);
  box-shadow: var(--border-glow);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--border-focus);
  box-shadow: var(--border-glow);
}

/* Custom Radio Group (Faturamento) */
.faturamento-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.fat-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fat-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.fat-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--text-dim);
  position: relative;
  transition: var(--transition);
}

.fat-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-gold);
  transition: var(--transition);
}

.fat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
}

.fat-option:hover .fat-card {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.04);
}

.fat-option input[type="radio"]:checked + .fat-card {
  border-color: var(--primary-gold);
  background: rgba(245, 158, 11, 0.08);
  box-shadow: inset 0 0 12px rgba(245, 158, 11, 0.1);
}

.fat-option input[type="radio"]:checked + .fat-card .fat-radio {
  border-color: var(--primary-gold);
}

.fat-option input[type="radio"]:checked + .fat-card .fat-radio::after {
  transform: translate(-50%, -50%) scale(1);
}

/* Validation Errors */
.error-msg {
  font-size: 0.75rem;
  color: #f87171;
  display: none;
  margin-top: 0.2rem;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea,
.form-group.error .input-prefix-wrapper {
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.form-group.error .error-msg {
  display: block;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  background: var(--accent-gradient);
  border: none;
  border-radius: var(--radius-sm);
  color: #090a0f;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.5);
  filter: brightness(1.05);
}

.submit-btn:active {
  transform: translateY(0);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

.submit-btn:hover .btn-icon {
  transform: translateX(4px);
}

.security-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.security-footer svg {
  width: 13px;
  height: 13px;
  color: #10b981;
}

/* Success Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(16px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.modal-card {
  background: #11131c;
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.2);
  animation: modalSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

@keyframes modalSlide {
  from { transform: translateY(30px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-badge {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.12);
  border: 2px solid #10b981;
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
}

.modal-badge svg {
  width: 32px;
  height: 32px;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.modal-subtitle strong {
  color: var(--primary-gold);
}

.event-details-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.detail-row svg {
  width: 20px;
  height: 20px;
  color: var(--primary-gold);
}

.detail-row strong {
  display: block;
  font-size: 0.875rem;
  color: #ffffff;
}

.detail-row p {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.next-steps {
  text-align: left;
  margin-bottom: 1.75rem;
}

.next-steps h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.next-steps h3 svg {
  width: 15px;
  height: 15px;
  color: var(--primary-gold);
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.steps-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}

.step-num {
  width: 20px;
  height: 20px;
  background: var(--primary-gold);
  color: #090a0f;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.whatsapp-btn {
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #22c55e;
  transform: translateY(-2px);
}

.whatsapp-btn svg {
  width: 18px;
  height: 18px;
}

.calendar-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.calendar-btn:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

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

.close-modal-btn {
  margin-top: 1rem;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.775rem;
  cursor: pointer;
  text-decoration: underline;
}

.close-modal-btn:hover {
  color: var(--text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .main-title {
    font-size: 1.85rem;
  }
  
  .title-highlight {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .main-container {
    padding: 1.5rem 1rem;
  }

  .form-card {
    padding: 1.5rem 1.25rem;
  }
  
  .logos-container {
    padding: 0.6rem 1.2rem;
    gap: 1rem;
  }
  
  .brand-logo {
    font-size: 1rem;
  }
}
