﻿/* 
 * DOM MARTINS - Design System Premium High-End
 * Cores baseadas rigorosamente no estilo DOM MARTINS: Preto Profundo, Grafite, Branco e Amarelo Ouro.
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --bg-primary: #060608;
  --bg-secondary: #0D0D10;
  --bg-card: #141418;
  --bg-glass: rgba(13, 13, 16, 0.85);
  
  --brand-gold: #F3BA0D;
  --yellow-glow: rgba(243, 186, 13, 0.15);
  --yellow-gradient: linear-gradient(135deg, #FFF0BD 0%, #F3BA0D 60%, #C49100 100%);
  --border-light: rgba(255, 255, 255, 0.04);
  --border-yellow: rgba(243, 186, 13, 0.2);
  
  --text-primary: #FFFFFF;
  --text-secondary: #9E9EA4;
  --text-muted: #5E5E65;
  
  --color-danger: #D32F2F;
  --color-danger-bg: rgba(211, 47, 47, 0.1);
  --color-warning: #F57C00;
  --color-warning-bg: rgba(245, 124, 0, 0.1);
  --color-success: #388E3C;
  --color-success-bg: rgba(56, 142, 60, 0.1);
  
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
  
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  --shadow-premium: 0 12px 40px 0 rgba(0, 0, 0, 0.7);
  --shadow-yellow: 0 4px 20px 0 rgba(243, 186, 13, 0.2);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Container de Casca do App (Simula Celular Centralizado no Desktop) */
#app-container {
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  background-color: var(--bg-primary);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
  border-left: 1px solid rgba(255, 255, 255, 0.02);
  border-right: 1px solid rgba(255, 255, 255, 0.02);
  padding-bottom: 84px; /* Espaço para a barra de navegação */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-gold);
  border-radius: 4px;
}

/* --- SPLASH SCREEN ANIMADA --- */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease-out;
}

.splash-logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid var(--brand-gold);
  object-fit: cover;
  animation: logoZoom 2s cubic-bezier(0.25, 0.8, 0.25, 1) infinite alternate;
  box-shadow: var(--shadow-yellow);
}

.splash-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 24px;
  background: var(--yellow-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

.splash-loader {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 16px;
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

.splash-loader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: var(--brand-gold);
  animation: loaderSlide 1.5s infinite linear;
}

/* --- HEADER PRINCIPAL --- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--brand-gold);
  object-fit: cover;
}

.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.brand-name span {
  color: var(--brand-gold);
}

/* Seletor de Visão Superior */
.view-selector {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3px;
  display: flex;
  gap: 1px;
}

.view-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.view-btn.active {
  background: var(--brand-gold);
  color: #000000;
  font-weight: 700;
}

/* --- BOTTOM NAVIGATION BAR --- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-around;
  padding: 12px 6px 20px 6px;
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  width: 65px;
}

.nav-icon {
  font-size: 1.35rem;
  transition: var(--transition-fast);
}

.nav-item.active {
  color: var(--brand-gold);
}

.nav-item.active .nav-icon {
  transform: translateY(-2px);
}

/* --- COMPONENTES COMUNS --- */
.view-container {
  padding: 0; /* Dashboard lida com padding interno para layouts hero */
  animation: fadeIn var(--transition-smooth);
}

.padded-section {
  padding: 24px 20px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--brand-gold);
}

