:root {
  --bg: #333333; /* Cinza escuro de estrada */
  --brand: #FF2A00; /* Vermelho forte, relacionado a emergência */
  --brand-2: #FF6A00; /* Vermelho mais claro, para hover */
  --text: #FFFFFF; /* Texto branco */
  --muted: #D1D1D1; /* Cinza claro para texto secundário */
  --card: #0F1F4A; /* Azul escuro, remetendo a estrada */
  --shadow: 0 10px 30px rgba(10,20,60,.3);
  --radius: 18px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background: #f0f8f7;
  overflow-x: hidden;
}

/* Seção Casos */
.casos {
  padding: 40px 20px;
  background-color: #1c1c1c;
  color: var(--text);
}

.cta-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.cta-big {
  background-color: var(--brand);
  color: var(--text);
  padding: 16px 40px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-big:hover {
  background-color: #e75b1e; /* Alteração para o hover */
  transform: scale(1.05);
}

/* Estilos para os casos */
.casos-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.caso {
  background-color: #2b2b2b;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.caso h2 {
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.caso p {
  font-size: 1rem;
  color: #d1d1d1;
  margin: 10px 0 0;
}

/* Estilização da imagem no caso */
.caso-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
}

/* Estilização do vídeo no caso */
.caso-video iframe {
  width: 100%;
  height: 315px; /* Ajuste de altura padrão do iframe */
  border-radius: 8px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .casos-list {
    padding: 0 10px;
  }
}

/* Remover a estilização de links */
a {
  text-decoration: none; /* Remove o sublinhado */
  color: inherit; /* Herda a cor do elemento pai (sem alteração de cor) */
}

a:hover {
  text-decoration: none; /* Remove o sublinhado no hover também */
}

/* Seção Hero */
.hero {
  position: relative;
  height: 92vh;
  min-height: 560px;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

.slides {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade 24s infinite;
  transform: scale(1.08);
}

.slide:nth-child(1) {
  animation-delay: 0s;
}
.slide:nth-child(2) {
  animation-delay: 6s;
}
.slide:nth-child(3) {
  animation-delay: 12s;
}
.slide:nth-child(4) {
  animation-delay: 18s;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 13, 40, .6) 0%, rgba(6, 13, 40, .6) 50%, rgba(6, 13, 40, .85) 100%),
              linear-gradient(90deg, rgba(6, 13, 40, .75) 0%, rgba(6, 13, 40, 0) 40%);
  z-index: -1;
}

.nav {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand .logo {
  /* Remover a borda e o fundo da logo */
  width: auto; /* Ajustar o tamanho para o conteúdo da imagem */
  height: auto;
  background: none; /* Remover qualquer fundo */
  border: none; /* Remover qualquer borda */
  display: inline-block;
}

.brand img {
  width: 220px; /* Tamanho desejado para a logo */
  height: 220px; /* Tamanho desejado para a logo */
  object-fit: contain; /* Ajusta a imagem dentro da área sem distorcer */
}

.menu {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

.menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  opacity: .9;
}

.menu a:hover {
  opacity: 1;
  text-decoration: underline;
}

.cta {
  margin-left: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.cta:hover {
  background: var(--brand-2);
}

.hero-inner {
  margin: 0 auto;
  width: 100%;
  max-width: var(--max);
  padding: 40px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.eyebrow {
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: .9rem;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.05;
  max-width: 20ch;
  text-wrap: balance;
}

/* Cards de Serviços */
.services-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: auto;
  margin-bottom: 20px;
  overflow-x: auto; /* Habilita rolagem horizontal */
  scroll-snap-type: x mandatory; /* Adiciona o efeito de rolagem suave */
  -webkit-overflow-scrolling: touch; /* Rolagem suave em dispositivos móveis */
}

.services {
  display: flex;
  gap: 16px;
  padding: 14px;
  background: #1C1C1C;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: calc(var(--radius) + 6px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  overflow: hidden;
  justify-content: center; /* Alinhamento dos cards ao centro */
}

.card {
  min-width: 180px; /* Garante que os cards têm largura fixa */
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centraliza o conteúdo dentro do card */
  justify-content: center; /* Garante o alinhamento do texto e ícone ao centro */
  gap: 12px;
  text-align: center; /* Garante que o texto fique centralizado */
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  scroll-snap-align: start; /* Alinha os cards ao centro durante o scroll */
}

.card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .09);
}

.card.active {
  background: white;
  color: #0a1a3a;
  border-color: transparent;
  position: relative;
}

.card .icon {
  width: 50px; /* Aumenta o ícone para maior visibilidade */
  height: 50px; /* Aumenta o ícone para maior visibilidade */
  border-radius: 50%;
  background: #ff2a00;
  display: flex;
  justify-content: center; /* Centraliza o ícone */
  align-items: center; /* Centraliza o ícone */
  font-size: 24px; /* Ajuste do tamanho do ícone */
}

.card.active .icon {
  background: var(--brand);
  color: white;
}

.card .title {
  font-weight: 800;
  font-size: 1.2rem; /* Ajuste de tamanho do título */
}

