/* Reset básico */
* {
  margin: 0 0;
  padding: 0 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

/* Logo */
.logo {
  height: 90px;
}

.hero {
  position: relative;
  width: 100%;
  height: 65vh; /* reduzido para não ocupar toda a tela */
  background-image: url("./Images/Imagem\ Hero.jpg"); /* atualize o caminho conforme necessário */
  background-size: cover;
  background-position: center 52%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center; /* alinha o conteúdo à esquerda */
  padding-left: 7%; /* espaçamento da esquerda (ajuste conforme necessário) */
  z-index: 0;
}

.hero-title h3 {
  text-align: center;
  width: 100%;
  text-align: left;
}

html,
body {
  height: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 16, 64, 0.7); /* overlay azul escuro */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: white;
  text-align: left;
  justify-content: center;
}

.hero-content h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  text-align: left;
}

.hero-content h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: white;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

.hero-content h4 {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.4s;
}

.hero-content h1 {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.6s;
}

.hero-content p {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.8s;
}

/* Seção de Serviços */
.servicos-section {
  padding: 4rem 1rem;
  background-color: white;
}

.servicos-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.servicos-subtitulo {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0e1d60;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.servicos-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: black;
  line-height: 1.2;
}

/* Grid Responsivo */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

/* Layout para tablets */
@media (max-width: 992px) {
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Layout para celulares */
@media (max-width: 768px) {
  .servicos-section {
    padding: 3rem 1rem;
  }
  
  .servicos-title {
    font-size: 1.75rem;
  }
  
  .servicos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Cards de Serviço */
.servico-item {
  background: #fff;
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* Remove o max-width fixo para responsividade */
.servico-item {
  max-width: 100%;
}

.servico-item:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
}

/* Card expandido - responsivo */
.servico-item.expanded {
  min-height: auto;
  height: auto;
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  z-index: 5;
  margin-bottom: 1rem; /* Espaço extra quando expandido */
}

/* Ajuste para garantir que cards expandidos não sobreponham */
@media (max-width: 768px) {
  .servico-item.expanded {
    transform: translateY(-3px);
    margin-bottom: 1.5rem;
  }
}

.servico-texto {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
}

.servico-texto h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: black;
  margin-bottom: 0.75rem;
}

.servico-texto p {
  flex: 1;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

/* Animações para o texto */
.servico-texto p.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.servico-texto p.fade-in {
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ícone */
.servico-icon {
  color: #0057ff;
  font-size: 2rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* Botões */
.servicos-btn {
  margin-top: auto;
  padding-top: 1rem;
  position: relative;
}

.servico-btn {
  background-color: #0e1d60;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
  width: 100%;
  font-weight: 600;
}

.servico-btn:hover {
  transform: translateY(-2px);
}

/* Botão reset */
.servico-reset {
  background-color: #0e1d60;
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin: 15px auto 0;
  padding: 0;
  line-height: 1;
  position: relative;
  z-index: 10;
}

.servico-reset:hover {
  transform: rotate(90deg);
}

/* Ajuste do botão reset em telas pequenas */
@media (max-width: 768px) {
  .servico-reset {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
}

/* Garantir que o botão fique visível no mobile */
.servico-btn:not([style*="display: none"]) {
  display: block !important;
}

/* Ajuste para evitar sobreposição visual */
.servicos-grid > .servico-item {
  margin-bottom: 1rem;
}

/* Adiciona espaço entre cards em mobile quando expandido */
@media (max-width: 768px) {
  .servico-item.expanded + .servico-item {
    margin-top: 1rem;
  }
}

/* Seção de Vantagens */
.vantagens {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.vantagens-container {
  max-width: 1100px;
  margin: 0 auto;
}

.vantagens .subtitulo {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0e1d60;
  margin-bottom: 10px;
  letter-spacing: 0.8px;
}

.vantagens h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 40px;
}

.vantagens-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  position: relative;
}

.vantagem {
  flex: 1 1 280px;
  max-width: 320px;
  padding: 10px;
}

.vantagem i {
  font-size: 2.5rem;
  color: #0057ff;
  margin-bottom: 15px;
}

.vantagem h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000;
}

.vantagem p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Carrossel Corrigido */
.cases-section {
  background-color: #f5f7fa;
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.cases-subtitle {
  color: #0e1d60;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cases-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #000;
}

/* Container do carrossel */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Wrapper para ocultar overflow */
.carousel-wrapper {
  overflow: hidden;
  border-radius: 12px;
}

/* Track do carrossel */
.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 10px 5px;
}

/* Cards do carrossel */
.carousel-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 300px;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.carousel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(14, 29, 96, 0.12);
}

.card-text {
  text-align: left;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.6;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
}

.card-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: contain;
  background: white;
  padding: 3px;
  border: 1px solid #f0f0f0;
}

.card-info {
  flex: 1;
  text-align: left;
}

.card-info strong {
  display: block;
  font-size: 1rem;
  color: #000;
  font-weight: 600;
}

.card-info p {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.25rem;
}

.card-stars {
  font-size: 1.1rem;
  color: #ffc107;
  letter-spacing: 2px;
}

/* Botões de navegação */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #0e1d60;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: #0e1d60;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

/* Indicadores/Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: #0e1d60;
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(14, 29, 96, 0.1);
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
  .carousel-card {
    flex: 0 0 calc(50% - 1rem);
    min-width: 280px;
  }

  .carousel-container {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .cases-section {
    padding: 60px 15px;
  }

  .cases-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .carousel-card {
    flex: 0 0 calc(100% - 1rem);
    min-width: 100%;
    padding: 1.5rem;
  }

  .carousel-container {
    padding: 0 20px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .card-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    padding: 0 10px;
  }

  .carousel-btn {
    display: none;
    /* Em telas muito pequenas, esconde botões */
  }

  .carousel-dots {
    margin-top: 1.5rem;
  }
}

