@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400&family=Playfair+Display:wght@400&display=swap");

@font-face {
  font-family: 'Helvetica Neue';
  src: url('fonts/HelveticaNeue.woff2') format('woff2'),
       url('fonts/HelveticaNeue.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* RESET E BOX-SIZING */
*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, a, button {
  cursor: none !important;
}

html {
  font-size: calc(100vw / 1512 * 10);
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #000;
  color: #fff;
  height: 100vh;
  overflow: hidden;
  cursor: none;
}

body:active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* CORES */
:root {
  --primary: #807a74; /* FELDGRAU */
  --secondary: #f0dbc8; /* SHEEPSKIN */
}

/* NAVBAR */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px 0 40px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000000001;
}

.navbar-left {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 4.2rem;
  margin-right: 6px;
}

.navbar-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-decoration: none;
}
.navbar-right {
  display: flex;
  align-items: center;
}

.navbar-menu-label {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  margin-right: 12px;
  letter-spacing: 1px;
}

/* MENU TOGGLE */
.menu-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  z-index: 10000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle-bar {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(.68,-0.55,.27,1.55);
}

.menu-toggle-bar:nth-child(1) { top: 12px; }
.menu-toggle-bar:nth-child(2) { top: 18px; }
.menu-toggle-bar:nth-child(3) { top: 24px; }

/* CÍRCULO */
.menu-toggle-circle {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  background-color: #ffffff00;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s, transform 0.4s;
  pointer-events: none;
}

/* ESTADO ATIVO (CRUZ + CÍRCULO) */
.menu-toggle.open .menu-toggle-bar:nth-child(1) {
  top: 18px;
  transform: rotate(45deg);
}
.menu-toggle.open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open .menu-toggle-bar:nth-child(3) {
  top: 18px;
  transform: rotate(-45deg);
}
.menu-toggle.open .menu-toggle-circle {
  opacity: 1;
  transform: scale(1);
}

/* FULLSCREEN MENU */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(to right, #807a74 50%,  #dcc8b6 50%);
  overflow: hidden;
  color: #fff;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation-delay: 1s;
  transform: translateX(100%);
  animation: ease-in-out 1s;
  transform: translatey(-100%);
  transition: transform 1s cubic-bezier(.40,-0.30,.10,1), 
              opacity 0.8s;
}

.fullscreen-menu.open {
  opacity: 1;
  transform: translateX(0%);
}

.fullscreen-menu-nav {
  width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}

.fullscreen-menu-nav ul {
  width: 100vw;
  letter-spacing: -0.02rem;
  max-width: none;
  padding: 0;
  margin: 10rem;
  text-align: left;
  justify-content: center;
  display: block;
  text-decoration: none;
  list-style-type: none;
  font-family: Helvetica;
  
}

.fullscreen-menu-logo2 {
  width: 30rem;
  height: 30rem;
  max-width: none;
  padding: 0;
  margin: 30rem;  
  justify-content: center;
}

.fullscreen-menu-nav ul li {
  margin-left: 0rem;
}

.fullscreen-menu-nav ul li a {
  display: block;
  font-family: 'HELVETICA NEUE', sans-serif;
  width: 60%;
  padding: 2rem 0rem;
  background: transparent;
  color: white;
  letter-spacing: 0rem;
  font-size: 7rem;
  text-decoration: none;
  font-weight: 400;
  
  line-height: 1;
  max-width: 80%;  
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.33, 1, 0.68, 1);
  z-index: 1;
  border-radius: 0;
  position: relative;
}

.fullscreen-menu-nav ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80%;
  height: 0%;
  background: linear-gradient(to top, #ffffff 70%, #ffffff 100%);
  z-index: -1;
  transition: height 0.8s cubic-bezier(.68,-0.55,.27,1.55);
}

.fullscreen-menu-nav ul li a:hover::before {
  height: 100%;
  width: 80%;
}

.fullscreen-menu-nav ul li a:hover {
  color: #807a74;
}

.fullscreen-menu-nav ul li a span {
  position: relative;
  z-index: 2;
}

/* INFORMAÇÃO FIXA */
.information p, .information2 p {
  position: fixed;
  bottom: 12.5rem;
  font-size: 1.2rem;
  font-weight: 200;
  opacity: 0.7;
  z-index: 10;
  max-width: 30rem;
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  text-align: justify;
}

.information p { left: 82rem; }
.information2 p { left: 124rem; }

/* CONTAINER CLONEABLE */
.cloneable {
  padding: var(--section-padding) var(--container-padding);
  justify-content: center;
  align-items: center;
  min-height: 100svh;
  display: flex;
  position: relative;
  --menu-padding: 2em;
}

/* PANELS HORIZONTAL */
.horizontal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.panels-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  will-change: transform;
}

