html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #000000;
  color: #222;
  scroll-behavior: smooth;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  z-index: 10;
}

nav h1 {
  font-size: 1.5rem;
}

nav h1 span {
  color: #c80000;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #c80000;
}

nav h1 a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

nav h1 a:hover {
  color: #c80000;
}

/* ===== NAVBAR AUTOHIDE ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Esconde a nav deslizando pra cima */
nav.hide {
  transform: translateY(-100%);
}

/* Quando visível e o usuário já rolou um pouco — sombra para destaque */
nav.show-shadow {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* ===== HEADER ===== */
header {
  background: url('./img/gif-fundo.gif') center/cover no-repeat;
  color: white;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 10%;
}

.header-content {
  max-width: 700px;
  background: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 20px;
}

header h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.btn-header {
  background: #c80000;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 20px;
  transition: 0.3s;
}

.btn-header:hover {
  background: #a10202;
  transform: scale(1.05);
}

/* ===== SECTIONS ===== */
section {
  padding: 90px 10%;
  text-align: center;
}

section h2 {
  font-size: 2rem;
  color: #c80000;
  margin-bottom: 30px;
}

/* ===== SOBRE ===== */
#sobre .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

#sobre h3{
  color: #c80000;

}

#sobre img {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

/* Efeito hover e toque */
#sobre img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(200, 0, 0, 0.6);
}
#sobre img.active {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(200, 0, 0, 0.6);
}

#sobre .text {
  color: #fff;
  max-width: 500px;
  text-align: left;
}

/* ===== SERVIÇOS ===== */
.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* Estilo das caixinhas */
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(200, 0, 0, 0.2);
  padding: 30px;
  width: 300px;
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}

.card:hover {
  transform: translateY(-8px);
  border-top: 4px solid #c80000;
  box-shadow: 0 0 25px rgba(200, 0, 0, 0.3);
}

.card i {
  font-size: 2.5rem;
  color: #c80000;
  margin-bottom: 15px;
}

.card h3 {
  color: #111;
  margin-bottom: 10px;
}

.card p {
  color: #333;
  font-size: 0.95rem;
}

/* Botão dentro das caixinhas */
.btn-interesse {
  background: #c80000;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  margin-top: 15px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-interesse:hover {
  background: #a00000;
  transform: scale(1.05);
}

/* ===== CONTATO ===== */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

#contato p{
  color: #fff;
}

.contact-buttons a {
  padding: 12px 25px;
  border-radius: 30px;
  color: white;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

.whatsapp {
  background: #25d366;
}

.whatsapp:hover {
  background: #1ebe5d;
  transform: scale(1.05);
  opacity: 0.9;
}

.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.instagram:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* ===== FOOTER ===== */
footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 20px;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  padding: 15px;
  font-size: 1.8rem;
  z-index: 20;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ===== ANIMAÇÃO DE APARIÇÃO ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HISTÓRIA / CARROSSEL ===== */
#historia {
  background-color: #00000093; /* vermelho escuro elegante */
  color: #fff;
  padding: 80px 0;
}

.historia-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel {
  position: relative;
  overflow: hidden;
  max-width: 500px;
  height: 550px;
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.carousel-inner {
  display: flex;
  transition: transform 0.6s ease-in-out;
}


.slide img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 15px;
}

.historia-texto {
  max-width: 500px;
  color: white;
  text-align: left;
}

.historia-texto h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.historia-texto p {
  font-size: 1.1rem;
  line-height: 1.6;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  #sobre .text {
    text-align: center;
  }

  #sobre img {
    width: 250px;
    height: 250px;
  }

  header h2 {
    font-size: 1.6rem;
  }

  .card {
    width: 90%;
  }

  .carousel-inner {
    transition: transform 0.6s ease-in-out;
    will-change: transform;
  }

  .carousel-inner .slide {
    flex: 0 0 100%;
    overflow: hidden;
  }

  .carousel-inner .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }

  .historia-container {
    flex-direction: column;
    text-align: center;
  }

  .historia-texto {
    text-align: center;
    padding: 0 20px;
  }
}


