/* ===== CSS Variables - Dark Theme ===== */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a25;
  --bg-card: rgba(26, 26, 37, 0.8);
  
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b0;
  --text-muted: #6b6b7b;
  
  --accent-primary: #ef4444;
  --accent-secondary: #dc2626;
  --accent-tertiary: #b91c1c;
  --accent-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
  --accent-glow: rgba(239, 68, 68, 0.4);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  
  --font-main: 'Outfit', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  width: 100%;
  min-width: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* Previne overflow de conteúdo */
img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Melhorias para toque em dispositivos móveis */
@media (hover: none) {
  .btn:hover,
  .nav-link-special:hover,
  .app-card:hover {
    transform: none;
  }
  
  .btn:active,
  .nav-link-special:active {
    opacity: 0.9;
  }
  
  .app-card:active {
    border-color: var(--accent-primary);
  }
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
  box-sizing: border-box;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

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

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

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

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

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

.nav-link-special {
  background: var(--accent-gradient);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
}

.nav-link-special::after {
  display: none;
}

.nav-link-special:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-option {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.25rem 0;
}

.lang-option:hover {
  color: var(--text-primary);
}

.lang-option.active {
  color: var(--accent-primary);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-overlay {
  display: none;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 4rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(239, 68, 68, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 68, 68, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-primary);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-secondary);
  bottom: -100px;
  left: -100px;
  animation-delay: -3s;
}

.hero-glow-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-tertiary);
  top: 50%;
  left: 30%;
  animation-delay: -5s;
}

.floating-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 50%;
  animation: float 12s ease-in-out infinite;
}

.shape-1 { width: 80px; height: 80px; top: 20%; left: 10%; animation-delay: 0s; }
.shape-2 { width: 120px; height: 120px; top: 60%; right: 15%; animation-delay: -2s; }
.shape-3 { width: 60px; height: 60px; bottom: 25%; left: 25%; animation-delay: -4s; }
.shape-4 { width: 100px; height: 100px; top: 30%; right: 30%; animation-delay: -6s; }
.shape-5 { width: 50px; height: 50px; bottom: 40%; right: 10%; animation-delay: -8s; }

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  min-width: 0;
}

.hero-restricted-badge {
  position: absolute;
  top: 6rem;
  right: 2rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 500;
  color: #4ade80;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title-line {
  display: block;
}

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

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px var(--accent-glow);
}

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

.btn-secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.hero-image {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  min-width: 0;
}

.hero-image-placeholder {
  width: 600px;
  max-width: 100%;
  height: 600px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-placeholder .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-icon {
  font-size: 4rem;
  color: var(--accent-primary);
  opacity: 0.5;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

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

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

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

/* ===== Sections General ===== */
.section {
  padding: 6rem 4rem;
  position: relative;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

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

/* ===== Sobre Section ===== */
.sobre {
  background: var(--bg-secondary);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sobre-image .sobre-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  max-height: 400px;
}

.sobre-image .sobre-team-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.image-placeholder {
  background: var(--bg-tertiary);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  transition: var(--transition-normal);
  max-width: 100%;
}

.image-placeholder:hover {
  border-color: var(--accent-primary);
}

.sobre-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.sobre-stats {
  display: flex;
  gap: 3rem;
}

.stat-item {
  text-align: left;
}

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

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

/* ===== Aplicativos Section ===== */
.aplicativos {
  background: var(--bg-primary);
}

.aplicativos-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-mesh {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(239, 68, 68, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(220, 38, 38, 0.08) 0%, transparent 50%);
}

.app-subsection {
  margin-bottom: 5rem;
}

.app-subsection:last-child {
  margin-bottom: 0;
}

.app-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  word-wrap: break-word;
}

.subtitle-icon {
  font-size: 1.25rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
}

.app-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 40px rgba(239, 68, 68, 0.15);
}

.app-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
}

.app-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.app-card:hover .app-card-image img {
  transform: scale(1.05);
}

.app-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(239, 68, 68, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.app-card:hover .app-placeholder {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
}

.app-card-content {
  padding: 1.5rem;
}

.app-card-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.app-card-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===== Parceiros Section ===== */
.parceiros {
  background: var(--bg-secondary);
}

.parceiros-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.parceiros-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.parceiro-card {
  aspect-ratio: 1;
}

.parceiro-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-tertiary);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.parceiro-card:hover .parceiro-placeholder {
  border-color: var(--accent-primary);
}

.parceiros-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
}

/* ===== Contato Section ===== */
.contato {
  background: var(--bg-primary);
}

.contato-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.contato-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, 100vw);
  height: 400px;
  background: radial-gradient(ellipse, rgba(239, 68, 68, 0.15) 0%, transparent 70%);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contato-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition-normal);
}

.contato-card:hover {
  border-color: var(--accent-primary);
  transform: translateX(8px);
}

.contato-icon {
  font-size: 2rem;
}

.contato-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contato-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contato-form-wrapper .contato-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
}

