/* ==========================================================================
   ELEVELSOFT — DESIGN SYSTEM & STYLESHEET
   Tech SaaS Dark Theme Premium | Modern, Responsive & Glassmorphic
   ========================================================================== */

:root {
  --bg-main: #070a13;
  --bg-card: rgba(18, 24, 40, 0.75);
  --bg-card-hover: rgba(28, 38, 62, 0.85);
  --bg-nav: rgba(7, 10, 19, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 210, 255, 0.4);
  --border-glow: rgba(0, 210, 255, 0.2);

  --accent-cyan: #00d2ff;
  --accent-blue: #3a7bd5;
  --accent-emerald: #10b981;
  --accent-purple: #8b5cf6;
  --accent-orange: #f59e0b;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --gradient-tech: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
  --gradient-green: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.15), transparent 70%);

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(0, 210, 255, 0.2);

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
  max-width: 100%;
}

img, svg, video, canvas, picture {
  max-width: 100%;
  height: auto;
  display: block;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  touch-action: pan-y manipulation;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
  touch-action: pan-y manipulation;
  -webkit-overflow-scrolling: touch;
  background-image: 
    radial-gradient(at 10% 10%, rgba(0, 210, 255, 0.04) 0px, transparent 50%),
    radial-gradient(at 90% 90%, rgba(58, 123, 213, 0.05) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(16, 185, 129, 0.03) 0px, transparent 50%);
  background-attachment: fixed;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Containers & Typography */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero, .section, .footer, main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, p, span, a, li {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

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

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

/* Utilities */
.gradient-text {
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section {
  padding: 100px 0;
  position: relative;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(0, 210, 255, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 210, 255, 0.2);
  margin-bottom: 16px;
}

.section-tag i {
  font-size: 0.8rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
}

.btn-primary {
  background: var(--gradient-tech);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 210, 255, 0.45);
}

.btn-whatsapp {
  background: var(--gradient-green);
  color: #fff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  z-index: 1000;
  background: rgba(7, 10, 19, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  height: 68px;
  background: rgba(5, 8, 16, 0.98);
  border-bottom: 1px solid rgba(0, 210, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-tech);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  padding: 6px 4px;
}

.nav-link:hover {
  color: var(--accent-cyan);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-cta .btn {
  padding: 10px 18px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding-top: 170px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 24px;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Metrics Row */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.metric-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  transition: var(--transition-normal);
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-glow);
}

.metric-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

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

/* ==========================================================================
   SOLUTIONS & SERVICES
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px 28px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-tech);
  opacity: 0;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-card);
  background: var(--bg-card-hover);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 210, 255, 0.08);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  border: 1px solid rgba(0, 210, 255, 0.15);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.service-features li i {
  color: var(--accent-emerald);
  font-size: 0.8rem;
}

/* ==========================================================================
   CASES EM PRODUÇÃO (SYSTEM SHOWCASE)
   ========================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 30px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-card);
}

.case-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.case-badge {
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.case-badge-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.3);
}

.case-live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse-glow 2s infinite;
}

/* UI Mockup Window inside Case Card */
.case-window {
  background: #090d19;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 22px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: var(--transition-normal);
}

.case-card:hover .case-window {
  border-color: rgba(0, 210, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 210, 255, 0.12);
}

.case-window-header {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.72rem;
  min-width: 0;
  overflow: hidden;
}

.window-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

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

.window-url {
  color: var(--text-muted);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.65rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
  text-align: center;
  padding: 0 4px;
}

.window-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.case-window-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  overflow: hidden;
}

.mockup-header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  color: var(--text-secondary);
  gap: 6px;
  min-width: 0;
}

.mockup-badge-soft {
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  flex-shrink: 0;
  white-space: nowrap;
}

.mockup-item-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.mockup-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  font-size: 0.72rem;
  gap: 6px;
  min-width: 0;
}

