/* ==========================================================================
   FATOR CONTABILIDADE & XP INVESTIMENTOS
   Reforma Tributária em Linguagem Prática — Design System & Stylesheet
   Design: Preto Fosco, Grafite, Ouro Fator (#f8b808), Header/Footer Full-Width
   Logotipo Ampliado, Título Hero Destacado, Ícones SVG Padronizados
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Paleta Oficial Fator Contabilidade */
  --bg-space: #0a0a0c;
  --bg-cockpit: #0f0f13;
  --bg-card: rgba(14, 14, 20, 0.90);
  --bg-card-hover: rgba(22, 22, 32, 0.96);
  --bg-surface: rgba(16, 16, 24, 0.94);
  --bg-surface-elevated: rgba(24, 24, 36, 0.98);
  --blur-card: blur(36px);
  --blur-card-lg: blur(48px);
  --blur-card-sm: blur(20px);
  
  /* Cores de Ouro Fator Oficial */
  --fator-gold: #f8b808;
  --fator-gold-light: #ffd043;
  --fator-gold-dark: #d99c00;
  --fator-gold-glow: rgba(248, 184, 8, 0.35);
  --fator-gold-subtle: rgba(248, 184, 8, 0.12);
  --fator-gold-badge: rgba(248, 184, 8, 0.18);

  /* Cores de Apoio */
  --accent-cyan: #38bdf8;
  --accent-green: #10b981;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #20ba59;

  /* Cores de Texto de Alto Contraste */
  --text-primary: #ffffff;
  --text-secondary: #e5eaf2;
  --text-muted: #9fb0c7;
  --text-dim: #6e7e96;

  /* Bordas */
  --border-subtle: rgba(255, 255, 255, 0.10);
  --border-medium: rgba(255, 255, 255, 0.18);
  --border-gold: rgba(248, 184, 8, 0.38);
  --border-gold-bright: rgba(248, 184, 8, 0.85);

  /* Tipografia */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Raios e Sombras com Glass Inset */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 14px 40px -8px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 20px rgba(248, 184, 8, 0.05);
  --shadow-gold-glow: 0 8px 24px rgba(248, 184, 8, 0.35);

  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET E CONFIGURAÇÕES GLOBAIS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-space);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   BACKGROUND OFICIAL COM EFEITO PARALAXE
   ========================================================================== */
.parallax-bg {
  position: fixed;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  background-image: url('../assets/images/bg.png');
  background-size: cover;
  background-position: right bottom;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.08s ease-out;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 12, 0.78) 0%,
    rgba(10, 10, 12, 0.52) 45%,
    rgba(10, 10, 12, 0.82) 100%
  );
  pointer-events: none;
}

/* ==========================================================================
   HEADER LARGURA TOTAL (FULL WIDTH)
   ========================================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(10, 10, 12, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 1.25rem;
}

.app-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

/* Logotipo & Tagline Discreta e Elegante */
.app-brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.app-brand-link:hover {
  opacity: 0.92;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

/* Texto Menor e Discreto no Header Conforme Solicitado */
.brand-tagline-text {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--fator-gold);
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
  max-width: 130px;
  border-left: 1.5px solid rgba(248, 184, 8, 0.45);
  padding-left: 0.6rem;
  opacity: 0.92;
}

/* Elementos Desktop do Header (Ocultos no Mobile) */
.desktop-nav-bar {
  display: none;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
}

.desktop-nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
}

.desktop-nav-item:hover, .desktop-nav-item.active {
  color: #ffffff;
  background: rgba(248, 184, 8, 0.12);
  color: var(--fator-gold);
}

.desktop-header-actions {
  display: none;
  align-items: center;
  gap: 1.15rem;
}

.btn-gold-header {
  background: var(--fator-gold);
  color: #0a0a0c;
  border: none;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-gold-glow);
  transition: var(--transition-smooth);
}

.btn-gold-header:hover {
  background: var(--fator-gold-light);
  transform: translateY(-1px);
}

.header-hamburger-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.header-hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.header-hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   CONTEÚDO PRINCIPAL (SEM BORDA AMARELA)
   ========================================================================== */
.app-main-wrapper {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}

.app-main-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  transition: max-width 0.3s ease;
}

.app-screen {
  display: none;
  width: 100%;
  padding: 1.5rem 1.25rem;
  animation: fadeInScreen 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.app-screen.active {
  display: block;
}

@keyframes fadeInScreen {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   TELA 1: HUB PRINCIPAL (TÍTULO EXPANDIDO & BUSCA)
   ========================================================================== */
.hub-hero-section {
  margin-bottom: 1.75rem;
}

.hero-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fator-gold);
  background: var(--fator-gold-badge);
  border: 1px solid var(--border-gold);
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

/* Título Hero Maior e de Alto Impacto */
.hub-hero-title {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  letter-spacing: -0.025em;
}

.hub-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: #f1f5f9;
  display: block;
  font-size: 0.92em;
  margin-top: 0.2rem;
}

