  :root {
      --verde-lima: #606c38;
      --verde-lima-claro: #91a54e;
      --verde-esc: #283618;
      --branco: #fefae0;
      --bege: #dda15e;
      --ouro: #bc6c25;
      --preto: #0e0d0d;
  }

  ::-webkit-scrollbar {
      display: none;
  }


  @font-face {
      font-family: "harmond";
      src: url(../assests/fonts/Harmond/Harmond/Harmond-SemBdItaCond.otf);
  }




* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: "outfit";
  background-color: var(--branco);
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
    text-decoration: none;
}


h1 {
    font-size: 5vw;
    color: var(--ouro);
}

h1 span {
    color: var(--verde-esc);
    font-family: "harmond";
    font-size: 6vw;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100000;
}







.hero,
.main,
.footer {
  position: relative;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--preto);
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 5vw;
  color: var(--branco);
  margin: 0 2em;
}

.hero h1 span {
  font-family: "harmond";
  font-size: 6vw;
  color: var(--verde-lima);
}

.footer {
  height: 50vh;
  align-items: flex-start;
}

.footer h1 {
  font-size: 4vw;
  color: var(--branco);
}

.main {
  width: 100vw;
  height: 150vh;
  flex-direction: column;
}

.row {
  position: relative;
  width: 100%;
  margin: 1em 0;
  display: flex;
  justify-content: center;
  gap: 2em;
}

.card {
  position: relative;
  width: 40%;
  height: 360px;
  border-radius: 0.75em;
  overflow: hidden;
  will-change: transform;
}

.main-content {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-card {
  width: 150px;
  height: 150px;
  border: 2px solid #fff;
  border-radius: 100%;
  overflow: hidden;
  transform: scale(0);
}

.copy {
  margin: 2em 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.line {
  position: relative;
  margin: 0.5em 0;
  width: max-content;
  height: 28px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.line p {
  position: relative;
  font-size: 24px;
  transform: translateY(30px);
  color: var(--branco);
}

button {
  position: relative;
  padding: 1em 2em;
  font-size: 18px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 8em;
  background: none;
  outline: none;
  transform: translateY(30px);
  opacity: 0;
}

.btn:hover {
  background-color: var(--verde-lima);
  cursor: pointer;
  transition: 0.3s;
}

@media (max-width: 900px) {
  .card {
    width: 50%;
    height: 240px;
  }
}









.hero-second,
.intro,
.outro {
  position: relative;
  width: 100vw;
  height: 100vh;
  padding: 2em;
}

.hero-second {
  padding: 0;
}

.intro,
.outro {
  background-color: var(--branco);
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro p {
  margin-top: 2em;
  font-size: 1.25rem;
  max-width: 600px;
  line-height: 1.5em;
  color: var(--preto);
  text-align: justify;
}

.intro h1,
.outro h1 {
  margin-bottom: 0;
}

.card-fixed {
  position: relative;
}

.card-inner {
  position: relative;
  will-change: transform;
  width: 100%;
  height: 100%;
  padding: 2em;
  display: flex;
  gap: 4em;
}

.card-content {
  flex: 3;
}

.card-img {
  flex: 1;
  aspect-ratio: 16 / 9;
  border-radius: 0.75em;
  overflow: hidden;
}

#card-1 .card-inner,
#card-6 .card-inner,
#card-11 .card-inner {
  background-color: var(--verde-lima-claro);
  h1 {
    color: var(--verde-esc);
  }
}

#card-2 .card-inner,
#card-7 .card-inner {
  background-color: var(--branco);
}

#card-3 .card-inner,
#card-8 .card-inner {
  background-color: var(--bege);
  h1 {
    color: var(--preto);
  }
}

#card-4 .card-inner,
#card-9 .card-inner {
  background-color: var(--preto);
  color: #fff;
}

#card-5 .card-inner,
#card-10 .card-inner {
  background-color: var(--ouro);
  h1 {
    color: var(--branco);
  }
}




.work-item {
  height: 150svh;
  position: relative;
  width: 100vw;
  overflow: hidden;
  text-align: center;
}

.work-item-img {
  position: absolute;
  width: 100%;
  height: 100%;
  clip-path: polygon(25% 25%, 75% 40%, 100% 100%, 0% 100%);
  will-change: clip-path;
}

.work-item-name {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 1;
}

