
/* ------------------------------
   ESTILO BASE
--------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
}

.hamburguer {
  display: none; /* Escondendo botão sem uso */
}

/* ------------------------------
   CABEÇALHO E NAVBAR
--------------------------------*/
header {
  height: 80px;
  width: 100%;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  padding: 15px 50px;
  height: 80px;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
  height: 70px;
  padding: 10px 50px;
  background: rgba(0, 0, 0, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid #f0a500;
}

.logo img {
  max-height: 60px;
  border-radius: 10px;
  transition: all 0.4s ease;
}

.navbar.scrolled .logo img {
  max-height: 50px;
}

.nav-link {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-link a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 5px;
}

.nav-link a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #f0a500;
  transition: width 0.3s ease;
}

.nav-link a:hover {
  color: #f0a500;
}

.nav-link a:hover::after {
  width: 100%;
}

/* ------------------------------
   MENU HAMBURGUER (MOBILE)
--------------------------------*/
.menu-toggle {
  display: none;
  cursor: pointer;
  z-index: 1000;
}

.menu-toggle i {
  font-size: 28px;
  color: #fff;
  transition: 0.3s;
}

.menu-toggle:hover i {
  color: #f0a500;
}

@media (max-width: 768px) {
  .navbar { padding: 15px 20px; }
  .navbar.scrolled { padding: 10px 20px; }

  .nav-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #050505;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
    gap: 40px;
  }

  .nav-link.active {
    right: 0;
  }

  .nav-link a {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .menu-toggle {
    display: block;
  }
}

/* ------------------------------
   HERO SECTION (TEXTO + CARROSSEL)
--------------------------------*/
.hero-container {
  display: flex;
  justify-content: space-between;
  max-width: 1500px; /* Container amplo para telas Ultra Wide */
  margin: clamp(90px, 10vh, 130px) auto clamp(50px, 8vh, 80px); /* Margem superior e inferior dinâmicas */
  padding: 0 clamp(20px, 5vw, 60px); /* Espaçamento lateral que encolhe sozinho */
  gap: clamp(20px, 4vw, 50px); /* Distância entre texto e foto fluida */
  align-items: center;
}

.carousel-images {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}
.carousel-images img {
  width: 100%;
  min-width: 100%;
  aspect-ratio: 16 / 11; /* Proporção mágica! A altura se auto-calcula baseada na largura */
  max-height: 70vh; /* Trava a altura máxima para nunca esconder o botão em notebooks */
  object-fit: cover;
}
.carousel {
  flex: 1.2;
  width: 100%;
  max-width: 55%; /* Deixa um respiro melhor para o texto */
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 40px rgba(0,0,0,0.7);
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 50%;
  z-index: 10;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel .prev { left: 15px; }
.carousel .next { right: 15px; }
.dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}
.dot.active, .dot:hover {
  background: #f0a500;
  transform: scale(1.2);
}

.carousel button:hover {
  background: #f0a500;
  color: #000;
}

/* ------------------------------
   TÍTULOS E GRID DE SERVIÇOS
--------------------------------*/
.main-services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 5%;
}

.titulo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 10px 0 40px;
}

.titulo-container h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.linha {
  width: 80px;
  border-bottom: 4px solid #f0a500;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: aparecer 1s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }
.service-card:nth-child(4) { animation-delay: 0.8s; }
.service-card:nth-child(5) { animation-delay: 1.0s; }
.service-card:nth-child(6) { animation-delay: 1.2s; }

.service-card:hover {
  transform: translateY(-10px) scale(1.03); /* Leve zoom no card */
  border-color: #f0a500;
  box-shadow: 0 15px 40px rgba(240, 165, 0, 0.3); /* Sombra mais vibrante */
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 2px solid #f0a500;
}

.service-info {
  padding: 30px 20px;
  text-align: center;
}

.service-info h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.service-info p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ------------------------------
   FOOTER
--------------------------------*/
footer {
  background-color: #111;
  color: #fff;
  padding: 40px 20px 20px;
  border-top: 1px solid #222;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.footer-column {
  flex: 1;
  min-width: 220px;
}

.footer-column h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #f0a500;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 15px;
}

.footer-column a:hover {
  color: #f0a500;
}

.footer-column p {
  color: #ccc;
  font-size: 15px;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.footer-botton {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #777;
  border-top: 1px solid #222;
  padding-top: 20px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
    margin-top: 10px;
  }
}

/* Animação Padrão Loja */
@keyframes aparecer {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   ESTILOS DO CARROSSEL OVERLAY E BOTÕES
========================================= */

.hero-text {
  flex: 1;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centraliza o conteúdo de texto verticalmente */
  align-items: flex-start; /* Impede que o botão fique esticado de ponta a ponta */
  opacity: 0;
  animation: deslizarDireita 1s ease-out forwards;
}

/* Animação do texto do Hero */
@keyframes deslizarDireita {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* 1. Tipografia do Texto Hero */
.hero-text h1 {
    font-size: clamp(2.2rem, 4vw + 1rem, 4.2rem); /* Aumenta e diminui sem quebrar a tela! */
    color: #f0a500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: clamp(10px, 2vh, 20px);
    line-height: 1.15;
}
.hero-text p {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
    color: #ccc;
    margin-bottom: clamp(25px, 4vh, 45px);
    line-height: 1.6;
}
.btn-hero {
    pointer-events: auto; /* Reativa o clique do botão */
    display: inline-block;
    padding: clamp(12px, 1.5vw, 16px) clamp(24px, 3vw, 40px);
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    background: #f0a500; /* Começa com fundo preenchido */
    color: #000; /* Texto preto */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid #f0a500;
    transition: all 0.3s ease;
}
.btn-hero:hover {
    background: transparent; /* Fica transparente no hover */
    color: #f0a500; /* Texto dourado */
    box-shadow: 0 4px 15px rgba(240, 165, 0, 0.3);
}

/* 2. Estilo Elegante do Botão do WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-icon {
    margin-top: 0 !important; 
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.5);
}

/* =========================================
   SISTEMA DE RESPONSIVIDADE UNIVERSAL
========================================= */

/* Telas Ultra Wide e 4K (acima de 1920px) */
@media (min-width: 1920px) {
    .hero-container { max-width: 1600px; }
}

/* Notebooks menores e Tablets Deitados (até 1024px) */
@media (max-width: 1024px) {
    .carousel { max-width: 50%; }
    .hero-text { max-width: 50%; }
}

/* Tablets em Pé e Celulares Grandes (até 850px) - Quebra para 1 coluna */
@media (max-width: 850px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        margin-top: 110px;
    }
    .hero-text {
      max-width: 100%;
      align-items: center; /* Retorna a centralizar o botão quando acessado pelo celular */
    }
    .carousel { max-width: 90%; }
    .carousel-images img { aspect-ratio: 16 / 9; max-height: 450px; }
}

/* Celulares Padrão (até 500px) */
@media (max-width: 500px) {
    .carousel { max-width: 100%; border-radius: 8px; }
    .carousel-images img { aspect-ratio: 4 / 3; max-height: 350px; }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}
