/* =========================================================
   Site público — Landing + Portal paciente
   ========================================================= */

:root {
  --c-primary: #0d9488;
  --c-primary-dark: #0f766e;
  --c-primary-light: #f0fdfa;
}

/* Hero gradient sutil */
.hero-bg {
  background:
    radial-gradient(ellipse at top right, color-mix(in srgb, var(--c-primary) 8%, transparent), transparent 50%),
    radial-gradient(ellipse at bottom left, color-mix(in srgb, var(--c-primary) 6%, transparent), transparent 50%),
    #fafbfc;
}

/* Ornamento decorativo */
.dot-pattern {
  background-image: radial-gradient(circle, #e2e8f0 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Card de profissional com hover */
.prof-card {
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.prof-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(13, 148, 136, 0.15);
}

/* Step indicator do agendamento */
.step-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 0 8px;
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}
.step-line.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-primary);
  animation: step-fill 400ms ease-out forwards;
}
@keyframes step-fill {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

/* Slot de horário disponível */
.slot-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: white;
  font-weight: 600;
  font-size: 14px;
  color: #334155;
  cursor: pointer;
  transition: all 120ms;
}
.slot-btn:hover:not(.selected):not(:disabled) {
  border-color: var(--c-primary);
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
}
.slot-btn.selected {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: white;
}
.slot-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Calendário compacto */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 100ms;
  position: relative;
}
.cal-day:hover:not(.disabled) { background: var(--c-primary-light); }
.cal-day.selected {
  background: var(--c-primary);
  color: white;
  font-weight: 700;
}
.cal-day.disabled {
  color: #cbd5e1;
  cursor: not-allowed;
}
.cal-day.today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-primary);
}
.cal-day.selected.today::after { background: white; }
.cal-day-header {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 0 4px;
}

/* Animações de entrada */
.slide-in-right {
  animation: slide-in-right 250ms ease-out;
}
@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
