:root {
  --bg-color: #F8F9FA;
  --text-main: #111827;
  --text-muted: #4B5563;
  --brand-yellow: #EAB308;
  --brand-yellow-hover: #CA8A04;
  --grid-color: rgba(0, 0, 0, 0.03);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  height: 100dvh; /* Altura exata da tela, previne quebra com barra do mobile */
  width: 100vw;
  overflow: hidden; /* Impede rolagem vertical e horizontal rigorosamente */
  position: relative;
}

/* Fundo imersivo sem caixa */
.architectural-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

/* Container de layout Flex */
.viewport-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 3rem);
}

/* Cabeçalho */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand span {
  color: var(--brand-yellow-hover);
}

.location {
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* Área de Conteúdo Centralizada Verticalmente */
.content-area {
  flex: 1;
  display: flex;
  align-items: center; /* Centraliza no eixo Y */
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.text-group {
  width: 100%;
}

/* Status e Animação */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  font-weight: 600;
  color: #854D0E;
  margin-bottom: clamp(1rem, 3vh, 2rem);
  padding: 6px 12px;
  background: rgba(234, 179, 8, 0.15);
  border-radius: 4px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background-color: var(--brand-yellow-hover);
  border-radius: 50%;
  animation: blink 1.5s infinite ease-in-out;
}

/* Tipografia Fluida (Escala baseada no viewport) */
h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: clamp(1rem, 3vh, 1.5rem);
}

p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
}

/* Botão de Ação */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--text-main);
  color: #fff;
  font-family: inherit;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 600;
  padding: clamp(0.8rem, 2vh, 1rem) clamp(1.5rem, 4vw, 2.5rem);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-whatsapp:hover {
  background-color: #000;
}

/* Barra de progresso contínua no rodapé */
.global-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.05);
  z-index: 3;
}

.progress-fill {
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-yellow-hover));
  animation: load-scan 3s ease-in-out infinite alternate;
}

/* Animações */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes load-scan {
  0% { transform: translateX(0); width: 20%; }
  100% { transform: translateX(400%); width: 40%; }
}

/* Ajustes Específicos para Mobile Estreito */
@media (max-width: 480px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .btn-whatsapp {
    width: 100%;
  }
}