.card-premium {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 20px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.card-premium.highlight {
  border-color: var(--border-yellow);
}

/* Botões Modernos */
.btn-yellow {
  background: var(--yellow-gradient);
  border: none;
  color: #000000;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 15px 24px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-yellow:hover {
  filter: brightness(1.1);
  box-shadow: var(--shadow-yellow);
}

.btn-yellow:active {
  transform: scale(0.97);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--brand-gold);
  color: var(--brand-gold);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-outline:hover {
  background: rgba(243, 186, 13, 0.06);
}

.btn-outline:active {
  transform: scale(0.97);
}

/* --- TELA HERO E CONTEÃšDO DOM MARTINS --- */

/* Hero Section */
.hero-dm {
  position: relative;
  height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 20px;
  overflow: hidden;
}

.hero-dm::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(6, 6, 8, 0.2) 0%, rgba(6, 6, 8, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tagline {
  color: var(--brand-gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Fita de sinalização Marquee Amarela */
.dm-marquee {
  background: var(--brand-gold);
  color: #000000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 8px 0;
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.marquee-content {
  display: inline-block;
  animation: marqueeLoop 20s linear infinite;
  padding-left: 100%;
}

/* Diferenciais DOM MARTINS com Traços Pretos e Círculos Amarelos */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.diferencial-card {
  background: #FFFFFF;
  border-radius: var(--border-radius-md);
  padding: 16px;
  color: #000000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-premium);
  border-bottom: 4px solid var(--brand-gold);
}

.dif-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(243, 186, 13, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold);
}

.dif-title {
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.3;
}

.dif-desc {
  font-size: 0.7rem;
  color: #55555A;
  line-height: 1.4;
}

/* --- MENU DE SERVIÃ‡OS ESTILO DOM MARTINS (image_503e7b.png) --- */
.dm-menu-container {
  background: #EAEAEA;
  border-radius: var(--border-radius-lg);
  padding: 16px;
  color: #000000;
  box-shadow: var(--shadow-premium);
}

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

.dm-menu-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.menu-layout {
  display: flex;
  gap: 10px;
}

/* Abas Laterais */
.menu-tabs-left {
  flex: 0 0 110px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-tab-btn {
  background: #D4D4D4;
  border: none;
  border-radius: 6px;
  color: #555;
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 10px 8px;
  cursor: pointer;
  text-align: left;
  text-transform: uppercase;
  transition: var(--transition-fast);
  line-height: 1.2;
}

.menu-tab-btn.active {
  background: #000000;
  color: var(--brand-gold);
}

/* Itens de Serviço Central */
.menu-items-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-item-row {
  background: #FFFFFF;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.menu-item-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #222;
}

.menu-item-price {
  font-size: 0.72rem;
  font-weight: 800;
  color: #000;
}

/* Foto Lateral Direita */
.menu-image-right {
  flex: 0 0 95px;
  border-radius: 6px;
  overflow: hidden;
  height: 160px;
}

.menu-img-port {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- CARROSSEL DE ANTES E DEPOIS INTERATIVO (COMPARE SLIDER) --- */
.before-after-container {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-premium);
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.ba-after-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 2px solid var(--brand-gold);
  z-index: 10;
}

.ba-after-wrapper .ba-image {
  width: 440px; /* Largura fixa do container para evitar estiramento */
  max-width: none;
}

/* Input Range invisível por cima de tudo para arrastar */
.ba-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 20;
}

/* Handles visuais do antes e depois */
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--brand-gold);
  z-index: 15;
  pointer-events: none;
  transform: translateX(-50%);
}

.ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: #000;
  border: 2px solid var(--brand-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold);
  font-size: 0.9rem;
}

.ba-tag {
  position: absolute;
  top: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--text-primary);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 12;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ba-tag-before {
  right: 12px;
}

.ba-tag-after {
  left: 12px;
}

/* --- GRID DA GALERIA --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery-item {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  height: 100px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition-fast);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* --- DEPOIMENTOS DE CLIENTES --- */
.testimonial-slider {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 16px;
  position: relative;
}

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

.test-name {
  font-weight: 600;
  font-size: 0.85rem;
}

.test-stars {
  color: var(--brand-gold);
  font-size: 0.75rem;
}

.test-comment {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  font-style: italic;
}

/* --- ABA EXCLUSIVA DO ASSINANTE: ESTILO & TENDÃŠNCIAS --- */
.vip-locked-panel {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
}

.blog-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.blog-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.blog-meta {
  padding: 14px;
}

.blog-tag {
  background: var(--yellow-glow);
  color: var(--brand-gold);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.blog-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 8px;
  margin-bottom: 6px;
}

.blog-excerpt {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.source-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.source-link-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  padding: 10px;
  color: var(--text-primary);
  text-decoration: none;
  background: rgba(255,255,255,0.02);
}

.source-link-card .material-symbols-outlined {
  color: var(--brand-gold);
}

.source-link-card strong,
.source-link-card small {
  display: block;
}

.source-link-card strong {
  font-size: 0.78rem;
}

.source-link-card small {
  color: var(--text-secondary);
  font-size: 0.68rem;
}

/* Visagismo Chatbot */
.chat-dm-container {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  height: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-top: 20px;
}

.chat-header {
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-gold);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
}

.chat-bot-name {
  font-weight: 700;
  font-size: 0.8rem;
}

.chat-bot-status {
  font-size: 0.6rem;
  color: var(--color-success);
}

.chat-messages {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  max-width: 80%;
  padding: 10px 12px;
  border-radius: var(--border-radius-md);
  font-size: 0.78rem;
  line-height: 1.4;
}

.chat-msg.bot {
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
  border-bottom-left-radius: 2px;
  align-self: flex-start;
}

.chat-msg.user {
  background: var(--brand-gold);
  color: #000000;
  font-weight: 600;
  border-bottom-right-radius: 2px;
  align-self: flex-end;
}

.chat-input-area {
  border-top: 1px solid var(--border-light);
  padding: 8px 10px;
  display: flex;
  gap: 8px;
}

.chat-text-input {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: var(--text-primary);
  padding: 8px 14px;
  font-family: inherit;
  font-size: 0.78rem;
}

.chat-text-input:focus {
  outline: none;
  border-color: var(--brand-gold);
}

.chat-send-btn {
  background: var(--yellow-gradient);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  cursor: pointer;
  transition: var(--transition-fast);
}

.chat-send-btn:active {
  transform: scale(0.9);
}

