/* Reset e configurações básicas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  perspective: 1000px;
}

body {
  font-family: "Noka", "Noka Medium", Noka, NokaMedium;
  font-weight: 500;
  line-height: 1.6;
  color: #272022;
  overflow-x: hidden;
  transform-style: preserve-3d;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #9e8472 0%, #1a1510 100%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(39, 32, 34, 0.3);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  color: white;
  max-width: 1000px;
  padding: 0 40px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.hero-badge {
  background: #a78c7a;
  color: #e9e3dc;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(167, 140, 122, 0.3);
  animation: fadeInDown 1s ease-out;
}

.hero-logo {
  width: 100px;
  height: auto;
  margin: 0;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
  animation: fadeInUp 1s ease-out 0.2s both;
  will-change: transform;
  transition: transform 0.1s ease-out;
  transform-style: preserve-3d;
}

.hero-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.5s;
  text-align: left;
  width: 100%;
}

.title-line {
  display: block;
  overflow: hidden;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.8s;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 1.1s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  padding: 15px 30px;
  border: none;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
  background-color: #272022;
}

.btn-first-section {
  background: #272022;
  color: #e9e3dc;
  width: 240px;
  max-width: 100%;
  display: inline-block;
  text-align: center;
  font-size: 1.1rem;
  padding: 18px 0;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #272022;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(39, 32, 34, 0.2);
}

.btn-first-section:hover {
  background: transparent;
  color: #272022;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 32, 34, 0.3);
}

.btn-primary {
  background: #a78c7a;
  color: #e9e3dc;
  width: 220px; /* ajuste conforme desejar */
  max-width: 100%;
  display: inline-block;
  text-align: center;
  font-size: 1.1rem;
  padding: 15px 0;
  border: none;
  font-weight: 600;
  transition: background 0.3s;
  border: 1px solid #707070;
}

.btn-primary:hover {
  background: #9e8472;
  color: #e9e3dc;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: #e9e3dc;
  border: 2px solid #e9e3dc;
}