.work-item-name h1 {
  color: var(--branco);
  background-color: var(--ouro);
}




@media (max-width: 900px) {
  html,
  body {
    height: 100%;
    width: 100vw !important;
  }

  nav {
    position: absolute !important;
    top: 0;
    left: 0;
    z-index: 9999999 !important;
  }

  .hero {
    height: 50vh;
    padding: 4em 2em 2em 2em;
    width: 100vw;
  }

  .hero h1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 7vw;
  }

  .hero h1 span {
    font-size: 8.5vw;
    color: var(--ouro);
  }

  .main {
    height: auto;
    padding: 1rem;
  }

  .main-content {
    top: 35%;
    padding: 1rem;
  }

  .logo-card {
    width: 100px;
    height: 100px;
  }

  .copy {
    width: 90%;
  }

  .line p {
    font-size: 1.2rem;
  }

  .card {
    width: 75%;
    height: 135px;
  }

  .row {
    width: 100vw;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    overflow: hidden;
  }

  .footer {
    height: auto;
    padding: 2em 1em;
}

  .footer h1 {
    font-size: 2.5rem;
    text-align: center;
  }


  .intro {
    height: 100vh;
    padding: 2em 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .intro h1 {
    font-size: 8vw;
  }

  .intro h1 span {
    font-size: 15vw;
  }

  .cards-fixed {
    height: auto;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card-fixed {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .card-inner {
    display: flex;
    flex-direction: column;
    padding: 1em;
    gap: 2em;
  }


  .card-img {
    display: none;
  }

  .card-content h1 {
    font-size: 10vw;
    padding-bottom: 1rem;
  }

  .card-content p {
    font-size: 1rem;
    text-align: justify;

}

.outro {
  height: 50vh;
  width: 100vw;
}

.outro h1 {
     white-space: nowrap;
     text-align: center;
    font-size: 2rem;
}


.work-item {
  display: none;
}
}


.sticky-cards {
  position: relative;
  width: 100vw;
  background-color: var(--preto);
}

.card-sticky {
  position: sticky;
  width: 100%;
  height: 125svh;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card-inner-sticky {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform-origin: 50% 100%;
  will-change: transform;
  text-align: center;
}

#card-1 .card-inner-sticky,
#card-5 .card-inner-sticky,
#card-9 .card-inner-sticky {
  background-color: var(--branco);
}

#card-2 .card-inner-sticky,
#card-6 .card-inner-sticky,
#card-10 .card-inner-sticky {
  color: var(--preto);
  background-color: var(--bege);
  h1 {
    color: var(--verde-esc);
  }
}

#card-3 .card-inner-sticky,
#card-7 .card-inner-sticky,
#card-11 .card-inner-sticky {
  background-color: var(--ouro);
  color: var(--branco);
  h1 {
    color: var(--branco);
  }
}

#card-4 .card-inner-sticky,
#card-8 .card-inner-sticky {
  background-color: var(--verde-esc);
  h1 {
    color: var(--verde-lima);
  }
  color: var(--branco);
}

.card-info {
  width: 25%;
  padding: 4em;
  text-align: left;
}

.card-info p {
  font-size: 0.9rem;
}

.card-title h1 {
  font-size: 10rem;
  padding: 2rem 0;
}

.card-description {
  width: 60%;
  margin: 0 auto 2em auto;
}

.card-description p {
  font-size: 1.5rem;
}

.card-img-sticky {
  width: 100%;
  height: 100%;
  margin-top: 4em;
  overflow: hidden;
}

.card-inner-sticky::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--preto);
  opacity: var(--after-opacity, 0);
  will-change: opacity;
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 900px) {
  .card-description {
    width: calc(100% - 4rem);
    font-size: 3rem;
    margin: 0 auto;
  }

  .card-info {
    width: 75%;
    margin: 0 auto;
    padding: 4em 2em;
    text-align: center;
  }

  .card-title h1 {
    font-size: 3rem;
  }

  .card-description p {
    font-size: 1.25rem;
  }
}


/* Esconde a sticky-cards em telas maiores que 768px */
@media (min-width: 900px) {
  .sticky-cards {
    display: none;
  }
}

/* Garante que a sticky-cards apareça em telas menores que 768px */
@media (max-width: 900px) {
  .sticky-cards {
    display: block; /* Ou display: flex; dependendo do layout */
  }
}