.hub-hero-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  line-height: 1.5;
}

/* Barra de Pesquisa "Qual a sua dúvida?" */
.search-bar-wrapper {
  position: relative;
  margin: 1.5rem 0 1.85rem 0;
  z-index: 10;
}

.search-input-container {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.25rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  border: 2px solid transparent;
  transition: var(--transition-smooth);
}

.search-input-container:focus-within {
  border-color: var(--fator-gold);
  box-shadow: 0 4px 22px rgba(248, 184, 8, 0.3);
}

.search-icon {
  color: #64748b;
  display: flex;
  align-items: center;
  margin-right: 0.65rem;
}

.search-input-field {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: #0f172a;
  outline: none;
  width: 100%;
}

.search-input-field::placeholder {
  color: #64748b;
  font-weight: 400;
}

.search-clear-btn {
  background: #e2e8f0;
  border: none;
  color: #475569;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Overlay de Resultados de Busca */
.search-results-overlay {
  display: none;
  background: var(--bg-surface);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  margin-top: 0.5rem;
  padding: 1rem;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-height: 400px;
  overflow-y: auto;
}

.search-results-overlay.active {
  display: block;
}

.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--fator-gold);
  font-weight: 600;
}

.search-result-item {
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: var(--blur-card-sm);
  -webkit-backdrop-filter: var(--blur-card-sm);
  margin-bottom: 0.6rem;
  cursor: pointer;
  border-left: 3px solid var(--fator-gold);
  transition: var(--transition-smooth);
}

.search-result-item:hover {
  background: rgba(248, 184, 8, 0.12);
  transform: translateX(3px);
}

