:root {
    --page: #f4f4ef;
    --paper: #ffffff;
    --ink: #121316;
    --muted: #5f646b;
    --soft: #e6e1d8;
    --line: #d8d3ca;
    --blue: #2f6fed;
    --blue-dark: #163a8c;
    --blue-soft: rgba(47, 111, 237, 0.10);
    --glass: rgba(255, 255, 255, 0.80);
    --glass-strong: rgba(255, 255, 255, 0.88);
    --glass-soft: rgba(250, 250, 247, 0.72);
    --glass-line: rgba(216, 211, 202, 0.70);
    --green: #126d61;
    --green-soft: rgba(18, 109, 97, 0.10);
    --graphite: #202225;
    --shadow: 0 18px 54px rgba(28, 24, 20, 0.10);
    --shadow-lg: 0 24px 70px rgba(20, 17, 14, 0.20);
    --radius: 10px;
    --radius-lg: 18px;
    --max: 1080px;
    --dock-h: 78px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--ink);
    background:
        linear-gradient(180deg, #f8f8f4 0%, var(--page) 52%, #eeeeea 100%);
    font-family: "IBM Plex Sans", Arial, sans-serif;
    text-rendering: geometricPrecision;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ---------- FUNDO NEURAL FULL-DOCUMENT ---------- */

/* Fixo e do tamanho da tela: o canvas não cresce com o documento.
   100lvh evita redimensionar quando a barra do navegador mobile some/aparece. */
.neural-bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100vh;
    height: 100lvh;
    display: block;
    pointer-events: none;
}

.appbar,
.viewport {
    position: relative;
    z-index: 1;
}

body::selection {
    background: rgba(47, 111, 237, 0.22);
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Sora", sans-serif;
    letter-spacing: 0;
}

p {
    margin: 0;
}

.icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

/* ---------- APP SHELL ---------- */

.appbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px max(20px, env(safe-area-inset-left)) 16px max(20px, env(safe-area-inset-right));
    background: rgba(244, 244, 239, 0.92);
    border-bottom: 1px solid rgba(216, 211, 202, 0.7);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--graphite);
    color: #fff;
    font-family: "Sora", sans-serif;
    font-weight: 800;
}

.brand-copy {
    display: grid;
    gap: 1px;
}

.brand-name {
    font-family: "Sora", sans-serif;
    font-weight: 800;
    line-height: 1;
}

.brand-sub {
    color: var(--muted);
    font-size: 0.82rem;
}

.appnav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--glass-strong);
}

.navlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    color: #4a4e54;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease;
}

.navlink .icon {
    width: 17px;
    height: 17px;
}

.navlink:hover {
    color: var(--ink);
}

.navlink.is-active {
    background: var(--graphite);
    color: #fff;
}

.navlink-cta {
    margin-left: 4px;
    background: var(--blue);
    color: #fff;
}

.navlink-cta:hover {
    background: var(--blue-dark);
    color: #fff;
}

/* ---------- VIEWPORT ---------- */

.viewport {
    flex: 1;
    width: 100%;
}

.shell {
    width: min(100%, var(--max));
    margin: 0 auto;
    padding: 0 20px 90px;
}

.view {
    animation: view-in .38s ease both;
}

.view[hidden] {
    display: none;
}

@keyframes view-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- SHARED PIECES ---------- */

.kicker {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--glass-strong);
    color: var(--green);
    font-size: 0.88rem;
    font-weight: 700;
}

.btn {
    appearance: none;
    font: inherit;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--graphite);
    color: #fff;
    box-shadow: 0 14px 30px rgba(18, 19, 22, 0.16);
}

.btn-primary:hover {
    background: #111214;
}

.btn-secondary {
    background: var(--glass-strong);
    color: var(--ink);
    border-color: var(--line);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.74);
}

.btn-whats {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 14px 30px rgba(47, 111, 237, 0.24);
}

.btn-whats:hover {
    background: var(--blue-dark);
}

.btn-kaio {
    background: var(--green);
    color: #fff;
}

.btn-kaio:hover {
    background: #0c584f;
}

