/* ================================================
   RESOLLVE TECNOLOGIA — Design System v2
   Primary: #FF5A1F | Dark: #0A0A0A | White: #FFFFFF
   ================================================ */

:root {
  --primary:        #FF5A1F;
  --primary-dark:   #E04A10;
  --primary-glow:   rgba(255, 90, 31, 0.25);
  --primary-border: rgba(255, 90, 31, 0.2);
  --bg-dark:        #0A0A0A;
  --bg-card:        #111111;
  --bg-card-hover:  #161616;
  --bg-card-2:      #1A1A1A;
  --text-white:     #FFFFFF;
  --text-gray:      #F5F5F5;
  --text-muted:     #9CA3AF;
  --text-dark:      #0A0A0A;
  --border-subtle:  rgba(255, 90, 31, 0.15);
  --border-dark:    rgba(255, 255, 255, 0.07);
  --sla-critical:   #EF4444;
  --sla-high:       #FF5A1F;
  --sla-medium:     #EAB308;
  --sla-low:        #6B7280;
  --whatsapp:       #25D366;
  --transition:     0.3s ease;
  --radius:         12px;
  --radius-sm:      8px;
}

/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

.section { padding: 90px 0; }

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

/* ============ TYPOGRAPHY HELPERS ============ */
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.eyebrow-dark { color: var(--primary); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.title-dark { color: var(--text-dark); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

.subtitle-dark { color: #4B5563; }

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

/* ============ BUTTONS ============ */
.btn-primary-cta {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-primary-cta:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  box-shadow: 0 0 24px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-outline-hero {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-outline-hero:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255,90,31,0.07);
}

.btn-whatsapp-full {
  background: var(--whatsapp);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all var(--transition);
  width: 100%;
  justify-content: center;
}

.btn-whatsapp-full:hover {
  background: #1DAA55;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,211,102,0.3);
}

/* ============ HEADER / NAVBAR ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-dark);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(10,10,10,0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}

.navbar { padding: 1rem 0; }

.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.logo { text-decoration: none; display: inline-flex; align-items: center; line-height: 1; }

.logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-img-footer {
  height: 32px;
  margin-bottom: 0.75rem;
}

.sobre-logo {
  height: 90px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.nav-link {
  color: var(--text-gray) !important;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition);
  padding: 0.5rem 0.75rem !important;
}

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

/* ============ HERO ============ */
.hero-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding: 120px 0 90px;
}

.min-vh-hero { min-height: 80vh; }

.hero-bg-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(255,90,31,0.04) 50%, transparent 100%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(255,90,31,0.04) 80px,
      rgba(255,90,31,0.04) 81px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(255,90,31,0.03) 80px,
      rgba(255,90,31,0.03) 81px
    );
  pointer-events: none;
}

/* Particles canvas */
#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Ambient glow orb */
.hero-glow-orb {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,31,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: orbPulse 6s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% { transform: translateY(-50%) scale(1);   opacity: 1; }
  50%       { transform: translateY(-50%) scale(1.15); opacity: 0.7; }
}

/* ── Hero entrance cascade ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-enter-1 { animation: heroFadeUp 0.65s 0.05s ease both; }
.hero-enter-2 { animation: heroFadeUp 0.65s 0.2s  ease both; }
.hero-enter-3 { animation: heroFadeUp 0.65s 0.35s ease both; }
.hero-enter-4 { animation: heroFadeUp 0.65s 0.5s  ease both; }
.hero-enter-5 { animation: heroFadeUp 0.65s 0.65s ease both; }
.hero-enter-6 { animation: heroFadeUp 0.8s  0.55s ease both; }

/* Ensure hero content sits above canvas/orb */
.hero-section .container { position: relative; z-index: 1; }

/* ── Typewriter cursor ── */
.typed-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--primary);
  margin-left: 3px;
  vertical-align: middle;
  border-radius: 2px;
  animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.hero-badge i { color: var(--primary); font-size: 0.85rem; }

