/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background-color: var(--primary-dark);
  color: var(--text-primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--surface-elevated);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */
:root {
  /* Colors */
  --primary: #00D4FF;
  --primary-dark: #0066FF;
  --accent-gradient: linear-gradient(135deg, #0066FF, #00D4FF);
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface-elevated: #1a1a2e;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b8;
  --text-muted: #6a6a80;
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.08);
  --glow: rgba(0, 212, 255, 0.15);
  --glow-strong: rgba(0, 212, 255, 0.4);

  /* Geometry */
  --radius-card: 16px;
  --radius-btn: 12px;

  /* Timing */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s ease-out;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

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

ul {
  list-style: none;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 120px 0;
}

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

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

.section-title {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}

.section-title::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent-gradient);
  margin: 0 auto 16px;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  outline: none;
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px var(--glow);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px var(--glow-strong);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--surface-elevated);
  border-color: rgba(255,255,255,0.2);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 24px 0;
  background: transparent;
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  z-index: 1001;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.logo-argo {
  color: var(--text-primary);
}

.logo-power {
  color: var(--primary);
}

.logo-icon {
  font-size: 1.2rem;
  margin-left: 2px;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--accent-gradient);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

.cta-nav {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  width: 100%;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

.lang-link {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.lang-link:hover, .lang-link.active {
  color: var(--text-primary);
}

.lang-sep {
  color: var(--border-light);
  font-size: 0.85rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: 
    radial-gradient(circle at center, rgba(10,10,15,0.2) 0%, rgba(10,10,15,0.8) 100%),
    linear-gradient(to bottom, rgba(10,10,15,0.3) 0%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding-top: 10vh;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: scroll-bounce 2s infinite;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  margin-bottom: 8px;
  background-image: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ==========================================================================
   Features
   ========================================================================== */
.features {
  background: var(--bg);
  position: relative;
}

.disclaimer {
  margin-top: 48px;
  padding: 16px 20px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
  border-left: 2px solid rgba(255, 180, 0, 0.4);
  background: rgba(255, 180, 0, 0.03);
  border-radius: 0 8px 8px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Showcase (Resultados Reais)
   ========================================================================== */
.showcase {
  background: #08080d;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: -40px auto 64px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: start;
}

.showcase-item {
  background: rgba(18, 18, 26, 0.5);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: var(--transition-normal);
}

.showcase-item:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 10px 50px rgba(0, 212, 255, 0.1);
  transform: translateY(-4px);
}

.showcase-image-wrapper {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.showcase-image-wrapper img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.showcase-item:hover .showcase-image-wrapper img {
  transform: scale(1.03);
}

.showcase-caption {
  padding: 24px 28px;
}

.showcase-caption h3 {
  margin-bottom: 8px;
  color: var(--primary);
}

.showcase-caption p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  pointer-events: auto;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 8, 13, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 10000;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.95);
  transform-origin: var(--origin-x, 50%) var(--origin-y, 50%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
  box-shadow: 0 20px 80px rgba(0, 212, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
  opacity: 1;
}

.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10001;
}

.lightbox-close:hover {
  background: rgba(0, 212, 255, 0.5);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(18, 18, 26, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 10px 40px var(--glow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  fill: none;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
}

/* ==========================================================================
   Demo
   ========================================================================== */
.demo {
  background: #08080d;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.demo-card {
  background: rgba(18, 18, 26, 0.5);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: var(--transition-normal);
}

.demo-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 10px 50px rgba(0, 212, 255, 0.1);
  transform: translateY(-4px);
}

.demo-player {
  border-radius: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.demo-player video {
  width: 100%;
  display: block;
}

.demo-info {
  padding: 24px 28px;
}

.demo-info h3 {
  margin-bottom: 8px;
  color: var(--primary);
}

.demo-info p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   How It Works
   ========================================================================== */
.how-it-works {
  background: var(--bg);
}

.steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--surface-elevated), var(--primary-dark), var(--surface-elevated));
  z-index: 0;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid transparent;
  background-clip: padding-box;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  position: relative;
}

.step-number::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--accent-gradient);
  z-index: -1;
}

.step-icon {
  margin-bottom: 16px;
}

.step-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
}

