/* style.css - Sistema de Design para No Code Friends */

/* 1. Reset e Variáveis Globais */
:root {
  --bg-color: #06040a;
  --surface-color: #120f0d;
  --surface-hover: #1e1915;
  --border-color: rgba(224, 211, 184, 0.12);
  --border-focus: rgba(233, 152, 12, 0.35);
  
  /* Cores de Destaque estilo BravoAI */
  --primary-color: #e9980c; /* Dourado/Âmbar */
  --secondary-color: #12f0c7; /* Teal/Ciano */
  --accent-violet: #c482f5; /* Violeta */
  --text-main: #f0e6d2; /* Warm off-white */
  --text-muted: #a39b8c;
  --text-inverse: #0c0a08;
  
  /* Gradientes */
  --gradient-primary: linear-gradient(100deg, #ffc97a, var(--primary-color) 45%, #b27204);
  --gradient-accent: linear-gradient(100deg, var(--secondary-color), #ffc97a 50%, var(--accent-violet));
  --gradient-dark: linear-gradient(180deg, #120f0d 0%, #06040a 100%);
  --gradient-glow: radial-gradient(circle, rgba(233, 152, 12, 0.15) 0%, rgba(18, 240, 199, 0.05) 50%, rgba(0,0,0,0) 100%);
  
  /* Fontes e Transições */
  --font-title: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.5s ease;

  /* Geometria Premium Suave */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}


/* Texture Grain Overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  pointer-events: none;
  opacity: 0.065;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Schematic grid pseudo-effects for tech sections */
.hero::before,
.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(18, 240, 199, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 240, 199, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
}

/* Acessibilidade - Teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary-color) !important;
  outline-offset: 2px !important;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* 2. Efeitos de Fundo (Glow Blobs) */
.glow-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1500px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}

.blob-1 {
  top: -100px;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(233, 152, 12, 0.22) 0%, rgba(18, 240, 199, 0.05) 100%);
}

.blob-2 {
  top: 300px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(18, 240, 199, 0.15) 0%, rgba(196, 130, 245, 0.04) 100%);
}

/* 3. Header e Navegação */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(6, 4, 10, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-main);
  text-transform: uppercase;
}

.logo-subtext {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: var(--primary-color);
  margin-top: 4px;
  width: 100%;
  text-align: left;
}

.nav-menu ul {
  display: flex;
  gap: 32px;
}

.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-menu a:hover {
  color: var(--text-main);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: var(--transition-fast);
}

.nav-menu a:hover::after {
  width: 100%;
}

.btn-nav-cta {
  background: rgba(0, 255, 135, 0.05);
  border: 1px solid rgba(0, 255, 135, 0.2);
  padding: 10px 20px;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  transition: var(--transition-fast);
}

.btn-nav-cta:hover {
  background: var(--primary-color);
  color: var(--text-inverse);
  box-shadow: 0 0 15px rgba(0, 255, 135, 0.3);
}

.btn-nav-login {
  opacity: 0;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-fast);
  cursor: default;
  padding: 10px 15px;
  user-select: none;
}

.btn-nav-login:hover {
  opacity: 0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* 4. Hero Section */
.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 24px 80px;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(6, 4, 10, 0.5) 0%,
    rgba(6, 4, 10, 0.8) 60%,
    var(--bg-color) 100%
  );
  z-index: -1;
  pointer-events: none;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(233, 152, 12, 0.08);
  border: 1px solid rgba(233, 152, 12, 0.25);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 24px;
}

.hero-badge .badge-icon {
  text-shadow: 0 0 6px var(--primary-color);
  font-size: 14px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -2px;
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero-title span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-xs);
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(0, 255, 135, 0.15);
}

.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 255, 135, 0.4);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

.btn-submit {
  gap: 10px;
}

.btn-submit .btn-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn-submit:hover .btn-icon {
  transform: translate(3px, -3px);
}

