* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: #151515;
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  font-size: 16px;
}

body {
  height: 100%;
  background: #151515;
  color: #eee;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 40;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  box-sizing: border-box;
  max-width: 100%;
}

.nav {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 3.125rem;
}

.nav-center {
  display: inline-block;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.25rem;
}

.hero {
  min-height: 100vh;
  min-width: 47vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 350;
  -webkit-text-stroke: 3.5px;
  font-size: 4.5rem;
  letter-spacing: 1rem;
  color: #f5f5f5;
  margin-top: 8.5rem;
  margin: 0 auto;
  padding: 0;
  margin-left: 17px;
}

/* ===================== MENU ===================== */
body.galeria-page .nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 3.125rem;
  /* antes 20px 50px */
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  z-index: 40;
}

body.galeria-page .nav-center {
  display: inline-block;
  margin-left: 0px;
}

body.galeria-page .nav-center a {
  color: #fff;
  text-decoration: none;
  transition: text-shadow 0.8s ease;
  letter-spacing: 0.25rem;
}

body.galeria-page .nav-center a:hover {
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.8),
    0 0 16px rgba(168, 85, 247, 0.6),
    0 0 24px rgba(168, 85, 247, 0.4);
}

/* ===================== AURA TOPO ===================== */
.aura-top {
  position: relative;
  height: 6.25rem;
  /* antes 100px */
}

.aura-top .nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  /* manter igual, relativo à altura */
}

/* ===================== TÍTULO / TONY FÉLIX ===================== */
body.galeria-page .hero {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0;
  /* antes 0px */
  text-align: center;
}

body.galeria-page .hero-title {
  margin: 0;
  /* remove margem antiga */
  padding-top: 1.875rem;
  /* antes 30px */
  margin-bottom: 3.125rem;
  /* antes 50px */
}

/* ===================== INICIAR CONVERSA GALLERY ===================== */
.galleryBtn {
  margin-top: 3.125rem;
  /* antes 50px */
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 1.3125rem;
  /* antes 21px */
  background-color: #151515;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 0;
  padding: 0.6875rem 2.25rem;
  /* antes 11px 36px */
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: background-color 0.3s ease, color 0.3s ease;
  letter-spacing: 2px;
  text-decoration-color: #ffffff;
  display: inline-block;
}

.galleryBtn:hover {
  background-color: #ffffffed;
  color: #121212;
}

.iniciarConversaGaleria {
  display: flex;
  justify-content: center;
  margin-top: 5rem;
  margin-bottom: 8rem;
  margin-left: -4px;
}

/* ===================== GALERIA ===================== */

.galeria-section {
  margin-top: -9.375rem;
  display: flex;
  justify-content: center;
  padding: 0 13.75rem;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.625rem;
  max-width: 60rem;
  min-width: 30rem;
  width: 100%;
  margin: 0 auto;
}

