/* =========================
   RESET + VARIÁVEIS MODERNAS
========================= */
:root {
  --bg-primary: #0a0f1e;
  --bg-secondary: #111827;
  --bg-tertiary: #1a2238;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-gradient: linear-gradient(135deg, #0a0f1e 0%, #1a2238 100%);
  
  --primary: #3b82f6;
  --primary-light: #60a5fa;
  --primary-dark: #1d4ed8;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-light: #e2e8f0;
  
  --border: rgba(148, 163, 184, 0.2);
  --border-light: rgba(148, 163, 184, 0.1);
  --border-dark: rgba(148, 163, 184, 0.3);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  --max-width: 1200px;
  --header-height: 80px;
  --vh: 1vh;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text-primary);
  background: var(--bg-gradient);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* =========================
   TYPOGRAPHY MOBILE-FIRST
========================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 1.8rem;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
  -webkit-tap-highlight-color: transparent;
}

/* =========================
   LAYOUT & CONTAINERS
========================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  overflow-x: hidden;
}

.section {
  padding: 3rem 0;
  width: 100%;
  overflow-x: hidden;
}

.section-light {
  background: rgba(30, 41, 59, 0.3);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-dark {
  background: var(--bg-tertiary);
}

/* =========================
   HEADER & NAVIGATION - MOBILE FIRST
========================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100vw;
  padding: 0 1rem;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 1;
  min-width: 0;
}

.brand-logo {
  height: 65px;
  width: auto;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.brand-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-highlight {
  color: var(--primary);
}

/* MENU MOBILE */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.menu-icon {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  margin: 0 auto;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  left: 0;
  transition: all 0.3s ease;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  bottom: -6px;
}

.navlinks {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.navlink {
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-base);
  font-size: 0.9rem;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.navlink:hover {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.1);
}

.navlink.active {
  color: var(--primary);
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.navlink-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.navlink-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* =========================
   HERO SECTIONS - MOBILE FIRST
========================= */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 2rem;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  min-height: calc(var(--vh, 1vh) * 100 - var(--header-height));
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  z-index: -1;
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  width: 100%;
  max-width: 100%;
  text-align: center;
  padding: 0 0.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  justify-content: center;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 100%;
  padding: 0 0.5rem;
  line-height: 1.5;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-2 {
  background: linear-gradient(135deg, var(--accent), var(--success));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================
   BUTTONS - MOBILE FIRST
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
  width: auto;
  max-width: 100%;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), #7c3aed);
  color: white;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.btn-icon {
  gap: 0.5rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  align-items: center;
  width: 100%;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: center;
  width: 100%;
}

.stat {
  text-align: center;
  min-width: 100px;
  padding: 0.5rem;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
}

/* HERO VISUAL - IMAGEM */
.hero-visual {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.infinity-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.infinity-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  will-change: transform;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* =========================
   CARDS - MOBILE FIRST
========================= */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-base);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-base);
  height: 100%;
  width: 100%;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: white;
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  transition: gap var(--transition-base);
  font-size: 0.9rem;
}

.feature-link:hover {
  gap: 0.75rem;
}

/* =========================
   GRIDS - MOBILE FIRST (1 COLUNA)
========================= */
.grid3 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