.search-result-cat {
  font-size: 0.7rem;
  color: var(--fator-gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.search-result-question {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.search-result-snippet {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.search-highlight {
  background: rgba(248, 184, 8, 0.35);
  color: #ffffff;
  padding: 0 2px;
  border-radius: 2px;
}

/* Lista de Categorias com Ícones Padronizados & Glassmorphism Reforçado */
.categories-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.category-row-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
  user-select: none;
}

.category-row-card:hover, .category-row-card:active {
  background: var(--bg-card-hover);
  border-color: var(--border-gold-bright);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 22px rgba(248, 184, 8, 0.18);
  transform: translateX(4px);
}

.category-icon-box {
  color: var(--fator-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.category-info-box {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.category-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  line-height: 1.4;
  display: block;
}

.category-action-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.category-badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--fator-gold);
  background: var(--fator-gold-badge);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  display: inline-block;
}

.category-arrow {
  color: var(--fator-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Regras Exclusivas para Mobile (< 992px): Apenas Ícone, Título e Seta */
@media (max-width: 991.98px) {
  .category-row-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.25rem;
  }

  .category-icon-box {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }

  .category-info-box {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .category-desc {
    display: none !important;
  }

  .category-badge {
    display: none !important;
  }

  .category-action-box {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
    width: auto;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .category-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Card Rápido de Contato */
.hub-quick-contact-card {
  background: linear-gradient(135deg, rgba(248, 184, 8, 0.16) 0%, rgba(14, 14, 20, 0.94) 100%);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1rem;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hub-contact-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hub-contact-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.hub-contact-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-gold-inline {
  background: var(--fator-gold);
  color: #0a0a0c;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.btn-gold-inline:hover {
  background: var(--fator-gold-light);
  transform: scale(1.03);
}

.btn-outline-inline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.btn-outline-inline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

/* ==========================================================================
   TELA 2: LISTA DE PERGUNTAS DA CATEGORIA
   ========================================================================== */
.back-button-bar {
  margin-bottom: 1.25rem;
}

.btn-back-link {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.btn-back-link:hover {
  color: var(--fator-gold);
  background: rgba(255, 255, 255, 0.06);
}

.category-header-banner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.category-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--fator-gold-subtle);
  border: 1px solid var(--border-gold);
  color: var(--fator-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-banner-info h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.category-banner-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.questions-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.question-list-item {
  background: var(--bg-card);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.question-list-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.question-item-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(248, 184, 8, 0.15);
  color: var(--fator-gold);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.question-item-content {
  flex: 1;
}

.question-item-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.question-item-snippet {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.question-item-arrow {
  color: var(--fator-gold);
  margin-top: 0.2rem;
}

/* ==========================================================================
   TELA 2 (DETALHE): VISUALIZAÇÃO DA RESPOSTA
   ========================================================================== */
.question-detail-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.question-detail-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fator-gold);
  background: var(--fator-gold-badge);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.category-mini-icon {
  display: flex;
  align-items: center;
  color: var(--fator-gold);
}

.question-detail-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.question-detail-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.question-detail-body strong {
  color: #ffffff;
}

/* Card de Destaque / Lâmpada do Modelo Oficial */
.question-insight-card {
  background: rgba(16, 16, 24, 0.94);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0.5rem 0;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 20px rgba(248, 184, 8, 0.08);
}

.question-insight-icon {
  color: var(--fator-gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.question-insight-text {
  font-size: 0.88rem;
  color: #e5eaf2;
  line-height: 1.5;
}

.question-actions-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn-primary-action {
  background: var(--fator-gold);
  color: #0a0a0c;
  border: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-gold-glow);
}

.btn-primary-action:hover {
  background: var(--fator-gold-light);
  transform: translateY(-2px);
}

.btn-secondary-action {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-secondary-action:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Perguntas Relacionadas */
.related-questions-box {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.related-questions-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.related-questions-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.related-question-card {
  background: rgba(18, 18, 26, 0.88);
  backdrop-filter: var(--blur-card-sm);
  -webkit-backdrop-filter: var(--blur-card-sm);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.related-question-card:hover {
  background: rgba(248, 184, 8, 0.12);
  border-color: var(--border-gold);
  color: #ffffff;
}

.related-arrow {
  color: var(--fator-gold);
}

/* ==========================================================================
   TELA 3: AINDA COM DÚVIDAS? / ESPECIALISTAS
   ========================================================================== */
.contact-hero-wrapper {
  margin-bottom: 1.75rem;
}

.contact-hero-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.contact-hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.contact-cta-btn-wrapper {
  margin-bottom: 2rem;
}

.btn-gold-hero {
  width: 100%;
  background: var(--fator-gold);
  color: #0a0a0c;
  border: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(248, 184, 8, 0.4);
  transition: var(--transition-bounce);
}

.btn-gold-hero:hover {
  background: var(--fator-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(248, 184, 8, 0.55);
}

/* Lista de Canais de Contato Diretos */
.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.contact-channel-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.contact-channel-row:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateX(4px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 18px rgba(248, 184, 8, 0.15);
}

.contact-channel-icon {
  color: var(--fator-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.contact-channel-info {
  flex: 1;
}

.contact-channel-name {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-channel-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.desktop-only-block {
  display: none;
}

/* ==========================================================================
   FOOTER LARGURA TOTAL COM ÍCONES PADRONIZADOS
   ========================================================================== */
.app-footer {
  width: 100%;
  background: #070709;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem 1.25rem 2rem 1.25rem;
  margin-top: auto;
  position: relative;
  z-index: 5;
}

.footer-container {
  max-width: 1360px;
  margin: 0 auto;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  margin-bottom: 1.15rem;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.footer-tagline-box {
  display: flex;
  flex-direction: column;
  border-left: 2px solid rgba(248, 184, 8, 0.5);
  padding-left: 0.75rem;
}

.footer-tagline-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--fator-gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-tagline-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 1.25rem;
}

.footer-slogan-highlight {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--fator-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  background: rgba(248, 184, 8, 0.08);
  border-left: 3px solid var(--fator-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: inline-block;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.15rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: var(--transition-smooth);
}

.footer-nav-icon {
  color: var(--fator-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-links-list a:hover {
  color: var(--fator-gold);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.footer-contact-icon {
  color: var(--fator-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-xp-box {
  background: rgba(18, 18, 26, 0.90);
  backdrop-filter: var(--blur-card-sm);
  -webkit-backdrop-filter: var(--blur-card-sm);
  border: 1px solid rgba(248, 184, 8, 0.3);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-top: 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.xp-badge-title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--fator-gold);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.35rem;
}

.footer-xp-box p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}



/* ==========================================================================
   MODAL DE AGENDAMENTO DE CONVERSA
   ========================================================================== */
.app-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  animation: fadeInModal 0.25s ease forwards;
}

.app-modal-overlay.active {
  display: flex;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.app-modal-card {
  background: var(--bg-cockpit);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(248, 184, 8, 0.15);
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #ffffff;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input-control:focus {
  border-color: var(--fator-gold);
  background: rgba(248, 184, 8, 0.04);
}

.form-input-control::placeholder {
  color: var(--text-dim);
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* ==========================================================================
   DRAWER LATERAL (OFF-CANVAS MENU) COM ÍCONES PADRONIZADOS
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1050;
  display: none;
}

.drawer-backdrop.active {
  display: block;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 310px;
  max-width: 86vw;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-gold);
  z-index: 1100;
  padding: 1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px)) 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

.drawer-panel.active {
  right: 0;
}

.drawer-content-area {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.drawer-nav-icon {
  color: var(--fator-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drawer-nav-link:hover {
  color: var(--fator-gold);
  background: rgba(248, 184, 8, 0.08);
}

.drawer-footer {
  padding-top: 1.15rem;
  margin-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  color: var(--text-muted);
  flex-shrink: 0;
  line-height: 1.45;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.app-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1e1e26;
  border: 1px solid var(--fator-gold);
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(248, 184, 8, 0.3);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.app-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ==========================================================================
   ADAPTAÇÃO DESKTOP & TELAS LARGAS (>= 992px)
   ========================================================================== */
@media (min-width: 992px) {
  
  .app-header {
    padding: 1rem 2rem;
  }

  /* Logotipo Desktop & Tagline Discreta */
  .brand-logo-img {
    height: 64px;
  }

  .brand-tagline-text {
    font-size: 0.64rem;
    max-width: 145px;
    padding-left: 0.7rem;
    line-height: 1.15;
  }

  /* Exibe Navegação Desktop e Botão de CTA */
  .desktop-nav-bar {
    display: flex;
  }

  .desktop-header-actions {
    display: flex;
  }

  .header-hamburger-btn {
    display: none;
  }

  /* Container Principal no Desktop */
  .app-main-container {
    max-width: 1240px;
    padding: 1.5rem 2rem 3.5rem 2rem;
  }

  .app-screen {
    padding: 2.5rem 0;
  }

  /* Hero Section no Desktop com Título Ampliado */
  .hub-hero-section {
    max-width: 960px;
    margin-bottom: 2.75rem;
  }

  .hub-hero-title {
    font-size: 3.8rem;
    line-height: 1.06;
    letter-spacing: -0.03em;
  }

  .hub-hero-title em {
    font-size: 0.95em;
    margin-top: 0.3rem;
  }

  .hub-hero-subtitle {
    font-size: 1.25rem;
    max-width: 760px;
    margin-top: 1rem;
    line-height: 1.55;
  }

  .search-bar-wrapper {
    max-width: 800px;
    margin: 2.25rem 0 3rem 0;
  }

  .search-input-container {
    padding: 0.95rem 1.45rem;
  }

  .search-input-field {
    font-size: 1.08rem;
  }

  /* Categorias em Grade de 3 Colunas no Desktop */
  .categories-list-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
    margin-bottom: 3rem;
  }

  .category-row-card {
    padding: 1.45rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    min-height: 165px;
    justify-content: space-between;
  }

  .category-row-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 24px rgba(248, 184, 8, 0.2);
  }

  .category-info-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .category-title {
    font-size: 1.18rem;
  }

  .category-desc {
    display: block;
    font-size: 0.88rem;
    line-height: 1.45;
    margin-top: 0.35rem;
  }

  .category-action-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .category-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--fator-gold);
    background: var(--fator-gold-badge);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-pill);
  }

  /* Card Executivo de Contato */
  .hub-quick-contact-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.85rem 2.35rem;
  }

  .hub-contact-text h4 {
    font-size: 1.28rem;
  }

  .hub-contact-text p {
    font-size: 0.96rem;
  }

  /* Tela de Detalhe da Pergunta no Desktop */
  .question-detail-wrapper {
    max-width: 880px;
    gap: 1.5rem;
  }

  .question-detail-title {
    font-size: 2.15rem;
  }

  .question-detail-body {
    font-size: 1.05rem;
    line-height: 1.75;
  }

  .question-insight-card {
    padding: 1.65rem;
  }

  .question-insight-text {
    font-size: 1.02rem;
  }

  .question-actions-group {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .btn-primary-action {
    flex: 1;
    font-size: 1rem;
    padding: 1.1rem 1.5rem;
  }

  .btn-secondary-action {
    font-size: 0.95rem;
    padding: 1.1rem 1.5rem;
  }

  /* Tela de Contato no Desktop: Layout 2 Colunas */
  .desktop-contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    align-items: start;
    margin-top: 1rem;
  }

  .contact-hero-title {
    font-size: 2.4rem;
  }

  .contact-hero-desc {
    font-size: 1.05rem;
  }

  .desktop-only-block {
    display: block;
  }

  .desktop-booking-card {
    background: rgba(16, 16, 24, 0.95);
    backdrop-filter: var(--blur-card);
    -webkit-backdrop-filter: var(--blur-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .booking-card-header h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
  }

  .booking-card-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.35rem;
    line-height: 1.45;
  }

  /* Grid do Footer no Desktop */
  .footer-main-grid {
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 3.5rem;
  }

  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