.hero-badge:hover {
  border-color: var(--primary-border);
  color: var(--text-white);
  background: rgba(255,90,31,0.07);
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse, rgba(255,90,31,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: cardGlow 4s ease-in-out infinite;
  z-index: -1;
}

@keyframes cardGlow {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

.hero-visual-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 0 60px rgba(255,90,31,0.12), 0 20px 60px rgba(0,0,0,0.4);
  animation: cardFloat 5s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.hv-stat { transition: background var(--transition); }
.hv-stat:hover { background: rgba(255,90,31,0.06); border-radius: var(--radius-sm); }

.hv-stat-number {
  animation: numPulse 4s ease-in-out infinite;
}

.hv-stat:nth-child(3) .hv-stat-number { animation-delay: 1s; }
.hv-stat:nth-child(5) .hv-stat-number { animation-delay: 2s; }
.hv-stat:nth-child(7) .hv-stat-number { animation-delay: 3s; }

@keyframes numPulse {
  0%, 85%, 100% { color: var(--primary); text-shadow: none; }
  92%            { color: #FF8C5A; text-shadow: 0 0 18px rgba(255,90,31,0.6); }
}

.hv-stat {
  padding: 1.25rem 1rem;
  text-align: center;
}

.hv-stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.hv-stat-number small {
  font-size: 1.1rem;
  font-weight: 600;
}

.hv-stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hv-divider {
  height: 1px;
  background: var(--border-dark);
  margin: 0 1rem;
}

/* ============ DORES ============ */
.dores-section { background: #F9FAFB; }

.pain-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  transition: all var(--transition);
  border-top: 3px solid transparent;
}

.pain-card:hover {
  border-top-color: var(--primary);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.pain-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,90,31,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.3rem;
  transition: all var(--transition);
}

.pain-card:hover .pain-icon {
  background: var(--primary);
  color: #fff;
}

.pain-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.pain-text {
  font-size: 0.9rem;
  color: #6B7280;
  margin: 0;
}

.dores-cta-text {
  font-size: 1.1rem;
  color: #374151;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

/* ============ SERVIÇOS ============ */
.servicos-section { background: var(--bg-dark); }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-border);
  box-shadow: 0 8px 40px rgba(255,90,31,0.12);
  transform: translateY(-4px);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,90,31,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-size: 1.3rem;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
}

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.6rem;
}

.service-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  font-size: 0.83rem;
  color: #6B7280;
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ============ COMO TRABALHAMOS ============ */
.como-section { background: var(--bg-card); }

.timeline { position: relative; max-width: 820px; margin: 0 auto; }

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary) 0%, rgba(255,90,31,0.1) 100%);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  top: 1.5rem;
}

.timeline-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
}