/* =========================
   SERVICES - MOBILE FIRST
========================= */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-base);
  height: auto;
  width: 100%;
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.service-highlight {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.service-icon {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}

.service-title {
  font-size: 1.3rem;
  color: var(--text-primary);
}

.service-description {
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.service-list {
  list-style: none;
  margin-bottom: 1.2rem;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.service-list i {
  color: var(--success);
  font-size: 0.8rem;
}

.service-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.service-badge {
  padding: 0.2rem 0.6rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--primary-light);
}

/* =========================
   PROCESS STEPS - MOBILE FIRST
========================= */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  width: 100%;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  width: 100%;
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* =========================
   DIFFERENTIATORS - MOBILE FIRST
========================= */
.differentiators {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.differentiator {
  text-align: center;
  padding: 1.5rem;
  width: 100%;
}

.differentiator-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

.differentiator h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.differentiator p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* =========================
   CONTACT - MOBILE FIRST
========================= */
.section-contact {
  background: linear-gradient(135deg, rgba(10, 15, 30, 0.9), rgba(30, 41, 59, 0.9));
  width: 100%;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
  width: 100%;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 1.5rem 0;
  width: 100%;
}

.contact-method {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  width: 100%;
}

.contact-icon {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.contact-details p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.9rem;
}

.contact-social {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* =========================
   FORMS - MOBILE FIRST
   CORREÇÃO PARA DROPDOWN NO WINDOWS
========================= */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  width: 100%;
}

.form-title {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
  text-align: center;
}

.form-group {
  margin-bottom: 1.2rem;
  width: 100%;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-base);
  font-family: 'Inter', sans-serif;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

/* CORREÇÃO ESPECÍFICA PARA SELECT NO WINDOWS */
select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' 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 0.7rem center;
  background-size: 1em;
  padding-right: 2.5rem;
  min-height: 42px;
  line-height: 1.5;
}

/* Remover a seta padrão do IE/Edge */
select::-ms-expand {
  display: none;
}

/* Estilo quando o select está em foco */
select:focus {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' 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");
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}

/* Hover state para select */
select:hover {
  border-color: var(--primary-light);
}

/* Estilo para as opções do dropdown */
select option {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  padding: 10px;
  font-size: 0.95rem;
}

/* Estilo para opções selecionadas/hover */
select option:hover,
select option:focus,
select option:checked {
  background-color: var(--primary);
  color: white;
}

/* Correção para Edge/Chrome no Windows */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  select {
    background-image: none;
    padding-right: 0.7rem;
  }
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Ajuste para inputs no iOS para evitar zoom */
@media (max-width: 768px) {
  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* =========================
   FOOTER - MOBILE FIRST
========================= */
.footer {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  width: 100%;
  max-width: 100vw;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.footer-brand {
  max-width: 100%;
  text-align: center;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.85rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: center;
  width: 100%;
}

.footer-title {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color var(--transition-base);
}

.footer-link:hover {
  color: var(--primary);
}

.footer-contact {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
}

.footer-contact i {
  width: 18px;
  color: var(--primary);
  margin-right: 0.3rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  width: 100%;
  max-width: 100vw;
}

/* =========================
   INFINITY PAGE SPECIFIC - MOBILE
========================= */
.infinity-page .hero {
  background: linear-gradient(135deg, #0a0f1e 0%, #1e1b4b 100%);
}

.infinity-hero .hero-title {
  font-size: 2.2rem;
}

.countdown {
  margin: 1.5rem 0;
  width: 100%;
}

.countdown-title {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.countdown-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.7rem;
  min-width: 65px;
}

.countdown-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.countdown-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

.countdown-separator {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
  align-items: center;
  width: 100%;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.hero-feature i {
  color: var(--primary);
  font-size: 0.9rem;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
  width: 100%;
}

.event-card {
  text-align: center;
  padding: 1.5rem;
  width: 100%;
}

.event-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

.event-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.event-info {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.event-description {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.event-cta {
  text-align: center;
  margin-top: 2rem;
  width: 100%;
}

.event-note {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-base);
  height: auto;
  width: 100%;
}

.benefit-highlight {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
}

.benefit-list {
  list-style: none;
  margin-top: 1.2rem;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.benefit-list i {
  color: var(--success);
  font-size: 0.8rem;
}

.demo-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
}

.demo-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  width: 100%;
}

.demo-number {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.demo-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.demo-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.section-cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  width: 100%;
}

.cta-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  width: 100%;
}

.cta-title {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 0.8rem;
}

.cta-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  max-width: 100%;
  margin: 0 auto;
}

.cta-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.2rem;
  width: 100%;
}

.cta-benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  justify-content: center;
}

.cta-benefit i {
  color: white;
  font-size: 0.9rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  max-width: 300px;
}

.back-link {
  text-align: center;
  margin-top: 2rem;
  width: 100%;
}

/* =========================
   MEDIA QUERIES PARA TABLETS
========================= */
@media (min-width: 768px) {
  /* TYPOGRAPHY */
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  /* CONTAINERS */
  .container {
    padding: 0 1.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  /* HERO */
  .hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
  
  .hero-stats {
    flex-direction: row;
    justify-content: center;
  }
  
  /* GRIDS - 2 COLUNAS */
  .grid3,
  .services-grid,
  .benefits-grid,
  .contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  /* DIFFERENTIATORS - 2 COLUNAS */
  .differentiators {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  /* PROCESS STEPS */
  .process-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }
  
  /* FORM ROW */
  .form-row {
    flex-direction: row;
  }
  
  /* FOOTER */
  .footer-links {
    flex-direction: row;
    justify-content: space-around;
  }
  
  .footer-column {
    text-align: left;
    align-items: flex-start;
  }
  
  /* COUNTDOWN */
  .countdown-timer {
    gap: 0.8rem;
  }
  
  .countdown-item {
    min-width: 70px;
  }
  
  /* HERO FEATURES */
  .hero-features {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* EVENT DETAILS */
  .event-details {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .event-card {
    flex: 1;
    min-width: 200px;
  }
  
  /* DEMO GRID */
  .demo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .demo-item {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }
  
  /* CTA CARD */
  .cta-card {
    flex-direction: row;
    text-align: left;
    padding: 2rem;
  }
  
  .cta-actions {
    flex-direction: column;
  }
}

/* =========================
   MEDIA QUERIES PARA DESKTOP
========================= */
@media (min-width: 1024px) {
  /* TYPOGRAPHY */
  h1 {
    font-size: 3.5rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  /* HERO CONTAINER */
  .hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    text-align: left;
  }
  
  .hero-content {
    text-align: left;
    max-width: 600px;
  }
  
  .hero-badge {
    justify-content: flex-start;
  }
  
  .hero-actions {
    justify-content: flex-start;
  }
  
  .hero-stats {
    justify-content: flex-start;
  }
  
  /* GRIDS - 3 COLUNAS */
  .grid3,
  .services-grid,
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* DIFFERENTIATORS - 4 COLUNAS */
  .differentiators {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* CONTACT CARDS - 3 COLUNAS */
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* CONTACT GRID */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .section-header {
    text-align: left;
  }
  
  .contact-social {
    justify-content: flex-start;
  }
  
  /* FOOTER */
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .footer-brand {
    text-align: left;
    max-width: 300px;
  }
  
  .footer-links {
    flex-direction: row;
    gap: 3rem;
  }
  
  /* COUNTDOWN */
  .countdown-title {
    text-align: left;
  }
  
  .countdown-timer {
    justify-content: flex-start;
  }
  
  /* MENU DESKTOP */
  .menu-toggle {
    display: none;
  }
  
  .navlinks {
    display: flex !important;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    flex-direction: row;
  }
  
  .navlink {
    font-size: 1rem;
  }
  
  /* INFINITY HERO TITLE */
  .infinity-hero .hero-title {
    font-size: 3rem;
  }
  
  /* EVENT DETAILS */
  .event-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* CTA CARD */
  .cta-card {
    flex-direction: row;
    justify-content: space-between;
    padding: 3rem;
  }
  
  .cta-actions {
    flex-direction: column;
    min-width: 250px;
  }
}

/* =========================
   MEDIA QUERIES PARA DESKTOP LARGE
========================= */
@media (min-width: 1200px) {
  .infinity-hero .hero-title {
    font-size: 4rem;
  }
}

/* =========================
   AJUSTES ESPECÍFICOS PARA MOBILE MENU
========================= */
@media (max-width: 1023px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
  }
  
  .navlinks {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    display: none;
    z-index: 1000;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  
  .navlinks.active {
    display: flex;
  }
  
  .navlink {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1rem;
  }
}

/* =========================
   AJUSTES PARA EVITAR HORIZONTAL SCROLL
========================= */
@media (max-width: 767px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  .container {
    padding: 0 0.8rem;
  }
  
  .hero-title,
  .hero-subtitle,
  .section-title,
  .section-subtitle {
    padding: 0;
  }
  
  .card,
  .feature-card,
  .service-card,
  .benefit-card,
  .contact-form {
    padding: 1.2rem;
  }
  
  /* Ajustes específicos para telas muito pequenas */
  @media (max-width: 320px) {
    .brand-text {
      font-size: 1rem;
    }
    
    .navlink {
      padding: 0.3rem 0.6rem;
      font-size: 0.8rem;
    }
    
    .hero-title {
      font-size: 1.8rem;
    }
    
    .btn {
      padding: 0.6rem 1rem;
      font-size: 0.85rem;
    }
    
    .countdown-item {
      min-width: 55px;
      padding: 0.5rem;
    }
    
    .countdown-number {
      font-size: 1.2rem;
    }
  }
}

/* =========================
   AJUSTES ESPECÍFICOS PARA IOS SAFARI
========================= */
@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available;
  }
  
  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* =========================
   ANIMAÇÕES
========================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

/* Reduzir animações para preferência do usuário */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================
   UTILITY CLASSES
========================= */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-0 {
  padding-left: 0;
  padding-right: 0;
}

.w-full {
  width: 100%;
}

.max-w-full {
  max-width: 100%;
}

.overflow-hidden {
  overflow: hidden;
}