:root {
    --bg-deep:    #0A1628;
    --bg-mid:     #0F1E33;
    --bg-surface: #152743;
    --bg-elevated:#1A2F4F;
    --border:     #1F3458;
    --border-soft:#2A4368;

    --cyan:        #00D4E8;
    --cyan-bright: #1FE5F7;
    --cyan-deep:   #00A8B8;
    --cyan-glow:   rgba(0, 212, 232, 0.15);
    --cyan-faint:  rgba(0, 212, 232, 0.05);

    --text:        #FFFFFF;
    --text-soft:   #E8F4F9;
    --text-muted:  #8FA9C4;
    --text-faded:  #5C7691;
    --text-dim:    #3D5573;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg-deep);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* ─── grid pattern de fundo ─── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
      linear-gradient(rgba(0, 212, 232, 0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 212, 232, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8), transparent 70%);
  }

  .container { max-width: 1240px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

  /* ═════════ NAVBAR ═════════ */
  nav {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(31, 52, 88, 0.5);
    z-index: 100;
    padding: 18px 0;
  }
  nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
  }
  .logo-link:hover { opacity: 0.85; }
  .logo-img {
    height: 32px;
    width: auto;
    display: block;
  }
  .logo-img-footer {
    height: 36px;
    width: auto;
  }

  nav ul {
    display: flex;
    gap: 36px;
    list-style: none;
  }
  nav ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  nav ul a:hover { color: var(--text); }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
    font-family: inherit;
  }
  .btn-primary {
    background: var(--cyan);
    color: var(--bg-deep);
    box-shadow: 0 0 0 1px rgba(0, 212, 232, 0.4),
                0 8px 24px -4px rgba(0, 212, 232, 0.4);
  }
  .btn-primary:hover {
    background: var(--cyan-bright);
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(31, 229, 247, 0.5),
                0 12px 32px -4px rgba(0, 212, 232, 0.5);
  }
  .btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-soft);
  }
  .btn-ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
  }
  .btn-arrow { transition: transform 0.25s; }
  .btn:hover .btn-arrow { transform: translateX(2px); }

  /* ═════════ HERO ═════════ */
  .hero {
    padding: 160px 0 110px;
    position: relative;
    min-height: 82vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-content {
    position: relative;
    z-index: 1;
  }

  /* ── Eyebrow ── */
  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 28px;
  }
  .hero-eyebrow__dot {
    width: 6px; height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px var(--cyan);
    animation: hero-pulse 2.4s ease-in-out infinite;
  }
  @keyframes hero-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--cyan); }
    50%       { opacity: 0.4; box-shadow: 0 0 18px var(--cyan); }
  }

  /* ── Headline ── */
  h1.hero-title {
    font-size: clamp(44px, 6vw, 78px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin-bottom: 0;
    max-width: 1000px;
    color: #fff;
  }
  .hero-title__pre {
    display: block;
    font-size: 0.48em;
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    letter-spacing: -0.01em;
    margin-bottom: 10px;
  }
  .hero-title__em {
    display: block;
    font-style: italic;
    font-weight: 400;
    color: var(--cyan);
  }

  /* ── Divisor ── */
  .hero-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), transparent);
    margin: 28px 0;
    opacity: 0.5;
  }

  /* ── Sub ── */
  .hero-sub {
    font-size: clamp(14px, 1.35vw, 16px);
    color: rgba(255,255,255,0.46);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 44px;
    font-weight: 300;
    letter-spacing: 0.01em;
  }

  /* ── CTAs ── */
  .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  /* ── Trust bar ── */
  .hero-trust-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    background: rgba(10,22,40,0.72);
    -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
    padding: 22px 0;
    z-index: 2;
  }
  .hero-trust-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  .hero-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
    gap: 4px;
  }
  .hero-trust-item strong {
    font-size: 22px;
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .hero-trust-item span {
    font-size: 10px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: 'JetBrains Mono', monospace;
  }
  .hero-trust-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.10);
    flex-shrink: 0;
  }

  /* ═════════ STATS ═════════ */
  .stats {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
  }
  .stat {
    border-left: 1px solid var(--border);
    padding-left: 24px;
  }
  .stat-num {
    font-size: 64px;
    font-weight: 200;
    color: var(--cyan);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
  }
  .stat-label {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
  }

  /* ═════════ SECTION ═════════ */
  section { padding: 140px 0; position: relative; }
  .section-header { margin-bottom: 80px; max-width: 880px; }
  .section-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--cyan);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .section-eyebrow::before {
    content: '';
    width: 32px; height: 1px;
    background: var(--cyan);
  }

  h2 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
  }
  h2 .accent { color: var(--cyan); font-style: italic; }
  h2 .muted { color: var(--text-muted); }

  .lead {
    font-size: 20px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.5;
    max-width: 720px;
  }

  /* ═════════ NARRATIVE BLOCK ═════════ */
  .narrative {
    text-align: center;
    padding: 160px 0;
    position: relative;
  }
  .narrative::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--cyan-glow), transparent 70%);
    pointer-events: none;
  }
  .narrative-content { position: relative; }
  .narrative h2 {
    font-size: clamp(40px, 6vw, 80px);
    max-width: 1100px;
    margin: 0 auto 32px;
  }
  .narrative .lead {
    margin: 0 auto;
    font-size: 22px;
  }

  /* ═════════ DORES ═════════ */
  .pains-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .pain-card {
    background: linear-gradient(180deg, var(--bg-mid), var(--bg-surface));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
  }
  .pain-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--cyan);
    opacity: 0.5;
    transition: opacity 0.3s;
  }
  .pain-card:hover {
    border-color: var(--cyan);
    transform: translateY(-2px);
  }
  .pain-card:hover::before { opacity: 1; }
  .pain-quote {
    font-size: 20px;
    font-style: italic;
    color: var(--text-soft);
    line-height: 1.5;
    margin-bottom: 24px;
    font-weight: 300;
  }
  .pain-quote::before {
    content: '"';
    color: var(--cyan);
    font-size: 36px;
    line-height: 0.5;
    margin-right: 4px;
    vertical-align: -4px;
    font-family: Georgia, serif;
  }
  .pain-solution {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--cyan);
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }
  .pain-solution::before {
    content: '→';
    font-family: inherit;
  }

  /* ═════════ TRAVESSIA ═════════ */
  .travessia {
    text-align: center;
    padding: 180px 0;
    position: relative;
  }
  .travessia-mission {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--cyan);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 48px;
  }
  .travessia-text {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 200;
    line-height: 1.2;
    letter-spacing: -0.03em;
    max-width: 1100px;
    margin: 0 auto 64px;
    color: var(--text-soft);
  }
  .travessia-text .key {
    color: var(--cyan);
    font-style: italic;
    font-weight: 300;
  }
  .travessia-text .muted {
    color: var(--text-muted);
    font-style: italic;
  }
  .travessia-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
    padding: 32px;
    background: var(--bg-mid);
    border: 1px solid var(--border);
    border-radius: 100px;
  }
  .travessia-point {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
  }
  .point-old {
    color: var(--text-faded);
  }
  .point-old::before {
    content: '';
    width: 14px; height: 14px;
    background: var(--text-faded);
    border-radius: 50%;
  }
  .point-new {
    color: var(--cyan);
  }
  .point-new::after {
    content: '';
    width: 14px; height: 14px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(0, 212, 232, 0.6);
  }
  .travessia-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--text-dim), var(--cyan));
    position: relative;
  }
  .travessia-line::after {
    content: '';
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-left: 6px solid var(--cyan);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
  }

  /* ═════════ PORTFOLIO ═════════ */
  .portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
  .portfolio-entrance {
    background: linear-gradient(180deg, var(--bg-elevated), var(--bg-surface));
    border: 1px solid var(--cyan);
    border-radius: 20px;
    padding: 48px;
    position: relative;
    overflow: hidden;
  }
  .portfolio-entrance::before {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 100%; height: 100%;
    background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
    pointer-events: none;
  }
  .portfolio-entrance-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--cyan);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
  }
  .portfolio-entrance h3 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    position: relative;
  }
  .portfolio-entrance p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
    position: relative;
  }
  .portfolio-entrance .price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--text-soft);
    padding: 16px 20px;
    background: var(--bg-deep);
    border-radius: 12px;
    display: inline-block;
    position: relative;
  }
  .portfolio-entrance .price strong {
    color: var(--cyan);
    font-weight: 500;
  }

  .portfolio-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .service-card {
    background: var(--bg-mid);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
  }
  .service-card:hover {
    border-color: var(--cyan);
    background: var(--bg-surface);
    transform: translateY(-2px);
  }
  .service-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-faded);
    letter-spacing: 2px;
    margin-bottom: 12px;
  }
  .service-card h4 {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
  }
  .service-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
  }

  /* ═════════ CONTRATOS ═════════ */
  .contracts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .contract {
    background: var(--bg-mid);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    position: relative;
  }
  .contract.featured {
    background: linear-gradient(180deg, var(--bg-elevated), var(--bg-surface));
    border: 1px solid var(--cyan);
  }
  .contract.featured::before {
    content: 'RECOMENDADO';
    position: absolute;
    top: -12px; right: 24px;
    background: var(--cyan);
    color: var(--bg-deep);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 100px;
  }
  .contract-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-faded);
    letter-spacing: 3px;
    margin-bottom: 12px;
  }
  .contract.featured .contract-num { color: var(--cyan); }
  .contract h3 {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
  }
  .contract-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 28px;
  }
  .contract-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .contract-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-soft);
  }
  .contract-features li::before {
    content: '';
    width: 16px; height: 16px;
    border: 1.5px solid var(--cyan);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
    position: relative;
  }
  .contract.featured .contract-features li::before {
    background: var(--cyan);
    border-color: var(--cyan);
  }

  /* ═════════ RETAINER ═════════ */
  .retainer {
    text-align: center;
    padding: 180px 0;
    position: relative;
  }
  .retainer-imagine {
    font-size: 24px;
    color: var(--text-muted);
    font-style: italic;
    font-weight: 300;
    margin-bottom: 24px;
  }
  .retainer-hero {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 200;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 48px;
  }
  .retainer-hero .key {
    color: var(--cyan);
    font-style: italic;
    font-weight: 300;
  }
  .retainer-promises {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
    margin-top: 48px;
  }
  .retainer-promise {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    color: var(--text-soft);
    font-weight: 300;
  }
  .retainer-promise span {
    font-family: 'JetBrains Mono', monospace;
    color: var(--cyan);
    font-size: 14px;
  }

  /* ═════════ DIFERENCIAIS ═════════ */
  .difs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .dif-card {
    background: var(--bg-mid);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.3s;
  }
  .dif-card:hover {
    border-color: var(--cyan);
    transform: translateY(-2px);
  }
  .dif-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--cyan);
    letter-spacing: 2px;
    margin-bottom: 16px;
  }
  .dif-card h4 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
  }
  .dif-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
  }

  /* ═════════ PROMESSA ═════════ */
  .promise {
    text-align: center;
    padding: 160px 0;
    background: linear-gradient(180deg, var(--bg-deep), var(--bg-mid), var(--bg-deep));
    position: relative;
  }
  .promise h2 {
    font-size: clamp(48px, 7vw, 88px);
    margin-bottom: 24px;
  }
  .promise .key {
    font-style: italic;
    color: var(--cyan);
  }
  .promise-sub {
    font-size: 22px;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 720px;
    margin: 0 auto 64px;
    line-height: 1.5;
  }
  .promise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
  }
  .promise-item {
    text-align: left;
    padding-left: 20px;
    border-left: 1px solid var(--cyan);
  }
  .promise-item h5 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
  }
  .promise-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
  }

  /* ═════════ CTA FINAL ═════════ */
  .cta {
    text-align: center;
    padding: 180px 0;
    position: relative;
  }
  .cta::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px; height: 1000px;
    background: radial-gradient(circle, var(--cyan-glow), transparent 60%);
    pointer-events: none;
  }
  .cta-content { position: relative; }
  .cta-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--cyan);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 32px;
  }
  .cta h2 {
    font-size: clamp(48px, 7vw, 80px);
    margin-bottom: 32px;
  }
  .cta-sub {
    font-size: 22px;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 720px;
    margin: 0 auto 48px;
  }
  .cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
  }
  .cta .btn-primary {
    padding: 18px 40px;
    font-size: 16px;
  }
  .cta-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 64px;
    border-top: 1px solid var(--border);
  }
  .cta-step {
    text-align: left;
  }
  .cta-step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--cyan);
    letter-spacing: 2px;
    margin-bottom: 8px;
  }
  .cta-step h5 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
  }
  .cta-step p {
    font-size: 13px;
    color: var(--text-muted);
  }

  /* ═════════ FOOTER ═════════ */
  footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
  }
  .footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 32px;
  }
  .footer-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.2s;
  }
  .footer-nav a:hover { color: var(--cyan); }
  .footer-nav__hub {
    color: var(--cyan) !important;
    font-weight: 600 !important;
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-faded);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
  }

  /* ─── WhatsApp FAB ─── */
  .whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
  }
  .whatsapp-fab svg {
    width: 32px;
    height: 32px;
  }

  /* ─── animações de scroll ─── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .animate { opacity: 0; }
  .animate.in-view { animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }


  /* ═════════ HUB (NOVIDADE) ═════════ */
  .menu-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    background: var(--cyan);
    color: var(--bg-deep);
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    vertical-align: 1px;
  }

  .hub {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
  }
  .hub::before {
    content: '';
    position: absolute;
    top: 50%; left: -10%;
    transform: translateY(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--cyan-glow), transparent 60%);
    pointer-events: none;
  }
  .hub-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
  }
  .hub-content {
    position: relative;
  }
  .hub-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
    color: var(--bg-deep);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    border-radius: 100px;
    margin-bottom: 32px;
    text-transform: uppercase;
    box-shadow: 0 0 24px rgba(0, 212, 232, 0.4);
  }
  .hub-badge::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--bg-deep);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
  }
  .hub h2 {
    margin-bottom: 24px;
  }
  .hub h2 .accent { color: var(--cyan); font-style: italic; }
  .hub-lead {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 36px;
    font-weight: 300;
  }
  .hub-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 36px;
  }
  .hub-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: var(--bg-mid);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.25s;
  }
  .hub-feature:hover {
    border-color: var(--cyan);
    background: var(--bg-surface);
  }
  .hub-feature-icon {
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cyan-faint);
    border: 1px solid rgba(0, 212, 232, 0.3);
    border-radius: 8px;
    color: var(--cyan);
    flex-shrink: 0;
    font-size: 14px;
  }
  .hub-feature-text {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.4;
  }
  .hub-cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(0, 212, 232, 0.12), rgba(0, 212, 232, 0.04));
    border: 1px solid rgba(0, 212, 232, 0.4);
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-soft);
  }
  .hub-cta-tag strong {
    color: var(--cyan);
    font-weight: 500;
  }

  /* ─── Mockup visual do Hub ─── */
  .hub-mockup {
    background: linear-gradient(180deg, var(--bg-elevated), var(--bg-surface));
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(0, 212, 232, 0.15),
                0 0 80px -20px rgba(0, 212, 232, 0.4);
    position: relative;
  }
  .mockup-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
  }
  .mockup-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--text-dim);
  }
  .mockup-dot:first-child { background: #ff5f57; }
  .mockup-dot:nth-child(2) { background: #febc2e; }
  .mockup-dot:nth-child(3) { background: #28c840; }
  .mockup-url {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-deep);
    padding: 4px 12px;
    border-radius: 100px;
  }
  .mockup-body {
    padding: 24px;
  }
  .mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
  }
  .mockup-title {
    font-size: 16px;
    font-weight: 500;
  }
  .mockup-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--cyan);
    padding: 4px 10px;
    background: var(--cyan-faint);
    border-radius: 100px;
    letter-spacing: 1px;
  }
  .mockup-status::before {
    content: '●';
    margin-right: 6px;
  }
  .mockup-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
  }
  .mockup-card {
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
  }
  .mockup-card-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 6px;
  }
  .mockup-card-value {
    font-size: 24px;
    font-weight: 300;
    color: var(--text);
  }
  .mockup-card-value .cyan { color: var(--cyan); }
  .mockup-list {
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
  }
  .mockup-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
  }
  .mockup-list-item:last-child { border-bottom: none; }
  .mockup-tick {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--cyan);
    flex-shrink: 0;
    position: relative;
  }
  .mockup-tick.empty {
    background: transparent;
    border: 1.5px solid var(--border-soft);
  }
  .mockup-list-text {
    flex: 1;
    color: var(--text-soft);
  }
  .mockup-list-text.muted { color: var(--text-muted); }
  .mockup-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: var(--cyan);
    padding: 2px 8px;
    background: var(--cyan-faint);
    border-radius: 4px;
  }

  @media (max-width: 900px) {
    .hub-grid { grid-template-columns: 1fr; gap: 48px; }
    .hub-features { grid-template-columns: 1fr; }
    .menu-tag { display: none; }
  }

  /* ─── Insights Home — prévia do blog na homepage ─── */
  .insights-home {
    background: #ffffff;
    padding: 120px 0;
    border-top: 1px solid #E8ECF2;
  }
  .insights-home__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 64px;
  }
  .ih-label {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #00A8B8;
    margin-bottom: 16px;
  }
  .ih-h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: #0A1628;
    line-height: 1.15;
    margin-bottom: 12px;
    font-weight: 700;
  }
  .ih-accent { color: #00A8B8; }
  .ih-sub {
    font-size: 17px;
    color: #64748b;
    line-height: 1.6;
    max-width: 440px;
    margin: 0;
  }
  .ih-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1.5px solid #0A1628;
    border-radius: 100px;
    color: #0A1628;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
  }
  .ih-all-btn:hover {
    background: #0A1628;
    color: #fff;
  }
  .ih-all-btn--center { display: none; }
  .ih-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .ih-card {
    background: #fff;
    border: 1px solid #E8ECF2;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
  }
  .ih-card:hover {
    box-shadow: 0 16px 48px rgba(0, 20, 40, 0.1);
    transform: translateY(-4px);
  }
  .ih-card__cover {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #E8ECF2;
  }
  .ih-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
  }
  .ih-card:hover .ih-card__cover img { transform: scale(1.05); }
  .ih-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E2F5F8, #c8e8ee);
  }
  .ih-card__body {
    padding: 24px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .ih-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #00A8B8;
    background: rgba(0, 168, 184, 0.08);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 14px;
  }
  .ih-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #0A1628;
    line-height: 1.35;
    margin-bottom: 10px;
  }
  .ih-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
  }
  .ih-card__title a:hover { color: #00A8B8; }
  .ih-card__excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ih-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #E8ECF2;
  }
  .ih-meta {
    font-size: 12px;
    color: #94a3b8;
  }
  .ih-arrow-link {
    font-size: 18px;
    color: #00A8B8;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s;
    line-height: 1;
  }
  .ih-arrow-link:hover { transform: translateX(5px); }
  .ih-footer { display: none; }

  @media (max-width: 1024px) {
    .ih-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 640px) {
    .ih-grid { grid-template-columns: 1fr; }
    .insights-home__header { flex-direction: column; align-items: flex-start; gap: 24px; }
    .ih-all-btn:not(.ih-all-btn--center) { display: none; }
    .ih-all-btn--center { display: inline-flex; }
    .ih-footer { display: block; text-align: center; margin-top: 48px; }
  }

  /* ─── Hub — variante fundo azul claro ─── */
  .hub--light {
    background: #E2F5F8;
  }
  .hub--light::before {
    display: none;
  }
  .hub--light h2 {
    color: #0A1628;
  }
  .hub--light h2 .accent {
    color: #007A87;
    font-style: italic;
  }
  .hub--light .hub-lead {
    color: #334155;
  }
  .hub--light .hub-badge {
    background: linear-gradient(135deg, #00B8C8, #007A87);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 184, 200, 0.3);
  }
  .hub--light .hub-badge::before {
    background: rgba(255,255,255,0.8);
  }
  .hub--light .hub-feature {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(0, 180, 200, 0.2);
  }
  .hub--light .hub-feature:hover {
    background: #fff;
    border-color: #00B8C8;
  }
  .hub--light .hub-feature-icon {
    background: rgba(0, 184, 200, 0.12);
    border-color: rgba(0, 184, 200, 0.3);
    color: #007A87;
  }
  .hub--light .hub-feature-text {
    color: #334155;
  }
  .hub--light .hub-cta-tag {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 184, 200, 0.35);
    color: #334155;
  }
  .hub--light .hub-cta-tag strong {
    color: #007A87;
  }

  /* ─── responsivo ─── */
  @media (max-width: 900px) {
    nav ul { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .pains-grid, .contracts, .portfolio-grid { grid-template-columns: 1fr; }
    .difs-grid { grid-template-columns: 1fr; }
    .promise-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-steps { grid-template-columns: 1fr; }
    .retainer-promises { flex-direction: column; gap: 16px; }
    .travessia-flow { flex-direction: column; padding: 24px; border-radius: 24px; }
    .travessia-line { width: 100%; height: 60px; background: linear-gradient(180deg, var(--text-dim), var(--cyan)); }
    .travessia-line::after { right: 50%; top: auto; bottom: 0; transform: translateX(50%) rotate(90deg); }
    section { padding: 80px 0; }
    .hero { padding: 100px 0 70px; min-height: 70vh; }
    .hero-trust-item { padding: 0 20px; }
    .hero-trust-item strong { font-size: 18px; }
    .hero-trust-item span { font-size: 9px; }
  }


/* ════════════════════════════════════════════════════════════
   HERO COM IMAGEM — Ken Burns (zoom+pan lento e suave)
   ════════════════════════════════════════════════════════════ */
@keyframes ken-burns {
  0%   { transform: scale(1.0) translate(0%, 0%); }
  50%  { transform: scale(1.12) translate(-1.5%, -1%); }
  100% { transform: scale(1.0) translate(0%, 0%); }
}

.hero--with-bg {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero--with-bg::before { display: none; }
.hero--with-bg .container { position: relative; z-index: 1; }

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: -5%;          /* margem extra p/ o zoom não revelar bordas */
  background-image: url('/site/assets/img/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  animation: ken-burns 22s ease-in-out infinite;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(0, 212, 232, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(10, 22, 40, 0.38) 0%, rgba(10, 22, 40, 0.65) 60%, var(--bg-deep) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-img { animation: none; }
}

/* ════════════════════════════════════════════════════════════
   CLIENTES — STRIP COM LOGOS (marquee infinito)
   ════════════════════════════════════════════════════════════ */
.clients-strip {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-mid);
  overflow: hidden;
  position: relative;
}
.clients-strip .container { position: relative; }
.clients-strip__label {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--text-faded);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.clients-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients-track {
  display: flex;
  gap: 80px;
  align-items: center;
  width: max-content;
  animation: clients-scroll 32s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
.clients-track img {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.72;
  filter: brightness(1.05);
  transition: opacity 0.25s, transform 0.25s;
  flex-shrink: 0;
}
.clients-track img:hover {
  opacity: 1;
  transform: scale(1.05);
}
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 640px) {
  .clients-strip { padding: 40px 0 36px; }
  .clients-track img { height: 28px; }
  .clients-track { gap: 56px; }
}

/* ════════════════════════════════════════════════════════════
   NAV — MOBILE FULLSCREEN OVERLAY
   ════════════════════════════════════════════════════════════ */
.nav { z-index: 100; }

/* Botão hamburger — invisível no desktop */
.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-soft);
  background: rgba(31, 52, 88, 0.4);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, border-color 0.2s;
  z-index: 110;
}
.nav-toggle:hover { background: rgba(0, 212, 232, 0.08); border-color: var(--cyan); }
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20.25px; width: 14px; }
.nav-toggle span:nth-child(3) { top: 26.5px; }
.nav-toggle[aria-expanded="true"] { background: var(--cyan-faint); border-color: var(--cyan); }
.nav-toggle[aria-expanded="true"] span { background: var(--cyan); width: 20px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 20.25px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(-12px); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 20.25px; transform: rotate(-45deg); }