.timeline-content {
  background: var(--bg-card-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.5rem;
  width: calc(50% - 3rem);
  transition: all var(--transition);
}

.timeline-content:hover {
  border-color: var(--primary-border);
  box-shadow: 0 8px 30px rgba(255,90,31,0.1);
}

.timeline-icon {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Mobile timeline */
@media (max-width: 767px) {
  .timeline::before { left: 22px; }
  .timeline-item,
  .timeline-item:nth-child(even) { flex-direction: column; padding-left: 60px; }
  .timeline-marker { left: 0; transform: none; top: 0; }
  .timeline-content { width: 100%; }
}

/* ============ SLA ============ */
.sla-section { background: #F9FAFB; }

.nivel-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  height: 100%;
  transition: all var(--transition);
  border-top: 3px solid transparent;
}

.nivel-card:hover {
  border-top-color: var(--primary);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.nivel-featured {
  border-color: var(--primary);
  border-top: 3px solid var(--primary);
  box-shadow: 0 4px 20px rgba(255,90,31,0.15);
}

.nivel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.nivel-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.nivel-text {
  font-size: 0.88rem;
  color: #6B7280;
  margin: 0;
}

/* SLA Table */
.sla-table-wrapper {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #E5E7EB;
  overflow: hidden;
}

.sla-table-header {
  background: var(--bg-dark);
  padding: 1rem 1.5rem;
}

.sla-table-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 0;
}

.sla-table-wrapper .row { padding: 1.25rem; }

.sla-row {
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  border: 1px solid #E5E7EB;
  text-align: center;
  height: 100%;
}

.sla-prioridade {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #374151;
  margin-bottom: 0.75rem;
}

.sla-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sla-dot-critico { background: var(--sla-critical); }
.sla-dot-alta    { background: var(--sla-high); }
.sla-dot-media   { background: var(--sla-medium); }
.sla-dot-baixa   { background: var(--sla-low); }

.sla-tempo {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.sla-critico .sla-tempo { color: var(--sla-critical); }
.sla-alta    .sla-tempo { color: var(--sla-high); }
.sla-media   .sla-tempo { color: var(--sla-medium); }
.sla-baixa   .sla-tempo { color: var(--sla-low); }

.sla-tempo small { font-size: 0.85rem; font-weight: 500; }

.sla-desc {
  font-size: 0.8rem;
  color: #6B7280;
  margin: 0;
}

/* ============ SOBRE ============ */
.sobre-section { background: #fff; }

.sobre-text {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.sobre-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #E5E7EB;
}

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

.sobre-stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.sobre-stat-suffix {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.sobre-stat-label {
  display: block;
  font-size: 0.8rem;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
}

/* About Values */
.sobre-values {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sobre-value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #F9FAFB;
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid #E5E7EB;
  transition: all var(--transition);
}

.sobre-value-item:hover {
  border-color: rgba(255,90,31,0.3);
  box-shadow: 0 4px 20px rgba(255,90,31,0.08);
}

.sobre-value-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,90,31,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.sobre-value-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.sobre-value-text {
  font-size: 0.87rem;
  color: #6B7280;
  margin: 0;
}

/* ============ DIFERENCIAIS ============ */
.diferenciais-section { background: var(--bg-dark); }

.diferencial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  height: 100%;
  transition: all var(--transition);
}

.diferencial-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-border);
  box-shadow: 0 8px 40px var(--primary-glow);
  transform: translateY(-4px);
}

.diferencial-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,90,31,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--primary);
  font-size: 1.4rem;
  transition: all var(--transition);
}

.diferencial-card:hover .diferencial-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 25px var(--primary-glow);
}

.diferencial-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.6rem;
}

.diferencial-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.diferenciais-cta-text {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: var(--bg-card);
}

/* ============ CONTATO ============ */
.contato-section {
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.contato-section::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(255,90,31,0.07) 0%, transparent 68%);
  pointer-events: none;
  animation: contactGlow 7s ease-in-out infinite;
}

@keyframes contactGlow {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scale(1.12); }
}

.contato-section .container { position: relative; z-index: 1; }

/* Urgency badge */
.contato-urgency {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 50px;
  padding: 0.4rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4ADE80;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.urgency-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  flex-shrink: 0;
  animation: dotPing 1.6s ease-in-out infinite;
}

@keyframes dotPing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); }
  55%       { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* Submit button idle pulse */
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(255,90,31,0.2), 0 0 0 0   rgba(255,90,31,0.4); }
  55%       { box-shadow: 0 4px 15px rgba(255,90,31,0.2), 0 0 0 14px rgba(255,90,31,0); }
}

#submitBtn { animation: btnPulse 3s ease-in-out infinite; }
#submitBtn:hover, #submitBtn:disabled { animation: none; }

.contato-form { }

.form-label-custom {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 0.4rem;
}

