@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Space+Grotesk:wght@300..700&display=swap');

:root {
  --bg: #010001;
  --bg2: #FFFFFF;
  --txt1: #FFFFFF;
  --txt2: #B4B4C0;
  --txt3: #010001;

  --font-primary: 'Space Grotesk', sans-serif;
  --font-secondary: 'Exo 2', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
}

body {
  background-color: var(--bg);
  color: var(--txt1);
  font-family: var(--font-primary);
}

/* header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #333333;
  backdrop-filter: blur(2px);
  border-radius: 6px;
  flex-direction: row;
  margin: 30px auto 0;
  padding: 0 24px;
  width: min(100% - 48px, 1200px);
  height: 64px;
}

/* logo */
header #logo {
  filter: brightness(0) invert(1);
  width: 35px;
}

.header-menu > nav {
  display: block;
}

.header-menu ul {
  display: flex;
  list-style: none;
  gap: 32px;
  padding: 0;
}

/* menu "a" */
.header-menu ul li a {
  color: #b8b8b8;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.header-menu ul li a:hover,
.header-menu ul li a:focus-visible {
  color: #ffffff;
}

.header-menu ul li a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

/* hero section */
.hero-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 120px 0px 0px;
}

/* 3. Área de Conteúdo (Texto + Imagem) */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
    margin-top: 5vh;
    margin-left: clamp(24px, 22.9vw, 330px);
}

.hero-content h1 {
    font-family: var(--font-primary); /* Space Grotesk para o título */
    font-size: clamp(2.75rem, 5vw, 4.25rem);
    max-width: 600px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--txt1);
    text-shadow: 5px 5px 12px rgba(0, 0, 0, 0.993);
}

/* 4. Lista de Tags (WEB DESIGNER, etc) */
.hero-content p {
    font-family: var(--font-secondary); /* Exo 2 */
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--txt2); /* Cinza claro definido na variável */
    text-shadow: 5px 5px 12px rgba(0, 0, 0, 0.993);
}

.hero-tagline-final::before {
  content: '·';
  margin-inline: 0.45em;
}

.btn-hero{
  border-radius: 8px;
  border: 1px solid #B4B4C0;
  text-decoration: none;
  padding: 15px 30px 15px 30px;
  font-size: 1.5rem;
  font-family: var(--font-secondary);
  background-color: var(--txt2);
  border: none;
  cursor: pointer;
  z-index: 1;
  color: var(--bg);
  margin-top: 90px;
  position: relative;
  isolation: isolate;
}

/* 5. Vídeo (Posicionamento Absoluto) */
.hero-video {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100vw;
    z-index: -1;
    overflow: hidden;
}

  .hero-video video {
    width: 100%;
    height: auto;
    display: block;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 100%, black 100%);
    mask-image: linear-gradient(to right, transparent 15%, black 100%, black 100%);
}

/* 6. Rodapé (Cards) */
.hero-footer {
    display: flex;
    gap: 10px;
    width: 95%;
    margin: 0 auto;
}

.tech-item {
    font-family: var(--font-secondary); /* Exo 2 */
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.15); /* Borda sutil usando branco com opacidade */
    background-color: rgba(1, 0, 1, 0.6); /* Usa o tom do --bg com transparência */
    backdrop-filter: blur(10px);
    padding: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--txt1);
    border-radius: 4px;
}
/* Efeito hover nos cards */

.problema-container,
.solucao-container,
.servicos-container,
.processo-container,
.sobre-container {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
  padding: 112px 0;
  scroll-margin-top: 32px;
  background-color: #000000;
  color: #ffffff;
  font-family: var(--font-primary);
}

.problema-container h2,
.solucao-container h2,
.servicos-container h2,
.processo-container h2,
.sobre-container h2,
.contato-container h2 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.2;
  margin-bottom: 24px;
  text-wrap: balance;
}

.no-wrap {
  white-space: nowrap;
}

.eyebrow {
  color: #b8b8b8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  margin-bottom: 20px;
}

