:root {
        --bg: #ffffff;
        --bg-soft: #f3f7fd;
        --bg-soft-2: #eaf2fc;
        --ink: #0b1220;
        --ink-muted: #5b6577;
        --ink-dim: #94a0b2;
        --line: rgba(15, 23, 42, 0.09);
        --line-strong: rgba(15, 23, 42, 0.16);
        --accent: #0056ff;
        --accent-2: #00aeef;
        --accent-soft: rgba(0, 86, 255, 0.1);
        --accent-soft-2: rgba(0, 86, 255, 0.18);
        --good: #1fae7a;
        --warn: #f2924a;
        --glass: rgba(255, 255, 255, 0.68);
        --glass-strong: rgba(255, 255, 255, 0.86);
        --glass-border: rgba(255, 255, 255, 0.9);
        --radius: 18px;
        --shadow: 0 24px 70px -28px rgba(16, 38, 73, 0.22);
        --shadow-sm: 0 10px 30px -14px rgba(16, 38, 73, 0.16);
      }
      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }
      html {
        scroll-behavior: smooth;
      }
      body {
        background: var(--bg);
        color: var(--ink);
        font-family: "Inter", sans-serif;
        line-height: 1.55;
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
      }
      h1,
      h2,
      h3,
      .display {
        font-family: "Space Grotesk", sans-serif;
        letter-spacing: -0.02em;
      }
      .mono {
        font-family: "JetBrains Mono", monospace;
      }
      a {
        color: inherit;
        text-decoration: none;
      }
      img {
        max-width: 100%;
        display: block;
      }
      .wrap {
        max-width: 1180px;
        margin: 0 auto;
        padding: 0 28px;
      }
      section {
        padding: 104px 0;
        position: relative;
      }
      @media (max-width: 720px) {
        section {
          padding: 68px 0;
        }
      }

      /* reveal on scroll */
      .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition:
          opacity 0.7s ease,
          transform 0.7s ease;
      }
      .reveal.in {
        opacity: 1;
        transform: translateY(0);
      }
      .reveal-delay-1.in {
        transition-delay: 0.08s;
      }
      .reveal-delay-2.in {
        transition-delay: 0.16s;
      }
      .reveal-delay-3.in {
        transition-delay: 0.24s;
      }
      .reveal-delay-4.in {
        transition-delay: 0.32s;
      }

      /* header */
      header {
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--glass-strong);
        backdrop-filter: blur(16px) saturate(160%);
        border-bottom: 1px solid var(--line);
      }
      .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 28px;
        max-width: 1180px;
        margin: 0 auto;
      }
      .logo {
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: "Space Grotesk";
        font-weight: 700;
        font-size: 18px;
        text-decoration: none;
        color: inherit;
      }
      .logo .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--accent);
        box-shadow: 0 0 0 4px var(--accent-soft);
      }
      .badge {
        font-size: 12px;
        color: var(--accent);
        border: 1px solid rgba(229, 118, 46, 0.25);
        background: var(--accent-soft);
        padding: 4px 11px;
        border-radius: 100px;
        font-weight: 700;
        margin-left: 8px;
      }
      .header-cta {
        display: flex;
        gap: 12px;
        align-items: center;
      }
      .btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        justify-content: center;
        padding: 12px 22px;
        border-radius: 11px;
        font-weight: 600;
        font-size: 14.5px;
        border: 1px solid transparent;
        cursor: pointer;
        transition: 0.18s ease;
      }
      .btn-primary {
        background: var(--accent);
        color: #fff;
        box-shadow: 0 12px 28px -10px rgba(229, 118, 46, 0.55);
      }
      .btn-primary:hover {
        background: #c05e1f;
        transform: translateY(-1px);
      }
      .btn-ghost {
        border-color: var(--line-strong);
        color: var(--ink);
        background: #fff;
      }
      .btn-ghost:hover {
        border-color: var(--accent);
        color: var(--accent);
      }
      .header-cta .btn-ghost {
        padding: 11px 18px;
        font-size: 14px;
      }
      @media (max-width: 640px) {
        .header-cta .btn-ghost {
          display: none;
        }
      }

      /* hero */
      .hero {
        padding: 76px 0 30px;
      }
      .hero-grid {
        display: grid;
        grid-template-columns: 1.05fr 0.95fr;
        gap: 56px;
        align-items: center;
      }
      @media (max-width: 960px) {
        .hero-grid {
          grid-template-columns: 1fr;
        }
      }
      .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 700;
        color: var(--accent);
        background: var(--accent-soft);
        padding: 7px 14px 7px 10px;
        border-radius: 100px;
        margin-bottom: 22px;
      }
      .eyebrow .pip {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--accent);
      }
      h1 {
        font-size: clamp(32px, 4.2vw, 50px);
        font-weight: 600;
        line-height: 1.1;
        max-width: 600px;
      }
      h1 em {
        font-style: normal;
        color: var(--accent);
      }
      .lede {
        font-size: 17px;
        color: var(--ink-muted);
        max-width: 520px;
        margin: 20px 0 32px;
      }
      .hero-cta {
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
      }
      .btn-lg {
        padding: 15px 26px;
        font-size: 15px;
      }

      .trustbar {
        display: flex;
        gap: 36px;
        flex-wrap: wrap;
        margin-top: 52px;
        padding-top: 28px;
        border-top: 1px solid var(--line);
      }
      .trust-item .num {
        font-family: "Space Grotesk";
        font-size: 24px;
        font-weight: 700;
        color: var(--ink);
      }
      .trust-item .lbl {
        font-size: 12.5px;
        color: var(--ink-dim);
        margin-top: 2px;
      }

      /* hero mockup / glass panel */
      .mockup-wrap {
        position: relative;
      }
      .mockup {
        background: var(--glass);
        backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid var(--glass-border);
        border-radius: 22px;
        padding: 26px;
        box-shadow: var(--shadow);
        animation: float 6s ease-in-out infinite;
      }
      @keyframes float {
        0%,
        100% {
          transform: translateY(0);
        }
        50% {
          transform: translateY(-10px);
        }
      }
      .mockup-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 18px;
      }
      .mockup-dots {
        display: flex;
        gap: 6px;
      }
      .mockup-dots span {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--line-strong);
      }
      .live-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 11px;
        font-weight: 700;
        color: var(--good);
        letter-spacing: 0.04em;
      }
      .live-pill .blip {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--good);
        box-shadow: 0 0 0 3px rgba(31, 174, 122, 0.18);
        animation: pulse 1.6s infinite;
      }
      @keyframes pulse {
        0%,
        100% {
          opacity: 1;
        }
        50% {
          opacity: 0.4;
        }
      }
      .metric-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
      }
      .metric {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 16px 18px;
      }
      .metric .k {
        font-size: 11.5px;
        color: var(--ink-dim);
        margin-bottom: 8px;
      }
      .metric .v {
        font-family: "Space Grotesk";
        font-size: 21px;
        font-weight: 700;
        color: var(--ink);
      }
      .metric .v.accent {
        color: var(--accent);
      }
      .sla-bar {
        margin-top: 16px;
        height: 9px;
        border-radius: 6px;
        background: var(--bg-soft);
        overflow: hidden;
        position: relative;
      }
      .sla-fill {
        position: absolute;
        inset: 0;
        width: 99.9%;
        background: linear-gradient(90deg, var(--accent), var(--accent-2));
        border-radius: 6px;
      }
      .sla-caption {
        display: flex;
        justify-content: space-between;
        font-size: 11px;
        color: white;
        margin-top: 8px;
      }
      .float-chip {
        position: absolute;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 12px 16px;
        box-shadow: var(--shadow-sm);
        font-size: 12.5px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
        animation: float 5s ease-in-out infinite;
      }
      .float-chip.c1 {
        top: -18px;
        left: -24px;
        animation-delay: 0.3s;
      }
      .float-chip.c2 {
        bottom: 20px;
        right: -30px;
        animation-delay: 0.9s;
      }
      @media (max-width: 600px) {
        .float-chip {
          display: none;
        }
      }
      .float-chip .ico {
        color: var(--good);
      }

      /* section headers */
      .section-head {
        max-width: 620px;
        margin-bottom: 48px;
      }
      .section-eyebrow {
        display: inline-flex;
        font-size: 12.5px;
        font-weight: 700;
        color: var(--accent);
        background: var(--accent-soft);
        padding: 6px 13px;
        border-radius: 100px;
        margin-bottom: 16px;
      }
      h2 {
        font-size: clamp(25px, 3.2vw, 36px);
        font-weight: 600;
        line-height: 1.18;
      }
      .section-sub {
        color: var(--ink-muted);
        font-size: 16px;
        margin-top: 16px;
      }
      .center {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
      }

      /* pain */
      .pain {
        background: var(--bg-soft);
      }
      .pain-grid {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 56px;
        align-items: center;
      }
      @media (max-width: 860px) {
        .pain-grid {
          grid-template-columns: 1fr;
        }
      }
      .risk-card {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 20px;
        padding: 26px;
        box-shadow: var(--shadow-sm);
      }
      .risk-list {
        display: flex;
        flex-direction: column;
        gap: 18px;
      }
      .risk-row {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        padding-bottom: 18px;
        border-bottom: 1px solid var(--line);
      }
      .risk-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
      }
      .risk-ico {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: var(--accent-soft);
        color: var(--accent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        flex-shrink: 0;
        font-family: "Space Grotesk";
        font-size: 14px;
      }
      .risk-row b {
        font-size: 15px;
        display: block;
        margin-bottom: 3px;
      }
      .risk-row span {
        color: var(--ink-muted);
        font-size: 14px;
      }

      /* 3 steps */
      .steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        position: relative;
      }
      @media (max-width: 860px) {
        .steps {
          grid-template-columns: 1fr;
          gap: 20px;
        }
      }
      .step {
        position: relative;
        padding: 0 24px;
        text-align: left;
      }
      .step:first-child {
        padding-left: 0;
      }
      .step:last-child {
        padding-right: 0;
      }
      .step-num {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        background: var(--accent-soft);
        color: var(--accent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "Space Grotesk";
        font-weight: 700;
        font-size: 19px;
        margin-bottom: 20px;
      }
      .step h3 {
        font-size: 18px;
        margin-bottom: 10px;
      }
      .step p {
        font-size: 14.5px;
        color: var(--ink-muted);
      }
      .step-line {
        position: absolute;
        top: 26px;
        left: calc(100% - 24px);
        width: calc(100% - 8px);
        height: 2px;
        background: repeating-linear-gradient(
          90deg,
          var(--line-strong) 0 8px,
          transparent 8px 16px
        );
      }
      @media (max-width: 860px) {
        .step-line {
          display: none;
        }
      }
      .step:last-child .step-line {
        display: none;
      }

      /* modules sticky scroll */
      .modules-wrap {
        display: grid;
        grid-template-columns: 0.85fr 1.15fr;
        gap: 60px;
      }
      @media (max-width: 900px) {
        .modules-wrap {
          grid-template-columns: 1fr;
        }
      }
      .modules-nav {
        position: sticky;
        top: 96px;
        align-self: start;
        display: flex;
        flex-direction: column;
        gap: 4px;
      }
      .modules-nav-item {
        padding: 16px 18px;
        border-radius: 14px;
        cursor: pointer;
        border: 1px solid transparent;
        transition: 0.2s;
      }
      .modules-nav-item .mn-title {
        font-weight: 600;
        font-size: 15px;
        color: var(--ink-dim);
        transition: 0.2s;
      }
      .modules-nav-item .mn-sub {
        font-size: 13px;
        color: var(--ink-dim);
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: 0.2s;
      }
      .modules-nav-item.active {
        background: var(--accent-soft);
        border-color: rgba(229, 118, 46, 0.2);
      }
      .modules-nav-item.active .mn-title {
        color: var(--accent);
      }
      .modules-nav-item.active .mn-sub {
        opacity: 1;
        max-height: 60px;
        margin-top: 4px;
      }
      .module-panel {
        padding: 44px 0;
        border-bottom: 1px solid var(--line);
        min-height: 280px;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
      .module-panel:last-child {
        border-bottom: none;
      }
      .module-panel .mp-eyebrow {
        font-size: 12px;
        font-weight: 700;
        color: var(--accent);
        margin-bottom: 12px;
      }
      .module-panel h3 {
        font-size: 24px;
        margin-bottom: 14px;
      }
      .module-panel p {
        color: var(--ink-muted);
        font-size: 15.5px;
        margin-bottom: 20px;
        max-width: 520px;
      }
      .module-visual {
        background: linear-gradient(160deg, #fff, var(--bg-soft));
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 20px;
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
        box-shadow: var(--shadow-sm);
      }
      .module-visual .mv-item {
        flex: 1;
        min-width: 120px;
      }
      .module-visual .mv-k {
        font-size: 11.5px;
        color: var(--ink-dim);
        margin-bottom: 6px;
      }
      .module-visual .mv-v {
        font-family: "Space Grotesk";
        font-weight: 700;
        font-size: 19px;
        color: var(--accent);
      }

      /* transformation before/after */
      .transform {
        background: var(--bg-soft);
      }
      .tf-grid {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 0;
        align-items: stretch;
      }
      @media (max-width: 800px) {
        .tf-grid {
          grid-template-columns: 1fr;
          gap: 20px;
        }
      }
      .tf-col {
        background: #fff;
        border-radius: 20px;
        padding: 32px;
        border: 1px solid var(--line);
      }
      .tf-col.before {
        box-shadow: none;
      }
      .tf-col.after {
        box-shadow: var(--shadow);
        border-color: transparent;
        background: linear-gradient(160deg, #fff, var(--bg-soft-2));
      }
      .tf-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 24px;
        color: var(--accent);
        font-size: 24px;
      }
      @media (max-width: 800px) {
        .tf-arrow {
          transform: rotate(90deg);
          padding: 8px 0;
        }
      }
      .tf-label {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        margin-bottom: 18px;
      }
      .tf-col.before .tf-label {
        color: #7ae2b5;
      }
      .tf-col.after .tf-label {
        color: var(--accent);
      }
      .tf-item {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        margin-bottom: 14px;
        font-size: 14.5px;
      }
      .tf-item:last-child {
        margin-bottom: 0;
      }
      .tf-item .m {
        color: var(--ink-dim);
        flex-shrink: 0;
      }
      .tf-col.after .tf-item .m {
        color: var(--accent);
      }
      .tf-item span {
        color: var(--ink-muted);
      }

      /* testimonial carousel */
      .carousel-wrap {
        position: relative;
        overflow: hidden;
      }
      .carousel-track {
        display: flex;
        transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .carousel-slide {
        flex: 0 0 100%;
        padding: 0 4px;
      }
      .testi-card {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 22px;
        padding: 40px;
        box-shadow: var(--shadow);
        display: grid;
        grid-template-columns: 1fr 1.6fr;
        gap: 36px;
        align-items: center;
      }
      @media (max-width: 760px) {
        .testi-card {
          grid-template-columns: 1fr;
          gap: 20px;
          padding: 28px;
        }
      }
      .testi-logo {
        font-family: "Space Grotesk";
        font-size: 24px;
        font-weight: 700;
      }
      .testi-tag {
        font-size: 12.5px;
        color: var(--accent);
        font-weight: 700;
        margin-top: 10px;
      }
      .testi-desc {
        color: var(--ink-muted);
        font-size: 14px;
        margin-top: 12px;
      }
      .testi-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
      }
      @media (max-width: 500px) {
        .testi-stats {
          grid-template-columns: 1fr;
        }
      }
      .testi-stats .num {
        font-family: "Space Grotesk";
        font-size: 28px;
        font-weight: 700;
        color: var(--accent);
      }
      .testi-stats .lbl {
        font-size: 13px;
        color: var(--ink-muted);
        margin-top: 4px;
      }
      .carousel-dots {
        display: flex;
        gap: 8px;
        justify-content: center;
        margin-top: 24px;
      }
      .carousel-dots button {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        border: none;
        background: var(--line-strong);
        cursor: pointer;
        padding: 0;
        transition: 0.2s;
      }
      .carousel-dots button.active {
        background: var(--accent);
        width: 22px;
        border-radius: 5px;
      }

      /* form */
      .form-section {
        background: var(--bg-soft);
      }
      .form-wrap {
        display: grid;
        grid-template-columns: 0.9fr 1.1fr;
        gap: 56px;
      }
      @media (max-width: 900px) {
        .form-wrap {
          grid-template-columns: 1fr;
        }
      }
      .form-points {
        margin-top: 28px;
        display: flex;
        flex-direction: column;
        gap: 16px;
      }
      .form-point {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        font-size: 14.5px;
        color: var(--ink-muted);
      }
      .form-point .chk {
        color: var(--good);
        flex-shrink: 0;
      }
      .card-form {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 22px;
        padding: 34px;
        box-shadow: var(--shadow);
      }
      .field {
        margin-bottom: 18px;
      }
      .field label {
        display: block;
        font-size: 13px;
        color: var(--ink-muted);
        margin-bottom: 7px;
        font-weight: 600;
      }
      .field input,
      .field select {
        width: 100%;
        padding: 12px 14px;
        border-radius: 10px;
        border: 1px solid var(--line-strong);
        background: #fff;
        color: var(--ink);
        font-family: "Inter";
        font-size: 14.5px;
      }
      .field input:focus,
      .field select:focus {
        outline: none;
        border-color: var(--accent);
        box-shadow: 0 0 0 3px var(--accent-soft);
      }
      .row2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
      }
      @media (max-width: 480px) {
        .row2 {
          grid-template-columns: 1fr;
        }
      }
      .submit-btn {
        width: 100%;
        padding: 15px;
        font-size: 15.5px;
        margin-top: 6px;
      }
      .form-foot {
        font-size: 12px;
        color: var(--ink-dim);
        margin-top: 14px;
        text-align: center;
      }
      .thanks {
        display: none;
        text-align: center;
        padding: 20px 0;
      }
      .thanks.show {
        display: flex;
        flex-direction: column;
        height: 100%;
        align-items: center;
        justify-content: center;
      }
      .thanks .chk-lg {
        font-size: 36px;
        color: var(--good);
        margin-bottom: 12px;
      }
      #f_erp_outro {
        display: none;
        margin-top: 10px;
      }

      /* faq */
      .faq-item {
        border-bottom: 1px solid var(--line);
        padding: 22px 0;
      }
      .faq-q {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-weight: 600;
        font-size: 15.5px;
      }
      .faq-q .plus {
        color: var(--accent);
        font-family: "Space Grotesk";
        font-size: 19px;
        transition: 0.2s;
        flex-shrink: 0;
        margin-left: 16px;
      }
      .faq-item.open .plus {
        transform: rotate(45deg);
      }
      .faq-a {
        max-height: 0;
        overflow: hidden;
        transition: 0.3s ease;
        color: var(--ink-muted);
        font-size: 14.5px;
      }
      .faq-item.open .faq-a {
        max-height: 200px;
        margin-top: 12px;
      }

      /* final cta */
      .final-cta {
        text-align: center;
        padding: 100px 0;
      }
      .final-cta h2 {
        max-width: 640px;
        margin: 0 auto 18px;
      }
      .final-cta .lede {
        margin: 0 auto 34px;
      }
      .final-cta .hero-cta {
        justify-content: center;
      }

      footer {
        padding: 36px 0;
        border-top: 1px solid var(--line);
        text-align: center;
        color: var(--ink-dim);
        font-size: 13px;
      }

  /* Section: Mais Logistics landing content */
:root{
    --bg:#FFFFFF; --bg-soft:#F3F7FD; --bg-soft-2:#EAF2FC;
    --ink:#070B26; --ink-muted:#4C5670; --ink-dim:#8891A8;
    --line: rgba(15,23,42,.09); --line-strong: rgba(15,23,42,.16);
    --accent:#056CF2; --accent-2:#05C7F2; --accent-soft: rgba(5,108,242,.10); --accent-soft-2: rgba(5,108,242,.18);
    --good:#1FAE7A; --warn:#F2924A;
    --glass: rgba(255,255,255,.68); --glass-strong: rgba(255,255,255,.86); --glass-border: rgba(255,255,255,.9);
    --radius:18px;
    --shadow: 0 24px 70px -28px rgba(16,38,73,.22);
    --shadow-sm: 0 10px 30px -14px rgba(16,38,73,.16);
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg); color:var(--ink);
    font-family:'Inter',sans-serif; line-height:1.55; -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3,.display{font-family:'Space Grotesk',sans-serif; letter-spacing:-0.02em;}
  .mono{font-family:'JetBrains Mono',monospace;}
  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 28px;}
  section{padding:88px 0; position:relative;}
  @media(max-width:720px){ section{padding:60px 0;} }

  .reveal{opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease;}
  .reveal.in{opacity:1; transform:translateY(0);}
  .reveal-delay-1.in{transition-delay:.08s;}
  .reveal-delay-2.in{transition-delay:.16s;}
  .reveal-delay-3.in{transition-delay:.24s;}
  .reveal-delay-4.in{transition-delay:.32s;}

  .blob{position:absolute; border-radius:50%; filter:blur(70px); opacity:.55; pointer-events:none; z-index:0;}
  .blob-1{width:520px; height:520px; background:radial-gradient(circle, var(--accent-soft-2), transparent 70%); top:-180px; right:-140px;}
  .blob-2{width:420px; height:420px; background:radial-gradient(circle, var(--bg-soft-2), transparent 70%); bottom:-160px; left:-120px;}

  header{
    position:sticky; top:0; z-index:100;
    background:var(--glass-strong); backdrop-filter:blur(16px) saturate(160%);
    border-bottom:1px solid var(--line);
  }
  .header-inner{display:flex; align-items:center; justify-content:space-between; padding:16px 28px; max-width:1180px; margin:0 auto;}
  .logo{display:flex; align-items:center; gap:10px; font-family:'Space Grotesk'; font-weight:700; font-size:18px; text-decoration:none; color:inherit;}
  .logo .dot{width:8px; height:8px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px var(--accent-soft);}
  .badge{
    font-size:12px; color:var(--accent); border:1px solid rgba(229,118,46,.25);
    background:var(--accent-soft); padding:4px 11px; border-radius:100px; font-weight:700; margin-left:8px;
  }
  .header-cta{display:flex; gap:12px; align-items:center;}
  .btn{
    display:inline-flex; align-items:center; gap:8px; justify-content:center;
    padding:12px 22px; border-radius:11px; font-weight:600; font-size:14.5px;
    border:1px solid transparent; cursor:pointer; transition:.18s ease; white-space:nowrap;
  }
  .btn-sm{padding:9px 16px; font-size:13px;}
  .btn-primary{background:var(--accent); color:#fff; box-shadow:0 12px 28px -10px rgba(229,118,46,.55);}
  .btn-primary:hover{background:#03318C; transform:translateY(-1px);}
  .btn-ghost{border-color:var(--line-strong); color:var(--ink); background:#fff;}
  .btn-ghost:hover{border-color:var(--accent); color:var(--accent);}
  .btn-text{background:transparent; color:var(--accent); padding:9px 4px; font-weight:700;}
  .btn-text:hover{text-decoration:underline;}
  .header-cta .btn-ghost{padding:11px 18px; font-size:14px;}
  @media(max-width:640px){ .header-cta .btn-ghost{display:none;} }

  .cta-strip{
    margin-top:44px; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
    padding:22px 28px; background:var(--bg-soft); border:1px solid var(--line); border-radius:16px;
  }
  .cta-strip-text{font-size:14.5px; font-weight:700; color:var(--ink); max-width:420px;}
  .cta-strip-right{display:flex; flex-direction:column; align-items:flex-end; gap:8px;}
  .cta-strip-buttons{display:flex; gap:10px; flex-wrap:wrap;}
  .cta-strip-caption{font-size:11px; color:var(--ink-dim);}
  @media(max-width:560px){ .cta-strip{flex-direction:column; align-items:flex-start;} .cta-strip-right{align-items:flex-start;} }

  .hero{padding:76px 0 30px;}
  .hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;}
  @media(max-width:960px){ .hero-grid{grid-template-columns:1fr;} }
  .eyebrow{
    display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:700;
    color:var(--accent); background:var(--accent-soft); padding:7px 14px 7px 10px; border-radius:100px; margin-bottom:22px;
  }
  .eyebrow .pip{width:6px; height:6px; border-radius:50%; background:var(--accent);}
  h1{font-size:clamp(32px,4.2vw,50px); font-weight:600; line-height:1.1; max-width:600px;}
  h1 em{font-style:normal; color:var(--accent);}
  .lede{font-size:17px; color:var(--ink-muted); max-width:520px; margin:20px 0 14px;}
  .hero-cta{display:flex; gap:14px; flex-wrap:wrap;}
  .btn-lg{padding:15px 26px; font-size:15px;}
  .micro-caption{font-size:12px; color:var(--ink-dim); margin-top:12px;}

  .tagbar{display:flex; gap:8px; flex-wrap:wrap; margin-top:26px;}
  .tag-chip{font-size:12px; font-weight:600; color:var(--ink-muted); background:#fff; border:1px solid var(--line-strong); padding:6px 13px; border-radius:100px;}

  .trustbar{display:flex; gap:36px; flex-wrap:wrap; margin-top:40px; padding-top:26px; border-top:1px solid var(--line);}
  .trust-item .num{font-family:'Space Grotesk'; font-size:24px; font-weight:700; color:var(--ink);}
  .trust-item .lbl{font-size:12.5px; color:var(--ink-dim); margin-top:2px;}

  .mockup-wrap{position:relative;}
  .mockup{
    background:var(--glass); backdrop-filter:blur(20px) saturate(180%);
    border:1px solid var(--glass-border); border-radius:22px; padding:26px;
    box-shadow:var(--shadow);
    animation:float 6s ease-in-out infinite;
  }
  @keyframes float{ 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }
  .mockup-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:18px;}
  .mockup-dots{display:flex; gap:6px;}
  .mockup-dots span{width:9px; height:9px; border-radius:50%; background:var(--line-strong);}
  .live-pill{display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:700; color:var(--good); letter-spacing:.04em;}
  .live-pill.demo{color:var(--accent);}
  .live-pill .blip{width:7px; height:7px; border-radius:50%; background:var(--good); box-shadow:0 0 0 3px rgba(31,174,122,.18); animation:pulse 1.6s infinite;}
  .live-pill.demo .blip{background:var(--accent); box-shadow:0 0 0 3px var(--accent-soft);}
  @keyframes pulse{ 0%,100%{opacity:1;} 50%{opacity:.4;} }
  .metric-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:12px;}
  .metric{background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px 18px;}
  .metric .k{font-size:11.5px; color:var(--ink-dim); margin-bottom:8px;}
  .metric .v{font-family:'Space Grotesk'; font-size:19px; font-weight:700; color:var(--ink);}
  .metric .v.accent{color:var(--accent);}
  .float-chip{
    position:absolute; background:#fff; border:1px solid var(--line); border-radius:14px; padding:12px 16px;
    box-shadow:var(--shadow-sm); font-size:12.5px; font-weight:600; display:flex; align-items:center; gap:8px;
    animation:float 5s ease-in-out infinite;
  }
  .float-chip.c1{top:-18px; left:-24px; animation-delay:.3s;}
  .float-chip.c2{bottom:20px; right:-30px; animation-delay:.9s;}
  @media(max-width:600px){ .float-chip{display:none;} }
  .float-chip .ico{color:var(--good);}

  .section-head{max-width:640px; margin-bottom:44px;}
  .section-eyebrow{
    display:inline-flex; font-size:12.5px; font-weight:700; color:var(--accent); background:var(--accent-soft);
    padding:6px 13px; border-radius:100px; margin-bottom:16px;
  }
  h2{font-size:clamp(25px,3.2vw,36px); font-weight:600; line-height:1.18;}
  .section-sub{color:var(--ink-muted); font-size:16px; margin-top:16px;}
  .center{text-align:center; margin-left:auto; margin-right:auto;}

  .pain{background:var(--bg-soft);}
  .pain-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:44px; align-items:start;}
  @media(max-width:860px){ .pain-grid{grid-template-columns:1fr;} }
  .risk-card{background:#fff; border:1px solid rgba(31,174,122,.2); border-radius:20px; padding:26px; box-shadow:var(--shadow-sm);}
  .risk-list{display:flex; flex-direction:column; gap:16px;}
  .risk-row{display:flex; gap:14px; align-items:flex-start; padding-bottom:16px; border-bottom:1px solid var(--line);}
  .risk-row:last-child{border-bottom:none; padding-bottom:0;}
  .risk-ico{width:36px; height:36px; border-radius:10px; background:rgba(31,174,122,.08); color:#A1C0A1; display:flex; align-items:center; justify-content:center; font-weight:700; flex-shrink:0; font-family:'Space Grotesk'; font-size:14px;}
  .risk-row b{font-size:15px; display:block; margin-bottom:3px; color:var(--ink);}
  .risk-row span{color:var(--ink-muted); font-size:14px;}

  .solution-card{background:linear-gradient(160deg,#fff,var(--bg-soft-2)); border:1px solid var(--line); border-radius:20px; padding:28px; box-shadow:var(--shadow);}
  .solution-tag{font-size:12px; font-weight:700; color:var(--accent); text-transform:uppercase; letter-spacing:.04em; margin-bottom:10px;}
  .solution-card h3{font-size:21px; margin-bottom:12px;}
  .solution-card p{font-size:14.5px; color:var(--ink-muted); margin-bottom:20px;}
  .quad-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-bottom:18px;}
  .quad-item{background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px 16px;}
  .quad-item b{font-size:13.5px; display:block; margin-bottom:3px;}
  .quad-item span{font-size:12px; color:var(--ink-muted);}
  .solution-foot{font-size:12px; color:var(--ink-dim); padding-top:14px; border-top:1px dashed var(--line-strong); line-height:1.5;}
  .ask-ai{background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px 16px; margin-top:10px;}
  .ask-ai-label{font-size:10.5px; font-weight:700; color:var(--accent); text-transform:uppercase; letter-spacing:.03em; margin-bottom:6px;}
  .ask-ai-q{font-size:13.5px; color:var(--ink); font-weight:600;}

  .chart-card{background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px; box-shadow:var(--shadow-sm);}
  .chart-title{font-size:11.5px; font-weight:700; color:var(--accent); text-transform:uppercase; letter-spacing:.04em; margin-bottom:14px;}
  .chart-svg{width:100%; height:150px; display:block; overflow:visible;}
  .chart-line{fill:none; stroke:var(--accent); stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1000; stroke-dashoffset:1000; transition:stroke-dashoffset 1.8s cubic-bezier(.16,1,.3,1);}
  .chart-line.secondary{stroke:var(--good);}
  .chart-card.in-view .chart-line{stroke-dashoffset:0;}
  .chart-area{opacity:0; transition:opacity 1.4s ease .4s;}
  .chart-card.in-view .chart-area{opacity:1;}
  .chart-dot{opacity:0; transition:opacity .5s ease 1.6s;}
  .chart-card.in-view .chart-dot{opacity:1;}
  .chart-caption{font-size:11.5px; color:var(--ink-dim); margin-top:12px; font-style:italic;}
  .chart-legend{display:flex; gap:16px; margin-bottom:12px;}
  .chart-legend-item{display:flex; align-items:center; gap:6px; font-size:11.5px; color:var(--ink-muted); font-weight:600;}
  .chart-legend-dot{width:8px; height:8px; border-radius:50%;}

  .bar-chart{display:flex; align-items:flex-end; gap:14px; height:130px; padding-top:24px;}
  .bar-col{flex:1; display:flex; flex-direction:column; align-items:center; gap:8px; height:100%; justify-content:flex-end;}
  .bar-track{width:100%; height:100px; display:flex; align-items:flex-end; background:var(--bg-soft); border-radius:6px; overflow:hidden;}
  .bar-fill{width:100%; background:linear-gradient(180deg,var(--accent-2),var(--accent)); border-radius:6px 6px 0 0; height:0%; transition:height 1.1s cubic-bezier(.16,1,.3,1);}
  .bar-fill.highlight{background:linear-gradient(180deg,#7CF0BE,var(--good));}
  .bar-value{font-size:12px; font-weight:700; color:var(--ink); font-family:'Space Grotesk';}
  .bar-label{font-size:10.5px; color:var(--ink-muted); text-align:center; line-height:1.3;}

  .badge-illustrative{
    display:inline-flex; align-items:center; gap:6px; font-size:10.5px; font-weight:700; color:var(--accent);
    background:var(--accent-soft); padding:5px 11px; border-radius:100px; letter-spacing:.02em;
  }

  .modules-wrap{display:grid; grid-template-columns:.85fr 1.15fr; gap:60px;}
  @media(max-width:900px){ .modules-wrap{grid-template-columns:1fr;} }
  .modules-nav{position:sticky; top:96px; align-self:start; display:flex; flex-direction:column; gap:4px;}
  .modules-nav-item{padding:14px 16px; border-radius:14px; cursor:pointer; border:1px solid transparent; transition:.2s;}
  .modules-nav-item .mn-title{font-weight:600; font-size:14.5px; color:var(--ink-dim); transition:.2s;}
  .modules-nav-item .mn-sub{font-size:12.5px; color:var(--ink-dim); opacity:0; max-height:0; overflow:hidden; transition:.2s;}
  .modules-nav-item.active{background:var(--accent-soft); border-color:rgba(229,118,46,.2);}
  .modules-nav-item.active .mn-title{color:var(--accent);}
  .modules-nav-item.active .mn-sub{opacity:1; max-height:60px; margin-top:4px;}
  .module-panel{padding:36px 0; border-bottom:1px solid var(--line); min-height:220px; display:flex; flex-direction:column; justify-content:center;}
  .module-panel:last-child{border-bottom:none;}
  .module-panel .mp-eyebrow{font-size:11.5px; font-weight:700; color:var(--accent); margin-bottom:10px;}
  .module-panel h3{font-size:21px; margin-bottom:12px;}
  .module-panel p{color:var(--ink-muted); font-size:14.5px; max-width:520px;}

  .scope-grid{display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:16px;}
  @media(max-width:760px){ .scope-grid{grid-template-columns:1fr;} }
  .scope-col{background:#fff; border:1px solid var(--line); border-radius:16px; padding:26px; box-shadow:var(--shadow-sm);}
  .scope-col h4{font-size:12px; font-weight:700; color:var(--accent); text-transform:uppercase; letter-spacing:.03em; margin-bottom:16px;}
  .scope-item{padding:12px 0; border-bottom:1px solid var(--line); font-size:14px;}
  .scope-item:last-child{border-bottom:none; padding-bottom:0;}
  .scope-item b{color:var(--ink); font-weight:600;}
  .scope-item span{color:var(--ink-muted); display:block; margin-top:2px; font-size:13px;}

  .benefit-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
  @media(max-width:860px){ .benefit-grid{grid-template-columns:repeat(2,1fr);} }
  @media(max-width:560px){ .benefit-grid{grid-template-columns:1fr;} }
  .benefit-card{background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px; box-shadow:var(--shadow-sm); transition:.2s;}
  .benefit-card:hover{transform:translateY(-3px); border-color:var(--accent);}
  .benefit-card .b-ico{width:38px; height:38px; border-radius:10px; background:var(--accent-soft); color:var(--accent); display:flex; align-items:center; justify-content:center; font-weight:700; font-family:'Space Grotesk'; margin-bottom:14px; font-size:14px;}
  .benefit-card h4{font-size:15.5px; margin-bottom:8px;}
  .benefit-card p{font-size:13.5px; color:var(--ink-muted);}

  .apoio-banner{
    margin-top:28px; background:linear-gradient(135deg, var(--accent), var(--accent-2)); border-radius:18px; padding:26px 30px;
  }
  .apoio-banner b{color:#fff; font-size:16px; display:block; margin-bottom:6px;}
  .apoio-banner span{color:rgba(255,255,255,.88); font-size:13.5px;}

  .final-grid{display:grid; grid-template-columns:1fr 1fr; gap:24px;}
  @media(max-width:760px){ .final-grid{grid-template-columns:1fr;} }
  .final-col{border-radius:18px; padding:26px;}
  .final-col.for{background:var(--bg-soft); border:1px solid var(--line);}
  .final-col.against{background:#fff; border:1px solid rgba(161,192,161,.35);}
  .final-col h4{font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.03em; margin-bottom:16px;}
  .final-col.for h4{color:var(--accent);}
  .final-col.against h4{color:#A1C0A1;}
  .final-item{padding:11px 0; border-bottom:1px solid rgba(15,23,42,.06); font-size:13.5px;}
  .final-item:last-child{border-bottom:none;}
  .final-item b{display:block; color:var(--ink); font-weight:600; margin-bottom:2px;}
  .final-item span{color:var(--ink-muted); font-size:12.5px;}

  .form-section{background:var(--bg-soft);}
  .form-wrap{display:grid; grid-template-columns:.9fr 1.1fr; gap:56px;}
  @media(max-width:900px){ .form-wrap{grid-template-columns:1fr;} }
  .form-points{margin-top:28px; display:flex; flex-direction:column; gap:16px;}
  .form-point{display:flex; gap:12px; align-items:flex-start; font-size:14.5px; color:var(--ink-muted);}
  .form-point .chk{color:var(--good); flex-shrink:0;}
  .card-form{background:#fff; border:1px solid var(--line); border-radius:22px; padding:34px; box-shadow:var(--shadow);}
  .field{margin-bottom:18px;}
  .field label{display:block; font-size:13px; color:var(--ink-muted); margin-bottom:7px; font-weight:600;}
  .field input, .field select{width:100%; padding:12px 14px; border-radius:10px; border:1px solid var(--line-strong); background:#fff; color:var(--ink); font-family:'Inter'; font-size:14.5px;}
  .field input:focus, .field select:focus{outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft);}
  .row2{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
  @media(max-width:480px){ .row2{grid-template-columns:1fr;} }
  .submit-btn{width:100%; padding:15px; font-size:15.5px; margin-top:6px;}
  .form-foot{font-size:12px; color:var(--ink-dim); margin-top:14px; text-align:center;}
  .thanks{display:none; text-align:center; padding:20px 0;}
  .thanks.show{display:block;}
  .thanks .chk-lg{font-size:36px; color:var(--good); margin-bottom:12px;}
  #f_erp_outro{display:none; margin-top:10px;}

  .faq-item{border-bottom:1px solid var(--line); padding:20px 0;}
  .faq-q{display:flex; justify-content:space-between; align-items:center; cursor:pointer; font-weight:600; font-size:15px;}
  .faq-q .plus{color:var(--accent); font-family:'Space Grotesk'; font-size:19px; transition:.2s; flex-shrink:0; margin-left:16px;}
  .faq-item.open .plus{transform:rotate(45deg);}
  .faq-a{max-height:0; overflow:hidden; transition:.3s ease; color:var(--ink-muted); font-size:14px;}
  .faq-item.open .faq-a{max-height:220px; margin-top:12px;}

  .final-cta{text-align:center; padding:90px 0;}
  .final-cta h2{max-width:640px; margin:0 auto 18px;}
  .final-cta .lede{margin:0 auto 8px;}
  .final-cta .hero-cta{justify-content:center; margin-top:22px;}
  .final-cta .micro-caption{text-align:center;}

  footer{padding:36px 0; border-top:1px solid var(--line); text-align:center; color:var(--ink-dim); font-size:13px;}

  .float-whatsapp{
    position:fixed; bottom:24px; right:24px; z-index:200; display:flex; align-items:center; gap:10px;
    background:#25D366; color:#fff; padding:14px 20px; border-radius:100px; font-weight:700; font-size:14px;
    box-shadow:0 12px 32px -8px rgba(37,211,102,.55); transition:.2s ease;
  }
  .float-whatsapp:hover{transform:translateY(-2px); box-shadow:0 16px 40px -8px rgba(37,211,102,.65);}
  .float-whatsapp .fw-dot{width:8px; height:8px; border-radius:50%; background:#fff; animation:pulse 1.6s infinite;}
  @media(max-width:600px){ .float-whatsapp span.fw-label{display:none;} .float-whatsapp{padding:14px;} }
  .logistica-disclaimer{max-width:900px; margin:40px auto 0; color:rgba(255,255,255,.58); font-size:10.5px; line-height:1.55; text-align:center;}

/* Shared presentation layer for the Mais Dados product landing pages. */

body.landing-page {
  background: #ffffff;
  color: #0a1654;
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
  --product-accent: #0056ff;
  --product-accent-2: #00aeef;
  --product-accent-rgb: 0, 86, 255;
  --product-accent-2-rgb: 0, 174, 239;
  --product-accent-soft: rgba(var(--product-accent-rgb), 0.09);
  --product-button-ink: #ffffff;
  --product-tag: #9fd9ff;
  --accent: var(--product-accent);
  --accent-2: var(--product-accent-2);
  --accent-soft: var(--product-accent-soft);
  --accent-soft-2: rgba(var(--product-accent-rgb), 0.18);
}

body.landing-page[data-product-theme="cloud"] {
  --product-accent: #00aeef;
  --product-accent-2: #38d5ff;
  --product-accent-rgb: 0, 174, 239;
  --product-accent-2-rgb: 56, 213, 255;
  --product-button-ink: #001f2b;
  --product-tag: #9ee8ff;
}

body.landing-page[data-product-theme="ia"] {
  --product-accent: #0056ff;
  --product-accent-2: #00aeef;
  --product-accent-rgb: 0, 86, 255;
  --product-accent-2-rgb: 0, 174, 239;
  --product-tag: #9fd9ff;
}

body.landing-page[data-product-theme="nfe"] {
  --product-accent: #0056ff;
  --product-accent-2: #00aeef;
  --product-accent-rgb: 0, 86, 255;
  --product-accent-2-rgb: 0, 174, 239;
  --product-tag: #9fd9ff;
}

body.landing-page[data-product-theme="bi"] {
  --product-accent: #0056ff;
  --product-accent-2: #00aeef;
  --product-accent-rgb: 0, 86, 255;
  --product-accent-2-rgb: 0, 174, 239;
  --product-button-ink: #ffffff;
  --product-tag: #9fd9ff;
}

body.landing-page[data-product-theme="logistica"] {
  --product-accent: #0056ff;
  --product-accent-2: #00aeef;
  --product-accent-rgb: 0, 86, 255;
  --product-accent-2-rgb: 0, 174, 239;
  --product-button-ink: #ffffff;
  --product-tag: #9fd9ff;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page .display,
.landing-page .logo,
.landing-page .trust-item .num,
.landing-page .metric .v,
.landing-page .module-visual .mv-v,
.landing-page .testi-logo,
.landing-page .testi-stats .num {
  font-family: var(--font-display, "Montserrat", "Inter", system-ui, sans-serif);
}

.landing-page .wrap {
  max-width: var(--container, 1280px);
  padding-right: var(--gutter, 24px);
  padding-left: var(--gutter, 24px);
}

.landing-page .hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 96px;
  background:
    radial-gradient(circle at 88% 14%, rgba(var(--product-accent-2-rgb), 0.24), transparent 28%),
    radial-gradient(circle at 15% 100%, rgba(var(--product-accent-rgb), 0.25), transparent 34%),
    linear-gradient(145deg, #00249c 0%, #001a6e 52%, #000b3d 100%);
}

.landing-page .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.14) 1.1px, transparent 1.1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 68%);
  pointer-events: none;
}

.landing-page .hero .wrap,
.landing-page .hero .hero-grid {
  position: relative;
  z-index: 1;
}

.landing-page .hero .hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.landing-page .hero h1 {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.landing-page .hero h1 em { color: var(--product-accent-2); }

.landing-page .eyebrow {
  color: var(--product-accent);
  background: var(--product-accent-soft);
}

.landing-page .eyebrow .pip {
  background: var(--product-accent);
}

.landing-page .hero .lede,
.landing-page .hero .trust-item .lbl { color: rgba(255, 255, 255, 0.74); }

.landing-page .hero .trustbar { border-color: rgba(255, 255, 255, 0.18); }
.landing-page .hero .trust-item .num { color: #ffffff; }

.landing-page .hero .mockup {
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 28px 72px rgba(0, 5, 43, 0.42);
}

.landing-page .hero .mockup-wrap {
  width: 100%;
  min-width: 0;
  padding: 20px 16px 16px;
}

.landing-page .hero .mockup {
  position: relative;
  z-index: 1;
  width: 100%;
}

.landing-page .hero .float-chip {
  z-index: 2;
  box-shadow: 0 18px 40px rgba(0, 5, 43, 0.24);
}

.landing-page .hero .float-chip.c1 { top: 4px; left: 0; }
.landing-page .hero .float-chip.c2 { right: 0; bottom: 4px; }

.landing-page .btn {
  border-radius: var(--radius-pill, 9999px);
  font-family: var(--font-display, "Montserrat", "Inter", system-ui, sans-serif);
  font-weight: 700;
}

.landing-page .btn-primary {
  color: var(--product-button-ink);
  background: linear-gradient(135deg, var(--product-accent) 0%, var(--product-accent-2) 100%);
  box-shadow: 0 12px 28px -10px rgba(var(--product-accent-rgb), 0.55);
}

.landing-page .btn-primary:hover {
  background: linear-gradient(135deg, var(--product-accent) 0%, var(--product-accent-2) 100%);
  filter: brightness(0.96);
}

.landing-page .btn-ghost:hover {
  border-color: var(--product-accent);
  color: var(--product-accent);
}

.landing-page .section-eyebrow {
  color: var(--product-accent);
  background: var(--product-accent-soft);
}

.landing-page .section-head h2,
.landing-page .form-side h2,
.landing-page .final-cta h2 { color: #0a1654; font-weight: 800; }

.landing-page .pain,
.landing-page .transform,
.landing-page .form-section { background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%); }

.landing-page .risk-card,
.landing-page .card-form,
.landing-page .testi-card,
.landing-page .tf-col,
.landing-page .hire-step,
.landing-page .security-grid { border-color: rgba(var(--product-accent-rgb), 0.14); }

.landing-page .final-cta {
  background:
    radial-gradient(circle at 78% 20%, rgba(var(--product-accent-2-rgb), 0.22), transparent 30%),
    radial-gradient(circle at 12% 100%, rgba(var(--product-accent-rgb), 0.2), transparent 32%),
    linear-gradient(145deg, #00249c 0%, #000b3d 100%);
}

.landing-page .final-cta h2,
.landing-page .final-cta .lede { color: #ffffff; }

.landing-page .steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.landing-page .step {
  min-width: 0;
  padding: 0;
}

.landing-page .step-num {
  position: relative;
  z-index: 1;
}

.landing-page .step-line {
  left: 64px;
  width: calc(100% - 40px);
  pointer-events: none;
}

.landing-page .modules-wrap {
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
}

.landing-page .modules-content,
.landing-page .module-panel {
  min-width: 0;
}

/* The injected chrome uses the same navigation and footer as the main site. */
.landing-page .site-header {
  position: sticky;
  z-index: 100;
  background: linear-gradient(135deg, rgba(0, 27, 110, 0.97) 0%, rgba(0, 10, 52, 0.97) 100%);
  border-bottom: 1px solid rgba(0, 174, 239, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.landing-page .site-header .header-inner {
  max-width: min(1420px, calc(100vw - 32px));
  padding: 0 var(--gutter, 24px);
}

.landing-page .site-header .logo-brand {
  min-width: 0;
  max-width: 320px;
  overflow: hidden;
}

.landing-page .site-header .logo-product-tag {
  flex: 0 1 auto;
  margin: 18px 0 -10px -15px;
  max-width: min(150px, 34vw);
  color: var(--product-tag);
  line-height: 1;
  letter-spacing: 0.16em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 1440px) {
  .landing-page .site-header .header-inner {
    grid-template-columns: minmax(235px, 280px) minmax(0, 1fr) minmax(160px, auto);
  }

  /* As LPs exibem o nome do produto junto ao logo; preserve esse conjunto
     sem deixar que ele comprima a navegação principal. */
  .landing-page .site-header .site-nav {
    gap: 2px;
    padding-inline: 6px;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .landing-page .site-header .site-nav > a,
  .landing-page .site-header .site-nav > .site-nav-item > .site-nav-link {
    padding-inline: 10px;
  }
}

@media (min-width: 768px) and (max-width: 1439px) {
  .landing-page .site-header .header-inner {
    grid-template-columns: minmax(0, auto) auto;
    justify-content: space-between;
  }

  .landing-page .site-header .header-nav-center,
  .landing-page .site-header .header-actions {
    display: none;
  }

  .landing-page .site-header .menu-toggle {
    display: flex;
  }
}

@media (max-width: 960px) {
  .landing-page .hero .hero-grid {
    grid-template-columns: 1fr;
  }
}

.landing-page .modules-nav-item {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 12px;
}

.landing-page .modules-nav-item::before {
  content: "";
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(47, 111, 228, 0.18), rgba(91, 156, 255, 0.08)),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%232f6fe4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M12 4v16'/%3E%3Cpath d='m8 8 8 8'/%3E%3Cpath d='m16 8-8 8'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  border: 1px solid rgba(47, 111, 228, 0.2);
}

.landing-page .modules-nav-item.active::before {
  background:
    linear-gradient(135deg, var(--accent), var(--accent-2)),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M12 4v16'/%3E%3Cpath d='m8 8 8 8'/%3E%3Cpath d='m16 8-8 8'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  border-color: transparent;
}

@media (max-width: 900px) {
  .landing-page .modules-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .landing-page .modules-nav {
    position: static;
    top: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .landing-page .modules-nav-item {
    min-width: 0;
    padding: 14px 15px;
  }

  .landing-page .modules-nav-item .mn-title,
  .landing-page .modules-nav-item .mn-sub {
    overflow-wrap: anywhere;
  }

  .landing-page .modules-nav-item .mn-sub {
    opacity: 1;
    max-height: none;
    margin-top: 4px;
  }

  .landing-page .module-panel {
    min-height: 0;
    padding: 32px 0;
  }
}

.landing-page .agent-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.landing-page .agent-tab::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 6px;
  background:
    rgba(47, 111, 228, 0.12)
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%232f6fe4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='6' width='14' height='12' rx='2'/%3E%3Cpath d='M12 3v3'/%3E%3Cpath d='M8 21v-3'/%3E%3Cpath d='M16 21v-3'/%3E%3Cpath d='M9 11h.01'/%3E%3Cpath d='M15 11h.01'/%3E%3Cpath d='M10 15h4'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
}

.landing-page .agent-tab.active::before {
  background:
    rgba(255, 255, 255, 0.18)
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='6' width='14' height='12' rx='2'/%3E%3Cpath d='M12 3v3'/%3E%3Cpath d='M8 21v-3'/%3E%3Cpath d='M16 21v-3'/%3E%3Cpath d='M9 11h.01'/%3E%3Cpath d='M15 11h.01'/%3E%3Cpath d='M10 15h4'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
}

.landing-page .site-footer {
  padding: 0;
  background: #070a2b;
  color: #ffffff;
  border: 0;
  text-align: left;
  font-size: inherit;
}

@media (max-width: 1440px) {
  .landing-page .hero { padding: 72px 0 44px; }
  .landing-page .hero .hero-grid { gap: 36px; }
  .landing-page .hero .mockup-wrap { padding: 20px 0 0; }
  .landing-page .hero .float-chip.c1 { left: 8px; }
  .landing-page .hero .float-chip.c2 { right: 8px; }
  .landing-page .site-header .logo-brand { max-width: calc(100vw - 96px); }
  .landing-page .site-header .logo-product-tag {
    font-size: 9px;
    letter-spacing: 0.12em;
    max-width: min(148px, 30vw);
    margin-left: 0px;
  }
}

@media (max-width: 520px) {
  .landing-page .site-header .header-inner {
    padding-right: 16px;
    padding-left: 16px;
  }

  .landing-page .site-header .logo-product-tag {
    max-width: min(118px, 32vw);
    margin-top: 16px;
    margin-left: 0;
    margin-left: 0px;
  }

  .landing-page .hero .mockup {
    padding: 20px;
  }

  .landing-page .metric-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-page .metric {
    min-width: 0;
    padding: 14px 16px;
  }

  .landing-page .hero-cta .btn {
    width: 100%;
  }

  .landing-page .flow-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .landing-page .flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    overflow: visible;
    padding: 0;
  }

  .landing-page .flow-step {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 2px 10px;
    align-items: center;
    min-width: 0;
    padding: 10px 12px;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
  }

  .landing-page .flow-step:not(:last-child)::after {
    display: none;
  }

  .landing-page .flow-dot {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .landing-page .flow-label {
    max-width: none;
  }

  .landing-page .flow-tag {
    margin-top: 0;
  }

  .landing-page .modules-nav {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── Product video section (demo + pain) ─────────────────────────────── */
.landing-page .product-videos {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.landing-page .product-videos .section-head {
  margin-bottom: 44px;
}

.landing-page .product-videos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.landing-page .product-video-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.landing-page .product-video-card .pv-copy {
  order: 2;
}

.landing-page .product-video-card .pv-frame {
  order: 1;
}

.landing-page .product-video-card .pv-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--product-accent);
  background: var(--product-accent-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.landing-page .product-video-card .pv-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--product-accent);
  flex-shrink: 0;
}

.landing-page .product-video-card h3 {
  color: #0a1654;
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.landing-page .product-video-card p {
  color: #5b6577;
  font-size: 15px;
  line-height: 1.7;
  max-width: 520px;
}

.landing-page .product-video-card .pv-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(var(--product-accent-rgb), 0.16);
  box-shadow: 0 24px 70px -28px rgba(16, 38, 73, 0.22);
  background: #0b1220;
}

.landing-page .product-video-card .pv-frame .yt-player-shell {
  position: absolute;
  inset: 0;
}

.landing-page .product-video-card .pv-frame .yt-facade {
  position: absolute;
  inset: 0;
}

.landing-page .product-video-card .pv-frame .yt-facade-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.landing-page .product-video-card--pain .pv-frame {
  border-color: rgba(var(--product-accent-rgb), 0.28);
}

.landing-page .product-video-card--pain .pv-tag {
  color: var(--product-accent);
  background: var(--product-accent-soft);
}

.landing-page .product-video-card--pain .pv-tag::before {
  background: var(--product-accent);
}

.landing-page .product-video-card--pain h3 {
  color: #0a1654;
}

.landing-page .pv-carousel {
  position: relative;
  overflow: hidden;
}

.landing-page .pv-carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-page .pv-carousel-slide {
  flex: 0 0 75%;
  min-width: 0;
  padding: 0 4px;
}

.landing-page .pv-carousel-slide .product-video-card {
  max-width: 760px;
  margin: 0 auto;
}

.landing-page .pv-carousel-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(var(--product-accent-rgb), 0.22);
  background: #ffffff;
  color: #0a1654;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 34px -14px rgba(16, 38, 73, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.landing-page .pv-carousel-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  background: var(--product-accent);
  color: #ffffff;
  box-shadow: 0 18px 40px -14px rgba(16, 38, 73, 0.45);
}

.landing-page .pv-carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: translateY(-50%);
  background: #ffffff;
  color: #0a1654;
  box-shadow: none;
}

.landing-page .pv-carousel-arrow svg {
  width: 22px;
  height: 22px;
}

.landing-page .pv-carousel-arrow--prev {
  left: 0;
}

.landing-page .pv-carousel-arrow--next {
  right: 0;
}

.landing-page .pv-carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 26px;
}

.landing-page .pv-carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 22, 84, 0.18);
  cursor: pointer;
  padding: 0;
  transition: 0.25s;
}

.landing-page .pv-carousel-dots button.active {
  background: var(--product-accent);
  width: 24px;
  border-radius: 5px;
}

@media (max-width: 900px) {
  .landing-page .pv-carousel-arrow--prev {
    left: 0;
  }

  .landing-page .pv-carousel-arrow--next {
    right: 0;
  }
}

@media (max-width: 900px) {
  .landing-page .product-videos-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

/* ── Agent demo video (Mais IA) ───────────────────────────────────────── */
.landing-page .agent-demo-video {
  background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
}

.landing-page .agent-demo-video .section-head {
  margin-bottom: 40px;
}

.landing-page .agent-demo-video .agent-demo-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(var(--product-accent-rgb), 0.16);
  box-shadow: 0 24px 70px -28px rgba(16, 38, 73, 0.22);
  background: #0b1220;
}

.landing-page .agent-demo-video .agent-demo-stage .yt-player-shell {
  position: absolute;
  inset: 0;
}

.landing-page .agent-demo-video .agent-demo-stage .yt-facade {
  position: absolute;
  inset: 0;
}

.landing-page .agent-demo-video .agent-demo-stage .yt-facade-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.landing-page .agent-demo-video .agent-demo-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.landing-page .agent-demo-video .agent-demo-switcher .feat-video-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--product-accent-rgb), 0.18);
  background: #ffffff;
  color: rgba(6, 22, 47, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

.landing-page .agent-demo-video .agent-demo-switcher .feat-video-switch:hover {
  border-color: rgba(var(--product-accent-2-rgb), 0.7);
  color: var(--product-accent);
}

.landing-page .agent-demo-video .agent-demo-switcher .feat-video-switch.is-active {
  border-color: rgba(var(--product-accent-2-rgb), 0.92);
  background: rgba(var(--product-accent-2-rgb), 0.12);
  color: var(--product-accent);
  transform: translateY(-1px);
}

.product-demo-section {
  overflow: hidden;
  padding: clamp(72px, 14vw, 246px) 0;
  background:
    radial-gradient(circle at 12% 18%, var(--accent-soft-2), transparent 34%),
    linear-gradient(145deg, #08111f 0%, #030816 100%);
  color: #fff;
}

.product-demo-section .wrap {
  position: relative;
}

.product-demo-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-width: 0;
}

.product-demo-copy {
  max-width: 460px;
  min-width: 0;
}

.product-demo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 13px;
  border: 1px solid var(--accent-soft-2);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-demo-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #26df95;
  box-shadow: 0 0 0 0 rgba(38, 223, 149, 0.55);
  animation: demo-live-pulse 1.7s ease-out infinite;
}

.product-demo-copy h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.product-demo-copy h2 em {
  color: var(--accent-2);
  font-style: normal;
}

.product-demo-copy p {
  margin: 0;
  color: rgba(229, 239, 255, 0.78);
  font-size: 16px;
  line-height: 1.7;
}

.product-demo-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.product-demo-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
}

.product-demo-points span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--accent);
}

.product-demo-stage {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: clamp(14px, 2.2vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 34px 90px -34px rgba(0, 0, 0, 0.72);
}

.product-demo-stage::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-soft-2), transparent 32%, rgba(255, 255, 255, 0.22));
  opacity: 0.42;
  pointer-events: none;
}

.product-demo-stage > * {
  position: relative;
  z-index: 1;
}

.nfe-demo,
.bi-demo,
.ia-background-demo,
#agente-logistico-chat {
  --font-display: "Space Grotesk", "Inter", sans-serif;
}

.nfe-demo,
.bi-demo {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 22px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 48px rgba(0, 0, 0, 0.28);
}

.nfe-demo {
  border: 1px solid rgba(78, 170, 255, 0.26);
  background:
    radial-gradient(circle at 12% 0%, rgba(78, 170, 255, 0.18), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(26, 223, 136, 0.11), transparent 30%),
    linear-gradient(180deg, rgba(5, 16, 32, 0.98) 0%, rgba(3, 10, 22, 0.96) 100%);
}

.bi-demo {
  border: 1px solid rgba(167, 139, 250, 0.3);
  background:
    radial-gradient(circle at 14% 0%, rgba(167, 139, 250, 0.16), transparent 34%),
    radial-gradient(circle at 92% 14%, rgba(78, 170, 255, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(5, 16, 32, 0.98) 0%, rgba(3, 10, 22, 0.96) 100%);
}

.nfe-demo-head,
.nfe-transmissions-head,
.nfe-sefaz-row,
.bi-demo-head,
.bi-card-title,
.bi-goal > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nfe-demo-head,
.bi-demo-head {
  margin-bottom: 22px;
}

.nfe-demo-head span,
.nfe-transmissions-head small,
.bi-demo-head span,
.bi-card-title span {
  display: block;
  color: rgba(154, 180, 213, 0.86);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nfe-demo-head strong,
.bi-demo-head strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.25;
}

.nfe-live,
.bi-live {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nfe-live {
  border: 1px solid rgba(26, 223, 136, 0.22);
  background: rgba(26, 223, 136, 0.08);
  color: #1adf88;
}

.bi-live {
  border: 1px solid rgba(167, 139, 250, 0.24);
  background: rgba(167, 139, 250, 0.09);
  color: #a78bfa;
}

.nfe-live i,
.bi-live i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

.nfe-live i {
  background: #1adf88;
  animation: nfe-live-pulse 1.45s ease-in-out infinite;
}

.bi-live i {
  background: #a78bfa;
  animation: bi-live-pulse 1.5s ease-in-out infinite;
}

.nfe-total-grid,
.bi-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.nfe-total-card,
.bi-kpi,
.nfe-donut-card,
.nfe-sefaz-card,
.nfe-transmissions,
.bi-chart-card,
.bi-funnel,
.bi-goals {
  border: 1px solid rgba(90, 128, 168, 0.25);
  border-radius: 14px;
  background: rgba(13, 30, 56, 0.82);
}

.nfe-total-card,
.bi-kpi {
  position: relative;
  overflow: hidden;
  min-height: 94px;
  padding: 13px 11px;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.nfe-total-card::before,
.bi-kpi::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
}

.nfe-total-card::before {
  background: var(--nfe-accent, #4eaaff);
}

.bi-kpi::before {
  background: linear-gradient(90deg, #a78bfa, #4eaaff);
}

.nfe-total-card.is-flashing,
.bi-kpi.is-flashing {
  background: rgba(26, 48, 80, 0.98);
  transform: translateY(-1px);
}

.nfe-total-card span,
.nfe-total-card small,
.nfe-total-card strong,
.bi-kpi span,
.bi-kpi small,
.bi-kpi strong {
  display: block;
}

.nfe-total-card span,
.bi-kpi span {
  min-height: 24px;
  color: rgba(154, 180, 213, 0.88);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.nfe-total-card strong {
  margin-top: 9px;
  color: var(--nfe-accent, #4eaaff);
  font-family: var(--font-display);
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1;
}

.bi-kpi strong {
  margin-top: 9px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.65vw, 18px);
  line-height: 1.05;
}

.nfe-total-card small {
  margin-top: 5px;
  color: #1adf88;
  font-size: 10px;
  font-weight: 800;
}

.bi-kpi small {
  margin-top: 5px;
  color: rgba(154, 180, 213, 0.74);
  font-size: 10px;
  font-weight: 800;
}

.nfe-ac-green { --nfe-accent: #1adf88; }
.nfe-ac-red { --nfe-accent: #ff4e6a; }
.nfe-ac-purple { --nfe-accent: #a78bfa; }
.nfe-ac-yellow { --nfe-accent: #f7c948; }

.nfe-fiscal-grid,
.bi-grid-2 {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.bi-grid-2 {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0;
}

.nfe-donut-card,
.nfe-sefaz-card,
.bi-chart-card,
.bi-funnel,
.bi-goals {
  padding: 15px;
}

.bi-chart-card {
  margin-bottom: 16px;
}

.nfe-donut-card p,
.nfe-sefaz-card p {
  margin: 0 0 12px;
  color: rgba(235, 244, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.nfe-donut {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 0 auto 11px;
  border-radius: 999px;
  background: conic-gradient(#1adf88 0 34%, #ff4e6a 34% 78%, #a78bfa 78% 100%);
  box-shadow: 0 0 28px rgba(78, 170, 255, 0.12);
  transition: background 0.35s ease;
}

.nfe-donut > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #071222;
  text-align: center;
}

.nfe-donut strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
}

.nfe-donut span {
  margin-top: 8px;
  color: rgba(90, 128, 168, 0.96);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nfe-legend,
.nfe-status-mini {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.nfe-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(154, 180, 213, 0.82);
  font-size: 10px;
  font-weight: 700;
}

.nfe-legend i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.nfe-sefaz-row span,
.bi-goal span {
  color: rgba(154, 180, 213, 0.82);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nfe-sefaz-row strong,
.bi-goal strong {
  color: #1adf88;
  font-family: var(--font-display);
  font-size: 25px;
}

.bi-goal strong {
  color: #4eaaff;
  font-size: 19px;
}

.bi-goal--green strong {
  color: #1adf88;
}

.nfe-auth-bar,
.bi-goal-track {
  overflow: hidden;
  height: 8px;
  margin: 11px 0 14px;
  border-radius: 999px;
  background: rgba(90, 128, 168, 0.18);
}

.nfe-auth-bar i,
.bi-goal-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  transition: width 0.4s ease;
}

.nfe-auth-bar i {
  width: 98%;
  background: linear-gradient(90deg, #1adf88, #4eaaff);
}

.bi-goal-track i {
  background: linear-gradient(90deg, #1a6fd4, #4eaaff);
}

.bi-goal--green .bi-goal-track i {
  background: linear-gradient(90deg, #0faa68, #1adf88);
}

.nfe-status-mini {
  justify-content: space-between;
}

.nfe-status-mini div {
  min-width: 64px;
  padding: 9px 8px;
  border: 1px solid rgba(90, 128, 168, 0.2);
  border-radius: 10px;
  background: rgba(4, 12, 27, 0.42);
  text-align: center;
}

.nfe-status-mini strong,
.nfe-status-mini span {
  display: block;
}

.nfe-status-mini strong {
  color: #fff;
  font-size: 14px;
}

.nfe-status-mini span {
  margin-top: 2px;
  color: rgba(154, 180, 213, 0.78);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nfe-transmissions {
  overflow: hidden;
}

.nfe-transmissions-head {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(90, 128, 168, 0.22);
}

.nfe-transmissions-head span,
.bi-card-title strong {
  color: rgba(235, 244, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.nfe-table {
  display: grid;
  min-height: 164px;
  padding: 7px 10px 10px;
}

.nfe-row {
  display: grid;
  grid-template-columns: 0.7fr 0.95fr 1fr 0.8fr;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(90, 128, 168, 0.16);
  color: rgba(235, 244, 255, 0.76);
  font-size: 10px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nfe-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nfe-row:last-child {
  border-bottom: 0;
}

.nfe-row strong {
  color: #4eaaff;
}

.nfe-row em {
  justify-self: end;
  padding: 3px 7px;
  border-radius: 999px;
  color: #1adf88;
  background: rgba(26, 223, 136, 0.1);
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.bi-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 7px;
  height: 142px;
  padding-top: 12px;
}

.bi-bars i {
  position: relative;
  display: flex;
  flex: 1;
  align-items: flex-end;
  justify-content: center;
  min-height: 18px;
  height: var(--h);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #a78bfa 0%, #4eaaff 100%);
  box-shadow: 0 -10px 24px rgba(78, 170, 255, 0.12);
  transition: height 0.55s ease, filter 0.3s ease;
}

.bi-bars i.is-hot {
  filter: brightness(1.25);
}

.bi-bars span {
  position: absolute;
  bottom: -18px;
  color: rgba(154, 180, 213, 0.72);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.bi-funnel-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--w);
  min-width: 58%;
  min-height: 38px;
  margin: 0 auto 7px;
  padding: 0 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1a6fd4, #4eaaff);
  color: #fff;
  transition: width 0.55s ease, transform 0.3s ease;
}

.bi-funnel-stage.is-hot {
  transform: translateY(-1px);
}

.bi-funnel-stage.is-win {
  background: linear-gradient(135deg, #1adf88, #0faa68);
}

.bi-funnel-stage span {
  font-size: 10px;
  font-weight: 800;
}

.bi-funnel-stage strong {
  font-size: 13px;
}

.bi-goal {
  margin-bottom: 12px;
}

.bi-radar {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.bi-radar span {
  position: relative;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  padding: 8px 10px;
  border: 1px solid rgba(90, 128, 168, 0.2);
  border-radius: 10px;
  color: rgba(235, 244, 255, 0.86);
  font-size: 11px;
  font-weight: 800;
}

.bi-radar span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v);
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.22), transparent);
}

.bi-radar span::after {
  content: var(--v);
  position: relative;
  color: #a78bfa;
}

.ia-background-demo {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(0, 174, 239, 0.3);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 42%, rgba(0, 86, 255, 0.24), transparent 30%),
    linear-gradient(145deg, #07101e 0%, #050b15 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 48px rgba(0, 0, 0, 0.28);
}

.ia-background-top,
.ia-background-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
}

.ia-background-top {
  border-bottom: 1px solid rgba(90, 128, 168, 0.2);
  color: rgba(211, 224, 242, 0.82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ia-background-top span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ia-background-top span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00aeef;
  box-shadow: 0 0 0 0 rgba(0, 174, 239, 0.5);
  animation: ia-background-live 1.8s ease-out infinite;
}

.ia-background-top strong {
  color: #38d5ff;
  font-size: 11px;
}

.ia-background-stage {
  display: grid;
  grid-template-columns: minmax(130px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: center;
  min-height: 254px;
  padding: 20px;
}

.ia-background-engine {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
}

.ia-background-core {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(56, 213, 255, 0.62);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(0, 86, 255, 0.48), rgba(14, 30, 55, 0.96));
  box-shadow: 0 0 34px rgba(0, 86, 255, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: ia-background-core 3.2s ease-in-out infinite;
}

.ia-background-core span {
  color: #fff;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
}

.ia-background-core small {
  color: #38d5ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ia-background-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(56, 213, 255, 0.26);
  border-radius: 50%;
}

.ia-background-orbit::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38d5ff;
  box-shadow: 0 0 12px rgba(56, 213, 255, 0.9);
}

.ia-background-orbit-one {
  width: 116px;
  height: 116px;
  animation: ia-background-spin 7s linear infinite;
}

.ia-background-orbit-two {
  width: 158px;
  height: 158px;
  border-style: dashed;
  animation: ia-background-spin 11s linear infinite reverse;
}

.ia-background-signal {
  position: absolute;
  z-index: 2;
  right: -8px;
  overflow: hidden;
  width: 54%;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 174, 239, 0.65), rgba(78, 170, 255, 0.08));
}

.ia-background-signal::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -8px;
  width: 8px;
  height: 5px;
  border-radius: 999px;
  background: #00aeef;
  box-shadow: 0 0 10px #00aeef;
  animation: ia-background-flow 2.1s ease-in-out infinite;
}

.ia-background-signal-one { top: 32%; }
.ia-background-signal-two { top: 50%; }
.ia-background-signal-three { top: 68%; }
.ia-background-signal-two::after { animation-delay: 0.7s; }
.ia-background-signal-three::after { animation-delay: 1.4s; }

.ia-background-results {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 10px;
}

.ia-background-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(90, 128, 168, 0.22);
  border-radius: 12px;
  background: rgba(12, 26, 46, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  opacity: 0.5;
  animation: ia-background-result 6s ease-in-out infinite;
}

.ia-background-result:nth-child(2) { animation-delay: 2s; }
.ia-background-result:nth-child(3) { animation-delay: 4s; }

.ia-background-check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(0, 174, 239, 0.14);
  color: #38d5ff;
  font-size: 12px;
  font-weight: 900;
}

.ia-background-result small,
.ia-background-result strong {
  display: block;
}

.ia-background-result small {
  margin-bottom: 2px;
  color: rgba(154, 180, 213, 0.76);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ia-background-result strong {
  overflow: hidden;
  color: #edf5ff;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ia-background-result em {
  color: #38d5ff;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

.ia-background-footer {
  border-top: 1px solid rgba(90, 128, 168, 0.2);
  background: rgba(7, 16, 30, 0.72);
  font-size: 11px;
}

.ia-background-footer span {
  color: rgba(154, 180, 213, 0.78);
}

.ia-background-footer strong {
  color: #fff;
  text-align: right;
}

#agente-logistico-chat {
  --alc-bg2: #0b1826;
  --alc-bg3: #102338;
  --alc-blue: #0056ff;
  --alc-blue-dim: #071b45;
  --alc-primary: #0056ff;
  --alc-primary-dim: #071b45;
  --alc-accent: #38d5ff;
  --alc-green: #38d5ff;
  --alc-muted: #58708e;
  --alc-text: #e6f0ff;
  --alc-border: #162637;
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--alc-text);
  font-family: "Inter", sans-serif;
}

#agente-logistico-chat * {
  box-sizing: border-box;
}

#agente-logistico-chat .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 5px 14px;
  border: 1px solid var(--alc-primary);
  border-radius: 999px;
  background: var(--alc-primary-dim);
  color: var(--alc-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

#agente-logistico-chat .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--alc-accent);
  animation: alc-blink 1.4s infinite;
}

#agente-logistico-chat .title {
  margin-bottom: 8px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(25px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.12;
}

#agente-logistico-chat .title em {
  color: var(--alc-accent);
  font-style: normal;
}

#agente-logistico-chat .subtitle {
  max-width: 540px;
  margin-bottom: 24px;
  color: #b9cbe0;
  font-size: 14px;
  line-height: 1.6;
}

#agente-logistico-chat .chat-window {
  overflow: hidden;
  border: 1px solid var(--alc-border);
  border-radius: 16px;
  background: rgba(11, 24, 38, 0.95);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

#agente-logistico-chat .chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--alc-border);
  background: rgba(16, 35, 56, 0.95);
}

#agente-logistico-chat .chat-avatar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--alc-primary);
  border-radius: 9px;
  background: var(--alc-primary-dim);
}

#agente-logistico-chat .chat-avatar svg {
  width: 17px;
  height: 17px;
  color: var(--alc-accent);
}

#agente-logistico-chat .chat-name {
  color: var(--alc-text);
  font-size: 13px;
  font-weight: 700;
}

#agente-logistico-chat .chat-online {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--alc-green);
  font-size: 10px;
}

#agente-logistico-chat .chat-online::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--alc-green);
}

#agente-logistico-chat .chat-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 332px;
  overflow-y: auto;
  padding: 18px;
  scrollbar-color: var(--alc-primary) rgba(16, 35, 56, 0.86);
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

#agente-logistico-chat .chat-body::-webkit-scrollbar {
  width: 7px;
}

#agente-logistico-chat .chat-body::-webkit-scrollbar-track {
  background: rgba(16, 35, 56, 0.86);
  border-radius: 999px;
}

#agente-logistico-chat .chat-body::-webkit-scrollbar-thumb {
  border: 2px solid rgba(16, 35, 56, 0.86);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--alc-primary), var(--alc-accent));
}

#agente-logistico-chat .chat-body::-webkit-scrollbar-thumb:hover {
  background: var(--alc-accent);
}

#agente-logistico-chat .msg {
  display: flex;
  gap: 10px;
  max-width: 92%;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
}

