/* ==============================================================================
   STYLE.CSS - ABRAÃO ARAÚJO | REI DOS APPS (NOVA IDENTIDADE MULTIPÁGINAS)
   Baseado em HTML5 + CSS3 Puro, Tokens de Design, Grid Atmosférico e UI Premium
   ============================================================================== */

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

/* 1. VARIÁVEIS E TOKENS DE DESIGN */
:root {
  --bg-canvas: #080926;
  --bg-deep: #07081f;
  --surface-1: rgba(20, 23, 66, 0.72);
  --surface-2: rgba(27, 31, 86, 0.84);
  --surface-card: rgba(18, 21, 62, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.085);
  --border-accent: rgba(255, 176, 58, 0.35);

  --accent-amber: #ffb03a;
  --accent-orange: #ff8a1f;
  --accent-gradient: linear-gradient(135deg, #ffb03a 0%, #ff8a1f 100%);
  --accent-text-gradient: linear-gradient(135deg, #ffc261 0%, #ff9924 100%);

  --text-primary: #f6f7ff;
  --text-body: #d3d6ee;
  --text-muted: #989cc8;

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-warm: 0 8px 24px -8px rgba(255, 146, 36, 0.48);
  --shadow-card: 0 16px 36px -12px rgba(4, 5, 22, 0.65);
  --shadow-glow: 0 0 45px rgba(255, 176, 58, 0.18);

  --container-max: 1200px;
  --header-height: 110px;
}

/* 2. RESET E BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

html.has-custom-cursor,
html.has-custom-cursor * {
  cursor: none !important;
}

body.brand-canvas {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-canvas);
  background-image:
    radial-gradient(ellipse 56% 42% at 62% 10%, rgba(168, 56, 128, 0.22), transparent 70%),
    radial-gradient(ellipse 42% 36% at 78% 32%, rgba(255, 148, 42, 0.13), transparent 68%),
    radial-gradient(ellipse 50% 44% at 14% 18%, rgba(44, 52, 160, 0.34), transparent 72%),
    radial-gradient(ellipse 46% 36% at 18% 72%, rgba(88, 54, 178, 0.14), transparent 72%),
    linear-gradient(180deg, #090a2a 0%, #07081f 55%, #06071a 100%);
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grade Geométrica Fixa */
.brand-canvas::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(190, 198, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(190, 198, 255, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 88% 78% at 50% 24%, #000 35%, rgba(0, 0, 0, 0.35) 75%, transparent 100%);
  mask-image: radial-gradient(ellipse 88% 78% at 50% 24%, #000 35%, rgba(0, 0, 0, 0.35) 75%, transparent 100%);
}

/* Glow Radial Sutil Seguidor de Cursor (Desktop) */
#ambient-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 176, 58, 0.09) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.4s ease;
  will-change: left, top;
}

/* Skip link de acessibilidade */
.skip-link {
  position: absolute;
  top: -40px;
  left: 20px;
  background: var(--accent-amber);
  color: #140c02;
  padding: 8px 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 9999999;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 15px;
  outline: 3px solid #fff;
}

/* 3. TIPOGRAFIA & DESTAQUES */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
  line-height: 1.18;
}

.highlight-amber {
  background: var(--accent-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.mono-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* 4. LAYOUT & CONTAINERS */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 0.96rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.5;
}

/* 5. CARDS & SUPERFÍCIES */
.surface-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--shadow-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 28px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.surface-card:hover {
  background: var(--surface-2);
  border-color: rgba(255, 176, 58, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 40px -15px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}

/* 6. BOTÕES & INTERATIVIDADE */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #140c02;
  box-shadow: var(--shadow-warm);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(255, 146, 36, 0.65);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 176, 58, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.link-arrow {
  color: var(--accent-amber);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.link-arrow:hover {
  color: #fff;
  gap: 10px;
}

/* 7. CABEÇALHO FIXO EM 2 LINHAS EXCLUSIVAS */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 8, 29, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Linha 1: Branding Centralizado */
.navbar-brand-container {
  padding: 12px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-emblem {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #140c02;
  box-shadow: 0 4px 12px rgba(255, 146, 36, 0.35);
}

.brand-emblem svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

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

.brand-sep {
  color: var(--accent-amber);
  margin: 0 4px;
  font-weight: 400;
}

/* Linha 2: Menu em Pílula + Busca Integrada */
.navbar-actions-container {
  padding: 8px 24px;
  background: rgba(9, 11, 36, 0.60);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.nav-pill-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 2px;
}

.nav-item {
  color: var(--text-body);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-item.active {
  background: var(--accent-amber);
  color: #140c02 !important;
  font-weight: 700;
}

/* Busca Integrada */
.header-search-wrap {
  position: relative;
  width: 256px;
}

.header-search-input {
  width: 100%;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  padding: 0 36px 0 36px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: all 0.2s ease;
}

.header-search-input:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(255, 176, 58, 0.2);
}

.search-icon-left {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  display: none;
  padding: 4px;
}

/* Dropdown da Busca */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  max-height: 480px;
  overflow-y: auto;
  background: #0d1033;
  border: 1px solid rgba(255, 176, 58, 0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
  z-index: 2000;
  display: none;
  padding: 12px;
}

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

.search-group-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-amber);
  letter-spacing: 0.08em;
  padding: 8px 10px 4px 10px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  text-decoration: none;
  transition: background 0.15s ease;
}

.search-result-item:hover,
.search-result-item.highlighted {
  background: rgba(255, 176, 58, 0.12);
  color: #fff;
}

.search-item-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-amber);
  white-space: nowrap;
}

/* Botão Mobile Hamburger */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: #080a29;
  border-bottom: 1px solid var(--border-accent);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
  transform: translateY(-120%);
  transition: transform 0.3s ease;
}

.mobile-drawer.open {
  transform: translateY(0);
}

.mobile-drawer .nav-item {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

/* 8. BLOCO 1: HERO SECTION */
.hero-section {
  padding-top: 70px;
  padding-bottom: 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  margin-bottom: 60px;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--accent-amber);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Foto do Fundador na Direita */
.hero-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-avatar-outer {
  position: relative;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  padding: 4px;
  background: var(--accent-gradient);
  box-shadow: 0 0 50px rgba(255, 176, 58, 0.28), 0 20px 40px rgba(0, 0, 0, 0.6);
  margin-bottom: 16px;
}

.hero-avatar-halo {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 176, 58, 0.25) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #141742;
  display: block;
}

.hero-legend {
  text-align: center;
}

.hero-legend-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.hero-legend-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* 4 KPIs Contadores */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.kpi-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.kpi-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.kpi-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-amber);
  line-height: 1;
  margin-bottom: 6px;
}