.section-copy,
.problema-lista,
.pilar p,
.servico-card p,
.processo-etapa p {
  color: #b8b8b8;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}

.problema-layout,
.solucao-intro,
.servicos-intro,
.processo-intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

.solucao-intro > *,
.servicos-intro > *,
.processo-intro > * {
  grid-column: 1 / 8;
}

.problema-intro {
  grid-column: 1 / -1;
  max-width: 780px;
}

.problema-layout {
  row-gap: 24px;
}

.problema-lista {
  grid-column: 1 / -1;
  list-style: none;
  margin-top: 28px;
  overflow: visible;
  padding: 0;
  position: relative;
  isolation: isolate;
}

.problema-lista > .problema-trilha {
  inset: 0;
  min-height: 0;
  padding: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.problema-trajeto {
  height: 100%;
  left: 0;
  overflow: visible;
  position: absolute;
  top: 0;
  width: 100px;
}

.problema-trajeto path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.trajeto-base {
  stroke: #333333;
}

.trajeto-animado {
  stroke: #ffffff;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.problema-lista > .problema-item {
  align-items: center;
  display: flex;
  min-height: 100px;
  padding: 12px 0 12px 132px;
  position: relative;
  z-index: 1;
}

.problema-item > span:last-child {
  color: #b8b8b8;
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 720px;
  text-wrap: balance;
}

.problema-ponto {
  background-color: #000000;
  border: 1px solid #777777;
  border-radius: 50%;
  height: 10px;
  left: 21px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
}

.problema-item--direita .problema-ponto {
  left: 67px;
}

.problema-fechamento,
.solucao-destaque,
.processo-fechamento,
.sobre-destaque {
  color: #ffffff;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.4;
}

.problema-fechamento {
  margin-top: 56px;
}

.solucao-intro .section-copy,
.servicos-intro .section-copy {
  max-width: 620px;
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.pilar {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 255, 255, 0.08), transparent 55%),
    #0a0a0a;
  border-radius: 8px;
  min-height: 220px;
  padding: 28px;
}

.pilar-numero,
.servico-numero,
.processo-numero {
  color: #b8b8b8;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.pilar h3,
.servico-card h3,
.processo-etapa h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin: 24px 0 12px;
  text-wrap: balance;
}

.solucao-destaque {
  margin-top: 72px;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}

/* O fundo sutil separa os serviços sem competir com a tipografia. */
.servico-card {
  background-color: #0a0a0a;
  border: 1px solid #333333;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: 0 28px 28px;
  transition: border-color 220ms ease, transform 220ms ease;
}

.servico-card:hover {
  border-color: #777777;
  transform: translateY(-6px);
}

.servico-visual {
  aspect-ratio: 4 / 3;
  margin: 0 -28px 24px;
  overflow: hidden;
  position: relative;
}

.servico-visual--landing,
.servico-visual--institutional {
  align-items: center;
  background:
    radial-gradient(ellipse at 70% 38%, rgba(255, 255, 255, 0.1), transparent 42%),
    linear-gradient(145deg, #171717, #050505 72%);
  display: flex;
  justify-content: center;
  padding: 8%;
}

.preview-window {
  background-color: #080808;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7);
  height: 100%;
  overflow: hidden;
  transition: transform 400ms ease;
  width: 100%;
}

.servico-card:hover .preview-window {
  transform: perspective(700px) rotateY(-3deg) translateY(-3px);
}

.preview-chrome {
  align-items: center;
  border-bottom: 1px solid #252525;
  display: flex;
  gap: 5px;
  height: 18px;
  padding: 0 8px;
}

.preview-chrome i {
  background-color: #777777;
  border-radius: 50%;
  height: 4px;
  width: 4px;
}

.preview-content {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 0.8fr;
  height: calc(100% - 18px);
  padding: 10%;
}

.preview-copy {
  display: grid;
  gap: 8px;
}

.preview-title,
.preview-line,
.preview-cta {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  display: block;
  height: 5px;
}

.preview-title {
  height: 9px;
  margin-bottom: 3px;
  width: 82%;
}

.preview-line {
  background-color: rgba(255, 255, 255, 0.25);
  width: 100%;
}

.preview-line--short {
  width: 68%;
}

.preview-cta {
  height: 9px;
  margin-top: 5px;
  width: 42%;
}

.preview-artwork {
  align-items: end;
  background:
    linear-gradient(180deg, transparent 36%, rgba(255, 255, 255, 0.08)),
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(255, 255, 255, 0.09) 12px 13px),
    #121212;
  border: 1px solid #353535;
  display: flex;
  gap: 5px;
  height: 84%;
  justify-content: center;
  overflow: hidden;
  padding: 0 8%;
}

.preview-artwork span {
  background: linear-gradient(180deg, #696969, #1b1b1b);
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 60%;
  width: 24%;
}

.preview-artwork span:nth-child(2) {
  height: 92%;
}

.preview-artwork span:nth-child(3) {
  height: 74%;
}

.preview-building {
  background:
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.12) 19px 20px),
    repeating-linear-gradient(0deg, transparent 0 16px, rgba(255, 255, 255, 0.1) 17px 18px),
    linear-gradient(145deg, #252525, #080808 70%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  height: 74%;
  position: relative;
  transform: perspective(500px) rotateY(-12deg);
  transition: transform 400ms ease;
  width: 68%;
}

.preview-building::before,
.preview-building::after {
  background:
    repeating-linear-gradient(0deg, transparent 0 11px, rgba(255, 255, 255, 0.12) 12px 13px),
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(255, 255, 255, 0.12) 10px 11px),
    linear-gradient(145deg, #333333, #0a0a0a);
  border: 1px solid rgba(255, 255, 255, 0.18);
  bottom: 0;
  content: '';
  position: absolute;
  width: 28%;
}

.preview-building::before {
  height: 88%;
  left: 20%;
}

.preview-building::after {
  height: 62%;
  right: 10%;
}

.servico-card:hover .preview-building {
  transform: perspective(500px) rotateY(-5deg) scale(1.03);
}

.servico-visual::after {
  background: linear-gradient(180deg, transparent 65%, #0a0a0a 100%);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.servico-visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  width: 100%;
}

.servico-card:hover .servico-visual img {
  transform: scale(1.04);
}

.servico-card h3 {
  margin: 24px 0 16px;
}

.servico-card .servico-entregas {
  font-size: 0.875rem;
  margin-top: auto;
  padding-top: 24px;
}

.btn-secundario,
.btn-primario {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease,
    color 160ms ease;
  white-space: nowrap;
}

.btn-secundario {
  border: 1px solid #333333;
  color: #ffffff;
  margin-top: 32px;
}

.btn-secundario:hover,
.btn-secundario:focus-visible {
  border-color: #ffffff;
}

.processo-lista {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  position: relative;
}

.processo-etapa {
  align-items: start;
  background-color: #0a0a0a;
  border-radius: 8px;
  display: grid;
  gap: 24px;
  grid-template-columns: 64px minmax(0, 1fr);
  margin-bottom: 12px;
  padding: 24px;
  position: relative;
}

.processo-etapa > .processo-numero {
  align-items: center;
  background-color: #000000;
  border: 1px solid #555555;
  border-radius: 50%;
  display: flex;
  height: 64px;
  justify-content: center;
  position: relative;
  width: 64px;
}

.processo-etapa h3 {
  margin: 0 0 8px;
}

.processo-etapa p {
  max-width: 640px;
}

.processo-fechamento {
  margin-top: 40px;
}

.sobre-container {
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
}

.sobre-conteudo {
  max-width: 780px;
}

.sobre-conteudo .section-copy + .section-copy {
  margin-top: 20px;
}

.sobre-destaque {
  margin-top: 40px;
}

.sobre-visual {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.sobre-visual img {
  display: block;
  height: auto;
  transition: transform 500ms ease;
  width: 100%;
}

.sobre-visual:hover img {
  transform: scale(1.035);
}

.sobre-visual figcaption {
  background-color: rgba(0, 0, 0, 0.8);
  bottom: 0;
  color: #b8b8b8;
  font-size: 0.8rem;
  left: 0;
  padding: 14px 18px;
  position: absolute;
  right: 0;
}

.contato-container {
  background-color: #000000;
  color: #ffffff;
  font-family: var(--font-primary);
  padding: 104px 24px;
  scroll-margin-top: 32px;
  text-align: center;
}

.contato-conteudo {
  margin: 0 auto;
  max-width: 680px;
}

.contato-conteudo .section-copy {
  margin: 0 auto 32px;
  max-width: 560px;
}

.btn-primario {
  background-color: #ffffff;
  border: 1px solid #ffffff;
  color: #000000;
}

.btn-primario:hover,
.btn-primario:focus-visible {
  background-color: #b8b8b8;
  border-color: #b8b8b8;
}

.contato-microcopy {
  color: #b8b8b8;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 20px;
}

footer {
  background-color: #000000;
  color: #b8b8b8;
  font-family: var(--font-primary);
  padding: 32px 24px;
}

.footer-conteudo {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto 1fr;
  margin: 0 auto;
  max-width: 1200px;
}

.footer-marca {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-nav a {
  color: #b8b8b8;
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #ffffff;
}

.footer-copyright {
  font-size: 0.75rem;
  text-align: right;
}

.scroll-reveal {
  opacity: 1;
  translate: 0 0;
}

/* As animações acompanham a posição da rolagem e revertem naturalmente ao subir. */
@supports (animation-timeline: view()) {
  .problema-trajeto .trajeto-animado {
    animation: desenha-trajeto linear both;
    animation-range: entry 0% exit 100%;
    animation-duration: auto;
    animation-timeline: view();
  }

  .scroll-reveal {
    animation: reveal-on-scroll linear both;
    animation-range: entry 0% cover 35%;
    animation-duration: auto;
    animation-timeline: view();
  }

  .parallax-layer {
    animation: parallax-drift linear both;
    animation-range: entry 0% exit 100%;
    animation-duration: auto;
    animation-timeline: view();
  }
}

@keyframes desenha-trajeto {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes reveal-on-scroll {
  from {
    opacity: 0;
    scale: 0.97;
    translate: 0 56px;
  }

  to {
    opacity: 1;
    scale: 1;
    translate: 0 0;
  }
}

.parallax-layer--slow {
  --parallax-start: 48px;
  --parallax-end: -48px;
}

.parallax-layer--fast {
  --parallax-start: 88px;
  --parallax-end: -88px;
}

@keyframes parallax-drift {
  from {
    transform: translate3d(0, var(--parallax-start, 56px), 0);
  }

  to {
    transform: translate3d(0, var(--parallax-end, -56px), 0);
  }
}

.btn-secundario:focus-visible,
.btn-primario:focus-visible,
.footer-nav a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

