.page {
  flex: 1;
  display: flex;
  flex-direction: column;
}


.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

#home-hero {
  position: relative;
  overflow: hidden;
}

#hero-gl {
  position: absolute;
  inset: 0;
  pointer-events: none;
}



/* CANVAS */
#hero-gl {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* CONTEÚDO */
.hero__inner {
  position: center;
  z-index: 1;

  justify-content: center;
  margin: 0 auto;
  padding: 170px;

  display: grid;
  align-items: center;
  gap: 40px;
}

header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

#typing-text {
  display: inline-block;
  min-height: 1.2em;
  min-width: 10ch;
}



/* Coluna da direita */
.hero__content{
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 0 0;
}

.hero__text h1,
.hero__text p{
  margin: 0;
}

.hero__title{
  min-height: 1.2em; /* reserva espaço para 2 linhas */
}

/* ✅ AQUI é o “background só do texto” */
.hero__text{
  display: flex;
  color: var(--Gray-200);
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  align-self: center;
}

.aboutHome {
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  padding: 120px;

  background: var(--Gray-200);
}

.aboutHome__text{
  display: flex;
  color: var(--Green-400);
  flex-direction: column;
  text-align: center;
}

.aboutHome__text h1,
.hero__text p{
  margin: 0;
}

.casesHome{
  min-height: 100dvh;
  width: 100%;
  position: relative;

  background: url("/css/assets/images/cases.jpg") center / cover no-repeat;
  border-radius: 24px;
}

/* overlay */
.casesHome__overlay{
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 10, 0.45);
  backdrop-filter: blur(6px);
  border-radius: 24px;
  z-index: 1;
}

.casesHome__flow{
  min-height: 200dvh;
  padding: 120px 24px 200px;
  position: relative;
  z-index: 2;
}

.casesHome__container{
  position: sticky;
  top: calc(50dvh - var(--cases-half-height, 0px));

  max-width: 1200px;
  margin: 0 auto;
  color: var(--Gray-100);
  text-align: center;
}

/* botão */
.casesHome__container button{
  margin-top: 32px;
}