/* Desktop: flex row normal */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-menu ul {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}

/* Elementos exclusivos do mobile — ocultos no desktop */
.nm-top, .nm-close, .nm-foot { display: none; }
.nav-mobile-contact { display: none; }
/* nm-num: span inline, oculto no desktop */
.nm-num { display: none; }
/* nm-sub: ul dentro de has-mega — precisa de seletor mais específico para vencer .nav-menu ul */
.nav-menu .nm-sub { display: none !important; }

/* ─── MOBILE ─────────────────────────────────────────────── */
@media (max-width: 880px) {
  .nav-toggle { display: block; }

  /* Overlay fullscreen */
  .nav-menu {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    background: #0A1628;
    z-index: 105;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s 0.38s;
  }
  .nav-menu::before {
    content: '';
    position: fixed;
    top: 0; right: 0;
    width: 50vw; height: 50vw;
    background: radial-gradient(circle at top right, rgba(0,212,232,0.07), transparent 70%);
    pointer-events: none;
    z-index: 0;
  }
  .nav-menu::after {
    content: '';
    position: fixed;
    bottom: 0; left: 0;
    width: 40vw; height: 40vw;
    background: radial-gradient(circle at bottom left, rgba(0,212,232,0.04), transparent 70%);
    pointer-events: none;
    z-index: 0;
  }
  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s;
  }

  /* Ordem dos blocos no overlay mobile */
  .nm-top    { order: 1; }
  .nav-menu > ul { order: 2; }
  .nav-menu > .nav-cta { order: 3; }
  .nm-foot   { order: 4; }

  /* ── Topo: logo + fechar ── */
  .nm-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
  }
  .nm-logo .logo-img { height: 28px; }
  .nm-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    color: var(--text);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .nm-close:hover { background: var(--cyan-faint); border-color: var(--cyan); color: var(--cyan); }

  /* ── Lista de links ── */
  .nav-menu ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 8px 0;
    position: relative;
    z-index: 1;
    flex: 1;
  }
  .nav-menu > ul { padding: 16px 0; }
  .nav-menu ul li { border: none; }

  .nav-menu > ul > li > a,
  .nav-menu > ul > li > .mega-trigger {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 28px;
    font-size: 26px;
    font-weight: 300;
    color: #fff;
    text-decoration: none;
    text-transform: none;
    letter-spacing: -0.02em;
    line-height: 1;
    transition: color 0.2s, padding-left 0.2s;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
  }
  .nav-menu > ul > li > a:hover,
  .nav-menu > ul > li > .mega-trigger:hover { color: var(--cyan); padding-left: 36px; }

  /* Números — pequeno, mono, cyan */
  .nm-num {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 400;
    color: var(--cyan);
    letter-spacing: 0.12em;
    opacity: 0.8;
    min-width: 22px;
    position: relative;
    top: 1px;
  }

  /* Chevron de soluções */
  .nm-chev {
    margin-left: auto;
    opacity: 0.5;
    transition: transform 0.25s, opacity 0.25s;
  }
  .sub-open > .mega-trigger .nm-chev { transform: rotate(180deg); opacity: 1; color: var(--cyan); }

  /* ── Sub-menu accordion (Soluções) ── */
  .nav-menu .nm-sub {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0,212,232,0.03);
    border-top: 1px solid rgba(0,212,232,0.08);
    border-bottom: 1px solid rgba(0,212,232,0.08);
    padding: 0;
    list-style: none;
  }
  .sub-open .nm-sub { max-height: 360px; }
  .nm-sub li a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 28px 14px 66px !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    letter-spacing: 0 !important;
    transition: color 0.2s, padding-left 0.2s !important;
  }
  .nm-sub li a:hover { color: #fff !important; padding-left: 74px !important; }
  .nm-sub-dot {
    width: 4px; height: 4px;
    background: var(--cyan);
    border-radius: 50%;
    opacity: 0.6;
    flex-shrink: 0;
  }

  /* Esconde megamenu desktop no mobile */
  .mega-panel { display: none !important; }

  /* ── Stagger entrada ── */
  .nav-menu.is-open > ul > li {
    animation: nm-slide-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
  }
  .nav-menu.is-open > ul > li:nth-child(1) { animation-delay: 0.08s; }
  .nav-menu.is-open > ul > li:nth-child(2) { animation-delay: 0.13s; }
  .nav-menu.is-open > ul > li:nth-child(3) { animation-delay: 0.18s; }
  .nav-menu.is-open > ul > li:nth-child(4) { animation-delay: 0.23s; }
  .nav-menu.is-open > ul > li:nth-child(5) { animation-delay: 0.28s; }
  .nav-menu.is-open .nm-foot { animation: nm-slide-in 0.4s 0.33s cubic-bezier(0.4, 0, 0.2, 1) backwards; }

  @keyframes nm-slide-in {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  /* ── CTA no mobile ── */
  .nav-menu > .nav-cta {
    display: flex;
    width: calc(100% - 56px);
    margin: 0 28px;
    justify-content: center;
    padding: 16px 24px;
    font-size: 15px;
    border-radius: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }

  /* ── Rodapé: contatos ── */
  .nm-foot {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px 28px 36px;
    border-top: 1px solid rgba(255,255,255,0.06);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
  }
  .nav-mobile-contact {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }
  .nav-mobile-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    transition: all 0.2s;
    background: rgba(255,255,255,0.03);
  }
  .nav-mobile-link:hover { border-color: var(--cyan); color: var(--cyan); }
  .nav-mobile-link svg { color: var(--cyan); flex-shrink: 0; }

  body.nav-open { overflow: hidden; }
}


