/* Printifica 3D — página temporária institucional (estática, sem JavaScript).
   Cores e fontes do site definitivo; fontes locais (SIL OFL, ver fonts/OFL-*.txt). */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-v22.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/manrope-latin-v20.woff2") format("woff2");
}

:root {
  --bg: #08090c;
  --bg-card: #101218;
  --text: #eef0f3;
  --text-muted: #9aa0ab;
  --roxo: #c14dff;
  --azul: #2ea6ff;
  --gradient: linear-gradient(120deg, #c14dff, #2ea6ff);
  --on-gradient: #0a0b0e;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.16);
  --laranja: #ff8a1f;
  --container: 1120px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Brilhos discretos de roxo e azul + grade técnica muito suave */
  background:
    radial-gradient(
      60rem 36rem at 15% -10%,
      rgba(193, 77, 255, 0.16),
      transparent 60%
    ),
    radial-gradient(
      50rem 32rem at 95% 10%,
      rgba(46, 166, 255, 0.12),
      transparent 60%
    ),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 48px
      48px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0
      0 / 48px 48px,
    var(--bg);
  background-attachment: scroll;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

::selection {
  background: rgba(193, 77, 255, 0.3);
}

:where(a, button):focus-visible {
  outline: 2px solid var(--roxo);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pular {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.pular:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.gradiente {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Rótulos ---------- */
.rotulo {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b98cff;
}

.rotulo--suave {
  color: var(--text-muted);
}

/* ---------- Hero ---------- */
.hero {
  padding: 40px 0 72px;
  text-align: center;
}

.hero__conteudo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  width: min(300px, 70vw);
  height: auto;
  aspect-ratio: 1 / 1;
  /* A logo tem fundo preto (sem transparência): "lighten" funde esse fundo com a página
     sem alterar o arquivo nem as cores do símbolo */
  mix-blend-mode: lighten;
  margin-bottom: 8px;
}

.selo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(16, 18, 24, 0.7);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.selo__ponto {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 10px rgba(193, 77, 255, 0.7);
}

.hero__titulo {
  margin: 0 0 18px;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__subtitulo {
  margin: 0 0 12px;
  max-width: 40ch;
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  font-weight: 600;
  color: var(--text);
}

.hero__texto {
  margin: 0 0 32px;
  max-width: 52ch;
  color: var(--text-muted);
}

.hero__acoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Botões ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.botao--principal {
  background: var(--gradient);
  color: var(--on-gradient);
  box-shadow: 0 10px 30px -10px rgba(193, 77, 255, 0.6);
}

.botao--principal:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(46, 166, 255, 0.6);
}

.botao--secundario {
  border: 1px solid var(--border-hover);
  background: rgba(16, 18, 24, 0.6);
  color: var(--text);
}

.botao--secundario:hover {
  border-color: rgba(193, 77, 255, 0.55);
  background: rgba(193, 77, 255, 0.08);
}

.botao__icone {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Seções ---------- */
.secao {
  padding: 56px 0;
}

.secao--estreita {
  padding: 24px 0;
}

.secao__titulo {
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ---------- Serviços ---------- */
.servicos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.servico {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    linear-gradient(
      160deg,
      rgba(193, 77, 255, 0.06),
      rgba(46, 166, 255, 0.03) 60%
    ),
    var(--bg-card);
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}

.servico:hover {
  border-color: rgba(193, 77, 255, 0.4);
  transform: translateY(-3px);
}

.servico__icone {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(193, 77, 255, 0.12);
  fill: none;
  stroke: #d08bff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.servico:nth-child(even) .servico__icone {
  background: rgba(46, 166, 255, 0.12);
  stroke: #6cc0ff;
}

.servico__titulo {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}

.servico__texto {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---------- Região ---------- */
.regiao {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    linear-gradient(120deg, rgba(193, 77, 255, 0.14), rgba(46, 166, 255, 0.1)),
    var(--bg-card);
}

.regiao__icone {
  width: 52px;
  height: 52px;
  flex: none;
  padding: 12px;
  border-radius: 14px;
  background: rgba(8, 9, 12, 0.6);
  fill: none;
  stroke: #d08bff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.regiao__titulo {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
}

.regiao__texto {
  margin: 0;
  color: var(--text-muted);
}

/* ---------- Novidades (discreta) ---------- */
.novidades {
  padding: 26px 28px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  text-align: center;
}

.novidades__titulo {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
}

.novidades__texto {
  margin: 0 auto;
  max-width: 56ch;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---------- Contato ---------- */
.contato {
  padding-bottom: 72px;
  text-align: center;
}

.contato__conteudo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contato .secao__titulo {
  margin-bottom: 12px;
}

.contato__texto {
  margin: 0 0 28px;
  color: var(--text-muted);
}

.telefone,
.instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 18px;
  padding: 8px 4px;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.telefone + .instagram {
  margin-top: 2px;
}

.telefone:hover,
.instagram:hover {
  color: var(--text);
}

.telefone svg,
.instagram svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Rodapé ---------- */
.rodape {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.rodape__conteudo {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.rodape p {
  margin: 0;
}

.credito {
  display: inline-block;
  padding: 4px 2px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.credito:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.credito__mais {
  color: var(--laranja);
}

/* ---------- Entrada suave (só sem "reduzir movimento") ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__conteudo > * {
    animation: surgir 0.7s ease both;
  }
  .hero__conteudo > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero__conteudo > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .hero__conteudo > :nth-child(4) {
    animation-delay: 0.24s;
  }
  .hero__conteudo > :nth-child(5) {
    animation-delay: 0.32s;
  }
  .hero__conteudo > :nth-child(6) {
    animation-delay: 0.4s;
  }

  @keyframes surgir {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .servicos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  .hero {
    padding: 24px 0 56px;
  }
  .hero__acoes,
  .hero__acoes .botao,
  .contato .botao--principal {
    width: 100%;
  }
  .servicos {
    grid-template-columns: 1fr;
  }
  .regiao {
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px;
  }
  .novidades {
    padding: 22px 18px;
  }
  .rodape__conteudo {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