.mockup-item-name {
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-item-name i {
  color: var(--text-muted);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.mockup-item-val {
  color: var(--accent-cyan);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.mockup-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.mockup-total {
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.text-cyan {
  color: var(--accent-cyan);
}

.mockup-tag {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 210, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.case-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.case-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.case-tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   ABOUT & ENGINEER PROFILE
   ========================================================================== */
.profile-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
}

.profile-avatar-wrap {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.profile-img {
  width: 220px;
  height: 220px;
  border-radius: 24px;
  object-fit: cover;
  border: 3px solid rgba(0, 210, 255, 0.4);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.2);
  margin: 0 auto 20px auto;
  display: block;
}

.profile-socials {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.profile-social-link {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--text-secondary);
}

.profile-social-link:hover {
  background: var(--gradient-tech);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

.profile-name {
  font-size: 2rem;
  margin-bottom: 6px;
}

.profile-role {
  font-size: 1.05rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 20px;
}

.profile-bio {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.stack-pill i {
  color: var(--accent-cyan);
}

/* ==========================================================================
   CERTIFICATES GALLERY
   ========================================================================== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.cert-filter-btn {
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-fast);
}

.cert-filter-btn:hover, .cert-filter-btn.active {
  background: var(--gradient-tech);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.cert-tag-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cert-tag-ia {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.cert-tag-backend {
  background: rgba(0, 210, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 210, 255, 0.25);
}

.cert-tag-redes {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.cert-tag-web {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-glow);
}

.cert-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #0f172a;
  border-bottom: 1px solid var(--border-subtle);
}

.cert-info {
  padding: 16px;
  flex-grow: 1;
}

.cert-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

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

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition-normal);
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.contact-card-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

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

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px;
}

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

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

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.25);
  background: rgba(15, 23, 42, 0.95);
}

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

/* ==========================================================================
   FOOTER (FORMAL & COMPLIANT)
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(4, 7, 14, 0.95);
  padding: 70px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 320px;
}

.footer-title {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

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

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

.footer-legal-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-legal-badge strong {
  color: var(--text-secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--gradient-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  z-index: 999;
  transition: var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.6);
}

/* ==========================================================================
   IMAGE MODAL (FOR CERTIFICATES)
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 850px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* ==========================================================================
   METODOLOGIA & IMPLANTAÇÃO (4 PASSOS)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 30px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 12px 30px rgba(0, 210, 255, 0.1);
}

.step-card.step-highlight {
  border-color: rgba(0, 210, 255, 0.35);
  background: linear-gradient(180deg, rgba(14, 23, 42, 0.95) 0%, rgba(10, 16, 31, 0.98) 100%);
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.08);
}

.step-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.step-tag.tag-cyan {
  background: rgba(0, 210, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 210, 255, 0.2);
}

.step-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex-grow: 1;
}

.step-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* ==========================================================================
   SEGURANÇA & CONFIABILIDADE (4 CARDS)
   ========================================================================== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px 22px;
  transition: var(--transition-normal);
}

.security-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.08);
}

.security-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.security-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.security-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FAQ (ACCORDION INTERATIVO)
   ========================================================================== */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition-fast);
}

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

.faq-item.active {
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.08);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition-fast);
}

.faq-item.active .faq-question {
  color: var(--accent-cyan);
}

.faq-icon {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.12);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px 24px;
}

.faq-answer p {
  margin: 0;
}

.faq-answer strong {
  color: var(--text-primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: rgba(7, 10, 19, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid rgba(0, 210, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    gap: 16px;
    text-align: center;
    box-sizing: border-box;
  }
  .navbar.scrolled .nav-menu {
    top: 68px;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-cta .btn {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .services-grid, .cases-grid, .steps-grid, .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .certs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .profile-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .profile-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto 20px auto;
  }
  .profile-img {
    margin: 0 auto 16px auto;
  }
  .stack-pills {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section-header {
    margin-bottom: 35px;
  }
  .section-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }
  .section-desc {
    font-size: 0.92rem;
  }
  .container {
    padding: 0 16px;
  }
  .hero {
    padding-top: 110px;
    padding-bottom: 40px;
  }
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 26px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 25px;
  }
  .metric-card {
    padding: 16px 10px;
  }
  .metric-number {
    font-size: 1.7rem;
  }
  .metric-label {
    font-size: 0.78rem;
  }
  .services-grid, .cases-grid, .certs-grid, .steps-grid, .security-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .case-card {
    padding: 20px 14px;
    border-radius: 16px;
  }
  .profile-box {
    padding: 26px 16px;
    grid-template-columns: 1fr;
    gap: 20px;
    border-radius: 18px;
    text-align: center;
  }
  .profile-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto 16px auto;
  }
  .profile-img {
    width: 180px;
    height: 180px;
    border-radius: 22px;
    margin: 0 auto 16px auto;
    display: block;
  }
  .profile-socials {
    justify-content: center;
    width: 100%;
  }
  .profile-name {
    text-align: center;
    font-size: 1.55rem;
  }
  .profile-role {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 14px;
  }
  .profile-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
  }
  .stack-pills {
    justify-content: center;
    gap: 6px;
  }
  .stack-pill {
    font-size: 0.75rem;
    padding: 4px 10px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-form-wrap {
    padding: 22px 14px;
  }
  .faq-container {
    gap: 12px;
  }
  .faq-question {
    padding: 16px 14px;
    font-size: 0.95rem;
  }
  .faq-answer {
    padding: 0 14px;
    font-size: 0.88rem;
  }
  .faq-item.active .faq-answer {
    padding: 0 14px 16px 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
  .modal-overlay {
    padding: 12px;
  }
  .modal-content {
    padding: 10px;
    border-radius: 12px;
    max-width: 96%;
  }
  .modal-close {
    top: 6px;
    right: 6px;
    width: 32px;
    height: 32px;
    font-size: 1rem;
    background: rgba(7, 10, 19, 0.95);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .metrics-row {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .cert-filter-bar {
    gap: 6px;
  }
  .cert-filter-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
}
