* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  background: #0b1220;
  color: #fff;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
} /* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 85px;
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, 0.85);
  z-index: 1000;
}
.header-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
} /* 🔹 LOGO */
.logo {
  padding-left: 30px;
}
.logo img {
  padding-top: 50px;
  padding-left: 20px;
  height: 290px;
  width: auto;
}
.menu-container {
  flex: 1;
  display: flex;
  justify-content: center;
  padding-right: 170px;
}
nav a {
  position: relative;
  display: inline-block;
  color: #fff;
  margin: 0 18px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

nav a:hover {
  color: #d4af37;
  transform: scale(1.05);
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #d4af37;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}
.header-right {
  padding-right: 30px;
}
.phone {
  border: 1px solid #d4af37;
  padding: 8px 16px;
  border-radius: 6px;
  color: #d4af37;
  text-decoration: none;
} /* HERO */
.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/engenheiro.jpeg");
  background-size: cover;
  background-position: center 80px;
  z-index: 0;
  transform: scale(1.2);
  animation: zoomHero 8s ease forwards;
}

@keyframes zoomHero {
  from {
    transform: scale(1.25);
  }
  to {
    transform: scale(1.1);
  }
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 18, 32, 0.95) 10%,
    rgba(11, 18, 32, 0.7) 40%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title,
.hero-subtitle,
.hero-btn {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);
}

.hero h1 {
  font-size: 55px;
  line-height: 1.1;
  font-weight: 800;
}

.hero p {
  margin: 20px 0;
  max-width: 500px;
  color: #ccc;
}

.buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

.buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: #c9a24d;
  color: #000;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.btn-outline {
  border: 1px solid #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 6px;
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(201, 162, 77, 0.4);
}

.btn-outline:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px) scale(1.05);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-25deg);
}

.btn-primary:hover::after {
  left: 125%;
  transition: 0.6s;
} /* SERVICES */
.services {
  min-height: 50vh;
  background-image: url("../assets/images/services.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
}
.service-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.card {
  background: rgba(20, 30, 48, 0.85);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
  transform: translateY(20px);
}
.card h3 {
  min-height: 60px;
}
.card p {
  line-height: 1.5;
}
.card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 215, 0, 0.3);
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10vh;
} /* PORTFOLIO */
.portfolio {
  position: relative;
  padding: 120px 0;
  background: url("/assets/images/portifolio.png") center / cover no-repeat;
}
.portfolio::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
.portfolio .container {
  position: relative;
  z-index: 2;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.portfolio-card {
  background: #141e30;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.4s ease;
}

.portfolio-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: 0.6s ease;
}

.portfolio-card:hover img {
  transform: scale(1.1);
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.portfolio-card h4 {
  padding: 20px;

  .portfolio-info {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
    padding: 0 20px;
  }

  .portfolio-card.active .portfolio-info {
    max-height: 200px;
    opacity: 1;
    padding: 20px;
  }

  .portfolio-card.active {
    transform: scale(1.03);
    border: 1px solid rgba(255, 215, 0, 0.3);
  }
} /* PERÍCIA */
.expertise {
  padding: 120px 0;
  background-image: url("../assets/images/pericia.png");
  background-repeat: no-repeat;
  background-size: cover;
}
.expertise-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}
.expertise-header p {
  margin-top: 20px;
  color: #ccc;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.expertise-card {
  background: #141e30;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 77, 0.3);
  transition: 0.3s ease;
}
.expertise-card:hover {
  transform: translateY(-5px);
  border-color: #c9a24d;
}
.expertise-card h3 {
  margin-bottom: 20px;
  color: #c9a24d;
}
.expertise-card ul {
  list-style: none;
}
.expertise-card ul li {
  margin-bottom: 12px;
  color: #ddd;
  position: relative;
  padding-left: 20px;
}
.expertise-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #c9a24d;
} /* CTA */
.cta {
  position: relative;
  min-height: 5vh;
  padding: 120px 0;
  padding-left: 30em;
  background: url("../assets/images/footer.png") center / cover no-repeat;
  display: flex;
  align-items: center;
}
.cta .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.4)
  );
}
.cta-content {
  position: relative;
  z-index: 2;
}
.whatsapp-form {
  margin-top: 40px;
  max-width: 700px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}
.whatsapp-form button {
  display: block;
  margin: 20px auto 0 auto;
}
.whatsapp-form input,
.whatsapp-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: "Poppins", sans-serif;
}
.whatsapp-form input:focus,
.whatsapp-form textarea:focus {
  outline: none;
  border-color: #c9a24d;
}
.whatsapp-form textarea {
  resize: none;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.seo-text {
  position: relative;
  padding: 120px 0;
  background: url("../assets/images/seo.png") center / cover no-repeat;
}

.seo-text::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 18, 32, 0.95),
    rgba(11, 18, 32, 0.85)
  );
  z-index: 1;
}

.seo-text .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}

.seo-text h2 {
  font-size: 32px;
  margin-bottom: 25px;
  line-height: 1.3;
  font-weight: 700;
}

.seo-text p {
  color: #ccc;
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}

.seo-text h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 15px auto 0;
  background: linear-gradient(90deg, #8a6a2f, #c9a24d, #f5d27a);
}
/* FOOTER */
footer {
  background: #0b1220;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
} /* WHATSAPP */
.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 25px;
  text-decoration: none;
  z-index: 9999;
}
.whatsapp img {
  height: 90px;
}
.gold-divider {
  height: 3px;
  width: 100%;
  background: linear-gradient(
    90deg,
    #8a6a2f 0%,
    #c9a24d 20%,
    #f5d27a 40%,
    #fff1b5 50%,
    #f5d27a 60%,
    #c9a24d 80%,
    #8a6a2f 100%
  );
  box-shadow: 0 0 8px rgba(201, 162, 77, 0.4);
}
@media (max-width: 1024px) {
  /* GRID */
  .service-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .expertise-grid {
    grid-template-columns: 1fr;
  } /* HERO */
  .hero {
    height: auto;
    padding: 140px 0 80px;
    background-position: center;
  }
  .hero h1 {
    font-size: 32px;
  }
  .buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .buttons a {
    width: 100%;
    text-align: center;
  } /* CTA */
  .cta {
    padding: 100px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .whatsapp-form {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .service-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .menu-container {
    display: none;
  }
  .header-right {
    display: none;
  }
}
.menu-toggle {
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
}
.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #d4af37;
  border-radius: 2px;
  transition: 0.3s;
} /* MOBILE */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: 0.4s ease;
    z-index: 1000;
  }
  .menu.active {
    right: 0;
  }
  .menu a {
    font-size: 18px;
  }
}

.dev {
  padding-top: 40px;
}
