:root {
  --primary: #000;
  --secondary: #FFD700; /* Amarelo */
  --text-light: #eeeeee;
  --bg-dark: #0d0d0d;
}

/* ========= RESET ========= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', sans-serif;
  background: var(--primary);
  color: var(--text-light);
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}

/* ========= HERO ========= */
.hero {
  height: 100vh;
  background: url('../img/hero.png') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-title {
  font-size: clamp(1.5rem, 8vw, 3.5rem); /* Ajuste para responsividade real */
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(-40px);
  animation: slideDown 1s ease-out forwards 0.3s;
  word-break: break-word;
  line-height: 1.1;
  padding: 0 4vw;
}

/* Melhor ajuste para telas pequenas */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.2rem;
    padding: 0 1vw;
  }
}

/* ========= SEÇÕES ========= */
.section {
  padding: 80px 8%;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--secondary);
  text-align: center;
}
.section-text {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}
.dark-bg {
  background: var(--bg-dark);
}

/* ========= CARDS ========= */
.cards-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: #111;
  border-left: 4px solid var(--secondary);
  padding: 30px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  margin-bottom: 18px; /* Espaço entre o card de infos e a imagem */
}
.card-title {
  color: var(--secondary);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* ========= PROJETOS ========= */
.projects-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.project-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: grayscale(40%);
  transition: transform 0.6s ease, filter 0.6s ease;
}
.project-card:hover .project-img {
  transform: scale(1.05);
  filter: grayscale(0%);
}
.project-card figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-light);
  padding: 10px;
  font-size: 0.95rem;
  text-align: center;
}

/* ========= CTA ========= */
.cta-section {
  text-align: center;
  padding: 60px 8%;

}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title,
.cta-section h2 {
  color: var(--secondary);
  margin-bottom: 30px;
  font-size: 2rem;
}

.social-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #222;
  color: #FFD700;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  cursor: pointer;
}

.social-btn i {
  font-size: 1.4rem;
}

.social-btn:hover {
  background: #FFD700;
  color: #222;
  transform: translateY(-3px) scale(1.04);
}

/* ========= FOOTER ========= */
.footer {
  background: #0c0c0c;
  text-align: center;
  padding: 40px 8%;
  font-size: 0.9rem;
}

/* ========= ANIMAÇÕES ========= */
@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========= RESPONSIVO ========= */
@media (max-width: 768px) {
  .section {
    padding: 60px 6%;
  }
}

/* ========= CLASSE VISIBLE ========= */
.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ========= REVEAL GENÉRICO ========= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========= CAROUSEL ========= */
.carousel-container {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  background: #111;
  padding: 40px 0;
  min-height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,2,.3,1);
  width: 100vw;
  justify-content: flex-start;
  align-items: center;
}

.project-card {
  min-width: 700px;
  max-width: 700px;
  width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.carousel-img {
  width: 700px;
  max-width: 90vw;
  height: 380px;
  object-fit: cover;
  border-radius: 14px;
  margin: 0 auto;
  box-shadow: 0 6px 24px rgba(0,0,0,0.5);
  display: block;
}

/* Responsivo */
@media (max-width: 800px) {
  .project-card {
    min-width: 98vw;
    max-width: 98vw;
    width: 98vw;
  }
  .carousel-img {
    width: 98vw;
    height: 200px;
    max-width: 98vw;
  }
}

@media (max-width: 500px) {
  .carousel-container {
    min-height: 140px;
    padding: 10px 0;
  }
  .carousel-img {
    height: 120px;
  }
}

.equip-img-area {
  width: 100%;
  margin: 18px 0 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.equip-img-out {
  margin-top: 0;
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.equip-img {
  width: 100%;
  max-width: 700px;
  height: 500x;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  background: #222;
  display: block;
}

.services-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 800px;
  margin: 30px auto 0 auto;
}
.services-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.15rem;
}
.services-list li {
  position: relative;
  padding-left: 28px;
  color: #fff;
}
.services-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 1.5em;
  line-height: 1;
  top: 0;
}
@media (max-width: 700px) {
  .services-list-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.location-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 30px;
}
.location-address {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.horario-funcionamento {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.location-map {
  margin-top: 18px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.cards-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card {
  margin-bottom: 18px; /* Espaço entre o card de infos e a imagem */
}

.equip-img-area,
.equip-img-out {
  margin-top: 0;
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}



/* ==== CAROUSEL MODERNO ==== */
.carousel-modern {
  position: relative;
  max-width: 700px;
  margin: 40px auto 0 auto;
  background: #111;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-bottom: 38px;
}

.carousel-images {
  width: 100%;
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: absolute;
  left: 0; top: 0;
  transition: opacity 0.5s;
  opacity: 0;
  z-index: 1;
}
.carousel-item.active {
  display: flex;
  opacity: 1;
  position: relative;
  z-index: 2;
}

.carousel-item img {
  width: 100%;
  max-width: 700px;
  height: 340px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  background: #222;
  margin: 0 auto;
  display: block;
}

.carousel-item figcaption {
  color: #FFD700;
  background: rgba(0,0,0,0.7);
  padding: 10px 0 0 0;
  text-align: center;
  font-size: 1.1rem;
  border-radius: 0 0 10px 10px;
  width: 100%;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #FFD700;
  color: #222;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.92;
  z-index: 10;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.carousel-arrow.left { left: 16px; }
.carousel-arrow.right { right: 16px; }
.carousel-arrow:hover {
  background: #222;
  color: #FFD700;
  transform: scale(1.08);
}

.carousel-indicators {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #FFD700;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin: 0 2px;
}
.carousel-indicators button.active {
  opacity: 1;
  transform: scale(1.2);
  background: #FFD700;
  box-shadow: 0 0 0 2px #222;
}

/* Responsivo */
@media (max-width: 900px) {
  .carousel-modern { max-width: 98vw; }
  .carousel-item img { max-width: 98vw; height: 180px; }
}
@media (max-width: 600px) {
  .carousel-modern { max-width: 100vw; }
  .carousel-images { min-height: 110px; }
  .carousel-item img {
    height: 230px;
    max-width: 98vw;
    border-radius: 8px;
  }
  .carousel-arrow { 
    font-size: 1.3rem; 
    width: 36px; 
    height: 36px; 
  }
  .carousel-arrow.left { left: -8px; }
  .carousel-arrow.right { right: -8px; }
  .carousel-item figcaption {
    font-size: 0.95rem;
    padding: 6px 0 0 0;
    border-radius: 0 0 8px 8px;
  }
}

/* ========= BOTÃO WHATSAPP HERO ========= */
.whatsapp-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.8rem;
  padding: 0.85rem 2.2rem;
  background: transparent; /* Fundo totalmente transparente */
  color: #FFD700; /* Letra amarela */
  border: 2px solid #FFD700;
  border-radius: 40px;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transition: background 0.25s, color 0.25s, border 0.25s, transform 0.18s;
  backdrop-filter: blur(2px);
}
.whatsapp-hero-btn i {
  font-size: 1.6rem;
  color: rgba(217, 255, 0, 0.89); /* Amarelo translúcido */
  transition: color 0.25s;
}
.whatsapp-hero-btn:hover {
  background: oklab(94.02199999999999% -0.11049 0.19274 / 0.658);
  color: #fff;
  border-color: #000000;
  transform: translateY(-2px) scale(1.04);
}
.whatsapp-hero-btn:hover i {
  color: #fff;
}

/* Responsivo para botão hero */
@media (max-width: 600px) {
  .whatsapp-hero-btn {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
    margin-top: 1.3rem;
  }
}