@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

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

body,
html {
  font-family: "Open Sans", sans-serif;
  min-height: 100vh;
}

/* Página Principal */

.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

nav,
main {
  position: relative;
  z-index: 1;
}

.navbar ul {
  list-style: none;
  display: flex;
}

.navbar ul li {
  margin: 0 10px;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}

.navbar ul li a:hover {
  text-decoration: none;
  color: #3a9d98;
}

.btn {
  padding: 10px 20px;
  width: 271px;
  border: none;
  border-radius: 48px;
  cursor: pointer;
  background-color: #3a9d98;
}

.btn:hover {
  background-color: #286967;
  color: #fff;
}

button a {
  text-decoration: none;
  color: inherit;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 3rem 1rem 4rem;
}

.hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 5em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.advantage-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: rgba(255,255,255,0.03);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  min-height: 220px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.icones {
  font-size: 2rem !important;
  margin-bottom: 12px;
  background-color: #3a9d98;
  color: #fff;
  border-radius: 50%;
  padding: 18px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-body {
  padding: 0;
}

/* Página Sobre Nosso Serviço */

.fundo-sobre {
  min-height: 100vh;
  background-image: linear-gradient(
      rgba(241, 230, 208, 0.9),
      rgba(241, 230, 208, 0.9)
    ),
    url("/img/fundo-sobre.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

.card-principal {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: none;
}

.sobre-h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  font-weight: semi-bold;
}

.card-img {
  height: 465px;
  object-fit: cover;
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
}

.card-img {
  width: 100%;
  display: block;
}

.card-img-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #07323f8c 55%, transparent 70%);
}

.cartao {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  height: 100%;
  background: linear-gradient(to top, #07323fde 0%, transparent 80%);
}

.cartao h5 {
  font-weight: semi-bold;
  font-size: 1.5rem;
  font-family: "Bebas Neue", sans-serif;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.cartao p {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.4;
}

.cartao span {
  background-color: #3a9d98;
  border-radius: 100%;
  padding: 15px;
  width: fit-content;
  margin-bottom: 15px;
}

/* Página Como Funciona */

.fundo-como {
  min-height: 100vh;
  background-image: linear-gradient(rgba(7, 40, 59, 0.9), rgba(7, 40, 59, 0.9)),
    url("/img/como-fundo.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

.cartao-como {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  padding-top: 40%;
  background-color: #f1e6d0;
  z-index: 1;
}

.cartao-como h5 {
  color: #07323f;
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-family: "Bebas Neue", sans-serif;
}

.cartao-como p {
  color: #07323f;
  font-size: 0.9rem;
}

.card-img-numero {
  display: block;
  margin-left: auto; 
  margin-right: 0;
  position: relative; 
  max-width: 100%;
  z-index: 2;
}

button.btn-link {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Página Nos*/

.fundo-nos {
  min-height: 100vh;
  background-color: #ece1cf;
}

.sobre-section img.img-fluid {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.sobre-section .btn-sobre {
  padding: 0;
}

.sobre-conteudo h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  margin-bottom: 20px;
}

/* Página Perguntas Frequentes */

.fundo-perguntas {
  min-height: 100vh;
  background-image: linear-gradient(
      rgba(58, 157, 152, 0.9),
      rgba(7, 40, 59, 0.9)
    ),
    url("/img/fundo-pergunta.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

.accordion-item {
  background-color: #f1e6d0;
  border-radius: 13px;
  margin-bottom: 15px;
}

.accordion-button {
  background-color: #f1e6d0;
  border-radius: 13px;
}

.accordion-button:not(.collapsed) {
  background-color: #f1e6d0;
  border-radius: 13px;
  color: #07323f;
  border: none;
  box-shadow: none;
}

.accordion-body {
  background-color: #fff;
  border-radius: 0 0 13px 13px;
}

.accordion-body p {
  margin: 0;
}

/* Ajustes responsivos */
.logo {
  max-height: 60px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .icones {
    padding: 12px;
    font-size: 1.2rem;
  }
  .cartao-como {
    padding-top: 30%;
  }
  .logo {
    max-height: 45px;
  }

  .btn {
    width: 200px;
    padding: 8px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  /* Espaçamento e ajuste dos cards em mobile */
  .col-md-4 {
    margin-bottom: 1rem;
  }

  .advantage-card {
    min-height: 180px;
  }
}

@media (max-width: 991px) {
  .card-servico p {
    font-size: 14px;
  }
}
