:root {
  --preto: #0f0f0f;
  --amarelo: #f5b400;
  --branco: #ffffff;
  --cinza-claro: #f4f4f4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--cinza-claro);
  padding-top: 90px;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--amarelo);
  z-index: 1000;
  transition: 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.header.shrink {
  padding: 5px 0;
}

.logo img {
  height: 80px; /* aumentamos aqui */
  transition: 0.3s ease;
  height: clamp(70px, 8vw, 100px);
}

.header.shrink .logo img {
  height: 60px; /* proporcional ao novo tamanho */
}

.nav {
  display: flex;
  gap: 25px;
}

.nav a {
  color: var(--branco);
  text-decoration: none;
  font-weight: 600;
}


/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;

  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  color: white;
  overflow: hidden;
  
}

.hero {
  animation: zoomHero 20s ease-in-out infinite alternate;
}

@keyframes zoomHero {
  from {
    background-size: 100%;
  }
  to {
    background-size: 110%;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.65) 40%,
    rgba(0,0,0,0.75) 100%
  );
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--amarelo);
  animation: fadeDown 1s ease forwards;
}

.hero p {
  margin: 15px 0;
  font-size: 1.2rem;
  animation: fadeUp 1.2s ease forwards;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  margin-top: 25px;
  animation: fadeUp 1.4s ease forwards;
}

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

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

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
    height: 85vh;
  }
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

.section h2 {
  margin-bottom: 30px;
  border-left: 6px solid var(--amarelo);
  padding-left: 15px;
}

/* GRID */
.grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

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

/* GALLERY */
.gallery {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  transition: 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* CONTATO */
.contato {
  text-align: center;
  background: white;
  border-radius: 10px;
  padding: 60px 20px;
}

/* FOOTER */
footer {
  background: var(--preto);
  color: white;
  text-align: center;
  padding: 25px 0;
}

/* MOBILE */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--preto);
    flex-direction: column;
    padding: 20px;
    display: none;
  }

  .nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}