.galeria-item {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  background-color: transparent;
  border: 1px solid #fff;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.galeria-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===================== LIGHTBOX ===================== */
.lightbox {
  display: none;
  /* escondido por padrão */
  position: fixed;
  inset: 0;
  /* top, right, bottom, left = 0 */
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* quando ativo */
.lightbox.active {
  display: flex;
}

/* Imagem exibida no centro */
.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  box-shadow: 0 0 1.25rem rgba(0, 0, 0, 0.5);
  /* antes 20px */
}

/* Botão fechar (X) */
.close-btn {
  position: absolute;
  top: 1.25rem;
  /* antes 20px */
  right: 1.875rem;
  /* antes 30px */
  font-size: 2.1875rem;
  /* antes 35px */
  color: #ffffffed;
  cursor: pointer;
  user-select: none;
  z-index: 10000;
}

/* Setas */
.arrow-lightbox {
  position: absolute;
  top: 50%;
  font-size: 1.25rem;
  /* antes 20px */
  font-weight: 20;
  color: #ffffffed;
  cursor: pointer;
  user-select: none;
  display: none;
  /* só aparecem via JS */
  transform: translateY(-50%);
  padding: 0.625rem;
  /* antes 10px */
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

/* seta esquerda */
.arrow-lightbox.lightbox-left {
  left: 1.25rem;
  /* antes 20px */
}

/* seta direita */
.arrow-lightbox.lightbox-right {
  right: 1.25rem;
  /* antes 20px */
}

.arrow-lightbox:hover {
  background: rgba(0, 0, 0, 0.6);
}

.galeria-item img {
  cursor: pointer;
}

.galeria-ajustes {
  margin-left: -3px;
}

/* ===========================
   carrossel
=========================== */
.carrossel {
  display: grid;
  place-items: center;
  position: relative;
  --widthItem: clamp(0px, 40vw, 450px);
  --heightItem: clamp(0px, 26.7vw, 300px);
  width: var(--widthItem);
  height: var(--heightItem);
  perspective: 1000px;
  margin: 0 auto 12rem auto;
  overflow: visible;
}

.carrossel-track {
  width: 90%;
  height: 90%;
  --rotatey: 0;
  position: relative;
  transform-style: preserve-3d;
  user-select: none;
  cursor: grab;
  will-change: transform;
  margin-left: 0;
  transform-origin: center center;
  transform: rotateY(var(--rotatey));
}

.carrossel-item {
  opacity: 0.7;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s;
  overflow: hidden;
  transform: rotateY(var(--rotatey)) translateZ(var(--tz));
  width: 100%;
  height: 100%;
  clip-path: inset(0% 5% 0% 5%);
}

.carrossel-item.active {
  opacity: 1;
  z-index: 10;
}

.carrossel-item img {
  display: block;
  width: 90%;
  height: 90%;
  object-fit: cover;
  -webkit-user-drag: none;
}

/* ===========================
   controles do carrossel
=========================== */
.carrossel-controls {
  margin-top: clamp(8rem, 45vw, 48.5em);
  display: flex;
  justify-content: center;
  position: absolute;
  transition: box-shadow 0.4s ease;
  overflow: hidden;
  margin-left: -5px;
  margin-bottom: -25px;
}

#toggleDirection {
  width: 150px;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: center;
  background: none;
}

#toggleDirection img {
  width: 52px;
  height: 52px;
  display: block;
  -webkit-user-drag: none;
  /* Chrome, Safari */
  -webkit-user-select: none;
  /* Chrome, Safari */
  user-select: none;
  /* padrão */
  pointer-events: none;
}

.carrossel-controls::before {
  pointer-events: none;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, #00fffc, transparent);
  transition: transform 0.6s;
  pointer-events: none;
  z-index: 3;
}

.carrossel-controls.active-forward::before {
  transform: translateX(-100%);
}

.carrossel-controls.active-backward::before {
  transform: translateX(100%);
}

.carrossel-controls:hover {
  box-shadow: 0 0 20px 5px #00fffc;
}

/* SETAS DO CARROSSEL */
.arrowSection {
  position: relative;
  width: 100%;
}

.arrow {
  position: absolute;
  margin-top: -325px;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: #ffffffed;
  cursor: pointer;
  user-select: none;
  padding: 0.5rem;
  animation: jumpForward 0.6s ease-out forwards;
  display: none;
  -webkit-user-drag: none;
  /* Chrome, Safari */
  -webkit-user-select: none;
  /* Chrome, Safari */
  user-select: none;
  /* padrão */
  pointer-events: none;
}

.arrow.left {
  left: 0vw;
}

.arrow.right {
  right: 0vw;
}

.arrow:hover {
  transform: scale(1.2) translateY(-25px);
}

/* ===================== TABLET — GALERIA ===================== */
@media (max-width: 1023px) {
  .hero-title {
    -webkit-text-stroke: 2.5px;
  }
  
  .arrow {
    font-size: 1.2rem;
  }

  .aura-section {
    padding: 0 0 !important;
    margin-top: 0 !important;
  }
}

/* ===================== MOBILE — GALERIA ===================== */
@media (max-width: 767px) {

  .hero-title {
    font-weight: 300;
    -webkit-text-stroke: 1.5px;
    font-size: 3rem;
    letter-spacing: 0.5rem;
    margin-top: 6rem;
  }
  .carrossel {
    display: none;
  }

  #prevArrow,
  #nextArrow {
    display: none !important;
  }

  /* BOTÕES */
  .galleryBtn {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    letter-spacing: 1px;
  }

  /* LIGHTBOX ajustes */
  .close-btn {
    top: 0.75rem;
    right: 1rem;
    font-size: 1.75rem;
  }

}