/* ════════════════════════════════════════════════════════════
   NAV — Ajuste fino pra 7 itens em telas médias
   ════════════════════════════════════════════════════════════ */
@media (min-width: 881px) and (max-width: 1180px) {
  .nav-menu { gap: 24px; }
  .nav-menu ul { gap: 22px; }
  .nav-menu ul a { font-size: 13px; }
  .nav-cta { padding: 10px 18px; font-size: 13px; }
}
@media (min-width: 1181px) {
  .nav-menu ul { gap: 28px; }
}

/* ════════════════════════════════════════════════════════════
   MEGAMENU — Estilo Rekintsu (sem caixas, separação por linha)
   ════════════════════════════════════════════════════════════ */
.has-mega { position: static; }

.mega-trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.mega-chev {
  display: inline-flex;
  align-items: center;
  color: var(--text-faded);
  transition: transform 0.25s, color 0.2s;
}
.has-mega:hover .mega-chev,
.has-mega.is-open .mega-chev {
  transform: rotate(180deg);
  color: var(--cyan);
}
.has-mega:hover .mega-trigger,
.has-mega.is-open .mega-trigger { color: var(--text); }

/* Panel full bleed com fundo sólido pra não vazar sobre o conteúdo da hero */
.mega-panel {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 99;
  background: #ffffff;
  border-bottom: 1px solid #E8ECF2;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s 0.22s;
  box-shadow: 0 12px 40px -8px rgba(10, 22, 40, 0.1);
}
.has-mega:hover .mega-panel,
.has-mega.is-open .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.26s ease, transform 0.26s ease, visibility 0s;
}
.mega-panel .container { padding-top: 36px; padding-bottom: 36px; }