.card .desc {
  font-size: 1rem;
  color: var(--muted);
}

.card.active .desc {
  color: #38446b;
}

.pill {
  margin-top: 8px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .menu .hide-sm {
    display: none;
  }
}

@media (max-width: 640px) {
  .services {
    gap: 12px;
  }
  .card {
    min-width: 160px;
  }
}


/* Seção de Casos - Alinhamento Lado a Lado (Imagem e Vídeo) */
.casos-sucesso {
  padding: 2rem;
  background-color: #f0f8f7;
  color: #0d0b21;
}

.casos-sucesso h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.casos-sucesso-container {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.casos-sucesso-cards {
  display: flex;
  justify-content: space-between; /* Alinha os casos lado a lado */
  gap: 20px; /* Espaço entre os casos */
  flex-wrap: wrap; /* Permite que os cards se ajustem para a próxima linha, se necessário */
}

.caso-item {
  font-size: 12px;
  line-height: 1.4;
  word-wrap: break-word;
  flex: 1 0 calc(33.333% - 20px); /* Cada card ocupa 1/3 da largura com um espaçamento de 20px */
  background-color: white;
  color: black;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.caso-item img, .caso-item iframe {
  width: 100%; /* Garante que a imagem ou vídeo ocupe toda a largura do card */
  height: 300px; /* Define uma altura fixa para imagem/vídeo */
  object-fit: cover; /* Garante que a imagem se ajuste sem distorcer */
  border-radius: 8px 8px 0 0;
  margin-bottom: 1rem;
}

.caso-item h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.caso-item p {
  line-height: 1.4;
  word-wrap: break-word;
}


/* Responsividade */
@media (max-width: 992px) {
  .caso-item {
    flex: 1 0 calc(50% - 20px); /* Em telas médias, os cards ocupam 50% */
  }
}

@media (max-width: 767px) {
  .caso-item {
    flex: 1 0 100%; /* Em telas pequenas, os cards ocupam 100% */
  }
}

  /* WHATSAAP BUTTON*/
  .whatsapp-button {
  position: fixed;
  bottom: 50px; 
  right: 20px;
  background-color: #25D366;
  border-radius: 50%;
  padding: 15px;
  z-index: 9999;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  display: flex; 
  justify-content: center; 
  align-items: center; 
}

.whatsapp-button i {
  font-size: 30px; 
  color: white; 
}

@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 30px; 
        right: 10px;
        padding: 10px;
    }
    .whatsapp-button i {
        font-size: 20px;
    }
}


/* HOME_CONTATO SECTION*/
.home_contato {
  position: relative;
  background-image: url('/assets/imgs/entre_em_contato.jpg');
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  background-attachment: fixed; 
}

.home_contato-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); 
  display: flex;
  align-items: center;
  justify-content: center;
}

.home_contato-content {
  text-align: center;
  padding: 20px;
}

.home_contato-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.home_contato-content p {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
  max-width: 500px;
  margin: 0 auto 20px auto;
}

.btn-contato {
  display: inline-block;
  background: #ff2a00; 
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btn-contato:hover {
  background: #1C1C1C;
}



.mapa-section {
    padding: 40px 20px;
    background-color: #f5f5f5;
    color: #f0f8f7;
    text-align: center;
}

.mapa-container {
    margin-top: 20px;
}

.mapa-container iframe {
    margin-top: 40px;
    border: none;
    border-radius: 8px;
    width: 80%;
    height: 450px; /* Ajuste a altura conforme necessário */
}

.mapa-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0d0b21;
}


/* Footer */
footer {
  background-color: #1C1C1C; 
  color: white;
  padding: 3rem 0;
  font-family: 'Poppins', sans-serif;
  margin-top: 6rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 20px; 
}

.footer-coluna {
  flex: 1 0 220px; 
  text-align: left;
}

.footer-coluna h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-coluna p,
.footer-coluna ul {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-coluna ul {
  list-style: none;
  padding: 0;
}

.footer-coluna li {
  margin-bottom: 0.5rem;
}

.footer-coluna a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-coluna a:hover {
  color: white;
}

.footer-logo img {
  max-width: 220px;
  margin-bottom: 1rem;
}

/* Redes Sociais */
.footer-coluna .social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: flex-start; 
}

.footer-coluna .social-icons a {
  color: white;
  font-size: 1.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2); 
}

.footer-coluna .social-icons a:hover {
  color: #296AF1;
  background-color: white;
  transform: scale(1.2);
}

/* Responsividade */
@media (max-width: 768px) {
  .footer-container {
      flex-direction: column; 
      text-align: center; 
  }

  .footer-coluna {
      flex: 1 0 100%;
      margin-bottom: 2rem;
  }

  .footer-coluna .social-icons {
      justify-content: center; 
  }
}

@media (max-width: 480px) {
  .footer-coluna h3 {
      font-size: 1.2rem;
  }

  .footer-coluna p,
  .footer-coluna ul {
      font-size: 0.8rem;
  }

  .footer-coluna .social-icons a {
      font-size: 1.2rem;
      width: 35px;
      height: 35px;
  }
}

.footer-copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  font-size: 0.9rem;
}