.btn-vdeploy {
    background: #5847dc;
    color: #fff;
    box-shadow: 0 14px 30px rgba(88, 71, 220, 0.18);
}

.btn-vdeploy:hover {
    background: #4434bc;
}

.section-tag {
    margin: 0 0 10px;
    color: var(--blue-dark);
    font-weight: 800;
    font-size: 0.92rem;
}

.view h2 {
    font-size: 2.1rem;
    line-height: 1.1;
}

.view-head {
    padding: 44px 0 30px;
}

.view-head p {
    max-width: 620px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--glass);
    box-shadow: 0 12px 34px rgba(28, 24, 20, 0.06);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.tag {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid #ded8ce;
    border-radius: 999px;
    background: var(--glass-strong);
    color: #4a4e54;
    font-size: 0.84rem;
    font-weight: 700;
}

/* ---------- VIEW: INICIO ---------- */

.hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: clamp(590px, calc(100svh - 92px), 760px);
    margin: 0 -20px;
    padding: clamp(54px, 8vw, 92px) 20px clamp(48px, 8vw, 82px);
    overflow: visible;
}

.hero::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    width: min(100%, 660px);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.80);
}

.hero-logo-stage {
    width: clamp(128px, 16vw, 172px);
    aspect-ratio: 1 / 1;
    margin-bottom: 24px;
    opacity: 0;
    filter: drop-shadow(0 18px 32px rgba(22, 58, 140, 0.16));
    /* Sem transform na entrada: as partículas pousam exatamente onde a imagem vai estar */
    transition: opacity .6s ease, filter .6s ease;
}

.hero.is-logo-formed .hero-logo-stage,
.hero.is-reduced-motion .hero-logo-stage {
    opacity: 1;
    filter: drop-shadow(0 18px 34px rgba(22, 58, 140, 0.12));
}

.viana-logo-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    mix-blend-mode: multiply;
    user-select: none;
}

.hero .kicker {
    justify-self: start;
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--blue-dark);
}

.hero h1 {
    max-width: 620px;
    margin-top: 18px;
    font-size: 3.4rem;
    line-height: 1.02;
}

.hero-brand-line {
    margin-top: 18px;
    color: var(--blue-dark);
    font-family: "Sora", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.hero .lead {
    max-width: 580px;
    margin-top: 16px;
    color: #3d4248;
    font-size: 1.08rem;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero-actions .btn-secondary {
    min-height: 44px;
    padding-inline: 4px;
    border-color: transparent;
    background: transparent;
    color: var(--blue-dark);
    box-shadow: none;
}

.hero-actions .btn-secondary:hover {
    background: transparent;
    color: var(--blue);
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo-stage {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.menu-explainer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 54px;
}

.explainer-head {
    grid-column: 1 / -1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 4px;
}

.explainer-eyebrow {
    color: var(--blue-dark);
    font-weight: 800;
    font-size: 0.9rem;
}

.explainer-head strong {
    display: block;
    margin-top: 4px;
    font-family: "Sora", sans-serif;
    font-size: 1.18rem;
    line-height: 1.25;
}

.explainer-head span:last-child {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
    text-align: right;
    max-width: 300px;
}

.explain-card {
    position: relative;
    min-height: 268px;
    padding: 26px;
    display: grid;
    gap: 16px;
    align-content: start;
    overflow: hidden;
    border-radius: var(--radius);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.explain-card::after {
    content: attr(data-index);
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgba(18, 19, 22, 0.10);
    font-family: "Sora", sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
}

.explain-card:hover {
    transform: translateY(-4px);
    border-color: rgba(47, 111, 237, 0.32);
    box-shadow: 0 24px 58px rgba(28, 24, 20, 0.12);
}

.explain-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--graphite);
    color: #fff;
    box-shadow: 0 16px 32px rgba(18, 19, 22, 0.18);
    transition: transform .22s ease, background .22s ease;
}

.explain-icon .icon {
    width: 27px;
    height: 27px;
}

.explain-card:hover .explain-icon {
    transform: scale(1.04);
    background: var(--blue);
}

.explain-card h3 {
    font-size: 1.18rem;
    line-height: 1.25;
}

.explain-card p {
    color: var(--muted);
    line-height: 1.62;
    font-size: 0.96rem;
}

.explain-card .navlink {
    justify-self: start;
    align-self: end;
    margin-top: auto;
    padding: 0;
    min-height: 0;
    color: var(--blue-dark);
}

.explain-card .navlink:hover {
    color: var(--blue);
}

.about {
    margin-top: 74px;
    padding-top: 54px;
    border-top: 1px solid var(--line);
}

.about-head {
    max-width: 640px;
}

.about-body {
    display: grid;
    gap: 20px;
    margin-top: 30px;
    max-width: 680px;
}

.about-body p {
    color: #3d4248;
    font-size: 1.02rem;
    line-height: 1.78;
}

.about-body p strong {
    color: var(--ink);
}

.about-callout {
    margin: 4px 0;
    padding: 20px 22px;
    border-radius: var(--radius);
    background: var(--graphite);
    color: #f3f3ee;
}

.about-callout p {
    color: #d9dade;
    font-size: 1rem;
    line-height: 1.7;
}

.about-callout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.about-callout .kaio-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px 3px 5px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: #147a6d;
    color: #fff;
    font-family: "Sora", sans-serif;
    font-weight: 800;
    line-height: 1.35;
    box-shadow: 0 0 0 3px rgba(20, 122, 109, 0.18);
    vertical-align: baseline;
}

.about-callout .kaio-inline::before {
    content: "KZ";
    min-width: 22px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    border-radius: 4px;
    background: #fff;
    color: #147a6d;
    font-size: 0.58rem;
    line-height: 1;
}

.about-signoff {
    margin-top: 8px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 16px;
}

.about-signoff p {
    color: var(--muted);
    line-height: 1.7;
}

/* ---------- VIEW: PRODUTO ---------- */

.product-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.55fr);
    gap: 18px;
    margin-bottom: 20px;
}