/* ===== Formulário de Contato ===== */
.contato-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group .required {
  color: var(--accent-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: var(--accent-primary);
}

.form-group .field-error {
  font-size: 0.85rem;
  color: var(--accent-primary);
  margin-top: 0.35rem;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  align-self: flex-start;
  cursor: pointer;
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.form-alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.form-alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: var(--accent-primary);
}

/* ===== Login Section ===== */
.login {
  background: var(--bg-secondary);
}

.login-content {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.login-placeholder {
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 4rem;
  text-align: center;
}

.login-placeholder-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.login-placeholder h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.login-placeholder p {
  color: var(--text-secondary);
}

.login-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.login-form .form-group {
  margin-bottom: 1.25rem;
}

.login-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.login-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.login-form input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.login-form .btn-block {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.875rem;
}

.login-register-link {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.login-register-link a {
  color: var(--accent-primary);
  font-weight: 500;
}

.login-register-link a:hover {
  text-decoration: underline;
}

.login-welcome {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.login-welcome .btn {
  margin: 0.5rem;
}

/* ===== Auth Pages (Cadastro) ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.auth-form .form-group {
  margin-bottom: 1.25rem;
}

.auth-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.auth-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.auth-form input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.auth-form .btn-block {
  width: 100%;
  margin-top: 1rem;
  padding: 0.875rem;
}

.auth-footer-link {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.auth-footer-link a {
  color: var(--accent-primary);
  font-weight: 500;
}

.auth-footer-link a:hover {
  text-decoration: underline;
}

.nav-menu-right {
  margin-left: auto;
}

/* ===== Footer ===== */
.footer {
  padding: 2rem 4rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-primary);
  width: 100%;
  box-sizing: border-box;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-mono);
  font-weight: 700;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== AOS Animation ===== */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 10rem;
  }

  .hero-content {
    max-width: 100%;
  }

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

  .hero-image-placeholder {
    width: 300px;
    height: 300px;
  }

  .sobre-grid,
  .parceiros-content,
  .contato-grid {
    grid-template-columns: 1fr;
  }

  .sobre-stats {
    justify-content: flex-start;
  }

  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet e telas médias - menu hamburger */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 10rem;
  }

  .hero-content {
    max-width: 100%;
  }

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

  .hero-image-placeholder {
    width: 280px;
    height: 280px;
  }

  .navbar {
    padding: 0.875rem 1.25rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: rgba(18, 18, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5.5rem 1.5rem 2rem;
    gap: 0.25rem;
    transition: right var(--transition-normal);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 1rem 0;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav-link-special {
    margin-top: 1rem;
    justify-content: center;
    min-height: 48px;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
    padding: 10px;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle span {
    width: 24px;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
  }

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

  .section {
    padding: 4rem 1.5rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1rem;
  }

  .nav-logo {
    font-size: 1.25rem;
  }

  .nav-logo-img {
    height: 32px;
  }

  .section {
    padding: 3.5rem 1rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-tag {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }

  .hero {
    padding: 7rem 1rem 3rem;
    min-height: auto;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    min-height: 48px;
  }

  .hero-image-placeholder {
    width: 220px;
    height: 220px;
    margin-top: 1rem;
  }

  .placeholder-icon {
    font-size: 2.5rem;
  }

  .hero-image-placeholder span {
    font-size: 0.85rem;
  }

  .hero-scroll {
    display: none;
  }

  .sobre-grid {
    gap: 2rem;
  }

  .sobre-grid .sobre-image {
    order: -1;
  }

  .sobre-placeholder {
    max-height: 250px;
  }

  .sobre-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .sobre-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }

  .stat-item {
    text-align: center;
    min-width: 80px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .app-subsection {
    margin-bottom: 3rem;
  }

  .app-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
  }

  .app-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .app-card-content {
    padding: 1.25rem;
  }

  .app-card-content h4 {
    font-size: 1rem;
  }

  .parceiros-content {
    gap: 2rem;
  }

  .parceiros-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .parceiros-image {
    order: -1;
  }

  .parceiros-placeholder {
    min-height: 180px;
  }

  .contato-grid {
    gap: 1.5rem;
  }

  .contato-card {
    padding: 1.25rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contato-icon {
    font-size: 1.5rem;
  }

  .contato-form-wrapper .contato-placeholder {
    min-height: 200px;
  }

  .contato-form {
    padding: 1.5rem;
  }

  .btn-submit {
    width: 100%;
    justify-content: center;
  }

  .login-placeholder {
    padding: 2.5rem 1.5rem;
  }

  .login-placeholder-icon {
    font-size: 3rem;
  }

  .login-placeholder h3 {
    font-size: 1.25rem;
  }

  .footer {
    padding: 1.5rem 1rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .footer-copy {
    font-size: 0.8rem;
  }
}

/* Celulares pequenos */
@media (max-width: 480px) {
  .section {
    padding: 2.5rem 0.75rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .hero {
    padding: 6rem 0.75rem 2.5rem;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-image-placeholder {
    width: 180px;
    height: 180px;
  }

  .sobre-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .app-subtitle {
    font-size: 1.1rem;
  }

  .parceiro-placeholder {
    min-height: 120px;
    font-size: 0.9rem;
  }

  .contato-card h4 {
    font-size: 1rem;
  }

  .contato-card p {
    font-size: 0.9rem;
  }
}

/* Safe area para dispositivos com notch */
@supports (padding: max(0px)) {
  .navbar {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .footer {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }

  @media (max-width: 992px) {
    .nav-menu {
      padding-right: max(1.5rem, env(safe-area-inset-right));
    }
  }
}
