/* ===== VARIABLES ===== */
:root {
  --primary: var(--color-primary);
  --primary-light: var(--color-primary-light);
  --primary-dark: var(--color-primary-dark);
  --background: #fafafa;
  --foreground: #1a1a1a;
  --muted: #f0f0f0;
  --muted-foreground: #666666;
  --border: #e5e5e5;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(var(--color-primary-rgb), 0.3);
  --radius: 0.75rem;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== FOCUS ===== */
*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
}

button:focus-visible,
a:focus-visible,
.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.3);
}

.modal-content:focus {
  outline: none;
}

/* ===== HERO SHORT + BREADCRUMB ===== */
.hero-short {
  background: #faf8f5;
  padding: 2.5rem 1rem 2rem;
  border-bottom: 1px solid var(--border);
}

.breadcrumb-nav {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.breadcrumb-nav a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.breadcrumb-sep {
  margin: 0 0.5rem;
  color: var(--border);
}

.breadcrumb-current {
  color: var(--primary);
  font-weight: 500;
}

.hero-short-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.hero-short-title em {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}

.hero-short-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--muted-foreground);
  max-width: 600px;
  line-height: 1.6;
}

/* ===== UTILITY OVERRIDES ===== */
.text-primary {
  color: var(--primary) !important;
}

/* ===== SECTION ===== */
.section {
  padding: 3rem 0 4rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  transition: all var(--transition-base);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:disabled {
  opacity: 0.5;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--muted-foreground);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  transition: all var(--transition-base);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(var(--color-primary-rgb), 0.05);
}

/* ===== STEPPER ===== */
.agenda-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 600px;
  margin: 2rem auto 2.5rem;
  padding: 0 1rem;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 80px;
  cursor: default;
  position: relative;
}

.stepper-step.clickable {
  cursor: pointer;
}

.stepper-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  border: 2px solid var(--border);
  background: white;
  color: var(--muted-foreground);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.stepper-step.active .stepper-number {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.15);
}

.stepper-step.completed .stepper-number {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.stepper-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-align: center;
  white-space: nowrap;
  transition: color var(--transition-base);
}

.stepper-step.active .stepper-label {
  color: var(--primary);
  font-weight: 600;
}

.stepper-step.completed .stepper-label {
  color: var(--primary);
}

.stepper-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  min-width: 40px;
  transition: background var(--transition-base);
  align-self: flex-start;
  margin-top: 17px;
}

.stepper-line.completed {
  background: var(--primary);
}

/* ===== CARD AGENDAMENTO ===== */
.card-agendamento {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.card-agendamento .card-body {
  padding: 3rem;
}

/* ===== FORM ELEMENTS ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  font-size: 0.95rem;
}

.form-label svg,
.form-label i {
  color: var(--primary);
  font-size: 1.1rem;
}

.form-control {
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: all var(--transition-base);
  background: white;
  width: 100%;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}

.form-hint {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.form-step {
  animation: fadeInUp 0.5s ease-out;
}

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

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
}

.form-actions .btn {
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

/* ===== CHIP BAR (Category Filters) ===== */
.chip-bar-wrapper {
  background: var(--muted);
  border-radius: var(--radius);
  padding: 0.75rem;
  margin-bottom: 1.5rem;
}

.chip-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.25rem 0;
}

.chip-bar::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--muted-foreground);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
}

