/* ---- CONFIGURAÇÕES GLOBAIS E VARIÁVEIS ---- */
:root {
  --cor-fundo: #121212;
  --cor-fundo-secundario: #1e1e1e;
  --cor-texto-principal: #e0e0e0;
  --cor-texto-secundario: #a0a0a0;
  --cor-destaque: #00ff9d;
  --cor-hover-botao: #00e68a;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: var(--cor-fundo);
  color: var(--cor-texto-principal);
  line-height: 1.6;
  padding-top: 70px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  color: var(--cor-destaque);
}

h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

section {
  padding: 60px 0;
}

/* ---- CABEÇALHO (HEADER) ---- */
header {
  background-color: rgba(18,18,18,0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--cor-fundo-secundario);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cor-destaque);
  text-decoration: none;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

.menu a {
  color: var(--cor-texto-principal);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px 10px;
}

.menu a:hover {
  color: var(--cor-destaque);
}

#menuBtn {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--cor-destaque);
  cursor: pointer;
  z-index: 2001;
}

/* ---- SEÇÃO DE CATEGORIAS COM IMAGENS ---- */
.subtitulo {
  text-align: center;
  margin-bottom: 30px;
  color: var(--cor-texto-secundario);
}

.centro {
  text-align: center;
}

.categorias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.categoria-card {
  background-color: var(--cor-fundo-secundario);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

.categoria-card:hover {
  transform: translateY(-10px);
  border-color: var(--cor-destaque);
}

.categoria-imagem {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}

.categoria-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.categoria-card:hover .categoria-imagem img {
  transform: scale(1.05);
}

/* ---- SEÇÃO DE VÍDEOS ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.video-card {
  background-color: var(--cor-fundo-secundario);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.video-card:hover {
  transform: translateY(-10px);
  border-color: var(--cor-destaque);
}

.video-embed-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background-color: #000;
}

.video-embed-container.vertical {
  padding-bottom: 177.77%; /* 9:16 */
}

.video-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info {
  padding: 1.25rem 1.5rem;
}

.video-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 0.5rem 0;
  color: var(--cor-texto-principal);
}

.video-desc {
  font-size: 0.95rem;
  color: var(--cor-texto-secundario);
  line-height: 1.5;
}

/* ---- BOTÕES DESTACADOS ---- */
.cta-btn.orcamento-btn {
  background-color: #007bff;
  font-size: 1.2rem;
  padding: 18px 40px;
  margin: 10px 0 5px 0;
  display: inline-block;
  border-radius: 8px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn.orcamento-btn:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.cta-btn.voltar-btn {
  background-color: #dc3545;
  margin-top: 10px;
  padding: 15px 35px;
  font-size: 1.1rem;
}

.cta-btn.voltar-btn:hover {
  background-color: #c82333;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* Container dos botões */
.botoes-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

/* ---- DRIVE CONTAINER ---- */
.drive-container {
  background-color: var(--cor-fundo-secundario);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.drive-container iframe {
  border-radius: 8px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

/* ---- FORMULÁRIO ---- */
.form-embed-container {
  background-color: #DEF5F8;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-embed-container iframe {
  width: 100%;
  height: 800px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

/* ---- SEÇÕES OCULTAS ---- */
.secao-oculta {
  display: none;
}

/* ---- POPUP ---- */
#popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

#popup-content {
  background: #1e1e1e;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  color: #fff;
  animation: popup-entrance 0.5s ease-out;
}

#popup-content .btn-redirecionar {
  display: inline-block;
  background: var(--cor-destaque);
  color: #000;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 15px;
}

#popup-content .btn-redirecionar:hover {
  background: var(--cor-hover-botao);
}

.close-btn {
  background: #ff4c4c;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 15px;
  font-weight: bold;
}

.close-btn:hover {
  background: #e03a3a;
}

@keyframes popup-entrance {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ---- FOOTER ---- */
footer {
  background-color: var(--cor-fundo-secundario);
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
}

.social-links { 
  margin-top: 20px; 
}

.social-links a {
  color: var(--cor-texto-principal);
  font-size: 2rem;
  margin: 0 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--cor-destaque);
}

footer p {
  margin-top: 20px;
  color: var(--cor-texto-secundario);
}

/* ==================================== */
/* ---- RESPONSIVIDADE PARA CELULAR ---- */
/* ==================================== */
@media (max-width: 768px) {
  body { padding-top: 60px; }
  section { padding: 40px 0; }
  h2 { font-size: 2rem; margin-bottom: 30px; }

  .menu { display: none; flex-direction: column; justify-content: center; align-items: center; background: var(--cor-fundo); position: fixed; top: 0; right: 0; width: 100%; height: 100vh; z-index: 2000; transform: translateX(100%); transition: transform 0.4s ease-in-out; }
  .menu.open { display: flex; transform: translateX(0); }
  .menu ul { flex-direction: column; gap: 20px; }
  .menu a { font-size: 1.8rem; }
  #menuBtn { display: block; }

  .categorias-grid, .video-grid { grid-template-columns: 1fr; gap: 20px; }
  .categoria-card, .video-card { padding: 20px; }
  .botoes-container { flex-direction: column; gap: 10px; }

  .cta-btn.orcamento-btn, .cta-btn.voltar-btn { width: 100%; max-width: 300px; }
}

@media (max-width: 480px) {
  .container { padding: 0 15px; }
  .cta-btn { padding: 12px 25px; font-size: 0.9rem; }
  footer .social-links a { font-size: 1.8rem; margin: 0 10px; }
}
.botoes-container {
  text-align: center;
}

.cta-btn.orcamento-btn {
  background-color: #00FF9D; /* verde neon */
  color: #000; /* preto pra contraste ficar top */
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: 0.2s;
}

.cta-btn.orcamento-btn:hover {
  background-color: #00d783; /* mesma vibe, só um pouquinho mais escuro no hover */
}
/* BOTÃO VOLTAR - ESTILO PADRÃO IGUAL AO VERDE, SÓ QUE VERMELHO */
.cta-btn.voltar-btn {
  background-color: #ff4c4c; /* vermelho principal */
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: 0.2s;
}

/* HOVER BONITO */
.cta-btn.voltar-btn:hover {
  background-color: #e03a3a; /* vermelho mais escuro */
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 76, 76, 0.3);
}

