/* public/assets/css/style.css - PostLink Design System (Stitch Theme) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Cores Principais do Stitch */
  --primary: #003e80;
  --primary-container: #1e56a0;
  --on-primary: #ffffff;
  --primary-fixed: #d6e3ff;
  
  --secondary: #22c55e;
  --secondary-dark: #006e2f;
  --secondary-container: #dcfce7;
  --on-secondary-container: #007432;
  
  --background: #faf8ff;
  --surface: #faf8ff;
  --surface-low: #f2f3ff;
  --surface-card: #ffffff;
  --surface-high: #e2e7ff;
  
  --text-main: #131b2e;
  --text-muted: #64748b;
  --outline: #c2c6d3;
  --border: #e2e8f0;
  
  --error: #ba1a1a;
  --error-bg: #ffdad6;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* Escala Tipográfica Canônica (Razão 1.25:1) */
h1 {
  font-size: 1.875rem; /* 30px */
  line-height: 1.2;
}

h2 {
  font-size: 1.25rem; /* 20px */
  line-height: 1.3;
}

h3 {
  font-size: 1rem; /* 16px */
  line-height: 1.4;
}

/* Ícones Material Symbols */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

/* Padrão Wallpaper WhatsApp */
.wa-bg-pattern {
  background-color: #efeae2;
  background-image: radial-gradient(#d6cfc7 0.75px, transparent 0.75px);
  background-size: 14px 14px;
  padding: 1rem;
}

/* Sombra e Borda do Balão do WhatsApp */
.wa-bubble-shadow {
  box-shadow: 0 1px 1px rgba(11, 20, 26, 0.12);
}

/* Efeito de Shimmer e Listras no Edge */
.edge-meter-stripes {
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.25) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.25) 75%,
    transparent 75%,
    transparent
  );
  background-size: 1rem 1rem;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

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

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(0, 62, 128, 0.15);
  border-top-color: var(--primary-container);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Notificações Toasts */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInToast 0.25s ease-out;
}

.toast-success {
  background: #007432;
  color: #ffffff;
}

.toast-error {
  background: #ba1a1a;
  color: #ffffff;
}

.toast-info {
  background: #1e56a0;
  color: #ffffff;
}

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

/* Glassmorphism & Efeitos Visuais Modernos (Inspirados no MyGroupMetrics) */
.glass-panel {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 25px 70px -15px rgba(0, 62, 128, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.7);
}

.glass-pill {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ambient-glow-emerald {
  background: radial-gradient(circle, rgba(34, 197, 94, 0.14) 0%, rgba(34, 197, 94, 0) 70%);
}

.ambient-glow-blue {
  background: radial-gradient(circle, rgba(30, 86, 160, 0.12) 0%, rgba(30, 86, 160, 0) 70%);
}

.tech-dot-bg {
  background-image: radial-gradient(#94a3b8 0.75px, transparent 0.75px);
  background-size: 24px 24px;
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.animate-float-slow {
  animation: floatSlow 5s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floatSlow 5s ease-in-out 2.5s infinite;
}

/* Transições e Animações para as Prévias e Vitrine na Home */
.hero-view-transition {
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-view-hidden {
  display: none !important;
  opacity: 0;
  transform: scale(0.98);
}

.hero-view-active {
  display: block !important;
  opacity: 1;
  transform: scale(1);
}

.pulse-soft {
  animation: pulseSoft 2s ease-in-out infinite;
}

@keyframes pulseSoft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