/* RETAINER DE ALERTAS DO ADMIN E OUTROS */
.alert-banner.danger {
  background: var(--color-danger-bg);
  border: 1px solid rgba(211, 47, 47, 0.2);
  color: #FFCDD2;
}

.alert-banner.warning {
  background: var(--color-warning-bg);
  border: 1px solid rgba(245, 124, 0, 0.2);
  color: #FFE0B2;
}

/* STEPPER DE AGENDAMENTO */
.step-bubble.active {
  border-color: var(--brand-gold);
  background: var(--brand-gold);
  color: #000;
  box-shadow: var(--shadow-yellow);
}

.step-bubble.completed {
  border-color: var(--brand-gold);
  background: var(--bg-primary);
  color: var(--brand-gold);
}

/* SLOTS E CALENDARIO */
.date-card.selected {
  border-color: var(--brand-gold);
  background: var(--brand-gold);
  color: #000;
}

.time-slot.selected {
  border-color: var(--brand-gold);
  background: rgba(243, 186, 13, 0.15);
  color: var(--brand-gold);
}

/* ANIMATIONS & KEYFRAMES */
@keyframes logoZoom {
  from {
    transform: scale(0.95);
    filter: drop-shadow(0 0 5px rgba(243, 186, 13, 0.2));
  }
  to {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(243, 186, 13, 0.6));
  }
}

@keyframes loaderSlide {
  0% { left: -50%; }
  100% { left: 100%; }
}

@keyframes marqueeLoop {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

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

.d-none {
  display: none !important;
}

.text-gold, .text-yellow {
  color: var(--brand-gold) !important;
}

.text-danger {
  color: var(--color-danger) !important;
}

.text-success {
  color: var(--color-success) !important;
}

.subscription-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 8px;
}

.sub-active {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(56, 142, 60, 0.28);
}

.sub-pending {
  background: var(--color-warning-bg);
  color: var(--color-warning);
  border: 1px solid rgba(245, 124, 0, 0.28);
}

.sub-suspended {
  background: var(--color-danger-bg);
  color: var(--color-danger);
  border: 1px solid rgba(211, 47, 47, 0.28);
}

.stepper-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
}

.stepper-container::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.step-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  z-index: 2;
  transition: var(--transition-fast);
}

.service-list,
.agenda-list,
.ranking-list,
.blog-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card-selectable {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.service-card-selectable:hover,
.service-card-selectable.selected {
  border-color: var(--brand-gold);
  background: rgba(243, 186, 13, 0.06);
}

.service-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.service-duration {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.service-price {
  font-weight: 800;
  color: var(--brand-gold);
  font-size: 1rem;
  white-space: nowrap;
}

.calendar-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 20px;
  scrollbar-width: none;
}

.calendar-slider::-webkit-scrollbar {
  display: none;
}

.date-card {
  flex: 0 0 65px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.date-day-name {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.72;
}

.date-number {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 4px;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.time-slot {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  padding: 10px;
  text-align: center;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.time-slot.disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.alert-banner {
  border-radius: var(--border-radius-md);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 16px;
  min-width: 0;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.metric-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  margin-top: 6px;
  color: var(--text-primary);
  word-break: break-word;
}

.metric-value.gold {
  color: var(--brand-gold);
}

.agenda-card {
  background: var(--bg-card);
  border-left: 4px solid var(--brand-gold);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-premium);
}

.agenda-card.completed {
  opacity: 0.75;
}

.agenda-card.canceled {
  opacity: 0.55;
}

.agenda-time-meta,
.agenda-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.agenda-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.agenda-status-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}

.action-btn-mini {
  flex: 1;
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 9px 10px;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  transition: var(--transition-fast);
}

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

.action-btn-mini.danger {
  background: var(--color-danger);
}

.action-btn-mini:active {
  transform: scale(0.97);
}

.ia-assistant-panel {
  background: linear-gradient(135deg, #1C1C21 0%, #151518 100%);
  border-color: var(--border-yellow);
  box-shadow: 0 0 20px rgba(243, 186, 13, 0.05);
}

.ia-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow-gradient);
  color: #000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.ia-alert-item {
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
}

.ia-alert-item:last-child {
  border-bottom: none;
}

.bi-chart-container {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.chart-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.svg-chart {
  width: 100%;
  height: auto;
  display: block;
}

.ranking-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 14px 16px;
  border-radius: var(--border-radius-md);
}

.ranking-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.ranking-score {
  font-weight: 800;
  color: var(--brand-gold);
  white-space: nowrap;
}

@media (max-width: 390px) {
  .app-header {
    padding: 12px;
    gap: 10px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .view-btn {
    padding: 5px 7px;
    font-size: 0.66rem;
  }

  .padded-section {
    padding: 20px 14px;
  }

  .menu-layout {
    flex-direction: column;
  }

  .menu-tabs-left {
    flex: none;
    flex-direction: row;
    overflow-x: auto;
  }

  .menu-image-right {
    display: none;
  }

  .metrics-grid,
  .diferenciais-grid,
  .time-slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}




