/* ==========================================================================
   CSS - Página Em Construção (ThermoSensor)
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-text-main: #18181b;
  --color-text-muted: #52525b;
  --color-text-subtle: #71717a;
  --color-accent: #0f172a;
  --color-accent-hover: #27272a;
  --color-border: #e4e4e7;
  --color-border-focus: #0f172a;
  --color-warning: #eab308;
  --color-danger: #ef4444;
  --color-success: #10b981;
  
  --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  padding: 2.5rem 1.25rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Fundo sutil / gradiente de iluminação ambiente */
.ambient-glow {
  position: fixed;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(254, 240, 138, 0.18) 0%, rgba(255, 237, 213, 0.08) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

/* Container Principal */
.page-container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Badge / Marca */
.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #3f3f46;
  text-transform: uppercase;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #f59e0b;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Título Principal */
.main-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.01em;
  color: var(--color-text-main);
  text-transform: uppercase;
  margin-bottom: 2rem;
  line-height: 1.1;
}

/* Área da Ilustração */
.illustration-wrapper {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 2.25rem;
  position: relative;
  transition: transform 0.3s ease;
}

.illustration-wrapper:hover {
  transform: translateY(-2px);
}

.construction-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.05));
}

/* Animações das luzes de alerta */
.glow-pulse {
  animation: light-pulse 1.8s infinite ease-in-out;
  transform-origin: center;
}

.delay-pulse {
  animation-delay: 0.9s;
}

@keyframes light-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* Cones e placas interativas */
.traffic-cone {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom center;
  cursor: pointer;
}

.traffic-cone:hover {
  transform: scale(1.05) rotate(2deg);
}

.cone-right:hover {
  transform: scale(1.05) rotate(-2deg);
}

/* Rodapé */
.page-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f4f4f5;
  width: 100%;
  font-size: 0.8rem;
  color: #a1a1aa;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Responsividade Mobile */
@media (max-width: 540px) {
  body {
    padding: 2rem 1rem;
  }

  .main-title {
    margin-bottom: 1.5rem;
  }

  .illustration-wrapper {
    max-width: 340px;
    margin-bottom: 1.5rem;
  }
}