.product-intro-main {
    min-width: 0;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: rgba(32, 34, 37, 0.88);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.product-intro-main .section-tag {
    color: #a8c0ff;
}

.product-intro-main h3 {
    max-width: 680px;
    font-size: 1.72rem;
    line-height: 1.16;
}

.product-intro-main p {
    margin-top: 14px;
    color: #d9dade;
    line-height: 1.72;
}

.product-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.product-status span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #f3f3ee;
    font-size: 0.84rem;
    font-weight: 800;
}

.product-proof-list {
    display: grid;
    gap: 1px;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--glass-line);
    overflow: hidden;
}

.product-proof {
    padding: 20px;
    background: var(--glass);
}

.product-proof strong {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: 1.02rem;
    line-height: 1.25;
}

.product-proof span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.regional-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin: 0 0 28px;
    padding: 18px 20px;
    border: 1px solid rgba(18, 109, 97, 0.22);
    border-radius: var(--radius);
    background: var(--green-soft);
}

.regional-badge {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--green);
    color: #fff;
    font-family: "Sora", sans-serif;
    font-weight: 800;
}

.regional-note strong {
    display: block;
    font-family: "Sora", sans-serif;
    line-height: 1.28;
}

.regional-note p {
    margin-top: 6px;
    color: #3d4248;
    line-height: 1.6;
    font-size: 0.95rem;
}

.product-stack {
    display: grid;
    gap: 18px;
}

.vdeploy-feature {
    position: relative;
    border-color: rgba(110, 91, 255, 0.28);
    box-shadow: 0 18px 46px rgba(88, 71, 220, 0.09);
}

.vdeploy-feature::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: #6e5bff;
    z-index: 2;
}

.vdeploy-feature .feature-side {
    background: #f1f0ff;
}

.vdeploy-feature .case-label {
    background: rgba(110, 91, 255, 0.12);
    color: #4938c5;
}