/* Layout: intro à esquerda + lista de soluções à direita */
.mega-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: stretch;
}
.mega-content--full {
  grid-template-columns: 1fr;
  gap: 0;
}
.mega-content--full .mega-list {
  grid-template-columns: repeat(5, 1fr);
}

/* ── Coluna intro ── */
.mega-intro {
  padding-right: 48px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Divisor entre intro e lista — gradiente sutil que aparece no centro */
.mega-intro::after {
  content: '';
  position: absolute;
  top: 8%;
  bottom: 8%;
  right: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    #E8ECF2 50%,
    transparent 100%
  );
  pointer-events: none;
}
.mega-intro h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.25;
}
.mega-intro h3 .accent { color: var(--cyan); font-weight: 500; }
.mega-intro p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}
.mega-intro__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}
.mega-intro__link:hover { opacity: 0.8; }
.mega-intro__link:hover .btn-arrow { transform: translateX(3px); }

/* ── Lista de 4 soluções (sem caixas, separação por linha) ── */
.mega-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.mega-item {
  display: flex;
  flex-direction: column;
  padding: 4px 28px 4px 28px;
  position: relative;
  color: #0A1628;
  text-decoration: none;
  transition: transform 0.22s ease;
}
/* Divisor vertical entre os items — gradiente fade nas pontas */
.mega-item:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    #E8ECF2 50%,
    transparent 100%
  );
  pointer-events: none;
}
.mega-item:first-child { padding-left: 0; }
.mega-item:last-child { padding-right: 0; }
.mega-item:hover { transform: translateY(-2px); }