/* Seção de Contato */
/* Seção de Contato */
.contato-section {
  background-color: white;
  padding: 80px 20px;
  text-align: center;
}

.contato-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contato-subtitulo {
  color: #0e1d60;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.contato-titulo {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 50px;
}

.passos-contato {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}

.passo-item {
  flex: 1;
  max-width: 350px;
  text-align: center;
}

.passo-numero {
  font-size: 48px;
  font-weight: 700;
  color: #0e1d60;
  margin-bottom: 15px;
  line-height: 1;
}

.passo-texto {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

.contato-button {
  display: inline-block;
  background-color: #0e1d60;
  color: white;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 5px 5px 0 rgba(0, 89, 255, 0.2);
}

.contato-button:hover {
  background-color: #003fcc;
  box-shadow: 5px 5px 0 rgba(0, 89, 255, 0.3);
  transform: translateY(-2px);
}

.contato-formulario {
  margin: 50px auto;
  max-width: fit-content;
  text-align: center;
}

.fileira {
  display: flex;
  gap: 20px;
  row-gap: 15px;
  flex-wrap: wrap;
}

.fileira input {
  flex: 1;
  min-width: 100px;
}

form {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 15px;
}

input,
select,
textarea {
  padding: 10px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  height: 100px;
}

.caixadetextoebotão {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

button {
  padding: 15px;
  background-color: #0057ff;
  color: white;
  font-weight: bold;
  border: solid;
  cursor: pointer;
  transition: 0.3s;
  max-height: 50px;
  align-items: flex-end;
}

button:hover {
  background-color: #f8f9fa;
  color: #0057ff;
}

.footer {
  background: linear-gradient(to top, #030e46, #0a1472);
  color: white;
  font-family: "Poppins", sans-serif;
  padding: 40px 20px 20px 20px;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 220px;
}

.footer-logo {
  width: 220px;
  margin-bottom: 16px;
}

.footer-description {
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #e0e0e0;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
  border-left: 2px solid white;
  padding-left: 8px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column ul li a i {
  margin-right: 7px;
  color: white;
}

.footer-column ul li a:hover {
  color: #004aad;
}

.contact-info li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.social-icons a {
  margin-right: 12px;
  font-size: 18px;
  color: white;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #004aad;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #d0d0d0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  padding: 14px;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: background-color 0.3s;
}

.whatsapp-button:hover {
  background-color: #1eb84c;
}

/* =========================================
   📱 CELULAR (até 777px)
========================================= */
@media (max-width: 777px) {
  .navbar-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-links {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .cta-button {
    width: 90%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .hero-content p {
    font-size: 1rem;
    padding: 0 15px;
    text-align: center;
  }

  .servicos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }

  .servicos-cta-container {
    flex-direction: column;
    text-align: center;
  }

  .servicos-cta-imagem img {
    width: 100%;
    margin-top: 20px;
  }

  .vantagens-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
    justify-content: center;
  }

  .carousel-card {
    width: 90%;
    margin: 0 auto;
  }

  .passos-contato {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-column ul li {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-button {
    bottom: 20px;
    right: 20px;
  }
}

/* =========================================
   💻 TABLET / NOTEBOOK (778px a 991px)
========================================= */
@media (min-width: 778px) and (max-width: 991px) {
  .navbar-container {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 30px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 15px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 0 40px;
  }

  .servicos-cta-container {
    flex-direction: row;
    align-items: center;
    gap: 30px;
    padding: 0 30px;
  }

  .servicos-cta-imagem img {
    width: 80%;
  }

  .vantagens-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .carousel-card {
    width: 70%;
  }

  .passos-contato {
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .footer-container {
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .footer-column {
    flex: 1 1 45%;
    text-align: center;
  }
}

/* =========================================
   🖥️ PC / DESKTOP (a partir de 992px)
========================================= */
@media (min-width: 992px) {
  .navbar-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .servicos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .vantagens-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .servicos-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
  }

  .footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
  }
}

@media (max-width: 777px) {
  .carousel-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 10px;
  }

  .carousel-item {
    display: flex;
    justify-content: center;
  }

  .carousel-card {
    width: 95%;
  }
}