.vdeploy-wordmark {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.vdeploy-wordmark img {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 10px;
}

.vdeploy-wordmark strong,
.vdeploy-wordmark small {
    display: block;
}

.vdeploy-wordmark strong {
    font-family: "Sora", sans-serif;
    font-size: 1.08rem;
}

.vdeploy-wordmark small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.kaio-feature {
    position: relative;
    border-color: rgba(18, 109, 97, 0.28);
    box-shadow: 0 18px 46px rgba(18, 109, 97, 0.09);
}

.kaio-feature::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--green);
    z-index: 2;
}

.kaio-feature .feature-side {
    background: #eef7f3;
}

.kaio-wordmark {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.kaio-monogram {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    border-radius: 10px;
    background: #202225;
    color: #fff;
    font-family: "Sora", sans-serif;
    font-size: 0.86rem;
    font-weight: 800;
}

.kaio-wordmark strong,
.kaio-wordmark small {
    display: block;
}

.kaio-wordmark strong {
    font-family: "Sora", sans-serif;
    font-size: 1.08rem;
}

.kaio-wordmark small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
    gap: 1px;
    background: var(--glass-line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.feature-main,
.feature-side {
    min-width: 0;
    background: var(--glass);
    padding: 28px;
}

.product-feature .feature-main {
    padding: 32px;
}

.feature-main .case-label {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green);
    font-weight: 800;
    font-size: 0.86rem;
}

.feature-main h3 {
    font-size: 1.7rem;
    line-height: 1.14;
}

.feature-main p {
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.72;
}

.feature-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.feature-side {
    display: grid;
    align-content: start;
    gap: 20px;
    background: var(--glass-soft);
}

.side-stat strong {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: 1.02rem;
}

.side-stat p {
    margin-top: 7px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.94rem;
}

.capabilities-head {
    margin-top: 56px;
    max-width: 680px;
}

.capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.capability {
    padding: 22px;
    border-radius: var(--radius);
}

.capability .number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 16px;
    border-radius: 8px;
    background: var(--graphite);
    color: #fff;
    font-weight: 800;
    font-size: 0.86rem;
}

.capability h3 {
    font-size: 1.02rem;
    line-height: 1.25;
}

.capability p {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.94rem;
}

.principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.principle {
    padding: 20px;
    border-radius: var(--radius);
}

.principle h3 {
    font-size: 0.98rem;
}

.principle p {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.58;
    font-size: 0.92rem;
}

.cta-block {
    margin-top: 48px;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(32, 34, 37, 0.88);
    border-radius: var(--radius-lg);
    color: #fff;
}

.cta-block h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    max-width: 520px;
}

.cta-block p {
    margin-top: 8px;
    color: #c7c9cd;
    line-height: 1.6;
    max-width: 500px;
    font-size: 0.94rem;
}

/* ---------- VIEW: PROVAS ---------- */

.proof-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--glass-line);
    overflow: hidden;
    margin-bottom: 34px;
}

.proof {
    min-width: 0;
    padding: 22px;
    background: var(--glass);
}

.proof strong {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: 1.45rem;
    line-height: 1;
}

.proof span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.45;
    font-size: 0.92rem;
}

.case-stack {
    display: grid;
    gap: 18px;
}

.case-impact {
    margin-top: 18px;
    padding: 13px 15px;
    border-left: 4px solid var(--blue);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: rgba(47, 111, 237, 0.13);
    color: #3d4248;
    line-height: 1.55;
    font-size: 0.94rem;
    font-weight: 600;
}

.case-impact strong {
    color: var(--blue-dark);
    font-family: "Sora", sans-serif;
    font-size: 0.88rem;
}

.provas-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

/* ---------- VIEW: PROTOTIPOS ---------- */

.lab-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.48fr);
    gap: 24px;
    align-items: center;
    margin-bottom: 18px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(32, 34, 37, 0.88);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.lab-banner .section-tag {
    color: #a8c0ff;
}

.lab-banner h3 {
    max-width: 620px;
    font-size: 1.44rem;
    line-height: 1.2;
}

.lab-banner p {
    margin-top: 10px;
    color: #d9dade;
    line-height: 1.65;
}