.mega-item__icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 140, 155, 0.10);
  border: 1px solid rgba(0, 168, 184, 0.30);
  border-radius: 10px;
  color: #007A87;
  margin-bottom: 18px;
  transition: all 0.22s;
}
.mega-item:hover .mega-item__icon {
  background: rgba(0, 140, 155, 0.18);
  border-color: rgba(0, 168, 184, 0.55);
  color: #005F6B;
}

.mega-item__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #007A87;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mega-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: #0A1628;
  margin-bottom: 6px;
  letter-spacing: 0;
  text-transform: none;
  transition: color 0.2s;
}
.mega-item:hover h4 { color: #00A8B8; }
.mega-item p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

/* Telas médias: intro empilha no topo, lista vira 2×2 */
@media (max-width: 1200px) and (min-width: 881px) {
  .mega-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mega-intro {
    padding-right: 0;
    padding-bottom: 24px;
  }
  /* Divisor da intro agora vira horizontal (embaixo) com gradient */
  .mega-intro::after {
    top: auto;
    right: 8%;
    left: 8%;
    bottom: 0;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #E8ECF2 50%, transparent 100%);
  }
  .mega-intro p { max-width: 600px; }
  .mega-list { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .mega-content--full .mega-list { grid-template-columns: repeat(3, 1fr); }
  .mega-item { padding: 16px 24px; }
  /* No 2×2: a 2ª coluna tem ::before vertical com gradient */
  .mega-item:not(:first-child)::before {
    top: 8%; bottom: 8%; left: 0; right: auto;
  }
  .mega-item:nth-child(odd) { padding-left: 0; }
  .mega-item:nth-child(odd)::before { display: none; }
  .mega-item:nth-child(2) { padding-right: 0; }
  /* Linha horizontal entre as 2 fileiras */
  .mega-item:nth-child(3), .mega-item:nth-child(4) { padding-top: 24px; margin-top: 8px; }
  .mega-item:nth-child(3)::after,
  .mega-item:nth-child(4)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 8%; right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #E8ECF2 50%, transparent 100%);
    pointer-events: none;
  }
}

/* Mobile: drawer */
@media (max-width: 880px) {
  .mega-panel {
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .mega-panel .container { padding: 0; }
  .has-mega.is-open .mega-panel { max-height: 2400px; }
  .has-mega .mega-trigger {
    display: flex !important;
    justify-content: center !important;
    width: 100%;
  }

  .mega-content { grid-template-columns: 1fr; gap: 16px; padding: 8px 0; }
  .mega-intro { display: none; }

  .mega-list {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 360px;
    margin: 0 auto;
  }
  .mega-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-left: 0;
    border-top: 1px solid rgba(31, 52, 88, 0.4);
  }
  .mega-item:first-child { border-top: 0; }
  .mega-item__icon {
    margin: 0;
    flex-shrink: 0;
    width: 36px; height: 36px;
    background: rgba(0, 212, 232, 0.1);
    border-color: rgba(0, 212, 232, 0.2);
    color: var(--cyan);
  }
  .mega-item h4 {
    margin-bottom: 2px;
    color: var(--text);
    font-size: 15px;
  }
  .mega-item p {
    color: var(--text-muted);
  }
  .mega-item:hover h4 { color: var(--cyan); }
}

/* ════════════════════════════════════════════════════════════
   ALCANCE GLOBAL — mapa-múndi com markers
   ════════════════════════════════════════════════════════════ */
.alcance {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.alcance::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 600px;
  background: radial-gradient(ellipse at center, var(--cyan-glow), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.alcance .container { position: relative; z-index: 1; }

.alcance-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.alcance-header .section-eyebrow {
  justify-content: center;
}
.alcance-header h2 {
  margin-bottom: 24px;
}
.alcance-header .lead {
  margin: 0 auto;
}

/* ── Wrap do SVG ── */
.world-wrap {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 56px;
}
.world-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Continentes dotted */
.world-svg .world-land path {
  transition: opacity 0.6s ease;
}

/* ── Markers ── */
.world-svg .marker {
  cursor: pointer;
}
.world-svg .marker__dot {
  fill: var(--cyan);
  stroke: var(--bg-deep);
  stroke-width: 1;
  filter: drop-shadow(0 0 8px rgba(0, 212, 232, 0.7));
}
.world-svg .marker__pulse {
  fill: rgba(0, 212, 232, 0.45);
  transform-origin: center;
  animation: marker-pulse 2.4s ease-out infinite;
  animation-delay: calc(var(--i, 0) * 0.18s);
}

@keyframes marker-pulse {
  0%   { transform: scale(0.6); opacity: 0.8; }
  60%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .world-svg .marker__pulse { animation: none; opacity: 0.4; }
}

/* ── Legenda (3 regiões) ── */
.world-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.world-legend__item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: linear-gradient(180deg, var(--bg-mid), var(--bg-surface));
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.25s;
}
.world-legend__item:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.world-legend__count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px;
  font-weight: 200;
  color: var(--cyan);
  line-height: 1;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.world-legend__body h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.world-legend__body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 880px) {
  .alcance { padding: 80px 0; }
  .alcance-header { margin-bottom: 36px; }
  .world-wrap { margin-bottom: 36px; }
  .world-legend {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .world-legend__item { padding: 18px 20px; }
  .world-legend__count { font-size: 28px; }
}

/* ═════════ CASES HOME ═════════ */
#portfolio { background: var(--bg-mid); }

#portfolio .cases-grid {
  grid-template-columns: repeat(3, 1fr);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.case-card {
  background: linear-gradient(180deg, var(--bg-mid), var(--bg-surface));
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -16px rgba(0, 212, 232, 0.18);
}
.case-card__cover {
  display: block;
  aspect-ratio: 16/10;
  background: var(--bg-deep);
  overflow: hidden;
  text-decoration: none;
}
.case-card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.case-card:hover .case-card__cover img { transform: scale(1.04); }
.case-card__placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-elevated));
  border-bottom: 1px solid var(--border);
}
.case-card__placeholder span {
  font-size: 64px;
  font-weight: 200;
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  opacity: 0.4;
}
.case-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.case-card__tags {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.case-card__sector { color: var(--text-muted); font-size: 14px; }
.case-card h3 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.case-card h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.case-card h3 a:hover { color: var(--cyan); }
.case-card__body p { color: var(--text-muted); font-size: 14.5px; line-height: 1.5; }
.case-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding-top: 8px;
}
.case-card__link:hover .btn-arrow { transform: translateX(3px); }