.kpi-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.kpi-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 9. BLOCO 2: 4 ATALHOS DE SOLUÇÕES (01 A 04) */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.solution-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.solution-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.solution-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
}

.solution-icon svg {
  width: 22px;
  height: 22px;
}

.solution-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.solution-title {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.solution-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

/* 10. BLOCO 3: APPS EM DESTAQUE */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.app-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
}

.app-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #fff;
}

.app-icon-badge svg {
  width: 26px;
  height: 26px;
}

.app-logo-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition-bounce), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.app-card:hover .app-logo-badge {
  transform: scale(1.08) translateY(-2px);
  border-color: var(--border-accent);
  box-shadow: 0 8px 24px rgba(255, 176, 58, 0.28);
}

.app-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.app-big-icon img.app-detail-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.app-meta-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-amber);
  margin-bottom: 8px;
  display: block;
}

.app-card-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.app-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* 11. BLOCO 4: AVALIAÇÕES GOOGLE (MARQUEE HORIZONTAL) */
.reviews-section {
  overflow: hidden;
  position: relative;
}

.reviews-header-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.google-rating-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.google-stars {
  color: #ffb800;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.google-rating-text {
  font-size: 0.92rem;
  color: var(--text-body);
}

.google-rating-bold {
  font-weight: 700;
  color: #fff;
}

.marquee-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-marquee-pause {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-marquee-pause:hover {
  color: #fff;
  border-color: var(--accent-amber);
}

/* Trilha Contínua */
.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marqueeScroll 45s linear infinite;
}

