/* ==========================================================================
   RESET E VARIÁVEIS
   ========================================================================== */
:root {
  --bg-main: #0c0c0d;
  --bg-card: #131315;
  --bg-input: #18181b;
  --border-color: #222225;
  --gold-primary: #d3b26a;
  --gold-muted: #a38545;
  --text-main: #f4f4f5;
  --text-muted: #9f9fa8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */

.header-principal {
  background-color: rgba(12, 12, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo com efeito Glow */
.logo-box {
  display: flex;
  align-items: center;
  text-decoration: none;
  overflow: hidden;
  position: relative;
}

.header-logo {
  height: 85px;
  width: auto;
  object-fit: cover;
  transform: scale(1.3);
  mix-blend-mode: screen; 
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.logo-box:hover .header-logo {
  transform: scale(1.4);
  filter: drop-shadow(0 0 12px rgba(211, 178, 106, 0.4));
}

.header-logo:hover {
  transform: scale(1.4);
}

.logo-badge {
  border: 1px solid var(--border-color);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--bg-card);
}

.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

/* Menu de Links Animados */
nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

nav ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

/* Animação da barra dourada no Hover */
nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 2px;
}

nav ul li a:hover {
  color: var(--text-main);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a.active {
  color: var(--gold-primary);
  font-weight: 600;
}

/* Botão CTA do Header Interativo */
.btn-header {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-muted) 100%);
  color: #0c0c0d;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  box-shadow: 0 0 0px rgba(211, 178, 106, 0);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(211, 178, 106, 0.35);
  filter: brightness(1.1);
}

/* Botão Hambúrguer Mobile (Oculto no Desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Animação do Ícone Hambúrguer para 'X' */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   ESTILOS DE SEÇÃO E BENTO GRID
   ========================================================================== */
.highlight-gold {
  color: var(--gold-primary, #d3b26a);
  display: inline;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  max-width: 900px;
  margin: 20px auto;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #9f9fa8;
  max-width: 700px;
  margin: 0 auto 32px;
  text-align: center;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: #d3b26a;
  color: #0d0d0e;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background-color: #e5c37b;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(211, 178, 106, 0.3);
}

.btn-secondary {
  background-color: #18181b;
  color: #f4f4f5;
  border: 1px solid #27272a;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background-color: #27272a;
  color: #ffffff;
  border-color: #3f3f46;
  transform: translateY(-2px);
}

section {
  padding: 90px 0;
  border-bottom: 1px solid var(--border-color);
}

.section-tag {
  color: var(--gold-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 800px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin-bottom: 48px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card-bento {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gold-primary);
}

.card-bento h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card-bento p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.btn-card {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border 0.2s;
}

.btn-card:hover {
  border-color: var(--gold-primary);
}

/* ==========================================================================
   SEÇÃO SOBRE NÓS
   ========================================================================== */
.sobre-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.sobre-img-box img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  object-fit: cover;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FORMULÁRIO DE BRIEFING DUAL-COLUMN
   ========================================================================== */
.briefing-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.briefing-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.form-group input, .form-group select, .form-group textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px;
  color: #fff;
  font-size: 0.9rem;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.briefing-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.terminal-box {
  background: #000;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  font-family: monospace;
  font-size: 0.85rem;
  color: #22c55e;
  white-space: pre-wrap;
  min-height: 280px;
}

/* ==========================================================================
   ACCORDION (FAQ)
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
}

.faq-question {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  display: none;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   BANNER FINAL (GOLD CTA)
   ========================================================================== */
.cta-banner {
  background-color: var(--gold-primary);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  color: #0c0c0d;
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #0c0c0d;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  color: #27272a;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn-black {
  background: #0c0c0d;
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

.btn-outline-black {
  border: 1px solid #0c0c0d;
  color: #0c0c0d;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

/* ==========================================================================
   FOOTER (RODAPÉ)
   ========================================================================== */
.site-footer {
  background-color: #080809;
  border-top: 1px solid var(--border-color);
  padding-top: 60px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-logo-box {
  display: block;
  margin-bottom: 12px;
}

.footer-logo {
  height: 85px;
  width: auto;
  object-fit: contain;
  transform: scale(1.3);
  transform-origin: left center;
  mix-blend-mode: screen;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.38);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
  color: var(--text-muted);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links, .footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-icon {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

/* Cores dos Ícones */
.icon-wa { color: #25d366; }
.icon-gmail { color: #ea4335; }
.icon-ig { color: #e1306c; }
.icon-geo { color: var(--gold-primary); }

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #52525b;
}

/* ==========================================================================
   RESPONSIVIDADE (APENAS PARA TELAS MENORES QUE 768px)
   ========================================================================== */
/* ==========================================================================
   RESPONSIVIDADE (TELAS MENORES QUE 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Garante alinhamento entre Logo (esquerda) e Hambúrguer (direita) */
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  /* Oculta o botão CTA no mobile para a barra não ficar espremida */
  .btn-header {
    display: none;
  }

  /* Exibe o botão hambúrguer no canto direito */
  .menu-toggle {
    display: flex;
  }

  /* Painel Lateral do Menu (Drawer) */
  nav {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%; /* Escondido fora da tela */
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--bg-card);
    border-left: 1px solid var(--border-color);
    padding: 100px 32px 40px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    z-index: 999;
  }

  /* Exibe o menu quando o JS insere a classe .open */
  nav.open {
    right: 0 !important;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    font-size: 1.1rem;
    display: block;
    width: 100%;
    padding: 8px 0;
  }

  /* Ajustes de Grid para Telas Menores */
  .sobre-wrapper, 
  .briefing-wrapper,
  .form-grid,
  .footer-grid { 
    grid-template-columns: 1fr; 
    gap: 32px;
  }
}