.cases-home-footer {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 880px) {
  #portfolio .cases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  #portfolio .cases-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   SECTION LIGHT — blocos claros intercalados pra dar respiro
   ════════════════════════════════════════════════════════════ */
:root {
  --light-bg:         #F4F6FA;
  --light-surface:    #FFFFFF;
  --light-elevated:   #FAFBFD;
  --light-border:     #E5EAF1;
  --light-border-2:   #D5DCE6;
  --light-text:       #0A1628;
  --light-text-soft:  #1F3458;
  --light-text-muted: #5C7691;
  --light-text-faded: #94A3B8;
}

.section-light {
  background: var(--light-bg);
  color: var(--light-text);
  position: relative;
  isolation: isolate;
  z-index: 2;     /* fica acima do body::before grid */
}

/* Esconde o grid cyan do body por trás de seções claras */
.section-light::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: -1;
  pointer-events: none;
}

/* ─── Tipografia ─── */
.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5,
.section-light h6 { color: var(--light-text); }

.section-light h2 .muted,
.section-light .muted { color: var(--light-text-muted); }

.section-light h2 .accent,
.section-light .accent { color: var(--cyan-deep); font-style: italic; font-weight: 400; }

.section-light h2 .key,
.section-light .key { color: var(--cyan-deep); }