.panel {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* SPLIT PANEL */
.panel-split {
  display: flex;
}

.panel-left,
.panel-right {
  width: 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5% 5%;
}

.panel-left {
  background-color: var(--primary);
  color: white;
}

.panel-right {
  background-color: var(--secondary);
  color: black;
}

/* FULL PANEL */
.panel-full {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-full-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 110%;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: 1;
  transform: translate(0, 0);
  will-change: transform;
}

.panel-full-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.panel-full-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  padding: 0 5%;
  color: white;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.panel-content {
  max-width: 80%;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.panel.active .panel-content,
.panel.active .panel-full-content {
  opacity: 1;
  transform: translateY(0);
}

/* TITULOS, SUBTITULOS, CHAPTERS */
.chapter {
  
  margin-bottom: 2rem;
  font-size: clamp(6rem, 4vw, 2rem);
  font-family: 'playfair display', serif;
  
}

.title {
  font-family: 'helvetica neue', sans-serif;
  font-size: clamp(2.5rem, 3.5vw, 1.5rem);
  margin-bottom: 2rem;
  line-height: 1;
  }

.subtitle {
  font-family: "helvetica neue", sans-serif;
  font-size: clamp(1.5rem, 1.5vw, 2rem);
  margin-bottom: 3rem;
  letter-spacing: -0.03em;
  line-height: 1;
  font-weight: 400;
}

.split-text {
  font-size: clamp(1.8rem, 2.2vw, 2.1rem);
  line-height: 1.2;
  font-family:"helvetica neue", sans-serif;
  font-weight: 400;
}
.split-text2 {
  font-size: clamp(4rem, 4vw, 2rem);
  line-height: 1.2;
  font-family:"Playfair Display", serif;
}

.text p {
  margin-bottom: 1.2rem;
}

.quote {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  position: relative;
}

.author {
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.image-container {
  width: 100%;
  max-width: 450px;
  height: 250px;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 110%;
  -o-object-fit: cover;
  object-fit: cover;
  transform: translate(0, 0);
  will-change: transform;
}

/* NAVIGATION */
.navigation {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 100;
  color: white;
  mix-blend-mode: difference;
}

.nav-progress {
  width: 150px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.nav-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: white;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

.nav-text {
  font-size: 0.8rem;
}

/* SPLIT-TEXT ANIMATIONS */
.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.6s ease;
  overflow: hidden;
}

.panel.active .word {
  opacity: 1;
  transform: translateY(0);
}

.panel.was-active .word {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

.word-parallax {
  display: inline-block;
  will-change: transform;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .panel-split {
    flex-direction: column;
  }

  .panel-left,
  .panel-right {
    width: 100%;
    height: 50%;
    padding: 2rem;
  }

  .panel-content,
  .panel-full-content {
    max-width: 100%;
  }

  .title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.5rem;
  }

  .image-container {
    height: 180px;
  }

  .slide__text {
    bottom: 3rem;
    left: 2rem;
    max-width: 90%;
  }

  .slide__text-line {
    font-size: 3rem;
  }
}

/* CURSOR */
.cursor {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  border: 1px solid white;
  background-color: rgba(192, 192, 192, 0.774);
  transition: all 200ms ease-out;
  position: fixed;
  pointer-events: none;
  left: 0;
  top: 0;
  transform: translate(calc(-50% + 15px), -50%);
  z-index: 2000;
}

.cursor2 {
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background-color: rgb(0, 70, 78);
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width .3s, height .3s, opacity .3s;
  z-index: 2000;
}

.hover { background-color: blue; opacity: 0.5; }

.cursorinnerhover {
  width: 50px;
  height: 50px;
  opacity: .5;
}

/* ARVORE */
.arvore img {
  position: fixed;
  bottom: -5rem;
  left: 73rem;
  width: 80rem;
  height: 80rem;
  opacity: 0.8;
  z-index: 1;
}

/* SOCIAL BUTTONS */
.social-button-container {
  position: fixed;
  bottom: 10rem;
  left:10rem;
  font-size: 1.2rem;
  font-weight: 200;
  opacity: 0.7;
  z-index: 10;
  max-width: 60rem;
  font-family: 'Roboto Condensed', sans-serif;
  text-align: justify;
  text-transform: uppercase;
}

.social-button {
  flex: 1;
  padding: 2rem;
  text-align: center;
  font-size: 2rem;
  text-decoration: none;
  color: white;
  border: 0.16rem solid white;
  background-color: transparent;
  transition: all 0.3s ease;
  font-family: 'Helvetica Neue', sans-serif;
  margin: 3rem;
  z-index: 100000000000001;
}

.social-button:hover {
  background-color: white;
  color: black;
}

.social-icon {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15); /* semi-transparente */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
}

.next-section-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.square-btn {
  width: 6rem;
  height: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0.2rem solid rgb(4, 4, 4);
  color: rgb(8, 8, 8);
  text-decoration: none;
  font-size: 3rem;
  transition: all 0.3s ease;
  
}

.square-btn:hover {
  background: white;
  color: black;
  transform: scale(1.1);
  border: 0.2rem solid white;
}