.step-title {
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.95rem;
}

/* ==========================================================================
   Requirements
   ========================================================================== */
.requirements {
  background: var(--bg);
}

.requirements-card {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(18, 18, 26, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 48px;
}

.req-title {
  font-size: 1.5rem;
  margin-bottom: 32px;
  text-align: center;
}

.requirements-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.requirements-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.req-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-gradient);
  flex-shrink: 0;
}

/* ==========================================================================
   Download CTA
   ========================================================================== */
.download-section {
  position: relative;
  background: linear-gradient(to bottom, var(--bg), #060610);
  overflow: hidden;
}

/* Animated background particles/lines */
.download-bg-fx {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(0,212,255,0.05) 0%, transparent 60%);
  z-index: 0;
}

.download-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.btn-download-large {
  padding: 20px 48px;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-btn);
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 30px var(--glow-strong);
  transition: var(--transition-normal);
  animation: pulse-glow 2s infinite;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-download-large:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.6);
  animation: none;
}

/* Beta Form Styles */
.beta-form {
  background: rgba(18, 18, 26, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 40px;
  text-align: left;
  margin-top: 32px;
}

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

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-group .required {
  color: #ec4899;
}

.beta-form input[type="text"],
.beta-form input[type="email"],
.beta-form select,
.beta-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.beta-form input:focus,
.beta-form select:focus,
.beta-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.beta-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a0a0b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.beta-form select option {
  background: #12121a;
  color: #fff;
}

.beta-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* Rating Group */
.rating-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
}

.rating-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.rating-options {
  display: flex;
  gap: 16px;
}

.rating-radio {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rating-radio input {
  display: none;
}

.rating-radio span {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 600;
  transition: var(--transition-fast);
}

.rating-radio input:checked + span {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

/* Checkbox Grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.custom-checkbox {
  display: block;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 12px;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: var(--transition-fast);
  box-sizing: border-box;
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--primary);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.form-submit {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .form-row, .checkbox-grid {
    grid-template-columns: 1fr;
  }
  .beta-form {
    padding: 24px;
  }
  .rating-group {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.comparison {
  background: var(--bg);
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  background: rgba(18, 18, 26, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.comparison-table th {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  background: rgba(10, 10, 15, 0.8);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table tbody tr:hover {
  background: rgba(0, 212, 255, 0.03);
}

.comparison-table .highlight-col {
  background: rgba(0, 212, 255, 0.06);
  color: var(--primary);
  font-weight: 600;
}

.comparison-table thead .highlight-col {
  color: var(--primary);
  font-weight: 800;
  font-size: 1rem;
}

.comparison-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  background: #08080d;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(18, 18, 26, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(0, 212, 255, 0.2);
}

.faq-item[open] {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 4px 20px var(--glow);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

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

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #08080d;
  padding-top: 80px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  max-width: 300px;
  color: var(--text-secondary);
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(0, 212, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

@keyframes scroll-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  transition: all var(--transition-slow);
}

.reveal.stagger-1 { transition-delay: 0.1s; }
.reveal.stagger-2 { transition-delay: 0.2s; }
.reveal.stagger-3 { transition-delay: 0.3s; }
.reveal.stagger-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-item:nth-child(2) {
    border-right: none;
  }
  
  .stat-item:nth-child(1), .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--surface-elevated);
    flex-direction: column;
    padding-top: 100px;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }
  
  .header.nav-open .nav {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 24px;
    padding: 0 32px;
  }
  
  .mobile-toggle {
    display: block;
  }

  .cta-nav {
    margin-top: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .demo-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .steps::before {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, var(--surface-elevated), var(--primary-dark), var(--surface-elevated));
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  
  .stat-item:last-child {
    border-bottom: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .requirements-card {
    padding: 32px 24px;
  }
}


/* ==========================================================================
   Downloads (downloads.php / downloads-en.php)
   ========================================================================== */
.page-header {
  padding: 180px 0 72px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 16px;
}

.page-header h1 {
  margin-bottom: 20px;
}

.page-header p {
  max-width: 620px;
  margin: 0 auto;
}

.downloads {
  background: #08080d;
}

.download-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(18, 18, 26, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  transition: var(--transition-normal);
}

.download-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 10px 40px var(--glow);
}

.download-item.is-latest {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 4px 20px var(--glow);
}

.download-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-icon svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  fill: none;
}