.section-light p { color: var(--light-text-soft); }
.section-light .lead { color: var(--light-text-muted); }

/* ─── Section eyebrow (label monoespaçado no topo) ─── */
.section-light .section-eyebrow { color: var(--cyan-deep); }
.section-light .section-eyebrow::before { background: var(--cyan-deep); }

/* ─── Cards genéricos: surface branca + border sutil ─── */
.section-light .pain-card,
.section-light .service-card,
.section-light .portfolio-entrance,
.section-light .contract,
.section-light .dif-card,
.section-light .promise-item {
  background: var(--light-surface);
  border: 1px solid var(--light-border-2);
  box-shadow: 0 1px 2px rgba(15, 30, 51, 0.04), 0 4px 16px -8px rgba(15, 30, 51, 0.06);
}
.section-light .pain-card:hover,
.section-light .service-card:hover,
.section-light .contract:hover,
.section-light .dif-card:hover,
.section-light .promise-item:hover {
  border-color: var(--cyan);
  box-shadow: 0 1px 2px rgba(0, 168, 184, 0.06), 0 12px 32px -12px rgba(0, 168, 184, 0.18);
}

/* ─── DORES (pain cards) ─── */
.section-light .pain-card::before { background: var(--cyan-deep); }
.section-light .pain-quote { color: var(--light-text); }
.section-light .pain-quote::before { color: var(--cyan-deep); }
.section-light .pain-solution {
  color: var(--cyan-deep);
  border-color: var(--light-border-2);
}