.form-input-custom {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-input-custom::placeholder { color: #4B5563; }

.form-input-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-input-custom.is-invalid { border-color: var(--sla-critical); }

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

.form-select-custom {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239CA3AF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
  cursor: pointer;
}

.form-select-custom option { background: var(--bg-card-2); }

.form-error {
  font-size: 0.8rem;
  color: #EF4444;
  margin-top: 0.3rem;
  min-height: 1.1em;
}

.form-success {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  color: #4ADE80;
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.9rem;
  text-align: center;
}

.form-feedback-error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  color: #F87171;
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.9rem;
  text-align: center;
}

/* Contato Info */
.contato-info {
  background: var(--bg-card-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 2rem;
}

.contato-info-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.contato-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contato-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,90,31,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contato-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contato-value {
  font-size: 0.95rem;
  color: var(--text-gray);
  text-decoration: none;
  transition: color var(--transition);
}

.contato-value:hover { color: var(--primary); }

/* Social proof strip */
.contato-proof {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-dark);
  margin-bottom: 1rem;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.proof-item i { color: var(--primary); font-size: 0.85rem; }
.proof-item strong { color: var(--text-white); }

/* WhatsApp CTA button */
.wa-cta-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  overflow: hidden;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  animation: waPulse 3s ease-in-out infinite;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.3), 0 0 0 0    rgba(37,211,102,0.35); }
  55%       { box-shadow: 0 8px 30px rgba(37,211,102,0.45), 0 0 0 12px rgba(37,211,102,0); }
}

.wa-cta-btn:hover {
  background: #1DAA55;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(37,211,102,0.5);
  animation: none;
}

.wa-cta-ring {
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  border: 2px solid rgba(37,211,102,0.55);
  pointer-events: none;
  animation: ringExpand 2.2s ease-out infinite;
}

@keyframes ringExpand {
  0%   { transform: scale(1);    opacity: 0.9; }
  100% { transform: scale(1.06); opacity: 0;   }
}

.wa-cta-icon {
  font-size: 2.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.wa-cta-text { flex: 1; min-width: 0; }

.wa-cta-main {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.wa-cta-sub {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  opacity: 0.9;
  margin-top: 0.2rem;
}

.wa-online-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  animation: dotPing 1.6s ease-in-out infinite;
}

.wa-cta-arrow {
  font-size: 0.9rem;
  opacity: 0.75;
  transition: transform var(--transition), opacity var(--transition);
  flex-shrink: 0;
}

.wa-cta-btn:hover .wa-cta-arrow { transform: translateX(5px); opacity: 1; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 3.5rem 0 0;
  position: relative;
  overflow: hidden;
}

.footer-bg-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, transparent 0%, rgba(255,90,31,0.04) 50%, transparent 100%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(255,90,31,0.04) 80px,
      rgba(255,90,31,0.04) 81px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(255,90,31,0.03) 80px,
      rgba(255,90,31,0.03) 81px
    );
  pointer-events: none;
}

#footer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.footer-glow-orb {
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,90,31,0.07) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
  animation: orbPulse 7s ease-in-out infinite;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer-contact-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-divider {
  border-color: var(--border-dark);
  margin: 2rem 0 1.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 1.5rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: #4B5563;
  margin: 0;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--whatsapp);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition);
}

.whatsapp-float:hover {
  background: #1DAA55;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: rgba(10,10,10,0.9);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ============ AOS OVERRIDE ============ */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* Fallback: se AOS.init() não rodar, mostra todo o conteúdo normalmente */
html:not(.aos-init) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
  .section { padding: 70px 0; }
  .hero-section { padding: 100px 0 70px; }
  .min-vh-hero { min-height: auto; }

  .navbar-collapse {
    background: rgba(10,10,10,0.98);
    border-top: 1px solid var(--border-dark);
    padding: 1rem 0;
    margin-top: 0.5rem;
    border-radius: var(--radius-sm);
  }

  .navbar-nav { padding: 0.5rem 0; }
  .nav-link { padding: 0.6rem 1rem !important; }
}

@media (max-width: 767px) {
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .sobre-stats { gap: 1.25rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; font-size: 1.5rem; }
}

@media (max-width: 575px) {
  .hero-badges { gap: 0.5rem; }
  .hero-badge { font-size: 0.78rem; padding: 0.35rem 0.75rem; }
}
