/* ============================================================================
   DESIGN SYSTEM — SISTEMA DE AGENDAMENTO CLOUDFLARE D1
   Mobile-First (Android & iOS Optimized) | High-Contrast Dark Mode | Touch >= 48px
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Cores Base e Superfícies */
  --bg-body: #080B11;
  --bg-card: #0F1623;
  --bg-card-elevated: #162032;
  --bg-card-subtle: rgba(255, 255, 255, 0.02);
  --bg-input: #131C2E;
  
  /* Bordas e Divisores */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #6366F1;
  --border-hover: rgba(255, 255, 255, 0.16);

  /* Acentos de Marca */
  --primary: #6366F1;
  --primary-hover: #4F46E5;
  --primary-light: rgba(99, 102, 241, 0.15);
  --accent-cyan: #06B6D4;
  --accent-glow: rgba(99, 102, 241, 0.35);

  /* Estados Funcionais */
  --success: #10B981;
  --success-bg: rgba(16, 185, 129, 0.12);
  --warning: #F59E0B;
  --warning-bg: rgba(245, 158, 11, 0.12);
  --error: #EF4444;
  --error-bg: rgba(239, 68, 68, 0.12);

  /* Tipografia */
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Efeitos e Sombras */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-subtle);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Acessibilidade de Toque */
  --touch-target-min: 48px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
}

/* ============================================================================
   CONTAINER PRINCIPAL E CABEÇALHO
   ============================================================================ */
.app-container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 16px 40px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.brand-header {
  text-align: center;
  margin-bottom: 24px;
  padding-top: 8px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #A5B4FC;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.brand-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.brand-title span {
  background: linear-gradient(135deg, #818CF8 0%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================================================
   BARRA DE PROGRESSO / ETAPAS (STEPPER)
   ============================================================================ */
.stepper-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 24px;
  padding: 0 8px;
}

.stepper-track {
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 2px;
  background-color: var(--border-subtle);
  z-index: 1;
}

.progress-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-card-elevated);
  border: 2px solid var(--border-subtle);
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-step.active .step-circle {
  background-color: var(--primary);
  border-color: #A5B4FC;
  color: #FFFFFF;
  box-shadow: 0 0 16px var(--accent-glow);
  transform: scale(1.08);
}

.progress-step.completed .step-circle {
  background-color: var(--success);
  border-color: var(--success);
  color: #FFFFFF;
}

.step-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.progress-step.active .step-label {
  color: #A5B4FC;
}

.progress-step.completed .step-label {
  color: var(--text-muted);
}

/* ============================================================================
   CARDS DE ETAPAS
   ============================================================================ */
.step-card {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  animation: fadeIn 0.3s ease-out;
}