/* ─── SOLUÇÕES (portfolio + service cards) ─── */
.section-light .portfolio-entrance {
  background: linear-gradient(135deg, rgba(0, 168, 184, 0.08), rgba(0, 168, 184, 0.02));
  border-color: rgba(0, 168, 184, 0.30);
}
.section-light .portfolio-entrance-tag {
  background: var(--cyan-deep);
  color: var(--light-surface);
}
.section-light .portfolio-entrance h3 { color: var(--light-text); }
.section-light .portfolio-entrance p { color: var(--light-text-muted); }
.section-light .price { color: var(--cyan-deep); }
.section-light .service-num { color: var(--cyan-deep); opacity: 0.5; }
.section-light .service-card h4 { color: var(--light-text); }
.section-light .service-card p { color: var(--light-text-muted); }

/* ─── CONTRATOS ─── */
.section-light .contract-num { color: var(--cyan-deep); }
.section-light .contract h3 { color: var(--light-text); }
.section-light .contract-desc { color: var(--light-text-muted); }
.section-light .contract-features li { color: var(--light-text-soft); }
.section-light .contract-features li::before { color: var(--cyan-deep); }
.section-light .contract.featured {
  background: linear-gradient(180deg, var(--light-surface), rgba(0, 168, 184, 0.04));
  border-color: rgba(0, 168, 184, 0.35);
}

/* ─── DIFERENCIAIS ─── */
.section-light .dif-num { color: var(--cyan-deep); opacity: 0.55; }
.section-light .dif-card h4 { color: var(--light-text); }
.section-light .dif-card p { color: var(--light-text-muted); }

/* ─── PROMESSA ─── */
.section-light .promise-sub { color: var(--light-text-muted); }
.section-light .promise-item h5 { color: var(--light-text); }
.section-light .promise-item p { color: var(--light-text-muted); }

/* ─── NARRATIVE — radial cyan glow fica mais discreto em light ─── */
.section-light.narrative::before {
  background: radial-gradient(ellipse at center, rgba(0, 168, 184, 0.06), transparent 70%);
}

/* ─── Stats (caso seja usado em light) ─── */
.section-light .stat-num { color: var(--cyan-deep); }
.section-light .stat-label { color: var(--light-text-muted); }
.section-light .stat { border-color: var(--light-border-2); }

/* ─── Separadores entre seções claras e escuras ─── */
.section-light + section,
section + .section-light { border-top: 1px solid var(--light-border); }
.section-light + .section-light { border-top: none; }
