:root {
  --cor-primaria: #61e239;
  --cor-secundaria: #a020f0;
  --fundo-gradiente: linear-gradient(135deg, #0a0a0a, #2c004e);
  --secao-largura: 90vw;           /* largura padrão das seções alinhadas */
}

body {
  margin: 0;
  padding-top: 70px;               /* respeita o menu fixo */
  background: var(--fundo-gradiente);
  min-height: 100vh;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  font-family: 'Orbitron', sans-serif;
}
section {
  border-bottom: 2px solid rgba(255,255,255,0.08);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.feature-grid,
.banner-section,
.feature-section {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.feature-grid::before {
  background: 
    linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6)),
    url('imgs/banner2.JPG') center/cover no-repeat;
}

/* menu fixo */
.top-menu {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo-area { display: flex; align-items: center; gap: 1rem; }
.logo      { width: 40px; height: 40px; }
.studio-name { font-size: 1.2rem; font-weight: bold; color: var(--cor-primaria); }

/* banner + tabs */
.banner-section {
  position: relative;
  /* width: 100%;
  height: 60vh; */
    height: 80vh; /* Aumenta a altura do banner */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  border-bottom: 2px solid rgba(255,255,255,0.1); /* borda suave entre seções */
}

.background-frame {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw; /* Expande para a largura total da tela */
  height: 100%; /* Ocupa toda a altura da seção */
  background-image: url('imgs/banner1.JPG');
  background-size: cover;
  background-position: center;
  border-radius: 0; /* Remove bordas arredondadas se quiser tela cheia */
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  opacity: 0.3;
  z-index: 0;
}

.background-frame2 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--secao-largura);
  height: 100%;
  background-image: url('imgs/banner2.JPG');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  opacity: 0.3;
  z-index: 0;
}
.background-frame3 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--secao-largura);
  height: 100%;
  background-image: url('imgs/banner3.JPG');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  opacity: 0.3;
  z-index: 0;
}
.modal {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 2rem;
  width: 90%;
  max-width: 600px;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.tab-menu { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1rem; }
.tab-button {
  background: none;
  border: 2px solid white;
  color: white;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}
.tab-button:hover,
.tab-button.active {
  background-color: var(--cor-secundaria);
}

.tab-content { text-align: center; }
.tab-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.tab-panel.active {
  display: block;
  opacity: 1;
}

/* seção de funcionalidades: duas colunas alinhadas à mesma largura do banner */
.feature-section {
  width: var(--secao-largura);
  display: flex;
  gap: 2rem;
  margin: 3rem auto;
}

/* coluna esquerda fixa/sticky */
.feature-left {
  flex: 0 0 20%;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}
.feature-left img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* coluna direita: 3 boxes iguais e totalmente preenchendo a largura */
.feature-right {
  flex: 1;
  display: flex;
  gap: 1.5rem;
}

.feature-right .img-box {
  flex: 1 1 0;            /* divide igualmente o espaço disponível */
  min-width: 0;           /* evita overflow em conteúdos internos */
  aspect-ratio: 1 / 1;    /* proporção quadrada para largura = altura */
  border-radius: 12px;
  overflow: hidden;
  background-color: rgba(255,255,255,0.05);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.feature-right .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-right .img-box:hover {
  transform: scale(1.03);
}


/* 2×2 grid de features */
.feature-grid {
  width: 85vw;
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.feature-grid .grid-item {
  background-color: rgba(255,255,255,0.05);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.feature-grid .grid-item:hover {
  transform: scale(1.02);
}

.feature-grid .grid-item img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-grid .grid-item .caption {
  padding: 1rem;
  text-align: center;
}

.feature-grid .grid-item h3 {
  margin: 0 0 .5rem;
  font-size: 1.2rem;
  color: var(--cor-primaria);
}

.feature-grid .grid-item p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.4;
}


:root {
  /* gradiente customizado para o footer */
  --footer-gradient: linear-gradient(
    135deg,
    #000000 0%,
    #07100a 40%,
    #12321d 100%
  );
}

.footer {
  width: 100%;
  background: var(--footer-gradient);
  border-top: 2px solid var(--cor-primaria);
  padding: 1.5rem 0;
}

.footer-content {
  /* alinha o conteúdo à mesma largura do banner e da feature-section */
  /* width: var(--secao-largura, 90vw);
  max-width: 1000px; */
margin: 0 auto;
  display: flex;
  justify-content: center; /* Centraliza horizontalmente */
  align-items: center;     /* Centraliza verticalmente */
  flex-direction: column;  /* Empilha os elementos se houver mais de um */
  text-align: center;
}

/* Marca à esquerda */
.footer-brand {
    margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-logo {
  width: 30px;
  height: 30px;
}

.footer-brand span {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  color: var(--cor-primaria);
  font-weight: bold;
}

/* Contato à direita */
.footer-contact p {
  margin: 0.2rem 0;
  color: #e0e0e0;
  font-size: 0.95rem;
}

.footer-contact strong {
  color: var(--cor-secundaria);
}

.feature-grid {
  position: relative;
  z-index: 1;
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 2rem;
}

/* fundo expandido para toda a tela */
.feature-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 85vw;
  height: 100%;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('imgs/banner2.JPG') center/cover no-repeat;
  z-index: 0;
}

/* garante que os itens fiquem acima do fundo */
.feature-grid > * {
  position: relative;
  z-index: 1;
}
.banner-section-wpp {
  position: relative;
  width: 100%;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  overflow: hidden;
  z-index: 1;
}
/* fundo em tela cheia com imagem banner3 */
.banner-section-wpp::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('imgs/banner3.JPG') center/cover no-repeat;
  z-index: 0;
}

/* conteúdo do banner por cima do fundo */
.wpp-banner-container {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.6);
  border: 2px solid var(--cor-primaria);
  border-radius: 16px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
}

.wpp-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.wpp-title {
  font-size: 1.8rem;
  color: var(--cor-primaria);
  margin-bottom: 1rem;
}

.wpp-message {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.wpp-cta {
  font-size: 0.95rem;
  color: var(--cor-secundaria);
  margin-bottom: 0.5rem;
}

.wpp-contact {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--cor-primaria);
}
.whatsapp-link {
  display: inline-block;
  font-size: 1.2rem;
  color: var(--cor-primaria);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 2px solid var(--cor-primaria);
  border-radius: 8px;
  transition: background 0.3s ease;
}

.whatsapp-link:hover {
  background-color: var(--cor-primaria);
  color: black;
}
.background-frame,
.background-frame2,
.background-frame3 {
  width: 100vw;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 0; /* opcional: remove borda arredondada se quiser tela cheia */
}

.feature-grid .grid-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.feature-grid {
  width: 100vw;
  max-width: none;
  padding: 0;
}
.wpp-banner-container {
  background-size: cover;
  background-position: center;
}
.whatsapp-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: black;
  background-color: var(--cor-primaria);
  border: none;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #7aff5c;
  transform: scale(1.05);
}
.faleconosco-image {
  width: 100%;
  max-width: 400px;
  margin: 1rem auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}