.chip.active .chip-count {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

/* ===== SERVICE CARDS GRID (Step 1) ===== */
.servicos-cards-grid {
  display: block;
}

.categoria-section-pub {
  margin-bottom: 1.5rem;
}

.categoria-title-pub {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-check.servico-checkbox {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.servico-card-pub {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-base);
  background: white;
  width: 100%;
  text-align: left;
  min-height: 72px;
}

.servico-card-pub:hover {
  border-color: var(--primary-light);
  background: rgba(var(--color-primary-rgb), 0.03);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-check:checked + .servico-card-pub {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.3);
  transform: translateY(-1px);
}

.btn-check:checked + .servico-card-pub .servico-card-name-pub {
  color: white;
}

.btn-check:checked + .servico-card-pub .servico-card-time-pub {
  color: rgba(255, 255, 255, 0.85);
}

.btn-check:checked + .servico-card-pub .servico-card-time-pub svg {
  stroke: rgba(255, 255, 255, 0.85);
}

.btn-check:checked + .servico-card-pub .servico-card-price-pub {
  background: white;
  color: var(--primary);
}

.btn-check:checked + .servico-card-pub .servico-card-thumb-pub img,
.btn-check:checked + .servico-card-pub .thumb-placeholder {
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-check:checked + .servico-card-pub .thumb-placeholder {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

.servico-card-thumb-pub {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.servico-card-thumb-pub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.thumb-placeholder {
  width: 100%;
  height: 100%;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}

.servico-card-body-pub {
  flex: 1;
  min-width: 0;
}

.servico-card-name-pub {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--foreground);
  font-size: 0.95rem;
}

.servico-card-meta-pub {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.servico-card-time-pub {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted-foreground);
}

.servico-card-price-pub {
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--primary);
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  transition: all var(--transition-base);
}

/* ===== STICKY SUMMARY BAR ===== */
.sticky-summary-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: white;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform var(--transition-base);
  padding: 0.875rem 1rem;
}

.sticky-summary-bar.visible {
  transform: translateY(0);
}

.sticky-summary-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-summary-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  flex-wrap: wrap;
}

.sticky-summary-info strong {
  color: var(--foreground);
}

.sticky-summary-total {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}

.sticky-summary-bar .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== INLINE CALENDAR (Step 2) ===== */
.calendar-container {
  margin-bottom: 2rem;
}

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

.calendar-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: var(--foreground);
}

.calendar-nav-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(var(--color-primary-rgb), 0.05);
}

.calendar-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.calendar-month-label {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  text-transform: capitalize;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 0.5rem;
}

.calendar-weekday {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted-foreground);
  padding: 0.5rem 0;
  letter-spacing: 0.05em;
}

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

.cal-day {
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  border: 2px solid transparent;
  background: transparent;
  color: var(--foreground);
}

.cal-day.empty {
  cursor: default;
}

.cal-day.past,
.cal-day.closed {
  opacity: 0.35;
  cursor: not-allowed;
  color: var(--muted-foreground);
}

.cal-day.full {
  opacity: 0.55;
  cursor: not-allowed;
  color: var(--muted-foreground);
}

.cal-day.available:hover {
  background: rgba(var(--color-primary-rgb), 0.08);
  border-color: rgba(var(--color-primary-rgb), 0.2);
}

.cal-day.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}

.cal-day-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  position: absolute;
  bottom: 4px;
}

.cal-day.available .cal-day-dot {
  background: #28a745;
}

.cal-day.full .cal-day-dot {
  background: #adb5bd;
}

.cal-day.closed .cal-day-dot {
  background: #adb5bd;
}

.cal-day.selected .cal-day-dot {
  background: rgba(255, 255, 255, 0.8);
}

.calendar-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot.available {
  background: #28a745;
}

.legend-dot.full {
  background: #adb5bd;
}

.legend-dot.closed {
  background: #adb5bd;
  opacity: 0.5;
}