.download-body {
  flex: 1;
  min-width: 0;
}

.download-body h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.download-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.download-tag.is-current {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.5);
  color: var(--primary);
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.download-btn {
  flex-shrink: 0;
}

.download-empty {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: rgba(18, 18, 26, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 56px 40px;
}

.download-empty h3 {
  margin-bottom: 12px;
}

.download-empty p {
  font-size: 0.98rem;
  margin-bottom: 28px;
}

.download-notes {
  max-width: 860px;
  margin: 48px auto 0;
  background: rgba(18, 18, 26, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 36px;
}

.download-notes h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .page-header {
    padding: 140px 0 56px;
  }

  .download-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .download-btn {
    width: 100%;
  }
}


/* ==========================================================================
   Membros — login, definição de senha e área do usuário
   (login.php, recuperar.php, senha.php, membro/)
   ========================================================================== */

.cta-login {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}

/* --- Telas de autenticação -------------------------------------------- */
.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
    var(--bg);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: rgba(18, 18, 26, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 44px 40px;
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  margin-bottom: 28px;
}

.auth-card h1 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.auth-sub {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 1rem;
}

.auth-alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.auth-alert.is-ok {
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.4);
  color: #00ff88;
}

.auth-alert.is-bad {
  background: rgba(255, 74, 74, 0.08);
  border: 1px solid rgba(255, 74, 74, 0.4);
  color: #ff4a4a;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.auth-links a {
  font-size: 0.86rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.auth-links a:hover { color: var(--primary); }

/* --- Área do membro --------------------------------------------------- */
.membro-body {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.membro-header {
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px 0;
}

.membro-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.membro-user {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.membro-nome {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.membro-selo {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.membro-selo.is-ok {
  color: #00ff88;
  border-color: rgba(0, 255, 136, 0.4);
  background: rgba(0, 255, 136, 0.08);
}

.membro-sair {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 7px 14px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  transition: var(--transition-fast);
}

.membro-sair:hover { color: var(--primary); border-color: var(--primary); }

.membro-abas {
  border-bottom: 1px solid var(--border);
  background: #08080d;
  overflow-x: auto;
}

.membro-abas .container {
  display: flex;
  gap: 4px;
}

.membro-abas a {
  padding: 16px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
}

.membro-abas a:hover { color: var(--text-primary); }

.membro-abas a.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.membro-main {
  flex: 1;
  width: 100%;
  padding: 48px 24px 72px;
}

.membro-main h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.membro-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 640px;
}

.membro-alert {
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 28px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.membro-alert.is-ok {
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.4);
  color: #00ff88;
}

.membro-alert.is-bad {
  background: rgba(255, 74, 74, 0.08);
  border: 1px solid rgba(255, 74, 74, 0.4);
  color: #ff4a4a;
}

.membro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.membro-card {
  display: block;
  background: rgba(18, 18, 26, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 28px;
  text-decoration: none;
  transition: var(--transition-normal);
}

.membro-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 10px 40px var(--glow);
}

.membro-card-icone {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.membro-card-icone svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.membro-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.membro-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.membro-card.is-whatsapp .membro-card-icone {
  background: linear-gradient(135deg, #128c7e, #25d366);
}

.membro-card.is-bloqueado {
  opacity: 0.55;
  cursor: default;
}

.membro-card.is-bloqueado:hover {
  transform: none;
  border-color: var(--border-light);
  box-shadow: none;
}

.membro-card.is-bloqueado .membro-card-icone {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
}

.membro-card.is-bloqueado .membro-card-icone svg { stroke: var(--text-muted); }

.membro-categoria {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 40px 0 16px;
}

.membro-categoria:first-of-type { margin-top: 0; }

.material-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.material-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(18, 18, 26, 0.5);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 18px 22px;
  text-decoration: none;
  transition: var(--transition-normal);
}

a.material-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 8px 30px var(--glow);
}

.material-item.is-destaque { border-color: rgba(0, 212, 255, 0.3); }

.material-icone {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.material-icone svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.material-dados { flex: 1; min-width: 0; }

.material-dados h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.material-dados p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.material-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 3px;
  color: var(--primary);
  border: 1px solid rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.08);
}

.material-tipo {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  flex-shrink: 0;
}

.membro-vazio {
  background: rgba(18, 18, 26, 0.5);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-card);
  padding: 56px 40px;
  text-align: center;
}

.membro-vazio h3 { font-size: 1.1rem; margin-bottom: 10px; }

.membro-vazio p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin: 0;
}

.membro-colunas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.membro-painel {
  background: rgba(18, 18, 26, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 32px;
}

.membro-painel-titulo {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.membro-painel .form-group { margin-bottom: 20px; }

.membro-painel input[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.membro-nota {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.chamado-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chamado-item {
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.chamado-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.chamado-item h4 {
  font-size: 0.92rem;
  margin: 0;
  color: var(--text-primary);
}

.chamado-status {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}

.chamado-status.is-aberto {
  color: var(--primary);
  border: 1px solid var(--primary);
  background: rgba(0, 212, 255, 0.08);
}

.chamado-status.is-analise {
  color: #ffb84d;
  border: 1px solid #ffb84d;
  background: rgba(255, 184, 77, 0.08);
}

.chamado-status.is-ok {
  color: #00ff88;
  border: 1px solid #00ff88;
  background: rgba(0, 255, 136, 0.08);
}

.chamado-data {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.artigo {
  max-width: 760px;
}

.artigo-categoria {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 14px;
}

.artigo-corpo {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-top: 32px;
}

.artigo-corpo h2,
.artigo-corpo h3 {
  color: var(--text-primary);
  margin: 36px 0 14px;
}

.artigo-corpo h2 { font-size: 1.4rem; }
.artigo-corpo h3 { font-size: 1.15rem; }
.artigo-corpo p { margin-bottom: 18px; }
.artigo-corpo ul,
.artigo-corpo ol { margin: 0 0 18px 22px; }
.artigo-corpo li { margin-bottom: 8px; }
.artigo-corpo a { color: var(--primary); }

.artigo-corpo blockquote {
  margin: 24px 0;
  padding-left: 18px;
  border-left: 3px solid var(--primary);
  color: var(--text-muted);
}

.artigo-corpo img {
  max-width: 100%;
  border-radius: 12px;
  margin: 20px 0;
}

.membro-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: #08080d;
}

.membro-footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.membro-footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

.membro-footer a:hover { color: var(--primary); }

@media (max-width: 900px) {
  .membro-colunas { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .auth-card { padding: 36px 26px; }
  .membro-painel { padding: 24px 20px; }

  .material-item {
    flex-wrap: wrap;
    gap: 14px;
  }

  .material-tipo { display: none; }
}


/* ==========================================================================
   Header — breakpoint do menu
   O header desktop passou a ter Downloads no menu e dois CTAs (Entrar +
   Virar Membro). Isso exige ~1030px de largura, então o menu mobile assume
   antes: 1080px em vez dos 768px originais.
   ========================================================================== */
.nav-link {
  white-space: nowrap;
}

.header .logo {
  flex-shrink: 0;
  margin-right: 24px;
}

@media (max-width: 1080px) {
  .header .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--surface-elevated);
    flex-direction: column;
    align-items: stretch;
    padding-top: 100px;
    gap: 0;
    overflow-y: auto;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .header.nav-open .nav {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 0 32px;
  }

  .mobile-toggle {
    display: block;
  }

  .header .logo {
    margin-right: 0;
  }

  .lang-switcher {
    align-self: flex-start;
  }

  .cta-login,
  .cta-nav {
    margin: 24px 32px 0;
    text-align: center;
    justify-content: center;
  }

  .cta-nav {
    margin-top: 12px;
    margin-bottom: 32px;
  }
}

/* Entre 1081px e 1200px o menu cabe, mas justo: aperta os espaçamentos. */
@media (min-width: 1081px) and (max-width: 1240px) {
  .nav {
    gap: 20px;
  }

  .nav-links {
    gap: 22px;
  }

  .cta-login {
    padding: 10px 16px;
  }

  .cta-nav {
    padding: 10px 18px;
  }
}


/* ==========================================================================
   Campos de formulário — regra única
   A regra original enumerava input[type="text"] e [type="email"] dentro de
   .beta-form, deixando password e tel sem estilo, e não alcançava as telas
   novas (.auth-form, .membro-painel). Aqui o seletor é por exclusão de tipo
   e vale nos três contextos.
   ========================================================================== */
.beta-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.beta-form select,
.beta-form textarea,
.auth-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.auth-form select,
.auth-form textarea,
.membro-painel input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.membro-painel select,
.membro-painel textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.beta-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):focus,
.beta-form select:focus,
.beta-form textarea:focus,
.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus,
.membro-painel input:focus,
.membro-painel select:focus,
.membro-painel textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.beta-form select,
.auth-form select,
.membro-painel select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236a6a80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.beta-form option,
.auth-form option,
.membro-painel option {
  background: var(--surface);
  color: var(--text-primary);
}

.beta-form input::placeholder,
.auth-form input::placeholder,
.membro-painel input::placeholder,
.membro-painel textarea::placeholder,
.beta-form textarea::placeholder {
  color: var(--text-muted);
}

.membro-painel input[disabled],
.auth-form input[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}


/* ==========================================================================
   Respostas da equipe no histórico de chamados (membro/index.php?aba=suporte)
   ========================================================================== */
.chamado-msg {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 8px 0 0;
  white-space: pre-wrap;
}

.chamado-resposta {
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(0, 212, 255, 0.05);
  border-left: 2px solid var(--primary);
  border-radius: 0 8px 8px 0;
}

.chamado-resposta-quem {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 6px;
}

.chamado-resposta p {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin: 0;
  white-space: pre-wrap;
}

.chamado-aguardando {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-style: italic;
}


/* Número de protocolo no histórico de chamados do membro */
.chamado-proto {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 4px;
  padding: 2px 7px;
  margin-right: 8px;
  vertical-align: middle;
}


/* ==========================================================================
   Conversa do chamado na área do membro (membro/index.php?aba=suporte)
   O membro responde no próprio chamado; as falas se distinguem pelo lado
   da borda e pela cor, sem depender de ícone.
   ========================================================================== */
.conversa {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.fala {
  padding: 12px 14px;
  border-radius: 8px;
}

.fala-quem {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.fala p {
  font-size: 0.86rem;
  line-height: 1.65;
  margin: 0;
  white-space: pre-wrap;
  color: var(--text-primary);
}

.fala.is-minha {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-left: 2px solid var(--text-muted);
  border-radius: 8px 8px 8px 0;
}

.fala.is-minha .fala-quem {
  color: var(--text-muted);
}

.fala.is-equipe {
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-left: 2px solid var(--primary);
  border-radius: 8px 8px 0 8px;
  margin-left: 20px;
}

.fala.is-equipe .fala-quem {
  color: var(--primary);
}

.chamado-responder {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.chamado-responder textarea {
  flex: 1;
  min-height: 44px;
  resize: vertical;
  font-size: 0.88rem;
  line-height: 1.6;
  padding: 11px 14px;
}

.chamado-responder button {
  flex-shrink: 0;
  padding: 12px 22px;
  border: none;
  border-radius: 8px;
  background: var(--accent-gradient);
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.chamado-responder button:hover {
  box-shadow: var(--glow-strong);
}

@media (max-width: 560px) {
  .fala.is-equipe { margin-left: 0; }
  .chamado-responder { flex-direction: column; }
  .chamado-responder button { width: 100%; }
}