@media (max-width: 700px) {
  .banner-section {
    height: 80vh; /* evita corte do conteúdo */
    padding: 2rem 1rem;
    flex-direction: column;
    align-items: center;
  }

  .background-frame3 {
    height: 100%;
    min-height: 100%;
    width: 100vw;
    border-radius: 0;
  }

  .wpp-banner-container {
    width: 95%;
    max-width: none;
    padding: 1.5rem;
    box-sizing: border-box;
  }

  .wpp-title {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  .faleconosco-image {
    max-width: 90%;
    margin: 1rem auto;
    display: block;
  }

  .wpp-contact {
    display: block;
    font-size: 1rem;
    color: var(--cor-primaria);
    margin-top: 1rem;
    text-align: center;
    opacity: 1;
  }

  .whatsapp-button {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
    margin-top: 1rem;
  }
}

/* responsividade: empilha em telas menores */
@media (max-width: 900px) {
  .feature-section {
    flex-direction: column;
    align-items: center;
  }

  .feature-left {
    width: 100%;
    position: relative;
    top: auto;
    margin-bottom: 2rem;
  }

  .feature-right {
    flex-direction: column;
    gap: 1rem;
  }

  .feature-right .img-box {
    aspect-ratio: auto;    /* altura natural do conteúdo */
    width: 100%;
  }
}

/* pequenos ajustes para banner em mobile */
@media (max-width: 700px) {
  .banner-section { height: 80vh; }

  .background-frame {
    width: var(--secao-largura);
    height: 100%;
  }

  .modal { padding: 1rem; }
  .tab-button { padding: 0.4rem 0.8rem; font-size: 0.9rem; }
  .studio-name { font-size: 1rem; }
}
/* Responsividade: empilha em mobile */
@media (max-width: 700px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsividade: empilha no mobile */
@media (max-width: 700px) {
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
@media (max-width: 700px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem; /* reduz o espaço entre os blocos */
    padding: 1rem; /* menos espaço interno */
    margin: 2rem auto; /* menos margem externa */
  }

  .feature-grid .grid-item {
    margin-bottom: 0.5rem; /* aproxima ainda mais os blocos */
    box-shadow: 0 0 10px rgba(0,0,0,0.3); /* sombra mais leve no mobile */
  }

  .feature-grid .grid-item .caption {
    padding: 0.8rem;
  }

  .feature-grid .grid-item h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .feature-grid .grid-item p {
    font-size: 0.9rem;
    line-height: 1.3;
  }
}
