  /* ============================================
     DESIGN TOKENS
     ============================================ */
  :root {
    --color-bg: #050B2D;
    --color-bg-elevated: #0D1642;
    --color-bg-elevated-2: #121B4A;
    --color-accent: #0096D6;
    --color-accent-light: #29B6F6;
    --color-white: #FFFFFF;
    --color-text-muted: #A7B0C7;
    --color-text-faint: #6E7796;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-strong: rgba(255, 255, 255, 0.16);

    --font-family: 'Inter', system-ui, -apple-system, sans-serif;

    --radius-s: 8px;
    --radius-m: 14px;
    --radius-l: 20px;
    --radius-full: 999px;

    --container-w: 1180px;
    --space-section: clamp(64px, 9vw, 120px);

    --shadow-card: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
    --shadow-accent-glow: 0 0 0 1px rgba(0, 150, 214, 0.4), 0 12px 32px -8px rgba(0, 150, 214, 0.35);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--color-bg);
    color: var(--color-white);
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  img, svg { display: block; max-width: 100%; }

  a { color: inherit; text-decoration: none; }

  ul { list-style: none; }

  .container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
  }

  section { scroll-margin-top: 90px; }

  /* ============================================
     TYPOGRAPHY SCALE
     ============================================ */
  .h1 {
    font-size: clamp(36px, 5.4vw, 64px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
  }
  .h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.015em;
  }
  .h3 {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  .h4 {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }
  .text-bold-l { font-size: 19px; line-height: 1.5; font-weight: 700; }
  .text-bold-m { font-size: 16px; line-height: 1.4; font-weight: 600; }
  .text-bold-s { font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
  .text-body-l { font-size: 19px; line-height: 1.6; font-weight: 400; color: var(--color-text-muted); }
  .text-regular-l { font-size: 17px; line-height: 1.6; font-weight: 400; color: var(--color-text-muted); }
  .text-regular-m { font-size: 15px; line-height: 1.6; font-weight: 400; color: var(--color-text-muted); }
  .text-regular-s { font-size: 13px; line-height: 1.5; font-weight: 400; color: var(--color-text-faint); }

  .eyebrow {
    color: var(--color-accent-light);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
  }
  .eyebrow::before {
    content: '';
    width: 18px;
    height: 2px;
    background: var(--color-accent);
    display: inline-block;
    border-radius: var(--radius-full);
  }

  /* ============================================
     BUTTONS
     ============================================ */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
    white-space: nowrap;
  }
  .btn:focus-visible { outline: 2px solid var(--color-accent-light); outline-offset: 3px; }

  .btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
  }
  .btn--primary:hover { background: var(--color-accent-light); transform: translateY(-2px); box-shadow: var(--shadow-accent-glow); }
  .btn--primary:active { transform: translateY(0); }

  .btn--ghost {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-border-strong);
  }
  .btn--ghost:hover { border-color: var(--color-accent-light); background: rgba(0, 150, 214, 0.08); transform: translateY(-2px); }

  .btn--sm { padding: 10px 18px; font-size: 13px; }
  .btn--block { width: 100%; }

  /* ============================================
     HEADER
     ============================================ */
  .site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: background-color 0.3s var(--ease-out), padding 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
    border-bottom: 1px solid transparent;
  }
  .site-header.is-scrolled {
    background: rgba(5, 11, 45, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 12px 0;
    border-bottom-color: var(--color-border);
  }
  .site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.01em;
  }
  .logo .logo-mark {
    width: 34px;
    height: 34px;
    border: 2px solid var(--color-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--color-accent-light);
  }
  .logo span { color: var(--color-accent-light); font-weight: 700; }
  .logo-img { display: block; height: 60px; width: auto; }
  .logo--footer .logo-img { height: 76px; }
  @media (max-width: 640px) { .logo-img { height: 48px; } }

  .site-header .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .site-header .nav-links a {
    color: var(--color-text-muted);
    transition: color 0.2s var(--ease-out);
  }
  .site-header .nav-links a:hover { color: var(--color-white); }

  .header-actions { display: flex; align-items: center; gap: 12px; }

  .nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-s);
    width: 40px; height: 40px;
    color: var(--color-white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }

  /* ============================================
     HERO
     ============================================ */
  .hero {
    position: relative;
    padding: 168px 0 var(--space-section);
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0, 150, 214, 0.25) 0%, rgba(0, 150, 214, 0) 70%);
    pointer-events: none;
    z-index: 0;
  }
  .hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
  }
  .hero-copy .h1 { margin-bottom: 22px; }
  .hero-copy .h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--color-accent-light), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero-copy .text-body-l { max-width: 520px; margin-bottom: 34px; }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

  .hero-stats {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
  }
  .hero-stat .h3 { color: var(--color-accent-light); margin-bottom: 2px; }

  .hero-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-l);
    background: linear-gradient(160deg, var(--color-bg-elevated-2), var(--color-bg-elevated) 60%, var(--color-bg));
    border: 1px solid var(--color-border);
    display: grid;
    place-items: center;
    overflow: hidden;
  }
  .hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(rgba(0,150,214,0.08) 1px, transparent 1px) 0 0 / 100% 42px,
      linear-gradient(90deg, rgba(0,150,214,0.08) 1px, transparent 1px) 0 0 / 42px 100%;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 75%);
  }
  .hero-visual-icon {
    position: relative;
    z-index: 1;
    width: 108px; height: 108px;
    border-radius: 50%;
    background: rgba(0, 150, 214, 0.12);
    border: 1px solid rgba(0, 150, 214, 0.35);
    display: grid;
    place-items: center;
    color: var(--color-accent-light);
  }
  .hero-visual-icon svg { width: 48px; height: 48px; }

  /* ============================================
     SERVICES
     ============================================ */
  .section { padding: var(--space-section) 0; }
  .section-head {
    max-width: 640px;
    margin-bottom: 56px;
  }
  .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }
  .service-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-l);
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
  }
  .service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 150, 214, 0.45);
    background: var(--color-bg-elevated-2);
    box-shadow: var(--shadow-card);
  }
  .service-card-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-m);
    background: rgba(0, 150, 214, 0.12);
    color: var(--color-accent-light);
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    transition: background-color 0.3s var(--ease-out);
  }
  .service-card:hover .service-card-icon { background: var(--color-accent); color: var(--color-white); }
  .service-card-icon svg { width: 26px; height: 26px; }
  .service-card .h3 { margin-bottom: 10px; }
  .service-card .text-regular-m { flex: 1; margin-bottom: 22px; }
  .service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-accent-light);
    font-size: 14px;
    font-weight: 700;
    transition: gap 0.2s var(--ease-out);
  }
  .service-card-link:hover { gap: 10px; }

  /* ============================================
     ABOUT / DIFERENCIAIS
     ============================================ */
  .about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
  }
  .diff-list { display: grid; gap: 18px; margin-top: 32px; }
  .diff-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-m);
    background: var(--color-bg-elevated);
  }
  .diff-item-icon {
    width: 38px; height: 38px;
    flex-shrink: 0;
    border-radius: var(--radius-s);
    background: rgba(0, 150, 214, 0.14);
    color: var(--color-accent-light);
    display: grid;
    place-items: center;
  }
  .diff-item-icon svg { width: 20px; height: 20px; }

  /* ============================================
     ÁREA DE ATUAÇÃO
     ============================================ */
  .area-card {
    background: linear-gradient(135deg, var(--color-bg-elevated-2), var(--color-bg-elevated));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-l);
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .region-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
  .region-tag {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border-strong);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
  }
  .area-map {
    aspect-ratio: 1;
    border-radius: var(--radius-m);
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
  }
  .area-map::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0,150,214,0.35) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
  }
  .area-map::after {
    content: 'SP';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-accent-light);
    font-size: clamp(44px, 7vw, 72px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-shadow: 0 0 28px rgba(0, 150, 214, 0.35);
    z-index: 1;
    pointer-events: none;
  }
  .area-map-pin {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 18px; height: 18px;
    z-index: 2;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 8px rgba(0, 150, 214, 0.25);
  }

  /* ============================================
     PROVA SOCIAL
     ============================================ */
  .proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .proof-tile {
    aspect-ratio: 4/5;
    border-radius: var(--radius-m);
    border: 1.5px dashed var(--color-border-strong);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-text-faint);
    text-align: center;
    padding: 16px;
  }
  .proof-tile svg { width: 28px; height: 28px; opacity: 0.6; }
  .proof-note {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 14px;
  }

  /* ============================================
     CTA FINAL
     ============================================ */
  .cta-final {
    background: linear-gradient(135deg, var(--color-bg-elevated-2), var(--color-bg));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-l);
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cta-final::before {
    content: '';
    position: absolute;
    bottom: -40%; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 300px;
    background: radial-gradient(circle, rgba(0, 150, 214, 0.3), transparent 70%);
  }
  .cta-final > * { position: relative; z-index: 1; }
  .cta-final .h2 { margin-bottom: 16px; }
  .cta-final .text-body-l { margin: 0 auto 32px; }
  .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

  /* ============================================
     FOOTER
     ============================================ */
  .site-footer {
    border-top: 1px solid var(--color-border);
    padding: 56px 0 100px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }
  .footer-links { display: grid; gap: 12px; margin-top: 18px; }
  .footer-links a { color: var(--color-text-muted); transition: color 0.2s var(--ease-out); }
  .footer-links a:hover { color: var(--color-accent-light); }
  .footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* ============================================
     STICKY CTA BAR
     ============================================ */
  .sticky-cta-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 90;
    background: rgba(5, 11, 45, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--color-border);
    padding: 12px 20px;
    display: flex;
    gap: 10px;
  }
  .sticky-cta-bar .btn { flex: 1; }

  /* ============================================
     MOTION
     ============================================ */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }

  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
  }

  /* ============================================
     RESPONSIVE
     ============================================ */
  @media (max-width: 980px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .proof-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .area-card { grid-template-columns: 1fr; padding: 32px; }
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { max-width: 420px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 1100px) and (min-width: 641px) {
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (max-width: 640px) {
    .site-header .nav-links, .header-actions .btn--ghost { display: none; }
    .nav-toggle { display: flex; }
    .services-grid, .proof-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 140px; }
    body { padding-bottom: 74px; }
  }

  /* ============================================
     TECH / GLASS EFFECTS (design system)
     ============================================ */
  :root {
    --glass-bg: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
    --glass-border: linear-gradient(135deg, rgba(255,255,255,0.45), rgba(255,255,255,0.06) 45%, rgba(0,150,214,0.08) 55%, rgba(41,182,246,0.6));
    --glass-blur: blur(14px);
    --shadow-layered: 0 2.8px 2.2px rgba(0,0,0,0.034), 0 6.7px 5.3px rgba(0,0,0,0.048), 0 12.5px 10px rgba(0,0,0,0.06), 0 22.3px 17.9px rgba(0,0,0,0.072), 0 41.8px 33.4px rgba(0,0,0,0.086), 0 100px 80px rgba(0,0,0,0.12);
    --glow: 0 0 30px rgba(0, 150, 214, 0.4);
  }
  html { background: var(--color-bg); }
  body { background: transparent; }
  .tech-bg { background: linear-gradient(135deg, #0A1238 0%, var(--color-bg) 45%, #030824 100%); }

  /* Fundo com orbs desfocadas */
  .tech-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
  .tech-bg .orb { position: absolute; border-radius: 50%; filter: blur(90px); }
  .tech-bg .orb--1 { top: 12%; left: 8%; width: 420px; height: 420px; background: rgba(0, 150, 214, 0.28); animation: orbFloat 18s ease-in-out infinite; }
  .tech-bg .orb--2 { bottom: 10%; right: 6%; width: 360px; height: 360px; background: rgba(41, 182, 246, 0.18); animation: orbFloat 22s ease-in-out infinite reverse; }
  .tech-bg .orb--3 { top: 55%; left: 45%; width: 280px; height: 280px; background: rgba(60, 90, 255, 0.14); animation: orbFloat 26s ease-in-out infinite; }
  .tech-bg::after {
    content: ''; position: absolute; inset: 0;
    background:
      linear-gradient(rgba(41,182,246,0.045) 1px, transparent 1px) 0 0 / 100% 56px,
      linear-gradient(90deg, rgba(41,182,246,0.045) 1px, transparent 1px) 0 0 / 56px 100%;
    mask-image: radial-gradient(ellipse at 50% 30%, black, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black, transparent 75%);
  }
  @keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.08); }
  }

  /* Superfícies de vidro com borda em gradiente */
  .glass,
  .service-card, .diff-item, .area-card, .cta-final {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid transparent;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-layered);
  }
  .glass::after,
  .service-card::after, .diff-item::after, .area-card::after, .cta-final::after {
    content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
    background: var(--glass-border); pointer-events: none;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
  }
  .service-card:hover {
    background: linear-gradient(135deg, rgba(0,150,214,0.16), rgba(255,255,255,0.03));
    border-color: transparent;
    box-shadow: var(--shadow-layered), var(--glow);
  }
  .diff-item { transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
  .diff-item .text-regular-s { color: var(--color-text-muted); }
  .diff-item:hover { transform: translateX(4px); box-shadow: var(--shadow-layered), var(--glow); }
  .cta-final { box-shadow: var(--shadow-layered), 0 0 60px rgba(0, 150, 214, 0.25); }

  /* Ícones em círculo de vidro */
  .service-card-icon, .diff-item-icon {
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: var(--shadow-layered);
  }
  .service-card:hover .service-card-icon { box-shadow: var(--glow); border-color: rgba(41,182,246,0.6); }

  /* Texto em gradiente */
  .h2 {
    background: linear-gradient(90deg, rgba(255,255,255,0.97), rgba(255,255,255,0.68));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero-stat .h3 {
    background: linear-gradient(90deg, var(--color-accent-light), #7FD6FF);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }

  /* Botões de vidro + glow */
  .btn--primary { box-shadow: 0 0 24px rgba(0, 150, 214, 0.35); }
  .btn--primary:hover { box-shadow: var(--glow), var(--shadow-accent-glow); }
  .btn--ghost {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  .btn--ghost:hover { background: rgba(255,255,255,0.10); border-color: rgba(41,182,246,0.55); }
  .region-tag {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    font-size: 12px; letter-spacing: 0.04em;
    transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
  }
  .region-tag:hover { border-color: rgba(41,182,246,0.6); color: var(--color-white); }

  /* Divisores em gradiente */
  .tech-divider, .hero-stats::before {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3) 20%, rgba(41,182,246,0.6) 50%, rgba(255,255,255,0.3) 80%, transparent);
  }
  .hero-stats { border-top: 0; position: relative; }
  .hero-stats::before { content: ''; position: absolute; top: 0; left: 0; right: 0; }
  .site-footer { border-top: 0; position: relative; }
  .site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25) 20%, rgba(41,182,246,0.5) 50%, rgba(255,255,255,0.25) 80%, transparent); }

  /* Header e barra fixa em vidro */
  .site-header.is-scrolled { background: rgba(8, 14, 45, 0.65); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
  .sticky-cta-bar { background: rgba(8, 14, 45, 0.7); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }

  /* Prova social em vidro tracejado */
  .proof-tile { background: rgba(255,255,255,0.03); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out); }
  .proof-tile:hover { border-color: rgba(41,182,246,0.5); background: rgba(0,150,214,0.06); }

  /* Mapa com pulso */
  .area-map { background: rgba(3, 8, 36, 0.6); }
  .area-map-pin::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid var(--color-accent-light);
    animation: pinPulse 2.4s var(--ease-out) infinite;
  }
  @keyframes pinPulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(4.5); opacity: 0; } }

  /* HERO — painel de vidro em camadas */
  .hero-visual {
    aspect-ratio: auto; background: none; border: 0; overflow: visible;
    display: block; position: relative; padding: 0 0 56px 0;
  }
  .hero-visual::after { display: none; }
  .hero-base-card {
    position: absolute; inset: 56px 0 0 48px;
    border-radius: 24px;
    background:
      radial-gradient(circle at 30% 20%, rgba(127,214,255,0.55), transparent 55%),
      linear-gradient(135deg, #0096D6 0%, #1B3FD8 55%, #0A1238 100%);
    box-shadow: var(--glow), var(--shadow-layered);
    opacity: 0.9;
  }
  .hero-base-card::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    background:
      linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px) 0 0 / 100% 28px,
      linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px) 0 0 / 28px 100%;
  }
  .glass-panel {
    position: relative; z-index: 1;
    border-radius: 24px;
    padding: 26px;
    margin-right: 48px;
    background: linear-gradient(90deg, rgba(255,255,255,0.18), rgba(255,255,255,0.05));
    backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
    box-shadow: var(--shadow-layered);
    overflow: hidden;
  }
  .glass-panel::before, .glass-panel::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    border: 1px solid rgba(255,255,255,0.5);
    -webkit-mask-image: linear-gradient(135deg, #fff, transparent 50%); mask-image: linear-gradient(135deg, #fff, transparent 50%);
  }
  .glass-panel::after {
    border-color: rgba(41,182,246,0.7);
    -webkit-mask-image: linear-gradient(135deg, transparent 50%, #fff); mask-image: linear-gradient(135deg, transparent 50%, #fff);
  }
  .gp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
  .gp-icon {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
    color: var(--color-accent-light); box-shadow: var(--shadow-layered);
  }
  .gp-icon svg { width: 22px; height: 22px; }
  .gp-title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
  .gp-sub { font-size: 13px; color: rgba(255,255,255,0.72); }
  .gp-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: #6EE7B7; }
  .gp-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 10px #34D399; animation: livePulse 1.8s ease-in-out infinite; }
  @keyframes livePulse { 50% { opacity: 0.35; } }
  .gp-divider { margin: 18px 0; }
  .gp-rows { display: grid; gap: 10px; }
  .gp-row {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 14px;
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
    font-size: 14px; font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease;
  }
  .gp-row:hover { background: rgba(255,255,255,0.11); border-color: rgba(41,182,246,0.45); }
  .gp-row svg { width: 18px; height: 18px; color: var(--color-accent-light); flex-shrink: 0; }
  .gp-row .gp-status { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(52,211,153,0.16); color: #6EE7B7; border: 1px solid rgba(52,211,153,0.3); }
  .gp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .gp-tags span { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.2); }

  /* Scrollbar */
  html { scrollbar-width: thin; scrollbar-color: rgba(0,150,214,0.5) transparent; }
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
  ::-webkit-scrollbar-thumb { background: rgba(0,150,214,0.5); border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: rgba(0,150,214,0.75); }

  @media (max-width: 980px) {
    .hero-visual { max-width: 460px; width: 100%; }
  }
  @media (max-width: 640px) {
    .glass-panel { margin-right: 20px; padding: 20px; }
    .gp-head { flex-wrap: wrap; }
    .gp-live { position: absolute; top: 16px; right: 18px; }
    .gp-head > div:nth-child(2) { padding-right: 64px; }
    .gp-title { font-size: 17px; }
    .hero-base-card { inset: 40px 0 0 24px; }
    .tech-bg .orb { filter: blur(70px); }
  }
  @media (prefers-reduced-motion: reduce) {
    .tech-bg .orb, .area-map-pin::after, .gp-live::before { animation: none; }
  }

  /* ============================================
     MOBILE FIRST REFINEMENTS
     ============================================ */
  html { -webkit-text-size-adjust: 100%; }
  a, button { -webkit-tap-highlight-color: transparent; }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .nav-toggle svg { width: 22px; height: 22px; }
  .carousel-dots { display: none; }

  /* Barra fixa só no mobile/tablet, aparece após o hero */
  .sticky-cta-bar {
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    transform: translateY(110%);
    transition: transform 0.35s var(--ease-out);
  }
  .sticky-cta-bar.is-visible { transform: translateY(0); }
  .sticky-cta-bar .btn { min-height: 48px; font-size: 14px; }
  @media (min-width: 901px) { .sticky-cta-bar { display: none; } }

  @media (max-width: 900px) {
    .site-header .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .site-header .nav-links.is-open {
      display: flex; flex-direction: column; align-items: stretch; gap: 4px;
      position: fixed; top: 76px; left: 12px; right: 12px; z-index: 99;
      padding: 10px;
      border-radius: 20px;
      background: rgba(8, 14, 45, 0.92);
      backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
      border: 1px solid rgba(255,255,255,0.12);
      box-shadow: var(--shadow-layered), 0 0 40px rgba(0,150,214,0.2);
      animation: menuIn 0.25s var(--ease-out);
    }
    .site-header .nav-links.is-open a {
      padding: 16px 14px; border-radius: 12px; color: var(--color-white); font-size: 17px;
      min-height: 52px; display: flex; align-items: center;
    }
    .site-header .nav-links.is-open a:active { background: rgba(0,150,214,0.15); }
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

  /* Toque: sem efeitos que "grudam" no hover */
  @media (hover: none) {
    .service-card:hover, .diff-item:hover, .btn--primary:hover, .btn--ghost:hover { transform: none; }
    .service-card:active { transform: scale(0.98); }
    .btn:active { transform: scale(0.97); }
  }

  @media (max-width: 640px) {
    :root { --space-section: 64px; --glass-blur: blur(10px); }
    .container { padding: 0 20px; }
    .site-header { padding: 12px 0; }
    .hero { padding: 112px 0 56px; }
    .hero::before { width: 420px; height: 420px; right: -40%; }
    .hero .container { gap: 40px; }
    .h1 { font-size: clamp(34px, 9.4vw, 42px); }
    .text-body-l { font-size: 17px; }
    .hero-copy .text-body-l { margin-bottom: 26px; }
    .hero-actions { flex-direction: column; gap: 10px; margin-bottom: 28px; }
    .hero-actions .btn { width: 100%; min-height: 52px; }
    .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 20px; }
    .hero-stat .h3 { font-size: 19px; }
    .hero-stat .text-regular-s { font-size: 12px; line-height: 1.35; }
    .hero-visual { padding-bottom: 36px; }
    .gp-row { padding: 11px 12px; font-size: 13.5px; }

    .section-head { margin-bottom: 32px; }

    /* Serviços em carrossel com snap */
    .services-grid {
      display: flex; gap: 14px;
      overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
      margin: 0 -20px; padding: 6px 20px 18px;
      scrollbar-width: none;
    }
    .services-grid::-webkit-scrollbar { display: none; }
    .service-card { flex: 0 0 84%; scroll-snap-align: center; padding: 26px 22px; }
    .services-grid .reveal { opacity: 1; transform: none; }
    .carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
    .carousel-dots span { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,0.25); transition: width 0.3s var(--ease-out), background-color 0.3s; }
    .carousel-dots span.is-active { width: 22px; background: var(--color-accent-light); }

    .about-grid { gap: 32px; }
    .diff-item { padding: 16px; }

    .area-card { padding: 28px 20px; gap: 28px; border-radius: 20px; }
    .area-map { aspect-ratio: 16 / 10; }
    .region-tag { padding: 9px 14px; }

    .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .proof-tile { aspect-ratio: 1; }

    .cta-final { padding: 40px 20px; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; min-height: 52px; }

    .site-footer { padding: 44px 0 24px; }
    .footer-grid { gap: 28px; }
    .footer-links a, .footer-links span { min-height: 32px; display: flex; align-items: center; }
    .footer-bottom { flex-direction: column; }

    /* Performance: menos animação e blur no celular */
    .tech-bg .orb { animation: none; filter: blur(60px); }
    .tech-bg .orb--3 { display: none; }
  }