/* Hero Visual (Código interativo/falso) */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.visual-card {
  width: 100%;
  max-width: 460px;
  background: rgba(18, 15, 13, 0.65);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(233, 152, 12, 0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(7, 5, 3, 0.9);
  position: relative;
}

.visual-card::after {
  content: '[PF_STATUS_OPERANDO: OK]';
  position: absolute;
  top: 10px;
  right: 16px;
  font-family: monospace;
  font-size: 10px;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.visual-header {
  background: #121212;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border-color);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.visual-title {
  margin-left: 10px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
}

.visual-body {
  padding: 24px;
  font-family: monospace;
  font-size: 14px;
  background: #080808;
  color: #d4d4d4;
  overflow-x: auto;
}

.code-keyword { color: #569cd6; }
.code-class { color: #4ec9b0; }
.code-string { color: #ce9178; }
.code-number { color: #b5cea8; }
.code-comment { color: #6a9955; }
.code-method { color: #dcdcaa; }

.visual-footer {
  background: #121212;
  padding: 12px 16px;
  border-top: 1px solid var(--border-color);
}

.pulse-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  animation: pulse-glow 1.5s infinite;
}

.pulse-text {
  font-size: 12px;
  color: var(--text-muted);
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(0, 255, 135, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(0, 255, 135, 0);
  }
}

/* 5. Seção de Integrações / Marcas (Marquee Infinito) */
.partners {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.01);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.partners-container {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.partners-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 35px;
  text-transform: uppercase;
}

/* Infinite Scrolling Marquee */
.marquee {
  position: relative;
  display: flex;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  gap: 80px;
  animation: marquee-scroll 35s linear infinite;
  padding-right: 80px;
}

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

.partner-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.4;
  transition: opacity var(--transition-fast);
}

.partner-logo:hover {
  opacity: 0.95;
}

.partner-logo img {
  height: 20px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.partner-logo span {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.logo-text-only {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* 6. Seção de Serviços */
.services {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-block;
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  text-wrap: balance;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

.services-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.service-card-modern {
  background: rgba(13, 12, 16, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(233, 152, 12, 0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  position: relative;
  overflow: hidden;
  align-items: center;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Alternating Columns for even cards to break symmetry */
@media (min-width: 969px) {
  .service-card-modern:nth-child(even) {
    grid-template-columns: 1.3fr 1fr;
  }
  
  .service-card-modern:nth-child(even) .service-visual-box {
    order: 2;
  }
}

.service-card-modern:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-6px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px -15px rgba(233, 152, 12, 0.2), 0 0 20px -5px rgba(233, 152, 12, 0.1);
}

.service-visual-box {
  background: radial-gradient(circle, rgba(18, 15, 13, 0.9) 0%, rgba(6, 4, 10, 0.95) 100%);
  border: 1px solid rgba(233, 152, 12, 0.25);
  border-radius: 50%;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  box-shadow: 0 0 25px rgba(233, 152, 12, 0.1), inset 0 0 15px rgba(0, 0, 0, 0.8);
  margin: 0 auto;
}

/* Outer Orbit Rings for high-tech look */
.service-visual-box::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 1px dashed rgba(233, 152, 12, 0.2);
  border-radius: 50%;
  animation: spin-clockwise 20s linear infinite;
  pointer-events: none;
}

.service-visual-box::after {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  right: -18px;
  bottom: -18px;
  border: 1px dotted rgba(233, 152, 12, 0.15);
  border-radius: 50%;
  animation: spin-counter-clockwise 30s linear infinite;
  pointer-events: none;
}

@keyframes spin-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-counter-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.service-content-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.service-content-box h3 {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.service-content-box p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tag-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.service-more-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.service-more-link:hover {
  gap: 10px;
}

.service-more-link .arrow {
  transition: transform 0.2s ease;
}

.service-more-link:hover .arrow {
  transform: translateX(2px);
}

/* 3D and Neon CSS Graphics */
.graphic-container {
  width: 80%;
  height: 80%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Graphic 1: Checklist & Gold star button */
.graphic-1 {
  gap: 10px;
}

.checklist-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.65;
}

.check-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 8px var(--primary-color);
}

.check-line {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  flex-grow: 1;
}

.checklist-item:nth-child(1) .check-line { width: 80%; }
.checklist-item:nth-child(2) .check-line { width: 50%; }
.checklist-item:nth-child(3) .check-line { width: 70%; }
.checklist-item:nth-child(4) .check-line { width: 60%; }

.gold-pill-button {
  background: var(--gradient-primary);
  border-radius: 100px;
  width: 100%;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  box-shadow: 0 4px 15px rgba(233, 152, 12, 0.4);
  animation: float-gently 3s ease-in-out infinite;
}

.glowing-star {
  color: #000000;
  font-size: 14px;
  font-weight: bold;
}

/* Graphic 2: Overlapping Windows & Star badge */
.graphic-2 {
  position: relative;
}

.mock-window {
  position: absolute;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.window-1 {
  width: 75px;
  height: 55px;
  bottom: 10px;
  right: 10px;
  z-index: 3;
  background: rgba(20, 18, 24, 0.85);
  border-color: rgba(233, 152, 12, 0.25);
  padding: 6px;
}

.window-2 {
  width: 75px;
  height: 55px;
  top: 15px;
  left: 10px;
  z-index: 2;
  background: rgba(13, 12, 16, 0.6);
}

.window-3 {
  width: 75px;
  height: 55px;
  top: 5px;
  left: 25px;
  z-index: 1;
  background: rgba(13, 12, 16, 0.3);
}

.window-header {
  display: flex;
  gap: 3px;
  margin-bottom: 6px;
}

.w-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.window-1 .w-dot {
  background: var(--primary-color);
}

.w-line {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  margin-bottom: 4px;
}

.w-line.short {
  width: 60%;
}

.floating-gold-badge {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #000000;
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 12px rgba(233, 152, 12, 0.4);
  bottom: 0;
  left: 20px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float-gently-reverse 4s ease-in-out infinite;
}

.floating-gold-badge .glowing-star {
  color: var(--primary-color);
  font-size: 14px;
}

/* Graphic 3: Floating Capsules Stack */
.graphic-3 {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.floating-capsule {
  width: 70px;
  height: 22px;
  border-radius: 100px;
  background: rgba(13, 12, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease;
  font-size: 10px;
}

.floating-capsule.active {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(233, 152, 12, 0.35);
}

.floating-capsule.active .c-icon {
  filter: brightness(0);
}

.capsule-1 { transform: translateX(-15px) rotate(-3deg); animation: float-capsule-1 4s ease-in-out infinite; }
.capsule-2 { transform: translateX(10px) rotate(2deg); animation: float-capsule-2 5s ease-in-out infinite; }
.capsule-3 { transform: translateX(-8px) rotate(-1deg); animation: float-capsule-3 4.5s ease-in-out infinite; }
.capsule-4 { transform: translateX(15px) rotate(4deg); animation: float-capsule-4 5.5s ease-in-out infinite; }

.floating-capsule .c-star {
  color: var(--primary-color);
  font-weight: bold;
}

/* Graphic 4: Curved Dotted Line & Nodes */
.graphic-4 {
  position: relative;
}

.connecting-dashed-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.flow-node {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.database-node {
  width: 34px;
  height: 34px;
  background: #000000;
  border: 1px solid var(--primary-color);
  top: 15px;
  right: 15px;
  flex-direction: column;
  gap: 2px;
  padding: 4px;
  animation: float-gently 3.5s ease-in-out infinite;
}

.db-cylinder {
  width: 16px;
  height: 5px;
  border-radius: 2px;
  background: var(--primary-color);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.code-node {
  width: 32px;
  height: 32px;
  background: rgba(13, 12, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  bottom: 15px;
  left: 15px;
  font-family: monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  animation: float-gently-reverse 3.5s ease-in-out infinite;
}

.flow-star {
  position: absolute;
  color: var(--primary-color);
  font-size: 10px;
  text-shadow: 0 0 5px var(--primary-color);
  animation: pulse-opacity 2s infinite alternate;
}

.star-1 { top: 20px; left: 35px; animation-delay: 0.5s; }
.star-2 { bottom: 25px; right: 35px; animation-delay: 1.2s; }

/* Micro-animations */
@keyframes float-gently {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

@keyframes float-gently-reverse {
  0% { transform: translateY(0px); }
  50% { transform: translateY(6px); }
  100% { transform: translateY(0px); }
}

@keyframes float-capsule-1 {
  0%, 100% { transform: translateX(-15px) translateY(0px) rotate(-3deg); }
  50% { transform: translateX(-15px) translateY(-4px) rotate(-2deg); }
}

@keyframes float-capsule-2 {
  0%, 100% { transform: translateX(10px) translateY(0px) rotate(2deg); }
  50% { transform: translateX(10px) translateY(-5px) rotate(4deg); }
}

@keyframes float-capsule-3 {
  0%, 100% { transform: translateX(-8px) translateY(0px) rotate(-1deg); }
  50% { transform: translateX(-8px) translateY(-4px) rotate(-3deg); }
}

@keyframes float-capsule-4 {
  0%, 100% { transform: translateX(15px) translateY(0px) rotate(4deg); }
  50% { transform: translateX(15px) translateY(-6px) rotate(2deg); }
}

@keyframes pulse-opacity {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* Responsividade da Seção de Serviços */
@media (max-width: 968px) {
  .services-grid-modern {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .service-card-modern {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .service-visual-box {
    max-width: 180px;
    margin: 0 auto 16px;
  }
  
  .service-brand-tag, .service-tags, .service-more-link {
    justify-content: center;
  }
}

/* 7. Seção de Comparação (Antes vs Depois) */
.comparison {
  background: #06040a;
  padding: 100px 24px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.comparison-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
  width: 100%;
}

.comp-card-modern {
  background: rgba(13, 12, 16, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.comp-card-modern:hover {
  transform: translateY(-5px);
  border-color: rgba(233, 152, 12, 0.3);
  box-shadow: 0 15px 35px rgba(233, 152, 12, 0.08), inset 0 0 15px rgba(233, 152, 12, 0.02);
}

/* Yellow gradient light source coming from top-right corner */
.comp-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at top right, rgba(233, 152, 12, 0.12) 0%, rgba(233, 152, 12, 0) 70%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.comp-card-modern:hover::before {
  transform: scale(1.15);
  background: radial-gradient(circle at top right, rgba(233, 152, 12, 0.25) 0%, rgba(233, 152, 12, 0) 70%);
}

.comp-icon-portal {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 15, 13, 0.9) 0%, rgba(6, 4, 10, 0.95) 100%);
  border: 1px solid rgba(233, 152, 12, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  z-index: 1;
  box-shadow: 0 0 15px rgba(233, 152, 12, 0.1), inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.comp-icon-portal::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 1px dashed rgba(233, 152, 12, 0.25);
  border-radius: 50%;
  animation: spin-clockwise 15s linear infinite;
  pointer-events: none;
}

.comp-icon-portal .mini-svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-color);
  filter: drop-shadow(0 0 4px rgba(233, 152, 12, 0.4));
}

.comp-card-modern h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  z-index: 1;
}

.comp-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1;
}

.comp-line {
  font-size: 13.5px;
  line-height: 1.5;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.comp-line.antes {
  color: rgba(255, 255, 255, 0.35);
}

.comp-line.antes .indicator {
  color: #ef4444;
  font-weight: bold;
}

.comp-line.depois {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.comp-line.depois .indicator {
  color: var(--primary-color);
  font-weight: bold;
}

@media (max-width: 1024px) {
  .comparison-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .comparison-grid-modern {
    grid-template-columns: 1fr;
  }
}

/* 8. Seção de Método (4 Pilares) */
.method {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hud-dashboard-card {
  width: 100%;
  background: rgba(18, 15, 13, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 70px rgba(0,0,0,0.8), inset 0 0 20px rgba(233, 152, 12, 0.05);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.hud-consultant-wrapper {
  width: 100%;
  height: 340px;
  position: relative;
  overflow: hidden;
}

.hud-consultant-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  filter: saturate(1.1) brightness(0.95);
}

.hud-dashboard-card:hover .hud-consultant-img {
  transform: scale(1.02);
}

.hud-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(13, 12, 16, 0.98) 100%);
}

/* KPI Overlay Panel — floats over the left empty space of the consultant photo */
.kpi-overlay-panel {
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  width: clamp(280px, 38%, 400px);
  background: rgba(14, 12, 18, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 16px;
  z-index: 10;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(233, 152, 12, 0.03);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kpi-panel-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.kpi-bolt {
  color: var(--primary-color);
  font-size: 13px;
  text-shadow: 0 0 6px var(--primary-color);
  flex-shrink: 0;
}

.kpi-panel-title {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  flex: 1;
  letter-spacing: 0.3px;
}

.kpi-export-tag {
  background: var(--gradient-primary);
  color: #000;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  transition: box-shadow 0.3s ease;
}

.kpi-export-tag:hover {
  box-shadow: 0 0 10px var(--primary-color);
}

.kpi-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.kpi-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.kpi-metric:last-child {
  border-right: none;
}

.kpi-label {
  font-size: 8.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.kpi-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}

.kpi-value {
  font-family: var(--font-title);
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1;
}

.kpi-icon {
  width: 14px;
  height: 14px;
  stroke: var(--primary-color);
  opacity: 0.8;
  flex-shrink: 0;
}

.kpi-sublabel {
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.2px;
}

.kpi-footer-row {
  margin-top: 4px;
}

.kpi-obs-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 4px 6px;
  gap: 4px;
}

.kpi-obs-text {
  font-size: 7px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.3;
}

.kpi-obs-text em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.2);
}

.kpi-change {
  font-family: monospace;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 4px;
  border-radius: 3px;
  flex-shrink: 0;
}

.kpi-change.neg {
  color: #ff5f56;
  background: rgba(255, 95, 86, 0.12);
}

.kpi-change.pos {
  color: #00ff87;
  background: rgba(0, 255, 135, 0.1);
}

.kpi-change.neutro {
  color: #d4d4d4;
  background: rgba(255, 255, 255, 0.06);
}

.kpi-panel-brand {
  font-family: monospace;
  font-size: 9px;
  color: rgba(233, 152, 12, 0.4);
  letter-spacing: 0.5px;
  text-align: right;
}

/* Hide KPI panel on small screens where it would overlap face */
@media (max-width: 768px) {
  .kpi-overlay-panel {
    display: none;
  }
}

.hud-interface-box {
  padding: 24px;
  background: rgba(13, 12, 16, 0.98);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.hud-badge-star {
  color: var(--primary-color);
  font-size: 16px;
  text-shadow: 0 0 6px var(--primary-color);
  margin-right: 6px;
}

.hud-export-btn {
  background: var(--gradient-primary);
  border: none;
  border-radius: 4px;
  padding: 4px 12px;
  color: #000000;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(233, 152, 12, 0.15);
}

.hud-export-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 15px var(--primary-color);
}

.hud-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.method-step-modern {
  background: rgba(18, 15, 13, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-xs);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
  box-shadow: 0 8px 25px rgba(233, 152, 12, 0.08);
  cursor: pointer;
}

.method-step-modern:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 35px -10px rgba(233, 152, 12, 0.25), 0 0 20px -5px rgba(233, 152, 12, 0.15);
}

.method-step-modern:active {
  transform: perspective(1000px) rotateX(1deg) rotateY(-1deg) translateY(-2px) scale(0.98);
  box-shadow: 0 10px 20px -8px rgba(233, 152, 12, 0.35), 0 0 25px -5px rgba(233, 152, 12, 0.25);
}

.method-step-modern.active-step {
  border-color: var(--primary-color);
  background: rgba(233, 152, 12, 0.05);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  width: 100%;
}

.step-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 15, 13, 0.95) 0%, rgba(6, 4, 10, 0.95) 100%);
  border: 1px solid rgba(233, 152, 12, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-color);
  box-shadow: 0 0 6px rgba(233, 152, 12, 0.1), inset 0 0 4px rgba(0,0,0,0.8);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.method-step-modern:hover .step-badge,
.method-step-modern.active-step .step-badge {
  background: var(--gradient-primary);
  color: #000000;
  box-shadow: 0 0 10px var(--primary-color);
  border-color: var(--primary-color);
}

.code-title {
  font-family: monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0;
}

/* Syntax Highlighting for the Code Title */
.func-name {
  color: var(--primary-color);
}

.func-sep {
  color: rgba(255, 255, 255, 0.3);
}

.func-module {
  color: #00f0ff; /* Neon cyan */
}

.method-step-modern p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.hud-footer-brand {
  display: flex;
  justify-content: flex-end;
  font-family: monospace;
  font-size: 10px;
  color: rgba(233, 152, 12, 0.45);
  letter-spacing: 0.5px;
}

/* Responsividade da Metodologia */
@media (max-width: 968px) {
  .hud-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .hud-steps-grid {
    grid-template-columns: 1fr;
  }
  
  .hud-consultant-wrapper {
    height: 220px;
  }
}

/* 9. Seção de FAQ */
.faq {
  padding: 100px 24px;
  border-top: 1px solid var(--border-color);
  background: rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.faq-intro h2 {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.faq-intro p {
  color: var(--text-muted);
  font-size: 16px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-color);
  background: var(--surface-color);
  border-radius: var(--radius-xs);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 22px;
  color: var(--primary-color);
  transition: var(--transition-fast);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Ajustável */
}

/* 10. Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 80px 24px 48px;
  background: linear-gradient(180deg, #06040a 0%, #030205 100%);
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1.25fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-brand .footer-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 340px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.social-icon-btn:hover {
  border-color: var(--text-main);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.footer-section-title {
  display: block;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  color: var(--text-muted);
}

.footer-contact-info .contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.contact-item-link:hover {
  color: var(--text-main);
}

.contact-item-text {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--text-muted);
}

.contact-item-link:hover .contact-icon {
  color: var(--text-main);
}

.footer-cta-col .cta-description {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 260px;
}

.cta-plan-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--transition-fast);
}

.cta-plan-link:hover {
  border-color: var(--text-main);
}

.cta-arrow {
  transition: transform var(--transition-fast);
}

.cta-plan-link:hover .cta-arrow {
  transform: translate(2px, -2px);
}

.footer-divider {
  border: none;
  height: 1px;
  background: var(--border-color);
  margin: 0 0 32px 0;
}

.footer-bottom-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright-text {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--text-main);
}

.footer-disclaimer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.disclaimer-text {
  color: rgba(163, 155, 140, 0.45);
  font-size: 11px;
  line-height: 1.6;
  text-align: justify;
}

.corporate-details {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* 11. Chatbot Widget (IA Real) */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  font-family: var(--font-body);
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #06040a;
  border: 1px solid rgba(233, 152, 12, 0.35);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(233, 152, 12, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  overflow: hidden;
  padding: 0;
}

.toggle-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-fast);
}

.chat-toggle:hover .toggle-avatar-img {
  transform: scale(1.1);
}

.chat-toggle:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 15px 35px rgba(233, 152, 12, 0.5);
}

.chat-toggle svg {
  transition: var(--transition-fast);
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  height: 500px;
  background: rgba(18, 15, 13, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.2s ease;
  transform-origin: bottom right;
}

.chat-window.hidden, .chat-toggle svg.hidden {
  display: none !important;
}

/* Cabeçalho do Chat */
.chat-header {
  background: rgba(30, 25, 21, 0.7);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.chat-close-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.chat-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(233, 152, 12, 0.15);
  border: 1px solid rgba(233, 152, 12, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.chat-header-avatar .avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-header-info h4 {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
}

.online-status {
  font-size: 11px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 4px;
}

.online-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
  display: inline-block;
}

/* Histórico de Mensagens */
.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #080808;
}

.chat-message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  font-size: 13.5px;
  line-height: 1.5;
  word-wrap: break-word;
}

.chat-message.assistant {
  align-self: flex-start;
  background: #121212;
  border: 1px solid var(--border-color);
  color: #e2e2e2;
  border-bottom-left-radius: 0;
}

.chat-message.user {
  align-self: flex-end;
  background: var(--gradient-primary);
  color: var(--text-inverse);
  font-weight: 500;
  border-bottom-right-radius: 0;
}

/* Área de digitação */
.chat-input-area {
  padding: 16px;
  background: #0d0d0d;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 10px;
}

.chat-input-area input {
  flex: 1;
  background: #161616;
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-main);
  font-size: 13.5px;
  transition: var(--transition-fast);
}

.chat-input-area input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.1);
}

.chat-input-area button {
  background: var(--gradient-primary);
  border: none;
  color: var(--text-inverse);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.chat-input-area button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Animação Typing Indicator */
.typing-bubble {
  align-self: flex-start;
  background: #161616;
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: 12px;
  border-bottom-left-radius: 2px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing 1s infinite alternate;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0% { transform: translateY(0px); opacity: 0.4; }
  100% { transform: translateY(-4px); opacity: 1; }
}

/* 12. Responsividade (Media Queries) */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    justify-content: center;
  }
  
  .comparison-container, .faq-container, .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .nav-menu {
    display: none; /* Ativado via JS para mobile */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #06040a;
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
  }
  
  .nav-menu.active {
    display: block;
  }
  
  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .mobile-toggle {
    display: block;
  }

  .btn-nav-cta {
    display: none;
  }

  .btn-nav-login {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 160px;
    padding-bottom: 60px;
    min-height: auto;
    height: auto;
    overflow: visible;
  }

  .hero-title {
    font-size: 38px;
    letter-spacing: -1px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .chat-window {
    width: 100vw;
    height: 100vh;
    bottom: 0;
    right: 0;
    border-radius: 0;
    position: fixed;
  }
  
  .chat-widget {
    bottom: 16px;
    right: 16px;
  }
}

/* 10. Acessibilidade (Skip Link) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--gradient-primary);
  color: var(--bg-color);
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 8px;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  outline: none;
}

/* 11. Seção de Contato */
.contact-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  background: radial-gradient(circle at bottom right, rgba(233, 152, 12, 0.04) 0%, transparent 60%);
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-form {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-group label {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: #0b090c;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  padding: 14px 18px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.15);
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.form-status {
  margin-bottom: 20px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(0, 255, 135, 0.1);
  border: 1px solid rgba(0, 255, 135, 0.3);
  color: var(--primary-color);
}

.form-status.error {
  display: block;
  background: rgba(255, 60, 60, 0.1);
  border: 1px solid rgba(255, 60, 60, 0.3);
  color: #ff3c3c;
}

/* 12. Estilos de CTA do Chat */
.chat-cta-container {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.chat-cta-btn {
  background: var(--gradient-primary);
  color: var(--bg-color);
  font-weight: 600;
  font-family: var(--font-title);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 255, 135, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.chat-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 255, 135, 0.4);
}

/* =====================================================
   DUAL AGENT — Badge e Handoff
   ===================================================== */

/* =====================================================
   CHAT BUTTON COPYWRITING CTA BADGE
   ===================================================== */
.chat-toggle-cta {
  position: absolute;
  right: 76px;
  top: 10px;
  background: rgba(18, 15, 13, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(233, 152, 12, 0.35);
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  color: var(--text-main);
  font-size: 13px;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  cursor: pointer;
  animation: floatCTA 3s ease-in-out infinite, fadeIn 0.4s ease;
  z-index: 999;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.chat-toggle-cta:hover {
  transform: translateX(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 12px 30px rgba(233, 152, 12, 0.2);
}

.chat-toggle-cta.hidden {
  display: none !important;
}

/* Indicador de pulso verde */
.cta-pulse {
  width: 8px;
  height: 8px;
  background-color: #00ff87;
  border-radius: 50%;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.cta-pulse::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #00ff87;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

@keyframes floatCTA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-4px, 0); }
}

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

/* Modal de Agendamento (Booking) */
.booking-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 4, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: opacity var(--transition-normal);
}

.booking-modal.hidden {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

.booking-modal-card {
  position: relative;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(233, 152, 12, 0.05);
  animation: modalSlideUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.booking-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.booking-modal-close:hover {
  color: var(--primary-color);
}

.booking-modal-close svg {
  display: block;
}

.booking-modal-header {
  margin-bottom: 30px;
}

.booking-modal-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}

.booking-modal-header h3 {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.booking-modal-header p {
  font-size: 14px;
  color: var(--text-muted);
}

.booking-form .form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.booking-form label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.booking-form input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition-fast);
  width: 100%;
}

.booking-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(233, 152, 12, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.booking-form .readonly-input {
  background: rgba(255, 255, 255, 0.01) !important;
  border-color: rgba(224, 211, 184, 0.05) !important;
  color: var(--primary-color) !important;
  font-weight: 700;
  cursor: not-allowed;
}

.booking-status {
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  font-size: 14px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  text-align: left;
}

.booking-status.success {
  background: rgba(18, 240, 199, 0.1);
  border: 1px solid rgba(18, 240, 199, 0.2);
  color: var(--secondary-color);
}

.booking-status.error {
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.2);
  color: #ff4757;
}

.booking-form button[type="submit"] {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}