/* ===== TIME SECTION (Step 2) ===== */
.time-section {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.time-section-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.time-section-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.hour-slot {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 0.5rem;
  text-align: center;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.hour-slot:hover:not(.disabled):not(.selected):not(.advance-disabled) {
  border-color: var(--primary-light);
  background: rgba(var(--color-primary-rgb), 0.05);
  transform: translateY(-2px);
}

.hour-slot.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.hour-slot.disabled {
  background: var(--muted);
  color: var(--muted-foreground);
  cursor: not-allowed;
  opacity: 0.6;
}

.hour-slot.advance-disabled {
  background: var(--muted);
  color: var(--muted-foreground);
  cursor: not-allowed;
  opacity: 0.5;
  border-style: dashed;
}

.hour-slot .hour-time {
  font-size: 0.95rem;
  font-weight: 600;
}

.hour-slot .hour-status {
  font-size: 0.75rem;
  margin-top: 0.25rem;
  opacity: 0.8;
}

.hour-slot.disabled .hour-status {
  color: var(--muted-foreground);
}

.hour-slot.advance-disabled .hour-status {
  color: var(--muted-foreground);
  font-size: 0.65rem;
}

.hour-slot.selected .hour-status {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== REVIEW CARD (Step 3) ===== */
.review-card {
  background: var(--muted);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.review-card-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.review-service-list {
  margin-bottom: 1rem;
}

.review-service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.review-service-item:last-child {
  border-bottom: none;
}

.review-service-name {
  font-weight: 500;
  color: var(--foreground);
}

.review-service-price {
  font-weight: 600;
  color: var(--primary);
}

.review-totals {
  border-top: 2px solid var(--primary);
  padding-top: 1rem;
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-total-label {
  font-weight: 600;
  color: var(--foreground);
}

.review-total-value {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.review-datetime {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.875rem;
  background: white;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--foreground);
}

.review-datetime svg,
.review-datetime i {
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.review-time-estimate {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.875rem;
  background: white;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.review-time-estimate svg,
.review-time-estimate i {
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.review-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.875rem;
  background: white;
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.review-address svg,
.review-address i {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
  font-size: 1.1rem;
}

/* ===== PERSONAL DATA SECTION (Step 3) ===== */
.personal-data-section {
  margin-top: 2rem;
}

.personal-data-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.localStorage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--primary);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.localStorage-badge svg {
  flex-shrink: 0;
}

/* ===== SELECTION SUMMARY ===== */
.selection-summary {
  background: var(--muted);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.summary-item:last-child {
  margin-bottom: 0;
}

.summary-label {
  font-weight: 500;
  color: var(--muted-foreground);
}

.summary-value {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.125rem;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1050;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

.logo-pulsing {
  animation: pulse 1.5s ease-in-out infinite;
  width: 100px;
  opacity: 0.8;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

/* ===== FLOATING ACTIONS ===== */
.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all var(--transition-base);
}

.floating-actions.hidden {
  transform: translateX(150%);
  opacity: 0;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.floating-btn-whatsapp {
  background: #25d366;
  animation: pulse-whatsapp 2s ease-in-out infinite;
}

.floating-btn-instagram {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #f77737 100%);
  animation: pulse-instagram 2.5s ease-in-out infinite;
}

.floating-btn-youtube {
  background: #ff0000;
  animation: pulse-youtube 3s ease-in-out infinite;
}

@keyframes pulse-whatsapp {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
  }
}

@keyframes pulse-instagram {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(131, 58, 180, 0.4);
  }
  50% {
    box-shadow: 0 8px 35px rgba(131, 58, 180, 0.6);
  }
}

@keyframes pulse-youtube {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(253, 29, 29, 0.4);
  }
  50% {
    box-shadow: 0 8px 35px rgba(253, 29, 29, 0.6);
  }
}

.floating-btn svg {
  width: 24px;
  height: 24px;
  color: white;
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  text-decoration: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ===== VLIBRAS ===== */
.vw-plugin-top-wrapper {
  z-index: 1060;
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 767px) {
  .card-agendamento .card-body {
    padding: 2rem 1.5rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }

  .hours-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .floating-actions {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .sticky-summary-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .sticky-summary-bar .btn {
    width: 100%;
  }

  .sticky-summary-bar {
    padding: 0.75rem 1rem;
  }

  .vw-plugin-top-wrapper {
    bottom: 70px !important;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
    left: 0.75rem;
    bottom: 0.75rem;
  }

  .cal-day {
    font-size: 0.8rem;
  }

  .cal-day-dot {
    width: 4px;
    height: 4px;
    bottom: 3px;
  }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 479px) {
  .card-agendamento .card-body {
    padding: 1.5rem 1rem;
  }

  .stepper-label {
    display: none;
  }

  .stepper-step {
    min-width: auto;
  }

  .hours-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .hour-slot {
    padding: 0.75rem 0.25rem;
    min-height: 55px;
  }

  .hour-slot .hour-time {
    font-size: 0.875rem;
  }

  .servicos-cards-grid {
    grid-template-columns: 1fr;
  }

  .servico-card-pub {
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .servico-card-thumb-pub {
    width: 44px;
    height: 44px;
  }

  .servico-card-name-pub {
    font-size: 0.875rem;
  }

  .servico-card-meta-pub {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .review-service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* ===== RESPONSIVE — SMALL MOBILE ===== */
@media (max-width: 360px) {
  .hours-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .agenda-stepper {
    padding: 0 0.5rem;
  }

  .stepper-line {
    min-width: 20px;
  }
}

/* ===== RESPONSIVE — DESKTOP ===== */
@media (min-width: 1024px) {
  .hours-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ===== COOKIE CONSENT BAR ===== */
.cookie-bar {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 1001;
}

.cookie-icon {
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

.cookie-text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #5a4a3a;
  margin: 0;
  flex: 1;
}

.cookie-accept-btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-accept-btn:hover {
  background: var(--primary-dark);
}