.step-card.active-step-card {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-heading {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.card-heading h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.card-heading p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================================
   CALENDÁRIO DINÂMICO
   ============================================================================ */
.calendar-wrapper {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.calendar-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.btn-cal-nav {
  width: var(--touch-target-min);
  height: var(--touch-target-min);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cal-nav:active {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: scale(0.95);
}

.btn-cal-nav:disabled,
.btn-cal-nav.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-day {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.day-other-month {
  color: rgba(255, 255, 255, 0.15);
  cursor: default;
}

.day-available {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
}

.day-available:active {
  transform: scale(0.92);
  background: var(--primary-light);
}

.day-today span {
  border-bottom: 2px solid var(--accent-cyan);
}

.day-selected {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-cyan) 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700;
  box-shadow: 0 0 14px var(--accent-glow);
  transform: scale(1.05);
  z-index: 2;
}

.day-disabled {
  color: var(--text-dim);
  opacity: 0.35;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.01);
}

.calendar-skeleton {
  grid-column: span 7;
  text-align: center;
  padding: 30px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ============================================================================
   GRADE DE HORÁRIOS (SLOTS)
   ============================================================================ */
.slots-wrapper {
  margin-top: 16px;
}

.selected-date-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card-subtle);
  border-left: 3px solid var(--primary);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  color: #CBD5E1;
  margin-bottom: 16px;
}

.selected-date-banner strong {
  color: #FFFFFF;
}

.slots-section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin: 14px 0 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.slot-btn {
  min-height: var(--touch-target-min);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.slot-btn:active {
  transform: scale(0.96);
}

.slot-free {
  background: var(--bg-card-elevated);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #F1F5F9;
}

.slot-free .slot-time {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

.slot-badge-free {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--success-bg);
  color: var(--success);
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.slot-free:hover, .slot-free:focus {
  border-color: var(--primary);
  background: var(--primary-light);
}

.slot-selected {
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%) !important;
  border-color: #A5B4FC !important;
  box-shadow: 0 0 16px var(--accent-glow);
}

.slot-selected .slot-time {
  color: #FFFFFF;
}

.slot-selected .slot-badge-free {
  background: #FFFFFF;
  color: #4F46E5;
}

.slot-busy {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  opacity: 0.45;
  cursor: not-allowed;
}

.slot-busy .slot-time {
  font-size: 14px;
  font-weight: 500;
  text-decoration: line-through;
}

.slot-busy .slot-badge {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-dim);
}

.slots-loading,
.slots-empty,
.slots-error {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.spinner, .btn-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border-width: 2px;
  border-top-color: #FFFFFF;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================================
   FORMULÁRIO DE CADASTRO (ETAPA 2)
   ============================================================================ */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-label .required-dot {
  color: var(--error);
  font-size: 14px;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  pointer-events: none;
  display: flex;
}

.form-control {
  width: 100%;
  min-height: 52px; /* Otimizado para toque Android */
  padding: 12px 16px 12px 42px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 16px; /* Evita zoom automático em browsers móveis */
  outline: none;
  transition: all 0.2s;
}

.form-control::placeholder {
  color: var(--text-dim);
  font-size: 14px;
}

.form-control:focus {
  border-color: var(--border-focus);
  background-color: var(--bg-card-elevated);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.input-valid {
  border-color: var(--success) !important;
}

.input-invalid {
  border-color: var(--error) !important;
}

.field-feedback {
  font-size: 12px;
  font-weight: 600;
  min-height: 16px;
}

.feedback-success {
  color: var(--success);
}

.feedback-error {
  color: var(--error);
}

/* Pills de Seleção de Sexo */
.gender-pills-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.gender-pill {
  min-height: 44px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.gender-pill.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: #A5B4FC;
  font-weight: 700;
}

.gender-pill:active {
  transform: scale(0.97);
}

/* Termos LGPD */
.lgpd-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  border-radius: var(--radius-md);
  margin-top: 4px;
}

.lgpd-checkbox-wrapper input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  margin-top: 2px;
  cursor: pointer;
}

.lgpd-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  cursor: pointer;
}

.lgpd-label a {
  color: #818CF8;
  text-decoration: underline;
}

/* ============================================================================
   BOTÕES DE AÇÃO E NAVEGAÇÃO
   ============================================================================ */
.actions-footer {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn-primary {
  flex: 1;
  min-height: 52px; /* >= 48px para Android */
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  border: none;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.btn-primary:disabled,
.btn-primary-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-secondary {
  min-height: 52px;
  padding: 0 20px;
  background-color: var(--bg-card-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:active {
  background-color: var(--bg-input);
  transform: scale(0.97);
}

/* ============================================================================
   RESUMO DE CONFIRMAÇÃO (ETAPA 3)
   ============================================================================ */
.summary-card {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-label {
  color: var(--text-muted);
}

.summary-val {
  font-weight: 600;
  color: #FFFFFF;
  text-align: right;
}

.highlight-val {
  color: #818CF8;
  font-weight: 700;
}

.security-note {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ============================================================================
   TELA DE SUCESSO (ETAPA 4)
   ============================================================================ */
.success-header {
  text-align: center;
  margin-bottom: 24px;
}

.success-icon-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  background: var(--success-bg);
  border: 2px solid var(--success);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.3);
  animation: bounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounce {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.protocol-box {
  background: var(--bg-card-elevated);
  border: 1px dashed var(--border-focus);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin-bottom: 20px;
}

.protocol-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.protocol-code {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #38BDF8;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #A5B4FC;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy:active {
  transform: scale(0.95);
}

.success-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.btn-action-tool {
  min-height: 48px;
  background-color: var(--bg-card-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-action-tool:active {
  background-color: var(--primary-light);
  transform: scale(0.97);
}

.btn-whatsapp {
  grid-column: span 2;
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  border: none;
  color: #FFFFFF;
}

/* ============================================================================
   MODAL DE CONDIÇÃO DE CORRIDA (RACE CONDITION)
   ============================================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-card {
  background: var(--bg-card);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease-out;
}

.modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  background: var(--warning-bg);
  color: var(--warning);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.modal-msg {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.4;
}

/* ============================================================================
   TOAST NOTIFICATIONS
   ============================================================================ */
.toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(100% - 32px);
  max-width: 420px;
  pointer-events: none;
}

.toast-item {
  background: #1E293B;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-item.show-toast {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  border-color: rgba(16, 185, 129, 0.4);
  background: #064E3B;
}

.toast-error {
  border-color: rgba(239, 68, 68, 0.4);
  background: #7F1D1D;
}

/* ============================================================================
   RODAPÉ E CRÉDITOS
   ============================================================================ */
.app-footer {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 24px;
}

.app-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

/* Responsividade Desktop */
@media (min-width: 640px) {
  .gender-pills-group {
    grid-template-columns: repeat(4, 1fr);
  }
}
