    :root {
      /* superfícies (mudam com o tema) */
      --surface: 0 0% 100%;
      --surface-2: 210 33% 96%;
      --tint: 222 30% 25%;
      --glass: hsla(0, 0%, 100%, 0.7);
      --header-bg: hsla(0, 0%, 100%, 0.92);
      --band-1: hsl(210 40% 99%);
      --band-2: hsl(210 35% 94%);
      --shadow-card: 0 10px 30px -14px hsl(222 40% 20% / 0.1);
      --primary-hover: 42 96% 38%;
      --background: 0 0% 100%;
      --foreground: 222 47% 11%;
      --card: 0 0% 100%;
      --primary: 42 96% 45%;
      --primary-foreground: 26 60% 8%;
      --accent: 197 92% 34%;
      --blue-intelligence: 222 73% 48%;
      --muted-foreground: 215 16% 40%;
      --border: 214 25% 89%;
      --secondary: 210 33% 96%;
      --radius: 0.75rem;
    }

    /* ===== TEMA ESCURO ===== */
    html.dark {
      --background: 0 0% 0%;
      --foreground: 0 0% 100%;
      --card: 0 0% 5%;
      --primary: 49 98% 50%;
      --primary-foreground: 0 0% 0%;
      --accent: 193 100% 50%;
      --blue-intelligence: 222 73% 48%;
      --muted-foreground: 0 0% 60%;
      --border: 0 0% 20%;
      --secondary: 0 0% 10%;
      --surface: 0 0% 5%;
      --surface-2: 0 0% 10%;
      --tint: 0 0% 100%;
      --glass: hsla(0, 0%, 5%, 0.5);
      --header-bg: hsla(0, 0%, 0%, 0.95);
      --band-1: hsl(0 0% 0%);
      --band-2: hsl(0 0% 5%);
      --shadow-card: none;
      --primary-hover: 49 98% 58%;
    }

    *,*::before,*::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background: hsl(var(--background));
      color: hsl(var(--foreground));
      -webkit-font-smoothing: antialiased;
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; height: auto; display: block; }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 1rem;
    }
    @media (min-width: 768px) { .container { padding: 0 1.5rem; } }

    /* ============ HEADER ============ */
    .site-header {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 50;
      background: var(--header-bg);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid hsl(var(--border));
    }
    .site-header .inner {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      align-items: center;
      justify-content: space-between;
      padding: 1rem;
    }
    @media (min-width: 768px) { .site-header .inner { flex-direction: row; padding: 1rem 1.5rem; } }

    .logo img { height: 36px; }
    @media (min-width: 768px) { .logo img { height: 44px; } }

    .nav-buttons { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; justify-content: center; min-width: 0; }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.625rem 1.25rem;
      border-radius: var(--radius);
      font-weight: 600;
      font-size: 0.875rem;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      cursor: pointer;
      border: 1px solid transparent;
      white-space: nowrap;
    }
    @media (min-width: 768px) { .btn { font-size: 1rem; padding: 0.75rem 1.5rem; } }
    /* faixa estreita de tablet: mantém o menu em uma única linha */
    @media (min-width: 768px) and (max-width: 880px) { .nav-buttons .btn { font-size: 0.9375rem; padding: 0.625rem 1rem; } }
    .btn-outline {
      background: transparent;
      color: hsl(var(--accent));
      border-color: hsl(var(--accent));
    }
    .btn-outline:hover { background: hsl(var(--accent)); color: hsl(0 0% 100%); }
    .btn-primary {
      background: hsl(var(--primary));
      color: hsl(var(--primary-foreground));
    }
    .btn-primary:hover {
      background: hsl(var(--primary-hover));
      box-shadow: 0 8px 30px -12px hsl(var(--primary) / 0.25);
      transform: translateY(-1px);
    }
    .btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }

    /* ============ HERO ============ */
    .hero {
      position: relative;
      min-height: 80vh;
      display: flex;
      align-items: center;
      overflow: hidden;
      background: linear-gradient(180deg, var(--band-1) 0%, var(--band-2) 100%);
      padding: 8rem 0 4rem;
    }
    /* header fixo é mais alto no celular (logo + 2 linhas de botões) */
    @media (max-width: 767px) { .hero { padding-top: 13.5rem; } }
    .grid-bg {
      position: absolute; inset: 0;
      opacity: 0.18;
      background-image:
        linear-gradient(hsl(var(--tint) / 0.08) 1px, transparent 1px),
        linear-gradient(90deg, hsl(var(--tint) / 0.08) 1px, transparent 1px);
      background-size: 50px 50px;
      pointer-events: none;
    }
    .orb {
      position: absolute;
      width: 24rem; height: 24rem;
      border-radius: 50%;
      filter: blur(120px);
      pointer-events: none;
    }
    .orb-1 { top: 5rem; left: 25%; background: hsla(42, 96%, 45%, 0.12); animation: pulse 4s ease-in-out infinite; }
    .orb-2 { bottom: 5rem; right: 25%; background: hsla(197, 92%, 34%, 0.10); animation: pulse 4s ease-in-out 1s infinite; }
    @keyframes pulse { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }

    .hero-inner { position: relative; z-index: 10; }
    .breadcrumb {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      color: hsl(var(--muted-foreground));
      font-size: 0.875rem;
      margin-bottom: 1.5rem;
      padding: 0.375rem 0.875rem;
      border-radius: 999px;
      border: 1px solid hsl(var(--border));
      background: var(--glass);
      transition: all 0.3s;
    }
    .breadcrumb:hover { color: hsl(var(--primary)); border-color: hsl(var(--primary) / 0.5); }

    .hero h1 {
      font-size: clamp(2rem, 5vw, 4.5rem);
      font-weight: 900;
      line-height: 1.1;
      margin: 0 0 1.5rem;
      letter-spacing: -0.02em;
    }
    .hero h1 .accent-yellow { color: hsl(var(--primary)); }
    .hero h1 .accent-cyan { color: hsl(var(--accent)); }

    .hero p.lead {
      font-size: clamp(1rem, 1.5vw, 1.375rem);
      color: hsl(var(--muted-foreground));
      max-width: 56rem;
      margin: 0 0 2rem;
      line-height: 1.5;
    }

    .hero-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

    .hero-meta { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; }
    .hero-meta .meta-item { display: flex; align-items: center; gap: 0.625rem; color: hsl(var(--muted-foreground)); font-size: 0.875rem; }
    .hero-meta .meta-item svg { color: hsl(var(--primary)); flex-shrink: 0; }

    /* ============ SECTION ============ */
    section { padding: 4rem 0; }
    @media (min-width: 768px) { section { padding: 6rem 0; } }

    .section-eyebrow {
      display: inline-block;
      color: hsl(var(--primary));
      text-transform: uppercase;
      letter-spacing: 0.15em;
      font-size: 0.75rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }
    .section-title {
      font-size: clamp(1.75rem, 3vw, 3rem);
      font-weight: 800;
      line-height: 1.2;
      margin: 0 0 1rem;
      letter-spacing: -0.02em;
    }
    .section-intro {
      color: hsl(var(--muted-foreground));
      font-size: 1.125rem;
      max-width: 48rem;
      margin: 0 0 3rem;
    }

    /* ============ CAPABILITIES GRID ============ */
    .grid-3 {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    @media (min-width: 768px) { .grid-3 { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
    @media (min-width: 1024px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }

    .feature-card {
      background: var(--glass);
      backdrop-filter: blur(8px);
      border: 1px solid hsl(var(--border));
      border-radius: var(--radius);
      padding: 1.75rem;
      box-shadow: var(--shadow-card);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .feature-card:hover {
      border-color: hsl(var(--primary) / 0.6);
      background: hsl(var(--surface));
      box-shadow: 0 8px 30px -12px hsl(var(--primary) / 0.25);
      transform: translateY(-2px);
    }
    .feature-icon {
      width: 3rem; height: 3rem;
      border-radius: 0.75rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
    }
    .feature-icon.yellow { background: hsl(var(--primary) / 0.12); color: hsl(var(--primary)); }
    .feature-icon.cyan { background: hsl(var(--accent) / 0.12); color: hsl(var(--accent)); }
    .feature-icon.blue { background: hsl(var(--blue-intelligence) / 0.12); color: hsl(var(--blue-intelligence)); }
    .feature-card h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.5rem; }
    .feature-card p { color: hsl(var(--muted-foreground)); font-size: 0.95rem; margin: 0; line-height: 1.6; }

    /* ============ PROCESS ============ */
    .process { background: linear-gradient(180deg, var(--band-1) 0%, var(--band-2) 100%); }
    .steps {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.5rem;
      counter-reset: step;
    }
    @media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
    .step {
      position: relative;
      padding: 2rem 1.5rem 1.5rem;
      border: 1px solid hsl(var(--border));
      border-radius: var(--radius);
      background: hsl(var(--surface));
      box-shadow: var(--shadow-card);
      counter-increment: step;
    }
    .step::before {
      content: counter(step, decimal-leading-zero);
      position: absolute;
      top: -0.875rem;
      left: 1.5rem;
      background: hsl(var(--primary));
      color: hsl(var(--primary-foreground));
      font-weight: 800;
      font-size: 0.875rem;
      padding: 0.125rem 0.625rem;
      border-radius: 999px;
      letter-spacing: 0.05em;
    }
    .step h4 { font-size: 1.125rem; font-weight: 700; margin: 0 0 0.5rem; }
    .step p { color: hsl(var(--muted-foreground)); font-size: 0.925rem; margin: 0; }

    /* ============ STACK ============ */
    .stack-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.75rem;
    }
    @media (min-width: 768px) { .stack-grid { grid-template-columns: repeat(4, 1fr); } }
    .stack-pill {
      padding: 0.875rem 1rem;
      border: 1px solid hsl(var(--border));
      border-radius: 999px;
      background: hsl(var(--surface));
      text-align: center;
      font-size: 0.875rem;
      font-weight: 500;
      color: hsl(var(--muted-foreground));
      transition: all 0.3s;
    }
    .stack-pill:hover { color: hsl(var(--foreground)); border-color: hsl(var(--primary) / 0.5); }

    /* ============ USE CASES ============ */
    .use-cases {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.25rem;
    }
    @media (min-width: 768px) { .use-cases { grid-template-columns: 1fr 1fr; } }
    @media (min-width: 1024px) { .use-cases { grid-template-columns: 1fr 1fr 1fr; } }
    .use-case {
      padding: 1.75rem;
      border: 1px solid hsl(var(--border));
      border-radius: var(--radius);
      background: hsl(var(--surface));
      box-shadow: var(--shadow-card);
    }
    .use-case .sector {
      display: inline-block;
      color: hsl(var(--accent));
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      margin-bottom: 0.75rem;
    }
    .use-case h4 { font-size: 1.125rem; font-weight: 700; margin: 0 0 0.5rem; }
    .use-case p { color: hsl(var(--muted-foreground)); font-size: 0.925rem; margin: 0; }

    /* ============ FINAL CTA ============ */
    .final-cta {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, hsla(42, 96%, 45%, 0.08), hsla(197, 92%, 34%, 0.07));
      border-top: 1px solid hsl(var(--border));
      border-bottom: 1px solid hsl(var(--border));
    }
    .final-cta .container { text-align: center; position: relative; z-index: 2; }
    .final-cta h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 800; margin: 0 0 1rem; }
    .final-cta p { color: hsl(var(--muted-foreground)); font-size: 1.125rem; margin: 0 0 2rem; }
    .final-cta .btn-primary { font-size: 1rem; padding: 1rem 2rem; }

    /* ============ FOOTER (REDESIGNED) ============ */
    .site-footer {
      position: relative;
      background: hsl(var(--secondary));
      border-top: 1px solid hsl(var(--border));
      overflow: hidden;
    }
    .footer-glow {
      position: absolute;
      border-radius: 50%;
      filter: blur(120px);
      pointer-events: none;
      top: -10rem;
    }
    .footer-glow-1 { left: 25%; width: 28rem; height: 18rem; background: hsla(42,96%,45%,0.05); }
    .footer-glow-2 { right: 25%; width: 28rem; height: 18rem; background: hsla(197,92%,34%,0.04); }
    .footer-glow-3 { top: 50%; left: 50%; transform: translateX(-50%); width: 40rem; height: 10rem; background: hsla(222,73%,48%,0.03); }
    .footer-inner { position: relative; z-index: 1; }

    .footer-main {
      padding: 3rem 0;
      display: grid;
      grid-template-columns: 1fr;
      gap: 2.5rem;
      text-align: center;
    }
    @media (min-width: 768px) {
      .footer-main {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
        text-align: left;
        padding: 4rem 0;
      }
      .footer-main .footer-brand { grid-column: 1 / -1; }
    }
    @media (min-width: 1024px) {
      .footer-main {
        grid-template-columns: 2.4fr 1.6fr 1fr 1.6fr;
      }
      .footer-main .footer-brand { grid-column: auto; }
    }

    /* BRAND COLUMN */
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
    @media (min-width: 768px) { .footer-brand { align-items: flex-start; } }
    .footer-logo { display: inline-block; margin-bottom: 1.25rem; }
    .footer-logo img {
      height: 36px;
      width: auto;
      transition: transform 0.3s;
    }
    @media (min-width: 1024px) { .footer-logo img { height: 44px; } }
    .footer-logo:hover img { transform: scale(1.05); }

    .footer-desc {
      color: hsl(var(--muted-foreground));
      font-size: 0.95rem;
      line-height: 1.55;
      max-width: 28rem;
      margin: 0 0 1.25rem;
    }
    .footer-desc strong { color: hsl(var(--foreground)); font-weight: 600; }

    .footer-stats {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem 0.85rem;
      justify-content: center;
      align-items: center;
      margin-bottom: 1.5rem;
      font-size: 0.75rem;
      color: hsl(var(--muted-foreground));
    }
    @media (min-width: 768px) { .footer-stats { justify-content: flex-start; } }
    .footer-stats strong { color: hsl(var(--foreground)); font-weight: 700; }
    .footer-stats-sep { color: hsl(var(--border)); }

    .footer-socials {
      display: flex;
      gap: 0.625rem;
      justify-content: center;
    }
    @media (min-width: 768px) { .footer-socials { justify-content: flex-start; } }
    .footer-socials a {
      width: 2.5rem; height: 2.5rem;
      border-radius: 50%;
      background: hsl(var(--surface));
      border: 1px solid hsl(var(--border));
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: hsl(var(--muted-foreground));
      transition: all 0.3s;
    }
    .footer-socials a:hover {
      background: hsl(var(--primary));
      color: hsl(var(--primary-foreground));
      border-color: hsl(var(--primary));
      transform: translateY(-2px);
    }

    /* COLUMNS (Soluções / Empresa / Contato) */
    .footer-col h3 {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-weight: 700;
      color: hsl(var(--primary));
      margin: 0 0 1rem;
    }
    .footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.625rem; }
    .footer-col li { margin: 0; }
    .footer-col li a {
      color: hsl(var(--muted-foreground));
      font-size: 0.875rem;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      transition: color 0.3s, transform 0.3s;
      line-height: 1.4;
    }
    .footer-col li a:hover { color: hsl(var(--foreground)); }
    .footer-col li a .arrow {
      opacity: 0;
      transform: translateX(-4px);
      transition: all 0.3s;
      color: hsl(var(--primary));
      font-size: 0.85rem;
      font-weight: 700;
    }
    .footer-col li a:hover .arrow { opacity: 1; transform: translateX(0); }

    /* CONTATO */
    .footer-col-contato li a svg {
      width: 16px; height: 16px;
      color: hsl(var(--primary) / 0.8);
      flex-shrink: 0;
    }
    .footer-col-contato li a:hover { color: hsl(var(--primary)); }
    .footer-col-contato li a:hover svg { color: hsl(var(--primary)); }
    .footer-trust {
      margin-top: 1.25rem;
      padding-top: 1.25rem;
      border-top: 1px solid hsl(var(--border) / 0.5);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
    }
    @media (min-width: 768px) { .footer-trust { align-items: flex-start; } }
    .footer-trust > div {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.75rem;
      color: hsl(var(--muted-foreground));
    }
    .footer-trust strong { color: hsl(var(--foreground)); font-weight: 600; }
    .footer-trust svg {
      width: 14px; height: 14px;
      color: hsl(var(--primary) / 0.7);
      flex-shrink: 0;
    }

    /* BOTTOM BAR */
    .footer-bottom {
      border-top: 1px solid hsl(var(--border));
      padding: 1.25rem 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      text-align: center;
      font-size: 0.75rem;
      color: hsl(var(--muted-foreground));
    }
    @media (min-width: 768px) {
      .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
      }
    }
    .footer-bottom p { margin: 0; }
    .footer-bottom p strong { color: hsl(var(--foreground)); font-weight: 600; }
    .footer-bottom-links {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }
    @media (min-width: 640px) {
      .footer-bottom-links { flex-direction: row; gap: 1.25rem; }
    }
    .footer-bottom a {
      color: hsl(var(--muted-foreground));
      transition: color 0.3s;
    }
    .footer-bottom a:hover { color: hsl(var(--primary)); }
    .footer-totop {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }
    .footer-totop svg { width: 14px; height: 14px; transition: transform 0.3s; }
    .footer-totop:hover svg { transform: translateY(-2px); }

    
    /* Reveal on scroll */
    .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
    .reveal.in { opacity: 1; transform: translateY(0); }

    /* Accessibility */
    *:focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: 3px; border-radius: 4px; }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
      .reveal { opacity: 1; transform: none; }
    }

    /* H8 PBX — novo serviço (telefonia em nuvem) */
    .btn-pabx {
      background: hsl(var(--accent) / 0.1);
      color: hsl(var(--accent));
      border-color: hsl(var(--accent) / 0.55);
      font-weight: 600;
    }
    .btn-pabx:hover { background: hsl(var(--accent)); color: #fff; }
    .badge-new {
      display: inline-block; padding: 0.1rem 0.35rem; border-radius: 4px;
      font-size: 0.625rem; line-height: 1.5; font-weight: 800;
      text-transform: uppercase; letter-spacing: 0.08em; vertical-align: middle;
      background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
    }
    .related-card.related-pabx {
      grid-column: 1 / -1;
      background: linear-gradient(135deg, hsl(200 60% 97%) 0%, var(--band-1) 55%, hsl(45 80% 97%) 100%);
      border-color: hsl(var(--accent) / 0.35);
    }
    .related-card.related-pabx:hover { border-color: hsl(var(--accent) / 0.7); }
    .related-pabx .pabx-meta {
      margin-top: 0.75rem; font-size: 0.8rem; color: hsl(var(--muted-foreground));
    }
    .related-pabx .pabx-meta strong { color: hsl(var(--foreground)); }

    /* rodapé: link com selo "Novo" — o selo deve acompanhar o texto, não flutuar à direita */
    .footer-col li a:has(.badge-new) { display: inline; }
    .footer-col li a:has(.badge-new) .badge-new { margin-left: 0.4rem; }

    /* ===== ALTERNADOR DE TEMA ===== */
    .btn-tema {
      padding: 0.5rem; width: 2.5rem; height: 2.5rem; flex-shrink: 0;
      background: transparent; color: hsl(var(--muted-foreground));
      border: 1px solid hsl(var(--border));
    }
    .btn-tema:hover { color: hsl(var(--accent)); border-color: hsl(var(--accent)); background: transparent; }
    .ico-sol { display: none; }
    html.dark .ico-sol { display: block; }
    html.dark .ico-lua { display: none; }
    .logo-escuro { display: none; }
    html.dark .logo-claro { display: none; }
    html.dark .logo-escuro { display: block; }
