/*
 * ═══════════════════════════════════════════════════════════════
 *  LaSystems Landing — Page-Specific Styles
 * ═══════════════════════════════════════════════════════════════
 */

/* ──────── LAYOUT PRINCIPAL ──────── */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Ambient background glows */
body::before {
  content: '';
  position: fixed;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Mesh Background */
body.bg-mesh::before, body.bg-mesh::after {
  content: none;
}
body.bg-mesh {
  background: 
    radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(167, 139, 250, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(236, 72, 153, 0.15) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(56, 189, 248, 0.15) 0px, transparent 50%),
    var(--bg);
  background-size: 200% 200%;
  animation: meshFlow 15s ease infinite;
}
@keyframes meshFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Particles Background */
.particles-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
}
body.bg-particles .particles-bg {
  opacity: 1;
}

/* ──────── WRAPPER ──────── */
.landing-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  padding: 2rem;
}

/* ──────── BRAND HEADER ──────── */
.brand-header {
  margin-bottom: 3rem;
  text-align: center;
  animation: fadeIn 0.5s ease-out;
}

.brand-name {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #F1F5F9 0%, #94A3B8 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.brand-name::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin: 0.75rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.brand-subtitle {
  display: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
}

/* ──────── GRID DE BOTÕES ──────── */
.buttons-grid {
  display: grid;
  grid-template-columns: repeat(var(--columns, 2), 1fr);
  grid-auto-rows: minmax(80px, auto);
  grid-auto-flow: dense;
  gap: 1rem;
  width: 100%;
  max-width: var(--grid-max-width, 580px);
}

/* ──────── LOADING STATE ──────── */
.loading-state {
  display: contents;
}

.shimmer-block {
  height: 80px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(90deg, rgba(17,24,39,0.6) 25%, rgba(30,43,61,0.4) 50%, rgba(17,24,39,0.6) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

/* ──────── BOTÃO DE SERVIÇO (Base) ──────── */
.service-btn {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  min-height: 80px;
  border-radius: var(--radius-2xl);
  font-family: var(--font);
  text-decoration: none;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideUp 0.35s ease-out backwards;
}

/* Staggered animation delays */
.service-btn:nth-child(1)  { animation-delay: 0.05s; }
.service-btn:nth-child(2)  { animation-delay: 0.10s; }
.service-btn:nth-child(3)  { animation-delay: 0.10s; }
.service-btn:nth-child(4)  { animation-delay: 0.15s; }
.service-btn:nth-child(5)  { animation-delay: 0.15s; }
.service-btn:nth-child(6)  { animation-delay: 0.20s; }
.service-btn:nth-child(7)  { animation-delay: 0.20s; }
.service-btn:nth-child(8)  { animation-delay: 0.25s; }
.service-btn:nth-child(9)  { animation-delay: 0.25s; }
.service-btn:nth-child(10) { animation-delay: 0.30s; }
.service-btn:nth-child(11) { animation-delay: 0.30s; }
.service-btn:nth-child(12) { animation-delay: 0.35s; }

/* Glass highlight on top */
.service-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
  pointer-events: none;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

/* Hover & Active */
.service-btn:hover {
  transform: translateY(-2px) scale(1.01);
}
.service-btn:active {
  transform: scale(0.97);
}

/* ──────── BOTÃO ATIVO (Outline — padrão) ──────── */
.service-btn--active {
  cursor: pointer;
  color: var(--text-primary);
  /* Os estilos de cor são aplicados inline via JS */
}

.service-btn--active:hover {
  filter: brightness(1.08);
}

/* ──────── BOTÃO "EM BREVE" ──────── */
.service-btn--soon {
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.95), rgba(11, 13, 18, 0.98));
  border: 1px solid var(--border);
  cursor: default;
  color: var(--text-muted);
}

.service-btn--soon:hover {
  transform: none;
  filter: none;
  border-color: var(--border-hover);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.04);
}

.service-btn--soon:active {
  transform: none;
}

/* ──────── ÍCONE DO BOTÃO ──────── */
.service-btn__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: #fff;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.service-btn__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.service-btn__icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

/* Ícone para botões inativos */
.service-btn--soon .service-btn__icon {
  background: rgba(100, 116, 139, 0.15) !important;
  color: var(--text-dim);
  box-shadow: none;
}

.service-btn--soon .service-btn__icon svg {
  stroke: var(--text-dim);
}

/* ──────── CONTEÚDO DO BOTÃO ──────── */
.service-btn__content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}

.service-btn__name {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-btn__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 999px;
  padding: 2px 10px;
  line-height: 1.3;
  width: fit-content;
}

/* Badge ativo — cor dinâmica via JS */
.service-btn--active .service-btn__badge {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Badge "em breve" */
.service-btn--soon .service-btn__badge {
  background: rgba(100, 116, 139, 0.1);
  color: var(--text-dim);
  border: 1px solid rgba(100, 116, 139, 0.15);
}

/* ──────── ADMIN TRIGGER ──────── */
.admin-trigger {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 100;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.3;
  text-decoration: none;
}

.admin-trigger:hover {
  opacity: 1;
  border-color: var(--border-hover);
  background: rgba(17, 24, 39, 0.95);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.08);
  transform: scale(1.05);
}

.admin-trigger__icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.admin-trigger:hover .admin-trigger__icon {
  color: var(--accent);
}

/* ──────── GLOW PULSE para botões ativos ──────── */
@keyframes glowPulse {
  0%, 100% { box-shadow: var(--btn-shadow-base); }
  50%      { box-shadow: var(--btn-shadow-glow); }
}

/* ──────── RESPONSIVO ──────── */
@media (max-width: 480px) {
  .brand-name { font-size: 1.75rem; }
  .buttons-grid {
    grid-template-columns: 1fr !important;
    max-width: 320px !important;
  }
  .service-btn { min-height: 70px; padding: 0.875rem 1rem; }
}

@media (min-width: 481px) and (max-width: 768px) {
  .buttons-grid {
    max-width: 460px !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ──────── SOCIAL FOOTER ──────── */
.social-footer {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  animation: fadeIn 0.5s ease-out 0.5s backwards;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(14, 165, 233, 0.06);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}
. s e r v i c e - b t n _ _ b a d g e . e x p a n d e d   {   w h i t e - s p a c e :   n o r m a l ;   o v e r f l o w :   v i s i b l e ;   t e x t - o v e r f l o w :   u n s e t ;   z - i n d e x :   1 0 ;   p o s i t i o n :   a b s o l u t e ;   m a x - w i d t h :   2 0 0 p x ;   }  
 . s e r v i c e - b t n _ _ b a d g e - - c u s t o m   {   m a x - w i d t h :   1 0 0 % ;   w h i t e - s p a c e :   n o w r a p ;   o v e r f l o w :   h i d d e n ;   t e x t - o v e r f l o w :   e l l i p s i s ;   d i s p l a y :   i n l i n e - b l o c k ;   }  
 