/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f7f9fc;
    color: #333;
  }
  
  .container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
  }
  
  header {
    background: white;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .header-flex {
    display: flex;
    align-items: center; /* Alinha verticalmente o logo e o ícone do hambúrguer */
    justify-content: space-between; /* Espaça o logo e o ícone do hambúrguer */
  }
  
  .logo-container {
    height: 100px;
    display: flex;
    align-items: center;
    position: relative;
    position: relative;
  }
  
  .logo-img {
    height: 180px; /* Ajuste o tamanho da logo */
  }
  
  /* Navegação */
  nav {
    display: flex;
    align-items: center;
  }
  
  /* Navegação minimalista e profissional */
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #0083b0;
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
  padding: 6px 12px;
  border-radius: 18px;
  transition: background 0.22s, color 0.22s;
  background: none;
  display: inline-block;
}

.nav-links a:hover,
.nav-links a:focus {
  background: #e6f7ff;
  color: #005f80;
  outline: none;
}

@media (max-width: 800px) {
  .nav-links {
    flex-direction: column;
    gap: 12px;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #fff;
    border: 1px solid #e6f7ff;
    box-shadow: 0 4px 16px rgba(0,131,176,0.07);
    padding: 18px 24px;
    border-radius: 16px;
    z-index: 100;
    align-items: flex-start;
  }
  .nav-links a {
    width: 100%;
    text-align: left;
    font-size: 1.08rem;
    padding: 10px 0;
  }
}
  
  #sobre {
    scroll-margin-top: 130px; /* Ajuste para a altura do cabeçalho */
  }
  #servicos{
    scroll-margin-top: 100px; /* Ajuste para a altura do cabeçalho */
    margin-top: 100px;
  }

  #cotacao{
    scroll-margin-top: 100px;
  }
  .menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }

  .nav-links {
    display: flex; /* Exibe o menu no desktop */
    flex-direction: row; /* Alinha os itens horizontalmente */
    gap: 20px; /* Espaçamento entre os itens */
    position: static; /* Remove o posicionamento absoluto no desktop */
    background: none; /* Remove o fundo branco no desktop */
    border: none; /* Remove a borda no desktop */
    padding: 0; /* Remove o padding no desktop */
    width: auto; /* Ajusta a largura automaticamente */
    list-style: none

  }
  
  /* Hero */
  .hero {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    color: white;
    overflow: hidden;
  }
  
  .hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    opacity: 0.65;
    overflow: hidden;
  }
  
  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
  }
  
  .fade-in {
    opacity: 0;
    animation: fadeIn 1.8s ease-in-out forwards;
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }
  
  .hero h2 {
    font-size: 36px;
  }
  
  .hero p {
    margin: 20px 0;
    font-size: 18px;
  }
  
  .btn {
    background: #fff; /* Fundo inicial branco */
    color: #0083b0; /* Cor inicial do texto */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.4s ease, color 0.4s ease; /* Transição suave para cor */
  }
  
  .btn:hover {
    background: #e6f7ff; /* Fundo azul claro ao passar o mouse */
    color: #005f80; /* Cor do texto ao passar o mouse */
  }
  
  /* Seções */
  section {
    padding: 60px 0;
  }
  
  .sobre, .cotacao {
    background: #fff;
  }
  
  .servicos {
    background: #eef3f7;
  }
  
  .cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .card {
    background: white;
    padding: 20px;
    flex: 1;
    min-width: 280px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  
  /* Cotação - Formulário e Imagem */
  .cotacao-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .form-wrapper-left {
    max-width: 500px;
    padding-top: 20px;
  }
  
  .image-container {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .image-cotacao {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  /* Formulário */
  form input,
  form textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
  }
  
  form textarea {
    min-height: 80px;
    resize: vertical;
  }
  
  /* Footer */
  footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
  }

  /* Abas dos serviços - minimalista e profissional */
.tabs {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  background: none;
  border: none;
}

.tab-btn {
  background: #f7f9fc;
  border: none;
  color: #0083b0;
  padding: 12px 32px;
  border-radius: 32px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
  box-shadow: 0 2px 8px rgba(0,131,176,0.04);
  outline: none;
}

.tab-btn.active,
.tab-btn:hover {
  background: #0083b0;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,131,176,0.10);
}

/* Conteúdo das abas - minimalista */
.tab-content {
  display: none;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: 100%;
  margin: 0 auto;
}

.tab-content.active {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  animation: fadeInTab 0.5s;
}

.fade-in-tab {
  animation: fadeInTab 0.5s cubic-bezier(.4,0,.2,1);
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Card único para cada serviço */
.servico-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0,131,176,0.10), 0 1.5px 4px rgba(0,0,0,0.04);
  padding: 36px 28px 28px 28px;
  max-width: 420px;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1.5px solid #e6f7ff;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.servico-card h4 {
  color: #0083b0;
  margin-bottom: 16px;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.servico-card p {
  color: #444;
  font-size: 1.06rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.servico-card:hover {
  box-shadow: 0 12px 32px rgba(0,131,176,0.16), 0 2px 8px rgba(0,0,0,0.06);
  border-color: #b2eaff;
}

/* Responsividade */
@media (max-width: 700px) {
  .tab-btn {
    padding: 10px 12px;
    font-size: 0.98rem;
  }
  .servico-card {
    padding: 22px 8px 18px 8px;
    max-width: 98vw;
  }
  .tab-content.active {
    align-items: stretch;
  }
}

  /* Responsivo */
  @media (max-width: 768px) {
  .nav-links {
    display: none; /* Esconde o menu por padrão no mobile */
    flex-direction: column;
    background: white;
    position: absolute;
    top: 60px;
    right: 20px;
    border: 1px solid #ddd;
    padding: 10px;
    z-index: 1001;
    width: 200px;
  }

  .nav-links.active {
    display: flex; /* Exibe o menu quando ativo no mobile */
  }

  .menu-toggle {
    display: block; /* Exibe o botão hambúrguer no mobile */
    font-size: 28px; /* Tamanho do ícone */
    cursor: pointer;
    position: relative; /* Posiciona o ícone em relação ao fluxo */
    z-index: 1002; /* Garante que o botão fique acima de outros elementos */
    background: none; /* Remove qualquer fundo */
    border: none; /* Remove bordas */
    padding: 10px; /* Adiciona área clicável */
  }

  .menu-toggle:focus {
    outline: none; /* Remove o contorno ao focar no botão */
  }

  /* Responsivo - Mobile */
  .logo-container {
    justify-content: flex-start; /* Alinha a logo à esquerda */
    padding-left: 0px; /* Adiciona um espaçamento à esquerda */
  }

  .logo-img {
    height: 135px; /* Ajusta o tamanho da logo no mobile */
    margin-top: 15px; /* Adiciona um espaçamento superior */
  }

  .header-flex {
    justify-content: space-between; /* Mantém o botão hambúrguer à direita */
  }

  /* Responsivo para telas menores */
  @media (max-width: 600px) {
    .tabs {
      flex-direction: row;      /* Abas lado a lado no mobile */
      gap: 5px;
      align-items: stretch;
      justify-content: center;
      flex-wrap: wrap;          /* Permite quebrar linha se não couber */
    }
    .tab-btn {
      border-radius: 5px;
      min-width: 90px;          /* Reduz largura mínima para caber mais abas */
      width: auto;
      flex: 1 1 0;              /* Faz as abas ocuparem o espaço disponível */
      padding: 8px 0;
      font-size: 14px;
    }
    .tab-content {
      padding: 15px 8px;
    }
  }
}

/* Ajuste do menu mobile para não sobrepor o ícone do menu-toggle */
@media (max-width: 800px) {
  .header-flex {
    position: relative;
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    cursor: pointer;
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1101; /* Garante que o botão fique acima do menu */
    background: none;
    border: none;
    padding: 10px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 10px;
    border: 1px solid #e6f7ff;
    box-shadow: 0 4px 16px rgba(0,131,176,0.07);
    padding: 18px 24px;
    border-radius: 16px;
    z-index: 1100;
    align-items: flex-start;
    min-width: 170px;
    width: max-content;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: left;
    font-size: 1.08rem;
    padding: 10px 0;
  }
}

/* Esconde o botão hambúrguer no desktop */
@media (min-width: 801px) {
  .menu-toggle {
    display: none;
  }
  .nav-links {
    display: flex !important;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    min-width: unset;
    width: auto;
  }
}

#servicos h3 {
  margin-bottom: 25px; /* Ou o valor que preferir */
}
