body {
  margin: 0;
  padding-top: 64px; 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0b0f18;
  color: #fff;
}

h1{
  font-size: clamp(2.8rem, 5vw + 1rem, 4.2rem); /* móvel → desktop */
  line-height: 1.1;
  margin: .5em 0;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.logo {
  width: 120px;
  margin-bottom: 1rem;
}

#hero {
  position: relative;
  background-image: url('assets/capa-gdonline.webp');
  background-size: cover;
  background-position: center;
  min-height: calc(100vh - 64px);  
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 40px;
  padding-inline: 1rem; 
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.35); /* leve escuridão para legibilidade */
  padding: 40px;
  border-radius: 10px;
}


.slogan {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.botao {
  background: #00e0ff;
  color: #000;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: 0.3s;
}

.botao:hover {
  background: #ffffff;
  color: #000;
}

.sobre {
  background-color: #111827;
  padding: 4rem 2rem;
}

.sobre h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.servicos {
  background-color: #0b0f18;
  padding: 4rem 2rem;
}

.servicos h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #00e0ff;
}

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

.card-servico {
  background-color: #111827;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #111827;
  transition: transform 0.3s ease;
}

.card-servico:hover {
  transform: translateY(-8px);
  border-color: #00e0ff;
}

.card-servico h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.card-servico p {
  font-size: 0.95rem;
  color: #d1d5db;
  line-height: 1.4;
}
.icone-svg {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.botao-modal {
  background: transparent;
  border: 1px solid #00e0ff;
  color: #00e0ff;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.botao-modal:hover {
  background: #00e0ff;
  color: #000;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-conteudo {
  background-color: #111827;
  margin: 10% auto;
  padding: 2rem;
  border: 1px solid #00e0ff;
  width: 80%;
  max-width: 500px;
  border-radius: 12px;
  color: #fff;
}

@media (max-width:480px){
  .modal-conteudo{
    width:92%;
    margin:20% auto;
    padding:1.5rem;
  }
}

.fechar {
  color: #00e0ff;
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.portfolio {
  background-color: #0b0f18;
  padding: 4rem 2rem;
  text-align: center;
}

.portfolio h2 {
  font-size: 2rem;
  color:#00e0ff;
  margin-bottom: 1rem;
}

.portfolio-sub {
  color: #d1d5db;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #111827;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  aspect-ratio: 16 / 9;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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


.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: white;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.overlay h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #dee907;
}

.overlay p {
  font-size: 0.9rem;
  color: #d1d5db;
  margin-top: 0.3rem;
}

/* Menu fixo padrão já existente */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
   z-index: 999;
  background: rgba(11, 15, 24, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #1f2937;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo-navbar {
  font-size: 1.2rem;
  font-weight: bold;
  color: #00e0ff;
  text-decoration: none;
}

/* Menu normal em desktop */
.menu {
  display: flex;
  gap: 2rem;
}
*,*::before,*::after{box-sizing:border-box;}
html{font-size:clamp(14px,2.2vw,18px);}
.menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.menu a:hover {
  color: #00e0ff;
}

/* Botão hamburguer só aparece no mobile */
.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  color: #00e0ff;
  border: none;
  cursor: pointer;
}

/* Estilos para telas pequenas */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .menu {
  display: none;         /* só aparece quando ganhar a classe .show   */
  flex-direction: column;
  position: fixed;       /* em vez de absolute */
  inset: 64px 0 0 0;     /* cola logo abaixo do header, cobre a tela */
  background: rgba(11, 15, 24, 0.95);
  width: 100vw;
  height: calc(100vh - 64px);
  overflow-y: auto;
  }

  .menu.show {
    display: flex;
    flex-direction: column;
    align-items: center;   /* opcional – centraliza links */
    gap: 1rem;
  }

  .menu a {
    padding: 1rem;
    border-bottom: 1px solid #1f2937;
  }

  header {
    padding: 10px;
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* HERO – ajuste mobile */
.hero{
  /* ocupa ao menos a tela toda, descontando o cabeçalho fixo de ±64 px */
  min-height: calc(100vh - 64px);
  height: auto;           /* cresce se o conteúdo exigir            */
  padding: 30px 1rem;     /* diminui padding lateral                */
  background-size: cover;
  background-position: center;
  text-align: center;
}

/* overlay mais compacto em telas muito estreitas */
@media (max-width: 480px){
  .hero-overlay{
    padding: 24px;
    border-radius: 8px;
  }
  .hero-overlay h1{font-size:1.6rem;line-height:1.3;}
  .slogan{font-size:1rem;}
}


  .hero h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 16px;
  }

  .container {
    padding: 20px 15px;
  }

  .services,
  .portfolio {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .services .service,
  .portfolio .project {
    width: 100%;
  }

  form {
    width: 100%;
  }

  input, textarea {
    width: 100%;
    font-size: 16px;
  }

  footer {
    padding: 20px 10px;
    font-size: 14px;
    text-align: center;
  }

  footer p {
    margin-bottom: 10px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float img {
    width: 100%;
  }

  @media (max-width:480px){
  .whatsapp-fixo{right:16px;bottom:16px;width:48px;height:48px;}
}
}

.contato {
  background-color: #111827;
  padding: 4rem 2rem;
  text-align: center;
}

.contato h2 {
  color: #00e0ff;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contato p {
  color: #d1d5db;
  margin-bottom: 2rem;
}

form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea {
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #1f2937;
  background-color: #0b0f18;
  color: white;
  font-size: 1rem;
  outline: none;
}

form button {
  padding: 0.8rem;
  border: none;
  background-color: #00e0ff;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #ffffff;
}

.feedback {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #00e0ff;
}

.whatsapp-fixo {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-fixo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.whatsapp-fixo img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background-color: #25D366;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
}


html {
  scroll-behavior: smooth;
}


footer {
  background-color: #000;
  padding: 2rem;
  font-size: 0.9rem;
  opacity: 0.6;
}
.clientes {
  background-color: #111827;
  padding: 4rem 2rem;
  text-align: center;
}

.clientes h2 {
  font-size: 2rem;
  color: #00e0ff;
  margin-bottom: 2rem;
}

.clientes-swiper {
  padding: 1rem 0 2rem;
}

.clientes-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 12px;
  padding: 1rem;
  height: 160px; /* altura fixa */
  width: 220px;  /* largura fixa */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.clientes-swiper img {
  max-height: 85%;
  max-width: 85%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: grayscale(100%) brightness(1.3) contrast(1.1);
  opacity: 0.8;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}


.clientes-swiper img:hover {
  transform: scale(1.05);
  filter: none;
  opacity: 1;
}
.clientes-wrapper {
  max-width: 960px;
  margin: 0 auto;
}
.texto-clientes {
  color: #d1d5db;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-style: italic;
}
/* Tamanho base (já aplicado) */
.logo {
  max-height: 70%;
  max-width: 70%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: grayscale(100%) brightness(1.3) contrast(1.1);
  opacity: 0.8;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

/* Específicos por logo — ajuste de proporção */
.logo-dinamica,
.logo-grotta{
  transform: scale(1.15);
  max-height: 100%;   /* preenche toda a altura do card */
  max-width : 100%;   /* idem largura  */
}

.logo-sgarbi{
  max-height: 85%;    /* levemente menor para equilibrar */
  max-width : 85%;
}
#hero .logo{
  filter:none;
  opacity:1;
}



