﻿/* ===== RESET & BASE ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Inter', sans-serif;
      background: #0a0f1e;
      color: #e2e8f0;
      overflow-x: hidden;
      line-height: 1.6;
    }

    /* ===== BRAND COLORS ===== */
    :root {
      --navy:    #0d1b3e;
      --blue:    #1565c0;
      --blue-mid:#1e88e5;
      --blue-lt: #42a5f5;
      --orange:  #f57c00;
      --orange-lt:#ff9800;
      --bg-dark: #070d1c;
      --bg-card: #101829;
      --text:    #e2e8f0;
      --text-muted: #94a3b8;
      --border:  rgba(30,136,229,0.18);
    }

    /* ===== SCROLLBAR ===== */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg-dark); }
    ::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

    /* ===== UTILITY ===== */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 14px 32px; border-radius: 6px; font-weight: 600;
      font-size: 15px; cursor: pointer; border: none; text-decoration: none;
      transition: all .25s ease; white-space: nowrap;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--orange), var(--orange-lt));
      color: #fff;
      box-shadow: 0 4px 20px rgba(245,124,0,.35);
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,124,0,.5); }
    .btn-outline {
      background: transparent;
      color: var(--blue-lt);
      border: 2px solid var(--blue-mid);
    }
    .btn-outline:hover { background: var(--blue-mid); color: #fff; transform: translateY(-2px); }
    .tag {
      display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px;
      text-transform: uppercase; color: var(--orange-lt);
      margin-bottom: 12px;
    }
    .section-title {
      font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.2;
      color: #fff; margin-bottom: 16px;
    }
    .section-sub {
      font-size: 16px; color: var(--text-muted); max-width: 560px; margin: 0 auto 48px;
    }
    .text-center { text-align: center; }
    .gradient-text {
      background: linear-gradient(135deg, var(--blue-lt), var(--orange-lt));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }

    /* ===== HEADER / NAV ===== */
    header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      padding: 0 24px;
      transition: background .3s, backdrop-filter .3s, box-shadow .3s;
    }
    header.scrolled {
      background: rgba(7,13,28,.92);
      backdrop-filter: blur(12px);
      box-shadow: 0 1px 0 var(--border);
    }
    nav { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 80px; }
    .logo-wrap { display: flex; align-items: center; gap: 14px; text-decoration: none; }
    .logo-img { height: 48px; object-fit: contain; }
    .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
    .nav-links a {
      color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500;
      transition: color .2s; position: relative;
    }
    .nav-links a::after {
      content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
      background: var(--orange-lt); transition: width .25s;
    }
    .nav-links a:hover { color: #fff; }
    .nav-links a:hover::after { width: 100%; }
    .nav-cta { display: flex; align-items: center; gap: 12px; }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
    .hamburger span { display: block; width: 24px; height: 2px; background: var(--text-muted); border-radius: 2px; transition: all .3s; }

    /* ===== HERO ===== */
    #hero {
      min-height: 100vh; display: flex; align-items: center;
      position: relative; overflow: hidden;
      background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(21,101,192,.18) 0%, transparent 70%),
                  radial-gradient(ellipse 50% 40% at 20% 80%, rgba(245,124,0,.08) 0%, transparent 60%),
                  var(--bg-dark);
      padding: 120px 24px 80px;
    }
    .hero-grid {
      max-width: 1200px; margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    }
    .hero-label {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(30,136,229,.12); border: 1px solid rgba(30,136,229,.3);
      border-radius: 100px; padding: 6px 16px;
      font-size: 13px; color: var(--blue-lt); font-weight: 600;
      margin-bottom: 24px;
    }
    .hero-label span { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-lt); animation: pulse 2s infinite; }
    @keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
    .hero-title {
      font-size: clamp(36px, 5vw, 62px); font-weight: 900; line-height: 1.1;
      color: #fff; margin-bottom: 20px;
    }
    .hero-desc { font-size: 17px; color: var(--text-muted); max-width: 480px; margin-bottom: 36px; }
    .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
    .hero-stats { display: flex; gap: 32px; margin-top: 48px; }
    .stat { }
    .stat-num { font-size: 28px; font-weight: 800; color: #fff; }
    .stat-lbl { font-size: 13px; color: var(--text-muted); }
    .hero-visual {
      position: relative; display: flex; align-items: center; justify-content: center;
    }
    .hero-card-main {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 20px; padding: 32px; width: 100%;
      box-shadow: 0 20px 60px rgba(0,0,0,.5);
      position: relative; overflow: hidden;
    }
    .hero-card-main::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(circle at top right, rgba(30,136,229,.12), transparent 60%);
      pointer-events: none;
    }
    .hc-header { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
    .hc-dots { display: flex; gap: 6px; }
    .hc-dots span { width: 10px; height: 10px; border-radius: 50%; }
    .hc-dots span:nth-child(1){ background:#ff5f57; }
    .hc-dots span:nth-child(2){ background:#febc2e; }
    .hc-dots span:nth-child(3){ background:#28c840; }
    .hc-title { font-size: 13px; color: var(--text-muted); font-weight: 500; }
    .code-block { font-family: 'Courier New', monospace; font-size: 13px; line-height: 1.8; }
    .code-line { display: flex; gap: 16px; }
    .code-ln { color: #4a5568; min-width: 20px; text-align: right; }
    .kw  { color: #63b3ed; }
    .fn  { color: #68d391; }
    .str { color: #fbb86b; }
    .cm  { color: #718096; }
    .num { color: #fc8181; }
    .float-badge {
      position: absolute; background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 12px; padding: 12px 18px; display: flex; align-items: center; gap: 10px;
      box-shadow: 0 8px 30px rgba(0,0,0,.4);
    }
    .fb-top { top: -16px; right: -12px; }
    .fb-bot { bottom: -16px; left: -12px; }
    .fb-icon { font-size: 22px; }
    .fb-text { font-size: 12px; }
    .fb-text strong { display: block; color: #fff; font-size: 14px; }
    .fb-text span { color: var(--text-muted); }

    /* ===== MARQUEE ===== */
    .marquee-wrap { background: rgba(21,101,192,.08); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; overflow: hidden; }
    .marquee-track { display: flex; gap: 48px; animation: marquee 25s linear infinite; width: max-content; }
    .marquee-track:hover { animation-play-state: paused; }
    @keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
    .marquee-item { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
    .marquee-item svg { color: var(--blue-lt); }

    /* ===== SERVICES ===== */
    #servicos { padding: 100px 0; }
    .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
    .svc-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 16px; padding: 36px 28px;
      transition: all .3s ease; cursor: default; position: relative; overflow: hidden;
    }
    .svc-card::before {
      content: ''; position: absolute; inset: 0; opacity: 0;
      background: radial-gradient(circle at top left, rgba(30,136,229,.08), transparent 60%);
      transition: opacity .3s;
    }
    .svc-card:hover { border-color: var(--blue-mid); transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.4); }
    .svc-card:hover::before { opacity: 1; }
    .svc-icon {
      width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
      font-size: 26px; margin-bottom: 24px;
    }
    .svc-icon.blue   { background: rgba(21,101,192,.2);  color: var(--blue-lt); }
    .svc-icon.orange { background: rgba(245,124,0,.2);   color: var(--orange-lt); }
    .svc-icon.teal   { background: rgba(0,176,155,.2);   color: #4dd0c4; }
    .svc-icon.purple { background: rgba(124,58,237,.2);  color: #a78bfa; }
    .svc-name { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 10px; }
    .svc-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
    .svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
    .svc-tag {
      font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px;
      background: rgba(30,136,229,.12); color: var(--blue-lt); border: 1px solid rgba(30,136,229,.2);
    }

    /* ===== WHY ===== */
    #por-que { padding: 100px 0; background: linear-gradient(180deg, transparent, rgba(21,101,192,.04), transparent); }
    .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
    .why-visual { position: relative; }
    .why-card-stack { display: flex; flex-direction: column; gap: 16px; }
    .why-stat-card {
      background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 24px 28px;
      display: flex; align-items: center; gap: 20px;
      transition: border-color .3s;
    }
    .why-stat-card:hover { border-color: var(--blue-mid); }
    .wsc-icon { font-size: 28px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: rgba(30,136,229,.1); border-radius: 12px; }
    .wsc-num { font-size: 28px; font-weight: 900; color: #fff; }
    .wsc-lbl { font-size: 13px; color: var(--text-muted); }
    .why-content .section-sub { margin: 0 0 36px; text-align: left; }
    .why-list { display: flex; flex-direction: column; gap: 16px; }
    .why-item { display: flex; gap: 14px; align-items: flex-start; }
    .why-check { width: 22px; height: 22px; min-width: 22px; border-radius: 50%; background: rgba(245,124,0,.15); border: 1.5px solid var(--orange-lt); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
    .why-check svg { width: 12px; height: 12px; stroke: var(--orange-lt); }
    .why-text strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
    .why-text span { font-size: 14px; color: var(--text-muted); }

    /* ===== PROCESS ===== */
    #processo { padding: 100px 0; }
    .process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; position: relative; }
    .process-steps::before {
      content: ''; position: absolute; top: 32px; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
    }
    .step { text-align: center; padding: 0 20px; }
    .step-num {
      width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px; font-weight: 800; color: #fff;
      background: linear-gradient(135deg, var(--blue), var(--blue-mid));
      border: 3px solid var(--bg-dark); position: relative; z-index: 1;
      box-shadow: 0 0 0 6px rgba(21,101,192,.15);
    }
    .step:nth-child(2) .step-num { background: linear-gradient(135deg, var(--blue-mid), var(--blue-lt)); }
    .step:nth-child(3) .step-num { background: linear-gradient(135deg, var(--orange), var(--orange-lt)); }
    .step:nth-child(4) .step-num { background: linear-gradient(135deg, #00b09b, #56ccf2); }
    .step:nth-child(3) .step-num, .step:nth-child(4) .step-num { box-shadow: 0 0 0 6px rgba(245,124,0,.15); }
    .step-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
    .step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

    /* ===== TECH ===== */
    #tecnologias { padding: 80px 0; background: rgba(21,101,192,.03); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
    .tech-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 48px; }
    .tech-pill {
      padding: 10px 20px; border-radius: 100px; font-size: 13px; font-weight: 600;
      background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted);
      transition: all .2s;
    }
    .tech-pill:hover { border-color: var(--blue-mid); color: var(--blue-lt); transform: translateY(-2px); }

    /* ===== CONTACT ===== */
    #contato { padding: 100px 0; }
    .contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
    .contact-info h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 16px; }
    .contact-info p { color: var(--text-muted); margin-bottom: 36px; }
    .contact-items { display: flex; flex-direction: column; gap: 20px; }
    .c-item { display: flex; align-items: center; gap: 16px; }
    .c-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(30,136,229,.1); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 18px; }
    .c-text strong { display: block; font-size: 14px; color: #fff; }
    .c-text span { font-size: 13px; color: var(--text-muted); }
    .contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 36px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
    .form-group label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
    .form-group input, .form-group textarea, .form-group select {
      background: rgba(255,255,255,.04); border: 1px solid var(--border);
      border-radius: 8px; padding: 12px 16px; color: var(--text); font-size: 14px;
      font-family: 'Inter', sans-serif; transition: border-color .2s, box-shadow .2s;
      outline: none; width: 100%;
    }
    .form-group input.field-invalid, .form-group textarea.field-invalid, .form-group select.field-invalid {
      border-color: #fc8181;
      box-shadow: 0 0 0 3px rgba(252,129,129,.16);
    }
    .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
      border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(30,136,229,.12);
    }
    .form-group input::placeholder, .form-group textarea::placeholder { color: #4a5568; }
    .form-group textarea { resize: vertical; min-height: 100px; }
    .form-group select option { background: var(--bg-card); }

    .hp-field {
      position: absolute;
      left: -10000px;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }
    .form-feedback {
      min-height: 22px;
      margin-top: 14px;
      font-size: 14px;
      font-weight: 600;
      text-align: center;
    }
    .form-feedback.success { color: #68d391; }
    .form-feedback.error { color: #fc8181; }
    .contact-form button[disabled] {
      cursor: wait;
      opacity: .72;
      transform: none;
    }
    /* ===== FOOTER ===== */
    footer {
      background: var(--bg-dark); border-top: 1px solid var(--border);
      padding: 60px 0 30px;
    }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
    .footer-brand .logo-img { height: 44px; margin-bottom: 16px; }
    .footer-brand p { font-size: 14px; color: var(--text-muted); max-width: 300px; line-height: 1.7; }
    .footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 16px; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-col ul li a { text-decoration: none; font-size: 14px; color: var(--text-muted); transition: color .2s; }
    .footer-col ul li a:hover { color: var(--blue-lt); }
    .footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; }
    .footer-bottom p { font-size: 13px; color: var(--text-muted); }
    .social-links { display: flex; gap: 12px; }
    .social-links a {
      width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.04);
      border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
      color: var(--text-muted); text-decoration: none; font-size: 14px; transition: all .2s;
    }
    .social-links a:hover { border-color: var(--blue-mid); color: var(--blue-lt); }

    /* ===== CTA BANNER ===== */
    .cta-banner {
      margin: 0 24px; border-radius: 24px; overflow: hidden;
      background: linear-gradient(135deg, var(--navy) 0%, #0d2a6e 50%, #1a1235 100%);
      border: 1px solid rgba(30,136,229,.25);
      padding: 72px 48px; text-align: center; position: relative;
    }
    .cta-banner::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(245,124,0,.08), transparent 70%);
      pointer-events: none;
    }
    .cta-banner h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: #fff; margin-bottom: 16px; }
    .cta-banner p { color: var(--text-muted); margin-bottom: 32px; font-size: 16px; }
    .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 900px) {
      .hero-grid, .why-grid, .contact-wrap, .footer-grid { grid-template-columns: 1fr; }
      .hero-visual { display: none; }
      .process-steps::before { display: none; }
      .why-content .section-sub { text-align: center; }
      .why-content .section-title { text-align: center; }
      .why-list { align-items: flex-start; }
    }
    @media (max-width: 768px) {
      .nav-links, .nav-cta { display: none; }
      .hamburger { display: flex; }
      .footer-grid { grid-template-columns: 1fr; }
      .form-row { grid-template-columns: 1fr; }
      .cta-banner { padding: 48px 24px; margin: 0 16px; }
      .hero-stats { gap: 20px; flex-wrap: wrap; }
      .process-steps { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 480px) {
      .process-steps { grid-template-columns: 1fr; }
    }

    /* ===== ANIMATIONS ===== */
    .fade-up { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
    .fade-up.visible { opacity: 1; transform: translateY(0); }
    .fade-up:nth-child(2) { transition-delay: .1s; }
    .fade-up:nth-child(3) { transition-delay: .2s; }
    .fade-up:nth-child(4) { transition-delay: .3s; }

    /* ===== TOPBAR ACCENT ===== */
    .topbar { height: 3px; background: linear-gradient(90deg, var(--blue), var(--orange)); }

    /* ===== MOBILE NAV OVERLAY ===== */
    .mobile-nav {
      position: fixed; inset: 0; z-index: 99; background: rgba(7,13,28,.97);
      backdrop-filter: blur(12px);
      display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
      opacity: 0; pointer-events: none; transition: opacity .3s;
    }
    .mobile-nav.open { opacity: 1; pointer-events: all; }
    .mobile-nav a { font-size: 24px; font-weight: 700; color: #fff; text-decoration: none; }
    .mobile-close { position: absolute; top: 24px; right: 24px; font-size: 28px; color: var(--text-muted); cursor: pointer; background: none; border: none; }


