/* =============================================
   Santos Informática — style.css
   ============================================= */

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

:root {
  --black:      #0a0a0a;
  --black-2:    #111111;
  --black-3:    #1a1a1a;
  --red:        #991a1a;
  --red-dim:    rgba(180, 30, 30, 0.7);
  --white:      #ffffff;
  --gray-text:  #888888;
  --gray-dim:   #444444;
  --border:     rgba(255, 255, 255, 0.06);
}

html, body {
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow', Arial, sans-serif;
  font-weight: 400;
  min-height: 100vh;
}

/* ---- HERO ---- */
#hero {
  position: relative;
  width: 100%;
  height: 40vh;
  min-height: 240px;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#logo-block {
  position: relative;
  z-index: 10;
  text-align: center;
  user-select: none;
  pointer-events: none;
  animation: fadeInUp 1.2s ease both;
}

.logo-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.logo-name {
  font-family: 'Gloock', Georgia, serif;
  font-size: clamp(60px, 9vw, 120px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
  text-transform: lowercase;
}

.logo-sub {
  font-family: 'Barlow', Arial, sans-serif;
  font-size: clamp(9px, 1.4vw, 13px);
  font-weight: 300;
  letter-spacing: clamp(6px, 1.5vw, 12px);
  color: var(--white);
  text-transform: uppercase;
  margin-top: 6px;
  text-indent: 12px;
}

/* ---- LINHA DIVISÓRIA ---- */
.red-divider {
  position: relative;
  width: 100%;
  height: 1px;
  background: #6b1010;
  overflow: hidden;
}

.red-divider::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -80px;
  width: 80px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #ff4444 0%, #cc1111 40%, transparent 100%);
  animation: divider-pulse 3.5s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes divider-pulse {
  0%   { left: -80px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ---- CONTEÚDO ---- */
#content {
  background: var(--black-2);
  padding: 32px 5%;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gray-text);
  text-align: center;
  margin-bottom: 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background: var(--black-3);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 20px 12px 18px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
  border-color: var(--red-dim);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}

.service-card p {
  font-size: 11px;
  font-weight: 300;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ---- RESPONSÁVEL TÉCNICO ---- */
#about {
  background: var(--black);
  padding: 32px 5%;
  text-align: center;
}

.about-name {
  font-family: 'Gloock', Georgia, serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0px;
  margin-bottom: 6px;
}

.about-title {
  font-size: 12px;
  font-weight: 300;
  color: var(--gray-text);
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.about-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--black-3);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 400;
  color: var(--gray-text);
  letter-spacing: 0.5px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.badge:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

.badge-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ---- RODAPÉ — 3 blocos ---- */
#footer {
  background: var(--black);
  border-top: 0.5px solid var(--border);
  padding: 20px 5%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

/* ESQUERDA */
.footer-contacts {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-item .dot {
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-item a,
.footer-location {
  font-size: 12px;
  font-weight: 300;
  color: var(--gray-text);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.footer-item a:hover {
  color: var(--white);
}

/* CENTRO */
.footer-copy {
  font-size: 11px;
  font-weight: 300;
  color: var(--gray-dim);
  letter-spacing: 0.5px;
  text-align: center;
  white-space: nowrap;
}

/* DIREITA */
.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* ---- EASTER EGG: PAC-MAN + SANBOTAI ---- */
.pacman-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  opacity: 0.18;
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.pacman-link:hover {
  opacity: 1;
  transform: scale(1.08);
}

.pacman-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sanbotai-label {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.pacman-link:hover .sanbotai-label {
  color: var(--white);
}

/* ---- ANIMAÇÃO ENTRADA ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- RESPONSIVO — tablet (até 1024px): 3 colunas ---- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- RESPONSIVO — mobile (até 600px): 2 colunas ---- */
@media (max-width: 600px) {
  #hero {
    height: 45vh;
    min-height: 220px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-contacts {
    flex-direction: column;
    gap: 10px;
  }

  .footer-right {
    justify-content: flex-start;
  }

  .about-badges {
    flex-direction: column;
    align-items: center;
  }
}