.lab-metrics {
    display: grid;
    gap: 1px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.lab-metric {
    padding: 16px;
    background: rgba(255, 255, 255, 0.10);
}

.lab-metric strong {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: 1.12rem;
    line-height: 1.2;
}

.lab-metric span {
    display: block;
    margin-top: 6px;
    color: #c7c9cd;
    font-size: 0.88rem;
    line-height: 1.4;
}

.work-list {
    display: grid;
    gap: 10px;
}

.work-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: var(--radius);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.work-item:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 111, 237, 0.24);
    box-shadow: 0 18px 44px rgba(28, 24, 20, 0.09);
}

.work-number {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--glass-strong);
    color: var(--blue-dark);
    font-weight: 800;
    font-size: 0.86rem;
}

.work-main h3 {
    font-size: 1.02rem;
    line-height: 1.25;
}

.work-main p {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.5;
    font-size: 0.92rem;
}

.work-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.work-meta span {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--glass-strong);
    color: #5b5149;
    font-size: 0.78rem;
    font-weight: 800;
}

.work-action {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.88rem;
}

.prototipos-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

footer.credit {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 22px;
    margin-top: 64px;
    padding: 24px 0 8px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.6;
}

footer.credit strong {
    color: var(--ink);
}

.footer-place {
    text-align: right;
}

/* ---------- MOBILE DOCK ---------- */

.dock {
    display: none;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 860px) {
    .menu-explainer {
        grid-template-columns: 1fr;
    }

    .explainer-head {
        align-items: start;
        flex-direction: column;
    }

    .explainer-head span:last-child {
        text-align: left;
        max-width: 620px;
    }

    .product-intro {
        grid-template-columns: 1fr;
    }

    .feature {
        grid-template-columns: 1fr;
    }

    .product-proof-list {
        grid-template-columns: 1fr;
    }

    .capabilities {
        grid-template-columns: 1fr;
    }

    .principles {
        grid-template-columns: 1fr;
    }

    .proof-strip {
        grid-template-columns: 1fr;
    }

    .lab-banner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    :root {
        --dock-h: 74px;
    }

    .appbar {
        padding: 14px 16px;
    }

    .appnav {
        display: none;
    }

    .brand-sub {
        display: none;
    }

    .shell {
        padding: 0 16px calc(var(--dock-h) + 34px);
    }

    .hero {
        min-height: calc(100svh - 68px);
        margin: 0 -16px;
        padding: 42px 16px 54px;
    }

    .hero::before {
        background:
            linear-gradient(90deg, rgba(248, 248, 244, 0.92) 0%, rgba(248, 248, 244, 0.74) 62%, rgba(248, 248, 244, 0.42) 100%),
            linear-gradient(180deg, rgba(244, 244, 239, 0.06) 0%, rgba(244, 244, 239, 0.82) 100%);
    }

    .hero-logo-stage {
        width: 132px;
        margin-bottom: 22px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-brand-line {
        max-width: 100%;
        font-size: 0.72rem;
        letter-spacing: 0.18em;
    }

    .view-head {
        padding: 30px 0 22px;
    }

    .view h2 {
        font-size: 1.7rem;
    }

    .hero-actions,
    .feature-actions,
    .provas-links,
    .prototipos-links,
    .cta-block {
        flex-direction: column;
        align-items: stretch;
    }

    .feature-actions .btn,
    .hero-actions .btn,
    .provas-links .btn,
    .prototipos-links .btn {
        width: 100%;
    }

    .work-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .work-action {
        justify-self: stretch;
    }

    .about {
        margin-top: 50px;
        padding-top: 40px;
    }

    .product-intro-main,
    .product-feature .feature-main,
    .feature-main,
    .feature-side,
    .lab-banner,
    .cta-block {
        padding: 22px;
    }

    .product-intro-main h3,
    .lab-banner h3 {
        font-size: 1.34rem;
    }

    .regional-note {
        grid-template-columns: 1fr;
    }

    .cta-block {
        text-align: left;
    }

    .cta-block .btn {
        width: 100%;
    }

    footer.credit,
    .footer-place {
        text-align: left;
    }

    /* Dock: fixed box at the bottom, icons + label, own container */
    .dock {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        padding: 10px max(12px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
        background: linear-gradient(180deg, rgba(244, 244, 239, 0) 0%, rgba(244, 244, 239, 0.70) 34%, rgba(244, 244, 239, 0.84) 100%);
    }

    .dock-inner {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 2px;
        padding: 6px;
        border-radius: 20px;
        background: var(--glass-strong);
        border: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
    }

    .dock-link {
        display: grid;
        justify-items: center;
        gap: 4px;
        padding: 9px 2px;
        border-radius: 15px;
        text-decoration: none;
        color: #7c8087;
        transition: background .18s ease, color .18s ease;
    }

    .dock-link .icon {
        width: 21px;
        height: 21px;
    }

    .dock-link span {
        font-size: 0.68rem;
        font-weight: 700;
    }

    .dock-link.is-active {
        color: var(--ink);
        background: rgba(230, 225, 216, 0.68);
    }

    .dock-link.dock-cta {
        background: var(--blue);
        color: #fff;
        box-shadow: 0 8px 20px rgba(47, 111, 237, 0.30);
    }

    .dock-link.dock-cta.is-active,
    .dock-link.dock-cta:hover {
        background: var(--blue);
        color: #fff;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: 2.15rem;
    }

    .view h2 {
        font-size: 1.5rem;
    }

    .brand-name {
        font-size: 0.98rem;
    }

    .dock-link span {
        font-size: 0.64rem;
    }
}

/* ---------- HERO: prova rápida ---------- */

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    color: #3d4248;
    font-size: 0.92rem;
    font-weight: 600;
}

.hero-proof li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-proof li::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px var(--green-soft);
}