/* ============================================
   WORDPRESS
   ============================================ */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; word-wrap: normal !important;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--color-accent); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* Barra de administração */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Menu do WordPress (ul/li) */
.site-header .nav-links ul.menu { display: flex; align-items: center; gap: 32px; list-style: none; }
.site-header .nav-links ul.menu li { list-style: none; }
.site-header .nav-links .current-menu-item > a { color: var(--color-white); }
@media (max-width: 900px) {
  .site-header .nav-links.is-open ul.menu { flex-direction: column; align-items: stretch; gap: 4px; }
}

/* Páginas internas */
.page-hero { padding: 150px 0 24px; position: relative; }
.page-title { font-size: clamp(32px, 4.6vw, 52px); }
.container--narrow { max-width: 860px; }
.section--tight { padding-top: 24px; }
.entry { border-radius: var(--radius-l); padding: clamp(24px, 4vw, 48px); }
.entry-thumb img { width: 100%; height: auto; border-radius: var(--radius-m); margin-bottom: 28px; }
.entry-content { color: var(--color-text-muted); font-size: 17px; line-height: 1.75; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--color-white); line-height: 1.25; margin-top: 1.6em; }
.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 22px; }
.entry-content a { color: var(--color-accent-light); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: 0.4em; }
.entry-content img, .entry-content video, .entry-content iframe { max-width: 100%; height: auto; border-radius: var(--radius-m); }
.entry-content blockquote { border-left: 3px solid var(--color-accent); padding: 4px 0 4px 18px; color: var(--color-white); }
.entry-content code { background: rgba(255,255,255,0.08); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }
.entry-content pre { background: rgba(0,0,0,0.35); padding: 16px; border-radius: var(--radius-m); overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--color-border-strong); padding: 10px; text-align: left; }
.entry-content .wp-block-button__link { background: var(--color-accent); color: #fff; border-radius: 999px; padding: 12px 24px; text-decoration: none; font-weight: 700; }
.entry-content figcaption { font-size: 13px; color: var(--color-text-faint); margin-top: 8px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption, .gallery-caption { max-width: 100%; }
.sticky, .bypostauthor { position: relative; }

.entry-cta {
  margin-top: 24px; border-radius: var(--radius-l); padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.post-nav { margin-top: 24px; }
.post-nav .nav-links { display: flex; justify-content: space-between; gap: 16px; }
.post-nav .nav-links a { color: var(--color-accent-light); font-weight: 600; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { border-radius: var(--radius-l); overflow: hidden; display: flex; flex-direction: column; }
.post-card-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-body .text-regular-m { flex: 1; }
.post-card .h3 a:hover { color: var(--color-accent-light); }
.pagination-wrap { margin-top: 40px; }
.pagination-wrap .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination-wrap .page-numbers {
  min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px;
  border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  color: var(--color-text-muted); font-weight: 600;
}
.pagination-wrap .page-numbers.current { background: var(--color-accent); color: #fff; border-color: transparent; }

/* Busca e formulários */
.search-form { display: flex; gap: 10px; margin-top: 20px; }
.search-field, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  flex: 1; width: 100%; min-height: 48px; padding: 12px 16px; font: inherit; font-size: 16px;
  color: var(--color-white); background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18); border-radius: 12px;
}
.search-field:focus, .comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--color-accent-light); box-shadow: 0 0 0 3px rgba(0,150,214,0.25); }
.comments-area { margin-top: 24px; }
.comment-list { list-style: none; margin: 20px 0; display: grid; gap: 16px; }
.comment-body { padding: 16px; border-radius: var(--radius-m); background: rgba(255,255,255,0.04); color: var(--color-text-muted); }
.comment-author { color: var(--color-white); display: flex; align-items: center; gap: 10px; }
.comment-author img { border-radius: 50%; }
.comment-form p { margin-top: 14px; color: var(--color-text-muted); }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; }
.comment-form .submit { background: var(--color-accent); color: #fff; border: 0; border-radius: 999px; padding: 14px 26px; font: inherit; font-weight: 700; cursor: pointer; min-height: 48px; }

/* Fotos reais na prova social */
.proof-tile--photo { padding: 0; border: 0; overflow: hidden; margin: 0; box-shadow: var(--shadow-layered); }
.proof-tile--photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.proof-tile--photo:hover img { transform: scale(1.05); }
.proof-note a { color: var(--color-accent-light); font-weight: 600; }

@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .page-hero { padding: 116px 0 12px; }
  .post-grid { grid-template-columns: 1fr; }
  .entry-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .entry-cta .btn { width: 100%; min-height: 52px; }
  .search-form { flex-direction: column; }
}