.marquee-track:hover,
.marquee-track.paused {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.review-card {
  width: 360px;
  flex-shrink: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}

.review-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.review-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-stars {
  color: #ffb800;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.review-quote {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 18px;
}

.review-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-verified {
  color: #2ecc71;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

/* 12. BLOCO 5: CTA FINAL */
.cta-box {
  background: var(--surface-1);
  border: 1px solid rgba(255, 176, 58, 0.35);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 240px;
  background: radial-gradient(ellipse at top, rgba(255, 176, 58, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.cta-kicker {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-amber);
  margin-bottom: 12px;
  display: block;
}

.cta-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 620px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 13. RODAPÉ INSTITUCIONAL (4 COLUNAS) */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 60px;
  padding-bottom: 30px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.footer-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-icon:hover {
  background: var(--accent-amber);
  color: #140c02;
  border-color: var(--accent-amber);
  transform: translateY(-2px);
}

.footer-social-icon svg {
  width: 16px;
  height: 16px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

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

.footer-links a,
.footer-links button {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
  font-family: inherit;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--accent-amber);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-amber);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: var(--accent-amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* 14. CURSOR MULTIPLAYER FIGMA (#custom-cursor) */
@media (pointer: fine) {
  #custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    pointer-events: none;
    will-change: transform;
    display: flex;
    align-items: flex-start;
    transition: transform 0.06s cubic-bezier(0.1, 0.9, 0.2, 1);
  }

  .cursor-pointer-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
    transition: transform 0.15s ease;
  }

  .cursor-pointer-icon svg {
    width: 100%;
    height: 100%;
    fill: #2ecc71;
    transition: fill 0.2s ease;
  }

  .cursor-badge {
    background: #2ecc71;
    color: #0b2212;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-left: -4px;
    margin-top: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
  }

  #custom-cursor.cursor-hover .cursor-pointer-icon svg {
    fill: #e84c22;
  }

  #custom-cursor.cursor-hover .cursor-badge {
    background: #e84c22;
    color: #fff;
    transform: scale(1.08);
  }

  #custom-cursor.cursor-clicking {
    transform: scale(0.92);
  }
}

@media (pointer: coarse) {
  #custom-cursor {
    display: none !important;
  }
}

/* 15. MODAL DE VÍDEO PLAYER */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 5, 18, 0.92);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-container {
  width: 100%;
  max-width: 900px;
  background: #0d1033;
  border: 1px solid rgba(255, 176, 58, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.video-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.video-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.video-modal-close:hover {
  color: #fff;
}

.video-modal-iframe-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-footer {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  gap: 12px;
}

/* 16. COOKIE BANNER & MODAL DE PREFERÊNCIAS */
.cookie-banner-wrap {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  background: #0e1138;
  border: 1px solid rgba(255, 176, 58, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  z-index: 9999;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  display: none;
}

.cookie-banner-wrap.visible {
  display: block;
}

.cookie-banner-title {
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-banner-text {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 20px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Modal de Preferências de Cookies */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(4, 5, 18, 0.9);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal-card {
  width: 100%;
  max-width: 540px;
  background: #0d1033;
  border: 1px solid rgba(255, 176, 58, 0.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cookie-info {
  max-width: 80%;
}

.cookie-info-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 2px;
}

.cookie-info-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Switch toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: 0.25s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--accent-amber);
}

input:checked + .slider:before {
  transform: translateX(20px);
  background-color: #140c02;
}

input:disabled + .slider {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 17. RESPONSIVIDADE (MEDIA QUERIES) */
@media (max-width: 1024px) {
  .solutions-grid,
  .apps-grid,
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-pill-wrapper {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .navbar-actions-container {
    justify-content: space-between;
  }

  .header-search-wrap {
    flex-grow: 1;
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .hero-photo-wrap {
    order: -1;
  }

  .hero-avatar-outer {
    width: 210px;
    height: 210px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .kpi-grid,
  .solutions-grid,
  .apps-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-box {
    padding: 40px 20px;
  }

  .search-results-dropdown {
    width: 100%;
    right: 0;
  }
}
