/* ---------- CONFIGURAÇÕES GERAIS ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: #fff;
  color: #222;
  line-height: 1.6;
  overflow-x: hidden;
}

.section {
  padding: 80px 20px;
  text-align: center;
}

h1, h2, h3 {
  font-weight: 700;
}

h2 {
  font-size: 2.2em;
  margin-bottom: 30px;
  color: #111;
}

p {
  font-size: 1.1em;
  color: #fff;
}

/* ---------- CABEÇALHO ---------- */
.header {
  width: 100%;
  background: #fff;
  border-bottom: 2px solid #f1f1f1;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 55px;
  width: auto;
}

.titulo-site {
  font-size: 1.5em;
  color: #C8232C;
  font-weight: 700;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: 0.3s;
}

.navbar a:hover {
  color: #C8232C;
}

/* ---------- HERO COM VÍDEO ---------- */
.hero-video {
  position: relative;
  
  width: 100%;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* ✅ Centraliza o vídeo sem cortar o topo */
  filter: brightness(0.6);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  color: #fff;
   text-align: center;
  
}

.hero-text h2 {
  text-align: center;
  color: #000000 !important; /* Força a cor preta */
  font-size: 2.8em;
  margin-bottom: 10px;
}

.hero-text p {
  text-align: center;
  color: #000000 !important; /* Força a cor preta */
  font-size: 1.2em;
  margin-bottom: 25px;
}

.hero-text .btn {
  
  background: #C8232C;
  color: white;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
   display: inline-block;
}

.hero-text .btn:hover {
  background: #A71B24;
  transform: scale(1.05);
   display: inline-block;
}

/* ---------- CARDS DE SERVIÇOS E EVENTOS ---------- */
.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 320px;
  padding-bottom: 25px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card img, .card video {
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
}

.card h3 {
  margin: 15px 0 10px;
  color: #C8232C;
}

.card p {
  margin: 0 15px 20px;
  color: #555;
  font-size: 1em;
}

.card .btn {
  background: #C8232C;
  color: white;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.card .btn:hover {
  background: #A71B24;
  transform: scale(1.05);
}

/* ---------- FORMULÁRIO ---------- */
#formulario form {
  max-width: 550px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#formulario input,
#formulario select,
#formulario textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
  width: 100%;
}

#formulario button {
  background: #C8232C;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#formulario button:hover {
  background: #A71B24;
  transform: scale(1.05);
}

/* ---------- SEÇÃO DO APLICATIVO ---------- */
.app-section {
  background: linear-gradient(180deg, #fff, #f8f8f8);
  padding: 80px 20px;
  text-align: center;
  border-top: 2px solid #eee;
}

.app-section h2 {
  font-size: 2em;
  color: #C8232C;
  margin-bottom: 20px;
}

.app-section p {
  color: #444;
  max-width: 700px;
  margin: 0 auto 25px;
  font-size: 1.1em;
  line-height: 1.6;
}

/* ---------- BOTÃO AZUL DO APLICATIVO ---------- */
.app-section .destaque-btn {
  background-color: #007BFF; /* azul sólido */
  color: #fff;
  padding: 16px 35px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
  display: inline-block;
}

.app-section .destaque-btn:hover {
  background-color: #0056b3; /* azul escuro no hover */
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 86, 179, 0.4);
}

/* ---------- FOOTER ---------- */
.footer {
  background: #111;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer a {
  color: #C8232C;
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}

.footer hr {
  width: 80%;
  margin: 20px auto;
  border: 0;
  height: 1px;
  background: #333;
}

/* ---------- BOTÃO FLUTUANTE WHATSAPP ---------- */
.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float:hover {
  background-color: #1EBE5D;
  transform: scale(1.1);
}

/* ---------- MENSAGEM DE SUCESSO ---------- */
.mensagem-sucesso {
  background-color: #e6ffe6;
  border: 1px solid #00b300;
  color: #008000;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  font-size: 0.95em;
  margin-top: 15px;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 0;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  }

  @media (max-width: 768px) {
  .hero-video {
    height: 50vh; /* diminui altura do vídeo para 50% da viewport */
  }
}
  


  .card-container {
    flex-direction: column;
    align-items: center;
  }
}




/* MENU MOBILE RESPONSIVO */

/* Esconde o menu no celular por padrão */
@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;        /* Itens do menu em coluna */
    position: absolute;            /* Para posicionar sobre o conteúdo */
    top: 70px;                    /* Abaixo do header */
    right: 15px;                  /* Espaço da borda direita */
    width: 220px;                 /* Largura fixa para o menu */
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: none;                /* Esconde menu inicialmente */
    z-index: 1000;
  }

  /* Mostrar menu quando ativado */
  .navbar.active ul {
    display: flex;
  }

  /* Espaçamento entre os itens do menu */
  .navbar ul li {
    margin-bottom: 15px;
  }

  .navbar ul li:last-child {
    margin-bottom: 0;
  }

  /* Exibir botão hamburger */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }

  .menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #222;
    border-radius: 2px;
  }
}

/* No desktop, botão hamburger fica escondido */
.menu-toggle {
  display: none;
}

/* ---------- LGPD ---------- */
.lgpd-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #111;
  color: #fff;
  padding: 15px;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 2000;
}

.lgpd-banner p {
  margin: 0;
  font-size: 0.9em;
  color: #fff;
}

.lgpd-banner a {
  color: #C8232C;
  font-weight: 600;
  text-decoration: none;
}

.lgpd-banner button {
  background: #C8232C;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 5px;
  cursor: pointer;
}

.lgpd-banner button:hover {
  background: #A71B24;
}