* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body {
  color: #333;
  padding-top: 110px; /* compensa o header */
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* HEADER */
header {
  padding: 8px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.2); /* transparente */
  backdrop-filter: blur(10px); /* efeito vidro */
  transition: all 0.3s ease;
}
.map {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
}

.map iframe {
  width: 100%;
  height: 300px;
  border: 0;
}
header.scrolled {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.about-img img {
  width: 420px;
  max-width: 100%;
}

.about-img {
  padding-right: 30px;
  position: relative;
}

.about-img::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, #ccc, transparent);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2rem;
  color: #0a2a66;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.social {
  margin-top: 60px; /* aumenta espaço acima */
  margin-bottom: 20px; /* opcional: espaço abaixo */
  text-align: center;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e1306c;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.instagram-btn i {
  font-size: 20px;
}

.instagram-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.logo {
  height: 250px;
}

.logo-crop {
  height: 80px;
  width: 200px; /* controla o corte */
  object-fit: cover;
  object-position: left center; /* pega só lado esquerdo (ícone + VR) */
}

.logo-img {
  height: 110px;
  width: auto;
  object-fit: contain;
}

nav a {
  color: #0a2a66;
  margin-left: 15px;
  text-decoration: none;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0; /* remove espaço automático */
}

.logo-icon {
  height: 230px;
  margin-right: -60px; /* puxa o texto pra mais perto do ícone */
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-family: "Playfair Display", serif;
  line-height: 1;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #0a2a66, #3fa9f5);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.hero p {
  margin-bottom: 20px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  background: #0a2a66;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
}

.btn.whatsapp {
  background: #25d366;
  color: white;
}

/* SOBRE */
.about {
  padding: 80px 20px;
  background: #f5f9ff;
  text-align: center;
}

.about h2 {
  font-size: 2.2rem;
  color: #0a2a66;
  margin-bottom: 20px;
  font-weight: 700;
}

.about p {
  max-width: 700px;
  margin: auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

/* SERVICES */
.services {
  padding: 60px 0;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: #f5f9ff;
  padding: 20px;
  border-radius: 12px;
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.videos {
  padding-bottom: 60px; /* cria espaço abaixo dos vídeos */
}

.videos h2 {
  text-align: center;
}

.video-item {
  text-align: center;
}

.video-item p {
  margin-top: 8px;
  font-weight: 500;
  color: #0a2a66;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
  max-width: 900px; /* limita largura total */
  margin-left: auto;
  margin-right: auto;
}

.video-grid video {
  width: 100%;
  height: 180px; /* controla altura */
  object-fit: cover;
  border-radius: 12px;
}

/* CTA */
.cta {
  background: #0a2a66;
  color: white;
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px; /* afasta o formulário dos vídeos */
}

/* Formulário da seção CTA */
.cta-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 20px auto 0 auto;
  gap: 15px;
}

.cta-form input,
.cta-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  outline: none;
}

.cta-form textarea {
  resize: none;
}

.cta-form button {
  background: #25d366; /* mesmo verde do WhatsApp */
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.cta-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Botão WhatsApp específico do CTA */
.cta .cta-whatsapp {
  margin-top: 20px;
  padding: 12px 25px;
  font-size: 1.1rem;
}

/* CONTACT */
.contact {
  padding: 40px;
  text-align: center;
}

/* FOOTER */
footer {
  background: #0a2a66;
  color: white;
  text-align: center;
  padding: 15px;
}

/* ANIMAÇÃO DOS SERVIÇOS */
.card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card:nth-child(1) {
  transition-delay: 0.1s;
}
.card:nth-child(2) {
  transition-delay: 0.3s;
}
.card:nth-child(3) {
  transition-delay: 0.5s;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-img {
    border-right: none;
    padding-right: 0;
  }

  .about-img img {
    width: 280px;
  }
  .grid {
    grid-template-columns: 1fr;
  }

  header .container {
    flex-direction: column;
  }

  .buttons {
    flex-direction: column;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}