.hero-proof strong {
    color: var(--ink);
    font-family: "Sora", sans-serif;
}

/* Se o script do fundo não rodar, a logo aparece mesmo assim */
.hero-logo-stage {
    animation: logo-fallback 0s linear 3s forwards;
}

@keyframes logo-fallback {
    to {
        opacity: 1;
    }
}

/* ---------- INÍCIO: o que eu resolvo ---------- */

.offer {
    margin-top: 12px;
    scroll-margin-top: 90px;
}

.offer-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.live-head,
.steps-head {
    max-width: 680px;
    margin-bottom: 20px;
}

.offer-head > p {
    max-width: 330px;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.5;
    text-align: right;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.offer-card {
    --accent: var(--blue);
    --accent-soft: var(--blue-soft);
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr auto auto;
    gap: 12px;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--glass);
    box-shadow: 0 12px 34px rgba(28, 24, 20, 0.06);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.offer-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--accent);
    opacity: 0.85;
}

.offer-card-featured {
    --accent: #3fd1b8;
    --accent-soft: rgba(63, 209, 184, 0.14);
    border-color: transparent;
    background: rgba(32, 34, 37, 0.94);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.offer-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
}

.offer-icon .icon {
    width: 23px;
    height: 23px;
}

.offer-card h3 {
    font-size: 1.16rem;
    line-height: 1.25;
}

.offer-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.offer-card-featured p {
    color: #d9dade;
}

.offer-example {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 600;
}

.offer-card-featured .offer-example {
    color: #a9adb3;
}

.offer-example a {
    color: var(--ink);
    font-weight: 800;
    text-decoration-color: rgba(18, 19, 22, 0.25);
    text-underline-offset: 3px;
}

.offer-card-featured .offer-example a {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.35);
}

.offer-cta {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 8px;
    min-height: 44px;
    margin-top: 2px;
    padding: 0 16px;
    border-radius: var(--radius);
    background: var(--blue);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}

.offer-cta .icon {
    width: 16px;
    height: 16px;
    transition: transform .18s ease;
}

.offer-card-featured .offer-cta {
    background: var(--accent);
    color: #0d2b26;
}

/* ---------- INÍCIO: no ar agora ---------- */

.live {
    margin-top: 64px;
}

.live-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.live-card {
    grid-column: span 2;
}

.live-card:nth-child(n + 4) {
    grid-column: span 3;
}

.live-card {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--glass);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.live-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.live-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1aa38f;
}

.live-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #1aa38f;
    animation: live-ping 2.2s ease-out infinite;
}