.btn-secondary:hover {
  background: #e9e3dc;
  color: #272022;
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Seção Sobre */
.sobre {
  padding: 0 0 100px 0;
  background: linear-gradient(to bottom, #1a1510 0%, #9e8472 30%, #1a1510 100%);
  position: relative;
  /* will-change: background-position;
  transform-style: preserve-3d; */
}

.sobre::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(39, 32, 34, 0.3);
  z-index: 1;
}

.sobre .container {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}

.sobre-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.sobre-text {
  position: relative;
  z-index: 6;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title-1 {
  font-size: 2.2rem;
  color: #e9e3dc;
  position: relative;
  font-weight: 300;
  letter-spacing: 2px;
}

.section-title-2 {
  font-size: 3rem;
  color: #a78c7a;
  position: relative;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* .section-title-2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #a78c7a 0%, #e9e3dc 100%);
    border-radius: 2px;
} */

.sobre-description {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 2rem;
  color: #e9e3dc;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  font-weight: 400;
}

.sobre-description br {
  display: block;
  margin: 0.8rem 0;
}

.sobre-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
}

.stat h3 {
  font-size: 2rem;
  color: #a78c7a;
  margin-bottom: 0.5rem;
}

.stat p {
  color: #938b85;
  font-weight: 500;
}

.sobre-image {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 3;
  will-change: transform;
  transition: transform 0.1s ease-out;
  transform-style: preserve-3d;
}

.image-container {
  width: 400px;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform-style: preserve-3d;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #272022 0%, #a78c7a 50%, #c5b5a8 100%);
  border: 1px solid #707070;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
  will-change: transform;
  transition: transform 0.1s ease-out;
  transform-style: preserve-3d;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* Seção Projetos */
.projetos {
  padding: 0;
  background: white;
  height: 70vh;
  transform-style: preserve-3d;
}

.projetos-container {
  display: flex;
  height: 70vh;
  transform-style: preserve-3d;
}

.projeto-panel {
  flex: 1;
  position: relative;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.1s ease-out;
  overflow: hidden;
  will-change: transform;
  transform-style: preserve-3d;
}

.projeto-panel:hover {
  opacity: 0.8;
}

.projeto-image {
  position: relative;
  height: 90%;
  background: linear-gradient(135deg, #272022 0%, #a78c7a 50%, #c5b5a8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
}

.projeto-number {
  position: absolute;
  left: 32px;
  bottom: 32px;
  top: auto;
  transform: none;
  font-size: 2.2rem;
  font-weight: 500;
  color: #fff;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  /* transform: rotate(90deg); */
}

.projeto-number span {
  display: inline-block;
  transform: rotate(270deg);
}

.projeto-number::before {
  content: "";
  display: block;
  width: 2px;
  height: 90px;
  min-height: 90px;
  max-height: 90px;
  background: #fff;
  border-radius: 2px;
  margin-bottom: 8px;
  align-self: center;
}

.projeto-label {
  height: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #272022;
  color: #e9e3dc;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 0;
}

/* Seção Contato */
.contato {
  padding: 100px 0;
  background: #272022;
  background-size: 100% 120%;
  background-attachment: fixed;
  color: #e9e3dc;
  will-change: background-position;
  transform-style: preserve-3d;
}

.contato-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contato-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contato-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.contato-description {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  line-height: 1.6;
}

.contato-btn {
  background: #a78c7a;
  color: #e9e3dc;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contato-btn:hover {
  background: #9e8472;
}

/* Responsividade */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: linear-gradient(135deg, #272022 0%, #a78c7a 50%, #c5b5a8 100%);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero {
    align-items: flex-start;
    padding-top: 20vh;
  }

  .hero-content {
    padding: 0 4vw;
    max-width: 100%;
  }

  .hero-logo {
    width: 140px;
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .destaque-nome {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .hero-frase {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #4a3d2f;
    line-height: 1.3;
  }

  .hero-buttons {
    width: 100%;
  }

  .btn-first-section {
    width: 100%;
    max-width: 280px;
  }

  .sobre-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sobre-stats {
    grid-template-columns: 1fr;
  }

  .contato-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .projetos {
    height: auto !important;
    min-height: 100vh;
  }

  .projetos-container {
    flex-direction: column;
    height: auto !important;
    min-height: 100vh;
  }

  .projeto-panel {
    min-height: 40vh;
    height: 40vh !important;
    max-height: 60vh;
  }

  .projeto-number {
    display: none;
  }

  .projeto-image {
    height: 100%;
  }

  .projeto-label {
    height: 30%;
    font-size: 1rem;
  }

  .contato-title {
    font-size: 2rem;
  }

  .contato-description {
    font-size: 1rem;
  }

  .projeto-panel.fade-in.visible {
    min-height: 35vh;
    height: 35vh !important;
    max-height: 60vh;
  }

  .projeto-label {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 48px;
    min-height: 40px;
    font-size: 1.1rem;
    background: rgba(39, 32, 34, 0.95);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 1;
    padding: 0;
    margin: 0;
    backdrop-filter: blur(2px);
  }
  .projeto-panel {
    position: relative;
  }
}

/* Media query para telas muito pequenas (320px) */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .hero-content {
    margin-left: 2vw;
    max-width: 90%;
  }

  .hero {
    padding-top: 15vh;
  }

  .hero-content {
    padding: 0 3vw;
  }

  .hero-logo {
    width: 120px;
    margin-bottom: 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .destaque-nome {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.1;
  }

  .hero-frase {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 2rem;
  }

  .btn-first-section {
    width: 100%;
    max-width: 260px;
    font-size: 1rem;
    padding: 16px 0;
  }

  .sobre {
    padding: 60px 0;
  }

  .cards-container {
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .card {
    max-width: 280px;
    padding: 1.5rem 1rem 1rem 1rem;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-description {
    font-size: 0.9rem;
  }

  .image-container {
    width: 280px;
    height: 350px;
  }

  .section-title-1 {
    font-size: 1.8rem;
  }

  .section-title-2 {
    font-size: 2.2rem;
  }

  .sobre-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .construir-junto {
    min-height: 280px;
    padding: 30px 0 20px 0;
  }

  .construir-titulo {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .construir-desc {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .construir-content .btn-primary {
    width: 160px;
    font-size: 0.9rem;
    padding: 10px 0;
  }

  .projeto-panel {
    min-height: 35vh;
    height: 35vh !important;
  }

  .projeto-number {
    display: none;
  }

  .projeto-image {
    height: 100%;
  }

  .projeto-label {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    font-size: 0.9rem;
    height: 40px;
    min-height: 35px;
    background: rgba(39, 32, 34, 0.95);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 1;
    padding: 0;
    margin: 0;
    backdrop-filter: blur(2px);
  }

  .projeto-number {
    left: 16px;
    bottom: 16px;
    font-size: 1.8rem;
  }

  .projeto-number::before {
    height: 60px;
    min-height: 60px;
    max-height: 60px;
  }

  .contato-title {
    font-size: 1.6rem;
  }

  .contato-description {
    font-size: 0.9rem;
  }

  .contato-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* Media query para telas extremamente pequenas (320px) */
@media (max-width: 360px) {
  .container {
    padding: 0 8px;
  }

  .hero-content {
    margin-left: 1vw;
    max-width: 95%;
  }

  .hero {
    padding-top: 12vh;
  }

  .hero-content {
    padding: 0 2.5vw;
  }

  .hero-logo {
    width: 100px;
    margin-bottom: 1.2rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .destaque-nome {
    font-size: 2rem;
    margin-bottom: 0.6rem;
    line-height: 1.1;
  }

  .hero-frase {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 1.8rem;
  }

  .btn-first-section {
    width: 100%;
    max-width: 240px;
    font-size: 0.95rem;
    padding: 14px 0;
  }

  .cards-container {
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .card {
    max-width: 260px;
    padding: 1.2rem 0.8rem 0.8rem 0.8rem;
  }

  .card-title {
    font-size: 0.9rem;
  }

  .card-description {
    font-size: 0.8rem;
  }

  .image-container {
    width: 250px;
    height: 320px;
  }

  .section-title-1 {
    font-size: 1.6rem;
  }

  .section-title-2 {
    font-size: 2rem;
  }

  .sobre-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .construir-junto {
    min-height: 250px;
    padding: 25px 0 15px 0;
  }

  .construir-titulo {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .construir-desc {
    font-size: 0.8rem;
    margin-bottom: 15px;
  }

  .construir-content .btn-primary {
    width: 140px;
    font-size: 0.8rem;
    padding: 8px 0;
  }

  .projeto-panel {
    min-height: 30vh;
    height: 30vh !important;
  }

  .projeto-number {
    display: none;
  }

  .projeto-image {
    height: 100%;
  }

  .projeto-label {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    font-size: 0.8rem;
    height: 35px;
    min-height: 30px;
    background: rgba(39, 32, 34, 0.95);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 1;
    padding: 0;
    margin: 0;
    backdrop-filter: blur(2px);
  }

  .projeto-number {
    left: 12px;
    bottom: 12px;
    font-size: 1.6rem;
  }

  .projeto-number::before {
    height: 50px;
    min-height: 50px;
    max-height: 50px;
  }

  .contato-title {
    font-size: 1.4rem;
  }

  .contato-description {
    font-size: 0.8rem;
  }

  .contato-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

/* Animações de scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Parallax Effects */
.parallax-element {
  will-change: transform;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

/* Smooth scrolling optimizations */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .hero-background,
  .hero-content,
  .hero-logo,
  .sobre-image,
  .card,
  .projeto-panel,
  .image-placeholder {
    backface-visibility: hidden;
    perspective: 1000px;
  }
}

/* Performance optimizations for parallax */
.hero,
.sobre,
.projetos,
.contato,
.construir-junto {
  contain: layout style paint;
}

/* 3D depth effects */
.card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(2deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.projeto-panel:hover {
  transform: translateZ(20px) rotateY(2deg);
}

/* Parallax layers */
.parallax-layer-1 {
  transform: translateZ(-100px) scale(1.1);
}

.parallax-layer-2 {
  transform: translateZ(-200px) scale(1.2);
}

.parallax-layer-3 {
  transform: translateZ(-300px) scale(1.3);
}

/* Efeitos de hover adicionais */
.projeto-card {
  position: relative;
}

/* Scroll suave para navegação */
.nav-link {
  scroll-margin-top: 80px;
}

/* Navbar igual ao hero */
.navbar {
  background: linear-gradient(135deg, #272022 0%, #a78c7a 50%, #c5b5a8 100%);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.nav-link,
.nav-logo h2,
.nav-logo span {
  color: #fff !important;
}

/* Hero com nome grande e frase */
.destaque-nome {
  font-size: 4.5rem;
  font-weight: 900;
  margin: 0;
  color: #e9e3dc;
  line-height: 1;
  letter-spacing: 3px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: #a78c7a;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 0;
  opacity: 0.9;
}

.hero-frase {
  font-size: 1.3rem;
  font-weight: 300;
  color: #e9e3dc;
  line-height: 1.7;
  max-width: 650px;
  text-align: center;
  margin: 0;
  opacity: 0.95;
}

.hero-frase strong {
  color: #a78c7a;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-primary-hero {
  background: #a78c7a;
  color: #e9e3dc;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #a78c7a;
}

.btn-primary-hero:hover {
  background: #9e8472;
  color: #e9e3dc;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-secondary-hero {
  background: transparent;
  color: #e9e3dc;
  padding: 16px 40px;
  border: 2px solid #e9e3dc;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary-hero:hover {
  background: #e9e3dc;
  color: #272022;
  transform: translateY(-2px);
  text-decoration: none;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 20px;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #a78c7a;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(167, 140, 122, 0.3);
}

.stat-label {
  font-size: 0.9rem;
  color: #e9e3dc;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  opacity: 0.8;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 6;
  width: fit-content;
  text-align: center;
  animation: fadeInUp 1s ease-out 1s both;
}

.scroll-text {
  font-size: 0.8rem;
  color: #e9e3dc;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border: 2px solid #a78c7a;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(-10px) rotate(45deg);
  }
  60% {
    transform: translateY(-5px) rotate(45deg);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design for Hero Section */
@media (max-width: 768px) {
  .hero {
    height: 100vh;
    padding: 20px 0;
  }

  .hero-content {
    padding: 0 20px;
    gap: 25px;
    max-width: 100%;
  }

  .hero-badge {
    font-size: 10px;
    padding: 6px 18px;
  }

  .hero-logo {
    width: 120px;
  }

  .destaque-nome {
    font-size: 2.8rem;
    letter-spacing: 1px;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-align: center;
  }

  .hero-frase {
    font-size: 1.1rem;
    max-width: 100%;
    line-height: 1.6;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
  }

  .btn-primary-hero,
  .btn-secondary-hero {
    width: 100%;
    max-width: 280px;
    padding: 14px 30px;
    font-size: 13px;
    text-align: center;
  }

  .hero-stats {
    gap: 25px;
    margin-top: 15px;
    justify-content: center;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .scroll-indicator {
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
  }

  .scroll-text {
    font-size: 0.7rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0 15px;
    gap: 20px;
    max-width: 100%;
  }

  .hero-badge {
    font-size: 9px;
    padding: 5px 15px;
  }

  .hero-logo {
    width: 100px;
  }

  .destaque-nome {
    font-size: 2.2rem;
    letter-spacing: 0.5px;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-align: center;
  }

  .hero-frase {
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
  }

  .btn-primary-hero,
  .btn-secondary-hero {
    padding: 12px 25px;
    font-size: 12px;
    max-width: 250px;
    text-align: center;
  }

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .scroll-indicator {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }

  .scroll-text {
    font-size: 0.65rem;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .hero-content {
    padding: 0 10px;
    gap: 18px;
    max-width: 100%;
  }

  .hero-logo {
    width: 90px;
  }

  .destaque-nome {
    font-size: 1.9rem;
    text-align: center;
    letter-spacing: 0px;
  }

  .hero-subtitle {
    font-size: 0.7rem;
    text-align: center;
    letter-spacing: 1px;
  }

  .hero-frase {
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.4;
  }

  .btn-primary-hero,
  .btn-secondary-hero {
    padding: 10px 20px;
    font-size: 11px;
    max-width: 220px;
    text-align: center;
  }

  .hero-stats {
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .scroll-indicator {
    bottom: 10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
  }

  .scroll-text {
    font-size: 0.6rem;
    text-align: center;
  }

  .scroll-arrow {
    width: 16px;
    height: 16px;
  }
}

.hero-logo {
  width: 200px;
  height: auto;
  margin-bottom: 2rem;
  margin-left: 0;
  display: block;
}

.construir-junto {
  position: relative;
  width: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 40px 0;
  box-sizing: border-box;
  overflow: hidden;
  will-change: background-position;
  transform-style: preserve-3d;
}

.construir-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 120%;
  background: url("assets/section-3-bg-img.png") center center/cover no-repeat;
  background-attachment: fixed;
  z-index: 1;
  will-change: background-position;
}

.construir-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    39,
    32,
    34,
    0.65
  ); /* preto translúcido, ajuste o alpha para mais ou menos escuro */
  z-index: 2;
  pointer-events: none;
}

.construir-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  /* margin: 0 auto; */
  text-align: center;
  color: #e9e3dc;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}

.construir-titulo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  color: #e9e3dc;
  text-shadow: 0 2px 12px rgba(39, 32, 34, 0.18);
}

.construir-desc {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 28px;
  color: #e9e3dc;
  text-shadow: 0 2px 8px rgba(39, 32, 34, 0.18);
  max-width: 700px;
}

.construir-content .btn-primary {
  margin-top: 10px;
  width: 200px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .construir-junto {
    min-height: 320px;
    padding: 40px 0 30px 0;
  }
  .construir-titulo {
    font-size: 1.1rem;
  }
  .construir-desc {
    font-size: 0.95rem;
  }
  .construir-content .btn-primary {
    min-width: 0;
    font-size: 1rem;
  }
}

.projeto-image {
  position: relative;
}

.projeto-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(39, 32, 34, 0.45); /* dark overlay */
  z-index: 2;
  pointer-events: none;
  transition: background 0.3s;
  border-radius: inherit;
}

/* .projeto-panel:hover .projeto-overlay {
    background: rgba(39, 32, 34, 0.65); 
} */

.cards-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  transform-style: preserve-3d;
}

.card {
  background: #ece4dd;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  max-width: 320px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.1s ease-out;
  position: relative;
  will-change: transform;
  transform-style: preserve-3d;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.card-icon {
  background: #272022;
  color: #fff;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.card-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.7rem;
  color: #272022;
  margin-top: 2rem;
}

.card-description {
  font-size: 1rem;
  color: #444;
}

/* Estilo específico para o terceiro card (direita) */
.card:nth-child(3) {
  background: #272022;
}

.card:nth-child(3) .card-title {
  color: #e9e3dc;
}

.card:nth-child(3) .card-description {
  color: #e9e3dc;
}

.card:nth-child(3) .card-icon {
  background: #e9e3dc;
  color: #272022;
}
