/* ===========================
   BASE GERAL
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
}

body {
  color: #fff;
  background-color: #000;
  overflow-x: hidden;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  transition: background 0.3s ease;
}

.logo {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: #fff;
}

.logo span {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 1px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.navbar ul li a:hover {
  color: #7B9C7B;
}

/* ===== Ícone hamburguer ===== */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 26px;
  color: #fff;
  transition: 0.3s;
}

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
  }

  nav.active {
    transform: translateX(0);
  }

  nav ul {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  nav ul li a {
    font-size: 1rem;
    color: #fff;
  }
}

/* ===========================
   HERO
=========================== */
.hero {
  height: 100vh;
  background: url('Fundo.jpg') no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.location {
  color: #fff;
  font-weight: 400;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 25px;
}

.subtext {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #ddd;
}

.btn {
  background-color: #7B9C7B;
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #6b8a6b;
  transform: scale(1.05);
}

/* ===========================
   SOBRE
=========================== */
.about {
  background-color: #fff;
  color: #000;
  padding: 100px 60px;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.about-text p {
  line-height: 1.6;
  font-size: 1rem;
  color: #444;
  margin-bottom: 15px;
}

.about-photo img {
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: 10px;
  background-color: #fff;
}

/* ===========================
   PROCESSO
=========================== */
.processo {
  background: #7B9C7B;
  color: #000;
  padding: 90px 60px;
  text-align: center;
}

.processo h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: #fff;
}

.processo-subtext {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 60px;
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.7;
}

/* GRID 3 COLUNAS (DESKTOP) */
.processo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
}

/* 2 COLUNAS (TABLET) */
@media (max-width: 900px) {
  .processo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* 1 COLUNA (CELULAR PEQUENO) */
@media (max-width: 480px) {
  .processo-grid {
    grid-template-columns: 2fr;
  }
}

.processo-item {
  background: #fff;
  color: #000;
  border-radius: 12px;
  padding: 35px 25px;
  width: 100%;
  max-width: 320px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.processo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.processo-item .icon {
  font-size: 2rem;
  color: #000;
  margin-bottom: 15px;
}

.processo-item h3 {
  color: #000;
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.processo-item p {
  color: #000;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===========================
   PROJETOS (CARROSSEL)
=========================== */
.projects {
  background-color: #7B9C7B;
  color: #fff;
  padding: 80px 0 120px;
  position: relative;
  overflow-x: hidden;
}

.projects h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.projects-text {
  max-width: 700px;
  margin: 0 auto 50px;
  color: #eee;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 60px;
}

.carousel-track {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 auto;
  width: 420px;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: center;
  background: #fff;
  color: #000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-item:hover {
  transform: scale(1.03);
}

/* SETAS */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
  transition: all 0.3s ease;
}

.arrow:hover {
  background: #7B9C7B;
  color: #000;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.prev { left: 25px; }
.next { right: 25px; }

/* ===========================
   SERVIÇOS
=========================== */
.services {
  background: #fff;
  color: #000;
  padding: 90px 60px;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: #7B9C7B;
}

.services-subtext {
  color: #555;
  font-size: 1rem;
  margin-bottom: 60px;
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
}

.service-item {
  background: #7B9C7B;
  color: #fff;
  border-radius: 12px;
  padding: 35px 25px;
  width: 100%;
  max-width: 320px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.service-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.service-item h3 {
  color: #fff;
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.service-item p {
  color: #eee;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===========================
   MODAL
=========================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  color: #000;
  padding: 40px 50px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
}

.modal-content input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.modal-content button {
  background-color: #7B9C7B;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  color: #444;
  cursor: pointer;
}

/* ===========================
   ÍCONES FLUTUANTES
=========================== */
.floating-icons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

.floating-icons a {
  text-decoration: none;
}

.icon-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #25D366;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-btn i {
  font-size: 24px;
  color: #fff;
}

.icon-btn.instagram {
  background: radial-gradient(circle at 30% 107%, 
    #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.icon-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer h3 {
  font-weight: 400;
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #7B9C7B;
}

.footer p {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* ===========================
   MOBILE
=========================== */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 25px;
  }

  .hero-content h1 {
    font-size: 1.3rem;
  }

  .about {
    padding: 60px 25px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .about-photo img {
    width: 220px;
    height: 220px;
    margin-top: 10px;
  }

  .projects {
    padding: 60px 25px;
  }

  /* Carrossel mais bonito no mobile */
  .carousel-wrapper {
    padding: 0 20px;
  }

  .carousel-track {
    gap: 20px;
    scroll-snap-type: x mandatory;
  }

  .carousel-item {
    width: 90vw;
    height: 90vw;
    border-radius: 14px;
    scroll-snap-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
  }

  .carousel-item img {
    border-radius: 14px;
  }

  .arrow {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer {
    padding: 40px 20px;
  }

  .footer h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* 🔹 Carrossel estilo Instagram */
  .carousel-wrapper {
    padding: 0 10px;
  }

  .carousel-item {
    width: 95vw;
    height: 95vw;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .carousel-item img {
    border-radius: 16px;
  }

  .arrow {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .hero-content h1 {
    font-size: 1.15rem;
  }
}