@keyframes live-ping {
    from {
        transform: scale(1);
        opacity: 0.55;
    }

    to {
        transform: scale(3);
        opacity: 0;
    }
}

.live-card strong {
    margin-top: 4px;
    font-family: "Sora", sans-serif;
    font-size: 1.06rem;
}

.live-desc {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.live-url {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: var(--blue-dark);
    font-size: 0.84rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.live-url .icon {
    width: 14px;
    height: 14px;
}

.live-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--blue-dark);
    font-weight: 800;
    text-decoration: none;
}

.live-more .icon {
    width: 16px;
    height: 16px;
}

/* ---------- INÍCIO: como funciona ---------- */

.steps {
    margin-top: 64px;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: rgba(32, 34, 37, 0.94);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.steps .section-tag {
    color: #a8c0ff;
}

.steps-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps-list li {
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    counter-increment: step;
}

.steps-list li::before {
    content: "0" counter(step);
    color: #a8c0ff;
    font-family: "Sora", sans-serif;
    font-size: 0.86rem;
    font-weight: 800;
}

.steps-list strong {
    font-family: "Sora", sans-serif;
    font-size: 1.02rem;
    line-height: 1.3;
}

.steps-list span {
    color: #c7c9cd;
    font-size: 0.93rem;
    line-height: 1.6;
}

.steps-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 22px;
}

.steps-cta > span {
    color: #a9adb3;
    font-size: 0.9rem;
}

/* ---------- INTERAÇÃO: hover só onde existe mouse ---------- */

a,
button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (hover: hover) {
    .offer-card:hover,
    .live-card:hover {
        transform: translateY(-3px);
        border-color: rgba(47, 111, 237, 0.30);
        box-shadow: 0 22px 52px rgba(28, 24, 20, 0.12);
    }

    .offer-card-featured:hover {
        border-color: transparent;
        box-shadow: var(--shadow-lg);
    }

    .offer-cta:hover {
        background: var(--blue-dark);
    }

    .offer-card-featured .offer-cta:hover {
        background: #6be0cb;
    }

    .offer-cta:hover .icon,
    .live-more:hover .icon {
        transform: translateX(3px);
    }
}

@media (hover: none) {
    .btn:hover,
    .explain-card:hover,
    .work-item:hover {
        transform: none;
    }

    .btn:active,
    .offer-cta:active,
    .live-card:active,
    .explain-card:active,
    .work-item:active {
        transform: scale(0.98);
        transition-duration: .08s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .live-dot::after {
        animation: none;
    }

    .view {
        animation: none;
    }
}

@media (max-width: 860px) {
    .offer-grid,
    .live-grid,
    .steps-list {
        grid-template-columns: 1fr;
    }

    .live-card,
    .live-card:nth-child(n + 4) {
        grid-column: auto;
    }

    .offer-head {
        flex-direction: column;
        align-items: start;
    }

    .offer-head > p {
        text-align: left;
    }
}

@media (max-width: 760px) {
    /* O hero não ocupa mais a tela inteira: o começo da oferta aparece já no primeiro scroll */
    .hero {
        min-height: 0;
        padding: 34px 16px 40px;
    }

    .hero-logo-stage {
        width: 108px;
        margin-bottom: 18px;
    }

    .hero .lead {
        font-size: 1.02rem;
        line-height: 1.65;
    }

    .hero-proof {
        display: grid;
        gap: 8px;
        margin-top: 22px;
        font-size: 0.9rem;
    }

    .offer-card {
        padding: 20px;
    }

    .offer-cta {
        justify-self: stretch;
        justify-content: center;
        min-height: 48px;
    }

    .live,
    .steps {
        margin-top: 48px;
    }

    .steps {
        margin-inline: -4px;
        padding: 22px;
    }

    .steps-cta .btn {
        width: 100%;
    }
}

/* Seletor de idioma (PT / EN) */
.appbar .appnav {
    margin-left: auto;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    min-width: 46px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--glass-strong);
    color: #4a4e54;
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.lang-switch:hover {
    background: var(--graphite);
    color: #fff;
}