#agente-logistico-chat .msg.show {
  opacity: 1;
  transform: translateY(0);
}

#agente-logistico-chat .msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

#agente-logistico-chat .msg-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.55;
}

#agente-logistico-chat .msg.agent .msg-bubble {
  border: 1px solid var(--alc-border);
  border-radius: 4px 12px 12px 12px;
  background: rgba(16, 35, 56, 0.82);
  color: var(--alc-text);
}

#agente-logistico-chat .msg.user .msg-bubble {
  border: 1px solid var(--alc-blue);
  border-radius: 12px 4px 12px 12px;
  background: var(--alc-blue-dim);
  color: #8dc6ff;
}

#agente-logistico-chat .msg-orb {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
}

#agente-logistico-chat .msg.agent .msg-orb {
  background: var(--alc-primary-dim);
  color: var(--alc-accent);
}

#agente-logistico-chat .msg.user .msg-orb {
  background: var(--alc-blue-dim);
  color: #8dc6ff;
}

#agente-logistico-chat .typing {
  display: flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 10px 14px;
  border: 1px solid var(--alc-border);
  border-radius: 4px 12px 12px 12px;
  background: rgba(16, 35, 56, 0.82);
  opacity: 0;
  transition: opacity 0.3s;
}

#agente-logistico-chat .typing.show {
  opacity: 1;
}

