/* ===================== RESET BÁSICO ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #121212;
  color: #fff;
}

/* Container padrão para centralizar conteúdo */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===================== TOPBAR ===================== */
.topbar {
  position: fixed;      /* Fixa a barra no topo */
  top: 0;
  width: 100%;
  z-index: 1000;        /* Para ficar acima do header */
  background: #00A3E0;  /* Cor de fundo (azul) */
  color: #fff;
  padding: 5px 0;
}

.topbar-container {
  display: flex;
  justify-content: flex-end; /* Link à direita */
  align-items: center;
  max-width: 1200px;   
  margin: 0 auto;
  padding: 0 15px;
}

.topbar a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.topbar a i {
  font-size: 1.2rem;
}

/* ===================== CABEÇALHO ===================== */
.header {
  position: fixed;
  top: 40px;            /* HEADER começa 40px abaixo da TOPBAR */
  width: 100%;
  background: #1A1A1A;
  z-index: 999;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.header .logo img {
  height: 40px;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #00A3E0; /* Azul inspirado na UPDATEDB */
}

/* Ícone de menu mobile (escondido no desktop) */
.mobile-menu-icon {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: #fff;
}

/* ===================== SEÇÃO HERO ===================== */
.hero {
  min-height: 100vh;  
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0 20px;
}

.hero-content {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 8px;
  display: inline-block;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #1edc63;
}

.hero-content p {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.btn-hero {
  display: inline-block;
  background: #00A3E0;
  color: #fff;
  padding: 15px 25px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-hero:hover {
  background: #0087b9;
}

/* ===================== SEÇÃO SOBRE ===================== */
.sobre {
  padding: 80px 0;
  background: #1E1E1E;
}

.sobre-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.sobre-texto h2 {
  color: #1edc63;
  font-size: 2rem;
  margin-bottom: 20px;
}

.sobre-texto p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.sobre-imagem img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ===================== SEÇÃO SERVIÇOS ===================== */
.servicos {
  padding: 80px 0;
  background: #121212;
  text-align: center;
}

.servicos h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #1edc63;
}

.servicos-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.servico-card {
  background: #1A1A1A;
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s ease;
  text-align: center;
}

.servico-card:hover {
  transform: translateY(-5px);
}

.servico-card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 15px;
  border-radius: 8px;
}

.servico-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #1edc63;
}

/* ===================== SEÇÃO PORTFÓLIO ===================== */
.portfolio {
  padding: 80px 0;
  text-align: center;
  background: #1E1E1E;
}

.portfolio h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #1edc63;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.portfolio-item {
  position: relative;
  border-radius: 8px;
}

.portfolio-item img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.portfolio-item:hover img {
  transform: scale(1.02);
}

.portfolio-item .overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 163, 224, 0.8);
  color: #fff;
  padding: 10px 15px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

/* ===================== SEÇÃO DEPOIMENTOS ===================== */
.depoimentos {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 0;
  text-align: center;
}

.depoimentos h2 {
  position: relative;
  z-index: 2; /* Mantém o texto acima do fundo */
  color: #1edc63; /* Mantém a cor verde */
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Adiciona sombra preta */
}


.depoimentos-carousel {
  max-width: 800px;
  margin: 0 auto;
}

.depoimento {
  background: rgba(26, 26, 26, 0.8);
  margin-bottom: 20px;
  padding: 30px;
  border-radius: 6px;
}

.depoimento p {
  font-style: italic;
  margin-bottom: 10px;
}

.depoimento h4 {
  font-weight: normal;
  color: #ccc;
}

/* ===================== SEÇÃO BLOG / NOVIDADES ===================== */
.blog {
  background: #1E1E1E;
  padding: 80px 0;
  text-align: center;
}

.blog h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #1edc63;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.blog-card {
  background: #1A1A1A;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  text-align: left;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  max-width: 100%;
  height: auto;
  display: block;
}

.blog-card h3 {
  margin: 15px;
  font-size: 1.2rem;
  color: #00A3E0;
}

.blog-card p {
  margin: 0 15px 15px 15px;
}

.btn-leia-mais {
  display: inline-block;
  margin: 0 15px 15px 15px;
  color: #fff;
  background: #00A3E0;
  padding: 10px 15px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-leia-mais:hover {
  background: #0087b9;
}

/* ===================== SEÇÃO EQUIPE ===================== */
.equipe {
  background: #121212;
  padding: 80px 0;
  text-align: center;
}

.equipe h2 {
  color: #1edc63;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.equipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.membro {
  background: #1A1A1A;
  border-radius: 8px;
  padding: 20px;
}

.membro img {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  display: block;
  margin: 0 auto 15px;
}

.membro h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

/* ===================== SEÇÃO CONTATO ===================== */
.contato {
  background: #1E1E1E;
  padding: 80px 0;
  text-align: center;
}

.contato h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #1edc63;
}

.form-contato {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: none;
  background: #333;
  border-radius: 4px;
  color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid #00A3E0;
}

.form-contato button {
  background: #00A3E0;
  color: #fff;
  border: none;
  padding: 14px 25px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.form-contato button:hover {
  background: #0087b9;
}

/* ===================== FOOTER ===================== */
.footer {
  background: #1A1A1A;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  justify-content: space-between;
}

.footer-logo img {
  width: 100px;
  margin-bottom: 10px;
}

.footer-links ul,
.footer-social ul {
  list-style: none;
}

.footer-links ul li a,
.footer-social ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-social ul li a:hover {
  color: #fff;
}

/* ===================== BOTÃO FLUTUANTE DE WHATSAPP ===================== */
.whatsapp-float {
  display: block !important;
}


.whatsapp-float {
  position: fixed;
  bottom: 20px;         /* Distância do fundo da tela */
  right: 20px;          /* Distância da lateral direita */
  z-index: 99999;       /* Garante que fica acima de outros elementos */
  background: #25D366;  /* Cor verde oficial do WhatsApp */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-float a {
  color: #fff;
  font-size: 30px; /* Ajusta o tamanho do ícone */
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; /* Garante preenchimento */
  height: 100%;
}

.whatsapp-float:hover {
  background: #1EBE5D; /* Cor ao passar o mouse */
}


/* ===================== RESPONSIVIDADE ===================== */
@media (max-width: 768px) {
  /* Menu mobile */
  .nav ul {
    position: absolute;
    top: 70px;
    right: 0;
    background: #1A1A1A;
    width: 200px;
    flex-direction: column;
    gap: 0;
    display: none;
  }

  .nav ul li {
    border-bottom: 1px solid #333;
  }

  .nav ul li:last-child {
    border-bottom: none;
  }

  .mobile-menu-icon {
    display: block;
  }

  /* Ajuste de Hero para telas menores */
  .hero {
    min-height: auto;
    padding: 100px 20px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  /* Seção Sobre: empilhar texto e imagem */
  .sobre-container {
    grid-template-columns: 1fr;
  }
}