#agente-logistico-chat .typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--alc-muted);
  animation: alc-tdot 1.2s infinite;
}

#agente-logistico-chat .typing-dot:nth-child(2) { animation-delay: 0.2s; }
#agente-logistico-chat .typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes demo-live-pulse {
  70% { box-shadow: 0 0 0 7px rgba(38, 223, 149, 0); }
  100% { box-shadow: 0 0 0 0 rgba(38, 223, 149, 0); }
}

@keyframes nfe-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26, 223, 136, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(26, 223, 136, 0); }
}

@keyframes bi-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(167, 139, 250, 0); }
}

@keyframes ia-background-live {
  70% { box-shadow: 0 0 0 7px rgba(0, 174, 239, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 174, 239, 0); }
}

@keyframes ia-background-core {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes ia-background-spin {
  to { transform: rotate(360deg); }
}

@keyframes ia-background-flow {
  0% { left: -8px; opacity: 0; }
  20%, 80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes ia-background-result {
  0%, 22%, 100% {
    opacity: 0.48;
    transform: translateX(0);
    border-color: rgba(90, 128, 168, 0.22);
  }
  8%, 16% {
    opacity: 1;
    transform: translateX(4px);
    border-color: rgba(0, 174, 239, 0.5);
  }
}

@keyframes alc-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

@keyframes alc-tdot {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}

@media (max-width: 1120px) {
  .product-demo-grid {
    grid-template-columns: 1fr;
  }

  .product-demo-copy {
    max-width: 720px;
  }

  .product-demo-stage {
    justify-self: stretch;
  }
}

@media (max-width: 900px) {
  .nfe-total-grid,
  .bi-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nfe-fiscal-grid,
  .bi-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .product-demo-section {
    padding: 64px 0;
  }

  .product-demo-stage {
    width: min(100%, calc(100vw - 32px));
    justify-self: center;
    padding: 10px;
    border-radius: 18px;
  }

  .product-demo-copy {
    width: min(100%, calc(100vw - 32px));
    justify-self: center;
  }

  .ia-background-stage {
    grid-template-columns: 1fr;
  }

  .ia-background-engine {
    min-height: 150px;
  }

  .ia-background-signal {
    display: none;
  }

  .ia-background-footer,
  .nfe-demo-head,
  .nfe-sefaz-row,
  .nfe-transmissions-head,
  .bi-demo-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .nfe-demo,
  .bi-demo {
    padding: 14px;
  }

  .nfe-total-grid,
  .bi-kpi-grid {
    grid-template-columns: 1fr;
  }

  .nfe-row {
    grid-template-columns: 0.65fr minmax(72px, 0.85fr) 1fr;
    gap: 6px;
    font-size: 9px;
  }

  .nfe-row span:nth-child(3) {
    display: none;
  }

  .bi-bars {
    height: 118px;
    gap: 5px;
  }

  .bi-funnel-stage {
    width: 100% !important;
    min-width: 0;
  }

  #agente-logistico-chat .chat-body {
    height: 300px;
    padding: 14px;
  }

  #agente-logistico-chat .msg {
    max-width: 100%;
  }

  .ia-background-result {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ia-background-result em {
    grid-column: 2;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-demo-section *,
  .product-demo-section *::before,
  .product-demo-section *::after {
    animation: none !important;
    transition: none !important;
  }

  .ia-background-result {
    opacity: 1;
  }
}

/* Keep the logistics illustrations independent from the shared bar chart styles. */
      .landing-page .hero .trustbar {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        flex-wrap: nowrap;
      }

      .landing-page .logistica-illustrations .chart-pair-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 24px;
      }

      .landing-page .logistica-illustrations .chart-card {
        width: 100%;
        min-width: 0;
      }

      .landing-page .logistica-illustrations .bar-chart {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        gap: 14px;
        width: 100%;
        height: 130px;
        margin-top: 0;
        padding-top: 24px;
      }

      .landing-page .logistica-illustrations .bar-col {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        height: 100%;
      }

      .landing-page .logistica-illustrations .bar-track {
        width: 100%;
        height: 100px;
        display: flex;
        align-items: flex-end;
        background: var(--bg-soft);
        border: 0;
        border-radius: 6px;
        overflow: hidden;
      }

      .landing-page .logistica-illustrations .bar-fill {
        width: 100%;
        height: 0%;
        display: block;
        padding-right: 0;
        border-radius: 6px 6px 0 0;
        transition: height 1.1s cubic-bezier(.16, 1, .3, 1);
      }

      .landing-page .logistica-illustrations .chart-exceptions-card {
        width: 100%;
        min-width: 0;
      }

      .landing-page .logistica-illustrations .chart-exceptions-card .bar-chart {
        height: 110px;
      }

      .landing-page .logistica-illustrations .chart-exceptions-card .bar-track {
        height: 80px;
      }

      @media (max-width: 760px) {
        .landing-page .hero .trustbar,
        .landing-page .logistica-illustrations .chart-pair-grid {
          grid-template-columns: 1fr;
          gap: 16px;
        }
      }

      .logistica-product-page .site-header .logo-brand {
        gap: 0;
        overflow: visible;
      }

      .logistica-product-page .site-header .logo-product-tag {
        flex: 0 0 auto;
        max-width: none;
        width: max-content;
        font-size: 9px;
        letter-spacing: 0.04em;
        margin-left: 0;
      }
